; LLVM IR from simbody/simbody :: SimTKmath/Optimizers/src/IpOpt (IpQualityFunctionMuOracle)

; 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.SimTKIpopt::QualityFunctionMuOracle" = type { %"class.SimTKIpopt::MuOracle.base", %"class.SimTKIpopt::SmartPtr.10", double, double, i32, i32, i32, double, double, i32, %"class.SimTKIpopt::SmartPtr.11", %"class.SimTKIpopt::SmartPtr.11", %"class.SimTKIpopt::SmartPtr.11", %"class.SimTKIpopt::SmartPtr.11", %"class.SimTKIpopt::SmartPtr.11", %"class.SimTKIpopt::SmartPtr.11", %"class.SimTKIpopt::SmartPtr.11", %"class.SimTKIpopt::SmartPtr.11", %"class.SimTKIpopt::SmartPtr.11", %"class.SimTKIpopt::SmartPtr.11", %"class.SimTKIpopt::SmartPtr.11", %"class.SimTKIpopt::SmartPtr.11", %"class.SimTKIpopt::SmartPtr.11", %"class.SimTKIpopt::SmartPtr.11", %"class.SimTKIpopt::SmartPtr.11", %"class.SimTKIpopt::SmartPtr.11", i32, i8, i32, i32, i32, %"class.SimTKIpopt::SmartPtr.12", %"class.SimTKIpopt::SmartPtr.12", %"class.SimTKIpopt::SmartPtr.12", %"class.SimTKIpopt::SmartPtr.12", %"class.SimTKIpopt::SmartPtr.12", %"class.SimTKIpopt::SmartPtr.12", %"class.SimTKIpopt::SmartPtr.12", %"class.SimTKIpopt::SmartPtr.12", double, double, double, double, double, double, double, double, double, double, double, double }
%"class.SimTKIpopt::MuOracle.base" = type { %"class.SimTKIpopt::AlgorithmStrategyObject.base" }
%"class.SimTKIpopt::AlgorithmStrategyObject.base" = type <{ %"class.SimTKIpopt::ReferencedObject.base", [4 x i8], %"class.SimTKIpopt::SmartPtr.6", %"class.SimTKIpopt::SmartPtr.7", %"class.SimTKIpopt::SmartPtr.8", %"class.SimTKIpopt::SmartPtr.9", i8 }>
%"class.SimTKIpopt::ReferencedObject.base" = type <{ ptr, i32 }>
%"class.SimTKIpopt::SmartPtr.6" = type { ptr }
%"class.SimTKIpopt::SmartPtr.7" = type { ptr }
%"class.SimTKIpopt::SmartPtr.8" = type { ptr }
%"class.SimTKIpopt::SmartPtr.9" = type { ptr }
%"class.SimTKIpopt::SmartPtr.10" = type { ptr }
%"class.SimTKIpopt::SmartPtr.11" = type { ptr }
%"class.SimTKIpopt::SmartPtr.12" = type { ptr }

@.str.49 = external hidden unnamed_addr constant [114 x i8], align 1

; 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 uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject5JnlstEv(ptr noundef nonnull align 8 dereferenceable(49)) #1 align 2

