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

; 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::SmartPtr.16" = type { ptr }
%"class.SimTKIpopt::OrigIpoptNLP" = type { %"class.SimTKIpopt::IpoptNLP", %"class.SimTKIpopt::SmartPtr.17", %"class.SimTKIpopt::SmartPtr.18", %"class.SimTKIpopt::SmartPtr", %"class.SimTKIpopt::SmartPtr", %"class.SimTKIpopt::SmartPtr", %"class.SimTKIpopt::SmartPtr", %"class.SimTKIpopt::SmartPtr.5", %"class.SimTKIpopt::SmartPtr", %"class.SimTKIpopt::SmartPtr.5", %"class.SimTKIpopt::SmartPtr", %"class.SimTKIpopt::SmartPtr.5", %"class.SimTKIpopt::SmartPtr", %"class.SimTKIpopt::SmartPtr.5", %"class.SimTKIpopt::SmartPtr.5", %"class.SimTKIpopt::SmartPtr.5", %"class.SimTKIpopt::SmartPtr.19", %"class.SimTKIpopt::SmartPtr.5", %"class.SimTKIpopt::SmartPtr.5", %"class.SimTKIpopt::SmartPtr.19", %"class.SimTKIpopt::CachedResults", %"class.SimTKIpopt::CachedResults.20", %"class.SimTKIpopt::CachedResults.20", %"class.SimTKIpopt::CachedResults.21", %"class.SimTKIpopt::CachedResults.20", %"class.SimTKIpopt::CachedResults.21", %"class.SimTKIpopt::CachedResults.22", %"class.SimTKIpopt::SmartPtr.23", %"class.SimTKIpopt::SmartPtr.24", %"class.SimTKIpopt::SmartPtr.23", %"class.SimTKIpopt::SmartPtr.24", %"class.SimTKIpopt::SmartPtr.23", %"class.SimTKIpopt::SmartPtr.24", %"class.SimTKIpopt::SmartPtr.23", %"class.SimTKIpopt::SmartPtr.24", %"class.SimTKIpopt::SmartPtr.23", %"class.SimTKIpopt::SmartPtr.23", double, i8, i8, i32, i8, i32, i32, i32, i32, i32, i32, i32, i8, [7 x i8], %"class.SimTKIpopt::TimedTask", %"class.SimTKIpopt::TimedTask", %"class.SimTKIpopt::TimedTask", %"class.SimTKIpopt::TimedTask", %"class.SimTKIpopt::TimedTask", %"class.SimTKIpopt::TimedTask", %"class.SimTKIpopt::TimedTask" }
%"class.SimTKIpopt::IpoptNLP" = type { %"class.SimTKIpopt::ReferencedObject.base", %"class.SimTKIpopt::SmartPtr.16" }
%"class.SimTKIpopt::ReferencedObject.base" = type <{ ptr, i32 }>
%"class.SimTKIpopt::SmartPtr.17" = type { ptr }
%"class.SimTKIpopt::SmartPtr.18" = type { ptr }
%"class.SimTKIpopt::SmartPtr" = type { ptr }
%"class.SimTKIpopt::SmartPtr.5" = type { ptr }
%"class.SimTKIpopt::SmartPtr.19" = type { ptr }
%"class.SimTKIpopt::CachedResults" = type { ptr, i32, ptr }
%"class.SimTKIpopt::CachedResults.20" = type { ptr, i32, ptr }
%"class.SimTKIpopt::CachedResults.21" = type { ptr, i32, ptr }
%"class.SimTKIpopt::CachedResults.22" = type { ptr, i32, ptr }
%"class.SimTKIpopt::SmartPtr.24" = type { ptr }
%"class.SimTKIpopt::SmartPtr.23" = type { ptr }
%"class.SimTKIpopt::TimedTask" = type <{ double, double, i8, i8, [6 x i8] }>

