; LLVM IR from paroj/gltut :: Tut 17 Spotlight on Textures/ProjectedLight.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"

%"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.2 }
%union.anon.2 = type { %struct.anon }
%struct.anon = type { float, float, float }
%"struct.glm::detail::tvec2" = type { %union.anon.5 }
%union.anon.5 = type { %struct.anon.6 }
%struct.anon.6 = type { i32, i32 }
%"struct.glm::detail::tquat" = type { float, float, float, float }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Framework::NodeRef, std::allocator<Framework::NodeRef>>::_Vector_impl" }
%"struct.std::_Vector_base<Framework::NodeRef, std::allocator<Framework::NodeRef>>::_Vector_impl" = type { %"struct.std::_Vector_base<Framework::NodeRef, std::allocator<Framework::NodeRef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Framework::NodeRef, std::allocator<Framework::NodeRef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Framework::Timer" = type { i32, float, i8, i8, float, float }
%"class.Framework::UniformMat4Binder" = type { %"class.Framework::UniformBinderBase", %"struct.glm::detail::tmat4x4" }
%"class.Framework::UniformBinderBase" = type { %"class.Framework::StateBinder", %"class.std::map" }
%"class.Framework::StateBinder" = type { ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, int>, std::_Select1st<std::pair<const unsigned int, int>>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, int>, std::_Select1st<std::pair<const unsigned int, int>>, std::less<unsigned int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.glm::detail::tmat4x4" = type { [4 x %"struct.glm::detail::tvec4"] }
%"struct.glm::detail::tvec4" = type { %union.anon.15 }
%union.anon.15 = type { %struct.anon.16 }
%struct.anon.16 = type { float, float, float, float }
%"class.Framework::UniformVec3Binder" = type <{ %"class.Framework::UniformBinderBase", %"struct.glm::detail::tvec3", [4 x i8] }>
%"class.glutil::MatrixStack" = type { %"class.std::stack", %"struct.glm::detail::tmat4x4" }
%"class.std::stack" = type { %"class.std::vector.27" }
%"class.std::vector.27" = type { %"struct.std::_Vector_base.28" }
%"struct.std::_Vector_base.28" = 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.ProjectionBlock = type { %"struct.glm::detail::tmat4x4" }
%"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" = type { i8 }

@g_projectionUniformBuffer = external dso_local global i32, align 4
@g_samplers = external dso_local global [2 x i32], align 4
@g_lightTextures = external dso_local global [3 x i32], align 4
@g_currTextureIndex = external dso_local global i32, align 4
@g_viewPole = external dso_local global %"class.glutil::ViewPole", align 8
@g_lightViewPole = external dso_local global %"class.glutil::ViewPole", align 8
@g_pScene = external dso_local global ptr, align 8
@g_nodes = external dso_local global %"class.std::vector", align 8
@g_timer = external dso_local global %"class.Framework::Timer", align 4
@g_lightProjMatBinder = external dso_local global %"class.Framework::UniformMat4Binder", align 8
@g_camLightPosBinder = external dso_local global %"class.Framework::UniformVec3Binder", align 8
@g_spinBarOrient = external dso_local global %"struct.glm::detail::tquat", align 4
@g_unlitModelToCameraMatrixUnif = external dso_local global i32, align 4
@g_unlitObjectColorUnif = external dso_local global i32, align 4
@g_unlitProg = external dso_local global i32, align 4
@g_pSphereMesh = external dso_local global ptr, align 8
@g_coloredModelToCameraMatrixUnif = external dso_local global i32, align 4
@g_colroedProg = external dso_local global i32, align 4
@g_pAxesMesh = external dso_local global ptr, align 8
@_funcptr_glEnable = external global ptr, align 8
@_funcptr_glDepthMask = external global ptr, align 8
@_funcptr_glBindBuffer = external global ptr, align 8
@_funcptr_glBufferData = external global ptr, align 8
@g_currSampler = external dso_local global i32, align 4
@g_currFOVIndex = external dso_local global i32, align 4
@g_bDrawCameraPos = external dso_local global i8, align 1
@g_displayWidth = external dso_local global i32, align 4
@g_displayHeight = external dso_local global i32, align 4
@_funcptr_glClearColor = external global ptr, align 8
@_funcptr_glClearDepth = external global ptr, align 8
@_funcptr_glClear = external global ptr, align 8
@_funcptr_glActiveTexture = external global ptr, align 8
@_funcptr_glBindTexture = external global ptr, align 8
@_funcptr_glBindSampler = external global ptr, align 8
@_ZL11g_lightFOVs = external hidden constant [8 x float], align 16
@_funcptr_glViewport = external global ptr, align 8
@_funcptr_glUseProgram = external global ptr, align 8
@_funcptr_glUniformMatrix4fv = external global ptr, align 8
@_funcptr_glDisable = external global ptr, align 8
@_funcptr_glUniform4f = external global ptr, align 8
@.str.33 = external hidden unnamed_addr constant [5 x i8], align 1

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

; 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

declare i32 @__gxx_personality_v0(...)

; 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 @_ZN3glm6detail5tquatIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11BuildLightsRKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 4 dereferenceable(64)) #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)) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_Z7displayv() #5 personality ptr @__gxx_personality_v0 {
  %1 = alloca ptr, align 8
  %2 = alloca %"struct.glm::detail::tmat4x4", align 4
  %3 = alloca ptr, align 8
  %4 = alloca %"struct.glm::detail::tmat4x4", align 4
  %5 = alloca %"class.glutil::MatrixStack", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"struct.glm::detail::tquat", align 4
  %9 = alloca %"struct.glm::detail::tquat", align 4
  %10 = alloca float, align 4
  %11 = alloca %"struct.glm::detail::tvec3", align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca %"struct.glm::detail::tquat", align 4
  %16 = alloca %"struct.glm::detail::tquat", align 4
  %17 = alloca %"struct.glm::detail::tquat", align 4
  %18 = alloca float, align 4
  %19 = alloca %"struct.glm::detail::tvec3", align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca %"class.glutil::MatrixStack", align 8
  %24 = alloca %struct.ProjectionBlock, align 4
  %25 = alloca %"class.glutil::MatrixStack", align 8
  %26 = alloca %"struct.glm::detail::tmat4x4", align 4
  %27 = alloca %"struct.glm::detail::tvec4", align 4
  %28 = alloca %"struct.glm::detail::tmat4x4", align 4
  %29 = alloca %"struct.glm::detail::tvec3", align 4
  %30 = alloca %"struct.glm::detail::tvec4", align 4
  %31 = alloca %"class.glutil::PushStack", align 8
  %32 = alloca %"struct.glm::detail::tmat4x4", align 4
  %33 = alloca %"class.glutil::PushStack", align 8
  %34 = alloca %"struct.glm::detail::tvec3", align 4
  %35 = alloca float, align 4
  %36 = alloca float, align 4
  %37 = alloca float, align 4
  %38 = alloca %"class.std::__cxx11::basic_string", align 8
  %39 = alloca %"class.std::allocator", align 1
  %40 = alloca %"class.std::__cxx11::basic_string", align 8
  %41 = alloca %"class.std::allocator", align 1
  %42 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  %43 = icmp ne ptr %42, null
  br i1 %43, label %45, label %44

44:                                               ; preds = %0
  br label %344

45:                                               ; preds = %0
  %46 = call noundef zeroext i1 @_ZN9Framework5Timer6UpdateEv(ptr noundef nonnull align 4 dereferenceable(20) @g_timer)
  %47 = load ptr, ptr @_funcptr_glClearColor, align 8, !tbaa !5
  call void %47(float noundef 0x3FE99999A0000000, float noundef 0x3FE99999A0000000, float noundef 0x3FE99999A0000000, float noundef 1.000000e+00)
  %48 = load ptr, ptr @_funcptr_glClearDepth, align 8, !tbaa !5
  call void %48(double noundef 1.000000e+00)
  %49 = load ptr, ptr @_funcptr_glClear, align 8, !tbaa !5
  call void %49(i32 noundef 16640)
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %2) #8
  call void @_ZNK6glutil8ViewPole10CalcMatrixEv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat4x4") align 4 %2, ptr noundef nonnull align 8 dereferenceable(148) @g_viewPole)
  store ptr %2, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %4) #8
  call void @_ZNK6glutil8ViewPole10CalcMatrixEv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat4x4") align 4 %4, ptr noundef nonnull align 8 dereferenceable(148) @g_lightViewPole)
  store ptr %4, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 88, ptr %5) #8
  call void @_ZN6glutil11MatrixStackC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %5)
  %50 = load ptr, ptr %1, align 8, !tbaa !5
  %51 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN6glutil11MatrixStackmLERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %5, ptr noundef nonnull align 4 dereferenceable(64) %50)
          to label %52 unwind label %215

