; LLVM IR from drohmer/cgp :: examples/example_compilation/src/scene.ll (ZN15scene_structure10initializeEv)

; 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.cgp::opengl_shader_structure" = type { i32 }
%"struct.cgp::opengl_texture_image_structure" = type { i32, i32, i32, i32, i32 }
%"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] }
%"struct.cgp::numarray_stack" = type { float, float, float }
%"struct.cgp::mesh" = type { %"struct.cgp::numarray", %"struct.cgp::numarray", %"struct.cgp::numarray", %"struct.cgp::numarray.56", %"struct.cgp::numarray.62" }
%"struct.cgp::numarray" = type { %"class.std::vector.51" }
%"class.std::vector.51" = type { %"struct.std::_Vector_base.52" }
%"struct.std::_Vector_base.52" = type { %"struct.std::_Vector_base<cgp::numarray_stack<float, 3>, std::allocator<cgp::numarray_stack<float, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<cgp::numarray_stack<float, 3>, std::allocator<cgp::numarray_stack<float, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgp::numarray_stack<float, 3>, std::allocator<cgp::numarray_stack<float, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgp::numarray_stack<float, 3>, std::allocator<cgp::numarray_stack<float, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.cgp::numarray.56" = type { %"class.std::vector.57" }
%"class.std::vector.57" = type { %"struct.std::_Vector_base.58" }
%"struct.std::_Vector_base.58" = type { %"struct.std::_Vector_base<cgp::numarray_stack<float, 2>, std::allocator<cgp::numarray_stack<float, 2>>>::_Vector_impl" }
%"struct.std::_Vector_base<cgp::numarray_stack<float, 2>, std::allocator<cgp::numarray_stack<float, 2>>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgp::numarray_stack<float, 2>, std::allocator<cgp::numarray_stack<float, 2>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgp::numarray_stack<float, 2>, std::allocator<cgp::numarray_stack<float, 2>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.cgp::numarray.62" = type { %"class.std::vector.63" }
%"class.std::vector.63" = type { %"struct.std::_Vector_base.64" }
%"struct.std::_Vector_base.64" = type { %"struct.std::_Vector_base<cgp::numarray_stack<unsigned int, 3>, std::allocator<cgp::numarray_stack<unsigned int, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<cgp::numarray_stack<unsigned int, 3>, std::allocator<cgp::numarray_stack<unsigned int, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgp::numarray_stack<unsigned int, 3>, std::allocator<cgp::numarray_stack<unsigned int, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgp::numarray_stack<unsigned int, 3>, std::allocator<cgp::numarray_stack<unsigned int, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.cgp::frame" = type { %"struct.cgp::rotation_transform", %"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.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, %"class.cgp::timer_basic", [4 x i8], %"struct.cgp::mesh_drawable", %"struct.cgp::mesh_drawable", %"struct.cgp::mesh_drawable" }
%"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::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.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::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::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" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"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_basic" = type { float, float, i8, float }
%"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] }>
%"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.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::affine_rts" = type { %"struct.cgp::rotation_transform", %"struct.cgp::numarray_stack", float }
%"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 }

@_ZN3cgp13mesh_drawable14default_shaderE = external global %"struct.cgp::opengl_shader_structure", align 4
@_ZN3cgp13mesh_drawable15default_textureE = external global %"struct.cgp::opengl_texture_image_structure", align 4
@_ZN7project4pathB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@.str = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15scene_structure10initializeEv(ptr noundef nonnull align 8 dereferenceable(2472) %0) #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"struct.cgp::numarray_stack", align 4
  %4 = alloca float, align 4
  %5 = alloca float, align 4
  %6 = alloca float, align 4
  %7 = alloca %"struct.cgp::numarray_stack", align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"struct.cgp::numarray_stack", align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %"struct.cgp::mesh", align 8
  %16 = alloca %"struct.cgp::frame", align 4
  %17 = alloca %"struct.cgp::numarray_stack", align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca %"struct.cgp::numarray_stack", align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca %"struct.cgp::numarray_stack", align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca %"struct.cgp::numarray_stack", align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca ptr, align 8
  %34 = alloca i32, align 4
  %35 = alloca %"struct.cgp::mesh", align 8
  %36 = alloca %"struct.cgp::numarray_stack", align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca %"struct.cgp::numarray_stack", align 4
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca double, align 8
  %44 = alloca %"struct.cgp::mesh", align 8
  %45 = alloca %"struct.cgp::numarray_stack", align 4
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca i32, align 4
  %49 = alloca %"struct.cgp::numarray_stack", align 4
  %50 = alloca i32, align 4
  %51 = alloca i32, align 4
  %52 = alloca i32, align 4
  %53 = alloca %"struct.cgp::mesh", align 8
  %54 = alloca %"struct.cgp::numarray_stack", align 4
  %55 = alloca i32, align 4
  %56 = alloca i32, align 4
  %57 = alloca i32, align 4
  %58 = alloca %"struct.cgp::numarray_stack", align 4
  %59 = alloca i32, align 4
  %60 = alloca i32, align 4
  %61 = alloca i32, align 4
  %62 = alloca %"struct.cgp::numarray_stack", align 4
  %63 = alloca i32, align 4
  %64 = alloca i32, align 4
  %65 = alloca i32, align 4
  %66 = alloca %"struct.cgp::numarray_stack", align 4
  %67 = alloca i32, align 4
  %68 = alloca i32, align 4
  %69 = alloca i32, align 4
  %70 = alloca %"class.std::__cxx11::basic_string", align 8
  %71 = alloca %"struct.cgp::rotation_transform", align 4
  %72 = alloca %"struct.cgp::numarray_stack", align 4
  %73 = alloca i32, align 4
  %74 = alloca i32, align 4
  %75 = alloca i32, align 4
  %76 = alloca %"struct.cgp::numarray_stack", align 4
  %77 = alloca float, align 4
  %78 = alloca i32, align 4
  %79 = alloca float, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %80 = load ptr, ptr %2, align 8
  %81 = getelementptr inbounds %struct.scene_structure, ptr %80, i32 0, i32 0
  %82 = getelementptr inbounds %struct.scene_structure, ptr %80, i32 0, i32 5
  %83 = getelementptr inbounds %struct.scene_structure, ptr %80, i32 0, i32 2
  call void @_ZN3cgp30camera_controller_generic_base10initializeERNS_13input_devicesERNS_16window_structureE(ptr noundef nonnull align 8 dereferenceable(24) %81, ptr noundef nonnull align 8 dereferenceable(100) %82, ptr noundef nonnull align 8 dereferenceable(41) %83)
  %84 = getelementptr inbounds %struct.scene_structure, ptr %80, i32 0, i32 0
  call void @_ZN3cgp29camera_controller_orbit_euler19set_rotation_axis_yEv(ptr noundef nonnull align 8 dereferenceable(72) %84)
  %85 = getelementptr inbounds %struct.scene_structure, ptr %80, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 12, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  store float 3.000000e+00, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  store float 2.000000e+00, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store float 2.000000e+00, ptr %6, align 4, !tbaa !9
  call void @_ZN3cgp14numarray_stackIfLi3EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @llvm.lifetime.start.p0(i64 12, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 0, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 0, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 0, ptr %10, align 4, !tbaa !11
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %10)
  call void @llvm.lifetime.start.p0(i64 12, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  store i32 0, ptr %12, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 0, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 1, ptr %14, align 4, !tbaa !11
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %11, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %14)
  call void @_ZN3cgp29camera_controller_orbit_euler7look_atERKNS_14numarray_stackIfLi3EEES4_S4_(ptr noundef nonnull align 8 dereferenceable(72) %85, ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %11)
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %3) #7
  %86 = getelementptr inbounds %struct.scene_structure, ptr %80, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 120, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 28, ptr %16) #7
  call void @_ZN3cgp5frameC1Ev(ptr noundef nonnull align 4 dereferenceable(28) %16)
  call void @llvm.lifetime.start.p0(i64 12, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store i32 1, ptr %18, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  store i32 0, ptr %19, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !11
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %20)
  call void @llvm.lifetime.start.p0(i64 12, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  store i32 0, ptr %22, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  store i32 1, ptr %23, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  store i32 0, ptr %24, align 4, !tbaa !11
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %21, ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 4 dereferenceable(4) %24)
  call void @llvm.lifetime.start.p0(i64 12, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  store i32 0, ptr %26, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  store i32 0, ptr %27, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  store i32 1, ptr %28, align 4, !tbaa !11
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(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)
  call void @llvm.lifetime.start.p0(i64 12, ptr %29) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  store i32 1, ptr %30, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  store i32 1, ptr %31, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #7
  store i32 1, ptr %32, align 4, !tbaa !11
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %29, ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef nonnull align 4 dereferenceable(4) %31, ptr noundef nonnull align 4 dereferenceable(4) %32)
  call void @_ZN3cgp20mesh_primitive_frameERKNS_5frameEfRKNS_14numarray_stackIfLi3EEES6_S6_S6_f(ptr dead_on_unwind writable sret(%"struct.cgp::mesh") align 8 %15, ptr noundef nonnull align 4 dereferenceable(28) %16, float noundef 1.000000e+00, ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %21, ptr noundef nonnull align 4 dereferenceable(12) %25, ptr noundef nonnull align 4 dereferenceable(12) %29, float noundef 0x3F999999A0000000)
  invoke void @_ZN3cgp13mesh_drawable22initialize_data_on_gpuERKNS_4meshERKNS_23opengl_shader_structureERKNS_30opengl_texture_image_structureE(ptr noundef nonnull align 8 dereferenceable(412) %86, ptr noundef nonnull align 8 dereferenceable(120) %15, ptr noundef nonnull align 4 dereferenceable(4) @_ZN3cgp13mesh_drawable14default_shaderE, ptr noundef nonnull align 4 dereferenceable(20) @_ZN3cgp13mesh_drawable15default_textureE)
          to label %87 unwind label %129

87:                                               ; preds = %1
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 28, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 120, ptr %35) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %36) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #7
  store i32 0, ptr %37, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #7
  store i32 0, ptr %38, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #7
  store i32 0, ptr %39, align 4, !tbaa !11
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %36, ptr noundef nonnull align 4 dereferenceable(4) %37, ptr noundef nonnull align 4 dereferenceable(4) %38, ptr noundef nonnull align 4 dereferenceable(4) %39)
  call void @_ZN3cgp19mesh_primitive_cubeERKNS_14numarray_stackIfLi3EEEf(ptr dead_on_unwind writable sret(%"struct.cgp::mesh") align 8 %35, ptr noundef nonnull align 4 dereferenceable(12) %36, float noundef 5.000000e-01)
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %36) #7
  %88 = getelementptr inbounds %struct.scene_structure, ptr %80, i32 0, i32 9
  invoke void @_ZN3cgp13mesh_drawable22initialize_data_on_gpuERKNS_4meshERKNS_23opengl_shader_structureERKNS_30opengl_texture_image_structureE(ptr noundef nonnull align 8 dereferenceable(412) %88, ptr noundef nonnull align 8 dereferenceable(120) %35, ptr noundef nonnull align 4 dereferenceable(4) @_ZN3cgp13mesh_drawable14default_shaderE, ptr noundef nonnull align 4 dereferenceable(20) @_ZN3cgp13mesh_drawable15default_textureE)
          to label %89 unwind label %133

89:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 12, ptr %40) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #7
  store i32 1, ptr %41, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #7
  store i32 1, ptr %42, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #7
  store double 8.000000e-01, ptr %43, align 8, !tbaa !13
  invoke void @_ZN3cgp14numarray_stackIfLi3EEC2IiidEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %40, ptr noundef nonnull align 4 dereferenceable(4) %41, ptr noundef nonnull align 4 dereferenceable(4) %42, ptr noundef nonnull align 8 dereferenceable(8) %43)
          to label %90 unwind label %137

90:                                               ; preds = %89
  %91 = getelementptr inbounds %struct.scene_structure, ptr %80, i32 0, i32 9
  %92 = getelementptr inbounds %"struct.cgp::mesh_drawable", ptr %91, i32 0, i32 13
  %93 = getelementptr inbounds %"struct.cgp::material_mesh_drawable_phong", ptr %92, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %93, ptr align 4 %40, i64 12, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %40) #7
  %94 = getelementptr inbounds %struct.scene_structure, ptr %80, i32 0, i32 10
  call void @llvm.lifetime.start.p0(i64 120, ptr %44) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %45) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #7
  store i32 0, ptr %46, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #7
  store i32 0, ptr %47, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #7
  store i32 0, ptr %48, align 4, !tbaa !11
  invoke void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %45, ptr noundef nonnull align 4 dereferenceable(4) %46, ptr noundef nonnull align 4 dereferenceable(4) %47, ptr noundef nonnull align 4 dereferenceable(4) %48)
          to label %95 unwind label %141

95:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 12, ptr %49) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #7
  store i32 0, ptr %50, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #7
  store i32 1, ptr %51, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #7
  store i32 0, ptr %52, align 4, !tbaa !11
  invoke void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %49, ptr noundef nonnull align 4 dereferenceable(4) %50, ptr noundef nonnull align 4 dereferenceable(4) %51, ptr noundef nonnull align 4 dereferenceable(4) %52)
          to label %96 unwind label %145

96:                                               ; preds = %95
  invoke void @_ZN3cgp19mesh_primitive_discEfRKNS_14numarray_stackIfLi3EEES3_i(ptr dead_on_unwind writable sret(%"struct.cgp::mesh") align 8 %44, float noundef 1.000000e+00, ptr noundef nonnull align 4 dereferenceable(12) %45, ptr noundef nonnull align 4 dereferenceable(12) %49, i32 noundef 40)
          to label %97 unwind label %145

97:                                               ; preds = %96
  invoke void @_ZN3cgp13mesh_drawable22initialize_data_on_gpuERKNS_4meshERKNS_23opengl_shader_structureERKNS_30opengl_texture_image_structureE(ptr noundef nonnull align 8 dereferenceable(412) %94, ptr noundef nonnull align 8 dereferenceable(120) %44, ptr noundef nonnull align 4 dereferenceable(4) @_ZN3cgp13mesh_drawable14default_shaderE, ptr noundef nonnull align 4 dereferenceable(20) @_ZN3cgp13mesh_drawable15default_textureE)
          to label %98 unwind label %149