declare void @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef, ptr noundef, ...) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(2025) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject4IpCqEv(ptr noundef nonnull align 8 dereferenceable(49)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt9TimedTask5StartEv(ptr noundef nonnull align 8 dereferenceable(18)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task5Ev(ptr noundef nonnull align 8 dereferenceable(664)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK10SimTKIpopt6Vector4AsumEv(ptr noundef nonnull align 8 dereferenceable(205)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK10SimTKIpopt6Vector4Nrm2Ev(ptr noundef nonnull align 8 dereferenceable(205)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK10SimTKIpopt6Vector4AmaxEv(ptr noundef nonnull align 8 dereferenceable(205)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10SimTKIpopt9TimedTask3EndEv(ptr noundef nonnull align 8 dereferenceable(18)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN10SimTKIpopt23QualityFunctionMuOracle24CalculateQualityFunctionEdRKNS_6VectorES3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(432) %0, double noundef %1, ptr noundef nonnull align 8 dereferenceable(205) %2, ptr noundef nonnull align 8 dereferenceable(205) %3, ptr noundef nonnull align 8 dereferenceable(205) %4, ptr noundef nonnull align 8 dereferenceable(205) %5, ptr noundef nonnull align 8 dereferenceable(205) %6, ptr noundef nonnull align 8 dereferenceable(205) %7, ptr noundef nonnull align 8 dereferenceable(205) %8, ptr noundef nonnull align 8 dereferenceable(205) %9, ptr noundef nonnull align 8 dereferenceable(205) %10, ptr noundef nonnull align 8 dereferenceable(205) %11, ptr noundef nonnull align 8 dereferenceable(205) %12, ptr noundef nonnull align 8 dereferenceable(205) %13, ptr noundef nonnull align 8 dereferenceable(205) %14, ptr noundef nonnull align 8 dereferenceable(205) %15, ptr noundef nonnull align 8 dereferenceable(205) %16, ptr noundef nonnull align 8 dereferenceable(205) %17, ptr noundef nonnull align 8 dereferenceable(205) %18, ptr noundef nonnull align 8 dereferenceable(205) %19, ptr noundef nonnull align 8 dereferenceable(205) %20, ptr noundef nonnull align 8 dereferenceable(205) %21) #1 align 2 {
  %23 = alloca ptr, align 8
  %24 = alloca double, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca ptr, align 8
  %36 = alloca ptr, align 8
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca ptr, align 8
  %40 = alloca ptr, align 8
  %41 = alloca ptr, align 8
  %42 = alloca ptr, align 8
  %43 = alloca ptr, align 8
  %44 = alloca ptr, align 8
  %45 = alloca double, align 8
  %46 = alloca double, align 8
  %47 = alloca double, align 8
  %48 = alloca double, align 8
  %49 = alloca double, align 8
  %50 = alloca double, align 8
  %51 = alloca double, align 8
  %52 = alloca double, align 8
  store ptr %0, ptr %23, align 8, !tbaa !5
  store double %1, ptr %24, align 8, !tbaa !9
  store ptr %2, ptr %25, align 8, !tbaa !5
  store ptr %3, ptr %26, align 8, !tbaa !5
  store ptr %4, ptr %27, align 8, !tbaa !5
  store ptr %5, ptr %28, align 8, !tbaa !5
  store ptr %6, ptr %29, align 8, !tbaa !5
  store ptr %7, ptr %30, align 8, !tbaa !5
  store ptr %8, ptr %31, align 8, !tbaa !5
  store ptr %9, ptr %32, align 8, !tbaa !5
  store ptr %10, ptr %33, align 8, !tbaa !5
  store ptr %11, ptr %34, align 8, !tbaa !5
  store ptr %12, ptr %35, align 8, !tbaa !5
  store ptr %13, ptr %36, align 8, !tbaa !5
  store ptr %14, ptr %37, align 8, !tbaa !5
  store ptr %15, ptr %38, align 8, !tbaa !5
  store ptr %16, ptr %39, align 8, !tbaa !5
  store ptr %17, ptr %40, align 8, !tbaa !5
  store ptr %18, ptr %41, align 8, !tbaa !5
  store ptr %19, ptr %42, align 8, !tbaa !5
  store ptr %20, ptr %43, align 8, !tbaa !5
  store ptr %21, ptr %44, align 8, !tbaa !5
  %53 = load ptr, ptr %23, align 8
  %54 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 26
  %55 = load i32, ptr %54, align 8, !tbaa !11
  %56 = add nsw i32 %55, 1
  store i32 %56, ptr %54, align 8, !tbaa !11
  %57 = call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %53)
  %58 = call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %57)
  %59 = call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task1Ev(ptr noundef nonnull align 8 dereferenceable(664) %58)
  call void @_ZN10SimTKIpopt9TimedTask5StartEv(ptr noundef nonnull align 8 dereferenceable(18) %59)
  %60 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 10
  %61 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %60)
  %62 = load ptr, ptr %25, align 8, !tbaa !5
  %63 = load double, ptr %24, align 8, !tbaa !9
  %64 = load ptr, ptr %35, align 8, !tbaa !5
  call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %61, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %62, double noundef %63, ptr noundef nonnull align 8 dereferenceable(205) %64, double noundef 0.000000e+00)
  %65 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 11
  %66 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %65)
  %67 = load ptr, ptr %26, align 8, !tbaa !5
  %68 = load double, ptr %24, align 8, !tbaa !9
  %69 = load ptr, ptr %36, align 8, !tbaa !5
  call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %66, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %67, double noundef %68, ptr noundef nonnull align 8 dereferenceable(205) %69, double noundef 0.000000e+00)
  %70 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 12
  %71 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %70)
  %72 = load ptr, ptr %27, align 8, !tbaa !5
  %73 = load double, ptr %24, align 8, !tbaa !9
  %74 = load ptr, ptr %37, align 8, !tbaa !5
  call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %71, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %72, double noundef %73, ptr noundef nonnull align 8 dereferenceable(205) %74, double noundef 0.000000e+00)
  %75 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 13
  %76 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %75)
  %77 = load ptr, ptr %28, align 8, !tbaa !5
  %78 = load double, ptr %24, align 8, !tbaa !9
  %79 = load ptr, ptr %38, align 8, !tbaa !5
  call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %76, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %77, double noundef %78, ptr noundef nonnull align 8 dereferenceable(205) %79, double noundef 0.000000e+00)
  %80 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 14
  %81 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %80)
  %82 = load ptr, ptr %31, align 8, !tbaa !5
  %83 = load double, ptr %24, align 8, !tbaa !9
  %84 = load ptr, ptr %41, align 8, !tbaa !5
  call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %81, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %82, double noundef %83, ptr noundef nonnull align 8 dereferenceable(205) %84, double noundef 0.000000e+00)
  %85 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 15
  %86 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %85)
  %87 = load ptr, ptr %32, align 8, !tbaa !5
  %88 = load double, ptr %24, align 8, !tbaa !9
  %89 = load ptr, ptr %42, align 8, !tbaa !5
  call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %86, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %87, double noundef %88, ptr noundef nonnull align 8 dereferenceable(205) %89, double noundef 0.000000e+00)
  %90 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 16
  %91 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %90)
  %92 = load ptr, ptr %33, align 8, !tbaa !5
  %93 = load double, ptr %24, align 8, !tbaa !9
  %94 = load ptr, ptr %43, align 8, !tbaa !5
  call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %91, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %92, double noundef %93, ptr noundef nonnull align 8 dereferenceable(205) %94, double noundef 0.000000e+00)
  %95 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 17
  %96 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %95)
  %97 = load ptr, ptr %34, align 8, !tbaa !5
  %98 = load double, ptr %24, align 8, !tbaa !9
  %99 = load ptr, ptr %44, align 8, !tbaa !5
  call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %96, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %97, double noundef %98, ptr noundef nonnull align 8 dereferenceable(205) %99, double noundef 0.000000e+00)
  %100 = call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %53)
  %101 = call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %100)
  %102 = call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task1Ev(ptr noundef nonnull align 8 dereferenceable(664) %101)
  call void @_ZN10SimTKIpopt9TimedTask3EndEv(ptr noundef nonnull align 8 dereferenceable(18) %102)
  %103 = call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %53)
  %104 = call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %103)
  %105 = call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task2Ev(ptr noundef nonnull align 8 dereferenceable(664) %104)
  call void @_ZN10SimTKIpopt9TimedTask5StartEv(ptr noundef nonnull align 8 dereferenceable(18) %105)
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #8
  %106 = call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %53)
  %107 = call noundef double @_ZNK10SimTKIpopt9IpoptData8curr_tauEv(ptr noundef nonnull align 8 dereferenceable(864) %106)
  store double %107, ptr %45, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #8
  %108 = call noundef nonnull align 8 dereferenceable(2025) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject4IpCqEv(ptr noundef nonnull align 8 dereferenceable(49) %53)
  %109 = load double, ptr %45, align 8, !tbaa !9
  %110 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 10
  %111 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %110)
  %112 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 11
  %113 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %112)
  %114 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 12
  %115 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %114)
  %116 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 13
  %117 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %116)
  %118 = call noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities32uncached_slack_frac_to_the_boundEdRKNS_6VectorES3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(2025) %108, double noundef %109, ptr noundef nonnull align 8 dereferenceable(205) %111, ptr noundef nonnull align 8 dereferenceable(205) %113, ptr noundef nonnull align 8 dereferenceable(205) %115, ptr noundef nonnull align 8 dereferenceable(205) %117)
  store double %118, ptr %46, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #8
  %119 = call noundef nonnull align 8 dereferenceable(2025) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject4IpCqEv(ptr noundef nonnull align 8 dereferenceable(49) %53)
  %120 = load double, ptr %45, align 8, !tbaa !9
  %121 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 14
  %122 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %121)
  %123 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 15
  %124 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %123)
  %125 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 16
  %126 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %125)
  %127 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 17
  %128 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %127)
  %129 = call noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities31uncached_dual_frac_to_the_boundEdRKNS_6VectorES3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(2025) %119, double noundef %120, ptr noundef nonnull align 8 dereferenceable(205) %122, ptr noundef nonnull align 8 dereferenceable(205) %124, ptr noundef nonnull align 8 dereferenceable(205) %126, ptr noundef nonnull align 8 dereferenceable(205) %128)
  store double %129, ptr %47, align 8, !tbaa !9
  %130 = call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %53)
  %131 = call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %130)
  %132 = call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task2Ev(ptr noundef nonnull align 8 dereferenceable(664) %131)
  call void @_ZN10SimTKIpopt9TimedTask3EndEv(ptr noundef nonnull align 8 dereferenceable(18) %132)
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #8
  store double 0.000000e+00, ptr %48, align 8, !tbaa !9
  %133 = call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %53)
  %134 = call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %133)
  %135 = call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task1Ev(ptr noundef nonnull align 8 dereferenceable(664) %134)
  call void @_ZN10SimTKIpopt9TimedTask5StartEv(ptr noundef nonnull align 8 dereferenceable(18) %135)
  %136 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 18
  %137 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %136)
  %138 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 31
  %139 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %138)
  %140 = load double, ptr %46, align 8, !tbaa !9
  %141 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 10
  %142 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %141)
  call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %137, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %139, double noundef %140, ptr noundef nonnull align 8 dereferenceable(205) %142, double noundef 0.000000e+00)
  %143 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 19
  %144 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %143)
  %145 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 32
  %146 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %145)
  %147 = load double, ptr %46, align 8, !tbaa !9
  %148 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 11
  %149 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %148)
  call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %144, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %146, double noundef %147, ptr noundef nonnull align 8 dereferenceable(205) %149, double noundef 0.000000e+00)
  %150 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 20
  %151 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %150)
  %152 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 33
  %153 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %152)
  %154 = load double, ptr %46, align 8, !tbaa !9
  %155 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 12
  %156 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %155)
  call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %151, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %153, double noundef %154, ptr noundef nonnull align 8 dereferenceable(205) %156, double noundef 0.000000e+00)
  %157 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 21
  %158 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %157)
  %159 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 34
  %160 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %159)
  %161 = load double, ptr %46, align 8, !tbaa !9
  %162 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 13
  %163 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %162)
  call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %158, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %160, double noundef %161, ptr noundef nonnull align 8 dereferenceable(205) %163, double noundef 0.000000e+00)
  %164 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 22
  %165 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %164)
  %166 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 35
  %167 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %166)
  %168 = load double, ptr %47, align 8, !tbaa !9
  %169 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 14
  %170 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %169)
  call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %165, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %167, double noundef %168, ptr noundef nonnull align 8 dereferenceable(205) %170, double noundef 0.000000e+00)
  %171 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 23
  %172 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %171)
  %173 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 36
  %174 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %173)
  %175 = load double, ptr %47, align 8, !tbaa !9
  %176 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 15
  %177 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %176)
  call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %172, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %174, double noundef %175, ptr noundef nonnull align 8 dereferenceable(205) %177, double noundef 0.000000e+00)
  %178 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 24
  %179 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %178)
  %180 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 37
  %181 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %180)
  %182 = load double, ptr %47, align 8, !tbaa !9
  %183 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 16
  %184 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %183)
  call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %179, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %181, double noundef %182, ptr noundef nonnull align 8 dereferenceable(205) %184, double noundef 0.000000e+00)
  %185 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 25
  %186 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %185)
  %187 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 38
  %188 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %187)
  %189 = load double, ptr %47, align 8, !tbaa !9
  %190 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 17
  %191 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %190)
  call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %186, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %188, double noundef %189, ptr noundef nonnull align 8 dereferenceable(205) %191, double noundef 0.000000e+00)
  %192 = call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %53)
  %193 = call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %192)
  %194 = call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task1Ev(ptr noundef nonnull align 8 dereferenceable(664) %193)
  call void @_ZN10SimTKIpopt9TimedTask3EndEv(ptr noundef nonnull align 8 dereferenceable(18) %194)
  %195 = call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %53)
  %196 = call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %195)
  %197 = call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task3Ev(ptr noundef nonnull align 8 dereferenceable(664) %196)
  call void @_ZN10SimTKIpopt9TimedTask5StartEv(ptr noundef nonnull align 8 dereferenceable(18) %197)
  %198 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 18
  %199 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %198)
  %200 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 22
  %201 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %200)
  call void @_ZN10SimTKIpopt6Vector19ElementWiseMultiplyERKS0_(ptr noundef nonnull align 8 dereferenceable(205) %199, ptr noundef nonnull align 8 dereferenceable(205) %201)
  %202 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 19
  %203 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %202)
  %204 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 23
  %205 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %204)
  call void @_ZN10SimTKIpopt6Vector19ElementWiseMultiplyERKS0_(ptr noundef nonnull align 8 dereferenceable(205) %203, ptr noundef nonnull align 8 dereferenceable(205) %205)
  %206 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 20
  %207 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %206)
  %208 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 24
  %209 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %208)
  call void @_ZN10SimTKIpopt6Vector19ElementWiseMultiplyERKS0_(ptr noundef nonnull align 8 dereferenceable(205) %207, ptr noundef nonnull align 8 dereferenceable(205) %209)
  %210 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 21
  %211 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %210)
  %212 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 25
  %213 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %212)
  call void @_ZN10SimTKIpopt6Vector19ElementWiseMultiplyERKS0_(ptr noundef nonnull align 8 dereferenceable(205) %211, ptr noundef nonnull align 8 dereferenceable(205) %213)
  %214 = call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %53)
  %215 = call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %214)
  %216 = call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task3Ev(ptr noundef nonnull align 8 dereferenceable(664) %215)
  call void @_ZN10SimTKIpopt9TimedTask3EndEv(ptr noundef nonnull align 8 dereferenceable(18) %216)
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #8
  store double -1.000000e+00, ptr %49, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #8
  store double -1.000000e+00, ptr %50, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #8
  store double -1.000000e+00, ptr %51, align 8, !tbaa !9
  %217 = call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %53)
  %218 = call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %217)
  %219 = call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task5Ev(ptr noundef nonnull align 8 dereferenceable(664) %218)
  call void @_ZN10SimTKIpopt9TimedTask5StartEv(ptr noundef nonnull align 8 dereferenceable(18) %219)
  %220 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 4
  %221 = load i32, ptr %220, align 8, !tbaa !28
  switch i32 %221, label %432 [
    i32 0, label %222
    i32 1, label %274
    i32 2, label %336
    i32 3, label %366
  ]