52:                                               ; preds = %45
  %53 = load ptr, ptr %1, align 8, !tbaa !5
  invoke void @_Z11BuildLightsRKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 4 dereferenceable(64) %53)
          to label %54 unwind label %215

54:                                               ; preds = %52
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIN9Framework7NodeRefESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @g_nodes, i64 noundef 0) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #8
  invoke void @_ZN3glm6detail5tquatIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %9)
          to label %56 unwind label %219

56:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  %57 = invoke noundef float @_ZNK9Framework5Timer8GetAlphaEv(ptr noundef nonnull align 4 dereferenceable(20) @g_timer)
          to label %58 unwind label %223

58:                                               ; preds = %56
  %59 = fmul float 3.600000e+02, %57
  store float %59, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %11) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  store float 0.000000e+00, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  store float 1.000000e+00, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  store float 0.000000e+00, ptr %14, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %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)
          to label %60 unwind label %227

60:                                               ; preds = %58
  %61 = invoke { <2 x float>, <2 x float> } @_ZN3glm6rotateIfEENS_6detail5tquatIT_EERKS4_RKNS4_10value_typeERKNS1_5tvec3IS3_EE(ptr noundef nonnull align 4 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(12) %11)
          to label %62 unwind label %227

62:                                               ; preds = %60
  %63 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %8, i32 0, i32 0
  %64 = extractvalue { <2 x float>, <2 x float> } %61, 0
  store <2 x float> %64, ptr %63, align 4
  %65 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %8, i32 0, i32 1
  %66 = extractvalue { <2 x float>, <2 x float> } %61, 1
  store <2 x float> %66, ptr %65, align 4
  invoke void @_ZN9Framework7NodeRef13NodeSetOrientERKN3glm6detail5tquatIfEE(ptr noundef nonnull align 8 dereferenceable(8) %55, ptr noundef nonnull align 4 dereferenceable(16) %8)
          to label %67 unwind label %227

67:                                               ; preds = %62
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #8
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIN9Framework7NodeRefESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @g_nodes, i64 noundef 3) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #8
  invoke void @_ZN3glm6detail5tquatIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %17)
          to label %69 unwind label %233

69:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  %70 = invoke noundef float @_ZNK9Framework5Timer8GetAlphaEv(ptr noundef nonnull align 4 dereferenceable(20) @g_timer)
          to label %71 unwind label %237

71:                                               ; preds = %69
  %72 = fmul float 3.600000e+02, %70
  store float %72, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %19) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store float 0.000000e+00, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  store float 0.000000e+00, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  store float 1.000000e+00, ptr %22, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %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 %73 unwind label %241

73:                                               ; preds = %71
  %74 = invoke { <2 x float>, <2 x float> } @_ZN3glm6rotateIfEENS_6detail5tquatIT_EERKS4_RKNS4_10value_typeERKNS1_5tvec3IS3_EE(ptr noundef nonnull align 4 dereferenceable(16) %17, ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(12) %19)
          to label %75 unwind label %241

75:                                               ; preds = %73
  %76 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %16, i32 0, i32 0
  %77 = extractvalue { <2 x float>, <2 x float> } %74, 0
  store <2 x float> %77, ptr %76, align 4
  %78 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %16, i32 0, i32 1
  %79 = extractvalue { <2 x float>, <2 x float> } %74, 1
  store <2 x float> %79, ptr %78, align 4
  %80 = invoke { <2 x float>, <2 x float> } @_ZN3glm6detailmlIfEENS0_5tquatIT_EERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(16) @g_spinBarOrient, ptr noundef nonnull align 4 dereferenceable(16) %16)
          to label %81 unwind label %241

81:                                               ; preds = %75
  %82 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %15, i32 0, i32 0
  %83 = extractvalue { <2 x float>, <2 x float> } %80, 0
  store <2 x float> %83, ptr %82, align 4
  %84 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %15, i32 0, i32 1
  %85 = extractvalue { <2 x float>, <2 x float> } %80, 1
  store <2 x float> %85, ptr %84, align 4
  invoke void @_ZN9Framework7NodeRef13NodeSetOrientERKN3glm6detail5tquatIfEE(ptr noundef nonnull align 8 dereferenceable(8) %68, ptr noundef nonnull align 4 dereferenceable(16) %15)
          to label %86 unwind label %241

86:                                               ; preds = %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 88, ptr %23) #8
  invoke void @_ZN6glutil11MatrixStackC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %23)
          to label %87 unwind label %247

87:                                               ; preds = %86
  %88 = load i32, ptr @g_displayWidth, align 4, !tbaa !11
  %89 = sitofp i32 %88 to float
  %90 = load i32, ptr @g_displayHeight, align 4, !tbaa !11
  %91 = sitofp i32 %90 to float
  %92 = fdiv float %89, %91
  invoke void @_ZN6glutil11MatrixStack11PerspectiveEffff(ptr noundef nonnull align 8 dereferenceable(88) %23, float noundef 6.000000e+01, float noundef %92, float noundef 1.000000e+00, float noundef 1.000000e+03)
          to label %93 unwind label %251

93:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 64, ptr %24) #8
  invoke void @_ZN15ProjectionBlockC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %24)
          to label %94 unwind label %255

94:                                               ; preds = %93
  %95 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %23)
          to label %96 unwind label %255

96:                                               ; preds = %94
  %97 = getelementptr inbounds %struct.ProjectionBlock, ptr %24, i32 0, i32 0
  %98 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZN3glm6detail7tmat4x4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(64) %97, ptr noundef nonnull align 4 dereferenceable(64) %95)
          to label %99 unwind label %255

99:                                               ; preds = %96
  %100 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  %101 = load i32, ptr @g_projectionUniformBuffer, align 4, !tbaa !11
  invoke void %100(i32 noundef 35345, i32 noundef %101)
          to label %102 unwind label %255

102:                                              ; preds = %99
  %103 = load ptr, ptr @_funcptr_glBufferData, align 8, !tbaa !5
  invoke void %103(i32 noundef 35345, i64 noundef 64, ptr noundef %24, i32 noundef 35040)
          to label %104 unwind label %255

104:                                              ; preds = %102
  %105 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  invoke void %105(i32 noundef 35345, i32 noundef 0)
          to label %106 unwind label %255

106:                                              ; preds = %104
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #8
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %23) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %23) #8
  %107 = load ptr, ptr @_funcptr_glActiveTexture, align 8, !tbaa !5
  invoke void %107(i32 noundef 33987)
          to label %108 unwind label %215

108:                                              ; preds = %106
  %109 = load ptr, ptr @_funcptr_glBindTexture, align 8, !tbaa !5
  %110 = load i32, ptr @g_currTextureIndex, align 4, !tbaa !11
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [3 x i32], ptr @g_lightTextures, i64 0, i64 %111
  %113 = load i32, ptr %112, align 4, !tbaa !11
  invoke void %109(i32 noundef 3553, i32 noundef %113)
          to label %114 unwind label %215

114:                                              ; preds = %108
  %115 = load ptr, ptr @_funcptr_glBindSampler, align 8, !tbaa !5
  %116 = load i32, ptr @g_currSampler, align 4, !tbaa !11
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds [2 x i32], ptr @g_samplers, i64 0, i64 %117
  %119 = load i32, ptr %118, align 4, !tbaa !11
  invoke void %115(i32 noundef 3, i32 noundef %119)
          to label %120 unwind label %215

120:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 88, ptr %25) #8
  invoke void @_ZN6glutil11MatrixStackC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %25)
          to label %121 unwind label %261

121:                                              ; preds = %120
  invoke void @_ZN6glutil11MatrixStack9TranslateEfff(ptr noundef nonnull align 8 dereferenceable(88) %25, float noundef 5.000000e-01, float noundef 5.000000e-01, float noundef 0.000000e+00)
          to label %122 unwind label %265

122:                                              ; preds = %121
  invoke void @_ZN6glutil11MatrixStack5ScaleEfff(ptr noundef nonnull align 8 dereferenceable(88) %25, float noundef 5.000000e-01, float noundef 5.000000e-01, float noundef 1.000000e+00)
          to label %123 unwind label %265

