; LLVM IR from paroj/gltut :: Tut 17 Spotlight on Textures/DoubleProjection.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 }
%union.anon = type { %struct.anon }
%struct.anon = type { float, float, float }
%"struct.glm::detail::tvec2" = type { %union.anon.2 }
%union.anon.2 = type { %struct.anon.3 }
%struct.anon.3 = type { i32, i32 }
%"struct.glm::detail::tquat" = type { float, float, float, float }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Framework::NodeRef, std::allocator<Framework::NodeRef>>::_Vector_impl" }
%"struct.std::_Vector_base<Framework::NodeRef, std::allocator<Framework::NodeRef>>::_Vector_impl" = type { %"struct.std::_Vector_base<Framework::NodeRef, std::allocator<Framework::NodeRef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Framework::NodeRef, std::allocator<Framework::NodeRef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Framework::Timer" = type { i32, float, i8, i8, float, float }
%"class.glutil::MatrixStack" = type { %"class.std::stack", %"struct.glm::detail::tmat4x4" }
%"class.std::stack" = type { %"class.std::vector.19" }
%"class.std::vector.19" = type { %"struct.std::_Vector_base.20" }
%"struct.std::_Vector_base.20" = type { %"struct.std::_Vector_base<glm::detail::tmat4x4<float>, std::allocator<glm::detail::tmat4x4<float>>>::_Vector_impl" }
%"struct.std::_Vector_base<glm::detail::tmat4x4<float>, std::allocator<glm::detail::tmat4x4<float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<glm::detail::tmat4x4<float>, std::allocator<glm::detail::tmat4x4<float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glm::detail::tmat4x4<float>, std::allocator<glm::detail::tmat4x4<float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.glm::detail::tmat4x4" = type { [4 x %"struct.glm::detail::tvec4"] }
%"struct.glm::detail::tvec4" = type { %union.anon.15 }
%union.anon.15 = type { %struct.anon.16 }
%struct.anon.16 = type { float, float, float, float }
%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.14 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.14 = type { i64, [8 x i8] }
%"class.std::allocator.11" = type { i8 }
%"struct.glm::detail::tmat3x3" = type { [3 x %"struct.glm::detail::tvec3"] }
%struct.anon.5 = type { i32, i32 }

@g_projectionUniformBuffer = external dso_local global i32, align 4
@g_viewPole = external dso_local global %"class.glutil::ViewPole", align 8
@g_persViewPole = external dso_local global %"class.glutil::ViewPole", align 8
@g_pScene = external dso_local global ptr, align 8
@g_nodes = external dso_local global %"class.std::vector", align 8
@g_timer = external dso_local global %"class.Framework::Timer", align 4
@g_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_spinBarOrient = external dso_local global %"struct.glm::detail::tquat", align 4
@_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_bDrawCameraPos = external dso_local global i8, align 1
@g_bDepthClampProj = 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_glViewport = external global ptr, align 8
@_funcptr_glDisable = external global ptr, align 8
@_funcptr_glUseProgram = external global ptr, align 8
@_funcptr_glUniformMatrix4fv = external global ptr, align 8
@_funcptr_glUniform4f = external global ptr, align 8
@.str.19 = 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: 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 #1 align 2

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11BuildLightsRKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 4 dereferenceable(64)) #3

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

40:                                               ; preds = %0
  br label %331

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

46:                                               ; preds = %41
  %47 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN6glutil11MatrixStackmLERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(64) %2)
          to label %48 unwind label %166

48:                                               ; preds = %46
  call void @llvm.lifetime.end.p0(i64 64, ptr %2) #8
  %49 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %50 unwind label %170

50:                                               ; preds = %48
  invoke void @_Z11BuildLightsRKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 4 dereferenceable(64) %49)
          to label %51 unwind label %170

51:                                               ; preds = %50
  %52 = 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 %5) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #8
  invoke void @_ZN3glm6detail5tquatIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %6)
          to label %53 unwind label %174

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

55:                                               ; preds = %53
  %56 = fmul float 3.600000e+02, %54
  store float %56, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store float 0.000000e+00, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  store float 1.000000e+00, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  store float 0.000000e+00, ptr %11, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %57 unwind label %182

57:                                               ; preds = %55
  %58 = invoke { <2 x float>, <2 x float> } @_ZN3glm6rotateIfEENS_6detail5tquatIT_EERKS4_RKNS4_10value_typeERKNS1_5tvec3IS3_EE(ptr noundef nonnull align 4 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(12) %8)
          to label %59 unwind label %182

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

64:                                               ; preds = %59
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #8
  %65 = 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 %12) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #8
  invoke void @_ZN3glm6detail5tquatIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %14)
          to label %66 unwind label %188

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

68:                                               ; preds = %66
  %69 = fmul float 3.600000e+02, %67
  store float %69, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  store float 0.000000e+00, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  store float 0.000000e+00, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  store float 1.000000e+00, ptr %19, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %70 unwind label %196

70:                                               ; preds = %68
  %71 = invoke { <2 x float>, <2 x float> } @_ZN3glm6rotateIfEENS_6detail5tquatIT_EERKS4_RKNS4_10value_typeERKNS1_5tvec3IS3_EE(ptr noundef nonnull align 4 dereferenceable(16) %14, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(12) %16)
          to label %72 unwind label %196

72:                                               ; preds = %70
  %73 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %13, i32 0, i32 0
  %74 = extractvalue { <2 x float>, <2 x float> } %71, 0
  store <2 x float> %74, ptr %73, align 4
  %75 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %13, i32 0, i32 1
  %76 = extractvalue { <2 x float>, <2 x float> } %71, 1
  store <2 x float> %76, ptr %75, align 4
  %77 = 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) %13)
          to label %78 unwind label %196