222:                                              ; preds = %22
  %223 = load double, ptr %47, align 8, !tbaa !9
  %224 = fsub double 1.000000e+00, %223
  %225 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 39
  %226 = load double, ptr %225, align 8, !tbaa !29
  %227 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 40
  %228 = load double, ptr %227, align 8, !tbaa !30
  %229 = fadd double %226, %228
  %230 = fmul double %224, %229
  store double %230, ptr %49, align 8, !tbaa !9
  %231 = load double, ptr %46, align 8, !tbaa !9
  %232 = fsub double 1.000000e+00, %231
  %233 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 41
  %234 = load double, ptr %233, align 8, !tbaa !31
  %235 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 42
  %236 = load double, ptr %235, align 8, !tbaa !32
  %237 = fadd double %234, %236
  %238 = fmul double %232, %237
  store double %238, ptr %50, align 8, !tbaa !9
  %239 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 18
  %240 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %239)
  %241 = call noundef double @_ZNK10SimTKIpopt6Vector4AsumEv(ptr noundef nonnull align 8 dereferenceable(205) %240)
  %242 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 19
  %243 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %242)
  %244 = call noundef double @_ZNK10SimTKIpopt6Vector4AsumEv(ptr noundef nonnull align 8 dereferenceable(205) %243)
  %245 = fadd double %241, %244
  %246 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 20
  %247 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %246)
  %248 = call noundef double @_ZNK10SimTKIpopt6Vector4AsumEv(ptr noundef nonnull align 8 dereferenceable(205) %247)
  %249 = fadd double %245, %248
  %250 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 21
  %251 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %250)
  %252 = call noundef double @_ZNK10SimTKIpopt6Vector4AsumEv(ptr noundef nonnull align 8 dereferenceable(205) %251)
  %253 = fadd double %249, %252
  store double %253, ptr %51, align 8, !tbaa !9
  %254 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 28
  %255 = load i32, ptr %254, align 8, !tbaa !33
  %256 = sitofp i32 %255 to double
  %257 = load double, ptr %49, align 8, !tbaa !9
  %258 = fdiv double %257, %256
  store double %258, ptr %49, align 8, !tbaa !9
  %259 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 29
  %260 = load i32, ptr %259, align 4, !tbaa !34
  %261 = icmp sgt i32 %260, 0
  br i1 %261, label %262, label %268

262:                                              ; preds = %222
  %263 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 29
  %264 = load i32, ptr %263, align 4, !tbaa !34
  %265 = sitofp i32 %264 to double
  %266 = load double, ptr %50, align 8, !tbaa !9
  %267 = fdiv double %266, %265
  store double %267, ptr %50, align 8, !tbaa !9
  br label %268

268:                                              ; preds = %262, %222
  %269 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 30
  %270 = load i32, ptr %269, align 8, !tbaa !35
  %271 = sitofp i32 %270 to double
  %272 = load double, ptr %51, align 8, !tbaa !9
  %273 = fdiv double %272, %271
  store double %273, ptr %51, align 8, !tbaa !9
  br label %433

274:                                              ; preds = %22
  %275 = load double, ptr %47, align 8, !tbaa !9
  %276 = fsub double 1.000000e+00, %275
  %277 = call double @pow(double noundef %276, double noundef 2.000000e+00) #8
  %278 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 43
  %279 = load double, ptr %278, align 8, !tbaa !36
  %280 = call double @pow(double noundef %279, double noundef 2.000000e+00) #8
  %281 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 44
  %282 = load double, ptr %281, align 8, !tbaa !37
  %283 = call double @pow(double noundef %282, double noundef 2.000000e+00) #8
  %284 = fadd double %280, %283
  %285 = fmul double %277, %284
  store double %285, ptr %49, align 8, !tbaa !9
  %286 = load double, ptr %46, align 8, !tbaa !9
  %287 = fsub double 1.000000e+00, %286
  %288 = call double @pow(double noundef %287, double noundef 2.000000e+00) #8
  %289 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 45
  %290 = load double, ptr %289, align 8, !tbaa !38
  %291 = call double @pow(double noundef %290, double noundef 2.000000e+00) #8
  %292 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 46
  %293 = load double, ptr %292, align 8, !tbaa !39
  %294 = call double @pow(double noundef %293, double noundef 2.000000e+00) #8
  %295 = fadd double %291, %294
  %296 = fmul double %288, %295
  store double %296, ptr %50, align 8, !tbaa !9
  %297 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 18
  %298 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %297)
  %299 = call noundef double @_ZNK10SimTKIpopt6Vector4Nrm2Ev(ptr noundef nonnull align 8 dereferenceable(205) %298)
  %300 = call double @pow(double noundef %299, double noundef 2.000000e+00) #8
  %301 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 19
  %302 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %301)
  %303 = call noundef double @_ZNK10SimTKIpopt6Vector4Nrm2Ev(ptr noundef nonnull align 8 dereferenceable(205) %302)
  %304 = call double @pow(double noundef %303, double noundef 2.000000e+00) #8
  %305 = fadd double %300, %304
  %306 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 20
  %307 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %306)
  %308 = call noundef double @_ZNK10SimTKIpopt6Vector4Nrm2Ev(ptr noundef nonnull align 8 dereferenceable(205) %307)
  %309 = call double @pow(double noundef %308, double noundef 2.000000e+00) #8
  %310 = fadd double %305, %309
  %311 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 21
  %312 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %311)
  %313 = call noundef double @_ZNK10SimTKIpopt6Vector4Nrm2Ev(ptr noundef nonnull align 8 dereferenceable(205) %312)
  %314 = call double @pow(double noundef %313, double noundef 2.000000e+00) #8
  %315 = fadd double %310, %314
  store double %315, ptr %51, align 8, !tbaa !9
  %316 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 28
  %317 = load i32, ptr %316, align 8, !tbaa !33
  %318 = sitofp i32 %317 to double
  %319 = load double, ptr %49, align 8, !tbaa !9
  %320 = fdiv double %319, %318
  store double %320, ptr %49, align 8, !tbaa !9
  %321 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 29
  %322 = load i32, ptr %321, align 4, !tbaa !34
  %323 = icmp sgt i32 %322, 0
  br i1 %323, label %324, label %330

324:                                              ; preds = %274
  %325 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 29
  %326 = load i32, ptr %325, align 4, !tbaa !34
  %327 = sitofp i32 %326 to double
  %328 = load double, ptr %50, align 8, !tbaa !9
  %329 = fdiv double %328, %327
  store double %329, ptr %50, align 8, !tbaa !9
  br label %330

330:                                              ; preds = %324, %274
  %331 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 30
  %332 = load i32, ptr %331, align 8, !tbaa !35
  %333 = sitofp i32 %332 to double
  %334 = load double, ptr %51, align 8, !tbaa !9
  %335 = fdiv double %334, %333
  store double %335, ptr %51, align 8, !tbaa !9
  br label %433

336:                                              ; preds = %22
  %337 = load double, ptr %47, align 8, !tbaa !9
  %338 = fsub double 1.000000e+00, %337
  %339 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 47
  %340 = load double, ptr %339, align 8, !tbaa !40
  %341 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 48
  %342 = load double, ptr %341, align 8, !tbaa !41
  %343 = call noundef double @_ZN10SimTKIpopt3MaxEdd(double noundef %340, double noundef %342)
  %344 = fmul double %338, %343
  store double %344, ptr %49, align 8, !tbaa !9
  %345 = load double, ptr %46, align 8, !tbaa !9
  %346 = fsub double 1.000000e+00, %345
  %347 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 49
  %348 = load double, ptr %347, align 8, !tbaa !42
  %349 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 50
  %350 = load double, ptr %349, align 8, !tbaa !43
  %351 = call noundef double @_ZN10SimTKIpopt3MaxEdd(double noundef %348, double noundef %350)
  %352 = fmul double %346, %351
  store double %352, ptr %50, align 8, !tbaa !9
  %353 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 18
  %354 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %353)
  %355 = call noundef double @_ZNK10SimTKIpopt6Vector4AmaxEv(ptr noundef nonnull align 8 dereferenceable(205) %354)
  %356 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 19
  %357 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %356)
  %358 = call noundef double @_ZNK10SimTKIpopt6Vector4AmaxEv(ptr noundef nonnull align 8 dereferenceable(205) %357)
  %359 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 20
  %360 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %359)
  %361 = call noundef double @_ZNK10SimTKIpopt6Vector4AmaxEv(ptr noundef nonnull align 8 dereferenceable(205) %360)
  %362 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 21
  %363 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %362)
  %364 = call noundef double @_ZNK10SimTKIpopt6Vector4AmaxEv(ptr noundef nonnull align 8 dereferenceable(205) %363)
  %365 = call noundef double @_ZN10SimTKIpopt3MaxEdddd(double noundef %355, double noundef %358, double noundef %361, double noundef %364)
  store double %365, ptr %51, align 8, !tbaa !9
  br label %433

