; LLVM IR from paroj/gltut :: Tut 17 Spotlight on Textures/CubePointLight.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.glutil::ObjectPole" = type { ptr, %"struct.glutil::ObjectData", %"struct.glutil::ObjectData", float, i32, i32, i8, %"struct.glm::detail::tvec2", %"struct.glm::detail::tvec2", %"struct.glm::detail::tquat" }
%"struct.glutil::ObjectData" = type { %"struct.glm::detail::tvec3", %"struct.glm::detail::tquat" }
%"class.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 [1 x i32], align 4
@g_lightTextures = external dso_local global [2 x i32], align 4
@g_currTextureIndex = external dso_local global i32, align 4
@_funcptr_glBindTexture = external global ptr, align 8
@g_viewPole = external dso_local global %"class.glutil::ViewPole", align 8
@g_lightPole = external dso_local global %"class.glutil::ObjectPole", 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_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_glBindSampler = external global ptr, align 8
@_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.31 = external hidden unnamed_addr constant [5 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_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::tmat4x4", align 4
  %28 = alloca %"struct.glm::detail::tvec4", 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 %"class.glutil::PushStack", align 8
  %33 = alloca %"struct.glm::detail::tvec3", align 4
  %34 = alloca float, align 4
  %35 = alloca float, align 4
  %36 = alloca float, align 4
  %37 = alloca %"class.std::__cxx11::basic_string", align 8
  %38 = alloca %"class.std::allocator", align 1
  %39 = alloca %"class.std::__cxx11::basic_string", align 8
  %40 = alloca %"class.std::allocator", align 1
  %41 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  %42 = icmp ne ptr %41, null
  br i1 %42, label %44, label %43

43:                                               ; preds = %0
  br label %333

44:                                               ; preds = %0
  %45 = call noundef zeroext i1 @_ZN9Framework5Timer6UpdateEv(ptr noundef nonnull align 4 dereferenceable(20) @g_timer)
  %46 = load ptr, ptr @_funcptr_glClearColor, align 8, !tbaa !5
  call void %46(float noundef 0x3FE99999A0000000, float noundef 0x3FE99999A0000000, float noundef 0x3FE99999A0000000, float noundef 1.000000e+00)
  %47 = load ptr, ptr @_funcptr_glClearDepth, align 8, !tbaa !5
  call void %47(double noundef 1.000000e+00)
  %48 = load ptr, ptr @_funcptr_glClear, align 8, !tbaa !5
  call void %48(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 @_ZNK6glutil10ObjectPole10CalcMatrixEv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat4x4") align 4 %4, ptr noundef nonnull align 8 dereferenceable(112) @g_lightPole)
  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)
  %49 = load ptr, ptr %1, align 8, !tbaa !5
  %50 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN6glutil11MatrixStackmLERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %5, ptr noundef nonnull align 4 dereferenceable(64) %49)
          to label %51 unwind label %205

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

53:                                               ; preds = %51
  %54 = 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 %55 unwind label %209

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

57:                                               ; preds = %55
  %58 = fmul float 3.600000e+02, %56
  store float %58, 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 %59 unwind label %217

59:                                               ; preds = %57
  %60 = 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 %61 unwind label %217

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

66:                                               ; preds = %61
  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
  %67 = 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 %68 unwind label %223

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

70:                                               ; preds = %68
  %71 = fmul float 3.600000e+02, %69
  store float %71, 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 %72 unwind label %231

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

74:                                               ; preds = %72
  %75 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %16, i32 0, i32 0
  %76 = extractvalue { <2 x float>, <2 x float> } %73, 0
  store <2 x float> %76, ptr %75, align 4
  %77 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %16, i32 0, i32 1
  %78 = extractvalue { <2 x float>, <2 x float> } %73, 1
  store <2 x float> %78, ptr %77, align 4
  %79 = 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 %80 unwind label %231

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

85:                                               ; preds = %80
  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 %86 unwind label %237

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

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

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

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

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

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

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

105:                                              ; preds = %103
  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
  %106 = load ptr, ptr @_funcptr_glActiveTexture, align 8, !tbaa !5
  invoke void %106(i32 noundef 33987)
          to label %107 unwind label %205

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

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

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

120:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 64, ptr %26) #8
  %121 = 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 %26, ptr noundef nonnull align 4 dereferenceable(64) %121)
          to label %122 unwind label %255

