; LLVM IR from drohmer/cgp :: examples/empty_3D_scene/src/main.ll (Z19display_gui_defaultv)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.scene_structure = type <{ %"struct.cgp::camera_controller_orbit_euler", %"struct.cgp::camera_projection_perspective", %"struct.cgp::window_structure", %"struct.cgp::mesh_drawable", %struct.environment_structure, %"struct.cgp::input_devices", %struct.gui_parameters, [6 x i8] }>
%"struct.cgp::camera_controller_orbit_euler" = type { %"struct.cgp::camera_controller_generic_base", %"struct.cgp::camera_orbit_euler" }
%"struct.cgp::camera_controller_generic_base" = type { i8, ptr, ptr }
%"struct.cgp::camera_orbit_euler" = type { %"struct.cgp::camera_generic_base", float, float, float, %"struct.cgp::numarray_stack", %"struct.cgp::numarray_stack", float }
%"struct.cgp::camera_generic_base" = type { ptr }
%"struct.cgp::numarray_stack" = type { float, float, float }
%"struct.cgp::camera_projection_perspective" = type { float, float, float, float }
%"struct.cgp::window_structure" = type <{ ptr, ptr, i32, i32, i32, i32, i32, i32, i8, [7 x i8] }>
%"struct.cgp::mesh_drawable" = type <{ %"struct.cgp::opengl_shader_structure", %"struct.cgp::opengl_texture_image_structure", %"class.std::map", %"struct.cgp::opengl_vbo_structure", %"struct.cgp::opengl_vbo_structure", %"struct.cgp::opengl_vbo_structure", %"struct.cgp::opengl_vbo_structure", %"class.std::vector", %"struct.cgp::opengl_ebo_structure", i32, %"struct.cgp::affine", %"struct.cgp::affine_rts", %"struct.cgp::matrix_stack", %"struct.cgp::material_mesh_drawable_phong", [4 x i8] }>
%"struct.cgp::opengl_shader_structure" = type { i32 }
%"struct.cgp::opengl_texture_image_structure" = type { i32, i32, i32, i32, i32 }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::opengl_texture_image_structure>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::opengl_texture_image_structure>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::opengl_texture_image_structure>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::opengl_texture_image_structure>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.cgp::opengl_vbo_structure" = type { %"struct.cgp::opengl_gpu_buffer", i32 }
%"struct.cgp::opengl_gpu_buffer" = type { i32, i32, i32, %"struct.cgp::opengl_gpu_buffer_details" }
%"struct.cgp::opengl_gpu_buffer_details" = type { i32, i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<cgp::opengl_vbo_structure, std::allocator<cgp::opengl_vbo_structure>>::_Vector_impl" }
%"struct.std::_Vector_base<cgp::opengl_vbo_structure, std::allocator<cgp::opengl_vbo_structure>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgp::opengl_vbo_structure, std::allocator<cgp::opengl_vbo_structure>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgp::opengl_vbo_structure, std::allocator<cgp::opengl_vbo_structure>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.cgp::opengl_ebo_structure" = type { %"struct.cgp::opengl_gpu_buffer" }
%"struct.cgp::affine" = type { %"struct.cgp::rotation_transform", %"struct.cgp::numarray_stack", float, %"struct.cgp::numarray_stack" }
%"struct.cgp::rotation_transform" = type { %"struct.cgp::quaternion" }
%"struct.cgp::quaternion" = type { %"struct.cgp::numarray_stack.3" }
%"struct.cgp::numarray_stack.3" = type { float, float, float, float }
%"struct.cgp::affine_rts" = type { %"struct.cgp::rotation_transform", %"struct.cgp::numarray_stack", float }
%"struct.cgp::matrix_stack" = type { %"struct.cgp::numarray_stack.4" }
%"struct.cgp::numarray_stack.4" = type { %"struct.cgp::numarray_stack.3", %"struct.cgp::numarray_stack.3", %"struct.cgp::numarray_stack.3", %"struct.cgp::numarray_stack.3" }
%"struct.cgp::material_mesh_drawable_phong" = type <{ %"struct.cgp::numarray_stack", float, %"struct.cgp::phong_parameters", %"struct.cgp::texture_settings_parameters", i8 }>
%"struct.cgp::phong_parameters" = type { float, float, float, float }
%"struct.cgp::texture_settings_parameters" = type { i8, i8, i8 }
%struct.environment_structure = type { %"struct.cgp::environment_generic_structure", %"struct.cgp::numarray_stack", %"struct.cgp::matrix_stack", %"struct.cgp::matrix_stack", %"struct.cgp::numarray_stack", %"struct.cgp::uniform_generic_structure" }
%"struct.cgp::environment_generic_structure" = type { ptr }
%"struct.cgp::uniform_generic_structure" = type { %"class.std::map.5", %"class.std::map.10", %"class.std::map.15", %"class.std::map.20", %"class.std::map.25", %"class.std::map.30", %"class.std::map.35", %"class.std::map.40" }
%"class.std::map.5" = type { %"class.std::_Rb_tree.6" }
%"class.std::_Rb_tree.6" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.10" = type { %"class.std::_Rb_tree.11" }
%"class.std::_Rb_tree.11" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, float>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, float>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, float>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, float>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.15" = type { %"class.std::_Rb_tree.16" }
%"class.std::_Rb_tree.16" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::numarray_stack<float, 2>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::numarray_stack<float, 2>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::numarray_stack<float, 2>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::numarray_stack<float, 2>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.20" = type { %"class.std::_Rb_tree.21" }
%"class.std::_Rb_tree.21" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::numarray_stack<float, 3>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::numarray_stack<float, 3>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::numarray_stack<float, 3>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::numarray_stack<float, 3>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.25" = type { %"class.std::_Rb_tree.26" }
%"class.std::_Rb_tree.26" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::numarray_stack<float, 4>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::numarray_stack<float, 4>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::numarray_stack<float, 4>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::numarray_stack<float, 4>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.30" = type { %"class.std::_Rb_tree.31" }
%"class.std::_Rb_tree.31" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::matrix_stack<float, 2, 2>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::matrix_stack<float, 2, 2>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::matrix_stack<float, 2, 2>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::matrix_stack<float, 2, 2>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.35" = type { %"class.std::_Rb_tree.36" }
%"class.std::_Rb_tree.36" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::matrix_stack<float, 3, 3>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::matrix_stack<float, 3, 3>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::matrix_stack<float, 3, 3>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::matrix_stack<float, 3, 3>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.40" = type { %"class.std::_Rb_tree.41" }
%"class.std::_Rb_tree.41" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::matrix_stack<float, 4, 4>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::matrix_stack<float, 4, 4>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::matrix_stack<float, 4, 4>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::matrix_stack<float, 4, 4>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.cgp::input_devices" = type <{ %"struct.cgp::inputs_keyboard_parameters", %"struct.cgp::inputs_mouse_parameters", float, [4 x i8] }>
%"struct.cgp::inputs_keyboard_parameters" = type { i8, i8, i8, i8, i8, i8, %"struct.cgp::inputs_keyboard_last_action_parameter", %"class.std::set" }
%"struct.cgp::inputs_keyboard_last_action_parameter" = type { i32, i32 }
%"class.std::set" = type { %"class.std::_Rb_tree.45" }
%"class.std::_Rb_tree.45" = type { %"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.cgp::inputs_mouse_parameters" = type <{ %"struct.cgp::inputs_mouse_cursor_position_parameters", %"struct.cgp::inputs_mouse_cursor_click_parameters", float, i8, [3 x i8] }>
%"struct.cgp::inputs_mouse_cursor_position_parameters" = type { %"struct.cgp::numarray_stack.50", %"struct.cgp::numarray_stack.50" }
%"struct.cgp::numarray_stack.50" = type { float, float }
%"struct.cgp::inputs_mouse_cursor_click_parameters" = type { i8, i8, i32 }
%struct.gui_parameters = type { i8, i8 }
%"class.cgp::timer_fps" = type { %"class.cgp::timer_event_periodic", i32, i32 }
%"class.cgp::timer_event_periodic" = type { %"class.cgp::timer_basic", i8, float, float }
%"class.cgp::timer_basic" = type { float, float, i8, float }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@scene = external dso_local global %struct.scene_structure, align 8
@fps_record = external dso_local global %"class.cgp::timer_fps", align 4
@_ZN7project12fps_limitingE = external global i8, align 1
@_ZN7project7fps_maxE = external global float, align 4
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@_ZN7project9gui_scaleE = external global float, align 4
@.str.17 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [20 x i8], align 1
@_ZN7project5vsyncE = external global i8, align 1
@.str.41 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [3 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) #2

declare void @_ZN3cgp3strB5cxx11Ei(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, i32 noundef) #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z19display_gui_defaultv() #4 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::__cxx11::basic_string", align 8
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i8, align 1
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %1) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %2) #5
  %12 = load i32, ptr getelementptr inbounds (%"class.cgp::timer_fps", ptr @fps_record, i32 0, i32 1), align 4, !tbaa !5
  call void @_ZN3cgp3strB5cxx11Ei(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %2, i32 noundef %12)
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %1, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef @.str.9)
          to label %13 unwind label %19