366:                                              ; preds = %22
  %367 = load double, ptr %47, align 8, !tbaa !9
  %368 = fsub double 1.000000e+00, %367
  %369 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 43
  %370 = load double, ptr %369, align 8, !tbaa !36
  %371 = call double @pow(double noundef %370, double noundef 2.000000e+00) #8
  %372 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 44
  %373 = load double, ptr %372, align 8, !tbaa !37
  %374 = call double @pow(double noundef %373, double noundef 2.000000e+00) #8
  %375 = fadd double %371, %374
  %376 = call double @sqrt(double noundef %375) #8
  %377 = fmul double %368, %376
  store double %377, ptr %49, align 8, !tbaa !9
  %378 = load double, ptr %46, align 8, !tbaa !9
  %379 = fsub double 1.000000e+00, %378
  %380 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 45
  %381 = load double, ptr %380, align 8, !tbaa !38
  %382 = call double @pow(double noundef %381, double noundef 2.000000e+00) #8
  %383 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 46
  %384 = load double, ptr %383, align 8, !tbaa !39
  %385 = call double @pow(double noundef %384, double noundef 2.000000e+00) #8
  %386 = fadd double %382, %385
  %387 = call double @sqrt(double noundef %386) #8
  %388 = fmul double %379, %387
  store double %388, ptr %50, align 8, !tbaa !9
  %389 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 18
  %390 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %389)
  %391 = call noundef double @_ZNK10SimTKIpopt6Vector4Nrm2Ev(ptr noundef nonnull align 8 dereferenceable(205) %390)
  %392 = call double @pow(double noundef %391, double noundef 2.000000e+00) #8
  %393 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 19
  %394 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %393)
  %395 = call noundef double @_ZNK10SimTKIpopt6Vector4Nrm2Ev(ptr noundef nonnull align 8 dereferenceable(205) %394)
  %396 = call double @pow(double noundef %395, double noundef 2.000000e+00) #8
  %397 = fadd double %392, %396
  %398 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 20
  %399 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %398)
  %400 = call noundef double @_ZNK10SimTKIpopt6Vector4Nrm2Ev(ptr noundef nonnull align 8 dereferenceable(205) %399)
  %401 = call double @pow(double noundef %400, double noundef 2.000000e+00) #8
  %402 = fadd double %397, %401
  %403 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 21
  %404 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %403)
  %405 = call noundef double @_ZNK10SimTKIpopt6Vector4Nrm2Ev(ptr noundef nonnull align 8 dereferenceable(205) %404)
  %406 = call double @pow(double noundef %405, double noundef 2.000000e+00) #8
  %407 = fadd double %402, %406
  %408 = call double @sqrt(double noundef %407) #8
  store double %408, ptr %51, align 8, !tbaa !9
  %409 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 28
  %410 = load i32, ptr %409, align 8, !tbaa !33
  %411 = sitofp i32 %410 to double
  %412 = call double @sqrt(double noundef %411) #8
  %413 = load double, ptr %49, align 8, !tbaa !9
  %414 = fdiv double %413, %412
  store double %414, ptr %49, align 8, !tbaa !9
  %415 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 29
  %416 = load i32, ptr %415, align 4, !tbaa !34
  %417 = icmp sgt i32 %416, 0
  br i1 %417, label %418, label %425

418:                                              ; preds = %366
  %419 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 29
  %420 = load i32, ptr %419, align 4, !tbaa !34
  %421 = sitofp i32 %420 to double
  %422 = call double @sqrt(double noundef %421) #8
  %423 = load double, ptr %50, align 8, !tbaa !9
  %424 = fdiv double %423, %422
  store double %424, ptr %50, align 8, !tbaa !9
  br label %425

425:                                              ; preds = %418, %366
  %426 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 30
  %427 = load i32, ptr %426, align 8, !tbaa !35
  %428 = sitofp i32 %427 to double
  %429 = call double @sqrt(double noundef %428) #8
  %430 = load double, ptr %51, align 8, !tbaa !9
  %431 = fdiv double %430, %429
  store double %431, ptr %51, align 8, !tbaa !9
  br label %433

432:                                              ; preds = %22
  br label %433

433:                                              ; preds = %432, %425, %336, %330, %268
  %434 = call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %53)
  %435 = call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %434)
  %436 = call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task5Ev(ptr noundef nonnull align 8 dereferenceable(664) %435)
  call void @_ZN10SimTKIpopt9TimedTask3EndEv(ptr noundef nonnull align 8 dereferenceable(18) %436)
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #8
  %437 = load double, ptr %49, align 8, !tbaa !9
  %438 = load double, ptr %50, align 8, !tbaa !9
  %439 = fadd double %437, %438
  %440 = load double, ptr %51, align 8, !tbaa !9
  %441 = fadd double %439, %440
  store double %441, ptr %52, align 8, !tbaa !9
  %442 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 5
  %443 = load i32, ptr %442, align 4, !tbaa !44
  %444 = icmp ne i32 %443, 0
  br i1 %444, label %445, label %462

445:                                              ; preds = %433
  %446 = call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %53)
  %447 = call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %446)
  %448 = call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task4Ev(ptr noundef nonnull align 8 dereferenceable(664) %447)
  call void @_ZN10SimTKIpopt9TimedTask5StartEv(ptr noundef nonnull align 8 dereferenceable(18) %448)
  %449 = call noundef nonnull align 8 dereferenceable(2025) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject4IpCqEv(ptr noundef nonnull align 8 dereferenceable(49) %53)
  %450 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 18
  %451 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %450)
  %452 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 19
  %453 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %452)
  %454 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 20
  %455 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %454)
  %456 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 21
  %457 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %456)
  %458 = call noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities21CalcCentralityMeasureERKNS_6VectorES3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(2025) %449, ptr noundef nonnull align 8 dereferenceable(205) %451, ptr noundef nonnull align 8 dereferenceable(205) %453, ptr noundef nonnull align 8 dereferenceable(205) %455, ptr noundef nonnull align 8 dereferenceable(205) %457)
  store double %458, ptr %48, align 8, !tbaa !9
  %459 = call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %53)
  %460 = call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %459)
  %461 = call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task4Ev(ptr noundef nonnull align 8 dereferenceable(664) %460)
  call void @_ZN10SimTKIpopt9TimedTask3EndEv(ptr noundef nonnull align 8 dereferenceable(18) %461)
  br label %462

462:                                              ; preds = %445, %433
  %463 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 5
  %464 = load i32, ptr %463, align 4, !tbaa !44
  switch i32 %464, label %485 [
    i32 0, label %486
    i32 1, label %465
    i32 2, label %472
    i32 3, label %478
  ]

465:                                              ; preds = %462
  %466 = load double, ptr %51, align 8, !tbaa !9
  %467 = load double, ptr %48, align 8, !tbaa !9
  %468 = call double @log(double noundef %467) #8
  %469 = load double, ptr %52, align 8, !tbaa !9
  %470 = fneg double %466
  %471 = call double @llvm.fmuladd.f64(double %470, double %468, double %469)
  store double %471, ptr %52, align 8, !tbaa !9
  br label %486

472:                                              ; preds = %462
  %473 = load double, ptr %51, align 8, !tbaa !9
  %474 = load double, ptr %48, align 8, !tbaa !9
  %475 = fdiv double %473, %474
  %476 = load double, ptr %52, align 8, !tbaa !9
  %477 = fadd double %476, %475
  store double %477, ptr %52, align 8, !tbaa !9
  br label %478

478:                                              ; preds = %472, %462
  %479 = load double, ptr %51, align 8, !tbaa !9
  %480 = load double, ptr %48, align 8, !tbaa !9
  %481 = call double @pow(double noundef %480, double noundef 3.000000e+00) #8
  %482 = fdiv double %479, %481
  %483 = load double, ptr %52, align 8, !tbaa !9
  %484 = fadd double %483, %482
  store double %484, ptr %52, align 8, !tbaa !9
  br label %486

485:                                              ; preds = %462
  br label %486

486:                                              ; preds = %485, %478, %465, %462
  %487 = getelementptr inbounds %"class.SimTKIpopt::QualityFunctionMuOracle", ptr %53, i32 0, i32 6
  %488 = load i32, ptr %487, align 8, !tbaa !45
  switch i32 %488, label %499 [
    i32 0, label %500
    i32 1, label %489
  ]

489:                                              ; preds = %486
  %490 = load double, ptr %49, align 8, !tbaa !9
  %491 = load double, ptr %50, align 8, !tbaa !9
  %492 = call noundef double @_ZN10SimTKIpopt3MaxEdd(double noundef %490, double noundef %491)
  %493 = load double, ptr %51, align 8, !tbaa !9
  %494 = fsub double %492, %493
  %495 = call noundef double @_ZN10SimTKIpopt3MaxEdd(double noundef 0.000000e+00, double noundef %494)
  %496 = call double @pow(double noundef %495, double noundef 3.000000e+00) #8
  %497 = load double, ptr %52, align 8, !tbaa !9
  %498 = fadd double %497, %496
  store double %498, ptr %52, align 8, !tbaa !9
  br label %500

499:                                              ; preds = %486
  br label %500

500:                                              ; preds = %499, %489, %486
  %501 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject5JnlstEv(ptr noundef nonnull align 8 dereferenceable(49) %53)
  %502 = load double, ptr %24, align 8, !tbaa !9
  %503 = load double, ptr %49, align 8, !tbaa !9
  %504 = load double, ptr %50, align 8, !tbaa !9
  %505 = load double, ptr %51, align 8, !tbaa !9
  %506 = load double, ptr %52, align 8, !tbaa !9
  %507 = load double, ptr %46, align 8, !tbaa !9
  %508 = load double, ptr %47, align 8, !tbaa !9
  %509 = load double, ptr %48, align 8, !tbaa !9
  call void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %501, i32 noundef 6, i32 noundef 4, ptr noundef @.str.49, double noundef %502, double noundef %503, double noundef %504, double noundef %505, double noundef %506, double noundef %507, double noundef %508, double noundef %509)
  %510 = load double, ptr %52, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  ret double %510
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZN10SimTKIpopt3MaxEdd(double noundef, double noundef) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205), double noundef, ptr noundef nonnull align 8 dereferenceable(205), double noundef, ptr noundef nonnull align 8 dereferenceable(205), double noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task1Ev(ptr noundef nonnull align 8 dereferenceable(664)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task2Ev(ptr noundef nonnull align 8 dereferenceable(664)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK10SimTKIpopt9IpoptData8curr_tauEv(ptr noundef nonnull align 8 dereferenceable(864)) #3 align 2

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities32uncached_slack_frac_to_the_boundEdRKNS_6VectorES3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(2025), double noundef, ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205)) #2

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities31uncached_dual_frac_to_the_boundEdRKNS_6VectorES3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(2025), double noundef, ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task3Ev(ptr noundef nonnull align 8 dereferenceable(664)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt6Vector19ElementWiseMultiplyERKS0_(ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205)) #4 align 2

; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZN10SimTKIpopt3MaxEdddd(double noundef, double noundef, double noundef, double noundef) #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task4Ev(ptr noundef nonnull align 8 dereferenceable(664)) #3 align 2

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities21CalcCentralityMeasureERKNS_6VectorES3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(2025), ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205)) #2

; Function Attrs: nounwind
declare double @log(double noundef) #6

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "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 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 #4 = { inlinehint 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 #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind "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 #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { 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}
!11 = !{!12, !16, i64 248}
!12 = !{!"_ZTSN10SimTKIpopt23QualityFunctionMuOracleE", !13, i64 0, !22, i64 56, !10, i64 64, !10, i64 72, !23, i64 80, !24, i64 84, !25, i64 88, !10, i64 96, !10, i64 104, !16, i64 112, !26, i64 120, !26, i64 128, !26, i64 136, !26, i64 144, !26, i64 152, !26, i64 160, !26, i64 168, !26, i64 176, !26, i64 184, !26, i64 192, !26, i64 200, !26, i64 208, !26, i64 216, !26, i64 224, !26, i64 232, !26, i64 240, !16, i64 248, !21, i64 252, !16, i64 256, !16, i64 260, !16, i64 264, !27, i64 272, !27, i64 280, !27, i64 288, !27, i64 296, !27, i64 304, !27, i64 312, !27, i64 320, !27, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !10, i64 360, !10, i64 368, !10, i64 376, !10, i64 384, !10, i64 392, !10, i64 400, !10, i64 408, !10, i64 416, !10, i64 424}
!13 = !{!"_ZTSN10SimTKIpopt8MuOracleE", !14, i64 0}
!14 = !{!"_ZTSN10SimTKIpopt23AlgorithmStrategyObjectE", !15, i64 0, !17, i64 16, !18, i64 24, !19, i64 32, !20, i64 40, !21, i64 48}
!15 = !{!"_ZTSN10SimTKIpopt16ReferencedObjectE", !16, i64 8}
!16 = !{!"int", !7, i64 0}
!17 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_10JournalistEEE", !6, i64 0}
!18 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_8IpoptNLPEEE", !6, i64 0}
!19 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_9IpoptDataEEE", !6, i64 0}
!20 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_25IpoptCalculatedQuantitiesEEE", !6, i64 0}
!21 = !{!"bool", !7, i64 0}
!22 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_14PDSystemSolverEEE", !6, i64 0}
!23 = !{!"_ZTSN10SimTKIpopt23QualityFunctionMuOracle8NormEnumE", !7, i64 0}
!24 = !{!"_ZTSN10SimTKIpopt23QualityFunctionMuOracle14CentralityEnumE", !7, i64 0}
!25 = !{!"_ZTSN10SimTKIpopt23QualityFunctionMuOracle17BalancingTermEnumE", !7, i64 0}
!26 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_6VectorEEE", !6, i64 0}
!27 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_6VectorEEE", !6, i64 0}
!28 = !{!12, !23, i64 80}
!29 = !{!12, !10, i64 336}
!30 = !{!12, !10, i64 344}
!31 = !{!12, !10, i64 352}
!32 = !{!12, !10, i64 360}
!33 = !{!12, !16, i64 256}
!34 = !{!12, !16, i64 260}
!35 = !{!12, !16, i64 264}
!36 = !{!12, !10, i64 368}
!37 = !{!12, !10, i64 376}
!38 = !{!12, !10, i64 384}
!39 = !{!12, !10, i64 392}
!40 = !{!12, !10, i64 400}
!41 = !{!12, !10, i64 408}
!42 = !{!12, !10, i64 416}
!43 = !{!12, !10, i64 424}
!44 = !{!12, !24, i64 84}
!45 = !{!12, !25, i64 88}


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

@.str.49 = external hidden unnamed_addr constant [114 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject5JnlstEv(ptr noundef nonnull align 8 dereferenceable(49)) local_unnamed_addr #0 align 2

declare void @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(2025) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject4IpCqEv(ptr noundef nonnull align 8 dereferenceable(49)) local_unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task5Ev(ptr noundef nonnull align 8 dereferenceable(664)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK10SimTKIpopt6Vector4AsumEv(ptr noundef nonnull align 8 dereferenceable(205)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK10SimTKIpopt6Vector4Nrm2Ev(ptr noundef nonnull align 8 dereferenceable(205)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK10SimTKIpopt6Vector4AmaxEv(ptr noundef nonnull align 8 dereferenceable(205)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10SimTKIpopt9TimedTask3EndEv(ptr noundef nonnull align 8 dereferenceable(18)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN10SimTKIpopt23QualityFunctionMuOracle24CalculateQualityFunctionEdRKNS_6VectorES3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(432) %0, double noundef %1, ptr noundef nonnull align 8 dereferenceable(205) %2, ptr noundef nonnull align 8 dereferenceable(205) %3, ptr noundef nonnull align 8 dereferenceable(205) %4, ptr noundef nonnull align 8 dereferenceable(205) %5, ptr nocapture noundef nonnull readnone align 8 dereferenceable(205) %6, ptr nocapture noundef nonnull readnone align 8 dereferenceable(205) %7, ptr noundef nonnull align 8 dereferenceable(205) %8, ptr noundef nonnull align 8 dereferenceable(205) %9, ptr noundef nonnull align 8 dereferenceable(205) %10, ptr noundef nonnull align 8 dereferenceable(205) %11, ptr noundef nonnull align 8 dereferenceable(205) %12, ptr noundef nonnull align 8 dereferenceable(205) %13, ptr noundef nonnull align 8 dereferenceable(205) %14, ptr noundef nonnull align 8 dereferenceable(205) %15, ptr nocapture noundef nonnull readnone align 8 dereferenceable(205) %16, ptr nocapture noundef nonnull readnone align 8 dereferenceable(205) %17, ptr noundef nonnull align 8 dereferenceable(205) %18, ptr noundef nonnull align 8 dereferenceable(205) %19, ptr noundef nonnull align 8 dereferenceable(205) %20, ptr noundef nonnull align 8 dereferenceable(205) %21) local_unnamed_addr #0 align 2 {
  %23 = getelementptr inbounds i8, ptr %0, i64 248
  %24 = load i32, ptr %23, align 8, !tbaa !5
  %25 = add nsw i32 %24, 1
  store i32 %25, ptr %23, align 8, !tbaa !5
  %26 = tail call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %0)
  %27 = tail call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %26)
  %28 = tail call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task1Ev(ptr noundef nonnull align 8 dereferenceable(664) %27)
  tail call void @_ZN10SimTKIpopt9TimedTask5StartEv(ptr noundef nonnull align 8 dereferenceable(18) %28)
  %29 = getelementptr inbounds i8, ptr %0, i64 120
  %30 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %29)
  tail call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %30, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %2, double noundef %1, ptr noundef nonnull align 8 dereferenceable(205) %12, double noundef 0.000000e+00)
  %31 = getelementptr inbounds i8, ptr %0, i64 128
  %32 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %31)
  tail call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %32, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %3, double noundef %1, ptr noundef nonnull align 8 dereferenceable(205) %13, double noundef 0.000000e+00)
  %33 = getelementptr inbounds i8, ptr %0, i64 136
  %34 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %33)
  tail call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %34, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %4, double noundef %1, ptr noundef nonnull align 8 dereferenceable(205) %14, double noundef 0.000000e+00)
  %35 = getelementptr inbounds i8, ptr %0, i64 144
  %36 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %35)
  tail call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %36, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %5, double noundef %1, ptr noundef nonnull align 8 dereferenceable(205) %15, double noundef 0.000000e+00)
  %37 = getelementptr inbounds i8, ptr %0, i64 152
  %38 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %37)
  tail call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %38, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %8, double noundef %1, ptr noundef nonnull align 8 dereferenceable(205) %18, double noundef 0.000000e+00)
  %39 = getelementptr inbounds i8, ptr %0, i64 160
  %40 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %39)
  tail call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %40, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %9, double noundef %1, ptr noundef nonnull align 8 dereferenceable(205) %19, double noundef 0.000000e+00)
  %41 = getelementptr inbounds i8, ptr %0, i64 168
  %42 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41)
  tail call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %42, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %10, double noundef %1, ptr noundef nonnull align 8 dereferenceable(205) %20, double noundef 0.000000e+00)
  %43 = getelementptr inbounds i8, ptr %0, i64 176
  %44 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %43)
  tail call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %44, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %11, double noundef %1, ptr noundef nonnull align 8 dereferenceable(205) %21, double noundef 0.000000e+00)
  %45 = tail call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %0)
  %46 = tail call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %45)
  %47 = tail call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task1Ev(ptr noundef nonnull align 8 dereferenceable(664) %46)
  tail call void @_ZN10SimTKIpopt9TimedTask3EndEv(ptr noundef nonnull align 8 dereferenceable(18) %47)
  %48 = tail call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %0)
  %49 = tail call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %48)
  %50 = tail call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task2Ev(ptr noundef nonnull align 8 dereferenceable(664) %49)
  tail call void @_ZN10SimTKIpopt9TimedTask5StartEv(ptr noundef nonnull align 8 dereferenceable(18) %50)
  %51 = tail call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %0)
  %52 = tail call noundef double @_ZNK10SimTKIpopt9IpoptData8curr_tauEv(ptr noundef nonnull align 8 dereferenceable(864) %51)
  %53 = tail call noundef nonnull align 8 dereferenceable(2025) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject4IpCqEv(ptr noundef nonnull align 8 dereferenceable(49) %0)
  %54 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %29)
  %55 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %31)
  %56 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33)
  %57 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %35)
  %58 = tail call noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities32uncached_slack_frac_to_the_boundEdRKNS_6VectorES3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(2025) %53, double noundef %52, ptr noundef nonnull align 8 dereferenceable(205) %54, ptr noundef nonnull align 8 dereferenceable(205) %55, ptr noundef nonnull align 8 dereferenceable(205) %56, ptr noundef nonnull align 8 dereferenceable(205) %57)
  %59 = tail call noundef nonnull align 8 dereferenceable(2025) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject4IpCqEv(ptr noundef nonnull align 8 dereferenceable(49) %0)
  %60 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %37)
  %61 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %39)
  %62 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %41)
  %63 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %43)
  %64 = tail call noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities31uncached_dual_frac_to_the_boundEdRKNS_6VectorES3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(2025) %59, double noundef %52, ptr noundef nonnull align 8 dereferenceable(205) %60, ptr noundef nonnull align 8 dereferenceable(205) %61, ptr noundef nonnull align 8 dereferenceable(205) %62, ptr noundef nonnull align 8 dereferenceable(205) %63)
  %65 = tail call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %0)
  %66 = tail call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %65)
  %67 = tail call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task2Ev(ptr noundef nonnull align 8 dereferenceable(664) %66)
  tail call void @_ZN10SimTKIpopt9TimedTask3EndEv(ptr noundef nonnull align 8 dereferenceable(18) %67)
  %68 = tail call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %0)
  %69 = tail call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %68)
  %70 = tail call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task1Ev(ptr noundef nonnull align 8 dereferenceable(664) %69)
  tail call void @_ZN10SimTKIpopt9TimedTask5StartEv(ptr noundef nonnull align 8 dereferenceable(18) %70)
  %71 = getelementptr inbounds i8, ptr %0, i64 184
  %72 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %71)
  %73 = getelementptr inbounds i8, ptr %0, i64 272
  %74 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %73)
  %75 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %29)
  tail call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %72, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %74, double noundef %58, ptr noundef nonnull align 8 dereferenceable(205) %75, double noundef 0.000000e+00)
  %76 = getelementptr inbounds i8, ptr %0, i64 192
  %77 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %76)
  %78 = getelementptr inbounds i8, ptr %0, i64 280
  %79 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %78)
  %80 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %31)
  tail call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %77, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %79, double noundef %58, ptr noundef nonnull align 8 dereferenceable(205) %80, double noundef 0.000000e+00)
  %81 = getelementptr inbounds i8, ptr %0, i64 200
  %82 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %81)
  %83 = getelementptr inbounds i8, ptr %0, i64 288
  %84 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %83)
  %85 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33)
  tail call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %82, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %84, double noundef %58, ptr noundef nonnull align 8 dereferenceable(205) %85, double noundef 0.000000e+00)
  %86 = getelementptr inbounds i8, ptr %0, i64 208
  %87 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %86)
  %88 = getelementptr inbounds i8, ptr %0, i64 296
  %89 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %88)
  %90 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %35)
  tail call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %87, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %89, double noundef %58, ptr noundef nonnull align 8 dereferenceable(205) %90, double noundef 0.000000e+00)
  %91 = getelementptr inbounds i8, ptr %0, i64 216
  %92 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %91)
  %93 = getelementptr inbounds i8, ptr %0, i64 304
  %94 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %93)
  %95 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %37)
  tail call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %92, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %94, double noundef %64, ptr noundef nonnull align 8 dereferenceable(205) %95, double noundef 0.000000e+00)
  %96 = getelementptr inbounds i8, ptr %0, i64 224
  %97 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %96)
  %98 = getelementptr inbounds i8, ptr %0, i64 312
  %99 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %98)
  %100 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %39)
  tail call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %97, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %99, double noundef %64, ptr noundef nonnull align 8 dereferenceable(205) %100, double noundef 0.000000e+00)
  %101 = getelementptr inbounds i8, ptr %0, i64 232
  %102 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %101)
  %103 = getelementptr inbounds i8, ptr %0, i64 320
  %104 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %103)
  %105 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %41)
  tail call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %102, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %104, double noundef %64, ptr noundef nonnull align 8 dereferenceable(205) %105, double noundef 0.000000e+00)
  %106 = getelementptr inbounds i8, ptr %0, i64 240
  %107 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %106)
  %108 = getelementptr inbounds i8, ptr %0, i64 328
  %109 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %108)
  %110 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %43)
  tail call void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205) %107, double noundef 1.000000e+00, ptr noundef nonnull align 8 dereferenceable(205) %109, double noundef %64, ptr noundef nonnull align 8 dereferenceable(205) %110, double noundef 0.000000e+00)
  %111 = tail call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %0)
  %112 = tail call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %111)
  %113 = tail call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task1Ev(ptr noundef nonnull align 8 dereferenceable(664) %112)
  tail call void @_ZN10SimTKIpopt9TimedTask3EndEv(ptr noundef nonnull align 8 dereferenceable(18) %113)
  %114 = tail call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %0)
  %115 = tail call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %114)
  %116 = tail call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task3Ev(ptr noundef nonnull align 8 dereferenceable(664) %115)
  tail call void @_ZN10SimTKIpopt9TimedTask5StartEv(ptr noundef nonnull align 8 dereferenceable(18) %116)
  %117 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %71)
  %118 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %91)
  tail call void @_ZN10SimTKIpopt6Vector19ElementWiseMultiplyERKS0_(ptr noundef nonnull align 8 dereferenceable(205) %117, ptr noundef nonnull align 8 dereferenceable(205) %118)
  %119 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %76)
  %120 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %96)
  tail call void @_ZN10SimTKIpopt6Vector19ElementWiseMultiplyERKS0_(ptr noundef nonnull align 8 dereferenceable(205) %119, ptr noundef nonnull align 8 dereferenceable(205) %120)
  %121 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %81)
  %122 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %101)
  tail call void @_ZN10SimTKIpopt6Vector19ElementWiseMultiplyERKS0_(ptr noundef nonnull align 8 dereferenceable(205) %121, ptr noundef nonnull align 8 dereferenceable(205) %122)
  %123 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %86)
  %124 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %106)
  tail call void @_ZN10SimTKIpopt6Vector19ElementWiseMultiplyERKS0_(ptr noundef nonnull align 8 dereferenceable(205) %123, ptr noundef nonnull align 8 dereferenceable(205) %124)
  %125 = tail call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %0)
  %126 = tail call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %125)
  %127 = tail call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task3Ev(ptr noundef nonnull align 8 dereferenceable(664) %126)
  tail call void @_ZN10SimTKIpopt9TimedTask3EndEv(ptr noundef nonnull align 8 dereferenceable(18) %127)
  %128 = tail call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %0)
  %129 = tail call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %128)
  %130 = tail call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task5Ev(ptr noundef nonnull align 8 dereferenceable(664) %129)
  tail call void @_ZN10SimTKIpopt9TimedTask5StartEv(ptr noundef nonnull align 8 dereferenceable(18) %130)
  %131 = getelementptr inbounds i8, ptr %0, i64 80
  %132 = load i32, ptr %131, align 8, !tbaa !26
  switch i32 %132, label %286 [
    i32 0, label %133
    i32 1, label %174
    i32 2, label %216
    i32 3, label %242
  ]

133:                                              ; preds = %22
  %134 = fsub double 1.000000e+00, %64
  %135 = getelementptr inbounds i8, ptr %0, i64 336
  %136 = load double, ptr %135, align 8, !tbaa !27
  %137 = getelementptr inbounds i8, ptr %0, i64 344
  %138 = load double, ptr %137, align 8, !tbaa !28
  %139 = fadd double %136, %138
  %140 = fmul double %134, %139
  %141 = fsub double 1.000000e+00, %58
  %142 = getelementptr inbounds i8, ptr %0, i64 352
  %143 = load double, ptr %142, align 8, !tbaa !29
  %144 = getelementptr inbounds i8, ptr %0, i64 360
  %145 = load double, ptr %144, align 8, !tbaa !30
  %146 = fadd double %143, %145
  %147 = fmul double %141, %146
  %148 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %71)
  %149 = tail call noundef double @_ZNK10SimTKIpopt6Vector4AsumEv(ptr noundef nonnull align 8 dereferenceable(205) %148)
  %150 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %76)
  %151 = tail call noundef double @_ZNK10SimTKIpopt6Vector4AsumEv(ptr noundef nonnull align 8 dereferenceable(205) %150)
  %152 = fadd double %149, %151
  %153 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %81)
  %154 = tail call noundef double @_ZNK10SimTKIpopt6Vector4AsumEv(ptr noundef nonnull align 8 dereferenceable(205) %153)
  %155 = fadd double %152, %154
  %156 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %86)
  %157 = tail call noundef double @_ZNK10SimTKIpopt6Vector4AsumEv(ptr noundef nonnull align 8 dereferenceable(205) %156)
  %158 = fadd double %155, %157
  %159 = getelementptr inbounds i8, ptr %0, i64 256
  %160 = load <4 x i32>, ptr %159, align 8
  %161 = shufflevector <4 x i32> %160, <4 x i32> poison, <2 x i32> <i32 0, i32 poison>
  %162 = getelementptr inbounds i8, ptr %0, i64 260
  %163 = load i32, ptr %162, align 4, !tbaa !31
  %164 = icmp sgt i32 %163, 0
  %165 = uitofp nneg i32 %163 to double
  %166 = fdiv double %147, %165
  %.078 = select i1 %164, double %166, double %147
  %167 = getelementptr inbounds i8, ptr %0, i64 264
  %168 = load i32, ptr %167, align 8, !tbaa !32
  %169 = insertelement <2 x i32> %161, i32 %168, i64 1
  %170 = sitofp <2 x i32> %169 to <2 x double>
  %171 = insertelement <2 x double> poison, double %140, i64 0
  %172 = insertelement <2 x double> %171, double %158, i64 1
  %173 = fdiv <2 x double> %172, %170
  br label %286

