; LLVM IR from drohmer/cgp :: library/cgp/19_camera_controller/camera_controller_fly_mode/camera_controller_fly_3ecf0066 (stackIfLi4ELi4EEE)

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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"struct.cgp::camera_controller_generic_base" = type { i8, ptr, ptr }
%"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" }
%"class.std::_Rb_tree" = 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.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.cgp::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.4", %"struct.cgp::numarray_stack.4" }
%"struct.cgp::numarray_stack.4" = type { float, float }
%"struct.cgp::inputs_mouse_cursor_click_parameters" = type { i8, i8, i32 }
%"struct.cgp::camera_controller_first_person" = type <{ %"struct.cgp::camera_controller_generic_base", %"struct.cgp::camera_first_person", float, float, i8, [7 x i8] }>
%"struct.cgp::camera_first_person" = type <{ %"struct.cgp::camera_generic_base", %"struct.cgp::rotation_transform", %"struct.cgp::numarray_stack.0", [4 x i8] }>
%"struct.cgp::camera_generic_base" = type { ptr }
%"struct.cgp::rotation_transform" = type { %"struct.cgp::quaternion" }
%"struct.cgp::quaternion" = type { %"struct.cgp::numarray_stack" }
%"struct.cgp::numarray_stack" = type { float, float, float, float }
%"struct.cgp::numarray_stack.0" = type { float, float, float }
%"struct.cgp::camera_controller_fly_mode" = type { %"struct.cgp::camera_controller_first_person.base", float, float, float, float, float, float, [4 x i8] }
%"struct.cgp::camera_controller_first_person.base" = type <{ %"struct.cgp::camera_controller_generic_base", %"struct.cgp::camera_first_person", float, float, i8 }>

@.str = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [136 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [18 x i8], align 1
@__func__._ZN3cgp26camera_controller_fly_mode10idle_frameERNS_12matrix_stackIfLi4ELi4EEE = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: noreturn
declare void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) #0

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

declare void @_ZN3cgp19camera_first_person33manipulator_rotate_roll_pitch_yawEfff(ptr noundef nonnull align 8 dereferenceable(36), float noundef, float noundef, float noundef) #4

declare void @_ZN3cgp30camera_controller_first_person6updateERNS_12matrix_stackIfLi4ELi4EEE(ptr noundef nonnull align 8 dereferenceable(73), ptr noundef nonnull align 4 dereferenceable(64)) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3cgp26camera_controller_fly_mode10idle_frameERNS_12matrix_stackIfLi4ELi4EEE(ptr noundef nonnull align 8 dereferenceable(100) %0, ptr noundef nonnull align 4 dereferenceable(64) %1) #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator", align 1
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator", align 1
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator", align 1
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator", align 1
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator", align 1
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = alloca float, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %26 = load ptr, ptr %3, align 8
  %27 = getelementptr inbounds %"struct.cgp::camera_controller_generic_base", ptr %26, i32 0, i32 1
  %28 = load ptr, ptr %27, align 8, !tbaa !9
  %29 = icmp ne ptr %28, null
  %30 = zext i1 %29 to i32
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %32, label %62

32:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %33 unwind label %38

33:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %34 unwind label %42

34:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %35 unwind label %46

35:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @__func__._ZN3cgp26camera_controller_fly_mode10idle_frameERNS_12matrix_stackIfLi4ELi4EEE, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %36 unwind label %50

36:                                               ; preds = %35
  invoke void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %13, i32 noundef 36) #7
          to label %37 unwind label %54

37:                                               ; preds = %36
  unreachable

38:                                               ; preds = %32
  %39 = landingpad { ptr, i32 }
          cleanup
  %40 = extractvalue { ptr, i32 } %39, 0
  store ptr %40, ptr %7, align 8
  %41 = extractvalue { ptr, i32 } %39, 1
  store i32 %41, ptr %8, align 4
  br label %61

42:                                               ; preds = %33
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %7, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %8, align 4
  br label %60

46:                                               ; preds = %34
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %7, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %8, align 4
  br label %59

50:                                               ; preds = %35
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %7, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %8, align 4
  br label %58

54:                                               ; preds = %36
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %7, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  br label %58

58:                                               ; preds = %54, %50
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  br label %59

59:                                               ; preds = %58, %46
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  br label %60

60:                                               ; preds = %59, %42
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  br label %61

61:                                               ; preds = %60, %38
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #6
  br label %229

62:                                               ; preds = %2
  %63 = getelementptr inbounds %"struct.cgp::camera_controller_generic_base", ptr %26, i32 0, i32 2
  %64 = load ptr, ptr %63, align 8, !tbaa !12
  %65 = icmp ne ptr %64, null
  %66 = zext i1 %65 to i32
  %67 = icmp eq i32 %66, 0
  br i1 %67, label %68, label %98

68:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %69 unwind label %74

69:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %70 unwind label %78

70:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %71 unwind label %82

71:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef @__func__._ZN3cgp26camera_controller_fly_mode10idle_frameERNS_12matrix_stackIfLi4ELi4EEE, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %72 unwind label %86

72:                                               ; preds = %71
  invoke void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %21, i32 noundef 37) #7
          to label %73 unwind label %90

73:                                               ; preds = %72
  unreachable

74:                                               ; preds = %68
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %7, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %8, align 4
  br label %97

78:                                               ; preds = %69
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %7, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %8, align 4
  br label %96

82:                                               ; preds = %70
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %7, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %8, align 4
  br label %95

86:                                               ; preds = %71
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %7, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %8, align 4
  br label %94

90:                                               ; preds = %72
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %7, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #6
  br label %94

94:                                               ; preds = %90, %86
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  br label %95

95:                                               ; preds = %94, %82
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  br label %96

96:                                               ; preds = %95, %78
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  br label %97

97:                                               ; preds = %96, %74
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #6
  br label %229

98:                                               ; preds = %62
  %99 = getelementptr inbounds %"struct.cgp::camera_controller_generic_base", ptr %26, i32 0, i32 0
  %100 = load i8, ptr %99, align 8, !tbaa !13, !range !14, !noundef !15
  %101 = trunc i8 %100 to i1
  br i1 %101, label %103, label %102

102:                                              ; preds = %98
  br label %228

103:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %104 = getelementptr inbounds %"struct.cgp::camera_controller_generic_base", ptr %26, i32 0, i32 1
  %105 = load ptr, ptr %104, align 8, !tbaa !9
  %106 = getelementptr inbounds %"struct.cgp::input_devices", ptr %105, i32 0, i32 2
  %107 = load float, ptr %106, align 8, !tbaa !16
  store float %107, ptr %23, align 4, !tbaa !36
  %108 = getelementptr inbounds %"struct.cgp::camera_controller_generic_base", ptr %26, i32 0, i32 1
  %109 = load ptr, ptr %108, align 8, !tbaa !9
  %110 = getelementptr inbounds %"struct.cgp::input_devices", ptr %109, i32 0, i32 0
  %111 = getelementptr inbounds %"struct.cgp::inputs_keyboard_parameters", ptr %110, i32 0, i32 2
  %112 = load i8, ptr %111, align 2, !tbaa !37, !range !14, !noundef !15
  %113 = trunc i8 %112 to i1
  br i1 %113, label %119, label %114

114:                                              ; preds = %103
  %115 = getelementptr inbounds %"struct.cgp::camera_controller_generic_base", ptr %26, i32 0, i32 1
  %116 = load ptr, ptr %115, align 8, !tbaa !9
  %117 = getelementptr inbounds %"struct.cgp::input_devices", ptr %116, i32 0, i32 0
  %118 = call noundef zeroext i1 @_ZNK3cgp26inputs_keyboard_parameters10is_pressedEi(ptr noundef nonnull align 8 dereferenceable(64) %117, i32 noundef 87)
  br i1 %118, label %119, label %125

119:                                              ; preds = %114, %103
  %120 = getelementptr inbounds %"struct.cgp::camera_controller_first_person", ptr %26, i32 0, i32 1
  %121 = getelementptr inbounds %"struct.cgp::camera_controller_fly_mode", ptr %26, i32 0, i32 3
  %122 = load float, ptr %121, align 4, !tbaa !38
  %123 = load float, ptr %23, align 4, !tbaa !36
  %124 = fmul float %122, %123
  call void @_ZN3cgp19camera_first_person33manipulator_rotate_roll_pitch_yawEfff(ptr noundef nonnull align 8 dereferenceable(36) %120, float noundef 0.000000e+00, float noundef %124, float noundef 0.000000e+00)
  br label %125

125:                                              ; preds = %119, %114
  %126 = getelementptr inbounds %"struct.cgp::camera_controller_generic_base", ptr %26, i32 0, i32 1
  %127 = load ptr, ptr %126, align 8, !tbaa !9
  %128 = getelementptr inbounds %"struct.cgp::input_devices", ptr %127, i32 0, i32 0
  %129 = getelementptr inbounds %"struct.cgp::inputs_keyboard_parameters", ptr %128, i32 0, i32 3
  %130 = load i8, ptr %129, align 1, !tbaa !47, !range !14, !noundef !15
  %131 = trunc i8 %130 to i1
  br i1 %131, label %137, label %132

132:                                              ; preds = %125
  %133 = getelementptr inbounds %"struct.cgp::camera_controller_generic_base", ptr %26, i32 0, i32 1
  %134 = load ptr, ptr %133, align 8, !tbaa !9
  %135 = getelementptr inbounds %"struct.cgp::input_devices", ptr %134, i32 0, i32 0
  %136 = call noundef zeroext i1 @_ZNK3cgp26inputs_keyboard_parameters10is_pressedEi(ptr noundef nonnull align 8 dereferenceable(64) %135, i32 noundef 83)
  br i1 %136, label %137, label %144

137:                                              ; preds = %132, %125
  %138 = getelementptr inbounds %"struct.cgp::camera_controller_first_person", ptr %26, i32 0, i32 1
  %139 = getelementptr inbounds %"struct.cgp::camera_controller_fly_mode", ptr %26, i32 0, i32 3
  %140 = load float, ptr %139, align 4, !tbaa !38
  %141 = fneg float %140
  %142 = load float, ptr %23, align 4, !tbaa !36
  %143 = fmul float %141, %142
  call void @_ZN3cgp19camera_first_person33manipulator_rotate_roll_pitch_yawEfff(ptr noundef nonnull align 8 dereferenceable(36) %138, float noundef 0.000000e+00, float noundef %143, float noundef 0.000000e+00)
  br label %144