@_ZTVN10SimTKIpopt12OrigIpoptNLPE = external dso_local unnamed_addr constant { [39 x ptr] }, align 8

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10SimTKIpopt12OrigIpoptNLPC2ERKNS_8SmartPtrIKNS_10JournalistEEERKNS1_INS_3NLPEEERKNS1_INS_16NLPScalingObjectEEE(ptr noundef nonnull align 8 dereferenceable(648) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.SimTKIpopt::SmartPtr.16", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %12 = load ptr, ptr %5, align 8
  %13 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN10SimTKIpopt8SmartPtrINS_16NLPScalingObjectEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %13)
  invoke void @_ZN10SimTKIpopt8IpoptNLPC2ENS_8SmartPtrINS_16NLPScalingObjectEEE(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef %9)
          to label %14 unwind label %111

14:                                               ; preds = %4
  call void @_ZN10SimTKIpopt8SmartPtrINS_16NLPScalingObjectEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #2
  store ptr getelementptr inbounds inrange(-16, 296) ({ [39 x ptr] }, ptr @_ZTVN10SimTKIpopt12OrigIpoptNLPE, i32 0, i32 0, i32 2), ptr %12, align 8, !tbaa !9
  %15 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 1
  %16 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_10JournalistEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %17 unwind label %115

17:                                               ; preds = %14
  %18 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 2
  %19 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN10SimTKIpopt8SmartPtrINS_3NLPEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %20 unwind label %119

20:                                               ; preds = %17
  %21 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 3
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef null)
          to label %22 unwind label %123

22:                                               ; preds = %20
  %23 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 4
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %24 unwind label %127

24:                                               ; preds = %22
  %25 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 5
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %26 unwind label %131

26:                                               ; preds = %24
  %27 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 6
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %28 unwind label %135

28:                                               ; preds = %26
  %29 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 7
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %29)
          to label %30 unwind label %139

30:                                               ; preds = %28
  %31 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 8
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %32 unwind label %143

32:                                               ; preds = %30
  %33 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 9
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %33)
          to label %34 unwind label %147

34:                                               ; preds = %32
  %35 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 10
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %35)
          to label %36 unwind label %151

36:                                               ; preds = %34
  %37 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 11
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %37)
          to label %38 unwind label %155

38:                                               ; preds = %36
  %39 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 12
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %39)
          to label %40 unwind label %159

40:                                               ; preds = %38
  %41 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 13
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %41)
          to label %42 unwind label %163

42:                                               ; preds = %40
  %43 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 14
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %43)
          to label %44 unwind label %167

44:                                               ; preds = %42
  %45 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 15
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %45)
          to label %46 unwind label %171

46:                                               ; preds = %44
  %47 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 16
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_14SymMatrixSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %47)
          to label %48 unwind label %175

48:                                               ; preds = %46
  %49 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 17
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %49)
          to label %50 unwind label %179

50:                                               ; preds = %48
  %51 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 18
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %51)
          to label %52 unwind label %183

52:                                               ; preds = %50
  %53 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 19
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_14SymMatrixSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %53)
          to label %54 unwind label %187

54:                                               ; preds = %52
  %55 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 20
  invoke void @_ZN10SimTKIpopt13CachedResultsIdEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %55, i32 noundef 1)
          to label %56 unwind label %191

56:                                               ; preds = %54
  %57 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 21
  invoke void @_ZN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_6VectorEEEEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %57, i32 noundef 1)
          to label %58 unwind label %195

58:                                               ; preds = %56
  %59 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 22
  invoke void @_ZN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_6VectorEEEEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %59, i32 noundef 1)
          to label %60 unwind label %199

60:                                               ; preds = %58
  %61 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 23
  invoke void @_ZN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_6MatrixEEEEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %61, i32 noundef 1)
          to label %62 unwind label %203

62:                                               ; preds = %60
  %63 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 24
  invoke void @_ZN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_6VectorEEEEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %63, i32 noundef 1)
          to label %64 unwind label %207

64:                                               ; preds = %62
  %65 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 25
  invoke void @_ZN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_6MatrixEEEEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %65, i32 noundef 1)
          to label %66 unwind label %211

66:                                               ; preds = %64
  %67 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 26
  invoke void @_ZN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_9SymMatrixEEEEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %67, i32 noundef 1)
          to label %68 unwind label %215

68:                                               ; preds = %66
  %69 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 27
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %69)
          to label %70 unwind label %219

70:                                               ; preds = %68
  %71 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 28
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_6MatrixEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %71)
          to label %72 unwind label %223