122:                                              ; preds = %120
  invoke void @_ZN6glutil11MatrixStack11ApplyMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %25, ptr noundef nonnull align 4 dereferenceable(64) %26)
          to label %123 unwind label %255

123:                                              ; preds = %122
  call void @llvm.lifetime.end.p0(i64 64, ptr %26) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %27) #8
  %124 = 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 %27, ptr noundef nonnull align 4 dereferenceable(64) %124)
          to label %125 unwind label %259

125:                                              ; preds = %123
  invoke void @_ZN6glutil11MatrixStack11ApplyMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %25, ptr noundef nonnull align 4 dereferenceable(64) %27)
          to label %126 unwind label %259

126:                                              ; preds = %125
  call void @llvm.lifetime.end.p0(i64 64, ptr %27) #8
  %127 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %25)
          to label %128 unwind label %263

128:                                              ; preds = %126
  invoke void @_ZN9Framework17UniformMat4Binder8SetValueERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(120) @g_lightProjMatBinder, ptr noundef nonnull align 4 dereferenceable(64) %127)
          to label %129 unwind label %263

129:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #8
  %130 = load ptr, ptr %3, align 8, !tbaa !5
  %131 = invoke noundef nonnull align 4 dereferenceable(16) ptr @_ZNK3glm6detail7tmat4x4IfEixEm(ptr noundef nonnull align 4 dereferenceable(64) %130, i64 noundef 3)
          to label %132 unwind label %267

132:                                              ; preds = %129
  invoke void @_ZN3glm6detail5tvec4IfEC2ERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %28, ptr noundef nonnull align 4 dereferenceable(16) %131)
          to label %133 unwind label %267

133:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 12, ptr %29) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #8
  %134 = 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) %134, ptr noundef nonnull align 4 dereferenceable(16) %28)
          to label %135 unwind label %271

135:                                              ; preds = %133
  invoke void @_ZN3glm6detail5tvec3IfEC2IfEERKNS0_5tvec4IT_EE(ptr noundef nonnull align 4 dereferenceable(12) %29, ptr noundef nonnull align 4 dereferenceable(16) %30)
          to label %136 unwind label %271

136:                                              ; preds = %135
  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 %137 unwind label %275

137:                                              ; preds = %136
  call void @llvm.lifetime.end.p0(i64 12, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #8
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %25) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %25) #8
  %138 = load ptr, ptr @_funcptr_glViewport, align 8, !tbaa !5
  %139 = load i32, ptr @g_displayWidth, align 4, !tbaa !11
  %140 = load i32, ptr @g_displayHeight, align 4, !tbaa !11
  invoke void %138(i32 noundef 0, i32 noundef 0, i32 noundef %139, i32 noundef %140)
          to label %141 unwind label %205

141:                                              ; preds = %137
  %142 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  %143 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %5)
          to label %144 unwind label %205

144:                                              ; preds = %141
  invoke void @_ZNK9Framework5Scene6RenderERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(8) %142, ptr noundef nonnull align 4 dereferenceable(64) %143)
          to label %145 unwind label %205

145:                                              ; preds = %144
  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 %146 unwind label %283

146:                                              ; preds = %145
  %147 = load ptr, ptr %3, align 8, !tbaa !5
  invoke void @_ZN6glutil11MatrixStack11ApplyMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %5, ptr noundef nonnull align 4 dereferenceable(64) %147)
          to label %148 unwind label %287

148:                                              ; preds = %146
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %5, float noundef 1.500000e+01)
          to label %149 unwind label %287

149:                                              ; preds = %148
  %150 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %151 = load i32, ptr @g_colroedProg, align 4, !tbaa !11
  invoke void %150(i32 noundef %151)
          to label %152 unwind label %287

152:                                              ; preds = %149
  %153 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %154 = load i32, ptr @g_coloredModelToCameraMatrixUnif, align 4, !tbaa !11
  %155 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %5)
          to label %156 unwind label %287

156:                                              ; preds = %152
  %157 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %155)
          to label %158 unwind label %287

158:                                              ; preds = %156
  invoke void %153(i32 noundef %154, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %157)
          to label %159 unwind label %287

159:                                              ; preds = %158
  %160 = load ptr, ptr @g_pAxesMesh, align 8, !tbaa !5
  invoke void @_ZNK9Framework4Mesh6RenderEv(ptr noundef nonnull align 8 dereferenceable(8) %160)
          to label %161 unwind label %287

161:                                              ; preds = %159
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  %162 = load i8, ptr @g_bDrawCameraPos, align 1, !tbaa !13, !range !15, !noundef !16
  %163 = trunc i8 %162 to i1
  br i1 %163, label %164, label %324

164:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(88) %5)
          to label %165 unwind label %292

165:                                              ; preds = %164
  invoke void @_ZN6glutil11MatrixStack11SetIdentityEv(ptr noundef nonnull align 8 dereferenceable(88) %5)
          to label %166 unwind label %296

166:                                              ; preds = %165
  call void @llvm.lifetime.start.p0(i64 12, ptr %33) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  store float 0.000000e+00, ptr %34, align 4, !tbaa !9
  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
  %167 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZNK6glutil8ViewPole7GetViewEv(ptr noundef nonnull align 8 dereferenceable(148) @g_viewPole)
          to label %168 unwind label %300

168:                                              ; preds = %166
  %169 = getelementptr inbounds %"struct.glutil::ViewData", ptr %167, i32 0, i32 2
  %170 = load float, ptr %169, align 4, !tbaa !17
  %171 = fneg float %170
  store float %171, ptr %36, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %33, ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef nonnull align 4 dereferenceable(4) %36)
          to label %172 unwind label %300

172:                                              ; preds = %168
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %5, ptr noundef nonnull align 4 dereferenceable(12) %33)
          to label %173 unwind label %300

173:                                              ; preds = %172
  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 4, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %33) #8
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %5, float noundef 5.000000e-01)
          to label %174 unwind label %296

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

176:                                              ; preds = %174
  %177 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %177(i8 noundef zeroext 0)
          to label %178 unwind label %296

178:                                              ; preds = %176
  %179 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %180 = load i32, ptr @g_unlitProg, align 4, !tbaa !11
  invoke void %179(i32 noundef %180)
          to label %181 unwind label %296

181:                                              ; preds = %178
  %182 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %183 = load i32, ptr @g_unlitModelToCameraMatrixUnif, align 4, !tbaa !11
  %184 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %5)
          to label %185 unwind label %296

185:                                              ; preds = %181
  %186 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %184)
          to label %187 unwind label %296

187:                                              ; preds = %185
  invoke void %182(i32 noundef %183, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %186)
          to label %188 unwind label %296

188:                                              ; preds = %187
  %189 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %190 = load i32, ptr @g_unlitObjectColorUnif, align 4, !tbaa !11
  invoke void %189(i32 noundef %190, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 1.000000e+00)
          to label %191 unwind label %296

191:                                              ; preds = %188
  %192 = load ptr, ptr @g_pSphereMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %37) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef @.str.31, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %193 unwind label %304

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

194:                                              ; preds = %193
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #8
  %195 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %195(i8 noundef zeroext 1)
          to label %196 unwind label %296

196:                                              ; preds = %194
  %197 = load ptr, ptr @_funcptr_glEnable, align 8, !tbaa !5
  invoke void %197(i32 noundef 2929)
          to label %198 unwind label %296

198:                                              ; preds = %196
  %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 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %201 unwind label %296

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

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

204:                                              ; preds = %203
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #8
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %324

205:                                              ; preds = %331, %330, %328, %326, %324, %144, %141, %137, %113, %107, %105, %51, %44
  %206 = landingpad { ptr, i32 }
          cleanup
  %207 = extractvalue { ptr, i32 } %206, 0
  store ptr %207, ptr %6, align 8
  %208 = extractvalue { ptr, i32 } %206, 1
  store i32 %208, ptr %7, align 4
  br label %334

209:                                              ; preds = %53
  %210 = landingpad { ptr, i32 }
          cleanup
  %211 = extractvalue { ptr, i32 } %210, 0
  store ptr %211, ptr %6, align 8
  %212 = extractvalue { ptr, i32 } %210, 1
  store i32 %212, ptr %7, align 4
  br label %222

213:                                              ; preds = %55
  %214 = landingpad { ptr, i32 }
          cleanup
  %215 = extractvalue { ptr, i32 } %214, 0
  store ptr %215, ptr %6, align 8
  %216 = extractvalue { ptr, i32 } %214, 1
  store i32 %216, ptr %7, align 4
  br label %221