78:                                               ; preds = %72
  %79 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %12, i32 0, i32 0
  %80 = extractvalue { <2 x float>, <2 x float> } %77, 0
  store <2 x float> %80, ptr %79, align 4
  %81 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %12, i32 0, i32 1
  %82 = extractvalue { <2 x float>, <2 x float> } %77, 1
  store <2 x float> %82, ptr %81, align 4
  invoke void @_ZN9Framework7NodeRef13NodeSetOrientERKN3glm6detail5tquatIfEE(ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef nonnull align 4 dereferenceable(16) %12)
          to label %83 unwind label %196

83:                                               ; preds = %78
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  %84 = load i32, ptr @g_displayWidth, align 4, !tbaa !11
  %85 = sdiv i32 %84, 2
  store i32 %85, ptr %21, align 4, !tbaa !11
  invoke void @_ZN3glm6detail5tvec2IiEC2ERKiS4_(ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(4) @g_displayHeight)
          to label %86 unwind label %202

86:                                               ; preds = %83
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.start.p0(i64 88, ptr %22) #8
  invoke void @_ZN6glutil11MatrixStackC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %22)
          to label %87 unwind label %206

87:                                               ; preds = %86
  %88 = getelementptr inbounds %"struct.glm::detail::tvec2", ptr %20, i32 0, i32 0
  %89 = getelementptr inbounds %struct.anon.5, ptr %88, i32 0, i32 0
  %90 = load i32, ptr %89, align 4, !tbaa !13
  %91 = sitofp i32 %90 to float
  %92 = getelementptr inbounds %"struct.glm::detail::tvec2", ptr %20, i32 0, i32 0
  %93 = getelementptr inbounds %struct.anon.5, ptr %92, i32 0, i32 1
  %94 = load i32, ptr %93, align 4, !tbaa !13
  %95 = sitofp i32 %94 to float
  %96 = fdiv float %91, %95
  invoke void @_ZN6glutil11MatrixStack11PerspectiveEffff(ptr noundef nonnull align 8 dereferenceable(88) %22, float noundef 6.000000e+01, float noundef %96, float noundef 1.000000e+00, float noundef 1.000000e+03)
          to label %97 unwind label %210

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

98:                                               ; preds = %97
  %99 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %22)
          to label %100 unwind label %214

100:                                              ; preds = %98
  %101 = getelementptr inbounds %struct.ProjectionBlock, ptr %23, i32 0, i32 0
  %102 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZN3glm6detail7tmat4x4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(64) %101, ptr noundef nonnull align 4 dereferenceable(64) %99)
          to label %103 unwind label %214

103:                                              ; preds = %100
  %104 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  %105 = load i32, ptr @g_projectionUniformBuffer, align 4, !tbaa !11
  invoke void %104(i32 noundef 35345, i32 noundef %105)
          to label %106 unwind label %214

106:                                              ; preds = %103
  %107 = load ptr, ptr @_funcptr_glBufferData, align 8, !tbaa !5
  invoke void %107(i32 noundef 35345, i64 noundef 64, ptr noundef %23, i32 noundef 35040)
          to label %108 unwind label %214

108:                                              ; preds = %106
  %109 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  invoke void %109(i32 noundef 35345, i32 noundef 0)
          to label %110 unwind label %214

110:                                              ; preds = %108
  call void @llvm.lifetime.end.p0(i64 64, ptr %23) #8
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %22) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %22) #8
  %111 = load ptr, ptr @_funcptr_glViewport, align 8, !tbaa !5
  %112 = getelementptr inbounds %"struct.glm::detail::tvec2", ptr %20, i32 0, i32 0
  %113 = getelementptr inbounds %struct.anon.5, ptr %112, i32 0, i32 0
  %114 = load i32, ptr %113, align 4, !tbaa !13
  %115 = getelementptr inbounds %"struct.glm::detail::tvec2", ptr %20, i32 0, i32 0
  %116 = getelementptr inbounds %struct.anon.5, ptr %115, i32 0, i32 1
  %117 = load i32, ptr %116, align 4, !tbaa !13
  invoke void %111(i32 noundef 0, i32 noundef 0, i32 noundef %114, i32 noundef %117)
          to label %118 unwind label %220

118:                                              ; preds = %110
  %119 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  %120 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %121 unwind label %220

121:                                              ; preds = %118
  invoke void @_ZNK9Framework5Scene6RenderERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(8) %119, ptr noundef nonnull align 4 dereferenceable(64) %120)
          to label %122 unwind label %220

122:                                              ; preds = %121
  %123 = load i8, ptr @g_bDrawCameraPos, align 1, !tbaa !14, !range !16, !noundef !17
  %124 = trunc i8 %123 to i1
  br i1 %124, label %125, label %256

125:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %126 unwind label %224

126:                                              ; preds = %125
  invoke void @_ZN6glutil11MatrixStack11SetIdentityEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %127 unwind label %228

127:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 12, ptr %25) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  store float 0.000000e+00, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  store float 0.000000e+00, ptr %27, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  %128 = invoke noundef nonnull align 4 dereferenceable(36) ptr @_ZNK6glutil8ViewPole7GetViewEv(ptr noundef nonnull align 8 dereferenceable(148) @g_viewPole)
          to label %129 unwind label %232

129:                                              ; preds = %127
  %130 = getelementptr inbounds %"struct.glutil::ViewData", ptr %128, i32 0, i32 2
  %131 = load float, ptr %130, align 4, !tbaa !18
  %132 = fneg float %131
  store float %132, ptr %28, align 4, !tbaa !9
  invoke void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %25, ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 4 dereferenceable(4) %28)
          to label %133 unwind label %232

133:                                              ; preds = %129
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %25)
          to label %134 unwind label %232

134:                                              ; preds = %133
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %25) #8
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %1, float noundef 5.000000e-01)
          to label %135 unwind label %228

135:                                              ; preds = %134
  %136 = load ptr, ptr @_funcptr_glDisable, align 8, !tbaa !5
  invoke void %136(i32 noundef 2929)
          to label %137 unwind label %228

137:                                              ; preds = %135
  %138 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %138(i8 noundef zeroext 0)
          to label %139 unwind label %228

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

142:                                              ; preds = %139
  %143 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %144 = load i32, ptr @g_unlitModelToCameraMatrixUnif, align 4, !tbaa !11
  %145 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %146 unwind label %228

146:                                              ; preds = %142
  %147 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %145)
          to label %148 unwind label %228

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

149:                                              ; preds = %148
  %150 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %151 = load i32, ptr @g_unlitObjectColorUnif, align 4, !tbaa !11
  invoke void %150(i32 noundef %151, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 1.000000e+00)
          to label %152 unwind label %228

152:                                              ; preds = %149
  %153 = load ptr, ptr @g_pSphereMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %29) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %154 unwind label %236

154:                                              ; preds = %152
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %153, ptr noundef nonnull align 8 dereferenceable(32) %29)
          to label %155 unwind label %240

155:                                              ; preds = %154
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #8
  %156 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %156(i8 noundef zeroext 1)
          to label %157 unwind label %228

157:                                              ; preds = %155
  %158 = load ptr, ptr @_funcptr_glEnable, align 8, !tbaa !5
  invoke void %158(i32 noundef 2929)
          to label %159 unwind label %228

159:                                              ; preds = %157
  %160 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %161 = load i32, ptr @g_unlitObjectColorUnif, align 4, !tbaa !11
  invoke void %160(i32 noundef %161, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %162 unwind label %228

162:                                              ; preds = %159
  %163 = load ptr, ptr @g_pSphereMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %164 unwind label %245

164:                                              ; preds = %162
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %163, ptr noundef nonnull align 8 dereferenceable(32) %31)
          to label %165 unwind label %249

165:                                              ; preds = %164
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #8
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %256

166:                                              ; preds = %46, %41
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %3, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %2) #8
  br label %333

170:                                              ; preds = %50, %48
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %3, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %4, align 4
  br label %333

174:                                              ; preds = %51
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %3, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %4, align 4
  br label %187

178:                                              ; preds = %53
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %3, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %4, align 4
  br label %186

182:                                              ; preds = %59, %57, %55
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %3, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %8) #8
  br label %186

186:                                              ; preds = %182, %178
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  br label %187

187:                                              ; preds = %186, %174
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #8
  br label %333

188:                                              ; preds = %64
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %3, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %4, align 4
  br label %201

192:                                              ; preds = %66
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %3, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %4, align 4
  br label %200

196:                                              ; preds = %78, %72, %70, %68
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %3, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #8
  br label %200

200:                                              ; preds = %196, %192
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  br label %201

201:                                              ; preds = %200, %188
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  br label %333

202:                                              ; preds = %83
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %3, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  br label %332

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

210:                                              ; preds = %87
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %3, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %4, align 4
  br label %218

214:                                              ; preds = %108, %106, %103, %100, %98, %97
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %3, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %23) #8
  br label %218

218:                                              ; preds = %214, %210
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %22) #8
  br label %219

219:                                              ; preds = %218, %206
  call void @llvm.lifetime.end.p0(i64 88, ptr %22) #8
  br label %332

220:                                              ; preds = %329, %328, %326, %325, %322, %308, %287, %121, %118, %110
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %3, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %4, align 4
  br label %332

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

228:                                              ; preds = %159, %157, %155, %149, %148, %146, %142, %139, %137, %135, %134, %126
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %3, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %4, align 4
  br label %254

232:                                              ; preds = %133, %129, %127
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %3, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %25) #8
  br label %254

236:                                              ; preds = %152
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %3, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %4, align 4
  br label %244

240:                                              ; preds = %154
  %241 = landingpad { ptr, i32 }
          cleanup
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %3, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %4, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #8
  br label %244

244:                                              ; preds = %240, %236
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #8
  br label %254

245:                                              ; preds = %162
  %246 = landingpad { ptr, i32 }
          cleanup
  %247 = extractvalue { ptr, i32 } %246, 0
  store ptr %247, ptr %3, align 8
  %248 = extractvalue { ptr, i32 } %246, 1
  store i32 %248, ptr %4, align 4
  br label %253

249:                                              ; preds = %164
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %3, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %4, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #8
  br label %253

253:                                              ; preds = %249, %245
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #8
  br label %254

254:                                              ; preds = %253, %244, %232, %228
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #8
  br label %255

255:                                              ; preds = %254, %224
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %332

256:                                              ; preds = %165, %122
  call void @llvm.lifetime.start.p0(i64 88, ptr %33) #8
  invoke void @_ZN6glutil11MatrixStackC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %33)
          to label %257 unwind label %290

257:                                              ; preds = %256
  call void @llvm.lifetime.start.p0(i64 64, ptr %34) #8
  call void @llvm.lifetime.start.p0(i64 36, ptr %35) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr %36) #8
  invoke void @_ZNK6glutil8ViewPole10CalcMatrixEv(ptr dead_on_unwind writable sret(%"struct.glm::detail::tmat4x4") align 4 %36, ptr noundef nonnull align 8 dereferenceable(148) @g_persViewPole)
          to label %258 unwind label %294

258:                                              ; preds = %257
  invoke void @_ZN3glm6detail7tmat3x3IfEC2ERKNS0_7tmat4x4IfEE(ptr noundef nonnull align 4 dereferenceable(36) %35, ptr noundef nonnull align 4 dereferenceable(64) %36)
          to label %259 unwind label %294

259:                                              ; preds = %258
  invoke void @_ZN3glm6detail7tmat4x4IfEC2ERKNS0_7tmat3x3IfEE(ptr noundef nonnull align 4 dereferenceable(64) %34, ptr noundef nonnull align 4 dereferenceable(36) %35)
          to label %260 unwind label %294