72:                                               ; preds = %70
  %73 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 29
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %73)
          to label %74 unwind label %227

74:                                               ; preds = %72
  %75 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 30
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_6MatrixEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %75)
          to label %76 unwind label %231

76:                                               ; preds = %74
  %77 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 31
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %77)
          to label %78 unwind label %235

78:                                               ; preds = %76
  %79 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 32
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_6MatrixEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %79)
          to label %80 unwind label %239

80:                                               ; preds = %78
  %81 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 33
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %81)
          to label %82 unwind label %243

82:                                               ; preds = %80
  %83 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 34
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_6MatrixEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %83)
          to label %84 unwind label %247

84:                                               ; preds = %82
  %85 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 35
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %85)
          to label %86 unwind label %251

86:                                               ; preds = %84
  %87 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 36
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %87)
          to label %88 unwind label %255

88:                                               ; preds = %86
  %89 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 42
  store i32 0, ptr %89, align 4, !tbaa !11
  %90 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 43
  store i32 0, ptr %90, align 8, !tbaa !32
  %91 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 44
  store i32 0, ptr %91, align 4, !tbaa !33
  %92 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 45
  store i32 0, ptr %92, align 8, !tbaa !34
  %93 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 46
  store i32 0, ptr %93, align 4, !tbaa !35
  %94 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 47
  store i32 0, ptr %94, align 8, !tbaa !36
  %95 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 48
  store i32 0, ptr %95, align 4, !tbaa !37
  %96 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 49
  store i8 0, ptr %96, align 8, !tbaa !38
  %97 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 51
  invoke void @_ZN10SimTKIpopt9TimedTaskC2Ev(ptr noundef nonnull align 8 dereferenceable(18) %97)
          to label %98 unwind label %259

98:                                               ; preds = %88
  %99 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 52
  invoke void @_ZN10SimTKIpopt9TimedTaskC2Ev(ptr noundef nonnull align 8 dereferenceable(18) %99)
          to label %100 unwind label %263

100:                                              ; preds = %98
  %101 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 53
  invoke void @_ZN10SimTKIpopt9TimedTaskC2Ev(ptr noundef nonnull align 8 dereferenceable(18) %101)
          to label %102 unwind label %267

102:                                              ; preds = %100
  %103 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 54
  invoke void @_ZN10SimTKIpopt9TimedTaskC2Ev(ptr noundef nonnull align 8 dereferenceable(18) %103)
          to label %104 unwind label %271

104:                                              ; preds = %102
  %105 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 55
  invoke void @_ZN10SimTKIpopt9TimedTaskC2Ev(ptr noundef nonnull align 8 dereferenceable(18) %105)
          to label %106 unwind label %275

106:                                              ; preds = %104
  %107 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 56
  invoke void @_ZN10SimTKIpopt9TimedTaskC2Ev(ptr noundef nonnull align 8 dereferenceable(18) %107)
          to label %108 unwind label %279

108:                                              ; preds = %106
  %109 = getelementptr inbounds %"class.SimTKIpopt::OrigIpoptNLP", ptr %12, i32 0, i32 57
  invoke void @_ZN10SimTKIpopt9TimedTaskC2Ev(ptr noundef nonnull align 8 dereferenceable(18) %109)
          to label %110 unwind label %283

110:                                              ; preds = %108
  ret void

111:                                              ; preds = %4
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %10, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %11, align 4
  call void @_ZN10SimTKIpopt8SmartPtrINS_16NLPScalingObjectEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #2
  br label %329

115:                                              ; preds = %14
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %10, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %11, align 4
  br label %328

119:                                              ; preds = %17
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %10, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %11, align 4
  br label %327

123:                                              ; preds = %20
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %10, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %11, align 4
  br label %326

127:                                              ; preds = %22
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %10, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %11, align 4
  br label %325

131:                                              ; preds = %24
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %10, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %11, align 4
  br label %324

135:                                              ; preds = %26
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %10, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %11, align 4
  br label %323

139:                                              ; preds = %28
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %10, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %11, align 4
  br label %322

143:                                              ; preds = %30
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %10, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %11, align 4
  br label %321