217:                                              ; preds = %61, %59, %57
  %218 = landingpad { ptr, i32 }
          cleanup
  %219 = extractvalue { ptr, i32 } %218, 0
  store ptr %219, ptr %6, align 8
  %220 = extractvalue { ptr, i32 } %218, 1
  store i32 %220, 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 %221

221:                                              ; preds = %217, %213
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  br label %222

222:                                              ; preds = %221, %209
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #8
  br label %334

223:                                              ; preds = %66
  %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 %236

227:                                              ; preds = %68
  %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
  br label %235

231:                                              ; preds = %80, %74, %72, %70
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %6, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, 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 %235

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

236:                                              ; preds = %235, %223
  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 %334

237:                                              ; preds = %85
  %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 %250

241:                                              ; preds = %86
  %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
  br label %249

245:                                              ; preds = %103, %101, %98, %95, %93, %92
  %246 = landingpad { ptr, i32 }
          cleanup
  %247 = extractvalue { ptr, i32 } %246, 0
  store ptr %247, ptr %6, align 8
  %248 = extractvalue { ptr, i32 } %246, 1
  store i32 %248, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #8
  br label %249

249:                                              ; preds = %245, %241
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %23) #8
  br label %250

250:                                              ; preds = %249, %237
  call void @llvm.lifetime.end.p0(i64 88, ptr %23) #8
  br label %334

251:                                              ; preds = %119
  %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 %282

255:                                              ; preds = %122, %120
  %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 %26) #8
  br label %281

259:                                              ; preds = %125, %123
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %6, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %27) #8
  br label %281

263:                                              ; preds = %128, %126
  %264 = landingpad { ptr, i32 }
          cleanup
  %265 = extractvalue { ptr, i32 } %264, 0
  store ptr %265, ptr %6, align 8
  %266 = extractvalue { ptr, i32 } %264, 1
  store i32 %266, ptr %7, align 4
  br label %281

267:                                              ; preds = %132, %129
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %6, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %7, align 4
  br label %280

271:                                              ; preds = %135, %133
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %6, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #8
  br label %279

275:                                              ; preds = %136
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %6, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %7, align 4
  br label %279

279:                                              ; preds = %275, %271
  call void @llvm.lifetime.end.p0(i64 12, ptr %29) #8
  br label %280

280:                                              ; preds = %279, %267
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #8
  br label %281

281:                                              ; preds = %280, %263, %259, %255
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %25) #8
  br label %282

282:                                              ; preds = %281, %251
  call void @llvm.lifetime.end.p0(i64 88, ptr %25) #8
  br label %334

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

287:                                              ; preds = %159, %158, %156, %152, %149, %148, %146
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %6, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %7, align 4
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #8
  br label %291

291:                                              ; preds = %287, %283
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  br label %334

292:                                              ; preds = %164
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %6, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %7, align 4
  br label %323

296:                                              ; preds = %198, %196, %194, %188, %187, %185, %181, %178, %176, %174, %173, %165
  %297 = landingpad { ptr, i32 }
          cleanup
  %298 = extractvalue { ptr, i32 } %297, 0
  store ptr %298, ptr %6, align 8
  %299 = extractvalue { ptr, i32 } %297, 1
  store i32 %299, ptr %7, align 4
  br label %322

300:                                              ; preds = %172, %168, %166
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %6, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %7, align 4
  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 4, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %33) #8
  br label %322

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

308:                                              ; preds = %193
  %309 = landingpad { ptr, i32 }
          cleanup
  %310 = extractvalue { ptr, i32 } %309, 0
  store ptr %310, ptr %6, align 8
  %311 = extractvalue { ptr, i32 } %309, 1
  store i32 %311, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #8
  br label %312

312:                                              ; preds = %308, %304
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #8
  br label %322

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

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

321:                                              ; preds = %317, %313
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #8
  br label %322

322:                                              ; preds = %321, %312, %300, %296
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %32) #8
  br label %323

323:                                              ; preds = %322, %292
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %334

324:                                              ; preds = %204, %161
  %325 = load ptr, ptr @_funcptr_glActiveTexture, align 8, !tbaa !5
  invoke void %325(i32 noundef 33987)
          to label %326 unwind label %205

326:                                              ; preds = %324
  %327 = load ptr, ptr @_funcptr_glBindTexture, align 8, !tbaa !5
  invoke void %327(i32 noundef 34067, i32 noundef 0)
          to label %328 unwind label %205

328:                                              ; preds = %326
  %329 = load ptr, ptr @_funcptr_glBindSampler, align 8, !tbaa !5
  invoke void %329(i32 noundef 3, i32 noundef 0)
          to label %330 unwind label %205

330:                                              ; preds = %328
  invoke void @glutPostRedisplay()
          to label %331 unwind label %205

331:                                              ; preds = %330
  invoke void @glutSwapBuffers()
          to label %332 unwind label %205

332:                                              ; preds = %331
  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 %333

333:                                              ; preds = %332, %43
  ret void

334:                                              ; preds = %323, %291, %282, %250, %236, %222, %205
  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 %335

335:                                              ; preds = %334
  %336 = load ptr, ptr %6, align 8
  %337 = load i32, ptr %7, align 4
  %338 = insertvalue { ptr, i32 } poison, ptr %336, 0
  %339 = insertvalue { ptr, i32 } %338, i32 %337, 1
  resume { ptr, i32 } %339
}

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

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

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 @_ZNK3glm6detail7tmat4x4IfEixEm(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.glutil::ObjectPole" = type { ptr, %"struct.glutil::ObjectData", %"struct.glutil::ObjectData", float, i32, i32, i8, %"struct.glm::detail::tvec2", %"struct.glm::detail::tvec2", %"struct.glm::detail::tquat" }
%"struct.glutil::ObjectData" = type { %"struct.glm::detail::tvec3", %"struct.glm::detail::tquat" }
%"class.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 [1 x i32], align 4
@g_lightTextures = external dso_local local_unnamed_addr global [2 x i32], align 4
@g_currTextureIndex = external dso_local local_unnamed_addr global i32, align 4
@_funcptr_glBindTexture = external local_unnamed_addr global ptr, align 8
@g_viewPole = external dso_local global %"class.glutil::ViewPole", align 8
@g_lightPole = external dso_local global %"class.glutil::ObjectPole", 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_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_glBindSampler = external local_unnamed_addr global ptr, align 8
@_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.31 = external hidden unnamed_addr constant [5 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_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::tmat4x4", align 4
  %24 = alloca %"struct.glm::detail::tvec4", 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 %"class.glutil::PushStack", align 8
  %29 = alloca %"struct.glm::detail::tvec3", align 4
  %30 = alloca float, align 4
  %31 = alloca float, align 4
  %32 = alloca float, align 4
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca %"class.std::allocator", align 1
  %35 = alloca %"class.std::__cxx11::basic_string", align 8
  %36 = alloca %"class.std::allocator", align 1
  %37 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  %.not = icmp eq ptr %37, null
  br i1 %.not, label %241, label %38

38:                                               ; preds = %0
  %39 = tail call noundef zeroext i1 @_ZN9Framework5Timer6UpdateEv(ptr noundef nonnull align 4 dereferenceable(20) @g_timer)
  %40 = load ptr, ptr @_funcptr_glClearColor, align 8, !tbaa !5
  tail call void %40(float noundef 0x3FE99999A0000000, float noundef 0x3FE99999A0000000, float noundef 0x3FE99999A0000000, float noundef 1.000000e+00)
  %41 = load ptr, ptr @_funcptr_glClearDepth, align 8, !tbaa !5
  tail call void %41(double noundef 1.000000e+00)
  %42 = load ptr, ptr @_funcptr_glClear, align 8, !tbaa !5
  tail call void %42(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 @_ZNK6glutil10ObjectPole10CalcMatrixEv(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tmat4x4") align 4 %2, ptr noundef nonnull align 8 dereferenceable(112) @g_lightPole)
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %3) #8
  call void @_ZN6glutil11MatrixStackC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %3)
  %43 = 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 %44 unwind label %174

44:                                               ; preds = %38
  invoke void @_Z11BuildLightsRKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 4 dereferenceable(64) %1)
          to label %45 unwind label %174

45:                                               ; preds = %44
  %46 = 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
  %47 = invoke noundef float @_ZNK9Framework5Timer8GetAlphaEv(ptr noundef nonnull align 4 dereferenceable(20) @g_timer)
          to label %48 unwind label %176

48:                                               ; preds = %45
  %49 = fmul float %47, 3.600000e+02
  store float %49, 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)
  %50 = 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 %51 unwind label %178

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