260:                                              ; preds = %259
  invoke void @_ZN6glutil11MatrixStack11ApplyMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %33, ptr noundef nonnull align 4 dereferenceable(64) %34)
          to label %261 unwind label %294

261:                                              ; preds = %260
  call void @llvm.lifetime.end.p0(i64 64, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 36, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %34) #8
  %262 = getelementptr inbounds %"struct.glm::detail::tvec2", ptr %20, i32 0, i32 0
  %263 = getelementptr inbounds %struct.anon.5, ptr %262, i32 0, i32 0
  %264 = load i32, ptr %263, align 4, !tbaa !13
  %265 = sitofp i32 %264 to float
  %266 = getelementptr inbounds %"struct.glm::detail::tvec2", ptr %20, i32 0, i32 0
  %267 = getelementptr inbounds %struct.anon.5, ptr %266, i32 0, i32 1
  %268 = load i32, ptr %267, align 4, !tbaa !13
  %269 = sitofp i32 %268 to float
  %270 = fdiv float %265, %269
  invoke void @_ZN6glutil11MatrixStack11PerspectiveEffff(ptr noundef nonnull align 8 dereferenceable(88) %33, float noundef 6.000000e+01, float noundef %270, float noundef 1.000000e+00, float noundef 1.000000e+03)
          to label %271 unwind label %298

271:                                              ; preds = %261
  call void @llvm.lifetime.start.p0(i64 64, ptr %37) #8
  invoke void @_ZN15ProjectionBlockC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %37)
          to label %272 unwind label %302

272:                                              ; preds = %271
  %273 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %33)
          to label %274 unwind label %302

274:                                              ; preds = %272
  %275 = getelementptr inbounds %struct.ProjectionBlock, ptr %37, i32 0, i32 0
  %276 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZN3glm6detail7tmat4x4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(64) %275, ptr noundef nonnull align 4 dereferenceable(64) %273)
          to label %277 unwind label %302

277:                                              ; preds = %274
  %278 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  %279 = load i32, ptr @g_projectionUniformBuffer, align 4, !tbaa !11
  invoke void %278(i32 noundef 35345, i32 noundef %279)
          to label %280 unwind label %302

280:                                              ; preds = %277
  %281 = load ptr, ptr @_funcptr_glBufferData, align 8, !tbaa !5
  invoke void %281(i32 noundef 35345, i64 noundef 64, ptr noundef %37, i32 noundef 35040)
          to label %282 unwind label %302

282:                                              ; preds = %280
  %283 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  invoke void %283(i32 noundef 35345, i32 noundef 0)
          to label %284 unwind label %302

284:                                              ; preds = %282
  call void @llvm.lifetime.end.p0(i64 64, ptr %37) #8
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %33) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %33) #8
  %285 = load i8, ptr @g_bDepthClampProj, align 1, !tbaa !14, !range !16, !noundef !17
  %286 = trunc i8 %285 to i1
  br i1 %286, label %308, label %287

287:                                              ; preds = %284
  %288 = load ptr, ptr @_funcptr_glDisable, align 8, !tbaa !5
  invoke void %288(i32 noundef 34383)
          to label %289 unwind label %220

289:                                              ; preds = %287
  br label %308

290:                                              ; preds = %256
  %291 = landingpad { ptr, i32 }
          cleanup
  %292 = extractvalue { ptr, i32 } %291, 0
  store ptr %292, ptr %3, align 8
  %293 = extractvalue { ptr, i32 } %291, 1
  store i32 %293, ptr %4, align 4
  br label %307

294:                                              ; preds = %260, %259, %258, %257
  %295 = landingpad { ptr, i32 }
          cleanup
  %296 = extractvalue { ptr, i32 } %295, 0
  store ptr %296, ptr %3, align 8
  %297 = extractvalue { ptr, i32 } %295, 1
  store i32 %297, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 36, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %34) #8
  br label %306

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

302:                                              ; preds = %282, %280, %277, %274, %272, %271
  %303 = landingpad { ptr, i32 }
          cleanup
  %304 = extractvalue { ptr, i32 } %303, 0
  store ptr %304, ptr %3, align 8
  %305 = extractvalue { ptr, i32 } %303, 1
  store i32 %305, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %37) #8
  br label %306

306:                                              ; preds = %302, %298, %294
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %33) #8
  br label %307

307:                                              ; preds = %306, %290
  call void @llvm.lifetime.end.p0(i64 88, ptr %33) #8
  br label %332

308:                                              ; preds = %289, %284
  %309 = load ptr, ptr @_funcptr_glViewport, align 8, !tbaa !5
  %310 = getelementptr inbounds %"struct.glm::detail::tvec2", ptr %20, i32 0, i32 0
  %311 = getelementptr inbounds %struct.anon.5, ptr %310, i32 0, i32 0
  %312 = load i32, ptr %311, align 4, !tbaa !13
  %313 = load i32, ptr @g_displayWidth, align 4, !tbaa !11
  %314 = srem i32 %313, 2
  %315 = add nsw i32 %312, %314
  %316 = getelementptr inbounds %"struct.glm::detail::tvec2", ptr %20, i32 0, i32 0
  %317 = getelementptr inbounds %struct.anon.5, ptr %316, i32 0, i32 0
  %318 = load i32, ptr %317, align 4, !tbaa !13
  %319 = getelementptr inbounds %"struct.glm::detail::tvec2", ptr %20, i32 0, i32 0
  %320 = getelementptr inbounds %struct.anon.5, ptr %319, i32 0, i32 1
  %321 = load i32, ptr %320, align 4, !tbaa !13
  invoke void %309(i32 noundef %315, i32 noundef 0, i32 noundef %318, i32 noundef %321)
          to label %322 unwind label %220