144:                                              ; preds = %137, %132
  %145 = getelementptr inbounds %"struct.cgp::camera_controller_generic_base", ptr %26, i32 0, i32 1
  %146 = load ptr, ptr %145, align 8, !tbaa !9
  %147 = getelementptr inbounds %"struct.cgp::input_devices", ptr %146, i32 0, i32 0
  %148 = getelementptr inbounds %"struct.cgp::inputs_keyboard_parameters", ptr %147, i32 0, i32 5
  %149 = load i8, ptr %148, align 1, !tbaa !48, !range !14, !noundef !15
  %150 = trunc i8 %149 to i1
  br i1 %150, label %156, label %151

151:                                              ; preds = %144
  %152 = getelementptr inbounds %"struct.cgp::camera_controller_generic_base", ptr %26, i32 0, i32 1
  %153 = load ptr, ptr %152, align 8, !tbaa !9
  %154 = getelementptr inbounds %"struct.cgp::input_devices", ptr %153, i32 0, i32 0
  %155 = call noundef zeroext i1 @_ZNK3cgp26inputs_keyboard_parameters10is_pressedEi(ptr noundef nonnull align 8 dereferenceable(64) %154, i32 noundef 65)
  br i1 %155, label %156, label %162

156:                                              ; preds = %151, %144
  %157 = getelementptr inbounds %"struct.cgp::camera_controller_first_person", ptr %26, i32 0, i32 1
  %158 = getelementptr inbounds %"struct.cgp::camera_controller_fly_mode", ptr %26, i32 0, i32 2
  %159 = load float, ptr %158, align 8, !tbaa !49
  %160 = load float, ptr %23, align 4, !tbaa !36
  %161 = fmul float %159, %160
  call void @_ZN3cgp19camera_first_person33manipulator_rotate_roll_pitch_yawEfff(ptr noundef nonnull align 8 dereferenceable(36) %157, float noundef %161, float noundef 0.000000e+00, float noundef 0.000000e+00)
  br label %162

162:                                              ; preds = %156, %151
  %163 = getelementptr inbounds %"struct.cgp::camera_controller_generic_base", ptr %26, i32 0, i32 1
  %164 = load ptr, ptr %163, align 8, !tbaa !9
  %165 = getelementptr inbounds %"struct.cgp::input_devices", ptr %164, i32 0, i32 0
  %166 = getelementptr inbounds %"struct.cgp::inputs_keyboard_parameters", ptr %165, i32 0, i32 4
  %167 = load i8, ptr %166, align 4, !tbaa !50, !range !14, !noundef !15
  %168 = trunc i8 %167 to i1
  br i1 %168, label %174, label %169

169:                                              ; preds = %162
  %170 = getelementptr inbounds %"struct.cgp::camera_controller_generic_base", ptr %26, i32 0, i32 1
  %171 = load ptr, ptr %170, align 8, !tbaa !9
  %172 = getelementptr inbounds %"struct.cgp::input_devices", ptr %171, i32 0, i32 0
  %173 = call noundef zeroext i1 @_ZNK3cgp26inputs_keyboard_parameters10is_pressedEi(ptr noundef nonnull align 8 dereferenceable(64) %172, i32 noundef 68)
  br i1 %173, label %174, label %181

174:                                              ; preds = %169, %162
  %175 = getelementptr inbounds %"struct.cgp::camera_controller_first_person", ptr %26, i32 0, i32 1
  %176 = getelementptr inbounds %"struct.cgp::camera_controller_fly_mode", ptr %26, i32 0, i32 2
  %177 = load float, ptr %176, align 8, !tbaa !49
  %178 = fneg float %177
  %179 = load float, ptr %23, align 4, !tbaa !36
  %180 = fmul float %178, %179
  call void @_ZN3cgp19camera_first_person33manipulator_rotate_roll_pitch_yawEfff(ptr noundef nonnull align 8 dereferenceable(36) %175, float noundef %180, float noundef 0.000000e+00, float noundef 0.000000e+00)
  br label %181

181:                                              ; preds = %174, %169
  %182 = getelementptr inbounds %"struct.cgp::camera_controller_generic_base", ptr %26, i32 0, i32 1
  %183 = load ptr, ptr %182, align 8, !tbaa !9
  %184 = getelementptr inbounds %"struct.cgp::input_devices", ptr %183, i32 0, i32 0
  %185 = call noundef zeroext i1 @_ZNK3cgp26inputs_keyboard_parameters10is_pressedEi(ptr noundef nonnull align 8 dereferenceable(64) %184, i32 noundef 334)
  br i1 %185, label %191, label %186

186:                                              ; preds = %181
  %187 = getelementptr inbounds %"struct.cgp::camera_controller_generic_base", ptr %26, i32 0, i32 1
  %188 = load ptr, ptr %187, align 8, !tbaa !9
  %189 = getelementptr inbounds %"struct.cgp::input_devices", ptr %188, i32 0, i32 0
  %190 = call noundef zeroext i1 @_ZNK3cgp26inputs_keyboard_parameters10is_pressedEi(ptr noundef nonnull align 8 dereferenceable(64) %189, i32 noundef 82)
  br i1 %190, label %191, label %201

191:                                              ; preds = %186, %181
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %192 = getelementptr inbounds %"struct.cgp::camera_controller_fly_mode", ptr %26, i32 0, i32 1
  %193 = load float, ptr %192, align 4, !tbaa !51
  %194 = getelementptr inbounds %"struct.cgp::camera_controller_fly_mode", ptr %26, i32 0, i32 4
  %195 = load float, ptr %194, align 8, !tbaa !52
  %196 = fmul float %193, %195
  store float %196, ptr %24, align 4, !tbaa !36
  %197 = getelementptr inbounds %"struct.cgp::camera_controller_fly_mode", ptr %26, i32 0, i32 5
  %198 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef nonnull align 4 dereferenceable(4) %197)
  %199 = load float, ptr %198, align 4, !tbaa !36
  %200 = getelementptr inbounds %"struct.cgp::camera_controller_fly_mode", ptr %26, i32 0, i32 1
  store float %199, ptr %200, align 4, !tbaa !51
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  br label %201

201:                                              ; preds = %191, %186
  %202 = getelementptr inbounds %"struct.cgp::camera_controller_generic_base", ptr %26, i32 0, i32 1
  %203 = load ptr, ptr %202, align 8, !tbaa !9
  %204 = getelementptr inbounds %"struct.cgp::input_devices", ptr %203, i32 0, i32 0
  %205 = call noundef zeroext i1 @_ZNK3cgp26inputs_keyboard_parameters10is_pressedEi(ptr noundef nonnull align 8 dereferenceable(64) %204, i32 noundef 333)
  br i1 %205, label %211, label %206

206:                                              ; preds = %201
  %207 = getelementptr inbounds %"struct.cgp::camera_controller_generic_base", ptr %26, i32 0, i32 1
  %208 = load ptr, ptr %207, align 8, !tbaa !9
  %209 = getelementptr inbounds %"struct.cgp::input_devices", ptr %208, i32 0, i32 0
  %210 = call noundef zeroext i1 @_ZNK3cgp26inputs_keyboard_parameters10is_pressedEi(ptr noundef nonnull align 8 dereferenceable(64) %209, i32 noundef 70)
  br i1 %210, label %211, label %221

211:                                              ; preds = %206, %201
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  %212 = getelementptr inbounds %"struct.cgp::camera_controller_fly_mode", ptr %26, i32 0, i32 1
  %213 = load float, ptr %212, align 4, !tbaa !51
  %214 = getelementptr inbounds %"struct.cgp::camera_controller_fly_mode", ptr %26, i32 0, i32 4
  %215 = load float, ptr %214, align 8, !tbaa !52
  %216 = fdiv float %213, %215
  store float %216, ptr %25, align 4, !tbaa !36
  %217 = getelementptr inbounds %"struct.cgp::camera_controller_fly_mode", ptr %26, i32 0, i32 6
  %218 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 4 dereferenceable(4) %217)
  %219 = load float, ptr %218, align 4, !tbaa !36
  %220 = getelementptr inbounds %"struct.cgp::camera_controller_fly_mode", ptr %26, i32 0, i32 1
  store float %219, ptr %220, align 4, !tbaa !51
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  br label %221

221:                                              ; preds = %211, %206
  %222 = getelementptr inbounds %"struct.cgp::camera_controller_first_person", ptr %26, i32 0, i32 1
  %223 = getelementptr inbounds %"struct.cgp::camera_controller_fly_mode", ptr %26, i32 0, i32 1
  %224 = load float, ptr %223, align 4, !tbaa !51
  %225 = load float, ptr %23, align 4, !tbaa !36
  %226 = fmul float %224, %225
  call void @_ZN3cgp19camera_first_person27manipulator_translate_frontEf(ptr noundef nonnull align 8 dereferenceable(36) %222, float noundef %226)
  %227 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3cgp30camera_controller_first_person6updateERNS_12matrix_stackIfLi4ELi4EEE(ptr noundef nonnull align 8 dereferenceable(73) %26, ptr noundef nonnull align 4 dereferenceable(64) %227)
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %228

228:                                              ; preds = %221, %102
  ret void

229:                                              ; preds = %97, %61
  %230 = load ptr, ptr %7, align 8
  %231 = load i32, ptr %8, align 4
  %232 = insertvalue { ptr, i32 } poison, ptr %230, 0
  %233 = insertvalue { ptr, i32 } %232, i32 %231, 1
  resume { ptr, i32 } %233
}

declare noundef zeroext i1 @_ZNK3cgp26inputs_keyboard_parameters10is_pressedEi(ptr noundef nonnull align 8 dereferenceable(64), i32 noundef) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #5

declare void @_ZN3cgp19camera_first_person27manipulator_translate_frontEf(ptr noundef nonnull align 8 dereferenceable(36), float noundef) #4

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

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

!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, !6, i64 8}
!10 = !{!"_ZTSN3cgp30camera_controller_generic_baseE", !11, i64 0, !6, i64 8, !6, i64 16}
!11 = !{!"bool", !7, i64 0}
!12 = !{!10, !6, i64 16}
!13 = !{!10, !11, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = !{!17, !33, i64 96}
!17 = !{!"_ZTSN3cgp13input_devicesE", !18, i64 0, !30, i64 64, !33, i64 96}
!18 = !{!"_ZTSN3cgp26inputs_keyboard_parametersE", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !19, i64 8, !21, i64 16}
!19 = !{!"_ZTSN3cgp37inputs_keyboard_last_action_parameterE", !20, i64 0, !20, i64 4}
!20 = !{!"int", !7, i64 0}
!21 = !{!"_ZTSSt3setIiSt4lessIiESaIiEE", !22, i64 0}
!22 = !{!"_ZTSSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE", !23, i64 0}
!23 = !{!"_ZTSNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE13_Rb_tree_implIS3_Lb1EEE", !24, i64 0, !26, i64 8}
!24 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !25, i64 0}
!25 = !{!"_ZTSSt4lessIiE"}
!26 = !{!"_ZTSSt15_Rb_tree_header", !27, i64 0, !29, i64 32}
!27 = !{!"_ZTSSt18_Rb_tree_node_base", !28, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!28 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!29 = !{!"long", !7, i64 0}
!30 = !{!"_ZTSN3cgp23inputs_mouse_parametersE", !31, i64 0, !34, i64 16, !33, i64 24, !11, i64 28}
!31 = !{!"_ZTSN3cgp39inputs_mouse_cursor_position_parametersE", !32, i64 0, !32, i64 8}
!32 = !{!"_ZTSN3cgp14numarray_stackIfLi2EEE", !33, i64 0, !33, i64 4}
!33 = !{!"float", !7, i64 0}
!34 = !{!"_ZTSN3cgp36inputs_mouse_cursor_click_parametersE", !11, i64 0, !11, i64 1, !35, i64 4}
!35 = !{!"_ZTSN3cgp24last_mouse_cursor_actionE", !7, i64 0}
!36 = !{!33, !33, i64 0}
!37 = !{!17, !11, i64 2}
!38 = !{!39, !33, i64 84}
!39 = !{!"_ZTSN3cgp26camera_controller_fly_modeE", !40, i64 0, !33, i64 76, !33, i64 80, !33, i64 84, !33, i64 88, !33, i64 92, !33, i64 96}
!40 = !{!"_ZTSN3cgp30camera_controller_first_personE", !10, i64 0, !41, i64 24, !33, i64 64, !33, i64 68, !11, i64 72}
!41 = !{!"_ZTSN3cgp19camera_first_personE", !42, i64 0, !43, i64 8, !46, i64 24}
!42 = !{!"_ZTSN3cgp19camera_generic_baseE"}
!43 = !{!"_ZTSN3cgp18rotation_transformE", !44, i64 0}
!44 = !{!"_ZTSN3cgp10quaternionE", !45, i64 0}
!45 = !{!"_ZTSN3cgp14numarray_stackIfLi4EEE", !33, i64 0, !33, i64 4, !33, i64 8, !33, i64 12}
!46 = !{!"_ZTSN3cgp14numarray_stackIfLi3EEE", !33, i64 0, !33, i64 4, !33, i64 8}
!47 = !{!17, !11, i64 3}
!48 = !{!17, !11, i64 5}
!49 = !{!39, !33, i64 80}
!50 = !{!17, !11, i64 4}
!51 = !{!39, !33, i64 76}
!52 = !{!39, !33, i64 88}


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }

@.str = external hidden unnamed_addr constant [18 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [136 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [18 x i8], align 1
@__func__._ZN3cgp26camera_controller_fly_mode10idle_frameERNS_12matrix_stackIfLi4ELi4EEE = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: noreturn
declare void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) local_unnamed_addr #0

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

declare void @_ZN3cgp19camera_first_person33manipulator_rotate_roll_pitch_yawEfff(ptr noundef nonnull align 8 dereferenceable(36), float noundef, float noundef, float noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3cgp26camera_controller_fly_mode10idle_frameERNS_12matrix_stackIfLi4ELi4EEE(ptr noundef nonnull align 8 dereferenceable(100) %0, ptr noundef nonnull align 4 dereferenceable(64) %1) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::allocator", align 1
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::allocator", align 1
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator", align 1
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator", align 1
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator", align 1
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = getelementptr inbounds i8, ptr %0, i64 8
  %22 = load ptr, ptr %21, align 8, !tbaa !5
  %.not = icmp eq ptr %22, null
  br i1 %.not, label %23, label %43

23:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %24 unwind label %29

24:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %25 unwind label %31

25:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %26 unwind label %33

26:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @__func__._ZN3cgp26camera_controller_fly_mode10idle_frameERNS_12matrix_stackIfLi4ELi4EEE, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %27 unwind label %35

27:                                               ; preds = %26
  invoke void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %9, i32 noundef 36) #7
          to label %28 unwind label %37

28:                                               ; preds = %27
  unreachable

29:                                               ; preds = %23
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %42

31:                                               ; preds = %24
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %41

33:                                               ; preds = %25
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %40

35:                                               ; preds = %26
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %39

37:                                               ; preds = %27
  %38 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  br label %39

39:                                               ; preds = %37, %35
  %.pn22 = phi { ptr, i32 } [ %38, %37 ], [ %36, %35 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  br label %40

40:                                               ; preds = %39, %33
  %.pn22.pn = phi { ptr, i32 } [ %.pn22, %39 ], [ %34, %33 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  br label %41

41:                                               ; preds = %40, %31
  %.pn22.pn.pn = phi { ptr, i32 } [ %.pn22.pn, %40 ], [ %32, %31 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  br label %42

42:                                               ; preds = %41, %29
  %.pn22.pn.pn.pn = phi { ptr, i32 } [ %.pn22.pn.pn, %41 ], [ %30, %29 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  br label %155

43:                                               ; preds = %2
  %44 = getelementptr inbounds i8, ptr %0, i64 16
  %45 = load ptr, ptr %44, align 8, !tbaa !11
  %.not17 = icmp eq ptr %45, null
  br i1 %.not17, label %46, label %66

46:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %47 unwind label %52

47:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @.str.1, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %48 unwind label %54

48:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %49 unwind label %56

49:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull @__func__._ZN3cgp26camera_controller_fly_mode10idle_frameERNS_12matrix_stackIfLi4ELi4EEE, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %50 unwind label %58

50:                                               ; preds = %49
  invoke void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %17, i32 noundef 37) #7
          to label %51 unwind label %60

51:                                               ; preds = %50
  unreachable

52:                                               ; preds = %46
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %65

54:                                               ; preds = %47
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %64

56:                                               ; preds = %48
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %63

58:                                               ; preds = %49
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %62

60:                                               ; preds = %50
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #6
  br label %62

62:                                               ; preds = %60, %58
  %.pn = phi { ptr, i32 } [ %61, %60 ], [ %59, %58 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  br label %63

63:                                               ; preds = %62, %56
  %.pn.pn = phi { ptr, i32 } [ %.pn, %62 ], [ %57, %56 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  br label %64

64:                                               ; preds = %63, %54
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %63 ], [ %55, %54 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  br label %65

65:                                               ; preds = %64, %52
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %64 ], [ %53, %52 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  br label %155

66:                                               ; preds = %43
  %67 = load i8, ptr %0, align 8, !tbaa !12, !range !13, !noundef !14
  %68 = trunc nuw i8 %67 to i1
  br i1 %68, label %69, label %154

69:                                               ; preds = %66
  %70 = getelementptr inbounds i8, ptr %22, i64 96
  %71 = load float, ptr %70, align 8, !tbaa !15
  %72 = getelementptr inbounds i8, ptr %22, i64 2
  %73 = load i8, ptr %72, align 2, !tbaa !35, !range !13, !noundef !14
  %74 = trunc nuw i8 %73 to i1
  br i1 %74, label %77, label %75

75:                                               ; preds = %69
  %76 = tail call noundef zeroext i1 @_ZNK3cgp26inputs_keyboard_parameters10is_pressedEi(ptr noundef nonnull align 8 dereferenceable(64) %22, i32 noundef 87)
  br i1 %76, label %77, label %82

77:                                               ; preds = %75, %69
  %78 = getelementptr inbounds i8, ptr %0, i64 24
  %79 = getelementptr inbounds i8, ptr %0, i64 84
  %80 = load float, ptr %79, align 4, !tbaa !36
  %81 = fmul float %71, %80
  tail call void @_ZN3cgp19camera_first_person33manipulator_rotate_roll_pitch_yawEfff(ptr noundef nonnull align 8 dereferenceable(36) %78, float noundef 0.000000e+00, float noundef %81, float noundef 0.000000e+00)
  br label %82

82:                                               ; preds = %77, %75
  %83 = load ptr, ptr %21, align 8, !tbaa !5
  %84 = getelementptr inbounds i8, ptr %83, i64 3
  %85 = load i8, ptr %84, align 1, !tbaa !45, !range !13, !noundef !14
  %86 = trunc nuw i8 %85 to i1
  br i1 %86, label %89, label %87

87:                                               ; preds = %82
  %88 = tail call noundef zeroext i1 @_ZNK3cgp26inputs_keyboard_parameters10is_pressedEi(ptr noundef nonnull align 8 dereferenceable(64) %83, i32 noundef 83)
  br i1 %88, label %89, label %95

89:                                               ; preds = %87, %82
  %90 = getelementptr inbounds i8, ptr %0, i64 24
  %91 = getelementptr inbounds i8, ptr %0, i64 84
  %92 = load float, ptr %91, align 4, !tbaa !36
  %93 = fneg float %92
  %94 = fmul float %71, %93
  tail call void @_ZN3cgp19camera_first_person33manipulator_rotate_roll_pitch_yawEfff(ptr noundef nonnull align 8 dereferenceable(36) %90, float noundef 0.000000e+00, float noundef %94, float noundef 0.000000e+00)
  br label %95

95:                                               ; preds = %89, %87
  %96 = load ptr, ptr %21, align 8, !tbaa !5
  %97 = getelementptr inbounds i8, ptr %96, i64 5
  %98 = load i8, ptr %97, align 1, !tbaa !46, !range !13, !noundef !14
  %99 = trunc nuw i8 %98 to i1
  br i1 %99, label %102, label %100

100:                                              ; preds = %95
  %101 = tail call noundef zeroext i1 @_ZNK3cgp26inputs_keyboard_parameters10is_pressedEi(ptr noundef nonnull align 8 dereferenceable(64) %96, i32 noundef 65)
  br i1 %101, label %102, label %107

102:                                              ; preds = %100, %95
  %103 = getelementptr inbounds i8, ptr %0, i64 24
  %104 = getelementptr inbounds i8, ptr %0, i64 80
  %105 = load float, ptr %104, align 8, !tbaa !47
  %106 = fmul float %71, %105
  tail call void @_ZN3cgp19camera_first_person33manipulator_rotate_roll_pitch_yawEfff(ptr noundef nonnull align 8 dereferenceable(36) %103, float noundef %106, float noundef 0.000000e+00, float noundef 0.000000e+00)
  br label %107

107:                                              ; preds = %102, %100
  %108 = load ptr, ptr %21, align 8, !tbaa !5
  %109 = getelementptr inbounds i8, ptr %108, i64 4
  %110 = load i8, ptr %109, align 4, !tbaa !48, !range !13, !noundef !14
  %111 = trunc nuw i8 %110 to i1
  br i1 %111, label %114, label %112

112:                                              ; preds = %107
  %113 = tail call noundef zeroext i1 @_ZNK3cgp26inputs_keyboard_parameters10is_pressedEi(ptr noundef nonnull align 8 dereferenceable(64) %108, i32 noundef 68)
  br i1 %113, label %114, label %120

114:                                              ; preds = %112, %107
  %115 = getelementptr inbounds i8, ptr %0, i64 24
  %116 = getelementptr inbounds i8, ptr %0, i64 80
  %117 = load float, ptr %116, align 8, !tbaa !47
  %118 = fneg float %117
  %119 = fmul float %71, %118
  tail call void @_ZN3cgp19camera_first_person33manipulator_rotate_roll_pitch_yawEfff(ptr noundef nonnull align 8 dereferenceable(36) %115, float noundef %119, float noundef 0.000000e+00, float noundef 0.000000e+00)
  br label %120

120:                                              ; preds = %114, %112
  %121 = load ptr, ptr %21, align 8, !tbaa !5
  %122 = tail call noundef zeroext i1 @_ZNK3cgp26inputs_keyboard_parameters10is_pressedEi(ptr noundef nonnull align 8 dereferenceable(64) %121, i32 noundef 334)
  br i1 %122, label %126, label %123

123:                                              ; preds = %120
  %124 = load ptr, ptr %21, align 8, !tbaa !5
  %125 = tail call noundef zeroext i1 @_ZNK3cgp26inputs_keyboard_parameters10is_pressedEi(ptr noundef nonnull align 8 dereferenceable(64) %124, i32 noundef 82)
  br i1 %125, label %126, label %135

126:                                              ; preds = %123, %120
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #6
  %127 = getelementptr inbounds i8, ptr %0, i64 76
  %128 = load float, ptr %127, align 4, !tbaa !49
  %129 = getelementptr inbounds i8, ptr %0, i64 88
  %130 = load float, ptr %129, align 8, !tbaa !50
  %131 = fmul float %128, %130
  store float %131, ptr %19, align 4, !tbaa !51
  %132 = getelementptr inbounds i8, ptr %0, i64 92
  %133 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %132)
  %134 = load float, ptr %133, align 4, !tbaa !51
  store float %134, ptr %127, align 4, !tbaa !49
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #6
  br label %135

135:                                              ; preds = %126, %123
  %136 = load ptr, ptr %21, align 8, !tbaa !5
  %137 = call noundef zeroext i1 @_ZNK3cgp26inputs_keyboard_parameters10is_pressedEi(ptr noundef nonnull align 8 dereferenceable(64) %136, i32 noundef 333)
  br i1 %137, label %141, label %138

138:                                              ; preds = %135
  %139 = load ptr, ptr %21, align 8, !tbaa !5
  %140 = call noundef zeroext i1 @_ZNK3cgp26inputs_keyboard_parameters10is_pressedEi(ptr noundef nonnull align 8 dereferenceable(64) %139, i32 noundef 70)
  br i1 %140, label %141, label %._crit_edge

._crit_edge:                                      ; preds = %138
  %.phi.trans.insert = getelementptr inbounds i8, ptr %0, i64 76
  %.pre = load float, ptr %.phi.trans.insert, align 4, !tbaa !49
  br label %150

141:                                              ; preds = %138, %135
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #6
  %142 = getelementptr inbounds i8, ptr %0, i64 76
  %143 = load float, ptr %142, align 4, !tbaa !49
  %144 = getelementptr inbounds i8, ptr %0, i64 88
  %145 = load float, ptr %144, align 8, !tbaa !50
  %146 = fdiv float %143, %145
  store float %146, ptr %20, align 4, !tbaa !51
  %147 = getelementptr inbounds i8, ptr %0, i64 96
  %148 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(4) %147)
  %149 = load float, ptr %148, align 4, !tbaa !51
  store float %149, ptr %142, align 4, !tbaa !49
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #6
  br label %150

150:                                              ; preds = %._crit_edge, %141
  %151 = phi float [ %.pre, %._crit_edge ], [ %149, %141 ]
  %152 = getelementptr inbounds i8, ptr %0, i64 24
  %153 = fmul float %71, %151
  call void @_ZN3cgp19camera_first_person27manipulator_translate_frontEf(ptr noundef nonnull align 8 dereferenceable(36) %152, float noundef %153)
  call void @_ZN3cgp30camera_controller_first_person6updateERNS_12matrix_stackIfLi4ELi4EEE(ptr noundef nonnull align 8 dereferenceable(73) %0, ptr noundef nonnull align 4 dereferenceable(64) %1)
  br label %154

154:                                              ; preds = %66, %150
  ret void

155:                                              ; preds = %65, %42
  %.pn22.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn22.pn.pn.pn, %42 ], [ %.pn.pn.pn.pn, %65 ]
  resume { ptr, i32 } %.pn22.pn.pn.pn.pn
}

declare noundef zeroext i1 @_ZNK3cgp26inputs_keyboard_parameters10is_pressedEi(ptr noundef nonnull align 8 dereferenceable(64), i32 noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

declare void @_ZN3cgp19camera_first_person27manipulator_translate_frontEf(ptr noundef nonnull align 8 dereferenceable(36), float noundef) local_unnamed_addr #4

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

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

!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, !10, i64 8}
!6 = !{!"_ZTSN3cgp30camera_controller_generic_baseE", !7, i64 0, !10, i64 8, !10, i64 16}
!7 = !{!"bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 16}
!12 = !{!6, !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !32, i64 96}
!16 = !{!"_ZTSN3cgp13input_devicesE", !17, i64 0, !29, i64 64, !32, i64 96}
!17 = !{!"_ZTSN3cgp26inputs_keyboard_parametersE", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4, !7, i64 5, !18, i64 8, !20, i64 16}
!18 = !{!"_ZTSN3cgp37inputs_keyboard_last_action_parameterE", !19, i64 0, !19, i64 4}
!19 = !{!"int", !8, i64 0}
!20 = !{!"_ZTSSt3setIiSt4lessIiESaIiEE", !21, i64 0}
!21 = !{!"_ZTSSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE", !22, i64 0}
!22 = !{!"_ZTSNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE13_Rb_tree_implIS3_Lb1EEE", !23, i64 0, !25, i64 8}
!23 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !24, i64 0}
!24 = !{!"_ZTSSt4lessIiE"}
!25 = !{!"_ZTSSt15_Rb_tree_header", !26, i64 0, !28, i64 32}
!26 = !{!"_ZTSSt18_Rb_tree_node_base", !27, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!27 = !{!"_ZTSSt14_Rb_tree_color", !8, i64 0}
!28 = !{!"long", !8, i64 0}
!29 = !{!"_ZTSN3cgp23inputs_mouse_parametersE", !30, i64 0, !33, i64 16, !32, i64 24, !7, i64 28}
!30 = !{!"_ZTSN3cgp39inputs_mouse_cursor_position_parametersE", !31, i64 0, !31, i64 8}
!31 = !{!"_ZTSN3cgp14numarray_stackIfLi2EEE", !32, i64 0, !32, i64 4}
!32 = !{!"float", !8, i64 0}
!33 = !{!"_ZTSN3cgp36inputs_mouse_cursor_click_parametersE", !7, i64 0, !7, i64 1, !34, i64 4}
!34 = !{!"_ZTSN3cgp24last_mouse_cursor_actionE", !8, i64 0}
!35 = !{!16, !7, i64 2}
!36 = !{!37, !32, i64 84}
!37 = !{!"_ZTSN3cgp26camera_controller_fly_modeE", !38, i64 0, !32, i64 76, !32, i64 80, !32, i64 84, !32, i64 88, !32, i64 92, !32, i64 96}
!38 = !{!"_ZTSN3cgp30camera_controller_first_personE", !6, i64 0, !39, i64 24, !32, i64 64, !32, i64 68, !7, i64 72}
!39 = !{!"_ZTSN3cgp19camera_first_personE", !40, i64 0, !41, i64 8, !44, i64 24}
!40 = !{!"_ZTSN3cgp19camera_generic_baseE"}
!41 = !{!"_ZTSN3cgp18rotation_transformE", !42, i64 0}
!42 = !{!"_ZTSN3cgp10quaternionE", !43, i64 0}
!43 = !{!"_ZTSN3cgp14numarray_stackIfLi4EEE", !32, i64 0, !32, i64 4, !32, i64 8, !32, i64 12}
!44 = !{!"_ZTSN3cgp14numarray_stackIfLi3EEE", !32, i64 0, !32, i64 4, !32, i64 8}
!45 = !{!16, !7, i64 3}
!46 = !{!16, !7, i64 5}
!47 = !{!37, !32, i64 80}
!48 = !{!16, !7, i64 4}
!49 = !{!37, !32, i64 76}
!50 = !{!37, !32, i64 88}
!51 = !{!32, !32, i64 0}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass