; LLVM IR from wgtdkp/apollonia :: src/joint.ll (ZN9apollonia13RevoluteJoint12ApplyImpulseEv)

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

%"struct.apollonia::Vec2" = type { float, float }
%"class.apollonia::RevoluteJoint" = type { %"class.apollonia::Joint", %"struct.apollonia::Vec2", %"struct.apollonia::Vec2", %"struct.apollonia::Vec2", %"struct.apollonia::Vec2", %"struct.apollonia::Vec2", %"struct.apollonia::Mat22", %"struct.apollonia::Vec2", %"struct.apollonia::Vec2" }
%"class.apollonia::Joint" = type { ptr, ptr, ptr }
%"struct.apollonia::Mat22" = type { %"struct.std::array" }
%"struct.std::array" = type { [2 x %"struct.apollonia::Vec2"] }

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZN9apolloniamlERKNS_5Mat22ERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(8)) #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZN9apolloniamiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(88) ptr @_ZN9apollonia5Joint1aEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(88) ptr @_ZN9apollonia5Joint1bEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZN9apolloniamlEfRKNS_4Vec2E(float noundef, ptr noundef nonnull align 4 dereferenceable(8)) #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZN9apolloniaplERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #1

declare void @_ZN9apollonia4Body12ApplyImpulseERKNS_4Vec2ES3_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #3

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK9apollonia4Vec2ngEv(ptr noundef nonnull align 4 dereferenceable(8)) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9apollonia13RevoluteJoint12ApplyImpulseEv(ptr noundef nonnull align 8 dereferenceable(96) %0) unnamed_addr #4 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.apollonia::Vec2", align 4
  %6 = alloca %"struct.apollonia::Vec2", align 4
  %7 = alloca %"struct.apollonia::Vec2", align 4
  %8 = alloca %"struct.apollonia::Vec2", align 4
  %9 = alloca %"struct.apollonia::Vec2", align 4
  %10 = alloca %"struct.apollonia::Vec2", align 4
  %11 = alloca %"struct.apollonia::Vec2", align 4
  %12 = alloca %"struct.apollonia::Vec2", align 4
  %13 = alloca %"struct.apollonia::Vec2", align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %14 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %15 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN9apollonia5Joint1aEv(ptr noundef nonnull align 8 dereferenceable(24) %14)
  store ptr %15, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %16 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN9apollonia5Joint1bEv(ptr noundef nonnull align 8 dereferenceable(24) %14)
  store ptr %16, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9apollonia4Body8velocityEv(ptr noundef nonnull align 8 dereferenceable(88) %17)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = call noundef float @_ZNK9apollonia4Body16angular_velocityEv(ptr noundef nonnull align 8 dereferenceable(88) %19)
  %21 = getelementptr inbounds %"class.apollonia::RevoluteJoint", ptr %14, i32 0, i32 5
  %22 = call <2 x float> @_ZN9apolloniaL5CrossEfRKNS_4Vec2E(float noundef %20, ptr noundef nonnull align 4 dereferenceable(8) %21)
  store <2 x float> %22, ptr %7, align 4
  %23 = call <2 x float> @_ZN9apolloniaplERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %7)
  store <2 x float> %23, ptr %6, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %24 = load ptr, ptr %3, align 8, !tbaa !5
  %25 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9apollonia4Body8velocityEv(ptr noundef nonnull align 8 dereferenceable(88) %24)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  %27 = call noundef float @_ZNK9apollonia4Body16angular_velocityEv(ptr noundef nonnull align 8 dereferenceable(88) %26)
  %28 = getelementptr inbounds %"class.apollonia::RevoluteJoint", ptr %14, i32 0, i32 4
  %29 = call <2 x float> @_ZN9apolloniaL5CrossEfRKNS_4Vec2E(float noundef %27, ptr noundef nonnull align 4 dereferenceable(8) %28)
  store <2 x float> %29, ptr %9, align 4
  %30 = call <2 x float> @_ZN9apolloniaplERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %25, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %30, ptr %8, align 4
  %31 = call <2 x float> @_ZN9apolloniamiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %31, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %32 = getelementptr inbounds %"class.apollonia::RevoluteJoint", ptr %14, i32 0, i32 6
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %33 = call <2 x float> @_ZN9apolloniamlEfRKNS_4Vec2E(float noundef -1.000000e+00, ptr noundef nonnull align 4 dereferenceable(8) %5)
  store <2 x float> %33, ptr %12, align 4
  %34 = getelementptr inbounds %"class.apollonia::RevoluteJoint", ptr %14, i32 0, i32 8
  %35 = call <2 x float> @_ZN9apolloniaplERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(8) %34)
  store <2 x float> %35, ptr %11, align 4
  %36 = call <2 x float> @_ZN9apolloniamlERKNS_5Mat22ERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(16) %32, ptr noundef nonnull align 4 dereferenceable(8) %11)
  store <2 x float> %36, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %38 = call <2 x float> @_ZNK9apollonia4Vec2ngEv(ptr noundef nonnull align 4 dereferenceable(8) %10)
  store <2 x float> %38, ptr %13, align 4
  %39 = getelementptr inbounds %"class.apollonia::RevoluteJoint", ptr %14, i32 0, i32 4
  call void @_ZN9apollonia4Body12ApplyImpulseERKNS_4Vec2ES3_(ptr noundef nonnull align 8 dereferenceable(88) %37, ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %39)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %"class.apollonia::RevoluteJoint", ptr %14, i32 0, i32 5
  call void @_ZN9apollonia4Body12ApplyImpulseERKNS_4Vec2ES3_(ptr noundef nonnull align 8 dereferenceable(88) %40, ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %41)
  %42 = getelementptr inbounds %"class.apollonia::RevoluteJoint", ptr %14, i32 0, i32 7
  call void @_ZN9apolloniapLERNS_4Vec2ERKS0_(ptr noundef nonnull align 4 dereferenceable(8) %42, ptr noundef nonnull align 4 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  ret void
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZN9apolloniaL5CrossEfRKNS_4Vec2E(float noundef, ptr noundef nonnull align 4 dereferenceable(8)) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK9apollonia4Body16angular_velocityEv(ptr noundef nonnull align 8 dereferenceable(88)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN9apolloniapLERNS_4Vec2ERKS0_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #1

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


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

%"struct.apollonia::Vec2" = type { float, float }

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZN9apolloniamlERKNS_5Mat22ERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZN9apolloniamiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(88) ptr @_ZN9apollonia5Joint1aEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(88) ptr @_ZN9apollonia5Joint1bEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZN9apolloniamlEfRKNS_4Vec2E(float noundef, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZN9apolloniaplERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #1

declare void @_ZN9apollonia4Body12ApplyImpulseERKNS_4Vec2ES3_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK9apollonia4Vec2ngEv(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9apollonia13RevoluteJoint12ApplyImpulseEv(ptr noundef nonnull align 8 dereferenceable(96) %0) unnamed_addr #4 align 2 {
  %2 = alloca %"struct.apollonia::Vec2", align 8
  %3 = alloca %"struct.apollonia::Vec2", align 8
  %4 = alloca %"struct.apollonia::Vec2", align 8
  %5 = alloca %"struct.apollonia::Vec2", align 8
  %6 = alloca %"struct.apollonia::Vec2", align 8
  %7 = alloca %"struct.apollonia::Vec2", align 8
  %8 = alloca %"struct.apollonia::Vec2", align 8
  %9 = alloca %"struct.apollonia::Vec2", align 8
  %10 = alloca %"struct.apollonia::Vec2", align 8
  %11 = tail call noundef nonnull align 8 dereferenceable(88) ptr @_ZN9apollonia5Joint1aEv(ptr noundef nonnull align 8 dereferenceable(24) %0)
  %12 = tail call noundef nonnull align 8 dereferenceable(88) ptr @_ZN9apollonia5Joint1bEv(ptr noundef nonnull align 8 dereferenceable(24) %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %13 = tail call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9apollonia4Body8velocityEv(ptr noundef nonnull align 8 dereferenceable(88) %12)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %14 = tail call noundef float @_ZNK9apollonia4Body16angular_velocityEv(ptr noundef nonnull align 8 dereferenceable(88) %12)
  %15 = getelementptr inbounds i8, ptr %0, i64 56
  %16 = tail call <2 x float> @_ZN9apolloniaL5CrossEfRKNS_4Vec2E(float noundef %14, ptr noundef nonnull align 4 dereferenceable(8) %15)
  store <2 x float> %16, ptr %4, align 8
  %17 = call <2 x float> @_ZN9apolloniaplERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %4)
  store <2 x float> %17, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %18 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9apollonia4Body8velocityEv(ptr noundef nonnull align 8 dereferenceable(88) %11)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %19 = call noundef float @_ZNK9apollonia4Body16angular_velocityEv(ptr noundef nonnull align 8 dereferenceable(88) %11)
  %20 = getelementptr inbounds i8, ptr %0, i64 48
  %21 = call <2 x float> @_ZN9apolloniaL5CrossEfRKNS_4Vec2E(float noundef %19, ptr noundef nonnull align 4 dereferenceable(8) %20)
  store <2 x float> %21, ptr %6, align 8
  %22 = call <2 x float> @_ZN9apolloniaplERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %6)
  store <2 x float> %22, ptr %5, align 8
  %23 = call <2 x float> @_ZN9apolloniamiERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(8) %5)
  store <2 x float> %23, ptr %2, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %24 = getelementptr inbounds i8, ptr %0, i64 64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %25 = call <2 x float> @_ZN9apolloniamlEfRKNS_4Vec2E(float noundef -1.000000e+00, ptr noundef nonnull align 4 dereferenceable(8) %2)
  store <2 x float> %25, ptr %9, align 8
  %26 = getelementptr inbounds i8, ptr %0, i64 88
  %27 = call <2 x float> @_ZN9apolloniaplERKNS_4Vec2ES2_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %26)
  store <2 x float> %27, ptr %8, align 8
  %28 = call <2 x float> @_ZN9apolloniamlERKNS_5Mat22ERKNS_4Vec2E(ptr noundef nonnull align 4 dereferenceable(16) %24, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %28, ptr %7, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  %29 = call <2 x float> @_ZNK9apollonia4Vec2ngEv(ptr noundef nonnull align 4 dereferenceable(8) %7)
  store <2 x float> %29, ptr %10, align 8
  call void @_ZN9apollonia4Body12ApplyImpulseERKNS_4Vec2ES3_(ptr noundef nonnull align 8 dereferenceable(88) %11, ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %20)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  call void @_ZN9apollonia4Body12ApplyImpulseERKNS_4Vec2ES3_(ptr noundef nonnull align 8 dereferenceable(88) %12, ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %15)
  %30 = getelementptr inbounds i8, ptr %0, i64 80
  call void @_ZN9apolloniapLERNS_4Vec2ERKS0_(ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 4 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9apollonia4Body8velocityEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZN9apolloniaL5CrossEfRKNS_4Vec2E(float noundef, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK9apollonia4Body16angular_velocityEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN9apolloniapLERNS_4Vec2ERKS0_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #1

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}


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