147:                                              ; preds = %32
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %10, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %11, align 4
  br label %320

151:                                              ; preds = %34
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %10, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %11, align 4
  br label %319

155:                                              ; preds = %36
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %10, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %11, align 4
  br label %318

159:                                              ; preds = %38
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %10, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %11, align 4
  br label %317

163:                                              ; preds = %40
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %10, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %11, align 4
  br label %316

167:                                              ; preds = %42
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %10, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %11, align 4
  br label %315

171:                                              ; preds = %44
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %10, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %11, align 4
  br label %314

175:                                              ; preds = %46
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %10, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %11, align 4
  br label %313

179:                                              ; preds = %48
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %10, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %11, align 4
  br label %312

183:                                              ; preds = %50
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %10, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %11, align 4
  br label %311

187:                                              ; preds = %52
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %10, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %11, align 4
  br label %310

191:                                              ; preds = %54
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %10, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %11, align 4
  br label %309

195:                                              ; preds = %56
  %196 = landingpad { ptr, i32 }
          cleanup
  %197 = extractvalue { ptr, i32 } %196, 0
  store ptr %197, ptr %10, align 8
  %198 = extractvalue { ptr, i32 } %196, 1
  store i32 %198, ptr %11, align 4
  br label %308

199:                                              ; preds = %58
  %200 = landingpad { ptr, i32 }
          cleanup
  %201 = extractvalue { ptr, i32 } %200, 0
  store ptr %201, ptr %10, align 8
  %202 = extractvalue { ptr, i32 } %200, 1
  store i32 %202, ptr %11, align 4
  br label %307

203:                                              ; preds = %60
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %10, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %11, align 4
  br label %306

207:                                              ; preds = %62
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %10, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %11, align 4
  br label %305

211:                                              ; preds = %64
  %212 = landingpad { ptr, i32 }
          cleanup
  %213 = extractvalue { ptr, i32 } %212, 0
  store ptr %213, ptr %10, align 8
  %214 = extractvalue { ptr, i32 } %212, 1
  store i32 %214, ptr %11, align 4
  br label %304

215:                                              ; preds = %66
  %216 = landingpad { ptr, i32 }
          cleanup
  %217 = extractvalue { ptr, i32 } %216, 0
  store ptr %217, ptr %10, align 8
  %218 = extractvalue { ptr, i32 } %216, 1
  store i32 %218, ptr %11, align 4
  br label %303

219:                                              ; preds = %68
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %10, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %11, align 4
  br label %302

223:                                              ; preds = %70
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %10, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %11, align 4
  br label %301

227:                                              ; preds = %72
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %10, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %11, align 4
  br label %300

231:                                              ; preds = %74
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %10, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %11, align 4
  br label %299

235:                                              ; preds = %76
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %10, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %11, align 4
  br label %298

239:                                              ; preds = %78
  %240 = landingpad { ptr, i32 }
          cleanup
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %10, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %11, align 4
  br label %297

243:                                              ; preds = %80
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %10, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %11, align 4
  br label %296

247:                                              ; preds = %82
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %10, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %11, align 4
  br label %295

251:                                              ; preds = %84
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %10, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %11, align 4
  br label %294

255:                                              ; preds = %86
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %10, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %11, align 4
  br label %293

259:                                              ; preds = %88
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %10, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %11, align 4
  br label %292

263:                                              ; preds = %98
  %264 = landingpad { ptr, i32 }
          cleanup
  %265 = extractvalue { ptr, i32 } %264, 0
  store ptr %265, ptr %10, align 8
  %266 = extractvalue { ptr, i32 } %264, 1
  store i32 %266, ptr %11, align 4
  br label %291

267:                                              ; preds = %100
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %10, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %11, align 4
  br label %290

271:                                              ; preds = %102
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %10, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %11, align 4
  br label %289

275:                                              ; preds = %104
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %10, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %11, align 4
  br label %288

279:                                              ; preds = %106
  %280 = landingpad { ptr, i32 }
          cleanup
  %281 = extractvalue { ptr, i32 } %280, 0
  store ptr %281, ptr %10, align 8
  %282 = extractvalue { ptr, i32 } %280, 1
  store i32 %282, ptr %11, align 4
  br label %287