13:                                               ; preds = %0
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #5
  %14 = load i8, ptr getelementptr inbounds (%"struct.cgp::inputs_keyboard_parameters", ptr getelementptr inbounds (%struct.scene_structure, ptr @scene, i32 0, i32 5), i32 0, i32 1), align 1, !tbaa !14, !range !95, !noundef !96
  %15 = trunc i8 %14 to i1
  br i1 %15, label %16, label %27

16:                                               ; preds = %13
  %17 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef @.str.31)
          to label %18 unwind label %23

18:                                               ; preds = %16
  br label %27

19:                                               ; preds = %0
  %20 = landingpad { ptr, i32 }
          cleanup
  %21 = extractvalue { ptr, i32 } %20, 0
  store ptr %21, ptr %3, align 8
  %22 = extractvalue { ptr, i32 } %20, 1
  store i32 %22, ptr %4, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #5
  br label %132

23:                                               ; preds = %38, %35, %33, %30, %16
  %24 = landingpad { ptr, i32 }
          cleanup
  %25 = extractvalue { ptr, i32 } %24, 0
  store ptr %25, ptr %3, align 8
  %26 = extractvalue { ptr, i32 } %24, 1
  store i32 %26, ptr %4, align 4
  br label %131

27:                                               ; preds = %18, %13
  %28 = load i8, ptr getelementptr inbounds (%struct.scene_structure, ptr @scene, i32 0, i32 5), align 8, !tbaa !97, !range !95, !noundef !96
  %29 = trunc i8 %28 to i1
  br i1 %29, label %30, label %33

30:                                               ; preds = %27
  %31 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef @.str.32)
          to label %32 unwind label %23

32:                                               ; preds = %30
  br label %33

33:                                               ; preds = %32, %27
  %34 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #5
  invoke void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef %34, ptr noundef @.str.33)
          to label %35 unwind label %23

35:                                               ; preds = %33
  %36 = invoke noundef zeroext i1 @_ZN5ImGui16CollapsingHeaderEPKci(ptr noundef @.str.34, i32 noundef 0)
          to label %37 unwind label %23

37:                                               ; preds = %35
  br i1 %36, label %38, label %130

38:                                               ; preds = %37
  invoke void @_ZN5ImGui6IndentEf(float noundef 0.000000e+00)
          to label %39 unwind label %23

39:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #5
  %40 = invoke noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef @.str.35, ptr noundef getelementptr inbounds (%"struct.cgp::window_structure", ptr getelementptr inbounds (%struct.scene_structure, ptr @scene, i32 0, i32 2), i32 0, i32 8))
          to label %41 unwind label %50

41:                                               ; preds = %39
  %42 = zext i1 %40 to i8
  store i8 %42, ptr %5, align 1, !tbaa !98
  %43 = load i8, ptr %5, align 1, !tbaa !98, !range !95, !noundef !96
  %44 = trunc i8 %43 to i1
  br i1 %44, label %45, label %57

45:                                               ; preds = %41
  %46 = load i8, ptr getelementptr inbounds (%"struct.cgp::window_structure", ptr getelementptr inbounds (%struct.scene_structure, ptr @scene, i32 0, i32 2), i32 0, i32 8), align 8, !tbaa !99, !range !95, !noundef !96
  %47 = trunc i8 %46 to i1
  br i1 %47, label %48, label %54

48:                                               ; preds = %45
  invoke void @_ZN3cgp16window_structure15set_full_screenEv(ptr noundef nonnull align 8 dereferenceable(41) getelementptr inbounds (%struct.scene_structure, ptr @scene, i32 0, i32 2))
          to label %49 unwind label %50

49:                                               ; preds = %48
  br label %56

50:                                               ; preds = %77, %75, %67, %64, %59, %57, %54, %48, %39
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %3, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %4, align 4
  br label %129

54:                                               ; preds = %45
  invoke void @_ZN3cgp16window_structure19set_windowed_screenEv(ptr noundef nonnull align 8 dereferenceable(41) getelementptr inbounds (%struct.scene_structure, ptr @scene, i32 0, i32 2))
          to label %55 unwind label %50

55:                                               ; preds = %54
  br label %56

56:                                               ; preds = %55, %49
  br label %57

57:                                               ; preds = %56, %41
  %58 = invoke noundef zeroext i1 @_ZN5ImGui11SliderFloatEPKcPfffS1_f(ptr noundef @.str.36, ptr noundef @_ZN7project9gui_scaleE, float noundef 5.000000e-01, float noundef 2.500000e+00, ptr noundef @.str.37, float noundef 1.000000e+00)
          to label %59 unwind label %50

59:                                               ; preds = %57
  %60 = invoke noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef @.str.38, ptr noundef @_ZN7project12fps_limitingE)
          to label %61 unwind label %50

61:                                               ; preds = %59
  %62 = load i8, ptr @_ZN7project12fps_limitingE, align 1, !tbaa !98, !range !95, !noundef !96
  %63 = trunc i8 %62 to i1
  br i1 %63, label %64, label %67

64:                                               ; preds = %61
  %65 = invoke noundef zeroext i1 @_ZN5ImGui11SliderFloatEPKcPfffS1_f(ptr noundef @.str.39, ptr noundef @_ZN7project7fps_maxE, float noundef 1.000000e+01, float noundef 2.500000e+02, ptr noundef @.str.37, float noundef 1.000000e+00)
          to label %66 unwind label %50

66:                                               ; preds = %64
  br label %67

67:                                               ; preds = %66, %61
  %68 = invoke noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef @.str.40, ptr noundef @_ZN7project5vsyncE)
          to label %69 unwind label %50