123:                                              ; preds = %122
  %124 = load i32, ptr @g_currFOVIndex, align 4, !tbaa !11
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [8 x float], ptr @_ZL11g_lightFOVs, i64 0, i64 %125
  %127 = load float, ptr %126, align 4, !tbaa !9
  invoke void @_ZN6glutil11MatrixStack11PerspectiveEffff(ptr noundef nonnull align 8 dereferenceable(88) %25, float noundef %127, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+02)
          to label %128 unwind label %265

128:                                              ; preds = %123
  %129 = load ptr, ptr %3, align 8, !tbaa !5
  invoke void @_ZN6glutil11MatrixStack11ApplyMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %25, ptr noundef nonnull align 4 dereferenceable(64) %129)
          to label %130 unwind label %265

130:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 64, ptr %26) #8
  %131 = load ptr, ptr %1, align 8, !tbaa !5
  invoke void @_ZN3glm7inverseIfEENS_6detail7tmat4x4IT_EERKS4_(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat4x4") align 4 %26, ptr noundef nonnull align 4 dereferenceable(64) %131)
          to label %132 unwind label %269

132:                                              ; preds = %130
  invoke void @_ZN6glutil11MatrixStack11ApplyMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %25, ptr noundef nonnull align 4 dereferenceable(64) %26)
          to label %133 unwind label %269

133:                                              ; preds = %132
  call void @llvm.lifetime.end.p0(i64 64, ptr %26) #8
  %134 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %25)
          to label %135 unwind label %265

135:                                              ; preds = %133
  invoke void @_ZN9Framework17UniformMat4Binder8SetValueERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(120) @g_lightProjMatBinder, ptr noundef nonnull align 4 dereferenceable(64) %134)
          to label %136 unwind label %265

136:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %28) #8
  %137 = load ptr, ptr %3, align 8, !tbaa !5
  invoke void @_ZN3glm7inverseIfEENS_6detail7tmat4x4IT_EERKS4_(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat4x4") align 4 %28, ptr noundef nonnull align 4 dereferenceable(64) %137)
          to label %138 unwind label %273

138:                                              ; preds = %136
  %139 = invoke noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail7tmat4x4IfEixEm(ptr noundef nonnull align 4 dereferenceable(64) %28, i64 noundef 3)
          to label %140 unwind label %273

140:                                              ; preds = %138
  invoke void @_ZN3glm6detail5tvec4IfEC2ERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %27, ptr noundef nonnull align 4 dereferenceable(16) %139)
          to label %141 unwind label %273

141:                                              ; preds = %140
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %29) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #8
  %142 = load ptr, ptr %1, align 8, !tbaa !5
  invoke void @_ZN3glm6detailmlIfEENS0_7tmat4x4IT_E8col_typeERKS4_RKNS4_8row_typeE(ptr dead_on_unwind writable sret(%"struct.glm::detail::tvec4") align 4 %30, ptr noundef nonnull align 4 dereferenceable(64) %142, ptr noundef nonnull align 4 dereferenceable(16) %27)
          to label %143 unwind label %277

143:                                              ; preds = %141
  invoke void @_ZN3glm6detail5tvec3IfEC2IfEERKNS0_5tvec4IT_EE(ptr noundef nonnull align 4 dereferenceable(12) %29, ptr noundef nonnull align 4 dereferenceable(16) %30)
          to label %144 unwind label %277

144:                                              ; preds = %143
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #8
  invoke void @_ZN9Framework17UniformVec3Binder8SetValueERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(68) @g_camLightPosBinder, ptr noundef nonnull align 4 dereferenceable(12) %29)
          to label %145 unwind label %281

145:                                              ; preds = %144
  call void @llvm.lifetime.end.p0(i64 12, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #8
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %25) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %25) #8
  %146 = load ptr, ptr @_funcptr_glViewport, align 8, !tbaa !5
  %147 = load i32, ptr @g_displayWidth, align 4, !tbaa !11
  %148 = load i32, ptr @g_displayHeight, align 4, !tbaa !11
  invoke void %146(i32 noundef 0, i32 noundef 0, i32 noundef %147, i32 noundef %148)
          to label %149 unwind label %215

149:                                              ; preds = %145
  %150 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  %151 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %5)
          to label %152 unwind label %215

152:                                              ; preds = %149
  invoke void @_ZNK9Framework5Scene6RenderERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(8) %150, ptr noundef nonnull align 4 dereferenceable(64) %151)
          to label %153 unwind label %215

153:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(88) %5)
          to label %154 unwind label %289

154:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 64, ptr %32) #8
  %155 = load ptr, ptr %3, align 8, !tbaa !5
  invoke void @_ZN3glm7inverseIfEENS_6detail7tmat4x4IT_EERKS4_(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat4x4") align 4 %32, ptr noundef nonnull align 4 dereferenceable(64) %155)
          to label %156 unwind label %293

156:                                              ; preds = %154
  invoke void @_ZN6glutil11MatrixStack11ApplyMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %5, ptr noundef nonnull align 4 dereferenceable(64) %32)
          to label %157 unwind label %293

157:                                              ; preds = %156
  call void @llvm.lifetime.end.p0(i64 64, ptr %32) #8
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %5, float noundef 1.500000e+01)
          to label %158 unwind label %297

158:                                              ; preds = %157
  invoke void @_ZN6glutil11MatrixStack5ScaleEfff(ptr noundef nonnull align 8 dereferenceable(88) %5, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef -1.000000e+00)
          to label %159 unwind label %297

159:                                              ; preds = %158
  %160 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %161 = load i32, ptr @g_colroedProg, align 4, !tbaa !11
  invoke void %160(i32 noundef %161)
          to label %162 unwind label %297

162:                                              ; preds = %159
  %163 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %164 = load i32, ptr @g_coloredModelToCameraMatrixUnif, align 4, !tbaa !11
  %165 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %5)
          to label %166 unwind label %297

166:                                              ; preds = %162
  %167 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %165)
          to label %168 unwind label %297

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

169:                                              ; preds = %168
  %170 = load ptr, ptr @g_pAxesMesh, align 8, !tbaa !5
  invoke void @_ZNK9Framework4Mesh6RenderEv(ptr noundef nonnull align 8 dereferenceable(8) %170)
          to label %171 unwind label %297

171:                                              ; preds = %169
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  %172 = load i8, ptr @g_bDrawCameraPos, align 1, !tbaa !13, !range !15, !noundef !16
  %173 = trunc i8 %172 to i1
  br i1 %173, label %174, label %335

174:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(88) %5)
          to label %175 unwind label %303

175:                                              ; preds = %174
  invoke void @_ZN6glutil11MatrixStack11SetIdentityEv(ptr noundef nonnull align 8 dereferenceable(88) %5)
          to label %176 unwind label %307

176:                                              ; preds = %175
  call void @llvm.lifetime.start.p0(i64 12, ptr %34) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #8
  store float 0.000000e+00, ptr %35, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  store float 0.000000e+00, ptr %36, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #8
  %177 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZNK6glutil8ViewPole7GetViewEv(ptr noundef nonnull align 8 dereferenceable(148) @g_viewPole)
          to label %178 unwind label %311

178:                                              ; preds = %176
  %179 = getelementptr inbounds %"struct.glutil::ViewData", ptr %177, i32 0, i32 2
  %180 = load float, ptr %179, align 4, !tbaa !17
  %181 = fneg float %180
  store float %181, ptr %37, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %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)
          to label %182 unwind label %311

182:                                              ; preds = %178
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %5, ptr noundef nonnull align 4 dereferenceable(12) %34)
          to label %183 unwind label %311

183:                                              ; preds = %182
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %34) #8
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %5, float noundef 5.000000e-01)
          to label %184 unwind label %307

184:                                              ; preds = %183
  %185 = load ptr, ptr @_funcptr_glDisable, align 8, !tbaa !5
  invoke void %185(i32 noundef 2929)
          to label %186 unwind label %307

186:                                              ; preds = %184
  %187 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %187(i8 noundef zeroext 0)
          to label %188 unwind label %307

188:                                              ; preds = %186
  %189 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %190 = load i32, ptr @g_unlitProg, align 4, !tbaa !11
  invoke void %189(i32 noundef %190)
          to label %191 unwind label %307

191:                                              ; preds = %188
  %192 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %193 = load i32, ptr @g_unlitModelToCameraMatrixUnif, align 4, !tbaa !11
  %194 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %5)
          to label %195 unwind label %307

195:                                              ; preds = %191
  %196 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %194)
          to label %197 unwind label %307

197:                                              ; preds = %195
  invoke void %192(i32 noundef %193, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %196)
          to label %198 unwind label %307

198:                                              ; preds = %197
  %199 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %200 = load i32, ptr @g_unlitObjectColorUnif, align 4, !tbaa !11
  invoke void %199(i32 noundef %200, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 1.000000e+00)
          to label %201 unwind label %307