283:                                              ; preds = %108
  %284 = landingpad { ptr, i32 }
          cleanup
  %285 = extractvalue { ptr, i32 } %284, 0
  store ptr %285, ptr %10, align 8
  %286 = extractvalue { ptr, i32 } %284, 1
  store i32 %286, ptr %11, align 4
  call void @_ZN10SimTKIpopt9TimedTaskD2Ev(ptr noundef nonnull align 8 dereferenceable(18) %107) #2
  br label %287

287:                                              ; preds = %283, %279
  call void @_ZN10SimTKIpopt9TimedTaskD2Ev(ptr noundef nonnull align 8 dereferenceable(18) %105) #2
  br label %288

288:                                              ; preds = %287, %275
  call void @_ZN10SimTKIpopt9TimedTaskD2Ev(ptr noundef nonnull align 8 dereferenceable(18) %103) #2
  br label %289

289:                                              ; preds = %288, %271
  call void @_ZN10SimTKIpopt9TimedTaskD2Ev(ptr noundef nonnull align 8 dereferenceable(18) %101) #2
  br label %290

290:                                              ; preds = %289, %267
  call void @_ZN10SimTKIpopt9TimedTaskD2Ev(ptr noundef nonnull align 8 dereferenceable(18) %99) #2
  br label %291

291:                                              ; preds = %290, %263
  call void @_ZN10SimTKIpopt9TimedTaskD2Ev(ptr noundef nonnull align 8 dereferenceable(18) %97) #2
  br label %292

292:                                              ; preds = %291, %259
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %87) #2
  br label %293

293:                                              ; preds = %292, %255
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %85) #2
  br label %294

294:                                              ; preds = %293, %251
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6MatrixEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %83) #2
  br label %295

295:                                              ; preds = %294, %247
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %81) #2
  br label %296

296:                                              ; preds = %295, %243
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6MatrixEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %79) #2
  br label %297

297:                                              ; preds = %296, %239
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %77) #2
  br label %298

298:                                              ; preds = %297, %235
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6MatrixEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %75) #2
  br label %299

299:                                              ; preds = %298, %231
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %73) #2
  br label %300

300:                                              ; preds = %299, %227
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6MatrixEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %71) #2
  br label %301

301:                                              ; preds = %300, %223
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %69) #2
  br label %302

302:                                              ; preds = %301, %219
  call void @_ZN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_9SymMatrixEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %67) #2
  br label %303

303:                                              ; preds = %302, %215
  call void @_ZN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_6MatrixEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %65) #2
  br label %304

304:                                              ; preds = %303, %211
  call void @_ZN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_6VectorEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %63) #2
  br label %305

305:                                              ; preds = %304, %207
  call void @_ZN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_6MatrixEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %61) #2
  br label %306

306:                                              ; preds = %305, %203
  call void @_ZN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_6VectorEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %59) #2
  br label %307

307:                                              ; preds = %306, %199
  call void @_ZN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_6VectorEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %57) #2
  br label %308

308:                                              ; preds = %307, %195
  call void @_ZN10SimTKIpopt13CachedResultsIdED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %55) #2
  br label %309

309:                                              ; preds = %308, %191
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14SymMatrixSpaceEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %53) #2
  br label %310

310:                                              ; preds = %309, %187
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %51) #2
  br label %311

311:                                              ; preds = %310, %183
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %49) #2
  br label %312

312:                                              ; preds = %311, %179
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14SymMatrixSpaceEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %47) #2
  br label %313

313:                                              ; preds = %312, %175
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %45) #2
  br label %314

314:                                              ; preds = %313, %171
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %43) #2
  br label %315

315:                                              ; preds = %314, %167
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %41) #2
  br label %316

316:                                              ; preds = %315, %163
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %39) #2
  br label %317

317:                                              ; preds = %316, %159
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %37) #2
  br label %318

318:                                              ; preds = %317, %155
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #2
  br label %319

319:                                              ; preds = %318, %151
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #2
  br label %320

320:                                              ; preds = %319, %147
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #2
  br label %321

321:                                              ; preds = %320, %143
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #2
  br label %322