98:                                               ; preds = %97
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %44) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %49) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %45) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr %44) #7
  %99 = getelementptr inbounds %struct.scene_structure, ptr %80, i32 0, i32 11
  call void @llvm.lifetime.start.p0(i64 120, ptr %53) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %54) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #7
  store i32 0, ptr %55, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #7
  store i32 0, ptr %56, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #7
  store i32 0, ptr %57, align 4, !tbaa !11
  invoke void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %54, ptr noundef nonnull align 4 dereferenceable(4) %55, ptr noundef nonnull align 4 dereferenceable(4) %56, ptr noundef nonnull align 4 dereferenceable(4) %57)
          to label %100 unwind label %155

100:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 12, ptr %58) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #7
  store i32 1, ptr %59, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #7
  store i32 0, ptr %60, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %61) #7
  store i32 0, ptr %61, align 4, !tbaa !11
  invoke void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %58, ptr noundef nonnull align 4 dereferenceable(4) %59, ptr noundef nonnull align 4 dereferenceable(4) %60, ptr noundef nonnull align 4 dereferenceable(4) %61)
          to label %101 unwind label %159

101:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 12, ptr %62) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %63) #7
  store i32 1, ptr %63, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %64) #7
  store i32 1, ptr %64, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %65) #7
  store i32 0, ptr %65, align 4, !tbaa !11
  invoke void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %62, ptr noundef nonnull align 4 dereferenceable(4) %63, ptr noundef nonnull align 4 dereferenceable(4) %64, ptr noundef nonnull align 4 dereferenceable(4) %65)
          to label %102 unwind label %163

102:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 12, ptr %66) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %67) #7
  store i32 0, ptr %67, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %68) #7
  store i32 1, ptr %68, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %69) #7
  store i32 0, ptr %69, align 4, !tbaa !11
  invoke void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %66, ptr noundef nonnull align 4 dereferenceable(4) %67, ptr noundef nonnull align 4 dereferenceable(4) %68, ptr noundef nonnull align 4 dereferenceable(4) %69)
          to label %103 unwind label %167

103:                                              ; preds = %102
  invoke void @_ZN3cgp25mesh_primitive_quadrangleERKNS_14numarray_stackIfLi3EEES3_S3_S3_(ptr dead_on_unwind writable sret(%"struct.cgp::mesh") align 8 %53, ptr noundef nonnull align 4 dereferenceable(12) %54, ptr noundef nonnull align 4 dereferenceable(12) %58, ptr noundef nonnull align 4 dereferenceable(12) %62, ptr noundef nonnull align 4 dereferenceable(12) %66)
          to label %104 unwind label %167

104:                                              ; preds = %103
  invoke void @_ZN3cgp13mesh_drawable22initialize_data_on_gpuERKNS_4meshERKNS_23opengl_shader_structureERKNS_30opengl_texture_image_structureE(ptr noundef nonnull align 8 dereferenceable(412) %99, ptr noundef nonnull align 8 dereferenceable(120) %53, ptr noundef nonnull align 4 dereferenceable(4) @_ZN3cgp13mesh_drawable14default_shaderE, ptr noundef nonnull align 4 dereferenceable(20) @_ZN3cgp13mesh_drawable15default_textureE)
          to label %105 unwind label %171

105:                                              ; preds = %104
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %53) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %69) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %66) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %62) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %58) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %54) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr %53) #7
  %106 = getelementptr inbounds %struct.scene_structure, ptr %80, i32 0, i32 11
  %107 = getelementptr inbounds %"struct.cgp::mesh_drawable", ptr %106, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %70) #7
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %70, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7project4pathB5cxx11E, ptr noundef @.str)
          to label %108 unwind label %179

108:                                              ; preds = %105
  invoke void @_ZN3cgp30opengl_texture_image_structure37load_and_initialize_texture_2d_on_gpuERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiibii(ptr noundef nonnull align 4 dereferenceable(20) %107, ptr noundef nonnull align 8 dereferenceable(32) %70, i32 noundef 33071, i32 noundef 33071, i1 noundef zeroext true, i32 noundef 9729, i32 noundef 9987)
          to label %109 unwind label %183

109:                                              ; preds = %108
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %70) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %70) #7
  %110 = getelementptr inbounds %struct.scene_structure, ptr %80, i32 0, i32 11
  %111 = getelementptr inbounds %"struct.cgp::mesh_drawable", ptr %110, i32 0, i32 10
  %112 = getelementptr inbounds %"struct.cgp::affine", ptr %111, i32 0, i32 2
  store float 7.500000e-01, ptr %112, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %71) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %72) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %73) #7
  store i32 0, ptr %73, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %74) #7
  store i32 1, ptr %74, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %75) #7
  store i32 0, ptr %75, align 4, !tbaa !11
  invoke void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %72, ptr noundef nonnull align 4 dereferenceable(4) %73, ptr noundef nonnull align 4 dereferenceable(4) %74, ptr noundef nonnull align 4 dereferenceable(4) %75)
          to label %113 unwind label %188

113:                                              ; preds = %109
  %114 = invoke { <2 x float>, <2 x float> } @_ZN3cgp18rotation_transform15from_axis_angleERKNS_14numarray_stackIfLi3EEEf(ptr noundef nonnull align 4 dereferenceable(12) %72, float noundef 0x3FF0BF25A0000000)
          to label %115 unwind label %188

115:                                              ; preds = %113
  %116 = getelementptr inbounds %"struct.cgp::rotation_transform", ptr %71, i32 0, i32 0
  %117 = getelementptr inbounds %"struct.cgp::quaternion", ptr %116, i32 0, i32 0
  %118 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %117, i32 0, i32 0
  %119 = extractvalue { <2 x float>, <2 x float> } %114, 0
  store <2 x float> %119, ptr %118, align 4
  %120 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %117, i32 0, i32 1
  %121 = extractvalue { <2 x float>, <2 x float> } %114, 1
  store <2 x float> %121, ptr %120, align 4
  %122 = getelementptr inbounds %struct.scene_structure, ptr %80, i32 0, i32 11
  %123 = getelementptr inbounds %"struct.cgp::mesh_drawable", ptr %122, i32 0, i32 10
  %124 = getelementptr inbounds %"struct.cgp::affine", ptr %123, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %124, ptr align 4 %71, i64 16, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %73) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %72) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %71) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %76) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %77) #7
  store float 2.500000e-01, ptr %77, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %78) #7
  store i32 0, ptr %78, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %79) #7
  store float 0xBFB99999A0000000, ptr %79, align 4, !tbaa !9
  invoke void @_ZN3cgp14numarray_stackIfLi3EEC2IfifEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %76, ptr noundef nonnull align 4 dereferenceable(4) %77, ptr noundef nonnull align 4 dereferenceable(4) %78, ptr noundef nonnull align 4 dereferenceable(4) %79)
          to label %125 unwind label %192

125:                                              ; preds = %115
  %126 = getelementptr inbounds %struct.scene_structure, ptr %80, i32 0, i32 11
  %127 = getelementptr inbounds %"struct.cgp::mesh_drawable", ptr %126, i32 0, i32 10
  %128 = getelementptr inbounds %"struct.cgp::affine", ptr %127, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %128, ptr align 4 %76, i64 12, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 4, ptr %79) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %78) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %77) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %76) #7
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %35) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr %35) #7
  ret void

129:                                              ; preds = %1
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %33, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %34, align 4
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 28, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr %15) #7
  br label %197

133:                                              ; preds = %87
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %33, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %34, align 4
  br label %196

137:                                              ; preds = %89
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %33, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %34, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %40) #7
  br label %196

141:                                              ; preds = %90
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %33, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %34, align 4
  br label %154

145:                                              ; preds = %96, %95
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %33, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %34, align 4
  br label %153