69:                                               ; preds = %67
  br i1 %68, label %70, label %80

70:                                               ; preds = %69
  %71 = load i8, ptr @_ZN7project5vsyncE, align 1, !tbaa !98, !range !95, !noundef !96
  %72 = trunc i8 %71 to i1
  %73 = zext i1 %72 to i32
  %74 = icmp eq i32 %73, 1
  br i1 %74, label %75, label %77

75:                                               ; preds = %70
  invoke void @glfwSwapInterval(i32 noundef 1)
          to label %76 unwind label %50

76:                                               ; preds = %75
  br label %79

77:                                               ; preds = %70
  invoke void @glfwSwapInterval(i32 noundef 0)
          to label %78 unwind label %50

78:                                               ; preds = %77
  br label %79

79:                                               ; preds = %78, %76
  br label %80

80:                                               ; preds = %79, %69
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #5
  %81 = load i32, ptr getelementptr inbounds (%"struct.cgp::window_structure", ptr getelementptr inbounds (%struct.scene_structure, ptr @scene, i32 0, i32 2), i32 0, i32 4), align 8, !tbaa !100
  invoke void @_ZN3cgp3strB5cxx11Ei(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %10, i32 noundef %81)
          to label %82 unwind label %95

82:                                               ; preds = %80
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %9, ptr noundef @.str.41, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %83 unwind label %99

83:                                               ; preds = %82
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef @.str.17)
          to label %84 unwind label %103

84:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #5
  %85 = load i32, ptr getelementptr inbounds (%"struct.cgp::window_structure", ptr getelementptr inbounds (%struct.scene_structure, ptr @scene, i32 0, i32 2), i32 0, i32 5), align 4, !tbaa !101
  invoke void @_ZN3cgp3strB5cxx11Ei(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %11, i32 noundef %85)
          to label %86 unwind label %107

86:                                               ; preds = %84
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %7, ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %87 unwind label %111

87:                                               ; preds = %86
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %6, ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef @.str.42)
          to label %88 unwind label %115

88:                                               ; preds = %87
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #5
  %89 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  invoke void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef %89, ptr noundef @.str.33)
          to label %90 unwind label %124

90:                                               ; preds = %88
  invoke void @_ZN5ImGui8UnindentEf(float noundef 0.000000e+00)
          to label %91 unwind label %124

91:                                               ; preds = %90
  invoke void @_ZN5ImGui7SpacingEv()
          to label %92 unwind label %124

92:                                               ; preds = %91
  invoke void @_ZN5ImGui9SeparatorEv()
          to label %93 unwind label %124

93:                                               ; preds = %92
  invoke void @_ZN5ImGui7SpacingEv()
          to label %94 unwind label %124

94:                                               ; preds = %93
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #5
  br label %130

95:                                               ; preds = %80
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %3, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %4, align 4
  br label %123

99:                                               ; preds = %82
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %3, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %4, align 4
  br label %122

103:                                              ; preds = %83
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %3, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %4, align 4
  br label %121

107:                                              ; preds = %84
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %3, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %4, align 4
  br label %120

111:                                              ; preds = %86
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %3, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %4, align 4
  br label %119

115:                                              ; preds = %87
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %3, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %4, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  br label %119

119:                                              ; preds = %115, %111
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  br label %120

120:                                              ; preds = %119, %107
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  br label %121

121:                                              ; preds = %120, %103
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #5
  br label %122

122:                                              ; preds = %121, %99
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  br label %123

123:                                              ; preds = %122, %95
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #5
  br label %128

124:                                              ; preds = %93, %92, %91, %90, %88
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %3, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %4, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  br label %128

128:                                              ; preds = %124, %123
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #5
  br label %129

129:                                              ; preds = %128, %50
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #5
  br label %131

130:                                              ; preds = %94, %37
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %1) #5
  ret void

131:                                              ; preds = %129, %23
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #5
  br label %132

132:                                              ; preds = %131, %19
  call void @llvm.lifetime.end.p0(i64 32, ptr %1) #5
  br label %133

133:                                              ; preds = %132
  %134 = load ptr, ptr %3, align 8
  %135 = load i32, ptr %4, align 4
  %136 = insertvalue { ptr, i32 } poison, ptr %134, 0
  %137 = insertvalue { ptr, i32 } %136, i32 %135, 1
  resume { ptr, i32 } %137
}

declare void @_ZN3cgp16window_structure15set_full_screenEv(ptr noundef nonnull align 8 dereferenceable(41)) #3

declare void @_ZN3cgp16window_structure19set_windowed_screenEv(ptr noundef nonnull align 8 dereferenceable(41)) #3

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #4 align 2

declare void @_ZN5ImGui4TextEPKcz(ptr noundef, ...) #3

declare noundef zeroext i1 @_ZN5ImGui16CollapsingHeaderEPKci(ptr noundef, i32 noundef) #3

declare void @_ZN5ImGui6IndentEf(float noundef) #3

declare noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef, ptr noundef) #3

declare noundef zeroext i1 @_ZN5ImGui11SliderFloatEPKcPfffS1_f(ptr noundef, ptr noundef, float noundef, float noundef, ptr noundef, float noundef) #3