322:                                              ; preds = %321, %139
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #2
  br label %323

323:                                              ; preds = %322, %135
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #2
  br label %324

324:                                              ; preds = %323, %131
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #2
  br label %325

325:                                              ; preds = %324, %127
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #2
  br label %326

326:                                              ; preds = %325, %123
  call void @_ZN10SimTKIpopt8SmartPtrINS_3NLPEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #2
  br label %327

327:                                              ; preds = %326, %119
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_10JournalistEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #2
  br label %328

328:                                              ; preds = %327, %115
  call void @_ZN10SimTKIpopt8IpoptNLPD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #2
  br label %329

329:                                              ; preds = %328, %111
  %330 = load ptr, ptr %10, align 8
  %331 = load i32, ptr %11, align 4
  %332 = insertvalue { ptr, i32 } poison, ptr %330, 0
  %333 = insertvalue { ptr, i32 } %332, i32 %331, 1
  resume { ptr, i32 } %333
}

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10SimTKIpopt13CachedResultsIdEC2Ei(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_6VectorEEEEC2Ei(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_6MatrixEEEEC2Ei(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_9SymMatrixEEEEC2Ei(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) unnamed_addr #0 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !15, i64 444}
!12 = !{!"_ZTSN10SimTKIpopt12OrigIpoptNLPE", !13, i64 0, !17, i64 24, !18, i64 32, !19, i64 40, !19, i64 48, !19, i64 56, !19, i64 64, !20, i64 72, !19, i64 80, !20, i64 88, !19, i64 96, !20, i64 104, !19, i64 112, !20, i64 120, !20, i64 128, !20, i64 136, !21, i64 144, !20, i64 152, !20, i64 160, !21, i64 168, !22, i64 176, !23, i64 200, !23, i64 224, !24, i64 248, !23, i64 272, !24, i64 296, !25, i64 320, !26, i64 344, !27, i64 352, !26, i64 360, !27, i64 368, !26, i64 376, !27, i64 384, !26, i64 392, !27, i64 400, !26, i64 408, !26, i64 416, !28, i64 424, !29, i64 432, !29, i64 433, !30, i64 436, !29, i64 440, !15, i64 444, !15, i64 448, !15, i64 452, !15, i64 456, !15, i64 460, !15, i64 464, !15, i64 468, !29, i64 472, !31, i64 480, !31, i64 504, !31, i64 528, !31, i64 552, !31, i64 576, !31, i64 600, !31, i64 624}
!13 = !{!"_ZTSN10SimTKIpopt8IpoptNLPE", !14, i64 0, !16, i64 16}
!14 = !{!"_ZTSN10SimTKIpopt16ReferencedObjectE", !15, i64 8}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_16NLPScalingObjectEEE", !6, i64 0}
!17 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_10JournalistEEE", !6, i64 0}
!18 = !{!"_ZTSN10SimTKIpopt8SmartPtrINS_3NLPEEE", !6, i64 0}
!19 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEEE", !6, i64 0}
!20 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEEE", !6, i64 0}
!21 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_14SymMatrixSpaceEEE", !6, i64 0}
!22 = !{!"_ZTSN10SimTKIpopt13CachedResultsIdEE", !15, i64 8, !6, i64 16}
!23 = !{!"_ZTSN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_6VectorEEEEE", !15, i64 8, !6, i64 16}
!24 = !{!"_ZTSN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_6MatrixEEEEE", !15, i64 8, !6, i64 16}
!25 = !{!"_ZTSN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_9SymMatrixEEEEE", !15, i64 8, !6, i64 16}
!26 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_6VectorEEE", !6, i64 0}
!27 = !{!"_ZTSN10SimTKIpopt8SmartPtrIKNS_6MatrixEEE", !6, i64 0}
!28 = !{!"double", !7, i64 0}
!29 = !{!"bool", !7, i64 0}
!30 = !{!"_ZTSN10SimTKIpopt24HessianApproximationTypeE", !7, i64 0}
!31 = !{!"_ZTSN10SimTKIpopt9TimedTaskE", !28, i64 0, !28, i64 8, !29, i64 16, !29, i64 17}
!32 = !{!12, !15, i64 448}
!33 = !{!12, !15, i64 452}
!34 = !{!12, !15, i64 456}
!35 = !{!12, !15, i64 460}
!36 = !{!12, !15, i64 464}
!37 = !{!12, !15, i64 468}
!38 = !{!12, !29, i64 472}


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

%"class.SimTKIpopt::SmartPtr.16" = type { ptr }

@_ZTVN10SimTKIpopt12OrigIpoptNLPE = external dso_local unnamed_addr constant { [39 x ptr] }, align 8

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10SimTKIpopt12OrigIpoptNLPC2ERKNS_8SmartPtrIKNS_10JournalistEEERKNS1_INS_3NLPEEERKNS1_INS_16NLPScalingObjectEEE(ptr noundef nonnull align 8 dereferenceable(648) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.SimTKIpopt::SmartPtr.16", align 8
  call void @_ZN10SimTKIpopt8SmartPtrINS_16NLPScalingObjectEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %3)
  invoke void @_ZN10SimTKIpopt8IpoptNLPC2ENS_8SmartPtrINS_16NLPScalingObjectEEE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull %5)
          to label %6 unwind label %54

6:                                                ; preds = %4
  call void @_ZN10SimTKIpopt8SmartPtrINS_16NLPScalingObjectEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #3
  store ptr getelementptr inbounds inrange(-16, 296) (i8, ptr @_ZTVN10SimTKIpopt12OrigIpoptNLPE, i64 16), ptr %0, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 24
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_10JournalistEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %8 unwind label %56

8:                                                ; preds = %6
  %9 = getelementptr inbounds i8, ptr %0, i64 32
  invoke void @_ZN10SimTKIpopt8SmartPtrINS_3NLPEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %10 unwind label %58

10:                                               ; preds = %8
  %11 = getelementptr inbounds i8, ptr %0, i64 40
  invoke void @_ZN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef null)
          to label %12 unwind label %60

12:                                               ; preds = %10
  %13 = getelementptr inbounds i8, ptr %0, i64 48
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13)
  %14 = getelementptr inbounds i8, ptr %0, i64 56
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14)
  %15 = getelementptr inbounds i8, ptr %0, i64 64
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15)
  %16 = getelementptr inbounds i8, ptr %0, i64 72
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16)
  %17 = getelementptr inbounds i8, ptr %0, i64 80
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17)
  %18 = getelementptr inbounds i8, ptr %0, i64 88
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18)
  %19 = getelementptr inbounds i8, ptr %0, i64 96
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19)
  %20 = getelementptr inbounds i8, ptr %0, i64 104
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20)
  %21 = getelementptr inbounds i8, ptr %0, i64 112
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11VectorSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21)
  %22 = getelementptr inbounds i8, ptr %0, i64 120
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22)
  %23 = getelementptr inbounds i8, ptr %0, i64 128
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23)
  %24 = getelementptr inbounds i8, ptr %0, i64 136
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24)
  %25 = getelementptr inbounds i8, ptr %0, i64 144
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14SymMatrixSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25)
  %26 = getelementptr inbounds i8, ptr %0, i64 152
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26)
  %27 = getelementptr inbounds i8, ptr %0, i64 160
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_11MatrixSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27)
  %28 = getelementptr inbounds i8, ptr %0, i64 168
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14SymMatrixSpaceEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %28)
  %29 = getelementptr inbounds i8, ptr %0, i64 176
  call void @_ZN10SimTKIpopt13CachedResultsIdEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %29, i32 noundef 1)
  %30 = getelementptr inbounds i8, ptr %0, i64 200
  call void @_ZN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_6VectorEEEEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %30, i32 noundef 1)
  %31 = getelementptr inbounds i8, ptr %0, i64 224
  call void @_ZN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_6VectorEEEEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %31, i32 noundef 1)
  %32 = getelementptr inbounds i8, ptr %0, i64 248
  call void @_ZN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_6MatrixEEEEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %32, i32 noundef 1)
  %33 = getelementptr inbounds i8, ptr %0, i64 272
  call void @_ZN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_6VectorEEEEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %33, i32 noundef 1)
  %34 = getelementptr inbounds i8, ptr %0, i64 296
  call void @_ZN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_6MatrixEEEEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %34, i32 noundef 1)
  %35 = getelementptr inbounds i8, ptr %0, i64 320
  call void @_ZN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_9SymMatrixEEEEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %35, i32 noundef 1)
  %36 = getelementptr inbounds i8, ptr %0, i64 344
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %36)
  %37 = getelementptr inbounds i8, ptr %0, i64 352
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6MatrixEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %37)
  %38 = getelementptr inbounds i8, ptr %0, i64 360
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %38)
  %39 = getelementptr inbounds i8, ptr %0, i64 368
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6MatrixEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %39)
  %40 = getelementptr inbounds i8, ptr %0, i64 376
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %40)
  %41 = getelementptr inbounds i8, ptr %0, i64 384
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6MatrixEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %41)
  %42 = getelementptr inbounds i8, ptr %0, i64 392
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %42)
  %43 = getelementptr inbounds i8, ptr %0, i64 400
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6MatrixEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %43)
  %44 = getelementptr inbounds i8, ptr %0, i64 408
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %44)
  %45 = getelementptr inbounds i8, ptr %0, i64 416
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %45)
  %46 = getelementptr inbounds i8, ptr %0, i64 444
  %47 = getelementptr inbounds i8, ptr %0, i64 480
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(29) %46, i8 0, i64 29, i1 false)
  call void @_ZN10SimTKIpopt9TimedTaskC2Ev(ptr noundef nonnull align 8 dereferenceable(18) %47)
  %48 = getelementptr inbounds i8, ptr %0, i64 504
  call void @_ZN10SimTKIpopt9TimedTaskC2Ev(ptr noundef nonnull align 8 dereferenceable(18) %48)
  %49 = getelementptr inbounds i8, ptr %0, i64 528
  call void @_ZN10SimTKIpopt9TimedTaskC2Ev(ptr noundef nonnull align 8 dereferenceable(18) %49)
  %50 = getelementptr inbounds i8, ptr %0, i64 552
  call void @_ZN10SimTKIpopt9TimedTaskC2Ev(ptr noundef nonnull align 8 dereferenceable(18) %50)
  %51 = getelementptr inbounds i8, ptr %0, i64 576
  call void @_ZN10SimTKIpopt9TimedTaskC2Ev(ptr noundef nonnull align 8 dereferenceable(18) %51)
  %52 = getelementptr inbounds i8, ptr %0, i64 600
  call void @_ZN10SimTKIpopt9TimedTaskC2Ev(ptr noundef nonnull align 8 dereferenceable(18) %52)
  %53 = getelementptr inbounds i8, ptr %0, i64 624
  call void @_ZN10SimTKIpopt9TimedTaskC2Ev(ptr noundef nonnull align 8 dereferenceable(18) %53)
  ret void