322:                                              ; preds = %308
  %323 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  %324 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %325 unwind label %220

325:                                              ; preds = %322
  invoke void @_ZNK9Framework5Scene6RenderERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(8) %323, ptr noundef nonnull align 4 dereferenceable(64) %324)
          to label %326 unwind label %220

326:                                              ; preds = %325
  %327 = load ptr, ptr @_funcptr_glEnable, align 8, !tbaa !5
  invoke void %327(i32 noundef 34383)
          to label %328 unwind label %220

328:                                              ; preds = %326
  invoke void @glutPostRedisplay()
          to label %329 unwind label %220

329:                                              ; preds = %328
  invoke void @glutSwapBuffers()
          to label %330 unwind label %220

330:                                              ; preds = %329
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %1) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %1) #8
  br label %331

331:                                              ; preds = %330, %40
  ret void

332:                                              ; preds = %307, %255, %220, %219, %202
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %333

333:                                              ; preds = %332, %201, %187, %170, %166
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %1) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %1) #8
  br label %334

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare void @glutPostRedisplay() #5

declare void @glutSwapBuffers() #5

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { 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 #5 = { "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 = { 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 #7 = { 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 #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 = !{!7, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = !{!19, !10, i64 28}
!19 = !{!"_ZTSN6glutil8ViewDataE", !20, i64 0, !21, i64 12, !10, i64 28, !10, i64 32}
!20 = !{!"_ZTSN3glm6detail5tvec3IfEE", !7, i64 0}
!21 = !{!"_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 }
%union.anon = type { %struct.anon }
%struct.anon = type { float, float, float }
%"struct.glm::detail::tvec2" = type { %union.anon.2 }
%union.anon.2 = type { %struct.anon.3 }
%struct.anon.3 = type { i32, i32 }
%"struct.glm::detail::tquat" = type { float, float, float, float }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Framework::NodeRef, std::allocator<Framework::NodeRef>>::_Vector_impl" }
%"struct.std::_Vector_base<Framework::NodeRef, std::allocator<Framework::NodeRef>>::_Vector_impl" = type { %"struct.std::_Vector_base<Framework::NodeRef, std::allocator<Framework::NodeRef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Framework::NodeRef, std::allocator<Framework::NodeRef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Framework::Timer" = type { i32, float, i8, i8, float, float }
%"class.glutil::MatrixStack" = type { %"class.std::stack", %"struct.glm::detail::tmat4x4" }
%"class.std::stack" = type { %"class.std::vector.19" }
%"class.std::vector.19" = type { %"struct.std::_Vector_base.20" }
%"struct.std::_Vector_base.20" = type { %"struct.std::_Vector_base<glm::detail::tmat4x4<float>, std::allocator<glm::detail::tmat4x4<float>>>::_Vector_impl" }
%"struct.std::_Vector_base<glm::detail::tmat4x4<float>, std::allocator<glm::detail::tmat4x4<float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<glm::detail::tmat4x4<float>, std::allocator<glm::detail::tmat4x4<float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glm::detail::tmat4x4<float>, std::allocator<glm::detail::tmat4x4<float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.glm::detail::tmat4x4" = type { [4 x %"struct.glm::detail::tvec4"] }
%"struct.glm::detail::tvec4" = type { %union.anon.15 }
%union.anon.15 = type { %struct.anon.16 }
%struct.anon.16 = type { float, float, float, float }
%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.14 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.14 = type { i64, [8 x i8] }
%"class.std::allocator.11" = type { i8 }
%"struct.glm::detail::tmat3x3" = type { [3 x %"struct.glm::detail::tvec3"] }

@g_projectionUniformBuffer = external dso_local local_unnamed_addr global i32, align 4
@g_viewPole = external dso_local global %"class.glutil::ViewPole", align 8
@g_persViewPole = external dso_local global %"class.glutil::ViewPole", align 8
@g_pScene = external dso_local local_unnamed_addr global ptr, align 8
@g_nodes = external dso_local global %"class.std::vector", align 8
@g_timer = external dso_local global %"class.Framework::Timer", align 4
@g_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_spinBarOrient = external dso_local global %"struct.glm::detail::tquat", align 4
@_funcptr_glEnable = external local_unnamed_addr global ptr, align 8
@_funcptr_glDepthMask = external local_unnamed_addr global ptr, align 8
@_funcptr_glBindBuffer = external local_unnamed_addr global ptr, align 8
@_funcptr_glBufferData = external local_unnamed_addr global ptr, align 8
@g_bDrawCameraPos = external dso_local local_unnamed_addr global i8, align 1
@g_bDepthClampProj = 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 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_glViewport = external local_unnamed_addr global ptr, align 8
@_funcptr_glDisable = 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_glUniform4f = external local_unnamed_addr global ptr, align 8
@.str.19 = 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: 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 #1 align 2

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

42:                                               ; preds = %37
  %43 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN6glutil11MatrixStackmLERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(64) %2)
          to label %44 unwind label %140

44:                                               ; preds = %42
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #8
  %45 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  invoke void @_Z11BuildLightsRKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 4 dereferenceable(64) %45)
          to label %46 unwind label %142

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

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

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

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

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

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

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

71:                                               ; preds = %67
  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 4, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 4, 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.end.p0(i64 16, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #8
  %72 = load i32, ptr @g_displayWidth, align 4, !tbaa !11
  %73 = sdiv i32 %72, 2
  store i32 %73, ptr %19, align 4, !tbaa !11
  call void @_ZN3glm6detail5tvec2IiEC2ERKiS4_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) @g_displayHeight)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #8
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %20) #8
  invoke void @_ZN6glutil11MatrixStackC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %20)
          to label %74 unwind label %154