declare void @glfwSwapInterval(i32 noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #2

declare void @_ZN5ImGui8UnindentEf(float noundef) #3

declare void @_ZN5ImGui7SpacingEv() #3

declare void @_ZN5ImGui9SeparatorEv() #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { "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"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !13, i64 28}
!6 = !{!"_ZTSN3cgp9timer_fpsE", !7, i64 0, !13, i64 28, !13, i64 32}
!7 = !{!"_ZTSN3cgp20timer_event_periodicE", !8, i64 0, !12, i64 16, !9, i64 20, !9, i64 24}
!8 = !{!"_ZTSN3cgp11timer_basicE", !9, i64 0, !9, i64 4, !12, i64 8, !9, i64 12}
!9 = !{!"float", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"bool", !10, i64 0}
!13 = !{!"int", !10, i64 0}
!14 = !{!15, !12, i64 1097}
!15 = !{!"_ZTS15scene_structure", !16, i64 0, !22, i64 72, !23, i64 88, !24, i64 136, !54, i64 552, !81, i64 1096, !94, i64 1200}
!16 = !{!"_ZTSN3cgp29camera_controller_orbit_eulerE", !17, i64 0, !19, i64 24}
!17 = !{!"_ZTSN3cgp30camera_controller_generic_baseE", !12, i64 0, !18, i64 8, !18, i64 16}
!18 = !{!"any pointer", !10, i64 0}
!19 = !{!"_ZTSN3cgp18camera_orbit_eulerE", !20, i64 0, !9, i64 8, !9, i64 12, !9, i64 16, !21, i64 20, !21, i64 32, !9, i64 44}
!20 = !{!"_ZTSN3cgp19camera_generic_baseE"}
!21 = !{!"_ZTSN3cgp14numarray_stackIfLi3EEE", !9, i64 0, !9, i64 4, !9, i64 8}
!22 = !{!"_ZTSN3cgp29camera_projection_perspectiveE", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12}
!23 = !{!"_ZTSN3cgp16window_structureE", !18, i64 0, !18, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !12, i64 40}
!24 = !{!"_ZTSN3cgp13mesh_drawableE", !25, i64 0, !26, i64 4, !27, i64 24, !36, i64 72, !36, i64 100, !36, i64 128, !36, i64 156, !39, i64 184, !43, i64 208, !13, i64 232, !44, i64 236, !48, i64 280, !49, i64 312, !51, i64 376}
!25 = !{!"_ZTSN3cgp23opengl_shader_structureE", !13, i64 0}
!26 = !{!"_ZTSN3cgp30opengl_texture_image_structureE", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16}
!27 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3cgp30opengl_texture_image_structureESt4lessIS5_ESaISt4pairIKS5_S7_EEE", !28, i64 0}
!28 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp30opengl_texture_image_structureEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE", !29, i64 0}
!29 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp30opengl_texture_image_structureEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE13_Rb_tree_implISE_Lb1EEE", !30, i64 0, !32, i64 8}
!30 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !31, i64 0}
!31 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!32 = !{!"_ZTSSt15_Rb_tree_header", !33, i64 0, !35, i64 32}
!33 = !{!"_ZTSSt18_Rb_tree_node_base", !34, i64 0, !18, i64 8, !18, i64 16, !18, i64 24}
!34 = !{!"_ZTSSt14_Rb_tree_color", !10, i64 0}
!35 = !{!"long", !10, i64 0}
!36 = !{!"_ZTSN3cgp20opengl_vbo_structureE", !37, i64 0, !13, i64 24}
!37 = !{!"_ZTSN3cgp17opengl_gpu_bufferE", !13, i64 0, !13, i64 4, !13, i64 8, !38, i64 12}
!38 = !{!"_ZTSN3cgp25opengl_gpu_buffer_detailsE", !13, i64 0, !13, i64 4, !13, i64 8}
!39 = !{!"_ZTSSt6vectorIN3cgp20opengl_vbo_structureESaIS1_EE", !40, i64 0}
!40 = !{!"_ZTSSt12_Vector_baseIN3cgp20opengl_vbo_structureESaIS1_EE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIN3cgp20opengl_vbo_structureESaIS1_EE12_Vector_implE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIN3cgp20opengl_vbo_structureESaIS1_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!43 = !{!"_ZTSN3cgp20opengl_ebo_structureE", !37, i64 0}
!44 = !{!"_ZTSN3cgp6affineE", !45, i64 0, !21, i64 16, !9, i64 28, !21, i64 32}
!45 = !{!"_ZTSN3cgp18rotation_transformE", !46, i64 0}
!46 = !{!"_ZTSN3cgp10quaternionE", !47, i64 0}
!47 = !{!"_ZTSN3cgp14numarray_stackIfLi4EEE", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12}
!48 = !{!"_ZTSN3cgp10affine_rtsE", !45, i64 0, !21, i64 16, !9, i64 28}
!49 = !{!"_ZTSN3cgp12matrix_stackIfLi4ELi4EEE", !50, i64 0}
!50 = !{!"_ZTSN3cgp14numarray_stackINS0_IfLi4EEELi4EEE", !47, i64 0, !47, i64 16, !47, i64 32, !47, i64 48}
!51 = !{!"_ZTSN3cgp28material_mesh_drawable_phongE", !21, i64 0, !9, i64 12, !52, i64 16, !53, i64 32}
!52 = !{!"_ZTSN3cgp16phong_parametersE", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12}
!53 = !{!"_ZTSN3cgp27texture_settings_parametersE", !12, i64 0, !12, i64 1, !12, i64 2}
!54 = !{!"_ZTS21environment_structure", !55, i64 0, !21, i64 8, !49, i64 20, !49, i64 84, !21, i64 148, !56, i64 160}
!55 = !{!"_ZTSN3cgp29environment_generic_structureE"}
!56 = !{!"_ZTSN3cgp25uniform_generic_structureE", !57, i64 0, !60, i64 48, !63, i64 96, !66, i64 144, !69, i64 192, !72, i64 240, !75, i64 288, !78, i64 336}
!57 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEE", !58, i64 0}
!58 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !59, i64 0}
!59 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !30, i64 0, !32, i64 8}
!60 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEfSt4lessIS5_ESaISt4pairIKS5_fEEE", !61, i64 0}
!61 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_fESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !62, i64 0}
!62 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_fESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !30, i64 0, !32, i64 8}
!63 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3cgp14numarray_stackIfLi2EEESt4lessIS5_ESaISt4pairIKS5_S8_EEE", !64, i64 0}
!64 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp14numarray_stackIfLi2EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE", !65, i64 0}
!65 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp14numarray_stackIfLi2EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE13_Rb_tree_implISF_Lb1EEE", !30, i64 0, !32, i64 8}
!66 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3cgp14numarray_stackIfLi3EEESt4lessIS5_ESaISt4pairIKS5_S8_EEE", !67, i64 0}
!67 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp14numarray_stackIfLi3EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE", !68, i64 0}
!68 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp14numarray_stackIfLi3EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE13_Rb_tree_implISF_Lb1EEE", !30, i64 0, !32, i64 8}
!69 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3cgp14numarray_stackIfLi4EEESt4lessIS5_ESaISt4pairIKS5_S8_EEE", !70, i64 0}
!70 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp14numarray_stackIfLi4EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE", !71, i64 0}
!71 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp14numarray_stackIfLi4EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE13_Rb_tree_implISF_Lb1EEE", !30, i64 0, !32, i64 8}
!72 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3cgp12matrix_stackIfLi2ELi2EEESt4lessIS5_ESaISt4pairIKS5_S8_EEE", !73, i64 0}
!73 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp12matrix_stackIfLi2ELi2EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE", !74, i64 0}
!74 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp12matrix_stackIfLi2ELi2EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE13_Rb_tree_implISF_Lb1EEE", !30, i64 0, !32, i64 8}
!75 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3cgp12matrix_stackIfLi3ELi3EEESt4lessIS5_ESaISt4pairIKS5_S8_EEE", !76, i64 0}
!76 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp12matrix_stackIfLi3ELi3EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE", !77, i64 0}
!77 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp12matrix_stackIfLi3ELi3EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE13_Rb_tree_implISF_Lb1EEE", !30, i64 0, !32, i64 8}
!78 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3cgp12matrix_stackIfLi4ELi4EEESt4lessIS5_ESaISt4pairIKS5_S8_EEE", !79, i64 0}
!79 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp12matrix_stackIfLi4ELi4EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE", !80, i64 0}
!80 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp12matrix_stackIfLi4ELi4EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE13_Rb_tree_implISF_Lb1EEE", !30, i64 0, !32, i64 8}
!81 = !{!"_ZTSN3cgp13input_devicesE", !82, i64 0, !89, i64 64, !9, i64 96}
!82 = !{!"_ZTSN3cgp26inputs_keyboard_parametersE", !12, i64 0, !12, i64 1, !12, i64 2, !12, i64 3, !12, i64 4, !12, i64 5, !83, i64 8, !84, i64 16}
!83 = !{!"_ZTSN3cgp37inputs_keyboard_last_action_parameterE", !13, i64 0, !13, i64 4}
!84 = !{!"_ZTSSt3setIiSt4lessIiESaIiEE", !85, i64 0}
!85 = !{!"_ZTSSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE", !86, i64 0}
!86 = !{!"_ZTSNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE13_Rb_tree_implIS3_Lb1EEE", !87, i64 0, !32, i64 8}
!87 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !88, i64 0}
!88 = !{!"_ZTSSt4lessIiE"}
!89 = !{!"_ZTSN3cgp23inputs_mouse_parametersE", !90, i64 0, !92, i64 16, !9, i64 24, !12, i64 28}
!90 = !{!"_ZTSN3cgp39inputs_mouse_cursor_position_parametersE", !91, i64 0, !91, i64 8}
!91 = !{!"_ZTSN3cgp14numarray_stackIfLi2EEE", !9, i64 0, !9, i64 4}
!92 = !{!"_ZTSN3cgp36inputs_mouse_cursor_click_parametersE", !12, i64 0, !12, i64 1, !93, i64 4}
!93 = !{!"_ZTSN3cgp24last_mouse_cursor_actionE", !10, i64 0}
!94 = !{!"_ZTS14gui_parameters", !12, i64 0, !12, i64 1}
!95 = !{i8 0, i8 2}
!96 = !{}
!97 = !{!15, !12, i64 1096}
!98 = !{!12, !12, i64 0}
!99 = !{!15, !12, i64 128}
!100 = !{!15, !13, i64 112}
!101 = !{!15, !13, i64 116}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.scene_structure = type <{ %"struct.cgp::camera_controller_orbit_euler", %"struct.cgp::camera_projection_perspective", %"struct.cgp::window_structure", %"struct.cgp::mesh_drawable", %struct.environment_structure, %"struct.cgp::input_devices", %struct.gui_parameters, [6 x i8] }>
%"struct.cgp::camera_controller_orbit_euler" = type { %"struct.cgp::camera_controller_generic_base", %"struct.cgp::camera_orbit_euler" }
%"struct.cgp::camera_controller_generic_base" = type { i8, ptr, ptr }
%"struct.cgp::camera_orbit_euler" = type { %"struct.cgp::camera_generic_base", float, float, float, %"struct.cgp::numarray_stack", %"struct.cgp::numarray_stack", float }
%"struct.cgp::camera_generic_base" = type { ptr }
%"struct.cgp::numarray_stack" = type { float, float, float }
%"struct.cgp::camera_projection_perspective" = type { float, float, float, float }
%"struct.cgp::window_structure" = type <{ ptr, ptr, i32, i32, i32, i32, i32, i32, i8, [7 x i8] }>
%"struct.cgp::mesh_drawable" = type <{ %"struct.cgp::opengl_shader_structure", %"struct.cgp::opengl_texture_image_structure", %"class.std::map", %"struct.cgp::opengl_vbo_structure", %"struct.cgp::opengl_vbo_structure", %"struct.cgp::opengl_vbo_structure", %"struct.cgp::opengl_vbo_structure", %"class.std::vector", %"struct.cgp::opengl_ebo_structure", i32, %"struct.cgp::affine", %"struct.cgp::affine_rts", %"struct.cgp::matrix_stack", %"struct.cgp::material_mesh_drawable_phong", [4 x i8] }>
%"struct.cgp::opengl_shader_structure" = type { i32 }
%"struct.cgp::opengl_texture_image_structure" = type { i32, i32, i32, i32, i32 }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::opengl_texture_image_structure>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::opengl_texture_image_structure>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::opengl_texture_image_structure>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::opengl_texture_image_structure>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.cgp::opengl_vbo_structure" = type { %"struct.cgp::opengl_gpu_buffer", i32 }
%"struct.cgp::opengl_gpu_buffer" = type { i32, i32, i32, %"struct.cgp::opengl_gpu_buffer_details" }
%"struct.cgp::opengl_gpu_buffer_details" = type { i32, i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<cgp::opengl_vbo_structure, std::allocator<cgp::opengl_vbo_structure>>::_Vector_impl" }
%"struct.std::_Vector_base<cgp::opengl_vbo_structure, std::allocator<cgp::opengl_vbo_structure>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgp::opengl_vbo_structure, std::allocator<cgp::opengl_vbo_structure>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgp::opengl_vbo_structure, std::allocator<cgp::opengl_vbo_structure>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.cgp::opengl_ebo_structure" = type { %"struct.cgp::opengl_gpu_buffer" }
%"struct.cgp::affine" = type { %"struct.cgp::rotation_transform", %"struct.cgp::numarray_stack", float, %"struct.cgp::numarray_stack" }
%"struct.cgp::rotation_transform" = type { %"struct.cgp::quaternion" }
%"struct.cgp::quaternion" = type { %"struct.cgp::numarray_stack.3" }
%"struct.cgp::numarray_stack.3" = type { float, float, float, float }
%"struct.cgp::affine_rts" = type { %"struct.cgp::rotation_transform", %"struct.cgp::numarray_stack", float }
%"struct.cgp::matrix_stack" = type { %"struct.cgp::numarray_stack.4" }
%"struct.cgp::numarray_stack.4" = type { %"struct.cgp::numarray_stack.3", %"struct.cgp::numarray_stack.3", %"struct.cgp::numarray_stack.3", %"struct.cgp::numarray_stack.3" }
%"struct.cgp::material_mesh_drawable_phong" = type <{ %"struct.cgp::numarray_stack", float, %"struct.cgp::phong_parameters", %"struct.cgp::texture_settings_parameters", i8 }>
%"struct.cgp::phong_parameters" = type { float, float, float, float }
%"struct.cgp::texture_settings_parameters" = type { i8, i8, i8 }
%struct.environment_structure = type { %"struct.cgp::environment_generic_structure", %"struct.cgp::numarray_stack", %"struct.cgp::matrix_stack", %"struct.cgp::matrix_stack", %"struct.cgp::numarray_stack", %"struct.cgp::uniform_generic_structure" }
%"struct.cgp::environment_generic_structure" = type { ptr }
%"struct.cgp::uniform_generic_structure" = type { %"class.std::map.5", %"class.std::map.10", %"class.std::map.15", %"class.std::map.20", %"class.std::map.25", %"class.std::map.30", %"class.std::map.35", %"class.std::map.40" }
%"class.std::map.5" = type { %"class.std::_Rb_tree.6" }
%"class.std::_Rb_tree.6" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.10" = type { %"class.std::_Rb_tree.11" }
%"class.std::_Rb_tree.11" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, float>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, float>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, float>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, float>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.15" = type { %"class.std::_Rb_tree.16" }
%"class.std::_Rb_tree.16" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::numarray_stack<float, 2>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::numarray_stack<float, 2>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::numarray_stack<float, 2>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::numarray_stack<float, 2>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.20" = type { %"class.std::_Rb_tree.21" }
%"class.std::_Rb_tree.21" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::numarray_stack<float, 3>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::numarray_stack<float, 3>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::numarray_stack<float, 3>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::numarray_stack<float, 3>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.25" = type { %"class.std::_Rb_tree.26" }
%"class.std::_Rb_tree.26" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::numarray_stack<float, 4>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::numarray_stack<float, 4>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::numarray_stack<float, 4>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::numarray_stack<float, 4>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.30" = type { %"class.std::_Rb_tree.31" }
%"class.std::_Rb_tree.31" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::matrix_stack<float, 2, 2>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::matrix_stack<float, 2, 2>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::matrix_stack<float, 2, 2>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::matrix_stack<float, 2, 2>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.35" = type { %"class.std::_Rb_tree.36" }
%"class.std::_Rb_tree.36" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::matrix_stack<float, 3, 3>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::matrix_stack<float, 3, 3>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::matrix_stack<float, 3, 3>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::matrix_stack<float, 3, 3>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.40" = type { %"class.std::_Rb_tree.41" }
%"class.std::_Rb_tree.41" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::matrix_stack<float, 4, 4>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::matrix_stack<float, 4, 4>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, cgp::matrix_stack<float, 4, 4>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cgp::matrix_stack<float, 4, 4>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.cgp::input_devices" = type <{ %"struct.cgp::inputs_keyboard_parameters", %"struct.cgp::inputs_mouse_parameters", float, [4 x i8] }>
%"struct.cgp::inputs_keyboard_parameters" = type { i8, i8, i8, i8, i8, i8, %"struct.cgp::inputs_keyboard_last_action_parameter", %"class.std::set" }
%"struct.cgp::inputs_keyboard_last_action_parameter" = type { i32, i32 }
%"class.std::set" = type { %"class.std::_Rb_tree.45" }
%"class.std::_Rb_tree.45" = type { %"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.cgp::inputs_mouse_parameters" = type <{ %"struct.cgp::inputs_mouse_cursor_position_parameters", %"struct.cgp::inputs_mouse_cursor_click_parameters", float, i8, [3 x i8] }>
%"struct.cgp::inputs_mouse_cursor_position_parameters" = type { %"struct.cgp::numarray_stack.50", %"struct.cgp::numarray_stack.50" }
%"struct.cgp::numarray_stack.50" = type { float, float }
%"struct.cgp::inputs_mouse_cursor_click_parameters" = type { i8, i8, i32 }
%struct.gui_parameters = type { i8, i8 }
%"class.cgp::timer_fps" = type { %"class.cgp::timer_event_periodic", i32, i32 }
%"class.cgp::timer_event_periodic" = type { %"class.cgp::timer_basic", i8, float, float }
%"class.cgp::timer_basic" = type { float, float, i8, float }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@scene = external dso_local global %struct.scene_structure, align 8
@fps_record = external dso_local local_unnamed_addr global %"class.cgp::timer_fps", align 4
@_ZN7project12fps_limitingE = external global i8, align 1
@_ZN7project7fps_maxE = external global float, align 4
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@_ZN7project9gui_scaleE = external global float, align 4
@.str.17 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [20 x i8], align 1
@_ZN7project5vsyncE = external global i8, align 1
@.str.41 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [3 x i8], align 1

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

declare void @_ZN3cgp3strB5cxx11Ei(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, i32 noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z19display_gui_defaultv() local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::__cxx11::basic_string", align 8
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #5
  %9 = load i32, ptr getelementptr inbounds (i8, ptr @fps_record, i64 28), align 4, !tbaa !5
  call void @_ZN3cgp3strB5cxx11Ei(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %2, i32 noundef %9)
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %1, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull @.str.9)
          to label %10 unwind label %15

10:                                               ; preds = %0
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #5
  %11 = load i8, ptr getelementptr inbounds (i8, ptr @scene, i64 1097), align 1, !tbaa !14, !range !95, !noundef !96
  %12 = trunc nuw i8 %11 to i1
  br i1 %12, label %13, label %19

13:                                               ; preds = %10
  %14 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull @.str.31)
          to label %19 unwind label %17

15:                                               ; preds = %0
  %16 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #5
  br label %90

17:                                               ; preds = %29, %26, %24, %22, %13
  %18 = landingpad { ptr, i32 }
          cleanup
  br label %89

19:                                               ; preds = %13, %10
  %20 = load i8, ptr getelementptr inbounds (i8, ptr @scene, i64 1096), align 8, !tbaa !97, !range !95, !noundef !96
  %21 = trunc nuw i8 %20 to i1
  br i1 %21, label %22, label %24

22:                                               ; preds = %19
  %23 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull @.str.32)
          to label %24 unwind label %17