149:                                              ; preds = %97
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %33, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %34, align 4
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %44) #7
  br label %153

153:                                              ; preds = %149, %145
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %49) #7
  br label %154

154:                                              ; preds = %153, %141
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %45) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr %44) #7
  br label %196

155:                                              ; preds = %98
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %33, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %34, align 4
  br label %178

159:                                              ; preds = %100
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %33, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %34, align 4
  br label %177

163:                                              ; preds = %101
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %33, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %34, align 4
  br label %176

167:                                              ; preds = %103, %102
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %33, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %34, align 4
  br label %175

171:                                              ; preds = %104
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %33, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %34, align 4
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %53) #7
  br label %175

175:                                              ; preds = %171, %167
  call void @llvm.lifetime.end.p0(i64 4, ptr %69) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %66) #7
  br label %176

176:                                              ; preds = %175, %163
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %62) #7
  br label %177

177:                                              ; preds = %176, %159
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %58) #7
  br label %178

178:                                              ; preds = %177, %155
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %54) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr %53) #7
  br label %196

179:                                              ; preds = %105
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %33, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %34, align 4
  br label %187

183:                                              ; preds = %108
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %33, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %34, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %70) #7
  br label %187

187:                                              ; preds = %183, %179
  call void @llvm.lifetime.end.p0(i64 32, ptr %70) #7
  br label %196

188:                                              ; preds = %113, %109
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %33, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %34, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %74) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %73) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %72) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %71) #7
  br label %196

192:                                              ; preds = %115
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %33, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %34, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %79) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %78) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %77) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %76) #7
  br label %196

196:                                              ; preds = %192, %188, %187, %178, %154, %137, %133
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %35) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr %35) #7
  br label %197

197:                                              ; preds = %196, %129
  %198 = load ptr, ptr %33, align 8
  %199 = load i32, ptr %34, align 4
  %200 = insertvalue { ptr, i32 } poison, ptr %198, 0
  %201 = insertvalue { ptr, i32 } %200, i32 %199, 1
  resume { ptr, i32 } %201
}

declare void @_ZN3cgp30camera_controller_generic_base10initializeERNS_13input_devicesERNS_16window_structureE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(100), ptr noundef nonnull align 8 dereferenceable(41)) #1

declare void @_ZN3cgp29camera_controller_orbit_euler19set_rotation_axis_yEv(ptr noundef nonnull align 8 dereferenceable(72)) #1

declare void @_ZN3cgp29camera_controller_orbit_euler7look_atERKNS_14numarray_stackIfLi3EEES4_S4_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #1

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

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

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

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

declare void @_ZN3cgp13mesh_drawable22initialize_data_on_gpuERKNS_4meshERKNS_23opengl_shader_structureERKNS_30opengl_texture_image_structureE(ptr noundef nonnull align 8 dereferenceable(412), ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(20)) #1

declare void @_ZN3cgp20mesh_primitive_frameERKNS_5frameEfRKNS_14numarray_stackIfLi3EEES6_S6_S6_f(ptr dead_on_unwind writable sret(%"struct.cgp::mesh") align 8, ptr noundef nonnull align 4 dereferenceable(28), float noundef, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), float noundef) #1

declare void @_ZN3cgp5frameC1Ev(ptr noundef nonnull align 4 dereferenceable(28)) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN3cgp19mesh_primitive_cubeERKNS_14numarray_stackIfLi3EEEf(ptr dead_on_unwind writable sret(%"struct.cgp::mesh") align 8, ptr noundef nonnull align 4 dereferenceable(12), float noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3cgp14numarray_stackIfLi3EEC2IiidEERKT_RKT0_RKT1_(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 8 dereferenceable(8)) unnamed_addr #3 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

declare void @_ZN3cgp19mesh_primitive_discEfRKNS_14numarray_stackIfLi3EEES3_i(ptr dead_on_unwind writable sret(%"struct.cgp::mesh") align 8, float noundef, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), i32 noundef) #1