174:                                              ; preds = %22
  %175 = fsub double 1.000000e+00, %64
  %square93 = fmul double %175, %175
  %176 = getelementptr inbounds i8, ptr %0, i64 368
  %177 = load <2 x double>, ptr %176, align 8, !tbaa !33
  %178 = fmul <2 x double> %177, %177
  %shift = shufflevector <2 x double> %178, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %179 = fadd <2 x double> %178, %shift
  %180 = fsub double 1.000000e+00, %58
  %square96 = fmul double %180, %180
  %181 = getelementptr inbounds i8, ptr %0, i64 384
  %182 = load <2 x double>, ptr %181, align 8, !tbaa !33
  %183 = fmul <2 x double> %182, %182
  %shift108 = shufflevector <2 x double> %183, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %184 = fadd <2 x double> %183, %shift108
  %185 = extractelement <2 x double> %184, i64 0
  %186 = fmul double %square96, %185
  %187 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %71)
  %188 = tail call noundef double @_ZNK10SimTKIpopt6Vector4Nrm2Ev(ptr noundef nonnull align 8 dereferenceable(205) %187)
  %square99 = fmul double %188, %188
  %189 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %76)
  %190 = tail call noundef double @_ZNK10SimTKIpopt6Vector4Nrm2Ev(ptr noundef nonnull align 8 dereferenceable(205) %189)
  %square100 = fmul double %190, %190
  %191 = fadd double %square99, %square100
  %192 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %81)
  %193 = tail call noundef double @_ZNK10SimTKIpopt6Vector4Nrm2Ev(ptr noundef nonnull align 8 dereferenceable(205) %192)
  %square101 = fmul double %193, %193
  %194 = fadd double %191, %square101
  %195 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %86)
  %196 = tail call noundef double @_ZNK10SimTKIpopt6Vector4Nrm2Ev(ptr noundef nonnull align 8 dereferenceable(205) %195)
  %square102 = fmul double %196, %196
  %197 = getelementptr inbounds i8, ptr %0, i64 256
  %198 = load <4 x i32>, ptr %197, align 8
  %199 = shufflevector <4 x i32> %198, <4 x i32> poison, <2 x i32> <i32 0, i32 poison>
  %200 = getelementptr inbounds i8, ptr %0, i64 260
  %201 = load i32, ptr %200, align 4, !tbaa !31
  %202 = icmp sgt i32 %201, 0
  %203 = uitofp nneg i32 %201 to double
  %204 = fdiv double %186, %203
  %.179 = select i1 %202, double %204, double %186
  %205 = getelementptr inbounds i8, ptr %0, i64 264
  %206 = load i32, ptr %205, align 8, !tbaa !32
  %207 = insertelement <2 x double> poison, double %square93, i64 0
  %208 = insertelement <2 x double> %207, double %194, i64 1
  %209 = insertelement <2 x double> %179, double %square102, i64 1
  %210 = fmul <2 x double> %208, %209
  %211 = fadd <2 x double> %208, %209
  %212 = shufflevector <2 x double> %210, <2 x double> %211, <2 x i32> <i32 0, i32 3>
  %213 = insertelement <2 x i32> %199, i32 %206, i64 1
  %214 = sitofp <2 x i32> %213 to <2 x double>
  %215 = fdiv <2 x double> %212, %214
  br label %286

216:                                              ; preds = %22
  %217 = fsub double 1.000000e+00, %64
  %218 = getelementptr inbounds i8, ptr %0, i64 400
  %219 = load double, ptr %218, align 8, !tbaa !34
  %220 = getelementptr inbounds i8, ptr %0, i64 408
  %221 = load double, ptr %220, align 8, !tbaa !35
  %222 = tail call noundef double @_ZN10SimTKIpopt3MaxEdd(double noundef %219, double noundef %221)
  %223 = fmul double %217, %222
  %224 = fsub double 1.000000e+00, %58
  %225 = getelementptr inbounds i8, ptr %0, i64 416
  %226 = load double, ptr %225, align 8, !tbaa !36
  %227 = getelementptr inbounds i8, ptr %0, i64 424
  %228 = load double, ptr %227, align 8, !tbaa !37
  %229 = tail call noundef double @_ZN10SimTKIpopt3MaxEdd(double noundef %226, double noundef %228)
  %230 = fmul double %224, %229
  %231 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %71)
  %232 = tail call noundef double @_ZNK10SimTKIpopt6Vector4AmaxEv(ptr noundef nonnull align 8 dereferenceable(205) %231)
  %233 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %76)
  %234 = tail call noundef double @_ZNK10SimTKIpopt6Vector4AmaxEv(ptr noundef nonnull align 8 dereferenceable(205) %233)
  %235 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %81)
  %236 = tail call noundef double @_ZNK10SimTKIpopt6Vector4AmaxEv(ptr noundef nonnull align 8 dereferenceable(205) %235)
  %237 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %86)
  %238 = tail call noundef double @_ZNK10SimTKIpopt6Vector4AmaxEv(ptr noundef nonnull align 8 dereferenceable(205) %237)
  %239 = tail call noundef double @_ZN10SimTKIpopt3MaxEdddd(double noundef %232, double noundef %234, double noundef %236, double noundef %238)
  %240 = insertelement <2 x double> poison, double %223, i64 0
  %241 = insertelement <2 x double> %240, double %239, i64 1
  br label %286

242:                                              ; preds = %22
  %243 = fsub double 1.000000e+00, %64
  %244 = getelementptr inbounds i8, ptr %0, i64 368
  %245 = load <2 x double>, ptr %244, align 8, !tbaa !33
  %246 = fmul <2 x double> %245, %245
  %shift109 = shufflevector <2 x double> %246, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %247 = fadd <2 x double> %246, %shift109
  %248 = extractelement <2 x double> %247, i64 0
  %sqrt106 = tail call double @llvm.sqrt.f64(double %248)
  %249 = fmul double %243, %sqrt106
  %250 = fsub double 1.000000e+00, %58
  %251 = getelementptr inbounds i8, ptr %0, i64 384
  %252 = load <2 x double>, ptr %251, align 8, !tbaa !33
  %253 = fmul <2 x double> %252, %252
  %shift110 = shufflevector <2 x double> %253, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %254 = fadd <2 x double> %253, %shift110
  %255 = extractelement <2 x double> %254, i64 0
  %sqrt105 = tail call double @llvm.sqrt.f64(double %255)
  %256 = fmul double %250, %sqrt105
  %257 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %71)
  %258 = tail call noundef double @_ZNK10SimTKIpopt6Vector4Nrm2Ev(ptr noundef nonnull align 8 dereferenceable(205) %257)
  %square89 = fmul double %258, %258
  %259 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %76)
  %260 = tail call noundef double @_ZNK10SimTKIpopt6Vector4Nrm2Ev(ptr noundef nonnull align 8 dereferenceable(205) %259)
  %square90 = fmul double %260, %260
  %261 = fadd double %square89, %square90
  %262 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %81)
  %263 = tail call noundef double @_ZNK10SimTKIpopt6Vector4Nrm2Ev(ptr noundef nonnull align 8 dereferenceable(205) %262)
  %square91 = fmul double %263, %263
  %264 = fadd double %261, %square91
  %265 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %86)
  %266 = tail call noundef double @_ZNK10SimTKIpopt6Vector4Nrm2Ev(ptr noundef nonnull align 8 dereferenceable(205) %265)
  %square92 = fmul double %266, %266
  %267 = fadd double %264, %square92
  %sqrt = tail call double @llvm.sqrt.f64(double %267)
  %268 = getelementptr inbounds i8, ptr %0, i64 256
  %269 = load i32, ptr %268, align 8, !tbaa !38
  %270 = sitofp i32 %269 to double
  %271 = tail call double @sqrt(double noundef %270) #8
  %272 = getelementptr inbounds i8, ptr %0, i64 260
  %273 = load i32, ptr %272, align 4, !tbaa !31
  %274 = icmp sgt i32 %273, 0
  %275 = uitofp nneg i32 %273 to double
  %sqrt107 = tail call double @llvm.sqrt.f64(double %275)
  %276 = fdiv double %256, %sqrt107
  %.280 = select i1 %274, double %276, double %256
  %277 = getelementptr inbounds i8, ptr %0, i64 264
  %278 = load i32, ptr %277, align 8, !tbaa !32
  %279 = sitofp i32 %278 to double
  %280 = tail call double @sqrt(double noundef %279) #8
  %281 = insertelement <2 x double> poison, double %249, i64 0
  %282 = insertelement <2 x double> %281, double %sqrt, i64 1
  %283 = insertelement <2 x double> poison, double %271, i64 0
  %284 = insertelement <2 x double> %283, double %280, i64 1
  %285 = fdiv <2 x double> %282, %284
  br label %286