201:                                              ; preds = %198
  %202 = load ptr, ptr @g_pSphereMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %38) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef @.str.33, ptr noundef nonnull align 1 dereferenceable(1) %39)
          to label %203 unwind label %315

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

204:                                              ; preds = %203
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #8
  %205 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %205(i8 noundef zeroext 1)
          to label %206 unwind label %307

206:                                              ; preds = %204
  %207 = load ptr, ptr @_funcptr_glEnable, align 8, !tbaa !5
  invoke void %207(i32 noundef 2929)
          to label %208 unwind label %307

208:                                              ; preds = %206
  %209 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %210 = load i32, ptr @g_unlitObjectColorUnif, align 4, !tbaa !11
  invoke void %209(i32 noundef %210, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %211 unwind label %307

211:                                              ; preds = %208
  %212 = load ptr, ptr @g_pSphereMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %40) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %41) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef @.str.33, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %213 unwind label %324

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

214:                                              ; preds = %213
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #8
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %335

215:                                              ; preds = %342, %341, %339, %337, %335, %152, %149, %145, %114, %108, %106, %52, %45
  %216 = landingpad { ptr, i32 }
          cleanup
  %217 = extractvalue { ptr, i32 } %216, 0
  store ptr %217, ptr %6, align 8
  %218 = extractvalue { ptr, i32 } %216, 1
  store i32 %218, ptr %7, align 4
  br label %345

219:                                              ; preds = %54
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %6, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %7, align 4
  br label %232

223:                                              ; preds = %56
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %6, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %7, align 4
  br label %231

227:                                              ; preds = %62, %60, %58
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %6, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #8
  br label %231

231:                                              ; preds = %227, %223
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  br label %232

232:                                              ; preds = %231, %219
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #8
  br label %345

233:                                              ; preds = %67
  %234 = landingpad { ptr, i32 }
          cleanup
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %6, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, ptr %7, align 4
  br label %246

237:                                              ; preds = %69
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %6, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %7, align 4
  br label %245

241:                                              ; preds = %81, %75, %73, %71
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %6, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %19) #8
  br label %245

245:                                              ; preds = %241, %237
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %246

246:                                              ; preds = %245, %233
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  br label %345

247:                                              ; preds = %86
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %6, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %7, align 4
  br label %260

251:                                              ; preds = %87
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %6, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %7, align 4
  br label %259

255:                                              ; preds = %104, %102, %99, %96, %94, %93
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %6, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #8
  br label %259

259:                                              ; preds = %255, %251
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %23) #8
  br label %260

260:                                              ; preds = %259, %247
  call void @llvm.lifetime.end.p0(i64 88, ptr %23) #8
  br label %345

261:                                              ; preds = %120
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %6, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %7, align 4
  br label %288

265:                                              ; preds = %135, %133, %128, %123, %122, %121
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %6, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %7, align 4
  br label %287

269:                                              ; preds = %132, %130
  %270 = landingpad { ptr, i32 }
          cleanup
  %271 = extractvalue { ptr, i32 } %270, 0
  store ptr %271, ptr %6, align 8
  %272 = extractvalue { ptr, i32 } %270, 1
  store i32 %272, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %26) #8
  br label %287

273:                                              ; preds = %140, %138, %136
  %274 = landingpad { ptr, i32 }
          cleanup
  %275 = extractvalue { ptr, i32 } %274, 0
  store ptr %275, ptr %6, align 8
  %276 = extractvalue { ptr, i32 } %274, 1
  store i32 %276, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #8
  br label %286

277:                                              ; preds = %143, %141
  %278 = landingpad { ptr, i32 }
          cleanup
  %279 = extractvalue { ptr, i32 } %278, 0
  store ptr %279, ptr %6, align 8
  %280 = extractvalue { ptr, i32 } %278, 1
  store i32 %280, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #8
  br label %285

281:                                              ; preds = %144
  %282 = landingpad { ptr, i32 }
          cleanup
  %283 = extractvalue { ptr, i32 } %282, 0
  store ptr %283, ptr %6, align 8
  %284 = extractvalue { ptr, i32 } %282, 1
  store i32 %284, ptr %7, align 4
  br label %285

285:                                              ; preds = %281, %277
  call void @llvm.lifetime.end.p0(i64 12, ptr %29) #8
  br label %286

286:                                              ; preds = %285, %273
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #8
  br label %287

287:                                              ; preds = %286, %269, %265
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %25) #8
  br label %288

288:                                              ; preds = %287, %261
  call void @llvm.lifetime.end.p0(i64 88, ptr %25) #8
  br label %345

289:                                              ; preds = %153
  %290 = landingpad { ptr, i32 }
          cleanup
  %291 = extractvalue { ptr, i32 } %290, 0
  store ptr %291, ptr %6, align 8
  %292 = extractvalue { ptr, i32 } %290, 1
  store i32 %292, ptr %7, align 4
  br label %302

293:                                              ; preds = %156, %154
  %294 = landingpad { ptr, i32 }
          cleanup
  %295 = extractvalue { ptr, i32 } %294, 0
  store ptr %295, ptr %6, align 8
  %296 = extractvalue { ptr, i32 } %294, 1
  store i32 %296, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %32) #8
  br label %301

297:                                              ; preds = %169, %168, %166, %162, %159, %158, %157
  %298 = landingpad { ptr, i32 }
          cleanup
  %299 = extractvalue { ptr, i32 } %298, 0
  store ptr %299, ptr %6, align 8
  %300 = extractvalue { ptr, i32 } %298, 1
  store i32 %300, ptr %7, align 4
  br label %301

301:                                              ; preds = %297, %293
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #8
  br label %302

302:                                              ; preds = %301, %289
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  br label %345

303:                                              ; preds = %174
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %6, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %7, align 4
  br label %334

307:                                              ; preds = %208, %206, %204, %198, %197, %195, %191, %188, %186, %184, %183, %175
  %308 = landingpad { ptr, i32 }
          cleanup
  %309 = extractvalue { ptr, i32 } %308, 0
  store ptr %309, ptr %6, align 8
  %310 = extractvalue { ptr, i32 } %308, 1
  store i32 %310, ptr %7, align 4
  br label %333

311:                                              ; preds = %182, %178, %176
  %312 = landingpad { ptr, i32 }
          cleanup
  %313 = extractvalue { ptr, i32 } %312, 0
  store ptr %313, ptr %6, align 8
  %314 = extractvalue { ptr, i32 } %312, 1
  store i32 %314, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %34) #8
  br label %333

315:                                              ; preds = %201
  %316 = landingpad { ptr, i32 }
          cleanup
  %317 = extractvalue { ptr, i32 } %316, 0
  store ptr %317, ptr %6, align 8
  %318 = extractvalue { ptr, i32 } %316, 1
  store i32 %318, ptr %7, align 4
  br label %323

319:                                              ; preds = %203
  %320 = landingpad { ptr, i32 }
          cleanup
  %321 = extractvalue { ptr, i32 } %320, 0
  store ptr %321, ptr %6, align 8
  %322 = extractvalue { ptr, i32 } %320, 1
  store i32 %322, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #8
  br label %323

323:                                              ; preds = %319, %315
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #8
  br label %333

324:                                              ; preds = %211
  %325 = landingpad { ptr, i32 }
          cleanup
  %326 = extractvalue { ptr, i32 } %325, 0
  store ptr %326, ptr %6, align 8
  %327 = extractvalue { ptr, i32 } %325, 1
  store i32 %327, ptr %7, align 4
  br label %332

328:                                              ; preds = %213
  %329 = landingpad { ptr, i32 }
          cleanup
  %330 = extractvalue { ptr, i32 } %329, 0
  store ptr %330, ptr %6, align 8
  %331 = extractvalue { ptr, i32 } %329, 1
  store i32 %331, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #8
  br label %332

332:                                              ; preds = %328, %324
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #8
  br label %333

333:                                              ; preds = %332, %323, %311, %307
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  br label %334

334:                                              ; preds = %333, %303
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %345

335:                                              ; preds = %214, %171
  %336 = load ptr, ptr @_funcptr_glActiveTexture, align 8, !tbaa !5
  invoke void %336(i32 noundef 33987)
          to label %337 unwind label %215

337:                                              ; preds = %335
  %338 = load ptr, ptr @_funcptr_glBindTexture, align 8, !tbaa !5
  invoke void %338(i32 noundef 3553, i32 noundef 0)
          to label %339 unwind label %215

