; LLVM IR from maliput/maliput :: src/maliput/api/lane_data.ll (ZNK7maliput3api8Rotation8DistanceERKS1_)

; 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.maliput::api::InertialPosition" = type { %"class.maliput::math::Vector3" }
%"class.maliput::math::Vector3" = type { %"class.maliput::math::VectorBase" }
%"class.maliput::math::VectorBase" = type { %"struct.std::array" }
%"struct.std::array" = type { [3 x double] }

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

; 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(24) ptr @_ZNK7maliput3api16InertialPosition3xyzEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7maliput3api8Rotation5ApplyERKNS0_16InertialPositionE(ptr dead_on_unwind noalias writable sret(%"class.maliput::api::InertialPosition") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZNK7maliput3api8Rotation8DistanceERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) #2 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.maliput::api::InertialPosition", align 8
  %6 = alloca %"class.maliput::api::InertialPosition", align 8
  %7 = alloca %"class.maliput::api::InertialPosition", align 8
  %8 = alloca %"class.maliput::api::InertialPosition", align 8
  %9 = alloca %"class.maliput::api::InertialPosition", align 8
  %10 = alloca %"class.maliput::api::InertialPosition", align 8
  %11 = alloca %"class.maliput::api::InertialPosition", align 8
  %12 = alloca %"class.maliput::api::InertialPosition", align 8
  %13 = alloca %"class.maliput::api::InertialPosition", align 8
  %14 = alloca %"class.maliput::api::InertialPosition", align 8
  %15 = alloca %"class.maliput::api::InertialPosition", align 8
  %16 = alloca %"class.maliput::api::InertialPosition", align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %20 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #6
  call void @_ZN7maliput3api16InertialPositionC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %6, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
  call void @_ZNK7maliput3api8Rotation5ApplyERKNS0_16InertialPositionE(ptr dead_on_unwind writable sret(%"class.maliput::api::InertialPosition") align 8 %5, ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(24) %6)
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #6
  call void @_ZN7maliput3api16InertialPositionC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %8, double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00)
  call void @_ZNK7maliput3api8Rotation5ApplyERKNS0_16InertialPositionE(ptr dead_on_unwind writable sret(%"class.maliput::api::InertialPosition") align 8 %7, ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(24) %8)
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #6
  call void @_ZN7maliput3api16InertialPositionC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %10, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
  call void @_ZNK7maliput3api8Rotation5ApplyERKNS0_16InertialPositionE(ptr dead_on_unwind writable sret(%"class.maliput::api::InertialPosition") align 8 %9, ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(24) %10)
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #6
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #6
  call void @_ZN7maliput3api16InertialPositionC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %12, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
  call void @_ZNK7maliput3api8Rotation5ApplyERKNS0_16InertialPositionE(ptr dead_on_unwind writable sret(%"class.maliput::api::InertialPosition") align 8 %11, ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(24) %12)
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #6
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #6
  call void @_ZN7maliput3api16InertialPositionC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %14, double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00)
  call void @_ZNK7maliput3api8Rotation5ApplyERKNS0_16InertialPositionE(ptr dead_on_unwind writable sret(%"class.maliput::api::InertialPosition") align 8 %13, ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(24) %14)
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #6
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #6
  call void @_ZN7maliput3api16InertialPositionC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %16, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
  call void @_ZNK7maliput3api8Rotation5ApplyERKNS0_16InertialPositionE(ptr dead_on_unwind writable sret(%"class.maliput::api::InertialPosition") align 8 %15, ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(24) %16)
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %24 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7maliput3api16InertialPosition3xyzEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
  %25 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7maliput3api16InertialPosition3xyzEv(ptr noundef nonnull align 8 dereferenceable(24) %11)
  %26 = call noundef double @_ZNK7maliput4math10VectorBaseILm3ENS0_7Vector3EE3dotERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(24) %25)
  %27 = call double @acos(double noundef %26) #6
  store double %27, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %28 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7maliput3api16InertialPosition3xyzEv(ptr noundef nonnull align 8 dereferenceable(24) %7)
  %29 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7maliput3api16InertialPosition3xyzEv(ptr noundef nonnull align 8 dereferenceable(24) %13)
  %30 = call noundef double @_ZNK7maliput4math10VectorBaseILm3ENS0_7Vector3EE3dotERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 8 dereferenceable(24) %29)
  %31 = call double @acos(double noundef %30) #6
  store double %31, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %32 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7maliput3api16InertialPosition3xyzEv(ptr noundef nonnull align 8 dereferenceable(24) %9)
  %33 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7maliput3api16InertialPosition3xyzEv(ptr noundef nonnull align 8 dereferenceable(24) %15)
  %34 = call noundef double @_ZNK7maliput4math10VectorBaseILm3ENS0_7Vector3EE3dotERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %33)
  %35 = call double @acos(double noundef %34) #6
  store double %35, ptr %19, align 8, !tbaa !9
  %36 = load double, ptr %17, align 8, !tbaa !9
  %37 = load double, ptr %17, align 8, !tbaa !9
  %38 = load double, ptr %18, align 8, !tbaa !9
  %39 = load double, ptr %18, align 8, !tbaa !9
  %40 = fmul double %38, %39
  %41 = call double @llvm.fmuladd.f64(double %36, double %37, double %40)
  %42 = load double, ptr %19, align 8, !tbaa !9
  %43 = load double, ptr %19, align 8, !tbaa !9
  %44 = call double @llvm.fmuladd.f64(double %42, double %43, double %41)
  %45 = call double @sqrt(double noundef %44) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #6
  ret double %45
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7maliput3api16InertialPositionC2Eddd(ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, double noundef) unnamed_addr #2 align 2

; Function Attrs: nounwind
declare double @acos(double noundef) #3

declare noundef double @_ZNK7maliput4math10VectorBaseILm3ENS0_7Vector3EE3dotERKS3_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #4

; Function Attrs: nounwind
declare double @sqrt(double noundef) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { nounwind "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 = !{!"double", !7, i64 0}


; 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.maliput::api::InertialPosition" = type { %"class.maliput::math::Vector3" }
%"class.maliput::math::Vector3" = type { %"class.maliput::math::VectorBase" }
%"class.maliput::math::VectorBase" = type { %"struct.std::array" }
%"struct.std::array" = type { [3 x double] }

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

; 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(24) ptr @_ZNK7maliput3api16InertialPosition3xyzEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7maliput3api8Rotation5ApplyERKNS0_16InertialPositionE(ptr dead_on_unwind noalias writable sret(%"class.maliput::api::InertialPosition") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZNK7maliput3api8Rotation8DistanceERKS1_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) local_unnamed_addr #2 align 2 {
  %3 = alloca %"class.maliput::api::InertialPosition", align 8
  %4 = alloca %"class.maliput::api::InertialPosition", align 8
  %5 = alloca %"class.maliput::api::InertialPosition", align 8
  %6 = alloca %"class.maliput::api::InertialPosition", align 8
  %7 = alloca %"class.maliput::api::InertialPosition", align 8
  %8 = alloca %"class.maliput::api::InertialPosition", align 8
  %9 = alloca %"class.maliput::api::InertialPosition", align 8
  %10 = alloca %"class.maliput::api::InertialPosition", align 8
  %11 = alloca %"class.maliput::api::InertialPosition", align 8
  %12 = alloca %"class.maliput::api::InertialPosition", align 8
  %13 = alloca %"class.maliput::api::InertialPosition", align 8
  %14 = alloca %"class.maliput::api::InertialPosition", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #7
  call void @_ZN7maliput3api16InertialPositionC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %4, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
  call void @_ZNK7maliput3api8Rotation5ApplyERKNS0_16InertialPositionE(ptr dead_on_unwind nonnull writable sret(%"class.maliput::api::InertialPosition") align 8 %3, ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(24) %4)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #7
  call void @_ZN7maliput3api16InertialPositionC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %6, double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00)
  call void @_ZNK7maliput3api8Rotation5ApplyERKNS0_16InertialPositionE(ptr dead_on_unwind nonnull writable sret(%"class.maliput::api::InertialPosition") align 8 %5, ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(24) %6)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #7
  call void @_ZN7maliput3api16InertialPositionC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %8, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
  call void @_ZNK7maliput3api8Rotation5ApplyERKNS0_16InertialPositionE(ptr dead_on_unwind nonnull writable sret(%"class.maliput::api::InertialPosition") align 8 %7, ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(24) %8)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #7
  call void @_ZN7maliput3api16InertialPositionC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %10, double noundef 1.000000e+00, double noundef 0.000000e+00, double noundef 0.000000e+00)
  call void @_ZNK7maliput3api8Rotation5ApplyERKNS0_16InertialPositionE(ptr dead_on_unwind nonnull writable sret(%"class.maliput::api::InertialPosition") align 8 %9, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(24) %10)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #7
  call void @_ZN7maliput3api16InertialPositionC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %12, double noundef 0.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00)
  call void @_ZNK7maliput3api8Rotation5ApplyERKNS0_16InertialPositionE(ptr dead_on_unwind nonnull writable sret(%"class.maliput::api::InertialPosition") align 8 %11, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(24) %12)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #7
  call void @_ZN7maliput3api16InertialPositionC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %14, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00)
  call void @_ZNK7maliput3api8Rotation5ApplyERKNS0_16InertialPositionE(ptr dead_on_unwind nonnull writable sret(%"class.maliput::api::InertialPosition") align 8 %13, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(24) %14)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  %15 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7maliput3api16InertialPosition3xyzEv(ptr noundef nonnull align 8 dereferenceable(24) %3)
  %16 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7maliput3api16InertialPosition3xyzEv(ptr noundef nonnull align 8 dereferenceable(24) %9)
  %17 = call noundef double @_ZNK7maliput4math10VectorBaseILm3ENS0_7Vector3EE3dotERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %16)
  %18 = call double @acos(double noundef %17) #7
  %19 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7maliput3api16InertialPosition3xyzEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
  %20 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7maliput3api16InertialPosition3xyzEv(ptr noundef nonnull align 8 dereferenceable(24) %11)
  %21 = call noundef double @_ZNK7maliput4math10VectorBaseILm3ENS0_7Vector3EE3dotERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %20)
  %22 = call double @acos(double noundef %21) #7
  %23 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7maliput3api16InertialPosition3xyzEv(ptr noundef nonnull align 8 dereferenceable(24) %7)
  %24 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7maliput3api16InertialPosition3xyzEv(ptr noundef nonnull align 8 dereferenceable(24) %13)
  %25 = call noundef double @_ZNK7maliput4math10VectorBaseILm3ENS0_7Vector3EE3dotERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(24) %24)
  %26 = call double @acos(double noundef %25) #7
  %27 = fmul double %22, %22
  %28 = call double @llvm.fmuladd.f64(double %18, double %18, double %27)
  %29 = call double @llvm.fmuladd.f64(double %26, double %26, double %28)
  %sqrt = call double @llvm.sqrt.f64(double %29)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #7
  ret double %sqrt
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7maliput3api16InertialPositionC2Eddd(ptr noundef nonnull align 8 dereferenceable(24), double noundef, double noundef, double noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @acos(double noundef) local_unnamed_addr #3

declare noundef double @_ZNK7maliput4math10VectorBaseILm3ENS0_7Vector3EE3dotERKS3_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.sqrt.f64(double) #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { mustprogress nofree nounwind willreturn memory(write) "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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nounwind }

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

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


; Effective O3 passes: AggressiveInstCombinePass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass