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

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

@_ZTVN3vox7control12OrbitControlE = external dso_local unnamed_addr constant { [24 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3vox7control12OrbitControlC2EPNS_6EntityE(ptr noundef nonnull align 8 dereferenceable(352) %0, ptr noundef %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %7 = load ptr, ptr %3, align 8
  %8 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3vox6ScriptC2EPNS_6EntityE(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef %8)
  store ptr getelementptr inbounds inrange(-16, 176) ({ [24 x ptr] }, ptr @_ZTVN3vox7control12OrbitControlE, i32 0, i32 0, i32 2), ptr %7, align 8, !tbaa !9
  %9 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 1
  store float 4.500000e+01, ptr %9, align 8, !tbaa !11
  %10 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 2
  invoke void @_ZN3vox5PointIfLm3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %10)
          to label %11 unwind label %81

11:                                               ; preds = %2
  %12 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 3
  invoke void @_ZN3vox6VectorIfLm3EEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %12, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
          to label %13 unwind label %81

13:                                               ; preds = %11
  %14 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 4
  store float 0x3FB99999A0000000, ptr %14, align 4, !tbaa !24
  %15 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 5
  %16 = call noundef float @_ZNSt14numeric_limitsIfE8infinityEv() #3
  store float %16, ptr %15, align 8, !tbaa !25
  %17 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 6
  store float 0.000000e+00, ptr %17, align 4, !tbaa !26
  %18 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 7
  %19 = call noundef float @_ZNSt14numeric_limitsIfE8infinityEv() #3
  store float %19, ptr %18, align 8, !tbaa !27
  %20 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 8
  store i8 1, ptr %20, align 4, !tbaa !28
  %21 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 9
  store float 0x3FB99999A0000000, ptr %21, align 8, !tbaa !29
  %22 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 10
  store i8 1, ptr %22, align 4, !tbaa !30
  %23 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 11
  store float 1.000000e+00, ptr %23, align 8, !tbaa !31
  %24 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 12
  store i8 1, ptr %24, align 4, !tbaa !32
  %25 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 13
  store float 0x3FC99999A0000000, ptr %25, align 8, !tbaa !33
  %26 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 14
  store float 1.000000e+00, ptr %26, align 4, !tbaa !34
  %27 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 15
  store i8 1, ptr %27, align 8, !tbaa !35
  %28 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 16
  store float 7.000000e+00, ptr %28, align 4, !tbaa !36
  %29 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 17
  store i8 1, ptr %29, align 8, !tbaa !37
  %30 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 18
  store float 0.000000e+00, ptr %30, align 4, !tbaa !38
  %31 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 19
  store float 0x400921FB60000000, ptr %31, align 8, !tbaa !39
  %32 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 20
  %33 = call noundef float @_ZNSt14numeric_limitsIfE8infinityEv() #3
  %34 = fneg float %33
  store float %34, ptr %32, align 4, !tbaa !40
  %35 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 21
  %36 = call noundef float @_ZNSt14numeric_limitsIfE8infinityEv() #3
  store float %36, ptr %35, align 8, !tbaa !41
  %37 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 22
  store i8 0, ptr %37, align 4, !tbaa !42
  %38 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 23
  store float 0x400921FB60000000, ptr %38, align 8, !tbaa !43
  %39 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 24
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %40, ptr %39, align 8, !tbaa !44
  %41 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 25
  invoke void @_ZN3vox5PointIfLm3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %41)
          to label %42 unwind label %81

42:                                               ; preds = %13
  %43 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 26
  invoke void @_ZN3vox6VectorIfLm3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %43)
          to label %44 unwind label %81

44:                                               ; preds = %42
  %45 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 27
  invoke void @_ZN3vox7control9SphericalC1Efff(ptr noundef nonnull align 4 dereferenceable(12) %45, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %46 unwind label %81

46:                                               ; preds = %44
  %47 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 28
  invoke void @_ZN3vox7control9SphericalC1Efff(ptr noundef nonnull align 4 dereferenceable(12) %47, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %48 unwind label %81

48:                                               ; preds = %46
  %49 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 29
  invoke void @_ZN3vox7control9SphericalC1Efff(ptr noundef nonnull align 4 dereferenceable(12) %49, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %50 unwind label %81

50:                                               ; preds = %48
  %51 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 30
  store float 0.000000e+00, ptr %51, align 4, !tbaa !45
  %52 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 31
  store float 1.000000e+00, ptr %52, align 8, !tbaa !46
  %53 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 32
  invoke void @_ZN3vox6VectorIfLm3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %53)
          to label %54 unwind label %81

54:                                               ; preds = %50
  %55 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 33
  store i8 1, ptr %55, align 8, !tbaa !47
  %56 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 34
  invoke void @_ZN3vox6VectorIfLm3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %56)
          to label %57 unwind label %81

57:                                               ; preds = %54
  %58 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 35
  store i32 -1, ptr %58, align 8, !tbaa !48
  %59 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 36
  invoke void @_ZN3vox6VectorIfLm2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %59)
          to label %60 unwind label %81