54:                                               ; preds = %4
  %55 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN10SimTKIpopt8SmartPtrINS_16NLPScalingObjectEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #3
  br label %64

56:                                               ; preds = %6
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %63

58:                                               ; preds = %8
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %62

60:                                               ; preds = %10
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN10SimTKIpopt8SmartPtrINS_3NLPEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #3
  br label %62

62:                                               ; preds = %60, %58
  %.pn = phi { ptr, i32 } [ %61, %60 ], [ %59, %58 ]
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_10JournalistEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #3
  br label %63

63:                                               ; preds = %62, %56
  %.pn.pn = phi { ptr, i32 } [ %.pn, %62 ], [ %57, %56 ]
  call void @_ZN10SimTKIpopt8IpoptNLPD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #3
  br label %64

64:                                               ; preds = %63, %54
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %63 ], [ %55, %54 ]
  resume { ptr, i32 } %.pn.pn.pn
}

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10SimTKIpopt13CachedResultsIdEC2Ei(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_6VectorEEEEC2Ei(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_6MatrixEEEEC2Ei(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN10SimTKIpopt13CachedResultsINS_8SmartPtrIKNS_9SymMatrixEEEEC2Ei(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) unnamed_addr #1 align 2

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

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

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind }

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

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


; Effective O3 passes: GlobalOptPass,InstCombinePass,MemCpyOptPass,SROAPass,SimplifyCFGPass