339:                                              ; preds = %337
  %340 = load ptr, ptr @_funcptr_glBindSampler, align 8, !tbaa !5
  invoke void %340(i32 noundef 3, i32 noundef 0)
          to label %341 unwind label %215

341:                                              ; preds = %339
  invoke void @glutPostRedisplay()
          to label %342 unwind label %215

342:                                              ; preds = %341
  invoke void @glutSwapBuffers()
          to label %343 unwind label %215

343:                                              ; preds = %342
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %5) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %2) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #8
  br label %344

344:                                              ; preds = %343, %44
  ret void

345:                                              ; preds = %334, %302, %288, %260, %246, %232, %215
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %5) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %2) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #8
  br label %346

346:                                              ; preds = %345
  %347 = load ptr, ptr %6, align 8
  %348 = load i32, ptr %7, align 4
  %349 = insertvalue { ptr, i32 } poison, ptr %347, 0
  %350 = insertvalue { ptr, i32 } %349, i32 %348, 1
  resume { ptr, i32 } %350
}

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

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

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

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

declare void @_ZN9Framework7NodeRef13NodeSetOrientERKN3glm6detail5tquatIfEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(16)) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN3glm6rotateIfEENS_6detail5tquatIT_EERKS4_RKNS4_10value_typeERKNS1_5tvec3IS3_EE(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(12)) #7

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN3glm6detailmlIfEENS0_5tquatIT_EERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #4

declare void @_ZN6glutil11MatrixStack11PerspectiveEffff(ptr noundef nonnull align 8 dereferenceable(88), float noundef, float noundef, float noundef, float noundef) #6

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(64) ptr @_ZN3glm6detail7tmat4x4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(64)) #4 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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9Framework17UniformMat4Binder8SetValueERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 4 dereferenceable(64)) #2 align 2

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

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

declare void @_ZNK9Framework5Scene6RenderERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(64)) #6

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

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

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

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

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

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

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

; 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

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

declare void @glutPostRedisplay() #6

declare void @glutSwapBuffers() #6

; 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { "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 #7 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!18, !10, i64 28}
!18 = !{!"_ZTSN6glutil8ViewDataE", !19, i64 0, !20, i64 12, !10, i64 28, !10, i64 32}
!19 = !{!"_ZTSN3glm6detail5tvec3IfEE", !7, i64 0}
!20 = !{!"_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"

%"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.2 }
%union.anon.2 = type { %struct.anon }
%struct.anon = type { float, float, float }
%"struct.glm::detail::tvec2" = type { %union.anon.5 }
%union.anon.5 = type { %struct.anon.6 }
%struct.anon.6 = type { i32, i32 }
%"struct.glm::detail::tquat" = type { float, float, float, float }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Framework::NodeRef, std::allocator<Framework::NodeRef>>::_Vector_impl" }
%"struct.std::_Vector_base<Framework::NodeRef, std::allocator<Framework::NodeRef>>::_Vector_impl" = type { %"struct.std::_Vector_base<Framework::NodeRef, std::allocator<Framework::NodeRef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Framework::NodeRef, std::allocator<Framework::NodeRef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Framework::Timer" = type { i32, float, i8, i8, float, float }
%"class.Framework::UniformMat4Binder" = type { %"class.Framework::UniformBinderBase", %"struct.glm::detail::tmat4x4" }
%"class.Framework::UniformBinderBase" = type { %"class.Framework::StateBinder", %"class.std::map" }
%"class.Framework::StateBinder" = type { ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, int>, std::_Select1st<std::pair<const unsigned int, int>>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, int>, std::_Select1st<std::pair<const unsigned int, int>>, std::less<unsigned int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.glm::detail::tmat4x4" = type { [4 x %"struct.glm::detail::tvec4"] }
%"struct.glm::detail::tvec4" = type { %union.anon.15 }
%union.anon.15 = type { %struct.anon.16 }
%struct.anon.16 = type { float, float, float, float }
%"class.Framework::UniformVec3Binder" = type <{ %"class.Framework::UniformBinderBase", %"struct.glm::detail::tvec3", [4 x i8] }>
%"class.glutil::MatrixStack" = type { %"class.std::stack", %"struct.glm::detail::tmat4x4" }
%"class.std::stack" = type { %"class.std::vector.27" }
%"class.std::vector.27" = type { %"struct.std::_Vector_base.28" }
%"struct.std::_Vector_base.28" = 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.ProjectionBlock = type { %"struct.glm::detail::tmat4x4" }
%"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" = type { i8 }

@g_projectionUniformBuffer = external dso_local local_unnamed_addr global i32, align 4
@g_samplers = external dso_local local_unnamed_addr global [2 x i32], align 4
@g_lightTextures = external dso_local local_unnamed_addr global [3 x i32], align 4
@g_currTextureIndex = external dso_local local_unnamed_addr global i32, align 4
@g_viewPole = external dso_local global %"class.glutil::ViewPole", align 8
@g_lightViewPole = external dso_local global %"class.glutil::ViewPole", align 8
@g_pScene = external dso_local local_unnamed_addr global ptr, align 8
@g_nodes = external dso_local global %"class.std::vector", align 8
@g_timer = external dso_local global %"class.Framework::Timer", align 4
@g_lightProjMatBinder = external dso_local global %"class.Framework::UniformMat4Binder", align 8
@g_camLightPosBinder = external dso_local global %"class.Framework::UniformVec3Binder", align 8
@g_spinBarOrient = external dso_local global %"struct.glm::detail::tquat", align 4
@g_unlitModelToCameraMatrixUnif = external dso_local local_unnamed_addr global i32, align 4
@g_unlitObjectColorUnif = external dso_local local_unnamed_addr global i32, align 4
@g_unlitProg = external dso_local local_unnamed_addr global i32, align 4
@g_pSphereMesh = external dso_local local_unnamed_addr global ptr, align 8
@g_coloredModelToCameraMatrixUnif = external dso_local local_unnamed_addr global i32, align 4
@g_colroedProg = external dso_local local_unnamed_addr global i32, align 4
@g_pAxesMesh = external dso_local local_unnamed_addr global ptr, align 8
@_funcptr_glEnable = external local_unnamed_addr global ptr, align 8
@_funcptr_glDepthMask = external local_unnamed_addr global ptr, align 8
@_funcptr_glBindBuffer = external local_unnamed_addr global ptr, align 8
@_funcptr_glBufferData = external local_unnamed_addr global ptr, align 8
@g_currSampler = external dso_local local_unnamed_addr global i32, align 4
@g_currFOVIndex = external dso_local local_unnamed_addr global i32, align 4
@g_bDrawCameraPos = external dso_local local_unnamed_addr global i8, align 1
@g_displayWidth = external dso_local local_unnamed_addr global i32, align 4
@g_displayHeight = external dso_local local_unnamed_addr global i32, 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_glActiveTexture = external local_unnamed_addr global ptr, align 8
@_funcptr_glBindTexture = external local_unnamed_addr global ptr, align 8
@_funcptr_glBindSampler = external local_unnamed_addr global ptr, align 8
@_ZL11g_lightFOVs = external hidden local_unnamed_addr constant [8 x float], align 16
@_funcptr_glViewport = 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_glDisable = external local_unnamed_addr global ptr, align 8
@_funcptr_glUniform4f = external local_unnamed_addr global ptr, align 8
@.str.33 = external hidden unnamed_addr constant [5 x i8], align 1

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

; 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

declare i32 @__gxx_personality_v0(...)

; 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 @_ZN3glm6detail5tquatIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11BuildLightsRKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #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 #4

; Function Attrs: mustprogress uwtable
define dso_local void @_Z7displayv() local_unnamed_addr #5 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"struct.glm::detail::tmat4x4", align 4
  %2 = alloca %"struct.glm::detail::tmat4x4", align 4
  %3 = alloca %"class.glutil::MatrixStack", align 8
  %4 = alloca %"struct.glm::detail::tquat", align 8
  %5 = alloca %"struct.glm::detail::tquat", align 4
  %6 = alloca float, align 4
  %7 = alloca %"struct.glm::detail::tvec3", align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca %"struct.glm::detail::tquat", align 8
  %12 = alloca %"struct.glm::detail::tquat", align 8
  %13 = alloca %"struct.glm::detail::tquat", align 4
  %14 = alloca float, align 4
  %15 = alloca %"struct.glm::detail::tvec3", align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca %"class.glutil::MatrixStack", align 8
  %20 = alloca %struct.ProjectionBlock, align 4
  %21 = alloca %"class.glutil::MatrixStack", align 8
  %22 = alloca %"struct.glm::detail::tmat4x4", align 4
  %23 = alloca %"struct.glm::detail::tvec4", align 4
  %24 = alloca %"struct.glm::detail::tmat4x4", align 4
  %25 = alloca %"struct.glm::detail::tvec3", align 4
  %26 = alloca %"struct.glm::detail::tvec4", align 4
  %27 = alloca %"class.glutil::PushStack", align 8
  %28 = alloca %"struct.glm::detail::tmat4x4", align 4
  %29 = alloca %"class.glutil::PushStack", align 8
  %30 = alloca %"struct.glm::detail::tvec3", align 4
  %31 = alloca float, align 4
  %32 = alloca float, align 4
  %33 = alloca float, align 4
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  %35 = alloca %"class.std::allocator", align 1
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca %"class.std::allocator", align 1
  %38 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  %.not = icmp eq ptr %38, null
  br i1 %.not, label %255, label %39

39:                                               ; preds = %0
  %40 = tail call noundef zeroext i1 @_ZN9Framework5Timer6UpdateEv(ptr noundef nonnull align 4 dereferenceable(20) @g_timer)
  %41 = load ptr, ptr @_funcptr_glClearColor, align 8, !tbaa !5
  tail call void %41(float noundef 0x3FE99999A0000000, float noundef 0x3FE99999A0000000, float noundef 0x3FE99999A0000000, float noundef 1.000000e+00)
  %42 = load ptr, ptr @_funcptr_glClearDepth, align 8, !tbaa !5
  tail call void %42(double noundef 1.000000e+00)
  %43 = load ptr, ptr @_funcptr_glClear, align 8, !tbaa !5
  tail call void %43(i32 noundef 16640)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %1) #8
  call void @_ZNK6glutil8ViewPole10CalcMatrixEv(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tmat4x4") align 4 %1, ptr noundef nonnull align 8 dereferenceable(148) @g_viewPole)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #8
  call void @_ZNK6glutil8ViewPole10CalcMatrixEv(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tmat4x4") align 4 %2, ptr noundef nonnull align 8 dereferenceable(148) @g_lightViewPole)
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %3) #8
  call void @_ZN6glutil11MatrixStackC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %3)
  %44 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN6glutil11MatrixStackmLERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %3, ptr noundef nonnull align 4 dereferenceable(64) %1)
          to label %45 unwind label %184

45:                                               ; preds = %39
  invoke void @_Z11BuildLightsRKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 4 dereferenceable(64) %1)
          to label %46 unwind label %184

46:                                               ; preds = %45
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIN9Framework7NodeRefESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @g_nodes, i64 noundef 0) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #8
  call void @_ZN3glm6detail5tquatIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %5)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #8
  %48 = invoke noundef float @_ZNK9Framework5Timer8GetAlphaEv(ptr noundef nonnull align 4 dereferenceable(20) @g_timer)
          to label %49 unwind label %186

49:                                               ; preds = %46
  %50 = fmul float %48, 3.600000e+02
  store float %50, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #8
  store float 0.000000e+00, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #8
  store float 1.000000e+00, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #8
  store float 0.000000e+00, ptr %10, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %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)
  %51 = invoke { <2 x float>, <2 x float> } @_ZN3glm6rotateIfEENS_6detail5tquatIT_EERKS4_RKNS4_10value_typeERKNS1_5tvec3IS3_EE(ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(12) %7)
          to label %52 unwind label %188

52:                                               ; preds = %49
  %53 = extractvalue { <2 x float>, <2 x float> } %51, 0
  store <2 x float> %53, ptr %4, align 8
  %54 = getelementptr inbounds i8, ptr %4, i64 8
  %55 = extractvalue { <2 x float>, <2 x float> } %51, 1
  store <2 x float> %55, ptr %54, align 8
  invoke void @_ZN9Framework7NodeRef13NodeSetOrientERKN3glm6detail5tquatIfEE(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 4 dereferenceable(16) %4)
          to label %56 unwind label %188

56:                                               ; preds = %52
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIN9Framework7NodeRefESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @g_nodes, i64 noundef 3) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #8
  call void @_ZN3glm6detail5tquatIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %13)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #8
  %58 = invoke noundef float @_ZNK9Framework5Timer8GetAlphaEv(ptr noundef nonnull align 4 dereferenceable(20) @g_timer)
          to label %59 unwind label %191

59:                                               ; preds = %56
  %60 = fmul float %58, 3.600000e+02
  store float %60, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %15) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #8
  store float 0.000000e+00, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #8
  store float 0.000000e+00, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #8
  store float 1.000000e+00, ptr %18, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %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)
  %61 = invoke { <2 x float>, <2 x float> } @_ZN3glm6rotateIfEENS_6detail5tquatIT_EERKS4_RKNS4_10value_typeERKNS1_5tvec3IS3_EE(ptr noundef nonnull align 4 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(12) %15)
          to label %62 unwind label %193

62:                                               ; preds = %59
  %63 = extractvalue { <2 x float>, <2 x float> } %61, 0
  store <2 x float> %63, ptr %12, align 8
  %64 = getelementptr inbounds i8, ptr %12, i64 8
  %65 = extractvalue { <2 x float>, <2 x float> } %61, 1
  store <2 x float> %65, ptr %64, align 8
  %66 = invoke { <2 x float>, <2 x float> } @_ZN3glm6detailmlIfEENS0_5tquatIT_EERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(16) @g_spinBarOrient, ptr noundef nonnull align 4 dereferenceable(16) %12)
          to label %67 unwind label %193

67:                                               ; preds = %62
  %68 = extractvalue { <2 x float>, <2 x float> } %66, 0
  store <2 x float> %68, ptr %11, align 8
  %69 = getelementptr inbounds i8, ptr %11, i64 8
  %70 = extractvalue { <2 x float>, <2 x float> } %66, 1
  store <2 x float> %70, ptr %69, align 8
  invoke void @_ZN9Framework7NodeRef13NodeSetOrientERKN3glm6detail5tquatIfEE(ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef nonnull align 4 dereferenceable(16) %11)
          to label %71 unwind label %193

71:                                               ; preds = %67
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %19) #8
  invoke void @_ZN6glutil11MatrixStackC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %19)
          to label %72 unwind label %196

72:                                               ; preds = %71
  %73 = load i32, ptr @g_displayWidth, align 4, !tbaa !11
  %74 = sitofp i32 %73 to float
  %75 = load i32, ptr @g_displayHeight, align 4, !tbaa !11
  %76 = sitofp i32 %75 to float
  %77 = fdiv float %74, %76
  invoke void @_ZN6glutil11MatrixStack11PerspectiveEffff(ptr noundef nonnull align 8 dereferenceable(88) %19, float noundef 6.000000e+01, float noundef %77, float noundef 1.000000e+00, float noundef 1.000000e+03)
          to label %78 unwind label %198

78:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %20) #8
  invoke void @_ZN15ProjectionBlockC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %20)
          to label %79 unwind label %200

79:                                               ; preds = %78
  %80 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %19)
  %81 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZN3glm6detail7tmat4x4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(64) %20, ptr noundef nonnull align 4 dereferenceable(64) %80)
          to label %82 unwind label %200

82:                                               ; preds = %79
  %83 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  %84 = load i32, ptr @g_projectionUniformBuffer, align 4, !tbaa !11
  invoke void %83(i32 noundef 35345, i32 noundef %84)
          to label %85 unwind label %200

85:                                               ; preds = %82
  %86 = load ptr, ptr @_funcptr_glBufferData, align 8, !tbaa !5
  invoke void %86(i32 noundef 35345, i64 noundef 64, ptr noundef nonnull %20, i32 noundef 35040)
          to label %87 unwind label %200

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

89:                                               ; preds = %87
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %20) #8
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %19) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %19) #8
  %90 = load ptr, ptr @_funcptr_glActiveTexture, align 8, !tbaa !5
  invoke void %90(i32 noundef 33987)
          to label %91 unwind label %184

91:                                               ; preds = %89
  %92 = load ptr, ptr @_funcptr_glBindTexture, align 8, !tbaa !5
  %93 = load i32, ptr @g_currTextureIndex, align 4, !tbaa !11
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [3 x i32], ptr @g_lightTextures, i64 0, i64 %94
  %96 = load i32, ptr %95, align 4, !tbaa !11
  invoke void %92(i32 noundef 3553, i32 noundef %96)
          to label %97 unwind label %184