286:                                              ; preds = %22, %242, %216, %174, %133
  %.3 = phi double [ -1.000000e+00, %22 ], [ %.280, %242 ], [ %230, %216 ], [ %.179, %174 ], [ %.078, %133 ]
  %287 = phi <2 x double> [ <double -1.000000e+00, double -1.000000e+00>, %22 ], [ %285, %242 ], [ %241, %216 ], [ %215, %174 ], [ %173, %133 ]
  %288 = tail call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %0)
  %289 = tail call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %288)
  %290 = tail call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task5Ev(ptr noundef nonnull align 8 dereferenceable(664) %289)
  tail call void @_ZN10SimTKIpopt9TimedTask3EndEv(ptr noundef nonnull align 8 dereferenceable(18) %290)
  %291 = extractelement <2 x double> %287, i64 0
  %292 = fadd double %291, %.3
  %293 = extractelement <2 x double> %287, i64 1
  %294 = fadd double %292, %293
  %295 = getelementptr inbounds i8, ptr %0, i64 84
  %296 = load i32, ptr %295, align 4, !tbaa !39
  %.not = icmp eq i32 %296, 0
  br i1 %.not, label %.thread, label %297

297:                                              ; preds = %286
  %298 = tail call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %0)
  %299 = tail call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %298)
  %300 = tail call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task4Ev(ptr noundef nonnull align 8 dereferenceable(664) %299)
  tail call void @_ZN10SimTKIpopt9TimedTask5StartEv(ptr noundef nonnull align 8 dereferenceable(18) %300)
  %301 = tail call noundef nonnull align 8 dereferenceable(2025) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject4IpCqEv(ptr noundef nonnull align 8 dereferenceable(49) %0)
  %302 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %71)
  %303 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %76)
  %304 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %81)
  %305 = tail call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrINS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %86)
  %306 = tail call noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities21CalcCentralityMeasureERKNS_6VectorES3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(2025) %301, ptr noundef nonnull align 8 dereferenceable(205) %302, ptr noundef nonnull align 8 dereferenceable(205) %303, ptr noundef nonnull align 8 dereferenceable(205) %304, ptr noundef nonnull align 8 dereferenceable(205) %305)
  %307 = tail call noundef nonnull align 8 dereferenceable(864) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject6IpDataEv(ptr noundef nonnull align 8 dereferenceable(49) %0)
  %308 = tail call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %307)
  %309 = tail call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task4Ev(ptr noundef nonnull align 8 dereferenceable(664) %308)
  tail call void @_ZN10SimTKIpopt9TimedTask3EndEv(ptr noundef nonnull align 8 dereferenceable(18) %309)
  %.pr = load i32, ptr %295, align 4, !tbaa !39
  switch i32 %.pr, label %.thread [
    i32 3, label %317
    i32 1, label %310
    i32 2, label %314
  ]

310:                                              ; preds = %297
  %311 = tail call double @log(double noundef %306) #8
  %312 = fneg double %293
  %313 = tail call double @llvm.fmuladd.f64(double %312, double %311, double %294)
  br label %.thread

314:                                              ; preds = %297
  %315 = fdiv double %293, %306
  %316 = fadd double %294, %315
  br label %317

317:                                              ; preds = %297, %314
  %.0 = phi double [ %316, %314 ], [ %294, %297 ]
  %318 = tail call double @pow(double noundef %306, double noundef 3.000000e+00) #8
  %319 = fdiv double %293, %318
  %320 = fadd double %.0, %319
  br label %.thread

.thread:                                          ; preds = %286, %297, %317, %310
  %.082104 = phi double [ %306, %297 ], [ %306, %317 ], [ %306, %310 ], [ 0.000000e+00, %286 ]
  %.1 = phi double [ %294, %297 ], [ %320, %317 ], [ %313, %310 ], [ %294, %286 ]
  %321 = getelementptr inbounds i8, ptr %0, i64 88
  %322 = load i32, ptr %321, align 8, !tbaa !40
  %cond = icmp eq i32 %322, 1
  br i1 %cond, label %323, label %329

323:                                              ; preds = %.thread
  %324 = tail call noundef double @_ZN10SimTKIpopt3MaxEdd(double noundef %291, double noundef %.3)
  %325 = fsub double %324, %293
  %326 = tail call noundef double @_ZN10SimTKIpopt3MaxEdd(double noundef 0.000000e+00, double noundef %325)
  %327 = tail call double @pow(double noundef %326, double noundef 3.000000e+00) #8
  %328 = fadd double %.1, %327
  br label %329

329:                                              ; preds = %.thread, %323
  %.2 = phi double [ %328, %323 ], [ %.1, %.thread ]
  %330 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt23AlgorithmStrategyObject5JnlstEv(ptr noundef nonnull align 8 dereferenceable(49) %0)
  tail call void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %330, i32 noundef 6, i32 noundef 4, ptr noundef nonnull @.str.49, double noundef %1, double noundef %291, double noundef %.3, double noundef %293, double noundef %.2, double noundef %58, double noundef %64, double noundef %.082104)
  ret double %.2
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZN10SimTKIpopt3MaxEdd(double noundef, double noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt6Vector13AddTwoVectorsEdRKS0_dS2_d(ptr noundef nonnull align 8 dereferenceable(205), double noundef, ptr noundef nonnull align 8 dereferenceable(205), double noundef, ptr noundef nonnull align 8 dereferenceable(205), double noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task1Ev(ptr noundef nonnull align 8 dereferenceable(664)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task2Ev(ptr noundef nonnull align 8 dereferenceable(664)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK10SimTKIpopt9IpoptData8curr_tauEv(ptr noundef nonnull align 8 dereferenceable(864)) local_unnamed_addr #2 align 2

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities32uncached_slack_frac_to_the_boundEdRKNS_6VectorES3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(2025), double noundef, ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205)) local_unnamed_addr #1

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities31uncached_dual_frac_to_the_boundEdRKNS_6VectorES3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(2025), double noundef, ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task3Ev(ptr noundef nonnull align 8 dereferenceable(664)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt6Vector19ElementWiseMultiplyERKS0_(ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @pow(double noundef, double noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZN10SimTKIpopt3MaxEdddd(double noundef, double noundef, double noundef, double noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics5Task4Ev(ptr noundef nonnull align 8 dereferenceable(664)) local_unnamed_addr #2 align 2

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities21CalcCentralityMeasureERKNS_6VectorES3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(2025), ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(205)) local_unnamed_addr #1

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

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

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

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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { 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, !10, i64 248}
!6 = !{!"_ZTSN10SimTKIpopt23QualityFunctionMuOracleE", !7, i64 0, !19, i64 56, !20, i64 64, !20, i64 72, !21, i64 80, !22, i64 84, !23, i64 88, !20, i64 96, !20, i64 104, !10, i64 112, !24, i64 120, !24, i64 128, !24, i64 136, !24, i64 144, !24, i64 152, !24, i64 160, !24, i64 168, !24, i64 176, !24, i64 184, !24, i64 192, !24, i64 200, !24, i64 208, !24, i64 216, !24, i64 224, !24, i64 232, !24, i64 240, !10, i64 248, !18, i64 252, !10, i64 256, !10, i64 260, !10, i64 264, !25, i64 272, !25, i64 280, !25, i64 288, !25, i64 296, !25, i64 304, !25, i64 312, !25, i64 320, !25, i64 328, !20, i64 336, !20, i64 344, !20, i64 352, !20, i64 360, !20, i64 368, !20, i64 376, !20, i64 384, !20, i64 392, !20, i64 400, !20, i64 408, !20, i64 416, !20, i64 424}
!7 = !{!"_ZTSN10SimTKIpopt8MuOracleE", !8, i64 0}
!8 = !{!"_ZTSN10SimTKIpopt23AlgorithmStrategyObjectE", !9, i64 0, !13, i64 16, !15, i64 24, !16, i64 32, !17, i64 40, !18, i64 48}
!9 = !{!"_ZTSN10SimTKIpopt16ReferencedObjectE", !10, i64 8}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_10JournalistEEE", !14, i64 0}
!14 = !{!"any pointer", !11, i64 0}
!15 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_8IpoptNLPEEE", !14, i64 0}
!16 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_9IpoptDataEEE", !14, i64 0}
!17 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_25IpoptCalculatedQuantitiesEEE", !14, i64 0}
!18 = !{!"bool", !11, i64 0}
!19 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_14PDSystemSolverEEE", !14, i64 0}
!20 = !{!"double", !11, i64 0}
!21 = !{!"_ZTSN10SimTKIpopt23QualityFunctionMuOracle8NormEnumE", !11, i64 0}
!22 = !{!"_ZTSN10SimTKIpopt23QualityFunctionMuOracle14CentralityEnumE", !11, i64 0}
!23 = !{!"_ZTSN10SimTKIpopt23QualityFunctionMuOracle17BalancingTermEnumE", !11, i64 0}
!24 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_6VectorEEE", !14, i64 0}
!25 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_6VectorEEE", !14, i64 0}
!26 = !{!6, !21, i64 80}
!27 = !{!6, !20, i64 336}
!28 = !{!6, !20, i64 344}
!29 = !{!6, !20, i64 352}
!30 = !{!6, !20, i64 360}
!31 = !{!6, !10, i64 260}
!32 = !{!6, !10, i64 264}
!33 = !{!20, !20, i64 0}
!34 = !{!6, !20, i64 400}
!35 = !{!6, !20, i64 408}
!36 = !{!6, !20, i64 416}
!37 = !{!6, !20, i64 424}
!38 = !{!6, !10, i64 256}
!39 = !{!6, !22, i64 84}
!40 = !{!6, !23, i64 88}


; Effective O3 passes: AggressiveInstCombinePass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass