; LLVM IR from yangfengzzz/DigitalVox4 :: vox.render/controls (orbit_control)

; 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.vox::control::OrbitControl" = type { %"class.vox::Script", float, %"class.vox::Point", %"class.vox::Vector", float, float, float, float, i8, float, i8, float, i8, float, float, i8, float, i8, float, float, float, float, i8, float, ptr, %"class.vox::Point", %"class.vox::Vector", %"class.vox::control::Spherical", %"class.vox::control::Spherical", %"class.vox::control::Spherical", float, float, %"class.vox::Vector", i8, %"class.vox::Vector", i32, %"class.vox::Vector.0", %"class.vox::Vector.0", %"class.vox::Vector.0", %"class.vox::Vector.0", %"class.vox::Vector.0", %"class.vox::Vector.0", %"class.vox::Vector.0", %"class.vox::Vector.0", %"class.vox::Vector.0", i8, i8, i32, i32 }
%"class.vox::Script" = type { %"class.vox::Component.base", i8, i64, i64, i64 }
%"class.vox::Component.base" = type <{ ptr, ptr, i8, i8, i8 }>
%"class.vox::Point" = type { float, float, float }
%"class.vox::control::Spherical" = type { float, float, float }
%"class.vox::Vector" = type { float, float, float }
%"class.vox::Vector.0" = type { float, float }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3vox7control12OrbitControl10inputEventERKNS_10InputEventE(ptr noundef nonnull align 8 dereferenceable(352) %0, ptr noundef nonnull align 4 dereferenceable(4) %1) unnamed_addr #0 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %8 = load ptr, ptr %3, align 8
  %9 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %8, i32 0, i32 45
  %10 = load i8, ptr %9, align 4, !tbaa !9, !range !22, !noundef !23
  %11 = trunc i8 %10 to i1
  br i1 %11, label %12, label %83

12:                                               ; preds = %2
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = call noundef i32 @_ZNK3vox10InputEvent6sourceEv(ptr noundef nonnull align 4 dereferenceable(4) %13)
  %15 = icmp eq i32 %14, 0
  br i1 %15, label %16, label %20

16:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %17, ptr %5, align 8, !tbaa !5
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = call noundef i32 @_ZNK3vox13KeyInputEvent4codeEv(ptr noundef nonnull align 4 dereferenceable(12) %18)
  call void @_ZN3vox7control12OrbitControl9onKeyDownENS_7KeyCodeE(ptr noundef nonnull align 8 dereferenceable(352) %8, i32 noundef %19)
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  br label %82

20:                                               ; preds = %12
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = call noundef i32 @_ZNK3vox10InputEvent6sourceEv(ptr noundef nonnull align 4 dereferenceable(4) %21)
  %23 = icmp eq i32 %22, 1
  br i1 %23, label %24, label %62

24:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %25, ptr %6, align 8, !tbaa !5
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = call noundef i32 @_ZNK3vox21MouseButtonInputEvent6actionEv(ptr noundef nonnull align 4 dereferenceable(20) %26)
  %28 = icmp eq i32 %27, 0
  br i1 %28, label %29, label %39

29:                                               ; preds = %24
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = call noundef i32 @_ZNK3vox21MouseButtonInputEvent6buttonEv(ptr noundef nonnull align 4 dereferenceable(20) %30)
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = call noundef float @_ZNK3vox21MouseButtonInputEvent5pos_xEv(ptr noundef nonnull align 4 dereferenceable(20) %32)
  %34 = fpext float %33 to double
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = call noundef float @_ZNK3vox21MouseButtonInputEvent5pos_yEv(ptr noundef nonnull align 4 dereferenceable(20) %35)
  %37 = fpext float %36 to double
  call void @_ZN3vox7control12OrbitControl11onMouseDownENS_11MouseButtonEdd(ptr noundef nonnull align 8 dereferenceable(352) %8, i32 noundef %31, double noundef %34, double noundef %37)
  %38 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %8, i32 0, i32 46
  store i8 1, ptr %38, align 1, !tbaa !24
  br label %46

39:                                               ; preds = %24
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = call noundef i32 @_ZNK3vox21MouseButtonInputEvent6actionEv(ptr noundef nonnull align 4 dereferenceable(20) %40)
  %42 = icmp eq i32 %41, 1
  br i1 %42, label %43, label %45