55:                                               ; preds = %51
  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
  %56 = 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
  %57 = invoke noundef float @_ZNK9Framework5Timer8GetAlphaEv(ptr noundef nonnull align 4 dereferenceable(20) @g_timer)
          to label %58 unwind label %181

58:                                               ; preds = %55
  %59 = fmul float %57, 3.600000e+02
  store float %59, 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)
  %60 = 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 %61 unwind label %183

61:                                               ; preds = %58
  %62 = extractvalue { <2 x float>, <2 x float> } %60, 0
  store <2 x float> %62, ptr %12, align 8
  %63 = getelementptr inbounds i8, ptr %12, i64 8
  %64 = extractvalue { <2 x float>, <2 x float> } %60, 1
  store <2 x float> %64, ptr %63, align 8
  %65 = 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 %66 unwind label %183

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

70:                                               ; preds = %66
  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 %71 unwind label %186

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

77:                                               ; preds = %71
  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 %78 unwind label %190

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

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

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

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

88:                                               ; preds = %86
  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
  %89 = load ptr, ptr @_funcptr_glActiveTexture, align 8, !tbaa !5
  invoke void %89(i32 noundef 33987)
          to label %90 unwind label %174

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

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

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

103:                                              ; preds = %102
  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) %2)
          to label %104 unwind label %196

104:                                              ; preds = %103
  invoke void @_ZN6glutil11MatrixStack11ApplyMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %21, ptr noundef nonnull align 4 dereferenceable(64) %22)
          to label %105 unwind label %196

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

106:                                              ; preds = %105
  invoke void @_ZN6glutil11MatrixStack11ApplyMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %21, ptr noundef nonnull align 4 dereferenceable(64) %23)
          to label %107 unwind label %198

107:                                              ; preds = %106
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %23) #8
  %108 = 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) %108)
          to label %109 unwind label %200

109:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #8
  %110 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK3glm6detail7tmat4x4IfEixEm(ptr noundef nonnull align 4 dereferenceable(64) %2, i64 noundef 3)
  call void @_ZN3glm6detail5tvec4IfEC2ERKS2_(ptr noundef nonnull align 4 dereferenceable(16) %24, ptr noundef nonnull align 4 dereferenceable(16) %110)
  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) %24)
          to label %111 unwind label %202

111:                                              ; preds = %109
  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 %112 unwind label %204

112:                                              ; preds = %111
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %25) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #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
  %113 = load ptr, ptr @_funcptr_glViewport, align 8, !tbaa !5
  %114 = load i32, ptr @g_displayWidth, align 4, !tbaa !11
  %115 = load i32, ptr @g_displayHeight, align 4, !tbaa !11
  invoke void %113(i32 noundef 0, i32 noundef 0, i32 noundef %114, i32 noundef %115)
          to label %116 unwind label %174

116:                                              ; preds = %112
  %117 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  %118 = 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) %117, ptr noundef nonnull align 4 dereferenceable(64) %118)
          to label %119 unwind label %174

119:                                              ; preds = %116
  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 %120 unwind label %209

120:                                              ; preds = %119
  invoke void @_ZN6glutil11MatrixStack11ApplyMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %3, ptr noundef nonnull align 4 dereferenceable(64) %2)
          to label %121 unwind label %211

121:                                              ; preds = %120
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %3, float noundef 1.500000e+01)
          to label %122 unwind label %211

122:                                              ; preds = %121
  %123 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %124 = load i32, ptr @g_colroedProg, align 4, !tbaa !11
  invoke void %123(i32 noundef %124)
          to label %125 unwind label %211

125:                                              ; preds = %122
  %126 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %127 = load i32, ptr @g_coloredModelToCameraMatrixUnif, align 4, !tbaa !11
  %128 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %3)
  %129 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %128)
          to label %130 unwind label %211

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

131:                                              ; preds = %130
  %132 = load ptr, ptr @g_pAxesMesh, align 8, !tbaa !5
  invoke void @_ZNK9Framework4Mesh6RenderEv(ptr noundef nonnull align 8 dereferenceable(8) %132)
          to label %133 unwind label %211