declare void @_ZN3cgp25mesh_primitive_quadrangleERKNS_14numarray_stackIfLi3EEES3_S3_S3_(ptr dead_on_unwind writable sret(%"struct.cgp::mesh") align 8, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #1

declare void @_ZN3cgp30opengl_texture_image_structure37load_and_initialize_texture_2d_on_gpuERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiibii(ptr noundef nonnull align 4 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, i32 noundef, i1 noundef zeroext, i32 noundef, i32 noundef) #1

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

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

declare { <2 x float>, <2 x float> } @_ZN3cgp18rotation_transform15from_axis_angleERKNS_14numarray_stackIfLi3EEEf(ptr noundef nonnull align 4 dereferenceable(12), float noundef) #1

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

attributes #0 = { 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 #1 = { "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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 #7 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 4, !9}
!16 = !{!17, !10, i64 2320}
!17 = !{!"_ZTS15scene_structure", !18, i64 0, !24, i64 72, !25, i64 88, !26, i64 136, !56, i64 552, !83, i64 1096, !96, i64 1200, !97, i64 1204, !26, i64 1224, !26, i64 1640, !26, i64 2056}
!18 = !{!"_ZTSN3cgp29camera_controller_orbit_eulerE", !19, i64 0, !21, i64 24}
!19 = !{!"_ZTSN3cgp30camera_controller_generic_baseE", !20, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"bool", !7, i64 0}
!21 = !{!"_ZTSN3cgp18camera_orbit_eulerE", !22, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !23, i64 20, !23, i64 32, !10, i64 44}
!22 = !{!"_ZTSN3cgp19camera_generic_baseE"}
!23 = !{!"_ZTSN3cgp14numarray_stackIfLi3EEE", !10, i64 0, !10, i64 4, !10, i64 8}
!24 = !{!"_ZTSN3cgp29camera_projection_perspectiveE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!25 = !{!"_ZTSN3cgp16window_structureE", !6, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !20, i64 40}
!26 = !{!"_ZTSN3cgp13mesh_drawableE", !27, i64 0, !28, i64 4, !29, i64 24, !38, i64 72, !38, i64 100, !38, i64 128, !38, i64 156, !41, i64 184, !45, i64 208, !12, i64 232, !46, i64 236, !50, i64 280, !51, i64 312, !53, i64 376}
!27 = !{!"_ZTSN3cgp23opengl_shader_structureE", !12, i64 0}
!28 = !{!"_ZTSN3cgp30opengl_texture_image_structureE", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16}
!29 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3cgp30opengl_texture_image_structureESt4lessIS5_ESaISt4pairIKS5_S7_EEE", !30, i64 0}
!30 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp30opengl_texture_image_structureEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE", !31, i64 0}
!31 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp30opengl_texture_image_structureEESt10_Select1stISA_ESt4lessIS5_ESaISA_EE13_Rb_tree_implISE_Lb1EEE", !32, i64 0, !34, i64 8}
!32 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !33, i64 0}
!33 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!34 = !{!"_ZTSSt15_Rb_tree_header", !35, i64 0, !37, i64 32}
!35 = !{!"_ZTSSt18_Rb_tree_node_base", !36, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!36 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!37 = !{!"long", !7, i64 0}
!38 = !{!"_ZTSN3cgp20opengl_vbo_structureE", !39, i64 0, !12, i64 24}
!39 = !{!"_ZTSN3cgp17opengl_gpu_bufferE", !12, i64 0, !12, i64 4, !12, i64 8, !40, i64 12}
!40 = !{!"_ZTSN3cgp25opengl_gpu_buffer_detailsE", !12, i64 0, !12, i64 4, !12, i64 8}
!41 = !{!"_ZTSSt6vectorIN3cgp20opengl_vbo_structureESaIS1_EE", !42, i64 0}
!42 = !{!"_ZTSSt12_Vector_baseIN3cgp20opengl_vbo_structureESaIS1_EE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIN3cgp20opengl_vbo_structureESaIS1_EE12_Vector_implE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseIN3cgp20opengl_vbo_structureESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!45 = !{!"_ZTSN3cgp20opengl_ebo_structureE", !39, i64 0}
!46 = !{!"_ZTSN3cgp6affineE", !47, i64 0, !23, i64 16, !10, i64 28, !23, i64 32}
!47 = !{!"_ZTSN3cgp18rotation_transformE", !48, i64 0}
!48 = !{!"_ZTSN3cgp10quaternionE", !49, i64 0}
!49 = !{!"_ZTSN3cgp14numarray_stackIfLi4EEE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!50 = !{!"_ZTSN3cgp10affine_rtsE", !47, i64 0, !23, i64 16, !10, i64 28}
!51 = !{!"_ZTSN3cgp12matrix_stackIfLi4ELi4EEE", !52, i64 0}
!52 = !{!"_ZTSN3cgp14numarray_stackINS0_IfLi4EEELi4EEE", !49, i64 0, !49, i64 16, !49, i64 32, !49, i64 48}
!53 = !{!"_ZTSN3cgp28material_mesh_drawable_phongE", !23, i64 0, !10, i64 12, !54, i64 16, !55, i64 32}
!54 = !{!"_ZTSN3cgp16phong_parametersE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!55 = !{!"_ZTSN3cgp27texture_settings_parametersE", !20, i64 0, !20, i64 1, !20, i64 2}
!56 = !{!"_ZTS21environment_structure", !57, i64 0, !23, i64 8, !51, i64 20, !51, i64 84, !23, i64 148, !58, i64 160}
!57 = !{!"_ZTSN3cgp29environment_generic_structureE"}
!58 = !{!"_ZTSN3cgp25uniform_generic_structureE", !59, i64 0, !62, i64 48, !65, i64 96, !68, i64 144, !71, i64 192, !74, i64 240, !77, i64 288, !80, i64 336}
!59 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEE", !60, i64 0}
!60 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !61, i64 0}
!61 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !32, i64 0, !34, i64 8}
!62 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEfSt4lessIS5_ESaISt4pairIKS5_fEEE", !63, i64 0}
!63 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_fESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !64, i64 0}
!64 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_fESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !32, i64 0, !34, i64 8}
!65 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3cgp14numarray_stackIfLi2EEESt4lessIS5_ESaISt4pairIKS5_S8_EEE", !66, i64 0}
!66 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp14numarray_stackIfLi2EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE", !67, i64 0}
!67 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp14numarray_stackIfLi2EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE13_Rb_tree_implISF_Lb1EEE", !32, i64 0, !34, i64 8}
!68 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3cgp14numarray_stackIfLi3EEESt4lessIS5_ESaISt4pairIKS5_S8_EEE", !69, i64 0}
!69 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp14numarray_stackIfLi3EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE", !70, i64 0}
!70 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp14numarray_stackIfLi3EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE13_Rb_tree_implISF_Lb1EEE", !32, i64 0, !34, i64 8}
!71 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3cgp14numarray_stackIfLi4EEESt4lessIS5_ESaISt4pairIKS5_S8_EEE", !72, i64 0}
!72 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp14numarray_stackIfLi4EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE", !73, i64 0}
!73 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp14numarray_stackIfLi4EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE13_Rb_tree_implISF_Lb1EEE", !32, i64 0, !34, i64 8}
!74 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3cgp12matrix_stackIfLi2ELi2EEESt4lessIS5_ESaISt4pairIKS5_S8_EEE", !75, i64 0}
!75 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp12matrix_stackIfLi2ELi2EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE", !76, i64 0}
!76 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp12matrix_stackIfLi2ELi2EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE13_Rb_tree_implISF_Lb1EEE", !32, i64 0, !34, i64 8}
!77 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3cgp12matrix_stackIfLi3ELi3EEESt4lessIS5_ESaISt4pairIKS5_S8_EEE", !78, i64 0}
!78 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp12matrix_stackIfLi3ELi3EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE", !79, i64 0}
!79 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp12matrix_stackIfLi3ELi3EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE13_Rb_tree_implISF_Lb1EEE", !32, i64 0, !34, i64 8}
!80 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN3cgp12matrix_stackIfLi4ELi4EEESt4lessIS5_ESaISt4pairIKS5_S8_EEE", !81, i64 0}
!81 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp12matrix_stackIfLi4ELi4EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE", !82, i64 0}
!82 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N3cgp12matrix_stackIfLi4ELi4EEEESt10_Select1stISB_ESt4lessIS5_ESaISB_EE13_Rb_tree_implISF_Lb1EEE", !32, i64 0, !34, i64 8}
!83 = !{!"_ZTSN3cgp13input_devicesE", !84, i64 0, !91, i64 64, !10, i64 96}
!84 = !{!"_ZTSN3cgp26inputs_keyboard_parametersE", !20, i64 0, !20, i64 1, !20, i64 2, !20, i64 3, !20, i64 4, !20, i64 5, !85, i64 8, !86, i64 16}
!85 = !{!"_ZTSN3cgp37inputs_keyboard_last_action_parameterE", !12, i64 0, !12, i64 4}
!86 = !{!"_ZTSSt3setIiSt4lessIiESaIiEE", !87, i64 0}
!87 = !{!"_ZTSSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE", !88, i64 0}
!88 = !{!"_ZTSNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE13_Rb_tree_implIS3_Lb1EEE", !89, i64 0, !34, i64 8}
!89 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !90, i64 0}
!90 = !{!"_ZTSSt4lessIiE"}
!91 = !{!"_ZTSN3cgp23inputs_mouse_parametersE", !92, i64 0, !94, i64 16, !10, i64 24, !20, i64 28}
!92 = !{!"_ZTSN3cgp39inputs_mouse_cursor_position_parametersE", !93, i64 0, !93, i64 8}
!93 = !{!"_ZTSN3cgp14numarray_stackIfLi2EEE", !10, i64 0, !10, i64 4}
!94 = !{!"_ZTSN3cgp36inputs_mouse_cursor_click_parametersE", !20, i64 0, !20, i64 1, !95, i64 4}
!95 = !{!"_ZTSN3cgp24last_mouse_cursor_actionE", !7, i64 0}
!96 = !{!"_ZTS14gui_parameters", !20, i64 0, !20, i64 1}
!97 = !{!"_ZTSN3cgp11timer_basicE", !10, i64 0, !10, i64 4, !20, i64 8, !10, i64 12}


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

%"struct.cgp::opengl_shader_structure" = type { i32 }
%"struct.cgp::opengl_texture_image_structure" = type { i32, i32, i32, i32, i32 }
%"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] }
%"struct.cgp::numarray_stack" = type { float, float, float }
%"struct.cgp::mesh" = type { %"struct.cgp::numarray", %"struct.cgp::numarray", %"struct.cgp::numarray", %"struct.cgp::numarray.56", %"struct.cgp::numarray.62" }
%"struct.cgp::numarray" = type { %"class.std::vector.51" }
%"class.std::vector.51" = type { %"struct.std::_Vector_base.52" }
%"struct.std::_Vector_base.52" = type { %"struct.std::_Vector_base<cgp::numarray_stack<float, 3>, std::allocator<cgp::numarray_stack<float, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<cgp::numarray_stack<float, 3>, std::allocator<cgp::numarray_stack<float, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgp::numarray_stack<float, 3>, std::allocator<cgp::numarray_stack<float, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgp::numarray_stack<float, 3>, std::allocator<cgp::numarray_stack<float, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.cgp::numarray.56" = type { %"class.std::vector.57" }
%"class.std::vector.57" = type { %"struct.std::_Vector_base.58" }
%"struct.std::_Vector_base.58" = type { %"struct.std::_Vector_base<cgp::numarray_stack<float, 2>, std::allocator<cgp::numarray_stack<float, 2>>>::_Vector_impl" }
%"struct.std::_Vector_base<cgp::numarray_stack<float, 2>, std::allocator<cgp::numarray_stack<float, 2>>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgp::numarray_stack<float, 2>, std::allocator<cgp::numarray_stack<float, 2>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgp::numarray_stack<float, 2>, std::allocator<cgp::numarray_stack<float, 2>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.cgp::numarray.62" = type { %"class.std::vector.63" }
%"class.std::vector.63" = type { %"struct.std::_Vector_base.64" }
%"struct.std::_Vector_base.64" = type { %"struct.std::_Vector_base<cgp::numarray_stack<unsigned int, 3>, std::allocator<cgp::numarray_stack<unsigned int, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<cgp::numarray_stack<unsigned int, 3>, std::allocator<cgp::numarray_stack<unsigned int, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgp::numarray_stack<unsigned int, 3>, std::allocator<cgp::numarray_stack<unsigned int, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgp::numarray_stack<unsigned int, 3>, std::allocator<cgp::numarray_stack<unsigned int, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.cgp::frame" = type { %"struct.cgp::rotation_transform", %"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 }

@_ZN3cgp13mesh_drawable14default_shaderE = external global %"struct.cgp::opengl_shader_structure", align 4
@_ZN3cgp13mesh_drawable15default_textureE = external global %"struct.cgp::opengl_texture_image_structure", align 4
@_ZN7project4pathB5cxx11E = external global %"class.std::__cxx11::basic_string", align 8
@.str = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15scene_structure10initializeEv(ptr noundef nonnull align 8 dereferenceable(2472) %0) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"struct.cgp::numarray_stack", align 4
  %3 = alloca float, align 4
  %4 = alloca float, align 4
  %5 = alloca float, align 4
  %6 = alloca %"struct.cgp::numarray_stack", align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %"struct.cgp::numarray_stack", align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %"struct.cgp::mesh", align 8
  %15 = alloca %"struct.cgp::frame", align 4
  %16 = alloca %"struct.cgp::numarray_stack", align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca %"struct.cgp::numarray_stack", align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca %"struct.cgp::numarray_stack", align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca %"struct.cgp::numarray_stack", align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca %"struct.cgp::mesh", align 8
  %33 = alloca %"struct.cgp::numarray_stack", align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca %"struct.cgp::numarray_stack", align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca double, align 8
  %41 = alloca %"struct.cgp::mesh", align 8
  %42 = alloca %"struct.cgp::numarray_stack", align 4
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca %"struct.cgp::numarray_stack", align 4
  %47 = alloca i32, align 4
  %48 = alloca i32, align 4
  %49 = alloca i32, align 4
  %50 = alloca %"struct.cgp::mesh", align 8
  %51 = alloca %"struct.cgp::numarray_stack", align 4
  %52 = alloca i32, align 4
  %53 = alloca i32, align 4
  %54 = alloca i32, align 4
  %55 = alloca %"struct.cgp::numarray_stack", align 4
  %56 = alloca i32, align 4
  %57 = alloca i32, align 4
  %58 = alloca i32, align 4
  %59 = alloca %"struct.cgp::numarray_stack", align 4
  %60 = alloca i32, align 4
  %61 = alloca i32, align 4
  %62 = alloca i32, align 4
  %63 = alloca %"struct.cgp::numarray_stack", align 4
  %64 = alloca i32, align 4
  %65 = alloca i32, align 4
  %66 = alloca i32, align 4
  %67 = alloca %"class.std::__cxx11::basic_string", align 8
  %68 = alloca %"struct.cgp::numarray_stack", align 4
  %69 = alloca i32, align 4
  %70 = alloca i32, align 4
  %71 = alloca i32, align 4
  %72 = alloca %"struct.cgp::numarray_stack", align 4
  %73 = alloca float, align 4
  %74 = alloca i32, align 4
  %75 = alloca float, align 4
  %76 = getelementptr inbounds i8, ptr %0, i64 1096
  %77 = getelementptr inbounds i8, ptr %0, i64 88
  tail call void @_ZN3cgp30camera_controller_generic_base10initializeERNS_13input_devicesERNS_16window_structureE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(100) %76, ptr noundef nonnull align 8 dereferenceable(41) %77)
  tail call void @_ZN3cgp29camera_controller_orbit_euler19set_rotation_axis_yEv(ptr noundef nonnull align 8 dereferenceable(72) %0)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  store float 3.000000e+00, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  store float 2.000000e+00, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  store float 2.000000e+00, ptr %5, align 4, !tbaa !5
  call void @_ZN3cgp14numarray_stackIfLi3EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #7
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(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)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #7
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #7
  store i32 1, ptr %13, align 4, !tbaa !9
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %13)
  call void @_ZN3cgp29camera_controller_orbit_euler7look_atERKNS_14numarray_stackIfLi3EEES4_S4_(ptr noundef nonnull align 8 dereferenceable(72) %0, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %10)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #7
  %78 = getelementptr inbounds i8, ptr %0, i64 136
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %15) #7
  call void @_ZN3cgp5frameC1Ev(ptr noundef nonnull align 4 dereferenceable(28) %15)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #7
  store i32 1, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #7
  store i32 0, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #7
  store i32 0, ptr %19, align 4, !tbaa !9
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(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)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %20) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #7
  store i32 0, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #7
  store i32 1, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #7
  store i32 0, ptr %23, align 4, !tbaa !9
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %20, ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(4) %22, ptr noundef nonnull align 4 dereferenceable(4) %23)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #7
  store i32 0, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #7
  store i32 0, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %27) #7
  store i32 1, ptr %27, align 4, !tbaa !9
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %24, ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 4 dereferenceable(4) %27)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %28) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #7
  store i32 1, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %30) #7
  store i32 1, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %31) #7
  store i32 1, ptr %31, align 4, !tbaa !9
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %28, ptr noundef nonnull align 4 dereferenceable(4) %29, ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef nonnull align 4 dereferenceable(4) %31)
  call void @_ZN3cgp20mesh_primitive_frameERKNS_5frameEfRKNS_14numarray_stackIfLi3EEES6_S6_S6_f(ptr dead_on_unwind nonnull writable sret(%"struct.cgp::mesh") align 8 %14, ptr noundef nonnull align 4 dereferenceable(28) %15, float noundef 1.000000e+00, ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %20, ptr noundef nonnull align 4 dereferenceable(12) %24, ptr noundef nonnull align 4 dereferenceable(12) %28, float noundef 0x3F999999A0000000)
  invoke void @_ZN3cgp13mesh_drawable22initialize_data_on_gpuERKNS_4meshERKNS_23opengl_shader_structureERKNS_30opengl_texture_image_structureE(ptr noundef nonnull align 8 dereferenceable(412) %78, ptr noundef nonnull align 8 dereferenceable(120) %14, ptr noundef nonnull align 4 dereferenceable(4) @_ZN3cgp13mesh_drawable14default_shaderE, ptr noundef nonnull align 4 dereferenceable(20) @_ZN3cgp13mesh_drawable15default_textureE)
          to label %79 unwind label %99

79:                                               ; preds = %1
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %32) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %33) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %34) #7
  store i32 0, ptr %34, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %35) #7
  store i32 0, ptr %35, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %36) #7
  store i32 0, ptr %36, align 4, !tbaa !9
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %33, ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef nonnull align 4 dereferenceable(4) %36)
  call void @_ZN3cgp19mesh_primitive_cubeERKNS_14numarray_stackIfLi3EEEf(ptr dead_on_unwind nonnull writable sret(%"struct.cgp::mesh") align 8 %32, ptr noundef nonnull align 4 dereferenceable(12) %33, float noundef 5.000000e-01)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %36) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %35) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %33) #7
  %80 = getelementptr inbounds i8, ptr %0, i64 1224
  invoke void @_ZN3cgp13mesh_drawable22initialize_data_on_gpuERKNS_4meshERKNS_23opengl_shader_structureERKNS_30opengl_texture_image_structureE(ptr noundef nonnull align 8 dereferenceable(412) %80, ptr noundef nonnull align 8 dereferenceable(120) %32, ptr noundef nonnull align 4 dereferenceable(4) @_ZN3cgp13mesh_drawable14default_shaderE, ptr noundef nonnull align 4 dereferenceable(20) @_ZN3cgp13mesh_drawable15default_textureE)
          to label %81 unwind label %101

81:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %37) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %38) #7
  store i32 1, ptr %38, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %39) #7
  store i32 1, ptr %39, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %40) #7
  store double 8.000000e-01, ptr %40, align 8, !tbaa !11
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiidEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %37, ptr noundef nonnull align 4 dereferenceable(4) %38, ptr noundef nonnull align 4 dereferenceable(4) %39, ptr noundef nonnull align 8 dereferenceable(8) %40)
  %82 = getelementptr inbounds i8, ptr %0, i64 1600
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %82, ptr noundef nonnull align 4 dereferenceable(12) %37, i64 12, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %40) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %39) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %38) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %37) #7
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %41) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %42) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %43) #7
  store i32 0, ptr %43, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %44) #7
  store i32 0, ptr %44, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %45) #7
  store i32 0, ptr %45, align 4, !tbaa !9
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %42, ptr noundef nonnull align 4 dereferenceable(4) %43, ptr noundef nonnull align 4 dereferenceable(4) %44, ptr noundef nonnull align 4 dereferenceable(4) %45)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %46) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %47) #7
  store i32 0, ptr %47, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %48) #7
  store i32 1, ptr %48, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %49) #7
  store i32 0, ptr %49, align 4, !tbaa !9
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %46, ptr noundef nonnull align 4 dereferenceable(4) %47, ptr noundef nonnull align 4 dereferenceable(4) %48, ptr noundef nonnull align 4 dereferenceable(4) %49)
  invoke void @_ZN3cgp19mesh_primitive_discEfRKNS_14numarray_stackIfLi3EEES3_i(ptr dead_on_unwind nonnull writable sret(%"struct.cgp::mesh") align 8 %41, float noundef 1.000000e+00, ptr noundef nonnull align 4 dereferenceable(12) %42, ptr noundef nonnull align 4 dereferenceable(12) %46, i32 noundef 40)
          to label %83 unwind label %103

83:                                               ; preds = %81
  %84 = getelementptr inbounds i8, ptr %0, i64 1640
  invoke void @_ZN3cgp13mesh_drawable22initialize_data_on_gpuERKNS_4meshERKNS_23opengl_shader_structureERKNS_30opengl_texture_image_structureE(ptr noundef nonnull align 8 dereferenceable(412) %84, ptr noundef nonnull align 8 dereferenceable(120) %41, ptr noundef nonnull align 4 dereferenceable(4) @_ZN3cgp13mesh_drawable14default_shaderE, ptr noundef nonnull align 4 dereferenceable(20) @_ZN3cgp13mesh_drawable15default_textureE)
          to label %85 unwind label %105

85:                                               ; preds = %83
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %41) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %49) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %48) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %47) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %46) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %45) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %44) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %43) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %42) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %41) #7
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %50) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %51) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %52) #7
  store i32 0, ptr %52, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %53) #7
  store i32 0, ptr %53, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %54) #7
  store i32 0, ptr %54, align 4, !tbaa !9
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %51, ptr noundef nonnull align 4 dereferenceable(4) %52, ptr noundef nonnull align 4 dereferenceable(4) %53, ptr noundef nonnull align 4 dereferenceable(4) %54)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %55) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %56) #7
  store i32 1, ptr %56, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %57) #7
  store i32 0, ptr %57, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %58) #7
  store i32 0, ptr %58, align 4, !tbaa !9
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %55, ptr noundef nonnull align 4 dereferenceable(4) %56, ptr noundef nonnull align 4 dereferenceable(4) %57, ptr noundef nonnull align 4 dereferenceable(4) %58)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %59) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %60) #7
  store i32 1, ptr %60, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %61) #7
  store i32 1, ptr %61, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %62) #7
  store i32 0, ptr %62, align 4, !tbaa !9
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %59, ptr noundef nonnull align 4 dereferenceable(4) %60, ptr noundef nonnull align 4 dereferenceable(4) %61, ptr noundef nonnull align 4 dereferenceable(4) %62)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %63) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %64) #7
  store i32 0, ptr %64, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %65) #7
  store i32 1, ptr %65, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %66) #7
  store i32 0, ptr %66, align 4, !tbaa !9
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %63, ptr noundef nonnull align 4 dereferenceable(4) %64, ptr noundef nonnull align 4 dereferenceable(4) %65, ptr noundef nonnull align 4 dereferenceable(4) %66)
  invoke void @_ZN3cgp25mesh_primitive_quadrangleERKNS_14numarray_stackIfLi3EEES3_S3_S3_(ptr dead_on_unwind nonnull writable sret(%"struct.cgp::mesh") align 8 %50, ptr noundef nonnull align 4 dereferenceable(12) %51, ptr noundef nonnull align 4 dereferenceable(12) %55, ptr noundef nonnull align 4 dereferenceable(12) %59, ptr noundef nonnull align 4 dereferenceable(12) %63)
          to label %86 unwind label %108

86:                                               ; preds = %85
  %87 = getelementptr inbounds i8, ptr %0, i64 2056
  invoke void @_ZN3cgp13mesh_drawable22initialize_data_on_gpuERKNS_4meshERKNS_23opengl_shader_structureERKNS_30opengl_texture_image_structureE(ptr noundef nonnull align 8 dereferenceable(412) %87, ptr noundef nonnull align 8 dereferenceable(120) %50, ptr noundef nonnull align 4 dereferenceable(4) @_ZN3cgp13mesh_drawable14default_shaderE, ptr noundef nonnull align 4 dereferenceable(20) @_ZN3cgp13mesh_drawable15default_textureE)
          to label %88 unwind label %110

88:                                               ; preds = %86
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %50) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %66) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %65) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %64) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %63) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %62) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %61) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %60) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %59) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %58) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %57) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %56) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %55) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %54) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %53) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %52) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %51) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %50) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %67) #7
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %67, ptr noundef nonnull align 8 dereferenceable(32) @_ZN7project4pathB5cxx11E, ptr noundef nonnull @.str)
          to label %89 unwind label %113

89:                                               ; preds = %88
  %90 = getelementptr inbounds i8, ptr %0, i64 2060
  invoke void @_ZN3cgp30opengl_texture_image_structure37load_and_initialize_texture_2d_on_gpuERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiibii(ptr noundef nonnull align 4 dereferenceable(20) %90, ptr noundef nonnull align 8 dereferenceable(32) %67, i32 noundef 33071, i32 noundef 33071, i1 noundef zeroext true, i32 noundef 9729, i32 noundef 9987)
          to label %91 unwind label %115

91:                                               ; preds = %89
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %67) #7
  %92 = getelementptr inbounds i8, ptr %0, i64 2320
  store float 7.500000e-01, ptr %92, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %68) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %69) #7
  store i32 0, ptr %69, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %70) #7
  store i32 1, ptr %70, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %71) #7
  store i32 0, ptr %71, align 4, !tbaa !9
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %68, ptr noundef nonnull align 4 dereferenceable(4) %69, ptr noundef nonnull align 4 dereferenceable(4) %70, ptr noundef nonnull align 4 dereferenceable(4) %71)
  %93 = invoke { <2 x float>, <2 x float> } @_ZN3cgp18rotation_transform15from_axis_angleERKNS_14numarray_stackIfLi3EEEf(ptr noundef nonnull align 4 dereferenceable(12) %68, float noundef 0x3FF0BF25A0000000)
          to label %94 unwind label %118

94:                                               ; preds = %91
  %95 = getelementptr inbounds i8, ptr %0, i64 2292
  %96 = extractvalue { <2 x float>, <2 x float> } %93, 0
  %97 = extractvalue { <2 x float>, <2 x float> } %93, 1
  store <2 x float> %96, ptr %95, align 4
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 2300
  store <2 x float> %97, ptr %.sroa.5.0..sroa_idx, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %71) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %70) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %69) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %68) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %72) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %73) #7
  store float 2.500000e-01, ptr %73, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %74) #7
  store i32 0, ptr %74, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %75) #7
  store float 0xBFB99999A0000000, ptr %75, align 4, !tbaa !5
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IfifEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %72, ptr noundef nonnull align 4 dereferenceable(4) %73, ptr noundef nonnull align 4 dereferenceable(4) %74, ptr noundef nonnull align 4 dereferenceable(4) %75)
  %98 = getelementptr inbounds i8, ptr %0, i64 2308
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %98, ptr noundef nonnull align 4 dereferenceable(12) %72, i64 12, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %75) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %74) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %73) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %72) #7
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %32) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %32) #7
  ret void

99:                                               ; preds = %1
  %100 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %14) #7
  br label %121

101:                                              ; preds = %79
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %120

103:                                              ; preds = %81
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %107

105:                                              ; preds = %83
  %106 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %41) #7
  br label %107

107:                                              ; preds = %105, %103
  %.pn = phi { ptr, i32 } [ %106, %105 ], [ %104, %103 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %49) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %48) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %47) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %46) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %45) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %44) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %43) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %42) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %41) #7
  br label %120

108:                                              ; preds = %85
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %112

110:                                              ; preds = %86
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %50) #7
  br label %112

112:                                              ; preds = %110, %108
  %.pn8 = phi { ptr, i32 } [ %111, %110 ], [ %109, %108 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %66) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %65) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %64) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %63) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %62) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %61) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %60) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %59) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %58) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %57) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %56) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %55) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %54) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %53) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %52) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %51) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %50) #7
  br label %120

113:                                              ; preds = %88
  %114 = landingpad { ptr, i32 }
          cleanup
  br label %117

115:                                              ; preds = %89
  %116 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #7
  br label %117

117:                                              ; preds = %115, %113
  %.pn10 = phi { ptr, i32 } [ %116, %115 ], [ %114, %113 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %67) #7
  br label %120

118:                                              ; preds = %91
  %119 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %71) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %70) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %69) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %68) #7
  br label %120

120:                                              ; preds = %118, %117, %112, %107, %101
  %.pn12 = phi { ptr, i32 } [ %119, %118 ], [ %.pn10, %117 ], [ %.pn8, %112 ], [ %.pn, %107 ], [ %102, %101 ]
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %32) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %32) #7
  br label %121

121:                                              ; preds = %120, %99
  %.pn12.pn = phi { ptr, i32 } [ %.pn12, %120 ], [ %100, %99 ]
  resume { ptr, i32 } %.pn12.pn
}

declare void @_ZN3cgp30camera_controller_generic_base10initializeERNS_13input_devicesERNS_16window_structureE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(100), ptr noundef nonnull align 8 dereferenceable(41)) local_unnamed_addr #1

declare void @_ZN3cgp29camera_controller_orbit_euler19set_rotation_axis_yEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #1

declare void @_ZN3cgp29camera_controller_orbit_euler7look_atERKNS_14numarray_stackIfLi3EEES4_S4_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1

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

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

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

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

declare void @_ZN3cgp13mesh_drawable22initialize_data_on_gpuERKNS_4meshERKNS_23opengl_shader_structureERKNS_30opengl_texture_image_structureE(ptr noundef nonnull align 8 dereferenceable(412), ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(20)) local_unnamed_addr #1

declare void @_ZN3cgp20mesh_primitive_frameERKNS_5frameEfRKNS_14numarray_stackIfLi3EEES6_S6_S6_f(ptr dead_on_unwind writable sret(%"struct.cgp::mesh") align 8, ptr noundef nonnull align 4 dereferenceable(28), float noundef, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), float noundef) local_unnamed_addr #1

declare void @_ZN3cgp5frameC1Ev(ptr noundef nonnull align 4 dereferenceable(28)) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN3cgp19mesh_primitive_cubeERKNS_14numarray_stackIfLi3EEEf(ptr dead_on_unwind writable sret(%"struct.cgp::mesh") align 8, ptr noundef nonnull align 4 dereferenceable(12), float noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3cgp14numarray_stackIfLi3EEC2IiidEERKT_RKT0_RKT1_(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 8 dereferenceable(8)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

declare void @_ZN3cgp19mesh_primitive_discEfRKNS_14numarray_stackIfLi3EEES3_i(ptr dead_on_unwind writable sret(%"struct.cgp::mesh") align 8, float noundef, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), i32 noundef) local_unnamed_addr #1

declare void @_ZN3cgp25mesh_primitive_quadrangleERKNS_14numarray_stackIfLi3EEES3_S3_S3_(ptr dead_on_unwind writable sret(%"struct.cgp::mesh") align 8, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1

declare void @_ZN3cgp30opengl_texture_image_structure37load_and_initialize_texture_2d_on_gpuERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiibii(ptr noundef nonnull align 4 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, i32 noundef, i1 noundef zeroext, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_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 #6

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

declare { <2 x float>, <2 x float> } @_ZN3cgp18rotation_transform15from_axis_angleERKNS_14numarray_stackIfLi3EEEf(ptr noundef nonnull align 4 dereferenceable(12), float noundef) local_unnamed_addr #1

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

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


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