43:                                               ; preds = %39
  call void @_ZN3vox7control12OrbitControl9onMouseUpEv(ptr noundef nonnull align 8 dereferenceable(352) %8)
  %44 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %8, i32 0, i32 46
  store i8 0, ptr %44, align 1, !tbaa !24
  br label %45

45:                                               ; preds = %43, %39
  br label %46

46:                                               ; preds = %45, %29
  %47 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %8, i32 0, i32 46
  %48 = load i8, ptr %47, align 1, !tbaa !24, !range !22, !noundef !23
  %49 = trunc i8 %48 to i1
  br i1 %49, label %50, label %61

50:                                               ; preds = %46
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = call noundef i32 @_ZNK3vox21MouseButtonInputEvent6actionEv(ptr noundef nonnull align 4 dereferenceable(20) %51)
  %53 = icmp eq i32 %52, 2
  br i1 %53, label %54, label %61

54:                                               ; preds = %50
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = call noundef float @_ZNK3vox21MouseButtonInputEvent5pos_xEv(ptr noundef nonnull align 4 dereferenceable(20) %55)
  %57 = fpext float %56 to double
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = call noundef float @_ZNK3vox21MouseButtonInputEvent5pos_yEv(ptr noundef nonnull align 4 dereferenceable(20) %58)
  %60 = fpext float %59 to double
  call void @_ZN3vox7control12OrbitControl11onMouseMoveEdd(ptr noundef nonnull align 8 dereferenceable(352) %8, double noundef %57, double noundef %60)
  br label %61

61:                                               ; preds = %54, %50, %46
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  br label %81

62:                                               ; preds = %20
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = call noundef i32 @_ZNK3vox10InputEvent6sourceEv(ptr noundef nonnull align 4 dereferenceable(4) %63)
  %65 = icmp eq i32 %64, 2
  br i1 %65, label %66, label %74

66:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %67, ptr %7, align 8, !tbaa !5
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = call noundef float @_ZNK3vox16ScrollInputEvent8offset_xEv(ptr noundef nonnull align 4 dereferenceable(12) %68)
  %70 = fpext float %69 to double
  %71 = load ptr, ptr %7, align 8, !tbaa !5
  %72 = call noundef float @_ZNK3vox16ScrollInputEvent8offset_yEv(ptr noundef nonnull align 4 dereferenceable(12) %71)
  %73 = fpext float %72 to double
  call void @_ZN3vox7control12OrbitControl12onMouseWheelEdd(ptr noundef nonnull align 8 dereferenceable(352) %8, double noundef %70, double noundef %73)
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  br label %80

74:                                               ; preds = %62
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = call noundef i32 @_ZNK3vox10InputEvent6sourceEv(ptr noundef nonnull align 4 dereferenceable(4) %75)
  %77 = icmp eq i32 %76, 3
  br i1 %77, label %78, label %79

78:                                               ; preds = %74
  br label %79

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

80:                                               ; preds = %79, %66
  br label %81

81:                                               ; preds = %80, %61
  br label %82

82:                                               ; preds = %81, %16
  br label %83

83:                                               ; preds = %82, %2
  ret void
}

declare noundef i32 @_ZNK3vox10InputEvent6sourceEv(ptr noundef nonnull align 4 dereferenceable(4)) #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 uwtable
declare dso_local void @_ZN3vox7control12OrbitControl9onKeyDownENS_7KeyCodeE(ptr noundef nonnull align 8 dereferenceable(352), i32 noundef) #0 align 2

declare noundef i32 @_ZNK3vox13KeyInputEvent4codeEv(ptr noundef nonnull align 4 dereferenceable(12)) #1

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

declare noundef i32 @_ZNK3vox21MouseButtonInputEvent6actionEv(ptr noundef nonnull align 4 dereferenceable(20)) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox7control12OrbitControl11onMouseDownENS_11MouseButtonEdd(ptr noundef nonnull align 8 dereferenceable(352), i32 noundef, double noundef, double noundef) #0 align 2

declare noundef i32 @_ZNK3vox21MouseButtonInputEvent6buttonEv(ptr noundef nonnull align 4 dereferenceable(20)) #1

declare noundef float @_ZNK3vox21MouseButtonInputEvent5pos_xEv(ptr noundef nonnull align 4 dereferenceable(20)) #1