74:                                               ; preds = %71
  %75 = getelementptr inbounds i8, ptr %18, i64 4
  %76 = load <2 x i32>, ptr %18, align 8, !tbaa !13
  %77 = sitofp <2 x i32> %76 to <2 x float>
  %78 = extractelement <2 x float> %77, i64 0
  %79 = extractelement <2 x float> %77, i64 1
  %80 = fdiv float %78, %79
  invoke void @_ZN6glutil11MatrixStack11PerspectiveEffff(ptr noundef nonnull align 8 dereferenceable(88) %20, float noundef 6.000000e+01, float noundef %80, float noundef 1.000000e+00, float noundef 1.000000e+03)
          to label %81 unwind label %156

81:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %21) #8
  invoke void @_ZN15ProjectionBlockC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %21)
          to label %82 unwind label %158

82:                                               ; preds = %81
  %83 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %20)
  %84 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZN3glm6detail7tmat4x4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(64) %21, ptr noundef nonnull align 4 dereferenceable(64) %83)
          to label %85 unwind label %158

85:                                               ; preds = %82
  %86 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  %87 = load i32, ptr @g_projectionUniformBuffer, align 4, !tbaa !11
  invoke void %86(i32 noundef 35345, i32 noundef %87)
          to label %88 unwind label %158

88:                                               ; preds = %85
  %89 = load ptr, ptr @_funcptr_glBufferData, align 8, !tbaa !5
  invoke void %89(i32 noundef 35345, i64 noundef 64, ptr noundef nonnull %21, i32 noundef 35040)
          to label %90 unwind label %158

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

92:                                               ; preds = %90
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %21) #8
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %20) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %20) #8
  %93 = load ptr, ptr @_funcptr_glViewport, align 8, !tbaa !5
  %94 = load i32, ptr %18, align 8, !tbaa !13
  %95 = load i32, ptr %75, align 4, !tbaa !13
  invoke void %93(i32 noundef 0, i32 noundef 0, i32 noundef %94, i32 noundef %95)
          to label %96 unwind label %162

96:                                               ; preds = %92
  %97 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  %98 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  invoke void @_ZNK9Framework5Scene6RenderERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(8) %97, ptr noundef nonnull align 4 dereferenceable(64) %98)
          to label %99 unwind label %162

99:                                               ; preds = %96
  %100 = load i8, ptr @g_bDrawCameraPos, align 1, !tbaa !14, !range !16, !noundef !17
  %101 = trunc nuw i8 %100 to i1
  br i1 %101, label %102, label %182

102:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #8
  invoke void @_ZN6glutil9PushStackC2ERNS_11MatrixStackE(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %103 unwind label %164

103:                                              ; preds = %102
  invoke void @_ZN6glutil11MatrixStack11SetIdentityEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
          to label %104 unwind label %166

104:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %23) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #8
  store float 0.000000e+00, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #8
  store float 0.000000e+00, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #8
  %105 = call noundef nonnull align 4 dereferenceable(36) ptr @_ZNK6glutil8ViewPole7GetViewEv(ptr noundef nonnull align 8 dereferenceable(148) @g_viewPole)
  %106 = getelementptr inbounds i8, ptr %105, i64 28
  %107 = load float, ptr %106, align 4, !tbaa !18
  %108 = fneg float %107
  store float %108, ptr %26, align 4, !tbaa !9
  call void @_ZN3glm6detail5tvec3IfEC2ERKfS4_S4_(ptr noundef nonnull align 4 dereferenceable(12) %23, ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 4 dereferenceable(4) %26)
  invoke void @_ZN6glutil11MatrixStack9TranslateERKN3glm6detail5tvec3IfEE(ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 4 dereferenceable(12) %23)
          to label %109 unwind label %168

109:                                              ; preds = %104
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #8
  invoke void @_ZN6glutil11MatrixStack5ScaleEf(ptr noundef nonnull align 8 dereferenceable(88) %1, float noundef 5.000000e-01)
          to label %110 unwind label %166

110:                                              ; preds = %109
  %111 = load ptr, ptr @_funcptr_glDisable, align 8, !tbaa !5
  invoke void %111(i32 noundef 2929)
          to label %112 unwind label %166

112:                                              ; preds = %110
  %113 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %113(i8 noundef zeroext 0)
          to label %114 unwind label %166

114:                                              ; preds = %112
  %115 = load ptr, ptr @_funcptr_glUseProgram, align 8, !tbaa !5
  %116 = load i32, ptr @g_unlitProg, align 4, !tbaa !11
  invoke void %115(i32 noundef %116)
          to label %117 unwind label %166

117:                                              ; preds = %114
  %118 = load ptr, ptr @_funcptr_glUniformMatrix4fv, align 8, !tbaa !5
  %119 = load i32, ptr @g_unlitModelToCameraMatrixUnif, align 4, !tbaa !11
  %120 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  %121 = invoke noundef ptr @_ZN3glm9value_ptrIfEEPKT_RKNS_6detail7tmat4x4IS1_EE(ptr noundef nonnull align 4 dereferenceable(64) %120)
          to label %122 unwind label %166

122:                                              ; preds = %117
  invoke void %118(i32 noundef %119, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %121)
          to label %123 unwind label %166

123:                                              ; preds = %122
  %124 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %125 = load i32, ptr @g_unlitObjectColorUnif, align 4, !tbaa !11
  invoke void %124(i32 noundef %125, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 2.500000e-01, float noundef 1.000000e+00)
          to label %126 unwind label %166

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

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

129:                                              ; preds = %128
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %28) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #8
  %130 = load ptr, ptr @_funcptr_glDepthMask, align 8, !tbaa !5
  invoke void %130(i8 noundef zeroext 1)
          to label %131 unwind label %166

131:                                              ; preds = %129
  %132 = load ptr, ptr @_funcptr_glEnable, align 8, !tbaa !5
  invoke void %132(i32 noundef 2929)
          to label %133 unwind label %166