60:                                               ; preds = %57
  %61 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 37
  invoke void @_ZN3vox6VectorIfLm2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %61)
          to label %62 unwind label %81

62:                                               ; preds = %60
  %63 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 38
  invoke void @_ZN3vox6VectorIfLm2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %63)
          to label %64 unwind label %81

64:                                               ; preds = %62
  %65 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 39
  invoke void @_ZN3vox6VectorIfLm2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %65)
          to label %66 unwind label %81

66:                                               ; preds = %64
  %67 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 40
  invoke void @_ZN3vox6VectorIfLm2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %67)
          to label %68 unwind label %81

68:                                               ; preds = %66
  %69 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 41
  invoke void @_ZN3vox6VectorIfLm2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %69)
          to label %70 unwind label %81

70:                                               ; preds = %68
  %71 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 42
  invoke void @_ZN3vox6VectorIfLm2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %71)
          to label %72 unwind label %81

72:                                               ; preds = %70
  %73 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 43
  invoke void @_ZN3vox6VectorIfLm2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %73)
          to label %74 unwind label %81

74:                                               ; preds = %72
  %75 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 44
  invoke void @_ZN3vox6VectorIfLm2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %75)
          to label %76 unwind label %81

76:                                               ; preds = %74
  %77 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 45
  store i8 1, ptr %77, align 4, !tbaa !49
  %78 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 46
  store i8 0, ptr %78, align 1, !tbaa !50
  %79 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 47
  store i32 1000, ptr %79, align 8, !tbaa !51
  %80 = getelementptr inbounds %"class.vox::control::OrbitControl", ptr %7, i32 0, i32 48
  store i32 1000, ptr %80, align 4, !tbaa !52
  ret void

81:                                               ; preds = %74, %72, %70, %68, %66, %64, %62, %60, %57, %54, %50, %48, %46, %44, %42, %13, %11, %2
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %5, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %6, align 4
  call void @_ZN3vox9ComponentD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #3
  br label %85

85:                                               ; preds = %81
  %86 = load ptr, ptr %5, align 8
  %87 = load i32, ptr %6, align 4
  %88 = insertvalue { ptr, i32 } poison, ptr %86, 0
  %89 = insertvalue { ptr, i32 } %88, i32 %87, 1
  resume { ptr, i32 } %89
}

declare void @_ZN3vox6ScriptC2EPNS_6EntityE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef) unnamed_addr #1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNSt14numeric_limitsIfE8infinityEv() #2 align 2

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

declare void @_ZN3vox7control9SphericalC1Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #1

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

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

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 = { 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 = { 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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !17, i64 48}
!12 = !{!"_ZTSN3vox7control12OrbitControlE", !13, i64 0, !17, i64 48, !18, i64 52, !19, i64 64, !17, i64 76, !17, i64 80, !17, i64 84, !17, i64 88, !15, i64 92, !17, i64 96, !15, i64 100, !17, i64 104, !15, i64 108, !17, i64 112, !17, i64 116, !15, i64 120, !17, i64 124, !15, i64 128, !17, i64 132, !17, i64 136, !17, i64 140, !17, i64 144, !15, i64 148, !17, i64 152, !6, i64 160, !18, i64 168, !19, i64 180, !20, i64 192, !20, i64 204, !20, i64 216, !17, i64 228, !17, i64 232, !19, i64 236, !15, i64 248, !19, i64 252, !21, i64 264, !22, i64 268, !22, i64 276, !22, i64 284, !22, i64 292, !22, i64 300, !22, i64 308, !22, i64 316, !22, i64 324, !22, i64 332, !15, i64 340, !15, i64 341, !23, i64 344, !23, i64 348}
!13 = !{!"_ZTSN3vox6ScriptE", !14, i64 0, !15, i64 19, !16, i64 24, !16, i64 32, !16, i64 40}
!14 = !{!"_ZTSN3vox9ComponentE", !6, i64 8, !15, i64 16, !15, i64 17, !15, i64 18}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!"float", !7, i64 0}
!18 = !{!"_ZTSN3vox5PointIfLm3EEE", !17, i64 0, !17, i64 4, !17, i64 8}
!19 = !{!"_ZTSN3vox6VectorIfLm3EEE", !17, i64 0, !17, i64 4, !17, i64 8}
!20 = !{!"_ZTSN3vox7control9SphericalE", !17, i64 0, !17, i64 4, !17, i64 8}
!21 = !{!"_ZTSN3vox7control12OrbitControl5STATE4EnumE", !7, i64 0}
!22 = !{!"_ZTSN3vox6VectorIfLm2EEE", !17, i64 0, !17, i64 4}
!23 = !{!"int", !7, i64 0}
!24 = !{!12, !17, i64 76}
!25 = !{!12, !17, i64 80}
!26 = !{!12, !17, i64 84}
!27 = !{!12, !17, i64 88}
!28 = !{!12, !15, i64 92}
!29 = !{!12, !17, i64 96}
!30 = !{!12, !15, i64 100}
!31 = !{!12, !17, i64 104}
!32 = !{!12, !15, i64 108}
!33 = !{!12, !17, i64 112}
!34 = !{!12, !17, i64 116}
!35 = !{!12, !15, i64 120}
!36 = !{!12, !17, i64 124}
!37 = !{!12, !15, i64 128}
!38 = !{!12, !17, i64 132}
!39 = !{!12, !17, i64 136}
!40 = !{!12, !17, i64 140}
!41 = !{!12, !17, i64 144}
!42 = !{!12, !15, i64 148}
!43 = !{!12, !17, i64 152}
!44 = !{!12, !6, i64 160}
!45 = !{!12, !17, i64 228}
!46 = !{!12, !17, i64 232}
!47 = !{!12, !15, i64 248}
!48 = !{!12, !21, i64 264}
!49 = !{!12, !15, i64 340}
!50 = !{!12, !15, i64 341}
!51 = !{!12, !23, i64 344}
!52 = !{!12, !23, i64 348}


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