97:                                               ; preds = %91
  %98 = load ptr, ptr @_funcptr_glBindSampler, align 8, !tbaa !5
  %99 = load i32, ptr @g_currSampler, align 4, !tbaa !11
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [2 x i32], ptr @g_samplers, i64 0, i64 %100
  %102 = load i32, ptr %101, align 4, !tbaa !11
  invoke void %98(i32 noundef 3, i32 noundef %102)
          to label %103 unwind label %184

103:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %21) #8
  invoke void @_ZN6glutil11MatrixStackC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %21)
          to label %104 unwind label %204

104:                                              ; preds = %103
  invoke void @_ZN6glutil11MatrixStack9TranslateEfff(ptr noundef nonnull align 8 dereferenceable(88) %21, float noundef 5.000000e-01, float noundef 5.000000e-01, float noundef 0.000000e+00)
          to label %105 unwind label %206

105:                                              ; preds = %104
  invoke void @_ZN6glutil11MatrixStack5ScaleEfff(ptr noundef nonnull align 8 dereferenceable(88) %21, float noundef 5.000000e-01, float noundef 5.000000e-01, float noundef 1.000000e+00)
          to label %106 unwind label %206

106:                                              ; preds = %105
  %107 = load i32, ptr @g_currFOVIndex, align 4, !tbaa !11
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds [8 x float], ptr @_ZL11g_lightFOVs, i64 0, i64 %108
  %110 = load float, ptr %109, align 4, !tbaa !9
  invoke void @_ZN6glutil11MatrixStack11PerspectiveEffff(ptr noundef nonnull align 8 dereferenceable(88) %21, float noundef %110, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+02)
          to label %111 unwind label %206

111:                                              ; preds = %106
  invoke void @_ZN6glutil11MatrixStack11ApplyMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %21, ptr noundef nonnull align 4 dereferenceable(64) %2)
          to label %112 unwind label %206

112:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %22) #8
  invoke void @_ZN3glm7inverseIfEENS_6detail7tmat4x4IT_EERKS4_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tmat4x4") align 4 %22, ptr noundef nonnull align 4 dereferenceable(64) %1)
          to label %113 unwind label %208

113:                                              ; preds = %112
  invoke void @_ZN6glutil11MatrixStack11ApplyMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %21, ptr noundef nonnull align 4 dereferenceable(64) %22)
          to label %114 unwind label %208

114:                                              ; preds = %113
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %22) #8
  %115 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %21)
  invoke void @_ZN9Framework17UniformMat4Binder8SetValueERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(120) @g_lightProjMatBinder, ptr noundef nonnull align 4 dereferenceable(64) %115)
          to label %116 unwind label %206

116:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %24) #8
  invoke void @_ZN3glm7inverseIfEENS_6detail7tmat4x4IT_EERKS4_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tmat4x4") align 4 %24, ptr noundef nonnull align 4 dereferenceable(64) %2)
          to label %117 unwind label %210

117:                                              ; preds = %116
  %118 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail7tmat4x4IfEixEm(ptr noundef nonnull align 4 dereferenceable(64) %24, i64 noundef 3)
  call void @_ZN3glm6detail5tvec4IfEC2ERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %23, ptr noundef nonnull align 4 dereferenceable(16) %118)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %24) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %25) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #8
  invoke void @_ZN3glm6detailmlIfEENS0_7tmat4x4IT_E8col_typeERKS4_RKNS4_8row_typeE(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tvec4") align 4 %26, ptr noundef nonnull align 4 dereferenceable(64) %1, ptr noundef nonnull align 4 dereferenceable(16) %23)
          to label %119 unwind label %212

119:                                              ; preds = %117
  call void @_ZN3glm6detail5tvec3IfEC2IfEERKNS0_5tvec4IT_EE(ptr noundef nonnull align 4 dereferenceable(12) %25, ptr noundef nonnull align 4 dereferenceable(16) %26)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #8
  invoke void @_ZN9Framework17UniformVec3Binder8SetValueERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(68) @g_camLightPosBinder, ptr noundef nonnull align 4 dereferenceable(12) %25)
          to label %120 unwind label %214

120:                                              ; preds = %119
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %25) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #8
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %21) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %21) #8
  %121 = load ptr, ptr @_funcptr_glViewport, align 8, !tbaa !5
  %122 = load i32, ptr @g_displayWidth, align 4, !tbaa !11
  %123 = load i32, ptr @g_displayHeight, align 4, !tbaa !11
  invoke void %121(i32 noundef 0, i32 noundef 0, i32 noundef %122, i32 noundef %123)
          to label %124 unwind label %184

124:                                              ; preds = %120
  %125 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  %126 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %3)
  invoke void @_ZNK9Framework5Scene6RenderERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(8) %125, ptr noundef nonnull align 4 dereferenceable(64) %126)
          to label %127 unwind label %184

127:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #8
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(88) %3)
          to label %128 unwind label %220

128:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %28) #8
  invoke void @_ZN3glm7inverseIfEENS_6detail7tmat4x4IT_EERKS4_(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tmat4x4") align 4 %28, ptr noundef nonnull align 4 dereferenceable(64) %2)
          to label %129 unwind label %222

129:                                              ; preds = %128
  invoke void @_ZN6glutil11MatrixStack11ApplyMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %3, ptr noundef nonnull align 4 dereferenceable(64) %28)
          to label %130 unwind label %222

130:                                              ; preds = %129
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %28) #8
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %3, float noundef 1.500000e+01)
          to label %131 unwind label %224

131:                                              ; preds = %130
  invoke void @_ZN6glutil11MatrixStack5ScaleEfff(ptr noundef nonnull align 8 dereferenceable(88) %3, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef -1.000000e+00)
          to label %132 unwind label %224

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

135:                                              ; preds = %132
  %136 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %137 = load i32, ptr @g_coloredModelToCameraMatrixUnif, align 4, !tbaa !11
  %138 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %3)
  %139 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %138)
          to label %140 unwind label %224

140:                                              ; preds = %135
  invoke void %136(i32 noundef %137, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %139)
          to label %141 unwind label %224

141:                                              ; preds = %140
  %142 = load ptr, ptr @g_pAxesMesh, align 8, !tbaa !5
  invoke void @_ZNK9Framework4Mesh6RenderEv(ptr noundef nonnull align 8 dereferenceable(8) %142)
          to label %143 unwind label %224

143:                                              ; preds = %141
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #8
  %144 = load i8, ptr @g_bDrawCameraPos, align 1, !tbaa !13, !range !15, !noundef !16
  %145 = trunc nuw i8 %144 to i1
  br i1 %145, label %146, label %246

146:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #8
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(88) %3)
          to label %147 unwind label %228

147:                                              ; preds = %146
  invoke void @_ZN6glutil11MatrixStack11SetIdentityEv(ptr noundef nonnull align 8 dereferenceable(88) %3)
          to label %148 unwind label %230

148:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %30) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %31) #8
  store float 0.000000e+00, ptr %31, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %32) #8
  store float 0.000000e+00, ptr %32, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %33) #8
  %149 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZNK6glutil8ViewPole7GetViewEv(ptr noundef nonnull align 8 dereferenceable(148) @g_viewPole)
  %150 = getelementptr inbounds i8, ptr %149, i64 28
  %151 = load float, ptr %150, align 4, !tbaa !17
  %152 = fneg float %151
  store float %152, ptr %33, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %30, ptr noundef nonnull align 4 dereferenceable(4) %31, ptr noundef nonnull align 4 dereferenceable(4) %32, ptr noundef nonnull align 4 dereferenceable(4) %33)
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %3, ptr noundef nonnull align 4 dereferenceable(12) %30)
          to label %153 unwind label %232

153:                                              ; preds = %148
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %33) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %30) #8
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %3, float noundef 5.000000e-01)
          to label %154 unwind label %230

154:                                              ; preds = %153
  %155 = load ptr, ptr @_funcptr_glDisable, align 8, !tbaa !5
  invoke void %155(i32 noundef 2929)
          to label %156 unwind label %230

156:                                              ; preds = %154
  %157 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %157(i8 noundef zeroext 0)
          to label %158 unwind label %230

158:                                              ; preds = %156
  %159 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %160 = load i32, ptr @g_unlitProg, align 4, !tbaa !11
  invoke void %159(i32 noundef %160)
          to label %161 unwind label %230

161:                                              ; preds = %158
  %162 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %163 = load i32, ptr @g_unlitModelToCameraMatrixUnif, align 4, !tbaa !11
  %164 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %3)
  %165 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %164)
          to label %166 unwind label %230

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

167:                                              ; preds = %166
  %168 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %169 = load i32, ptr @g_unlitObjectColorUnif, align 4, !tbaa !11
  invoke void %168(i32 noundef %169, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 1.000000e+00)
          to label %170 unwind label %230

170:                                              ; preds = %167
  %171 = load ptr, ptr @g_pSphereMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %34) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %35) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull @.str.33, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %172 unwind label %234

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

173:                                              ; preds = %172
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #8
  %174 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %174(i8 noundef zeroext 1)
          to label %175 unwind label %230

175:                                              ; preds = %173
  %176 = load ptr, ptr @_funcptr_glEnable, align 8, !tbaa !5
  invoke void %176(i32 noundef 2929)
          to label %177 unwind label %230

177:                                              ; preds = %175
  %178 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %179 = load i32, ptr @g_unlitObjectColorUnif, align 4, !tbaa !11
  invoke void %178(i32 noundef %179, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %180 unwind label %230

180:                                              ; preds = %177
  %181 = load ptr, ptr @g_pSphereMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %36) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %37) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull @.str.33, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %182 unwind label %239

182:                                              ; preds = %180
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %181, ptr noundef nonnull align 8 dereferenceable(32) %36)
          to label %183 unwind label %241

183:                                              ; preds = %182
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %37) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #8
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #8
  br label %246

184:                                              ; preds = %253, %252, %250, %248, %246, %124, %120, %97, %91, %89, %45, %39
  %185 = landingpad { ptr, i32 }
          cleanup
  br label %256

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

188:                                              ; preds = %52, %49
  %189 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #8
  br label %190

190:                                              ; preds = %188, %186
  %.pn = phi { ptr, i32 } [ %189, %188 ], [ %187, %186 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  br label %256

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

193:                                              ; preds = %67, %62, %59
  %194 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #8
  br label %195

195:                                              ; preds = %193, %191
  %.pn24 = phi { ptr, i32 } [ %194, %193 ], [ %192, %191 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  br label %256

196:                                              ; preds = %71
  %197 = landingpad { ptr, i32 }
          cleanup
  br label %203

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

200:                                              ; preds = %87, %85, %82, %79, %78
  %201 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %20) #8
  br label %202

202:                                              ; preds = %200, %198
  %.pn26 = phi { ptr, i32 } [ %201, %200 ], [ %199, %198 ]
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %19) #8
  br label %203

203:                                              ; preds = %202, %196
  %.pn26.pn = phi { ptr, i32 } [ %.pn26, %202 ], [ %197, %196 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %19) #8
  br label %256

204:                                              ; preds = %103
  %205 = landingpad { ptr, i32 }
          cleanup
  br label %219

206:                                              ; preds = %114, %111, %106, %105, %104
  %207 = landingpad { ptr, i32 }
          cleanup
  br label %218

208:                                              ; preds = %113, %112
  %209 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %22) #8
  br label %218

210:                                              ; preds = %116
  %211 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %24) #8
  br label %217

212:                                              ; preds = %117
  %213 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #8
  br label %216

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

216:                                              ; preds = %214, %212
  %.pn29 = phi { ptr, i32 } [ %215, %214 ], [ %213, %212 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %25) #8
  br label %217

217:                                              ; preds = %216, %210
  %.pn29.pn = phi { ptr, i32 } [ %.pn29, %216 ], [ %211, %210 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #8
  br label %218

218:                                              ; preds = %217, %208, %206
  %.pn29.pn.pn = phi { ptr, i32 } [ %.pn29.pn, %217 ], [ %207, %206 ], [ %209, %208 ]
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %21) #8
  br label %219

219:                                              ; preds = %218, %204
  %.pn29.pn.pn.pn = phi { ptr, i32 } [ %.pn29.pn.pn, %218 ], [ %205, %204 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %21) #8
  br label %256

220:                                              ; preds = %127
  %221 = landingpad { ptr, i32 }
          cleanup
  br label %227

222:                                              ; preds = %129, %128
  %223 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %28) #8
  br label %226

224:                                              ; preds = %141, %140, %135, %132, %131, %130
  %225 = landingpad { ptr, i32 }
          cleanup
  br label %226

226:                                              ; preds = %224, %222
  %.pn34 = phi { ptr, i32 } [ %225, %224 ], [ %223, %222 ]
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  br label %227

227:                                              ; preds = %226, %220
  %.pn34.pn = phi { ptr, i32 } [ %.pn34, %226 ], [ %221, %220 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #8
  br label %256

228:                                              ; preds = %146
  %229 = landingpad { ptr, i32 }
          cleanup
  br label %245

230:                                              ; preds = %177, %175, %173, %167, %166, %161, %158, %156, %154, %153, %147
  %231 = landingpad { ptr, i32 }
          cleanup
  br label %244

232:                                              ; preds = %148
  %233 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %33) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %30) #8
  br label %244

234:                                              ; preds = %170
  %235 = landingpad { ptr, i32 }
          cleanup
  br label %238

236:                                              ; preds = %172
  %237 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #8
  br label %238

238:                                              ; preds = %236, %234
  %.pn37 = phi { ptr, i32 } [ %237, %236 ], [ %235, %234 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #8
  br label %244

239:                                              ; preds = %180
  %240 = landingpad { ptr, i32 }
          cleanup
  br label %243

241:                                              ; preds = %182
  %242 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #8
  br label %243

243:                                              ; preds = %241, %239
  %.pn39 = phi { ptr, i32 } [ %242, %241 ], [ %240, %239 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %37) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %36) #8
  br label %244

244:                                              ; preds = %243, %238, %232, %230
  %.pn39.pn = phi { ptr, i32 } [ %.pn39, %243 ], [ %231, %230 ], [ %.pn37, %238 ], [ %233, %232 ]
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  br label %245

245:                                              ; preds = %244, %228
  %.pn39.pn.pn = phi { ptr, i32 } [ %.pn39.pn, %244 ], [ %229, %228 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #8
  br label %256

246:                                              ; preds = %183, %143
  %247 = load ptr, ptr @_funcptr_glActiveTexture, align 8, !tbaa !5
  invoke void %247(i32 noundef 33987)
          to label %248 unwind label %184

248:                                              ; preds = %246
  %249 = load ptr, ptr @_funcptr_glBindTexture, align 8, !tbaa !5
  invoke void %249(i32 noundef 3553, i32 noundef 0)
          to label %250 unwind label %184

250:                                              ; preds = %248
  %251 = load ptr, ptr @_funcptr_glBindSampler, align 8, !tbaa !5
  invoke void %251(i32 noundef 3, i32 noundef 0)
          to label %252 unwind label %184

252:                                              ; preds = %250
  invoke void @glutPostRedisplay()
          to label %253 unwind label %184

253:                                              ; preds = %252
  invoke void @glutSwapBuffers()
          to label %254 unwind label %184

254:                                              ; preds = %253
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %3) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %1) #8
  br label %255

255:                                              ; preds = %0, %254
  ret void

256:                                              ; preds = %245, %227, %219, %203, %195, %190, %184
  %.pn43 = phi { ptr, i32 } [ %185, %184 ], [ %.pn39.pn.pn, %245 ], [ %.pn34.pn, %227 ], [ %.pn29.pn.pn.pn, %219 ], [ %.pn26.pn, %203 ], [ %.pn24, %195 ], [ %.pn, %190 ]
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %3) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %1) #8
  resume { ptr, i32 } %.pn43
}

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

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

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

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

declare void @_ZN9Framework7NodeRef13NodeSetOrientERKN3glm6detail5tquatIfEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN3glm6rotateIfEENS_6detail5tquatIT_EERKS4_RKNS4_10value_typeERKNS1_5tvec3IS3_EE(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #7

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN3glm6detailmlIfEENS0_5tquatIT_EERKS4_S6_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4

declare void @_ZN6glutil11MatrixStack11PerspectiveEffff(ptr noundef nonnull align 8 dereferenceable(88), float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #6

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(64) ptr @_ZN3glm6detail7tmat4x4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #4 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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9Framework17UniformMat4Binder8SetValueERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZN3glm6detail7tmat4x4IfEixEm(ptr noundef nonnull align 4 dereferenceable(64), i64 noundef) local_unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

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

; 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

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

declare void @glutPostRedisplay() local_unnamed_addr #6

declare void @glutSwapBuffers() local_unnamed_addr #6

; 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { "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 #7 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!18, !10, i64 28}
!18 = !{!"_ZTSN6glutil8ViewDataE", !19, i64 0, !20, i64 12, !10, i64 28, !10, i64 32}
!19 = !{!"_ZTSN3glm6detail5tvec3IfEE", !7, i64 0}
!20 = !{!"_ZTSN3glm6detail5tquatIfEE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}


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