133:                                              ; preds = %131
  %134 = load ptr, ptr @_funcptr_glUniform4f, align 8, !tbaa !5
  %135 = load i32, ptr @g_unlitObjectColorUnif, align 4, !tbaa !11
  invoke void %134(i32 noundef %135, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %136 unwind label %166

136:                                              ; preds = %133
  %137 = load ptr, ptr @g_pSphereMesh, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %29) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %30) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %138 unwind label %175

138:                                              ; preds = %136
  invoke void @_ZNK9Framework4Mesh6RenderERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(8) %137, ptr noundef nonnull align 8 dereferenceable(32) %29)
          to label %139 unwind label %177

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

140:                                              ; preds = %42, %37
  %141 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #8
  br label %236

142:                                              ; preds = %44
  %143 = landingpad { ptr, i32 }
          cleanup
  br label %236

144:                                              ; preds = %46
  %145 = landingpad { ptr, i32 }
          cleanup
  br label %148

146:                                              ; preds = %52, %49
  %147 = landingpad { ptr, i32 }
          cleanup
  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 4, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #8
  br label %148

148:                                              ; preds = %146, %144
  %.pn = phi { ptr, i32 } [ %147, %146 ], [ %145, %144 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #8
  br label %236

149:                                              ; preds = %56
  %150 = landingpad { ptr, i32 }
          cleanup
  br label %153

151:                                              ; preds = %67, %62, %59
  %152 = landingpad { ptr, i32 }
          cleanup
  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 4, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %14) #8
  br label %153

153:                                              ; preds = %151, %149
  %.pn14 = phi { ptr, i32 } [ %152, %151 ], [ %150, %149 ]
  call void @llvm.lifetime.end.p0(i64 4, 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.end.p0(i64 16, ptr nonnull %10) #8
  br label %236

154:                                              ; preds = %71
  %155 = landingpad { ptr, i32 }
          cleanup
  br label %161

156:                                              ; preds = %74
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %160

158:                                              ; preds = %90, %88, %85, %82, %81
  %159 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %21) #8
  br label %160

160:                                              ; preds = %158, %156
  %.pn16 = phi { ptr, i32 } [ %159, %158 ], [ %157, %156 ]
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %20) #8
  br label %161

161:                                              ; preds = %160, %154
  %.pn16.pn = phi { ptr, i32 } [ %.pn16, %160 ], [ %155, %154 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %20) #8
  br label %235

162:                                              ; preds = %232, %231, %229, %226, %219, %207, %96, %92
  %163 = landingpad { ptr, i32 }
          cleanup
  br label %235

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

166:                                              ; preds = %133, %131, %129, %123, %122, %117, %114, %112, %110, %109, %103
  %167 = landingpad { ptr, i32 }
          cleanup
  br label %180

168:                                              ; preds = %104
  %169 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #8
  br label %180

170:                                              ; preds = %126
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %174

172:                                              ; preds = %128
  %173 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #8
  br label %174

174:                                              ; preds = %172, %170
  %.pn19 = phi { ptr, i32 } [ %173, %172 ], [ %171, %170 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %28) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #8
  br label %180

175:                                              ; preds = %136
  %176 = landingpad { ptr, i32 }
          cleanup
  br label %179

177:                                              ; preds = %138
  %178 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #8
  br label %179

179:                                              ; preds = %177, %175
  %.pn21 = phi { ptr, i32 } [ %178, %177 ], [ %176, %175 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #8
  br label %180

180:                                              ; preds = %179, %174, %168, %166
  %.pn21.pn = phi { ptr, i32 } [ %.pn21, %179 ], [ %167, %166 ], [ %.pn19, %174 ], [ %169, %168 ]
  call void @_ZN6glutil9PushStackD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  br label %181

181:                                              ; preds = %180, %164
  %.pn21.pn.pn = phi { ptr, i32 } [ %.pn21.pn, %180 ], [ %165, %164 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #8
  br label %235

182:                                              ; preds = %139, %99
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %31) #8
  invoke void @_ZN6glutil11MatrixStackC2Ev(ptr noundef nonnull align 8 dereferenceable(88) %31)
          to label %183 unwind label %209

183:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %32) #8
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %33) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %34) #8
  invoke void @_ZNK6glutil8ViewPole10CalcMatrixEv(ptr dead_on_unwind nonnull writable sret(%"struct.glm::detail::tmat4x4") align 4 %34, ptr noundef nonnull align 8 dereferenceable(148) @g_persViewPole)
          to label %184 unwind label %211

184:                                              ; preds = %183
  invoke void @_ZN3glm6detail7tmat3x3IfEC2ERKNS0_7tmat4x4IfEE(ptr noundef nonnull align 4 dereferenceable(36) %33, ptr noundef nonnull align 4 dereferenceable(64) %34)
          to label %185 unwind label %211

185:                                              ; preds = %184
  invoke void @_ZN3glm6detail7tmat4x4IfEC2ERKNS0_7tmat3x3IfEE(ptr noundef nonnull align 4 dereferenceable(64) %32, ptr noundef nonnull align 4 dereferenceable(36) %33)
          to label %186 unwind label %211

186:                                              ; preds = %185
  invoke void @_ZN6glutil11MatrixStack11ApplyMatrixERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(88) %31, ptr noundef nonnull align 4 dereferenceable(64) %32)
          to label %187 unwind label %211

187:                                              ; preds = %186
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %34) #8
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %33) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %32) #8
  %188 = load <2 x i32>, ptr %18, align 8, !tbaa !13
  %189 = sitofp <2 x i32> %188 to <2 x float>
  %190 = extractelement <2 x float> %189, i64 0
  %191 = extractelement <2 x float> %189, i64 1
  %192 = fdiv float %190, %191
  invoke void @_ZN6glutil11MatrixStack11PerspectiveEffff(ptr noundef nonnull align 8 dereferenceable(88) %31, float noundef 6.000000e+01, float noundef %192, float noundef 1.000000e+00, float noundef 1.000000e+03)
          to label %193 unwind label %213

193:                                              ; preds = %187
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %35) #8
  invoke void @_ZN15ProjectionBlockC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %35)
          to label %194 unwind label %215

194:                                              ; preds = %193
  %195 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %31)
  %196 = invoke noundef nonnull align 4 dereferenceable(64) ptr @_ZN3glm6detail7tmat4x4IfEaSERKS2_(ptr noundef nonnull align 4 dereferenceable(64) %35, ptr noundef nonnull align 4 dereferenceable(64) %195)
          to label %197 unwind label %215

197:                                              ; preds = %194
  %198 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  %199 = load i32, ptr @g_projectionUniformBuffer, align 4, !tbaa !11
  invoke void %198(i32 noundef 35345, i32 noundef %199)
          to label %200 unwind label %215

200:                                              ; preds = %197
  %201 = load ptr, ptr @_funcptr_glBufferData, align 8, !tbaa !5
  invoke void %201(i32 noundef 35345, i64 noundef 64, ptr noundef nonnull %35, i32 noundef 35040)
          to label %202 unwind label %215

202:                                              ; preds = %200
  %203 = load ptr, ptr @_funcptr_glBindBuffer, align 8, !tbaa !5
  invoke void %203(i32 noundef 35345, i32 noundef 0)
          to label %204 unwind label %215

204:                                              ; preds = %202
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %35) #8
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %31) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %31) #8
  %205 = load i8, ptr @g_bDepthClampProj, align 1, !tbaa !14, !range !16, !noundef !17
  %206 = trunc nuw i8 %205 to i1
  br i1 %206, label %219, label %207

207:                                              ; preds = %204
  %208 = load ptr, ptr @_funcptr_glDisable, align 8, !tbaa !5
  invoke void %208(i32 noundef 34383)
          to label %219 unwind label %162

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

211:                                              ; preds = %186, %185, %184, %183
  %212 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %34) #8
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %33) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %32) #8
  br label %217

213:                                              ; preds = %187
  %214 = landingpad { ptr, i32 }
          cleanup
  br label %217

215:                                              ; preds = %202, %200, %197, %194, %193
  %216 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %35) #8
  br label %217

217:                                              ; preds = %215, %213, %211
  %.pn25 = phi { ptr, i32 } [ %216, %215 ], [ %214, %213 ], [ %212, %211 ]
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %31) #8
  br label %218

218:                                              ; preds = %217, %209
  %.pn25.pn = phi { ptr, i32 } [ %.pn25, %217 ], [ %210, %209 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %31) #8
  br label %235

219:                                              ; preds = %207, %204
  %220 = load ptr, ptr @_funcptr_glViewport, align 8, !tbaa !5
  %221 = load i32, ptr %18, align 8, !tbaa !13
  %222 = load i32, ptr @g_displayWidth, align 4, !tbaa !11
  %223 = srem i32 %222, 2
  %224 = add nsw i32 %223, %221
  %225 = load i32, ptr %75, align 4, !tbaa !13
  invoke void %220(i32 noundef %224, i32 noundef 0, i32 noundef %221, i32 noundef %225)
          to label %226 unwind label %162

226:                                              ; preds = %219
  %227 = load ptr, ptr @g_pScene, align 8, !tbaa !5
  %228 = call noundef nonnull align 4 dereferenceable(64) ptr @_ZNK6glutil11MatrixStack3TopEv(ptr noundef nonnull align 8 dereferenceable(88) %1)
  invoke void @_ZNK9Framework5Scene6RenderERKN3glm6detail7tmat4x4IfEE(ptr noundef nonnull align 8 dereferenceable(8) %227, ptr noundef nonnull align 4 dereferenceable(64) %228)
          to label %229 unwind label %162

229:                                              ; preds = %226
  %230 = load ptr, ptr @_funcptr_glEnable, align 8, !tbaa !5
  invoke void %230(i32 noundef 34383)
          to label %231 unwind label %162

231:                                              ; preds = %229
  invoke void @glutPostRedisplay()
          to label %232 unwind label %162

232:                                              ; preds = %231
  invoke void @glutSwapBuffers()
          to label %233 unwind label %162

233:                                              ; preds = %232
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %1) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %1) #8
  br label %234

234:                                              ; preds = %0, %233
  ret void

235:                                              ; preds = %218, %181, %162, %161
  %.pn28 = phi { ptr, i32 } [ %163, %162 ], [ %.pn25.pn, %218 ], [ %.pn21.pn.pn, %181 ], [ %.pn16.pn, %161 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  br label %236

236:                                              ; preds = %235, %153, %148, %142, %140
  %.pn28.pn = phi { ptr, i32 } [ %.pn28, %235 ], [ %.pn14, %153 ], [ %.pn, %148 ], [ %143, %142 ], [ %141, %140 ]
  call void @_ZN6glutil11MatrixStackD2Ev(ptr noundef nonnull align 8 dereferenceable(88) %1) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %1) #8
  resume { ptr, i32 } %.pn28.pn
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare void @glutPostRedisplay() local_unnamed_addr #5

declare void @glutSwapBuffers() local_unnamed_addr #5

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { 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 #5 = { "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 = { 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 #7 = { 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 #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 = !{!7, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = !{!19, !10, i64 28}
!19 = !{!"_ZTSN6glutil8ViewDataE", !20, i64 0, !21, i64 12, !10, i64 28, !10, i64 32}
!20 = !{!"_ZTSN3glm6detail5tvec3IfEE", !7, i64 0}
!21 = !{!"_ZTSN3glm6detail5tquatIfEE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}


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