@_ZTVN3vox7control12OrbitControlE = external dso_local unnamed_addr constant { [24 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3vox7control12OrbitControlC2EPNS_6EntityE(ptr noundef nonnull align 8 dereferenceable(352) %0, ptr noundef %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN3vox6ScriptC2EPNS_6EntityE(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef %1)
  store ptr getelementptr inbounds inrange(-16, 176) (i8, ptr @_ZTVN3vox7control12OrbitControlE, i64 16), ptr %0, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %0, i64 48
  store float 4.500000e+01, ptr %3, align 8, !tbaa !8
  %4 = getelementptr inbounds i8, ptr %0, i64 52
  tail call void @_ZN3vox5PointIfLm3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %4)
  %5 = getelementptr inbounds i8, ptr %0, i64 64
  tail call void @_ZN3vox6VectorIfLm3EEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %5, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %6 = getelementptr inbounds i8, ptr %0, i64 76
  store float 0x3FB99999A0000000, ptr %6, align 4, !tbaa !23
  %7 = getelementptr inbounds i8, ptr %0, i64 80
  %8 = tail call noundef float @_ZNSt14numeric_limitsIfE8infinityEv() #3
  store float %8, ptr %7, align 8, !tbaa !24
  %9 = getelementptr inbounds i8, ptr %0, i64 84
  store float 0.000000e+00, ptr %9, align 4, !tbaa !25
  %10 = getelementptr inbounds i8, ptr %0, i64 88
  %11 = tail call noundef float @_ZNSt14numeric_limitsIfE8infinityEv() #3
  store float %11, ptr %10, align 8, !tbaa !26
  %12 = getelementptr inbounds i8, ptr %0, i64 92
  store i8 1, ptr %12, align 4, !tbaa !27
  %13 = getelementptr inbounds i8, ptr %0, i64 96
  store float 0x3FB99999A0000000, ptr %13, align 8, !tbaa !28
  %14 = getelementptr inbounds i8, ptr %0, i64 100
  store i8 1, ptr %14, align 4, !tbaa !29
  %15 = getelementptr inbounds i8, ptr %0, i64 104
  store float 1.000000e+00, ptr %15, align 8, !tbaa !30
  %16 = getelementptr inbounds i8, ptr %0, i64 108
  store i8 1, ptr %16, align 4, !tbaa !31
  %17 = getelementptr inbounds i8, ptr %0, i64 112
  store <2 x float> <float 0x3FC99999A0000000, float 1.000000e+00>, ptr %17, align 8, !tbaa !32
  %18 = getelementptr inbounds i8, ptr %0, i64 120
  store i8 1, ptr %18, align 8, !tbaa !33
  %19 = getelementptr inbounds i8, ptr %0, i64 124
  store float 7.000000e+00, ptr %19, align 4, !tbaa !34
  %20 = getelementptr inbounds i8, ptr %0, i64 128
  store i8 1, ptr %20, align 8, !tbaa !35
  %21 = getelementptr inbounds i8, ptr %0, i64 132
  store <2 x float> <float 0.000000e+00, float 0x400921FB60000000>, ptr %21, align 4, !tbaa !32
  %22 = getelementptr inbounds i8, ptr %0, i64 140
  %23 = tail call noundef float @_ZNSt14numeric_limitsIfE8infinityEv() #3
  %24 = fneg float %23
  store float %24, ptr %22, align 4, !tbaa !36
  %25 = getelementptr inbounds i8, ptr %0, i64 144
  %26 = tail call noundef float @_ZNSt14numeric_limitsIfE8infinityEv() #3
  store float %26, ptr %25, align 8, !tbaa !37
  %27 = getelementptr inbounds i8, ptr %0, i64 148
  store i8 0, ptr %27, align 4, !tbaa !38
  %28 = getelementptr inbounds i8, ptr %0, i64 152
  store float 0x400921FB60000000, ptr %28, align 8, !tbaa !39
  %29 = getelementptr inbounds i8, ptr %0, i64 160
  store ptr %1, ptr %29, align 8, !tbaa !40
  %30 = getelementptr inbounds i8, ptr %0, i64 168
  tail call void @_ZN3vox5PointIfLm3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %30)
  %31 = getelementptr inbounds i8, ptr %0, i64 180
  tail call void @_ZN3vox6VectorIfLm3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %31)
  %32 = getelementptr inbounds i8, ptr %0, i64 192
  invoke void @_ZN3vox7control9SphericalC1Efff(ptr noundef nonnull align 4 dereferenceable(12) %32, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %33 unwind label %56

33:                                               ; preds = %2
  %34 = getelementptr inbounds i8, ptr %0, i64 204
  invoke void @_ZN3vox7control9SphericalC1Efff(ptr noundef nonnull align 4 dereferenceable(12) %34, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %35 unwind label %56

35:                                               ; preds = %33
  %36 = getelementptr inbounds i8, ptr %0, i64 216
  invoke void @_ZN3vox7control9SphericalC1Efff(ptr noundef nonnull align 4 dereferenceable(12) %36, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %37 unwind label %56

37:                                               ; preds = %35
  %38 = getelementptr inbounds i8, ptr %0, i64 228
  store <2 x float> <float 0.000000e+00, float 1.000000e+00>, ptr %38, align 4, !tbaa !32
  %39 = getelementptr inbounds i8, ptr %0, i64 236
  tail call void @_ZN3vox6VectorIfLm3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %39)
  %40 = getelementptr inbounds i8, ptr %0, i64 248
  store i8 1, ptr %40, align 8, !tbaa !41
  %41 = getelementptr inbounds i8, ptr %0, i64 252
  tail call void @_ZN3vox6VectorIfLm3EEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %41)
  %42 = getelementptr inbounds i8, ptr %0, i64 264
  store i32 -1, ptr %42, align 8, !tbaa !42
  %43 = getelementptr inbounds i8, ptr %0, i64 268
  tail call void @_ZN3vox6VectorIfLm2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %43)
  %44 = getelementptr inbounds i8, ptr %0, i64 276
  tail call void @_ZN3vox6VectorIfLm2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %44)
  %45 = getelementptr inbounds i8, ptr %0, i64 284
  tail call void @_ZN3vox6VectorIfLm2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %45)
  %46 = getelementptr inbounds i8, ptr %0, i64 292
  tail call void @_ZN3vox6VectorIfLm2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %46)
  %47 = getelementptr inbounds i8, ptr %0, i64 300
  tail call void @_ZN3vox6VectorIfLm2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %47)
  %48 = getelementptr inbounds i8, ptr %0, i64 308
  tail call void @_ZN3vox6VectorIfLm2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %48)
  %49 = getelementptr inbounds i8, ptr %0, i64 316
  tail call void @_ZN3vox6VectorIfLm2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %49)
  %50 = getelementptr inbounds i8, ptr %0, i64 324
  tail call void @_ZN3vox6VectorIfLm2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %50)
  %51 = getelementptr inbounds i8, ptr %0, i64 332
  tail call void @_ZN3vox6VectorIfLm2EEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %51)
  %52 = getelementptr inbounds i8, ptr %0, i64 340
  store i8 1, ptr %52, align 4, !tbaa !43
  %53 = getelementptr inbounds i8, ptr %0, i64 341
  store i8 0, ptr %53, align 1, !tbaa !44
  %54 = getelementptr inbounds i8, ptr %0, i64 344
  store i32 1000, ptr %54, align 8, !tbaa !45
  %55 = getelementptr inbounds i8, ptr %0, i64 348
  store i32 1000, ptr %55, align 4, !tbaa !46
  ret void

56:                                               ; preds = %35, %33, %2
  %57 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN3vox9ComponentD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #3
  resume { ptr, i32 } %57
}

declare void @_ZN3vox6ScriptC2EPNS_6EntityE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef) unnamed_addr #1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNSt14numeric_limitsIfE8infinityEv() local_unnamed_addr #2 align 2

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

declare void @_ZN3vox7control9SphericalC1Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #1

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

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

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


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