24:                                               ; preds = %22, %19
  %25 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #5
  invoke void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef %25, ptr noundef nonnull @.str.33)
          to label %26 unwind label %17

26:                                               ; preds = %24
  %27 = invoke noundef zeroext i1 @_ZN5ImGui16CollapsingHeaderEPKci(ptr noundef nonnull @.str.34, i32 noundef 0)
          to label %28 unwind label %17

28:                                               ; preds = %26
  br i1 %27, label %29, label %88

29:                                               ; preds = %28
  invoke void @_ZN5ImGui6IndentEf(float noundef 0.000000e+00)
          to label %30 unwind label %17

30:                                               ; preds = %29
  %31 = invoke noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef nonnull @.str.35, ptr noundef nonnull getelementptr inbounds (i8, ptr @scene, i64 128))
          to label %32 unwind label %37

32:                                               ; preds = %30
  br i1 %31, label %33, label %40

33:                                               ; preds = %32
  %34 = load i8, ptr getelementptr inbounds (i8, ptr @scene, i64 128), align 8, !tbaa !98, !range !95, !noundef !96
  %35 = trunc nuw i8 %34 to i1
  br i1 %35, label %36, label %39

36:                                               ; preds = %33
  invoke void @_ZN3cgp16window_structure15set_full_screenEv(ptr noundef nonnull align 8 dereferenceable(41) getelementptr inbounds (i8, ptr @scene, i64 88))
          to label %40 unwind label %37

37:                                               ; preds = %.invoke, %49, %47, %42, %40, %39, %36, %30
  %38 = landingpad { ptr, i32 }
          cleanup
  br label %89

39:                                               ; preds = %33
  invoke void @_ZN3cgp16window_structure19set_windowed_screenEv(ptr noundef nonnull align 8 dereferenceable(41) getelementptr inbounds (i8, ptr @scene, i64 88))
          to label %40 unwind label %37

40:                                               ; preds = %36, %39, %32
  %41 = invoke noundef zeroext i1 @_ZN5ImGui11SliderFloatEPKcPfffS1_f(ptr noundef nonnull @.str.36, ptr noundef nonnull @_ZN7project9gui_scaleE, float noundef 5.000000e-01, float noundef 2.500000e+00, ptr noundef nonnull @.str.37, float noundef 1.000000e+00)
          to label %42 unwind label %37

42:                                               ; preds = %40
  %43 = invoke noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef nonnull @.str.38, ptr noundef nonnull @_ZN7project12fps_limitingE)
          to label %44 unwind label %37

44:                                               ; preds = %42
  %45 = load i8, ptr @_ZN7project12fps_limitingE, align 1, !tbaa !99, !range !95, !noundef !96
  %46 = trunc nuw i8 %45 to i1
  br i1 %46, label %47, label %49

47:                                               ; preds = %44
  %48 = invoke noundef zeroext i1 @_ZN5ImGui11SliderFloatEPKcPfffS1_f(ptr noundef nonnull @.str.39, ptr noundef nonnull @_ZN7project7fps_maxE, float noundef 1.000000e+01, float noundef 2.500000e+02, ptr noundef nonnull @.str.37, float noundef 1.000000e+00)
          to label %49 unwind label %37

49:                                               ; preds = %47, %44
  %50 = invoke noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef nonnull @.str.40, ptr noundef nonnull @_ZN7project5vsyncE)
          to label %51 unwind label %37

51:                                               ; preds = %49
  br i1 %50, label %.invoke, label %53

.invoke:                                          ; preds = %51
  %52 = load i8, ptr @_ZN7project5vsyncE, align 1, !tbaa !99, !range !95, !noundef !96
  %. = zext nneg i8 %52 to i32
  invoke void @glfwSwapInterval(i32 noundef %.)
          to label %53 unwind label %37

53:                                               ; preds = %.invoke, %51
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #5
  %54 = load i32, ptr getelementptr inbounds (i8, ptr @scene, i64 112), align 8, !tbaa !100
  invoke void @_ZN3cgp3strB5cxx11Ei(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %7, i32 noundef %54)
          to label %55 unwind label %68

55:                                               ; preds = %53
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %6, ptr noundef nonnull @.str.41, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %56 unwind label %70

56:                                               ; preds = %55
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5, ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.17)
          to label %57 unwind label %72

57:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #5
  %58 = load i32, ptr getelementptr inbounds (i8, ptr @scene, i64 116), align 4, !tbaa !101
  invoke void @_ZN3cgp3strB5cxx11Ei(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %8, i32 noundef %58)
          to label %59 unwind label %74

59:                                               ; preds = %57
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %4, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %60 unwind label %76

60:                                               ; preds = %59
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %3, ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.42)
          to label %61 unwind label %78

61:                                               ; preds = %60
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #5
  %62 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  invoke void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef %62, ptr noundef nonnull @.str.33)
          to label %63 unwind label %85

63:                                               ; preds = %61
  invoke void @_ZN5ImGui8UnindentEf(float noundef 0.000000e+00)
          to label %64 unwind label %85

64:                                               ; preds = %63
  invoke void @_ZN5ImGui7SpacingEv()
          to label %65 unwind label %85

65:                                               ; preds = %64
  invoke void @_ZN5ImGui9SeparatorEv()
          to label %66 unwind label %85

66:                                               ; preds = %65
  invoke void @_ZN5ImGui7SpacingEv()
          to label %67 unwind label %85

67:                                               ; preds = %66
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  br label %88

68:                                               ; preds = %53
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %84

70:                                               ; preds = %55
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %83

72:                                               ; preds = %56
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %82

74:                                               ; preds = %57
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %81

76:                                               ; preds = %59
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %80

78:                                               ; preds = %60
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  br label %80

80:                                               ; preds = %78, %76
  %.pn = phi { ptr, i32 } [ %79, %78 ], [ %77, %76 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  br label %81

81:                                               ; preds = %80, %74
  %.pn.pn = phi { ptr, i32 } [ %.pn, %80 ], [ %75, %74 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  br label %82

82:                                               ; preds = %81, %72
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %81 ], [ %73, %72 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  br label %83

83:                                               ; preds = %82, %70
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %82 ], [ %71, %70 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  br label %84

84:                                               ; preds = %83, %68
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %83 ], [ %69, %68 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #5
  br label %87

85:                                               ; preds = %66, %65, %64, %63, %61
  %86 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  br label %87

87:                                               ; preds = %85, %84
  %.pn16 = phi { ptr, i32 } [ %86, %85 ], [ %.pn.pn.pn.pn.pn, %84 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  br label %89

88:                                               ; preds = %67, %28
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #5
  ret void

89:                                               ; preds = %37, %87, %17
  %.pn16.pn.pn = phi { ptr, i32 } [ %18, %17 ], [ %.pn16, %87 ], [ %38, %37 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #5
  br label %90

90:                                               ; preds = %89, %15
  %.pn16.pn.pn.pn = phi { ptr, i32 } [ %.pn16.pn.pn, %89 ], [ %16, %15 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #5
  resume { ptr, i32 } %.pn16.pn.pn.pn
}

declare void @_ZN3cgp16window_structure15set_full_screenEv(ptr noundef nonnull align 8 dereferenceable(41)) local_unnamed_addr #3

declare void @_ZN3cgp16window_structure19set_windowed_screenEv(ptr noundef nonnull align 8 dereferenceable(41)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #4 align 2

declare void @_ZN5ImGui4TextEPKcz(ptr noundef, ...) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN5ImGui16CollapsingHeaderEPKci(ptr noundef, i32 noundef) local_unnamed_addr #3

declare void @_ZN5ImGui6IndentEf(float noundef) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef, ptr noundef) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN5ImGui11SliderFloatEPKcPfffS1_f(ptr noundef, ptr noundef, float noundef, float noundef, ptr noundef, float noundef) local_unnamed_addr #3

declare void @glfwSwapInterval(i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_S9_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

declare void @_ZN5ImGui8UnindentEf(float noundef) local_unnamed_addr #3

declare void @_ZN5ImGui7SpacingEv() local_unnamed_addr #3

declare void @_ZN5ImGui9SeparatorEv() local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { "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"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !13, i64 28}
!6 = !{!"_ZTSN3cgp9timer_fpsE", !7, i64 0, !13, i64 28, !13, i64 32}
!7 = !{!"_ZTSN3cgp20timer_event_periodicE", !8, i64 0, !12, i64 16, !9, i64 20, !9, i64 24}
!8 = !{!"_ZTSN3cgp11timer_basicE", !9, i64 0, !9, i64 4, !12, i64 8, !9, i64 12}
!9 = !{!"float", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"bool", !10, i64 0}
!13 = !{!"int", !10, i64 0}
!14 = !{!15, !12, i64 1097}
!15 = !{!"_ZTS15scene_structure", !16, i64 0, !22, i64 72, !23, i64 88, !24, i64 136, !54, i64 552, !81, i64 1096, !94, i64 1200}
!16 = !{!"_ZTSN3cgp29camera_controller_orbit_eulerE", !17, i64 0, !19, i64 24}
!17 = !{!"_ZTSN3cgp30camera_controller_generic_baseE", !12, i64 0, !18, i64 8, !18, i64 16}
!18 = !{!"any pointer", !10, i64 0}
!19 = !{!"_ZTSN3cgp18camera_orbit_eulerE", !20, i64 0, !9, i64 8, !9, i64 12, !9, i64 16, !21, i64 20, !21, i64 32, !9, i64 44}
!20 = !{!"_ZTSN3cgp19camera_generic_baseE"}
!21 = !{!"_ZTSN3cgp14numarray_stackIfLi3EEE", !9, i64 0, !9, i64 4, !9, i64 8}
!22 = !{!"_ZTSN3cgp29camera_projection_perspectiveE", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12}
!23 = !{!"_ZTSN3cgp16window_structureE", !18, i64 0, !18, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !12, i64 40}
!24 = !{!"_ZTSN3cgp13mesh_drawableE", !25, i64 0, !26, i64 4, !27, i64 24, !36, i64 72, !36, i64 100, !36, i64 128, !36, i64 156, !39, i64 184, !43, i64 208, !13, i64 232, !44, i64 236, !48, i64 280, !49, i64 312, !51, i64 376}
!25 = !{!"_ZTSN3cgp23opengl_shader_structureE", !13, i64 0}
!26 = !{!"_ZTSN3cgp30opengl_texture_image_structureE", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16}
!27 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3cgp30opengl_texture_image_structureESt4lessIS5_ESaISt4pairIKS5_S7_EEE", !28, i64 0}
!28 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp30opengl_texture_image_structureEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE", !29, i64 0}
!29 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp30opengl_texture_image_structureEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE13_Rb_tree_implISE_Lb1EEE", !30, i64 0, !32, i64 8}
!30 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !31, i64 0}
!31 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!32 = !{!"_ZTSSt15_Rb_tree_header", !33, i64 0, !35, i64 32}
!33 = !{!"_ZTSSt18_Rb_tree_node_base", !34, i64 0, !18, i64 8, !18, i64 16, !18, i64 24}
!34 = !{!"_ZTSSt14_Rb_tree_color", !10, i64 0}
!35 = !{!"long", !10, i64 0}
!36 = !{!"_ZTSN3cgp20opengl_vbo_structureE", !37, i64 0, !13, i64 24}
!37 = !{!"_ZTSN3cgp17opengl_gpu_bufferE", !13, i64 0, !13, i64 4, !13, i64 8, !38, i64 12}
!38 = !{!"_ZTSN3cgp25opengl_gpu_buffer_detailsE", !13, i64 0, !13, i64 4, !13, i64 8}
!39 = !{!"_ZTSSt6vectorIN3cgp20opengl_vbo_structureESaIS1_EE", !40, i64 0}
!40 = !{!"_ZTSSt12_Vector_baseIN3cgp20opengl_vbo_structureESaIS1_EE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIN3cgp20opengl_vbo_structureESaIS1_EE12_Vector_implE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIN3cgp20opengl_vbo_structureESaIS1_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!43 = !{!"_ZTSN3cgp20opengl_ebo_structureE", !37, i64 0}
!44 = !{!"_ZTSN3cgp6affineE", !45, i64 0, !21, i64 16, !9, i64 28, !21, i64 32}
!45 = !{!"_ZTSN3cgp18rotation_transformE", !46, i64 0}
!46 = !{!"_ZTSN3cgp10quaternionE", !47, i64 0}
!47 = !{!"_ZTSN3cgp14numarray_stackIfLi4EEE", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12}
!48 = !{!"_ZTSN3cgp10affine_rtsE", !45, i64 0, !21, i64 16, !9, i64 28}
!49 = !{!"_ZTSN3cgp12matrix_stackIfLi4ELi4EEE", !50, i64 0}
!50 = !{!"_ZTSN3cgp14numarray_stackINS0_IfLi4EEELi4EEE", !47, i64 0, !47, i64 16, !47, i64 32, !47, i64 48}
!51 = !{!"_ZTSN3cgp28material_mesh_drawable_phongE", !21, i64 0, !9, i64 12, !52, i64 16, !53, i64 32}
!52 = !{!"_ZTSN3cgp16phong_parametersE", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12}
!53 = !{!"_ZTSN3cgp27texture_settings_parametersE", !12, i64 0, !12, i64 1, !12, i64 2}
!54 = !{!"_ZTS21environment_structure", !55, i64 0, !21, i64 8, !49, i64 20, !49, i64 84, !21, i64 148, !56, i64 160}
!55 = !{!"_ZTSN3cgp29environment_generic_structureE"}
!56 = !{!"_ZTSN3cgp25uniform_generic_structureE", !57, i64 0, !60, i64 48, !63, i64 96, !66, i64 144, !69, i64 192, !72, i64 240, !75, i64 288, !78, i64 336}
!57 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEE", !58, i64 0}
!58 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !59, i64 0}
!59 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !30, i64 0, !32, i64 8}
!60 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEfSt4lessIS5_ESaISt4pairIKS5_fEEE", !61, i64 0}
!61 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_fESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !62, i64 0}
!62 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_fESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !30, i64 0, !32, i64 8}
!63 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3cgp14numarray_stackIfLi2EEESt4lessIS5_ESaISt4pairIKS5_S8_EEE", !64, i64 0}
!64 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp14numarray_stackIfLi2EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE", !65, i64 0}
!65 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp14numarray_stackIfLi2EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE13_Rb_tree_implISF_Lb1EEE", !30, i64 0, !32, i64 8}
!66 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3cgp14numarray_stackIfLi3EEESt4lessIS5_ESaISt4pairIKS5_S8_EEE", !67, i64 0}
!67 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp14numarray_stackIfLi3EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE", !68, i64 0}
!68 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp14numarray_stackIfLi3EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE13_Rb_tree_implISF_Lb1EEE", !30, i64 0, !32, i64 8}
!69 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3cgp14numarray_stackIfLi4EEESt4lessIS5_ESaISt4pairIKS5_S8_EEE", !70, i64 0}
!70 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp14numarray_stackIfLi4EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE", !71, i64 0}
!71 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp14numarray_stackIfLi4EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE13_Rb_tree_implISF_Lb1EEE", !30, i64 0, !32, i64 8}
!72 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3cgp12matrix_stackIfLi2ELi2EEESt4lessIS5_ESaISt4pairIKS5_S8_EEE", !73, i64 0}
!73 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp12matrix_stackIfLi2ELi2EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE", !74, i64 0}
!74 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp12matrix_stackIfLi2ELi2EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE13_Rb_tree_implISF_Lb1EEE", !30, i64 0, !32, i64 8}
!75 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3cgp12matrix_stackIfLi3ELi3EEESt4lessIS5_ESaISt4pairIKS5_S8_EEE", !76, i64 0}
!76 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp12matrix_stackIfLi3ELi3EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE", !77, i64 0}
!77 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp12matrix_stackIfLi3ELi3EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE13_Rb_tree_implISF_Lb1EEE", !30, i64 0, !32, i64 8}
!78 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3cgp12matrix_stackIfLi4ELi4EEESt4lessIS5_ESaISt4pairIKS5_S8_EEE", !79, i64 0}
!79 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp12matrix_stackIfLi4ELi4EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE", !80, i64 0}
!80 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp12matrix_stackIfLi4ELi4EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE13_Rb_tree_implISF_Lb1EEE", !30, i64 0, !32, i64 8}
!81 = !{!"_ZTSN3cgp13input_devicesE", !82, i64 0, !89, i64 64, !9, i64 96}
!82 = !{!"_ZTSN3cgp26inputs_keyboard_parametersE", !12, i64 0, !12, i64 1, !12, i64 2, !12, i64 3, !12, i64 4, !12, i64 5, !83, i64 8, !84, i64 16}
!83 = !{!"_ZTSN3cgp37inputs_keyboard_last_action_parameterE", !13, i64 0, !13, i64 4}
!84 = !{!"_ZTSSt3setIiSt4lessIiESaIiEE", !85, i64 0}
!85 = !{!"_ZTSSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE", !86, i64 0}
!86 = !{!"_ZTSNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE13_Rb_tree_implIS3_Lb1EEE", !87, i64 0, !32, i64 8}
!87 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !88, i64 0}
!88 = !{!"_ZTSSt4lessIiE"}
!89 = !{!"_ZTSN3cgp23inputs_mouse_parametersE", !90, i64 0, !92, i64 16, !9, i64 24, !12, i64 28}
!90 = !{!"_ZTSN3cgp39inputs_mouse_cursor_position_parametersE", !91, i64 0, !91, i64 8}
!91 = !{!"_ZTSN3cgp14numarray_stackIfLi2EEE", !9, i64 0, !9, i64 4}
!92 = !{!"_ZTSN3cgp36inputs_mouse_cursor_click_parametersE", !12, i64 0, !12, i64 1, !93, i64 4}
!93 = !{!"_ZTSN3cgp24last_mouse_cursor_actionE", !10, i64 0}
!94 = !{!"_ZTS14gui_parameters", !12, i64 0, !12, i64 1}
!95 = !{i8 0, i8 2}
!96 = !{}
!97 = !{!15, !12, i64 1096}
!98 = !{!15, !12, i64 128}
!99 = !{!12, !12, i64 0}
!100 = !{!15, !13, i64 112}
!101 = !{!15, !13, i64 116}


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