declare noundef float @_ZNK3vox21MouseButtonInputEvent5pos_yEv(ptr noundef nonnull align 4 dereferenceable(20)) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox7control12OrbitControl9onMouseUpEv(ptr noundef nonnull align 8 dereferenceable(352)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox7control12OrbitControl11onMouseMoveEdd(ptr noundef nonnull align 8 dereferenceable(352), double noundef, double noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox7control12OrbitControl12onMouseWheelEdd(ptr noundef nonnull align 8 dereferenceable(352), double noundef, double noundef) #0 align 2

declare noundef float @_ZNK3vox16ScrollInputEvent8offset_xEv(ptr noundef nonnull align 4 dereferenceable(12)) #1

declare noundef float @_ZNK3vox16ScrollInputEvent8offset_yEv(ptr noundef nonnull align 4 dereferenceable(12)) #1

attributes #0 = { 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 #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 = { 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, !13, i64 340}
!10 = !{!"_ZTSN3vox7control12OrbitControlE", !11, i64 0, !15, i64 48, !16, i64 52, !17, i64 64, !15, i64 76, !15, i64 80, !15, i64 84, !15, i64 88, !13, i64 92, !15, i64 96, !13, i64 100, !15, i64 104, !13, i64 108, !15, i64 112, !15, i64 116, !13, i64 120, !15, i64 124, !13, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !15, i64 144, !13, i64 148, !15, i64 152, !6, i64 160, !16, i64 168, !17, i64 180, !18, i64 192, !18, i64 204, !18, i64 216, !15, i64 228, !15, i64 232, !17, i64 236, !13, i64 248, !17, i64 252, !19, i64 264, !20, i64 268, !20, i64 276, !20, i64 284, !20, i64 292, !20, i64 300, !20, i64 308, !20, i64 316, !20, i64 324, !20, i64 332, !13, i64 340, !13, i64 341, !21, i64 344, !21, i64 348}
!11 = !{!"_ZTSN3vox6ScriptE", !12, i64 0, !13, i64 19, !14, i64 24, !14, i64 32, !14, i64 40}
!12 = !{!"_ZTSN3vox9ComponentE", !6, i64 8, !13, i64 16, !13, i64 17, !13, i64 18}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTSN3vox5PointIfLm3EEE", !15, i64 0, !15, i64 4, !15, i64 8}
!17 = !{!"_ZTSN3vox6VectorIfLm3EEE", !15, i64 0, !15, i64 4, !15, i64 8}
!18 = !{!"_ZTSN3vox7control9SphericalE", !15, i64 0, !15, i64 4, !15, i64 8}
!19 = !{!"_ZTSN3vox7control12OrbitControl5STATE4EnumE", !7, i64 0}
!20 = !{!"_ZTSN3vox6VectorIfLm2EEE", !15, i64 0, !15, i64 4}
!21 = !{!"int", !7, i64 0}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = !{!10, !13, i64 341}


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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3vox7control12OrbitControl10inputEventERKNS_10InputEventE(ptr noundef nonnull align 8 dereferenceable(352) %0, ptr noundef nonnull align 4 dereferenceable(4) %1) unnamed_addr #0 align 2 {
  %3 = getelementptr inbounds i8, ptr %0, i64 340
  %4 = load i8, ptr %3, align 4, !tbaa !5, !range !21, !noundef !22
  %5 = trunc nuw i8 %4 to i1
  br i1 %5, label %6, label %47

6:                                                ; preds = %2
  %7 = tail call noundef i32 @_ZNK3vox10InputEvent6sourceEv(ptr noundef nonnull align 4 dereferenceable(4) %1)
  %8 = icmp eq i32 %7, 0
  br i1 %8, label %9, label %11

9:                                                ; preds = %6
  %10 = tail call noundef i32 @_ZNK3vox13KeyInputEvent4codeEv(ptr noundef nonnull align 4 dereferenceable(12) %1)
  tail call void @_ZN3vox7control12OrbitControl9onKeyDownENS_7KeyCodeE(ptr noundef nonnull align 8 dereferenceable(352) %0, i32 noundef %10)
  br label %47

11:                                               ; preds = %6
  %12 = tail call noundef i32 @_ZNK3vox10InputEvent6sourceEv(ptr noundef nonnull align 4 dereferenceable(4) %1)
  %13 = icmp eq i32 %12, 1
  br i1 %13, label %14, label %37

14:                                               ; preds = %11
  %15 = tail call noundef i32 @_ZNK3vox21MouseButtonInputEvent6actionEv(ptr noundef nonnull align 4 dereferenceable(20) %1)
  %16 = icmp eq i32 %15, 0
  br i1 %16, label %.thread, label %23

.thread:                                          ; preds = %14
  %17 = tail call noundef i32 @_ZNK3vox21MouseButtonInputEvent6buttonEv(ptr noundef nonnull align 4 dereferenceable(20) %1)
  %18 = tail call noundef float @_ZNK3vox21MouseButtonInputEvent5pos_xEv(ptr noundef nonnull align 4 dereferenceable(20) %1)
  %19 = fpext float %18 to double
  %20 = tail call noundef float @_ZNK3vox21MouseButtonInputEvent5pos_yEv(ptr noundef nonnull align 4 dereferenceable(20) %1)
  %21 = fpext float %20 to double
  tail call void @_ZN3vox7control12OrbitControl11onMouseDownENS_11MouseButtonEdd(ptr noundef nonnull align 8 dereferenceable(352) %0, i32 noundef %17, double noundef %19, double noundef %21)
  %22 = getelementptr inbounds i8, ptr %0, i64 341
  store i8 1, ptr %22, align 1, !tbaa !23
  br label %29

23:                                               ; preds = %14
  %24 = tail call noundef i32 @_ZNK3vox21MouseButtonInputEvent6actionEv(ptr noundef nonnull align 4 dereferenceable(20) %1)
  %25 = icmp eq i32 %24, 1
  br i1 %25, label %.thread19, label %27

.thread19:                                        ; preds = %23
  tail call void @_ZN3vox7control12OrbitControl9onMouseUpEv(ptr noundef nonnull align 8 dereferenceable(352) %0)
  %26 = getelementptr inbounds i8, ptr %0, i64 341
  store i8 0, ptr %26, align 1, !tbaa !23
  br label %47

27:                                               ; preds = %23
  %.phi.trans.insert = getelementptr inbounds i8, ptr %0, i64 341
  %.pre = load i8, ptr %.phi.trans.insert, align 1, !tbaa !23, !range !21
  %28 = trunc nuw i8 %.pre to i1
  br i1 %28, label %29, label %47

29:                                               ; preds = %.thread, %27
  %30 = tail call noundef i32 @_ZNK3vox21MouseButtonInputEvent6actionEv(ptr noundef nonnull align 4 dereferenceable(20) %1)
  %31 = icmp eq i32 %30, 2
  br i1 %31, label %32, label %47

32:                                               ; preds = %29
  %33 = tail call noundef float @_ZNK3vox21MouseButtonInputEvent5pos_xEv(ptr noundef nonnull align 4 dereferenceable(20) %1)
  %34 = fpext float %33 to double
  %35 = tail call noundef float @_ZNK3vox21MouseButtonInputEvent5pos_yEv(ptr noundef nonnull align 4 dereferenceable(20) %1)
  %36 = fpext float %35 to double
  tail call void @_ZN3vox7control12OrbitControl11onMouseMoveEdd(ptr noundef nonnull align 8 dereferenceable(352) %0, double noundef %34, double noundef %36)
  br label %47

37:                                               ; preds = %11
  %38 = tail call noundef i32 @_ZNK3vox10InputEvent6sourceEv(ptr noundef nonnull align 4 dereferenceable(4) %1)
  %39 = icmp eq i32 %38, 2
  br i1 %39, label %40, label %45

40:                                               ; preds = %37
  %41 = tail call noundef float @_ZNK3vox16ScrollInputEvent8offset_xEv(ptr noundef nonnull align 4 dereferenceable(12) %1)
  %42 = fpext float %41 to double
  %43 = tail call noundef float @_ZNK3vox16ScrollInputEvent8offset_yEv(ptr noundef nonnull align 4 dereferenceable(12) %1)
  %44 = fpext float %43 to double
  tail call void @_ZN3vox7control12OrbitControl12onMouseWheelEdd(ptr noundef nonnull align 8 dereferenceable(352) %0, double noundef %42, double noundef %44)
  br label %47

45:                                               ; preds = %37
  %46 = tail call noundef i32 @_ZNK3vox10InputEvent6sourceEv(ptr noundef nonnull align 4 dereferenceable(4) %1)
  br label %47

47:                                               ; preds = %.thread19, %27, %29, %32, %9, %40, %45, %2
  ret void
}

declare noundef i32 @_ZNK3vox10InputEvent6sourceEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox7control12OrbitControl9onKeyDownENS_7KeyCodeE(ptr noundef nonnull align 8 dereferenceable(352), i32 noundef) local_unnamed_addr #0 align 2

declare noundef i32 @_ZNK3vox13KeyInputEvent4codeEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1

declare noundef i32 @_ZNK3vox21MouseButtonInputEvent6actionEv(ptr noundef nonnull align 4 dereferenceable(20)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox7control12OrbitControl11onMouseDownENS_11MouseButtonEdd(ptr noundef nonnull align 8 dereferenceable(352), i32 noundef, double noundef, double noundef) local_unnamed_addr #0 align 2

declare noundef i32 @_ZNK3vox21MouseButtonInputEvent6buttonEv(ptr noundef nonnull align 4 dereferenceable(20)) local_unnamed_addr #1

declare noundef float @_ZNK3vox21MouseButtonInputEvent5pos_xEv(ptr noundef nonnull align 4 dereferenceable(20)) local_unnamed_addr #1

declare noundef float @_ZNK3vox21MouseButtonInputEvent5pos_yEv(ptr noundef nonnull align 4 dereferenceable(20)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox7control12OrbitControl9onMouseUpEv(ptr noundef nonnull align 8 dereferenceable(352)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox7control12OrbitControl11onMouseMoveEdd(ptr noundef nonnull align 8 dereferenceable(352), double noundef, double noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox7control12OrbitControl12onMouseWheelEdd(ptr noundef nonnull align 8 dereferenceable(352), double noundef, double noundef) local_unnamed_addr #0 align 2

declare noundef float @_ZNK3vox16ScrollInputEvent8offset_xEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1

declare noundef float @_ZNK3vox16ScrollInputEvent8offset_yEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1

attributes #0 = { 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 #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" }

!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, !12, i64 340}
!6 = !{!"_ZTSN3vox7control12OrbitControlE", !7, i64 0, !14, i64 48, !15, i64 52, !16, i64 64, !14, i64 76, !14, i64 80, !14, i64 84, !14, i64 88, !12, i64 92, !14, i64 96, !12, i64 100, !14, i64 104, !12, i64 108, !14, i64 112, !14, i64 116, !12, i64 120, !14, i64 124, !12, i64 128, !14, i64 132, !14, i64 136, !14, i64 140, !14, i64 144, !12, i64 148, !14, i64 152, !9, i64 160, !15, i64 168, !16, i64 180, !17, i64 192, !17, i64 204, !17, i64 216, !14, i64 228, !14, i64 232, !16, i64 236, !12, i64 248, !16, i64 252, !18, i64 264, !19, i64 268, !19, i64 276, !19, i64 284, !19, i64 292, !19, i64 300, !19, i64 308, !19, i64 316, !19, i64 324, !19, i64 332, !12, i64 340, !12, i64 341, !20, i64 344, !20, i64 348}
!7 = !{!"_ZTSN3vox6ScriptE", !8, i64 0, !12, i64 19, !13, i64 24, !13, i64 32, !13, i64 40}
!8 = !{!"_ZTSN3vox9ComponentE", !9, i64 8, !12, i64 16, !12, i64 17, !12, i64 18}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"bool", !10, i64 0}
!13 = !{!"long", !10, i64 0}
!14 = !{!"float", !10, i64 0}
!15 = !{!"_ZTSN3vox5PointIfLm3EEE", !14, i64 0, !14, i64 4, !14, i64 8}
!16 = !{!"_ZTSN3vox6VectorIfLm3EEE", !14, i64 0, !14, i64 4, !14, i64 8}
!17 = !{!"_ZTSN3vox7control9SphericalE", !14, i64 0, !14, i64 4, !14, i64 8}
!18 = !{!"_ZTSN3vox7control12OrbitControl5STATE4EnumE", !10, i64 0}
!19 = !{!"_ZTSN3vox6VectorIfLm2EEE", !14, i64 0, !14, i64 4}
!20 = !{!"int", !10, i64 0}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!6, !12, i64 341}


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