133:                                              ; preds = %131
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #8
  %134 = load i8, ptr @g_bDrawCameraPos, align 1, !tbaa !13, !range !15, !noundef !16
  %135 = trunc nuw i8 %134 to i1
  br i1 %135, label %136, label %232

136:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #8
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(88) %3)
          to label %137 unwind label %214

137:                                              ; preds = %136
  invoke void @_ZN6glutil11MatrixStack11SetIdentityEv(ptr noundef nonnull align 8 dereferenceable(88) %3)
          to label %138 unwind label %216

138:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %29) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %30) #8
  store float 0.000000e+00, ptr %30, align 4, !tbaa !9
  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
  %139 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZNK6glutil8ViewPole7GetViewEv(ptr noundef nonnull align 8 dereferenceable(148) @g_viewPole)
  %140 = getelementptr inbounds i8, ptr %139, i64 28
  %141 = load float, ptr %140, align 4, !tbaa !17
  %142 = fneg float %141
  store float %142, ptr %32, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %29, ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef nonnull align 4 dereferenceable(4) %31, ptr noundef nonnull align 4 dereferenceable(4) %32)
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %3, ptr noundef nonnull align 4 dereferenceable(12) %29)
          to label %143 unwind label %218

143:                                              ; preds = %138
  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 4, ptr nonnull %30) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %29) #8
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %3, float noundef 5.000000e-01)
          to label %144 unwind label %216

144:                                              ; preds = %143
  %145 = load ptr, ptr @_funcptr_glDisable, align 8, !tbaa !5
  invoke void %145(i32 noundef 2929)
          to label %146 unwind label %216

146:                                              ; preds = %144
  %147 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %147(i8 noundef zeroext 0)
          to label %148 unwind label %216

148:                                              ; preds = %146
  %149 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %150 = load i32, ptr @g_unlitProg, align 4, !tbaa !11
  invoke void %149(i32 noundef %150)
          to label %151 unwind label %216

151:                                              ; preds = %148
  %152 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %153 = load i32, ptr @g_unlitModelToCameraMatrixUnif, align 4, !tbaa !11
  %154 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %3)
  %155 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %154)
          to label %156 unwind label %216

156:                                              ; preds = %151
  invoke void %152(i32 noundef %153, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %155)
          to label %157 unwind label %216

157:                                              ; preds = %156
  %158 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %159 = load i32, ptr @g_unlitObjectColorUnif, align 4, !tbaa !11
  invoke void %158(i32 noundef %159, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 1.000000e+00)
          to label %160 unwind label %216

160:                                              ; preds = %157
  %161 = load ptr, ptr @g_pSphereMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %33) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %34) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull @.str.31, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %162 unwind label %220

162:                                              ; preds = %160
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %161, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %163 unwind label %222

163:                                              ; preds = %162
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %34) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #8
  %164 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %164(i8 noundef zeroext 1)
          to label %165 unwind label %216

165:                                              ; preds = %163
  %166 = load ptr, ptr @_funcptr_glEnable, align 8, !tbaa !5
  invoke void %166(i32 noundef 2929)
          to label %167 unwind label %216

167:                                              ; preds = %165
  %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 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %170 unwind label %216

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

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

173:                                              ; preds = %172
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %36) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %35) #8
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #8
  br label %232

174:                                              ; preds = %239, %238, %236, %234, %232, %116, %112, %96, %90, %88, %44, %38
  %175 = landingpad { ptr, i32 }
          cleanup
  br label %242

176:                                              ; preds = %45
  %177 = landingpad { ptr, i32 }
          cleanup
  br label %180

178:                                              ; preds = %51, %48
  %179 = 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 %180

180:                                              ; preds = %178, %176
  %.pn = phi { ptr, i32 } [ %179, %178 ], [ %177, %176 ]
  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 %242

181:                                              ; preds = %55
  %182 = landingpad { ptr, i32 }
          cleanup
  br label %185

183:                                              ; preds = %66, %61, %58
  %184 = 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 %185

185:                                              ; preds = %183, %181
  %.pn22 = phi { ptr, i32 } [ %184, %183 ], [ %182, %181 ]
  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 %242

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

188:                                              ; preds = %71
  %189 = landingpad { ptr, i32 }
          cleanup
  br label %192

190:                                              ; preds = %86, %84, %81, %78, %77
  %191 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %20) #8
  br label %192

192:                                              ; preds = %190, %188
  %.pn24 = phi { ptr, i32 } [ %191, %190 ], [ %189, %188 ]
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %19) #8
  br label %193

193:                                              ; preds = %192, %186
  %.pn24.pn = phi { ptr, i32 } [ %.pn24, %192 ], [ %187, %186 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %19) #8
  br label %242

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

196:                                              ; preds = %104, %103
  %197 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %22) #8
  br label %207

198:                                              ; preds = %106, %105
  %199 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %23) #8
  br label %207

200:                                              ; preds = %107
  %201 = landingpad { ptr, i32 }
          cleanup
  br label %207

202:                                              ; preds = %109
  %203 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #8
  br label %206

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

206:                                              ; preds = %204, %202
  %.pn27 = phi { ptr, i32 } [ %205, %204 ], [ %203, %202 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %25) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #8
  br label %207

207:                                              ; preds = %206, %200, %198, %196
  %.pn27.pn = phi { ptr, i32 } [ %.pn27, %206 ], [ %201, %200 ], [ %199, %198 ], [ %197, %196 ]
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %21) #8
  br label %208

208:                                              ; preds = %207, %194
  %.pn27.pn.pn = phi { ptr, i32 } [ %.pn27.pn, %207 ], [ %195, %194 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %21) #8
  br label %242

209:                                              ; preds = %119
  %210 = landingpad { ptr, i32 }
          cleanup
  br label %213

211:                                              ; preds = %131, %130, %125, %122, %121, %120
  %212 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  br label %213

213:                                              ; preds = %211, %209
  %.pn31 = phi { ptr, i32 } [ %212, %211 ], [ %210, %209 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #8
  br label %242

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

216:                                              ; preds = %167, %165, %163, %157, %156, %151, %148, %146, %144, %143, %137
  %217 = landingpad { ptr, i32 }
          cleanup
  br label %230

218:                                              ; preds = %138
  %219 = landingpad { ptr, i32 }
          cleanup
  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 4, ptr nonnull %30) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %29) #8
  br label %230

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

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

224:                                              ; preds = %222, %220
  %.pn33 = phi { ptr, i32 } [ %223, %222 ], [ %221, %220 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %34) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #8
  br label %230

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

227:                                              ; preds = %172
  %228 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #8
  br label %229

229:                                              ; preds = %227, %225
  %.pn35 = phi { ptr, i32 } [ %228, %227 ], [ %226, %225 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %36) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %35) #8
  br label %230

230:                                              ; preds = %229, %224, %218, %216
  %.pn35.pn = phi { ptr, i32 } [ %.pn35, %229 ], [ %217, %216 ], [ %.pn33, %224 ], [ %219, %218 ]
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  br label %231

231:                                              ; preds = %230, %214
  %.pn35.pn.pn = phi { ptr, i32 } [ %.pn35.pn, %230 ], [ %215, %214 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #8
  br label %242

232:                                              ; preds = %173, %133
  %233 = load ptr, ptr @_funcptr_glActiveTexture, align 8, !tbaa !5
  invoke void %233(i32 noundef 33987)
          to label %234 unwind label %174

234:                                              ; preds = %232
  %235 = load ptr, ptr @_funcptr_glBindTexture, align 8, !tbaa !5
  invoke void %235(i32 noundef 34067, i32 noundef 0)
          to label %236 unwind label %174

236:                                              ; preds = %234
  %237 = load ptr, ptr @_funcptr_glBindSampler, align 8, !tbaa !5
  invoke void %237(i32 noundef 3, i32 noundef 0)
          to label %238 unwind label %174

238:                                              ; preds = %236
  invoke void @glutPostRedisplay()
          to label %239 unwind label %174

239:                                              ; preds = %238
  invoke void @glutSwapBuffers()
          to label %240 unwind label %174

240:                                              ; preds = %239
  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 %241

241:                                              ; preds = %0, %240
  ret void

242:                                              ; preds = %231, %213, %208, %193, %185, %180, %174
  %.pn39 = phi { ptr, i32 } [ %175, %174 ], [ %.pn35.pn.pn, %231 ], [ %.pn31, %213 ], [ %.pn27.pn.pn, %208 ], [ %.pn24.pn, %193 ], [ %.pn22, %185 ], [ %.pn, %180 ]
  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 } %.pn39
}

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

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

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 @_ZNK3glm6detail7tmat4x4IfEixEm(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