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

; 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.26" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.23" = type { i8 }
%"class.SimTKIpopt::SmartPtr.46" = type { ptr }
%"class.SimTKIpopt::SmartPtr.48" = type { ptr }
%"class.SimTKIpopt::SmartPtr.11" = type { ptr }
%"class.SimTKIpopt::SmartPtr.12" = type { ptr }
%"class.SimTKIpopt::SmartPtr.13" = type { ptr }
%"class.std::bad_alloc" = type { %"class.std::exception" }
%"class.std::exception" = type { ptr }
%"class.SimTKIpopt::IpoptApplication" = type { %"class.SimTKIpopt::ReferencedObject.base", i8, %"class.SimTKIpopt::SmartPtr.6", %"class.SimTKIpopt::SmartPtr.7", %"class.SimTKIpopt::SmartPtr.8", %"class.SimTKIpopt::SmartPtr.9", %"class.SimTKIpopt::SmartPtr.10", %"class.SimTKIpopt::SmartPtr.11", %"class.SimTKIpopt::SmartPtr.12", %"class.SimTKIpopt::SmartPtr.13", %"class.SimTKIpopt::SmartPtr.14" }
%"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.14" = type { ptr }

@_ZTIN10SimTKIpopt14IpoptExceptionE = external dso_local constant { ptr, ptr }, align 8
@_ZTISt9bad_alloc = external constant ptr
@.str = external hidden unnamed_addr constant [8 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [1 x i8], align 1
@_ZTIN10SimTKIpopt14OPTION_INVALIDE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.11 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.135 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.136 = external hidden unnamed_addr constant [36 x i8], align 1
@_ZTIN10SimTKIpopt8IpoptNLPE = external dso_local constant { ptr, ptr, ptr }, align 8
@_ZTIN10SimTKIpopt12OrigIpoptNLPE = external constant ptr
@_ZTIN10SimTKIpopt11TOO_FEW_DOFE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.141 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.142 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.143 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.144 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.145 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.146 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.147 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.148 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.149 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.150 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.151 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.152 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.153 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.158 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.159 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.160 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.161 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.162 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.163 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.164 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.165 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.166 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.167 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.168 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.169 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.170 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.171 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.172 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.173 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.174 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.175 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.176 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.177 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.178 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.179 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.180 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.181 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.182 = external hidden unnamed_addr constant [48 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #1

declare ptr @__cxa_begin_catch(ptr)

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #3

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

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

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

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

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

declare void @_ZN10SimTKIpopt7Journal13SetPrintLevelENS_16EJournalCategoryENS_13EJournalLevelE(ptr noundef nonnull align 8 dereferenceable(108), i32 noundef, i32 noundef) #6

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

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

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK10SimTKIpopt14IpoptException15ReportExceptionERKNS_10JournalistENS_13EJournalLevelE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) #5 align 2

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

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_throw(ptr, ptr, ptr)

declare void @__cxa_free_exception(ptr)

declare void @__cxa_end_catch()

declare ptr @__cxa_get_exception_ptr(ptr)

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

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

; Function Attrs: nounwind
declare void @_ZNSt9bad_allocD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #8

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

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

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

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

declare noundef zeroext i1 @_ZNK10SimTKIpopt11OptionsList15GetIntegerValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERiS8_(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(32)) #6

declare void @_ZN10SimTKIpopt10Journalist10GetJournalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.26") align 8, ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(32)) #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10SimTKIpopt7IsValidINS_7JournalEEEbRKNS_8SmartPtrIT_EE(ptr noundef nonnull align 8 dereferenceable(8)) #5

declare void @_ZN10SimTKIpopt7Journal17SetAllPrintLevelsENS_13EJournalLevelE(ptr noundef nonnull align 8 dereferenceable(108), i32 noundef) #6

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

declare noundef zeroext i1 @_ZNK10SimTKIpopt11OptionsList12GetBoolValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERbS8_(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(32)) #6

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #5 align 2

; Function Attrs: nounwind willreturn memory(read)
declare ptr @__dynamic_cast(ptr, ptr, ptr, i64) #9

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN10SimTKIpopt16IpoptApplication13call_optimizeEv(ptr noundef nonnull align 8 dereferenceable(88) %0) #5 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::allocator.23", align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator.23", align 1
  %11 = alloca i32, align 4
  %12 = alloca %"class.SimTKIpopt::SmartPtr.26", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator.23", align 1
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.std::allocator.23", align 1
  %22 = alloca i8, align 1
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator.23", align 1
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca %"class.std::allocator.23", align 1
  %27 = alloca i8, align 1
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::allocator.23", align 1
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"class.std::allocator.23", align 1
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca i32, align 4
  %35 = alloca %"class.std::__cxx11::basic_string", align 8
  %36 = alloca %"class.std::allocator.23", align 1
  %37 = alloca %"class.std::__cxx11::basic_string", align 8
  %38 = alloca %"class.std::__cxx11::basic_string", align 8
  %39 = alloca %"class.std::allocator.23", align 1
  %40 = alloca i1, align 1
  %41 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %42 = alloca %"class.SimTKIpopt::SmartPtr.48", align 8
  %43 = alloca %"class.std::__cxx11::basic_string", align 8
  %44 = alloca %"class.std::allocator.23", align 1
  %45 = alloca %"class.std::__cxx11::basic_string", align 8
  %46 = alloca %"class.std::allocator.23", align 1
  %47 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %48 = alloca %"class.SimTKIpopt::SmartPtr.48", align 8
  %49 = alloca %"class.std::__cxx11::basic_string", align 8
  %50 = alloca %"class.std::allocator.23", align 1
  %51 = alloca %"class.std::__cxx11::basic_string", align 8
  %52 = alloca %"class.std::allocator.23", align 1
  %53 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %54 = alloca %"class.SimTKIpopt::SmartPtr.48", align 8
  %55 = alloca %"class.std::__cxx11::basic_string", align 8
  %56 = alloca %"class.std::allocator.23", align 1
  %57 = alloca %"class.std::__cxx11::basic_string", align 8
  %58 = alloca %"class.std::allocator.23", align 1
  %59 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %60 = alloca %"class.SimTKIpopt::SmartPtr.48", align 8
  %61 = alloca %"class.std::__cxx11::basic_string", align 8
  %62 = alloca %"class.std::allocator.23", align 1
  %63 = alloca %"class.std::__cxx11::basic_string", align 8
  %64 = alloca %"class.std::allocator.23", align 1
  %65 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %66 = alloca %"class.SimTKIpopt::SmartPtr.48", align 8
  %67 = alloca %"class.std::__cxx11::basic_string", align 8
  %68 = alloca %"class.std::allocator.23", align 1
  %69 = alloca %"class.std::__cxx11::basic_string", align 8
  %70 = alloca %"class.std::allocator.23", align 1
  %71 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %72 = alloca %"class.SimTKIpopt::SmartPtr.48", align 8
  %73 = alloca %"class.std::__cxx11::basic_string", align 8
  %74 = alloca %"class.std::allocator.23", align 1
  %75 = alloca %"class.std::__cxx11::basic_string", align 8
  %76 = alloca %"class.std::allocator.23", align 1
  %77 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %78 = alloca %"class.SimTKIpopt::SmartPtr.48", align 8
  %79 = alloca %"class.std::__cxx11::basic_string", align 8
  %80 = alloca %"class.std::allocator.23", align 1
  %81 = alloca %"class.std::__cxx11::basic_string", align 8
  %82 = alloca %"class.std::allocator.23", align 1
  %83 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %84 = alloca %"class.std::__cxx11::basic_string", align 8
  %85 = alloca %"class.std::allocator.23", align 1
  %86 = alloca %"class.std::__cxx11::basic_string", align 8
  %87 = alloca %"class.std::allocator.23", align 1
  %88 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %89 = alloca %"class.std::__cxx11::basic_string", align 8
  %90 = alloca %"class.std::allocator.23", align 1
  %91 = alloca %"class.std::__cxx11::basic_string", align 8
  %92 = alloca %"class.std::allocator.23", align 1
  %93 = alloca double, align 8
  %94 = alloca double, align 8
  %95 = alloca i32, align 4
  %96 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %97 = alloca %"class.SimTKIpopt::SmartPtr.48", align 8
  %98 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %99 = alloca %"class.SimTKIpopt::SmartPtr.48", align 8
  %100 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %101 = alloca %"class.SimTKIpopt::SmartPtr.48", align 8
  %102 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %103 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %104 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %105 = alloca %"class.SimTKIpopt::SmartPtr.48", align 8
  %106 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %107 = alloca %"class.SimTKIpopt::SmartPtr.48", align 8
  %108 = alloca %"class.SimTKIpopt::SmartPtr.11", align 8
  %109 = alloca %"class.SimTKIpopt::SmartPtr.12", align 8
  %110 = alloca %"class.SimTKIpopt::SmartPtr.13", align 8
  %111 = alloca i1, align 1
  %112 = alloca %"class.std::bad_alloc", align 8
  %113 = alloca ptr, align 8
  %114 = alloca ptr, align 8
  %115 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  %116 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #11
  %117 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 4
  %118 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_11OptionsListEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %117)
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.11, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %119 unwind label %138

119:                                              ; preds = %1
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %120 unwind label %142

120:                                              ; preds = %119
  %121 = invoke noundef zeroext i1 @_ZNK10SimTKIpopt11OptionsList15GetIntegerValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERiS8_(ptr noundef nonnull align 8 dereferenceable(112) %118, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %122 unwind label %146

122:                                              ; preds = %120
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #11
  %123 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %123, ptr %11, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #11
  %124 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %125 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %124)
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %126 unwind label %152

126:                                              ; preds = %122
  invoke void @_ZN10SimTKIpopt10Journalist10GetJournalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.26") align 8 %12, ptr noundef nonnull align 8 dereferenceable(40) %125, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %127 unwind label %156

127:                                              ; preds = %126
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #11
  %128 = invoke noundef zeroext i1 @_ZN10SimTKIpopt7IsValidINS_7JournalEEEbRKNS_8SmartPtrIT_EE(ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %129 unwind label %161

129:                                              ; preds = %127
  br i1 %128, label %130, label %165

130:                                              ; preds = %129
  %131 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_7JournalEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %132 unwind label %161

132:                                              ; preds = %130
  %133 = load i32, ptr %11, align 4, !tbaa !11
  invoke void @_ZN10SimTKIpopt7Journal17SetAllPrintLevelsENS_13EJournalLevelE(ptr noundef nonnull align 8 dereferenceable(108) %131, i32 noundef %133)
          to label %134 unwind label %161

134:                                              ; preds = %132
  %135 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_7JournalEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %136 unwind label %161

136:                                              ; preds = %134
  invoke void @_ZN10SimTKIpopt7Journal13SetPrintLevelENS_16EJournalCategoryENS_13EJournalLevelE(ptr noundef nonnull align 8 dereferenceable(108) %135, i32 noundef 0, i32 noundef 0)
          to label %137 unwind label %161

137:                                              ; preds = %136
  br label %165

138:                                              ; preds = %1
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %7, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %8, align 4
  br label %151

142:                                              ; preds = %119
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %7, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %8, align 4
  br label %150

146:                                              ; preds = %120
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %7, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #11
  br label %150

150:                                              ; preds = %146, %142
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #11
  br label %151

151:                                              ; preds = %150, %138
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #11
  br label %1323

152:                                              ; preds = %122
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %7, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %8, align 4
  br label %160

156:                                              ; preds = %126
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %7, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #11
  br label %160

160:                                              ; preds = %156, %152
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #11
  br label %1322

161:                                              ; preds = %173, %171, %168, %165, %136, %134, %132, %130, %127
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %7, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %8, align 4
  br label %1321

165:                                              ; preds = %137, %129
  %166 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 5
  %167 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN10SimTKIpopt8SmartPtrINS_15SolveStatisticsEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %166, ptr noundef null)
          to label %168 unwind label %161

168:                                              ; preds = %165
  %169 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 8
  %170 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_9IpoptDataEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %169)
          to label %171 unwind label %161

171:                                              ; preds = %168
  %172 = invoke noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %170)
          to label %173 unwind label %161

173:                                              ; preds = %171
  invoke void @_ZN10SimTKIpopt16TimingStatistics10ResetTimesEv(ptr noundef nonnull align 8 dereferenceable(664) %172)
          to label %174 unwind label %161

174:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #11
  store i32 -199, ptr %15, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #11
  %175 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 6
  %176 = invoke noundef ptr @_ZN10SimTKIpopt9GetRawPtrINS_14IpoptAlgorithmEEEPT_RKNS_8SmartPtrIS2_EE(ptr noundef nonnull align 8 dereferenceable(8) %175)
          to label %177 unwind label %187

177:                                              ; preds = %174
  store ptr %176, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #11
  %178 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 8
  %179 = invoke noundef ptr @_ZN10SimTKIpopt9GetRawPtrINS_9IpoptDataEEEPT_RKNS_8SmartPtrIS2_EE(ptr noundef nonnull align 8 dereferenceable(8) %178)
          to label %180 unwind label %191

180:                                              ; preds = %177
  store ptr %179, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #11
  %181 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 7
  %182 = invoke noundef ptr @_ZN10SimTKIpopt9GetRawPtrINS_8IpoptNLPEEEPT_RKNS_8SmartPtrIS2_EE(ptr noundef nonnull align 8 dereferenceable(8) %181)
          to label %183 unwind label %195

183:                                              ; preds = %180
  %184 = icmp eq ptr %182, null
  br i1 %184, label %199, label %185

185:                                              ; preds = %183
  %186 = call ptr @__dynamic_cast(ptr %182, ptr @_ZTIN10SimTKIpopt8IpoptNLPE, ptr @_ZTIN10SimTKIpopt12OrigIpoptNLPE, i64 0) #11
  br label %200

187:                                              ; preds = %174
  %188 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %7, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %8, align 4
  br label %1206

191:                                              ; preds = %177
  %192 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %7, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %8, align 4
  br label %1205

195:                                              ; preds = %180
  %196 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %197 = extractvalue { ptr, i32 } %196, 0
  store ptr %197, ptr %7, align 8
  %198 = extractvalue { ptr, i32 } %196, 1
  store i32 %198, ptr %8, align 4
  br label %1204

199:                                              ; preds = %183
  br label %200

200:                                              ; preds = %199, %185
  %201 = phi ptr [ %186, %185 ], [ null, %199 ]
  store ptr %201, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #11
  %202 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 9
  %203 = invoke noundef ptr @_ZN10SimTKIpopt9GetRawPtrINS_25IpoptCalculatedQuantitiesEEEPT_RKNS_8SmartPtrIS2_EE(ptr noundef nonnull align 8 dereferenceable(8) %202)
          to label %204 unwind label %244

204:                                              ; preds = %200
  store ptr %203, ptr %19, align 8, !tbaa !5
  %205 = load ptr, ptr %16, align 8, !tbaa !5
  %206 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %207 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %206)
          to label %208 unwind label %244

208:                                              ; preds = %204
  %209 = load ptr, ptr %18, align 8, !tbaa !5
  %210 = load ptr, ptr %17, align 8, !tbaa !5
  %211 = load ptr, ptr %19, align 8, !tbaa !5
  %212 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 4
  %213 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZNK10SimTKIpopt8SmartPtrINS_11OptionsListEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %212)
          to label %214 unwind label %244

214:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %215 unwind label %248

215:                                              ; preds = %214
  %216 = invoke noundef zeroext i1 @_ZN10SimTKIpopt23AlgorithmStrategyObject10InitializeERKNS_10JournalistERNS_8IpoptNLPERNS_9IpoptDataERNS_25IpoptCalculatedQuantitiesERKNS_11OptionsListERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(49) %205, ptr noundef nonnull align 8 dereferenceable(40) %207, ptr noundef nonnull align 8 dereferenceable(24) %209, ptr noundef nonnull align 8 dereferenceable(864) %210, ptr noundef nonnull align 8 dereferenceable(2025) %211, ptr noundef nonnull align 8 dereferenceable(112) %213, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %217 unwind label %252

217:                                              ; preds = %215
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #11
  %218 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 4
  %219 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_11OptionsListEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %218)
          to label %220 unwind label %257

220:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef @.str.124, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %221 unwind label %261

221:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %222 unwind label %265

222:                                              ; preds = %221
  %223 = invoke noundef zeroext i1 @_ZNK10SimTKIpopt11OptionsList12GetBoolValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERbS8_(ptr noundef nonnull align 8 dereferenceable(112) %219, ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 1 dereferenceable(1) %22, ptr noundef nonnull align 8 dereferenceable(32) %25)
          to label %224 unwind label %269

224:                                              ; preds = %222
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #11
  %225 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 4
  %226 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_11OptionsListEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %225)
          to label %227 unwind label %275

227:                                              ; preds = %224
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef @.str.16, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %228 unwind label %279

228:                                              ; preds = %227
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %229 unwind label %283

229:                                              ; preds = %228
  %230 = invoke noundef zeroext i1 @_ZNK10SimTKIpopt11OptionsList12GetBoolValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERbS8_(ptr noundef nonnull align 8 dereferenceable(112) %226, ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 1 dereferenceable(1) %27, ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %231 unwind label %287

231:                                              ; preds = %229
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #11
  %232 = load i8, ptr %27, align 1, !tbaa !15, !range !17, !noundef !18
  %233 = trunc i8 %232 to i1
  br i1 %233, label %234, label %297

234:                                              ; preds = %231
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #11
  %235 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 4
  %236 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_11OptionsListEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %235)
          to label %237 unwind label %293

237:                                              ; preds = %234
  invoke void @_ZNK10SimTKIpopt11OptionsList16PrintUserOptionsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %236, ptr noundef nonnull align 8 dereferenceable(32) %32)
          to label %238 unwind label %293

238:                                              ; preds = %237
  %239 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %240 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %239)
          to label %241 unwind label %293

241:                                              ; preds = %238
  %242 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %32) #11
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %240, i32 noundef 1, i32 noundef 2, ptr noundef @.str.141, ptr noundef %242)
          to label %243 unwind label %293

243:                                              ; preds = %241
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #11
  br label %297

244:                                              ; preds = %208, %204, %200
  %245 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %7, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %8, align 4
  br label %1203

248:                                              ; preds = %214
  %249 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %7, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %8, align 4
  br label %256

252:                                              ; preds = %215
  %253 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %7, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #11
  br label %256

256:                                              ; preds = %252, %248
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #11
  br label %1203

257:                                              ; preds = %217
  %258 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %259 = extractvalue { ptr, i32 } %258, 0
  store ptr %259, ptr %7, align 8
  %260 = extractvalue { ptr, i32 } %258, 1
  store i32 %260, ptr %8, align 4
  br label %1202

261:                                              ; preds = %220
  %262 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %7, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %8, align 4
  br label %274

265:                                              ; preds = %221
  %266 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %7, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %8, align 4
  br label %273

269:                                              ; preds = %222
  %270 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %271 = extractvalue { ptr, i32 } %270, 0
  store ptr %271, ptr %7, align 8
  %272 = extractvalue { ptr, i32 } %270, 1
  store i32 %272, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #11
  br label %273

273:                                              ; preds = %269, %265
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #11
  br label %274

274:                                              ; preds = %273, %261
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #11
  br label %1202

275:                                              ; preds = %300, %297, %224
  %276 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %7, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %8, align 4
  br label %1201

279:                                              ; preds = %227
  %280 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %281 = extractvalue { ptr, i32 } %280, 0
  store ptr %281, ptr %7, align 8
  %282 = extractvalue { ptr, i32 } %280, 1
  store i32 %282, ptr %8, align 4
  br label %292

283:                                              ; preds = %228
  %284 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %285 = extractvalue { ptr, i32 } %284, 0
  store ptr %285, ptr %7, align 8
  %286 = extractvalue { ptr, i32 } %284, 1
  store i32 %286, ptr %8, align 4
  br label %291

287:                                              ; preds = %229
  %288 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %7, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #11
  br label %291

291:                                              ; preds = %287, %283
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #11
  br label %292

292:                                              ; preds = %291, %279
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #11
  br label %1201

293:                                              ; preds = %241, %238, %237, %234
  %294 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %295 = extractvalue { ptr, i32 } %294, 0
  store ptr %295, ptr %7, align 8
  %296 = extractvalue { ptr, i32 } %294, 1
  store i32 %296, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #11
  br label %1201

297:                                              ; preds = %243, %231
  %298 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %299 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %298)
          to label %300 unwind label %275

300:                                              ; preds = %297
  %301 = invoke noundef zeroext i1 @_ZNK10SimTKIpopt10Journalist13ProduceOutputENS_13EJournalLevelENS_16EJournalCategoryE(ptr noundef nonnull align 8 dereferenceable(40) %299, i32 noundef 5, i32 noundef 2)
          to label %302 unwind label %275

302:                                              ; preds = %300
  br i1 %301, label %303, label %317

303:                                              ; preds = %302
  call void @llvm.lifetime.start.p0(i64 32, ptr %33) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #11
  %304 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 4
  %305 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_11OptionsListEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %304)
          to label %306 unwind label %313

306:                                              ; preds = %303
  invoke void @_ZNK10SimTKIpopt11OptionsList9PrintListERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %305, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %307 unwind label %313

307:                                              ; preds = %306
  %308 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %309 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %308)
          to label %310 unwind label %313

310:                                              ; preds = %307
  %311 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %33) #11
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %309, i32 noundef 5, i32 noundef 2, ptr noundef @.str.142, ptr noundef %311)
          to label %312 unwind label %313

312:                                              ; preds = %310
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #11
  br label %317

313:                                              ; preds = %310, %307, %306, %303
  %314 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %7, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #11
  br label %1201

317:                                              ; preds = %312, %302
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #11
  %318 = load ptr, ptr %16, align 8, !tbaa !5
  %319 = invoke noundef i32 @_ZN10SimTKIpopt14IpoptAlgorithm8OptimizeEv(ptr noundef nonnull align 8 dereferenceable(152) %318)
          to label %320 unwind label %333

320:                                              ; preds = %317
  store i32 %319, ptr %34, align 4, !tbaa !19
  %321 = load i32, ptr %34, align 4, !tbaa !19
  %322 = icmp ne i32 %321, 10
  br i1 %322, label %364, label %323

323:                                              ; preds = %320
  call void @llvm.lifetime.start.p0(i64 32, ptr %35) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %36) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef @.str.143, ptr noundef nonnull align 1 dereferenceable(1) %36)
          to label %324 unwind label %337

324:                                              ; preds = %323
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #11
  %325 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef @.str.131)
          to label %326 unwind label %341

326:                                              ; preds = %324
  %327 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef @.str.144)
          to label %328 unwind label %341

328:                                              ; preds = %326
  store i1 true, ptr %40, align 1
  %329 = call ptr @__cxa_allocate_exception(i64 112) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 8 dereferenceable(32) %35)
          to label %330 unwind label %345

330:                                              ; preds = %328
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %39)
          to label %331 unwind label %349

331:                                              ; preds = %330
  invoke void @_ZN10SimTKIpopt11TOO_FEW_DOFC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_i(ptr noundef nonnull align 8 dereferenceable(112) %329, ptr noundef %37, ptr noundef %38, i32 noundef 579)
          to label %332 unwind label %353

332:                                              ; preds = %331
  store i1 false, ptr %40, align 1
  invoke void @__cxa_throw(ptr %329, ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE, ptr @_ZN10SimTKIpopt14IpoptExceptionD2Ev) #12
          to label %1332 unwind label %353

333:                                              ; preds = %864, %858, %855, %854, %848, %845, %844, %838, %835, %834, %828, %825, %824, %818, %815, %814, %808, %805, %804, %798, %795, %427, %424, %421, %418, %417, %414, %411, %408, %407, %404, %401, %398, %397, %394, %391, %388, %387, %384, %381, %378, %377, %374, %370, %367, %364, %317
  %334 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %335 = extractvalue { ptr, i32 } %334, 0
  store ptr %335, ptr %7, align 8
  %336 = extractvalue { ptr, i32 } %334, 1
  store i32 %336, ptr %8, align 4
  br label %1200

337:                                              ; preds = %323
  %338 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %339 = extractvalue { ptr, i32 } %338, 0
  store ptr %339, ptr %7, align 8
  %340 = extractvalue { ptr, i32 } %338, 1
  store i32 %340, ptr %8, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #11
  br label %363

341:                                              ; preds = %326, %324
  %342 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %343 = extractvalue { ptr, i32 } %342, 0
  store ptr %343, ptr %7, align 8
  %344 = extractvalue { ptr, i32 } %342, 1
  store i32 %344, ptr %8, align 4
  br label %362

345:                                              ; preds = %328
  %346 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %347 = extractvalue { ptr, i32 } %346, 0
  store ptr %347, ptr %7, align 8
  %348 = extractvalue { ptr, i32 } %346, 1
  store i32 %348, ptr %8, align 4
  br label %358

349:                                              ; preds = %330
  %350 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %351 = extractvalue { ptr, i32 } %350, 0
  store ptr %351, ptr %7, align 8
  %352 = extractvalue { ptr, i32 } %350, 1
  store i32 %352, ptr %8, align 4
  br label %357

353:                                              ; preds = %332, %331
  %354 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %355 = extractvalue { ptr, i32 } %354, 0
  store ptr %355, ptr %7, align 8
  %356 = extractvalue { ptr, i32 } %354, 1
  store i32 %356, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #11
  br label %357

357:                                              ; preds = %353, %349
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #11
  br label %358

358:                                              ; preds = %357, %345
  %359 = load i1, ptr %40, align 1
  br i1 %359, label %360, label %361

360:                                              ; preds = %358
  call void @__cxa_free_exception(ptr %329) #11
  br label %361

361:                                              ; preds = %360, %358
  br label %362

362:                                              ; preds = %361, %341
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #11
  br label %363

363:                                              ; preds = %362, %337
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #11
  br label %1200

364:                                              ; preds = %320
  %365 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %366 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %365)
          to label %367 unwind label %333

367:                                              ; preds = %364
  %368 = load ptr, ptr %17, align 8, !tbaa !5
  %369 = invoke noundef i32 @_ZNK10SimTKIpopt9IpoptData10iter_countEv(ptr noundef nonnull align 8 dereferenceable(864) %368)
          to label %370 unwind label %333

370:                                              ; preds = %367
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %366, i32 noundef 3, i32 noundef 10, ptr noundef @.str.145, i32 noundef %369)
          to label %371 unwind label %333

371:                                              ; preds = %370
  %372 = load i32, ptr %34, align 4, !tbaa !19
  %373 = icmp ne i32 %372, 9
  br i1 %373, label %374, label %429

374:                                              ; preds = %371
  %375 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %376 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %375)
          to label %377 unwind label %333

377:                                              ; preds = %374
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %376, i32 noundef 3, i32 noundef 10, ptr noundef @.str.146)
          to label %378 unwind label %333

378:                                              ; preds = %377
  %379 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %380 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %379)
          to label %381 unwind label %333

381:                                              ; preds = %378
  %382 = load ptr, ptr %19, align 8, !tbaa !5
  %383 = invoke noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities6curr_fEv(ptr noundef nonnull align 8 dereferenceable(2025) %382)
          to label %384 unwind label %333

384:                                              ; preds = %381
  %385 = load ptr, ptr %19, align 8, !tbaa !5
  %386 = invoke noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities15unscaled_curr_fEv(ptr noundef nonnull align 8 dereferenceable(2025) %385)
          to label %387 unwind label %333

387:                                              ; preds = %384
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %380, i32 noundef 3, i32 noundef 10, ptr noundef @.str.147, double noundef %383, double noundef %386)
          to label %388 unwind label %333

388:                                              ; preds = %387
  %389 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %390 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %389)
          to label %391 unwind label %333

391:                                              ; preds = %388
  %392 = load ptr, ptr %19, align 8, !tbaa !5
  %393 = invoke noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities23curr_dual_infeasibilityENS_9ENormTypeE(ptr noundef nonnull align 8 dereferenceable(2025) %392, i32 noundef 2)
          to label %394 unwind label %333

394:                                              ; preds = %391
  %395 = load ptr, ptr %19, align 8, !tbaa !5
  %396 = invoke noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities32unscaled_curr_dual_infeasibilityENS_9ENormTypeE(ptr noundef nonnull align 8 dereferenceable(2025) %395, i32 noundef 2)
          to label %397 unwind label %333

397:                                              ; preds = %394
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %390, i32 noundef 3, i32 noundef 10, ptr noundef @.str.148, double noundef %393, double noundef %396)
          to label %398 unwind label %333

398:                                              ; preds = %397
  %399 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %400 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %399)
          to label %401 unwind label %333

401:                                              ; preds = %398
  %402 = load ptr, ptr %19, align 8, !tbaa !5
  %403 = invoke noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities29curr_nlp_constraint_violationENS_9ENormTypeE(ptr noundef nonnull align 8 dereferenceable(2025) %402, i32 noundef 2)
          to label %404 unwind label %333

404:                                              ; preds = %401
  %405 = load ptr, ptr %19, align 8, !tbaa !5
  %406 = invoke noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities38unscaled_curr_nlp_constraint_violationENS_9ENormTypeE(ptr noundef nonnull align 8 dereferenceable(2025) %405, i32 noundef 2)
          to label %407 unwind label %333

407:                                              ; preds = %404
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %400, i32 noundef 3, i32 noundef 10, ptr noundef @.str.149, double noundef %403, double noundef %406)
          to label %408 unwind label %333

408:                                              ; preds = %407
  %409 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %410 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %409)
          to label %411 unwind label %333

411:                                              ; preds = %408
  %412 = load ptr, ptr %19, align 8, !tbaa !5
  %413 = invoke noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities20curr_complementarityEdNS_9ENormTypeE(ptr noundef nonnull align 8 dereferenceable(2025) %412, double noundef 0.000000e+00, i32 noundef 2)
          to label %414 unwind label %333

414:                                              ; preds = %411
  %415 = load ptr, ptr %19, align 8, !tbaa !5
  %416 = invoke noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities29unscaled_curr_complementarityEdNS_9ENormTypeE(ptr noundef nonnull align 8 dereferenceable(2025) %415, double noundef 0.000000e+00, i32 noundef 2)
          to label %417 unwind label %333

417:                                              ; preds = %414
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %410, i32 noundef 3, i32 noundef 10, ptr noundef @.str.150, double noundef %413, double noundef %416)
          to label %418 unwind label %333

418:                                              ; preds = %417
  %419 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %420 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %419)
          to label %421 unwind label %333

421:                                              ; preds = %418
  %422 = load ptr, ptr %19, align 8, !tbaa !5
  %423 = invoke noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities14curr_nlp_errorEv(ptr noundef nonnull align 8 dereferenceable(2025) %422)
          to label %424 unwind label %333

424:                                              ; preds = %421
  %425 = load ptr, ptr %19, align 8, !tbaa !5
  %426 = invoke noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities23unscaled_curr_nlp_errorEv(ptr noundef nonnull align 8 dereferenceable(2025) %425)
          to label %427 unwind label %333

427:                                              ; preds = %424
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %420, i32 noundef 3, i32 noundef 10, ptr noundef @.str.151, double noundef %423, double noundef %426)
          to label %428 unwind label %333

428:                                              ; preds = %427
  br label %429

429:                                              ; preds = %428, %371
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #11
  %430 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8 %42, ptr noundef nonnull align 8 dereferenceable(864) %430)
          to label %431 unwind label %544

431:                                              ; preds = %429
  %432 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %42)
          to label %433 unwind label %548

433:                                              ; preds = %431
  invoke void @_ZNK10SimTKIpopt14IteratesVector1xEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %41, ptr noundef nonnull align 8 dereferenceable(280) %432)
          to label %434 unwind label %548

434:                                              ; preds = %433
  %435 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41)
          to label %436 unwind label %552

436:                                              ; preds = %434
  %437 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %438 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %437)
          to label %439 unwind label %552

439:                                              ; preds = %436
  call void @llvm.lifetime.start.p0(i64 32, ptr %43) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef @.str.152, ptr noundef nonnull align 1 dereferenceable(1) %44)
          to label %440 unwind label %556

440:                                              ; preds = %439
  call void @llvm.lifetime.start.p0(i64 32, ptr %45) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %46) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %46)
          to label %441 unwind label %560

441:                                              ; preds = %440
  invoke void @_ZNK10SimTKIpopt6Vector5PrintERKNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSD_(ptr noundef nonnull align 8 dereferenceable(205) %435, ptr noundef nonnull align 8 dereferenceable(40) %438, i32 noundef 7, i32 noundef 10, ptr noundef nonnull align 8 dereferenceable(32) %43, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(32) %45)
          to label %442 unwind label %564

442:                                              ; preds = %441
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %41) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #11
  %443 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8 %48, ptr noundef nonnull align 8 dereferenceable(864) %443)
          to label %444 unwind label %573

444:                                              ; preds = %442
  %445 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %48)
          to label %446 unwind label %577

446:                                              ; preds = %444
  invoke void @_ZNK10SimTKIpopt14IteratesVector3y_cEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %47, ptr noundef nonnull align 8 dereferenceable(280) %445)
          to label %447 unwind label %577

447:                                              ; preds = %446
  %448 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %47)
          to label %449 unwind label %581

449:                                              ; preds = %447
  %450 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %451 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %450)
          to label %452 unwind label %581

452:                                              ; preds = %449
  call void @llvm.lifetime.start.p0(i64 32, ptr %49) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %50) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef @.str.153, ptr noundef nonnull align 1 dereferenceable(1) %50)
          to label %453 unwind label %585

453:                                              ; preds = %452
  call void @llvm.lifetime.start.p0(i64 32, ptr %51) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %52) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %52)
          to label %454 unwind label %589

454:                                              ; preds = %453
  invoke void @_ZNK10SimTKIpopt6Vector5PrintERKNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSD_(ptr noundef nonnull align 8 dereferenceable(205) %448, ptr noundef nonnull align 8 dereferenceable(40) %451, i32 noundef 7, i32 noundef 10, ptr noundef nonnull align 8 dereferenceable(32) %49, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(32) %51)
          to label %455 unwind label %593

455:                                              ; preds = %454
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %51) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %47) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %48) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #11
  %456 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8 %54, ptr noundef nonnull align 8 dereferenceable(864) %456)
          to label %457 unwind label %602

457:                                              ; preds = %455
  %458 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %54)
          to label %459 unwind label %606

459:                                              ; preds = %457
  invoke void @_ZNK10SimTKIpopt14IteratesVector3y_dEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %53, ptr noundef nonnull align 8 dereferenceable(280) %458)
          to label %460 unwind label %606

460:                                              ; preds = %459
  %461 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %53)
          to label %462 unwind label %610

462:                                              ; preds = %460
  %463 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %464 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %463)
          to label %465 unwind label %610

465:                                              ; preds = %462
  call void @llvm.lifetime.start.p0(i64 32, ptr %55) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %56) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef @.str.154, ptr noundef nonnull align 1 dereferenceable(1) %56)
          to label %466 unwind label %614

466:                                              ; preds = %465
  call void @llvm.lifetime.start.p0(i64 32, ptr %57) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %58) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %58)
          to label %467 unwind label %618

467:                                              ; preds = %466
  invoke void @_ZNK10SimTKIpopt6Vector5PrintERKNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSD_(ptr noundef nonnull align 8 dereferenceable(205) %461, ptr noundef nonnull align 8 dereferenceable(40) %464, i32 noundef 7, i32 noundef 10, ptr noundef nonnull align 8 dereferenceable(32) %55, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(32) %57)
          to label %468 unwind label %622

468:                                              ; preds = %467
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %58) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %57) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %56) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %55) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %53) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %54) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #11
  %469 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8 %60, ptr noundef nonnull align 8 dereferenceable(864) %469)
          to label %470 unwind label %631

470:                                              ; preds = %468
  %471 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %60)
          to label %472 unwind label %635

472:                                              ; preds = %470
  invoke void @_ZNK10SimTKIpopt14IteratesVector3z_LEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %59, ptr noundef nonnull align 8 dereferenceable(280) %471)
          to label %473 unwind label %635

473:                                              ; preds = %472
  %474 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %59)
          to label %475 unwind label %639

475:                                              ; preds = %473
  %476 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %477 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %476)
          to label %478 unwind label %639

478:                                              ; preds = %475
  call void @llvm.lifetime.start.p0(i64 32, ptr %61) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %62) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %61, ptr noundef @.str.155, ptr noundef nonnull align 1 dereferenceable(1) %62)
          to label %479 unwind label %643

479:                                              ; preds = %478
  call void @llvm.lifetime.start.p0(i64 32, ptr %63) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %64) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %63, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %64)
          to label %480 unwind label %647

480:                                              ; preds = %479
  invoke void @_ZNK10SimTKIpopt6Vector5PrintERKNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSD_(ptr noundef nonnull align 8 dereferenceable(205) %474, ptr noundef nonnull align 8 dereferenceable(40) %477, i32 noundef 7, i32 noundef 10, ptr noundef nonnull align 8 dereferenceable(32) %61, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(32) %63)
          to label %481 unwind label %651

481:                                              ; preds = %480
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %64) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %63) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %62) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %61) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %59) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %60) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #11
  %482 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8 %66, ptr noundef nonnull align 8 dereferenceable(864) %482)
          to label %483 unwind label %660

483:                                              ; preds = %481
  %484 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %66)
          to label %485 unwind label %664

485:                                              ; preds = %483
  invoke void @_ZNK10SimTKIpopt14IteratesVector3z_UEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %65, ptr noundef nonnull align 8 dereferenceable(280) %484)
          to label %486 unwind label %664

486:                                              ; preds = %485
  %487 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %65)
          to label %488 unwind label %668

488:                                              ; preds = %486
  %489 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %490 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %489)
          to label %491 unwind label %668

491:                                              ; preds = %488
  call void @llvm.lifetime.start.p0(i64 32, ptr %67) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %68) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %67, ptr noundef @.str.156, ptr noundef nonnull align 1 dereferenceable(1) %68)
          to label %492 unwind label %672

492:                                              ; preds = %491
  call void @llvm.lifetime.start.p0(i64 32, ptr %69) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %70) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %70) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %69, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %70)
          to label %493 unwind label %676

493:                                              ; preds = %492
  invoke void @_ZNK10SimTKIpopt6Vector5PrintERKNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSD_(ptr noundef nonnull align 8 dereferenceable(205) %487, ptr noundef nonnull align 8 dereferenceable(40) %490, i32 noundef 7, i32 noundef 10, ptr noundef nonnull align 8 dereferenceable(32) %67, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(32) %69)
          to label %494 unwind label %680

494:                                              ; preds = %493
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %70) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %70) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %69) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %68) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %67) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %65) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %66) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #11
  %495 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8 %72, ptr noundef nonnull align 8 dereferenceable(864) %495)
          to label %496 unwind label %689

496:                                              ; preds = %494
  %497 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %72)
          to label %498 unwind label %693

498:                                              ; preds = %496
  invoke void @_ZNK10SimTKIpopt14IteratesVector3v_LEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %71, ptr noundef nonnull align 8 dereferenceable(280) %497)
          to label %499 unwind label %693

499:                                              ; preds = %498
  %500 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %71)
          to label %501 unwind label %697

501:                                              ; preds = %499
  %502 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %503 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %502)
          to label %504 unwind label %697

504:                                              ; preds = %501
  call void @llvm.lifetime.start.p0(i64 32, ptr %73) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %74) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %74) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %73, ptr noundef @.str.157, ptr noundef nonnull align 1 dereferenceable(1) %74)
          to label %505 unwind label %701

505:                                              ; preds = %504
  call void @llvm.lifetime.start.p0(i64 32, ptr %75) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %76) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %76) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %75, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %76)
          to label %506 unwind label %705

506:                                              ; preds = %505
  invoke void @_ZNK10SimTKIpopt6Vector5PrintERKNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSD_(ptr noundef nonnull align 8 dereferenceable(205) %500, ptr noundef nonnull align 8 dereferenceable(40) %503, i32 noundef 7, i32 noundef 10, ptr noundef nonnull align 8 dereferenceable(32) %73, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(32) %75)
          to label %507 unwind label %709

507:                                              ; preds = %506
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %75) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %76) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %76) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %75) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %74) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %74) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %73) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %71) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %72) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %77) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %78) #11
  %508 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8 %78, ptr noundef nonnull align 8 dereferenceable(864) %508)
          to label %509 unwind label %718

509:                                              ; preds = %507
  %510 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %78)
          to label %511 unwind label %722

511:                                              ; preds = %509
  invoke void @_ZNK10SimTKIpopt14IteratesVector3v_UEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %77, ptr noundef nonnull align 8 dereferenceable(280) %510)
          to label %512 unwind label %722

512:                                              ; preds = %511
  %513 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %77)
          to label %514 unwind label %726

514:                                              ; preds = %512
  %515 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %516 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %515)
          to label %517 unwind label %726

517:                                              ; preds = %514
  call void @llvm.lifetime.start.p0(i64 32, ptr %79) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %80) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %80) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %79, ptr noundef @.str.158, ptr noundef nonnull align 1 dereferenceable(1) %80)
          to label %518 unwind label %730

518:                                              ; preds = %517
  call void @llvm.lifetime.start.p0(i64 32, ptr %81) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %82) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %82) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %81, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %82)
          to label %519 unwind label %734

519:                                              ; preds = %518
  invoke void @_ZNK10SimTKIpopt6Vector5PrintERKNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSD_(ptr noundef nonnull align 8 dereferenceable(205) %513, ptr noundef nonnull align 8 dereferenceable(40) %516, i32 noundef 7, i32 noundef 10, ptr noundef nonnull align 8 dereferenceable(32) %79, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(32) %81)
          to label %520 unwind label %738

520:                                              ; preds = %519
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %82) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %82) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %81) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %79) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %80) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %80) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %79) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %77) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %78) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #11
  %521 = load i32, ptr %34, align 4, !tbaa !19
  %522 = icmp eq i32 %521, 4
  br i1 %522, label %523, label %795

523:                                              ; preds = %520
  call void @llvm.lifetime.start.p0(i64 8, ptr %83) #11
  %524 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void @_ZN10SimTKIpopt25IpoptCalculatedQuantities6curr_cEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %83, ptr noundef nonnull align 8 dereferenceable(2025) %524)
          to label %525 unwind label %747

525:                                              ; preds = %523
  %526 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %83)
          to label %527 unwind label %751

527:                                              ; preds = %525
  %528 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %529 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %528)
          to label %530 unwind label %751

530:                                              ; preds = %527
  call void @llvm.lifetime.start.p0(i64 32, ptr %84) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %85) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %85) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %84, ptr noundef @.str.159, ptr noundef nonnull align 1 dereferenceable(1) %85)
          to label %531 unwind label %755

531:                                              ; preds = %530
  call void @llvm.lifetime.start.p0(i64 32, ptr %86) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %87) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %87) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %86, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %87)
          to label %532 unwind label %759

532:                                              ; preds = %531
  invoke void @_ZNK10SimTKIpopt6Vector5PrintERKNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSD_(ptr noundef nonnull align 8 dereferenceable(205) %526, ptr noundef nonnull align 8 dereferenceable(40) %529, i32 noundef 7, i32 noundef 10, ptr noundef nonnull align 8 dereferenceable(32) %84, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(32) %86)
          to label %533 unwind label %763

533:                                              ; preds = %532
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %86) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %87) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %87) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %86) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %84) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %85) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %85) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %84) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %83) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %88) #11
  %534 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void @_ZN10SimTKIpopt25IpoptCalculatedQuantities14curr_d_minus_sEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %88, ptr noundef nonnull align 8 dereferenceable(2025) %534)
          to label %535 unwind label %771

535:                                              ; preds = %533
  %536 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %88)
          to label %537 unwind label %775

537:                                              ; preds = %535
  %538 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %539 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %538)
          to label %540 unwind label %775

540:                                              ; preds = %537
  call void @llvm.lifetime.start.p0(i64 32, ptr %89) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %90) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %90) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %89, ptr noundef @.str.160, ptr noundef nonnull align 1 dereferenceable(1) %90)
          to label %541 unwind label %779

541:                                              ; preds = %540
  call void @llvm.lifetime.start.p0(i64 32, ptr %91) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %92) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %92) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %91, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %92)
          to label %542 unwind label %783

542:                                              ; preds = %541
  invoke void @_ZNK10SimTKIpopt6Vector5PrintERKNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSD_(ptr noundef nonnull align 8 dereferenceable(205) %536, ptr noundef nonnull align 8 dereferenceable(40) %539, i32 noundef 7, i32 noundef 10, ptr noundef nonnull align 8 dereferenceable(32) %89, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(32) %91)
          to label %543 unwind label %787

543:                                              ; preds = %542
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %91) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %92) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %92) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %91) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %89) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %90) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %90) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %89) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %88) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %88) #11
  br label %795

544:                                              ; preds = %429
  %545 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %546 = extractvalue { ptr, i32 } %545, 0
  store ptr %546, ptr %7, align 8
  %547 = extractvalue { ptr, i32 } %545, 1
  store i32 %547, ptr %8, align 4
  br label %572

548:                                              ; preds = %433, %431
  %549 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %550 = extractvalue { ptr, i32 } %549, 0
  store ptr %550, ptr %7, align 8
  %551 = extractvalue { ptr, i32 } %549, 1
  store i32 %551, ptr %8, align 4
  br label %571

552:                                              ; preds = %436, %434
  %553 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %554 = extractvalue { ptr, i32 } %553, 0
  store ptr %554, ptr %7, align 8
  %555 = extractvalue { ptr, i32 } %553, 1
  store i32 %555, ptr %8, align 4
  br label %570

556:                                              ; preds = %439
  %557 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %558 = extractvalue { ptr, i32 } %557, 0
  store ptr %558, ptr %7, align 8
  %559 = extractvalue { ptr, i32 } %557, 1
  store i32 %559, ptr %8, align 4
  br label %569

560:                                              ; preds = %440
  %561 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %562 = extractvalue { ptr, i32 } %561, 0
  store ptr %562, ptr %7, align 8
  %563 = extractvalue { ptr, i32 } %561, 1
  store i32 %563, ptr %8, align 4
  br label %568

564:                                              ; preds = %441
  %565 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %566 = extractvalue { ptr, i32 } %565, 0
  store ptr %566, ptr %7, align 8
  %567 = extractvalue { ptr, i32 } %565, 1
  store i32 %567, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #11
  br label %568

568:                                              ; preds = %564, %560
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #11
  br label %569

569:                                              ; preds = %568, %556
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #11
  br label %570

570:                                              ; preds = %569, %552
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %41) #11
  br label %571

571:                                              ; preds = %570, %548
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #11
  br label %572

572:                                              ; preds = %571, %544
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #11
  br label %1200

573:                                              ; preds = %442
  %574 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %575 = extractvalue { ptr, i32 } %574, 0
  store ptr %575, ptr %7, align 8
  %576 = extractvalue { ptr, i32 } %574, 1
  store i32 %576, ptr %8, align 4
  br label %601

577:                                              ; preds = %446, %444
  %578 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %579 = extractvalue { ptr, i32 } %578, 0
  store ptr %579, ptr %7, align 8
  %580 = extractvalue { ptr, i32 } %578, 1
  store i32 %580, ptr %8, align 4
  br label %600

581:                                              ; preds = %449, %447
  %582 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %583 = extractvalue { ptr, i32 } %582, 0
  store ptr %583, ptr %7, align 8
  %584 = extractvalue { ptr, i32 } %582, 1
  store i32 %584, ptr %8, align 4
  br label %599

585:                                              ; preds = %452
  %586 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %587 = extractvalue { ptr, i32 } %586, 0
  store ptr %587, ptr %7, align 8
  %588 = extractvalue { ptr, i32 } %586, 1
  store i32 %588, ptr %8, align 4
  br label %598

589:                                              ; preds = %453
  %590 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %591 = extractvalue { ptr, i32 } %590, 0
  store ptr %591, ptr %7, align 8
  %592 = extractvalue { ptr, i32 } %590, 1
  store i32 %592, ptr %8, align 4
  br label %597

593:                                              ; preds = %454
  %594 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %595 = extractvalue { ptr, i32 } %594, 0
  store ptr %595, ptr %7, align 8
  %596 = extractvalue { ptr, i32 } %594, 1
  store i32 %596, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #11
  br label %597

597:                                              ; preds = %593, %589
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %51) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #11
  br label %598

598:                                              ; preds = %597, %585
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #11
  br label %599

599:                                              ; preds = %598, %581
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %47) #11
  br label %600

600:                                              ; preds = %599, %577
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %48) #11
  br label %601

601:                                              ; preds = %600, %573
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #11
  br label %1200

602:                                              ; preds = %455
  %603 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %604 = extractvalue { ptr, i32 } %603, 0
  store ptr %604, ptr %7, align 8
  %605 = extractvalue { ptr, i32 } %603, 1
  store i32 %605, ptr %8, align 4
  br label %630

606:                                              ; preds = %459, %457
  %607 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %608 = extractvalue { ptr, i32 } %607, 0
  store ptr %608, ptr %7, align 8
  %609 = extractvalue { ptr, i32 } %607, 1
  store i32 %609, ptr %8, align 4
  br label %629

610:                                              ; preds = %462, %460
  %611 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %612 = extractvalue { ptr, i32 } %611, 0
  store ptr %612, ptr %7, align 8
  %613 = extractvalue { ptr, i32 } %611, 1
  store i32 %613, ptr %8, align 4
  br label %628

614:                                              ; preds = %465
  %615 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %616 = extractvalue { ptr, i32 } %615, 0
  store ptr %616, ptr %7, align 8
  %617 = extractvalue { ptr, i32 } %615, 1
  store i32 %617, ptr %8, align 4
  br label %627

618:                                              ; preds = %466
  %619 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %620 = extractvalue { ptr, i32 } %619, 0
  store ptr %620, ptr %7, align 8
  %621 = extractvalue { ptr, i32 } %619, 1
  store i32 %621, ptr %8, align 4
  br label %626

622:                                              ; preds = %467
  %623 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %624 = extractvalue { ptr, i32 } %623, 0
  store ptr %624, ptr %7, align 8
  %625 = extractvalue { ptr, i32 } %623, 1
  store i32 %625, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #11
  br label %626

626:                                              ; preds = %622, %618
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %58) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %57) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #11
  br label %627

627:                                              ; preds = %626, %614
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %56) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %55) #11
  br label %628

628:                                              ; preds = %627, %610
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %53) #11
  br label %629

629:                                              ; preds = %628, %606
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %54) #11
  br label %630

630:                                              ; preds = %629, %602
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #11
  br label %1200

631:                                              ; preds = %468
  %632 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %633 = extractvalue { ptr, i32 } %632, 0
  store ptr %633, ptr %7, align 8
  %634 = extractvalue { ptr, i32 } %632, 1
  store i32 %634, ptr %8, align 4
  br label %659

635:                                              ; preds = %472, %470
  %636 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %637 = extractvalue { ptr, i32 } %636, 0
  store ptr %637, ptr %7, align 8
  %638 = extractvalue { ptr, i32 } %636, 1
  store i32 %638, ptr %8, align 4
  br label %658

639:                                              ; preds = %475, %473
  %640 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %641 = extractvalue { ptr, i32 } %640, 0
  store ptr %641, ptr %7, align 8
  %642 = extractvalue { ptr, i32 } %640, 1
  store i32 %642, ptr %8, align 4
  br label %657

643:                                              ; preds = %478
  %644 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %645 = extractvalue { ptr, i32 } %644, 0
  store ptr %645, ptr %7, align 8
  %646 = extractvalue { ptr, i32 } %644, 1
  store i32 %646, ptr %8, align 4
  br label %656

647:                                              ; preds = %479
  %648 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %649 = extractvalue { ptr, i32 } %648, 0
  store ptr %649, ptr %7, align 8
  %650 = extractvalue { ptr, i32 } %648, 1
  store i32 %650, ptr %8, align 4
  br label %655

651:                                              ; preds = %480
  %652 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %653 = extractvalue { ptr, i32 } %652, 0
  store ptr %653, ptr %7, align 8
  %654 = extractvalue { ptr, i32 } %652, 1
  store i32 %654, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #11
  br label %655

655:                                              ; preds = %651, %647
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %64) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %63) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #11
  br label %656

656:                                              ; preds = %655, %643
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %62) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %61) #11
  br label %657

657:                                              ; preds = %656, %639
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %59) #11
  br label %658

658:                                              ; preds = %657, %635
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %60) #11
  br label %659

659:                                              ; preds = %658, %631
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #11
  br label %1200

660:                                              ; preds = %481
  %661 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %662 = extractvalue { ptr, i32 } %661, 0
  store ptr %662, ptr %7, align 8
  %663 = extractvalue { ptr, i32 } %661, 1
  store i32 %663, ptr %8, align 4
  br label %688

664:                                              ; preds = %485, %483
  %665 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %666 = extractvalue { ptr, i32 } %665, 0
  store ptr %666, ptr %7, align 8
  %667 = extractvalue { ptr, i32 } %665, 1
  store i32 %667, ptr %8, align 4
  br label %687

668:                                              ; preds = %488, %486
  %669 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %670 = extractvalue { ptr, i32 } %669, 0
  store ptr %670, ptr %7, align 8
  %671 = extractvalue { ptr, i32 } %669, 1
  store i32 %671, ptr %8, align 4
  br label %686

672:                                              ; preds = %491
  %673 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %674 = extractvalue { ptr, i32 } %673, 0
  store ptr %674, ptr %7, align 8
  %675 = extractvalue { ptr, i32 } %673, 1
  store i32 %675, ptr %8, align 4
  br label %685

676:                                              ; preds = %492
  %677 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %678 = extractvalue { ptr, i32 } %677, 0
  store ptr %678, ptr %7, align 8
  %679 = extractvalue { ptr, i32 } %677, 1
  store i32 %679, ptr %8, align 4
  br label %684

680:                                              ; preds = %493
  %681 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %682 = extractvalue { ptr, i32 } %681, 0
  store ptr %682, ptr %7, align 8
  %683 = extractvalue { ptr, i32 } %681, 1
  store i32 %683, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #11
  br label %684

684:                                              ; preds = %680, %676
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %70) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %70) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %69) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #11
  br label %685

685:                                              ; preds = %684, %672
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %68) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %67) #11
  br label %686

686:                                              ; preds = %685, %668
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %65) #11
  br label %687

687:                                              ; preds = %686, %664
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %66) #11
  br label %688

688:                                              ; preds = %687, %660
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #11
  br label %1200

689:                                              ; preds = %494
  %690 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %691 = extractvalue { ptr, i32 } %690, 0
  store ptr %691, ptr %7, align 8
  %692 = extractvalue { ptr, i32 } %690, 1
  store i32 %692, ptr %8, align 4
  br label %717

693:                                              ; preds = %498, %496
  %694 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %695 = extractvalue { ptr, i32 } %694, 0
  store ptr %695, ptr %7, align 8
  %696 = extractvalue { ptr, i32 } %694, 1
  store i32 %696, ptr %8, align 4
  br label %716

697:                                              ; preds = %501, %499
  %698 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %699 = extractvalue { ptr, i32 } %698, 0
  store ptr %699, ptr %7, align 8
  %700 = extractvalue { ptr, i32 } %698, 1
  store i32 %700, ptr %8, align 4
  br label %715

701:                                              ; preds = %504
  %702 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %703 = extractvalue { ptr, i32 } %702, 0
  store ptr %703, ptr %7, align 8
  %704 = extractvalue { ptr, i32 } %702, 1
  store i32 %704, ptr %8, align 4
  br label %714

705:                                              ; preds = %505
  %706 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %707 = extractvalue { ptr, i32 } %706, 0
  store ptr %707, ptr %7, align 8
  %708 = extractvalue { ptr, i32 } %706, 1
  store i32 %708, ptr %8, align 4
  br label %713

709:                                              ; preds = %506
  %710 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %711 = extractvalue { ptr, i32 } %710, 0
  store ptr %711, ptr %7, align 8
  %712 = extractvalue { ptr, i32 } %710, 1
  store i32 %712, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %75) #11
  br label %713

713:                                              ; preds = %709, %705
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %76) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %76) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %75) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #11
  br label %714

714:                                              ; preds = %713, %701
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %74) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %74) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %73) #11
  br label %715

715:                                              ; preds = %714, %697
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %71) #11
  br label %716

716:                                              ; preds = %715, %693
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %72) #11
  br label %717

717:                                              ; preds = %716, %689
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #11
  br label %1200

718:                                              ; preds = %507
  %719 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %720 = extractvalue { ptr, i32 } %719, 0
  store ptr %720, ptr %7, align 8
  %721 = extractvalue { ptr, i32 } %719, 1
  store i32 %721, ptr %8, align 4
  br label %746

722:                                              ; preds = %511, %509
  %723 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %724 = extractvalue { ptr, i32 } %723, 0
  store ptr %724, ptr %7, align 8
  %725 = extractvalue { ptr, i32 } %723, 1
  store i32 %725, ptr %8, align 4
  br label %745

726:                                              ; preds = %514, %512
  %727 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %728 = extractvalue { ptr, i32 } %727, 0
  store ptr %728, ptr %7, align 8
  %729 = extractvalue { ptr, i32 } %727, 1
  store i32 %729, ptr %8, align 4
  br label %744

730:                                              ; preds = %517
  %731 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %732 = extractvalue { ptr, i32 } %731, 0
  store ptr %732, ptr %7, align 8
  %733 = extractvalue { ptr, i32 } %731, 1
  store i32 %733, ptr %8, align 4
  br label %743

734:                                              ; preds = %518
  %735 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %736 = extractvalue { ptr, i32 } %735, 0
  store ptr %736, ptr %7, align 8
  %737 = extractvalue { ptr, i32 } %735, 1
  store i32 %737, ptr %8, align 4
  br label %742

738:                                              ; preds = %519
  %739 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %740 = extractvalue { ptr, i32 } %739, 0
  store ptr %740, ptr %7, align 8
  %741 = extractvalue { ptr, i32 } %739, 1
  store i32 %741, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #11
  br label %742

742:                                              ; preds = %738, %734
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %82) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %82) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %81) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %79) #11
  br label %743

743:                                              ; preds = %742, %730
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %80) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %80) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %79) #11
  br label %744

744:                                              ; preds = %743, %726
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %77) #11
  br label %745

745:                                              ; preds = %744, %722
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %78) #11
  br label %746

746:                                              ; preds = %745, %718
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #11
  br label %1200

747:                                              ; preds = %523
  %748 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %749 = extractvalue { ptr, i32 } %748, 0
  store ptr %749, ptr %7, align 8
  %750 = extractvalue { ptr, i32 } %748, 1
  store i32 %750, ptr %8, align 4
  br label %770

751:                                              ; preds = %527, %525
  %752 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %753 = extractvalue { ptr, i32 } %752, 0
  store ptr %753, ptr %7, align 8
  %754 = extractvalue { ptr, i32 } %752, 1
  store i32 %754, ptr %8, align 4
  br label %769

755:                                              ; preds = %530
  %756 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %757 = extractvalue { ptr, i32 } %756, 0
  store ptr %757, ptr %7, align 8
  %758 = extractvalue { ptr, i32 } %756, 1
  store i32 %758, ptr %8, align 4
  br label %768

759:                                              ; preds = %531
  %760 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %761 = extractvalue { ptr, i32 } %760, 0
  store ptr %761, ptr %7, align 8
  %762 = extractvalue { ptr, i32 } %760, 1
  store i32 %762, ptr %8, align 4
  br label %767

763:                                              ; preds = %532
  %764 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %765 = extractvalue { ptr, i32 } %764, 0
  store ptr %765, ptr %7, align 8
  %766 = extractvalue { ptr, i32 } %764, 1
  store i32 %766, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %86) #11
  br label %767

767:                                              ; preds = %763, %759
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %87) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %87) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %86) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %84) #11
  br label %768

768:                                              ; preds = %767, %755
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %85) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %85) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %84) #11
  br label %769

769:                                              ; preds = %768, %751
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %83) #11
  br label %770

770:                                              ; preds = %769, %747
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #11
  br label %1200

771:                                              ; preds = %533
  %772 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %773 = extractvalue { ptr, i32 } %772, 0
  store ptr %773, ptr %7, align 8
  %774 = extractvalue { ptr, i32 } %772, 1
  store i32 %774, ptr %8, align 4
  br label %794

775:                                              ; preds = %537, %535
  %776 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %777 = extractvalue { ptr, i32 } %776, 0
  store ptr %777, ptr %7, align 8
  %778 = extractvalue { ptr, i32 } %776, 1
  store i32 %778, ptr %8, align 4
  br label %793

779:                                              ; preds = %540
  %780 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %781 = extractvalue { ptr, i32 } %780, 0
  store ptr %781, ptr %7, align 8
  %782 = extractvalue { ptr, i32 } %780, 1
  store i32 %782, ptr %8, align 4
  br label %792

783:                                              ; preds = %541
  %784 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %785 = extractvalue { ptr, i32 } %784, 0
  store ptr %785, ptr %7, align 8
  %786 = extractvalue { ptr, i32 } %784, 1
  store i32 %786, ptr %8, align 4
  br label %791

787:                                              ; preds = %542
  %788 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %789 = extractvalue { ptr, i32 } %788, 0
  store ptr %789, ptr %7, align 8
  %790 = extractvalue { ptr, i32 } %788, 1
  store i32 %790, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %91) #11
  br label %791

791:                                              ; preds = %787, %783
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %92) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %92) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %91) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %89) #11
  br label %792

792:                                              ; preds = %791, %779
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %90) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %90) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %89) #11
  br label %793

793:                                              ; preds = %792, %775
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %88) #11
  br label %794

794:                                              ; preds = %793, %771
  call void @llvm.lifetime.end.p0(i64 8, ptr %88) #11
  br label %1200

795:                                              ; preds = %543, %520
  %796 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %797 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %796)
          to label %798 unwind label %333

798:                                              ; preds = %795
  %799 = load ptr, ptr %18, align 8, !tbaa !5
  %800 = load ptr, ptr %799, align 8, !tbaa !21
  %801 = getelementptr inbounds ptr, ptr %800, i64 23
  %802 = load ptr, ptr %801, align 8
  %803 = invoke noundef i32 %802(ptr noundef nonnull align 8 dereferenceable(648) %799)
          to label %804 unwind label %333

804:                                              ; preds = %798
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %797, i32 noundef 3, i32 noundef 1, ptr noundef @.str.161, i32 noundef %803)
          to label %805 unwind label %333

805:                                              ; preds = %804
  %806 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %807 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %806)
          to label %808 unwind label %333

808:                                              ; preds = %805
  %809 = load ptr, ptr %18, align 8, !tbaa !5
  %810 = load ptr, ptr %809, align 8, !tbaa !21
  %811 = getelementptr inbounds ptr, ptr %810, i64 24
  %812 = load ptr, ptr %811, align 8
  %813 = invoke noundef i32 %812(ptr noundef nonnull align 8 dereferenceable(648) %809)
          to label %814 unwind label %333

814:                                              ; preds = %808
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %807, i32 noundef 3, i32 noundef 1, ptr noundef @.str.162, i32 noundef %813)
          to label %815 unwind label %333

815:                                              ; preds = %814
  %816 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %817 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %816)
          to label %818 unwind label %333

818:                                              ; preds = %815
  %819 = load ptr, ptr %18, align 8, !tbaa !5
  %820 = load ptr, ptr %819, align 8, !tbaa !21
  %821 = getelementptr inbounds ptr, ptr %820, i64 25
  %822 = load ptr, ptr %821, align 8
  %823 = invoke noundef i32 %822(ptr noundef nonnull align 8 dereferenceable(648) %819)
          to label %824 unwind label %333

824:                                              ; preds = %818
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %817, i32 noundef 3, i32 noundef 1, ptr noundef @.str.163, i32 noundef %823)
          to label %825 unwind label %333

825:                                              ; preds = %824
  %826 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %827 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %826)
          to label %828 unwind label %333

828:                                              ; preds = %825
  %829 = load ptr, ptr %18, align 8, !tbaa !5
  %830 = load ptr, ptr %829, align 8, !tbaa !21
  %831 = getelementptr inbounds ptr, ptr %830, i64 27
  %832 = load ptr, ptr %831, align 8
  %833 = invoke noundef i32 %832(ptr noundef nonnull align 8 dereferenceable(648) %829)
          to label %834 unwind label %333

834:                                              ; preds = %828
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %827, i32 noundef 3, i32 noundef 1, ptr noundef @.str.164, i32 noundef %833)
          to label %835 unwind label %333

835:                                              ; preds = %834
  %836 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %837 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %836)
          to label %838 unwind label %333

838:                                              ; preds = %835
  %839 = load ptr, ptr %18, align 8, !tbaa !5
  %840 = load ptr, ptr %839, align 8, !tbaa !21
  %841 = getelementptr inbounds ptr, ptr %840, i64 26
  %842 = load ptr, ptr %841, align 8
  %843 = invoke noundef i32 %842(ptr noundef nonnull align 8 dereferenceable(648) %839)
          to label %844 unwind label %333

844:                                              ; preds = %838
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %837, i32 noundef 3, i32 noundef 1, ptr noundef @.str.165, i32 noundef %843)
          to label %845 unwind label %333

845:                                              ; preds = %844
  %846 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %847 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %846)
          to label %848 unwind label %333

848:                                              ; preds = %845
  %849 = load ptr, ptr %18, align 8, !tbaa !5
  %850 = load ptr, ptr %849, align 8, !tbaa !21
  %851 = getelementptr inbounds ptr, ptr %850, i64 28
  %852 = load ptr, ptr %851, align 8
  %853 = invoke noundef i32 %852(ptr noundef nonnull align 8 dereferenceable(648) %849)
          to label %854 unwind label %333

854:                                              ; preds = %848
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %847, i32 noundef 3, i32 noundef 1, ptr noundef @.str.166, i32 noundef %853)
          to label %855 unwind label %333

855:                                              ; preds = %854
  %856 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %857 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %856)
          to label %858 unwind label %333

858:                                              ; preds = %855
  %859 = load ptr, ptr %18, align 8, !tbaa !5
  %860 = load ptr, ptr %859, align 8, !tbaa !21
  %861 = getelementptr inbounds ptr, ptr %860, i64 29
  %862 = load ptr, ptr %861, align 8
  %863 = invoke noundef i32 %862(ptr noundef nonnull align 8 dereferenceable(648) %859)
          to label %864 unwind label %333

864:                                              ; preds = %858
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %857, i32 noundef 3, i32 noundef 1, ptr noundef @.str.167, i32 noundef %863)
          to label %865 unwind label %333

865:                                              ; preds = %864
  call void @llvm.lifetime.start.p0(i64 8, ptr %93) #11
  %866 = load ptr, ptr %17, align 8, !tbaa !5
  %867 = invoke noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %866)
          to label %868 unwind label %907

868:                                              ; preds = %865
  %869 = invoke noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics16OverallAlgorithmEv(ptr noundef nonnull align 8 dereferenceable(664) %867)
          to label %870 unwind label %907

870:                                              ; preds = %868
  %871 = invoke noundef double @_ZNK10SimTKIpopt9TimedTask9TotalTimeEv(ptr noundef nonnull align 8 dereferenceable(18) %869)
          to label %872 unwind label %907

872:                                              ; preds = %870
  store double %871, ptr %93, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 8, ptr %94) #11
  %873 = load ptr, ptr %18, align 8, !tbaa !5
  %874 = invoke noundef double @_ZNK10SimTKIpopt12OrigIpoptNLP30TotalFunctionEvaluationCPUTimeEv(ptr noundef nonnull align 8 dereferenceable(648) %873)
          to label %875 unwind label %911

875:                                              ; preds = %872
  store double %874, ptr %94, align 8, !tbaa !23
  %876 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %877 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %876)
          to label %878 unwind label %911

878:                                              ; preds = %875
  %879 = load double, ptr %93, align 8, !tbaa !23
  %880 = load double, ptr %94, align 8, !tbaa !23
  %881 = fsub double %879, %880
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %877, i32 noundef 3, i32 noundef 1, ptr noundef @.str.168, double noundef %881)
          to label %882 unwind label %911

882:                                              ; preds = %878
  %883 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %884 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %883)
          to label %885 unwind label %911

885:                                              ; preds = %882
  %886 = load double, ptr %94, align 8, !tbaa !23
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %884, i32 noundef 3, i32 noundef 1, ptr noundef @.str.169, double noundef %886)
          to label %887 unwind label %911

887:                                              ; preds = %885
  %888 = load i8, ptr %22, align 1, !tbaa !15, !range !17, !noundef !18
  %889 = trunc i8 %888 to i1
  br i1 %889, label %890, label %915

890:                                              ; preds = %887
  %891 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %892 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %891)
          to label %893 unwind label %911

893:                                              ; preds = %890
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %892, i32 noundef 3, i32 noundef 13, ptr noundef @.str.170)
          to label %894 unwind label %911

894:                                              ; preds = %893
  %895 = load ptr, ptr %17, align 8, !tbaa !5
  %896 = invoke noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %895)
          to label %897 unwind label %911

897:                                              ; preds = %894
  %898 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %899 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %898)
          to label %900 unwind label %911

900:                                              ; preds = %897
  invoke void @_ZNK10SimTKIpopt16TimingStatistics24PrintAllTimingStatisticsERNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryE(ptr noundef nonnull align 8 dereferenceable(664) %896, ptr noundef nonnull align 8 dereferenceable(40) %899, i32 noundef 3, i32 noundef 13)
          to label %901 unwind label %911

901:                                              ; preds = %900
  %902 = load ptr, ptr %18, align 8, !tbaa !5
  %903 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %904 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %903)
          to label %905 unwind label %911

905:                                              ; preds = %901
  invoke void @_ZNK10SimTKIpopt12OrigIpoptNLP21PrintTimingStatisticsERNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryE(ptr noundef nonnull align 8 dereferenceable(648) %902, ptr noundef nonnull align 8 dereferenceable(40) %904, i32 noundef 3, i32 noundef 13)
          to label %906 unwind label %911

906:                                              ; preds = %905
  br label %915

907:                                              ; preds = %870, %868, %865
  %908 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %909 = extractvalue { ptr, i32 } %908, 0
  store ptr %909, ptr %7, align 8
  %910 = extractvalue { ptr, i32 } %908, 1
  store i32 %910, ptr %8, align 4
  br label %1199

911:                                              ; preds = %1065, %998, %995, %993, %990, %985, %982, %977, %974, %969, %966, %961, %958, %953, %950, %945, %942, %937, %934, %929, %926, %921, %918, %905, %901, %900, %897, %894, %893, %890, %885, %882, %878, %875, %872
  %912 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %913 = extractvalue { ptr, i32 } %912, 0
  store ptr %913, ptr %7, align 8
  %914 = extractvalue { ptr, i32 } %912, 1
  store i32 %914, ptr %8, align 4
  br label %1198

915:                                              ; preds = %906, %887
  %916 = load i32, ptr %34, align 4, !tbaa !19
  %917 = icmp eq i32 %916, 0
  br i1 %917, label %918, label %923

918:                                              ; preds = %915
  store i32 0, ptr %15, align 4, !tbaa !13
  %919 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %920 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %919)
          to label %921 unwind label %911

921:                                              ; preds = %918
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %920, i32 noundef 3, i32 noundef 2, ptr noundef @.str.171)
          to label %922 unwind label %911

922:                                              ; preds = %921
  br label %1010

923:                                              ; preds = %915
  %924 = load i32, ptr %34, align 4, !tbaa !19
  %925 = icmp eq i32 %924, 1
  br i1 %925, label %926, label %931

926:                                              ; preds = %923
  store i32 -1, ptr %15, align 4, !tbaa !13
  %927 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %928 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %927)
          to label %929 unwind label %911

929:                                              ; preds = %926
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %928, i32 noundef 3, i32 noundef 2, ptr noundef @.str.172)
          to label %930 unwind label %911

930:                                              ; preds = %929
  br label %1009

931:                                              ; preds = %923
  %932 = load i32, ptr %34, align 4, !tbaa !19
  %933 = icmp eq i32 %932, 2
  br i1 %933, label %934, label %939

934:                                              ; preds = %931
  store i32 3, ptr %15, align 4, !tbaa !13
  %935 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %936 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %935)
          to label %937 unwind label %911

937:                                              ; preds = %934
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %936, i32 noundef 3, i32 noundef 2, ptr noundef @.str.173)
          to label %938 unwind label %911

938:                                              ; preds = %937
  br label %1008

939:                                              ; preds = %931
  %940 = load i32, ptr %34, align 4, !tbaa !19
  %941 = icmp eq i32 %940, 3
  br i1 %941, label %942, label %947

942:                                              ; preds = %939
  store i32 1, ptr %15, align 4, !tbaa !13
  %943 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %944 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %943)
          to label %945 unwind label %911

945:                                              ; preds = %942
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %944, i32 noundef 3, i32 noundef 2, ptr noundef @.str.174)
          to label %946 unwind label %911

946:                                              ; preds = %945
  br label %1007

947:                                              ; preds = %939
  %948 = load i32, ptr %34, align 4, !tbaa !19
  %949 = icmp eq i32 %948, 6
  br i1 %949, label %950, label %955

950:                                              ; preds = %947
  store i32 4, ptr %15, align 4, !tbaa !13
  %951 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %952 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %951)
          to label %953 unwind label %911

953:                                              ; preds = %950
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %952, i32 noundef 3, i32 noundef 2, ptr noundef @.str.175)
          to label %954 unwind label %911

954:                                              ; preds = %953
  br label %1006

955:                                              ; preds = %947
  %956 = load i32, ptr %34, align 4, !tbaa !19
  %957 = icmp eq i32 %956, 7
  br i1 %957, label %958, label %963

958:                                              ; preds = %955
  store i32 -2, ptr %15, align 4, !tbaa !13
  %959 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %960 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %959)
          to label %961 unwind label %911

961:                                              ; preds = %958
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %960, i32 noundef 3, i32 noundef 2, ptr noundef @.str.176)
          to label %962 unwind label %911

962:                                              ; preds = %961
  br label %1005

963:                                              ; preds = %955
  %964 = load i32, ptr %34, align 4, !tbaa !19
  %965 = icmp eq i32 %964, 8
  br i1 %965, label %966, label %971

966:                                              ; preds = %963
  store i32 -3, ptr %15, align 4, !tbaa !13
  %967 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %968 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %967)
          to label %969 unwind label %911

969:                                              ; preds = %966
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %968, i32 noundef 3, i32 noundef 2, ptr noundef @.str.177)
          to label %970 unwind label %911

970:                                              ; preds = %969
  br label %1004

971:                                              ; preds = %963
  %972 = load i32, ptr %34, align 4, !tbaa !19
  %973 = icmp eq i32 %972, 4
  br i1 %973, label %974, label %979

974:                                              ; preds = %971
  store i32 2, ptr %15, align 4, !tbaa !13
  %975 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %976 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %975)
          to label %977 unwind label %911

977:                                              ; preds = %974
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %976, i32 noundef 3, i32 noundef 2, ptr noundef @.str.178)
          to label %978 unwind label %911

978:                                              ; preds = %977
  br label %1003

979:                                              ; preds = %971
  %980 = load i32, ptr %34, align 4, !tbaa !19
  %981 = icmp eq i32 %980, 5
  br i1 %981, label %982, label %987

982:                                              ; preds = %979
  store i32 5, ptr %15, align 4, !tbaa !13
  %983 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %984 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %983)
          to label %985 unwind label %911

985:                                              ; preds = %982
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %984, i32 noundef 3, i32 noundef 2, ptr noundef @.str.179)
          to label %986 unwind label %911

986:                                              ; preds = %985
  br label %1002

987:                                              ; preds = %979
  %988 = load i32, ptr %34, align 4, !tbaa !19
  %989 = icmp eq i32 %988, 9
  br i1 %989, label %990, label %995

990:                                              ; preds = %987
  store i32 -13, ptr %15, align 4, !tbaa !13
  %991 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %992 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %991)
          to label %993 unwind label %911

993:                                              ; preds = %990
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %992, i32 noundef 3, i32 noundef 2, ptr noundef @.str.180)
          to label %994 unwind label %911

994:                                              ; preds = %993
  br label %1001

995:                                              ; preds = %987
  store i32 -199, ptr %15, align 4, !tbaa !13
  %996 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %997 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %996)
          to label %998 unwind label %911

998:                                              ; preds = %995
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %997, i32 noundef 3, i32 noundef 2, ptr noundef @.str.181)
          to label %999 unwind label %911

999:                                              ; preds = %998
  %1000 = load i32, ptr %15, align 4, !tbaa !13
  store i32 %1000, ptr %2, align 4
  store i32 1, ptr %95, align 4
  br label %1195

1001:                                             ; preds = %994
  br label %1002

1002:                                             ; preds = %1001, %986
  br label %1003

1003:                                             ; preds = %1002, %978
  br label %1004

1004:                                             ; preds = %1003, %970
  br label %1005

1005:                                             ; preds = %1004, %962
  br label %1006

1006:                                             ; preds = %1005, %954
  br label %1007

1007:                                             ; preds = %1006, %946
  br label %1008

1008:                                             ; preds = %1007, %938
  br label %1009

1009:                                             ; preds = %1008, %930
  br label %1010

1010:                                             ; preds = %1009, %922
  %1011 = load ptr, ptr %18, align 8, !tbaa !5
  %1012 = load i32, ptr %34, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %96) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %97) #11
  %1013 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8 %97, ptr noundef nonnull align 8 dereferenceable(864) %1013)
          to label %1014 unwind label %1078

1014:                                             ; preds = %1010
  %1015 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %97)
          to label %1016 unwind label %1082

1016:                                             ; preds = %1014
  invoke void @_ZNK10SimTKIpopt14IteratesVector1xEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %96, ptr noundef nonnull align 8 dereferenceable(280) %1015)
          to label %1017 unwind label %1082

1017:                                             ; preds = %1016
  %1018 = invoke noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %96)
          to label %1019 unwind label %1086

1019:                                             ; preds = %1017
  call void @llvm.lifetime.start.p0(i64 8, ptr %98) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %99) #11
  %1020 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8 %99, ptr noundef nonnull align 8 dereferenceable(864) %1020)
          to label %1021 unwind label %1090

1021:                                             ; preds = %1019
  %1022 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %99)
          to label %1023 unwind label %1094

1023:                                             ; preds = %1021
  invoke void @_ZNK10SimTKIpopt14IteratesVector3z_LEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %98, ptr noundef nonnull align 8 dereferenceable(280) %1022)
          to label %1024 unwind label %1094

1024:                                             ; preds = %1023
  %1025 = invoke noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %98)
          to label %1026 unwind label %1098

1026:                                             ; preds = %1024
  call void @llvm.lifetime.start.p0(i64 8, ptr %100) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %101) #11
  %1027 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8 %101, ptr noundef nonnull align 8 dereferenceable(864) %1027)
          to label %1028 unwind label %1102

1028:                                             ; preds = %1026
  %1029 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %101)
          to label %1030 unwind label %1106

1030:                                             ; preds = %1028
  invoke void @_ZNK10SimTKIpopt14IteratesVector3z_UEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %100, ptr noundef nonnull align 8 dereferenceable(280) %1029)
          to label %1031 unwind label %1106

1031:                                             ; preds = %1030
  %1032 = invoke noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %100)
          to label %1033 unwind label %1110

1033:                                             ; preds = %1031
  call void @llvm.lifetime.start.p0(i64 8, ptr %102) #11
  %1034 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void @_ZN10SimTKIpopt25IpoptCalculatedQuantities6curr_cEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %102, ptr noundef nonnull align 8 dereferenceable(2025) %1034)
          to label %1035 unwind label %1114

1035:                                             ; preds = %1033
  %1036 = invoke noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %102)
          to label %1037 unwind label %1118

1037:                                             ; preds = %1035
  call void @llvm.lifetime.start.p0(i64 8, ptr %103) #11
  %1038 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void @_ZN10SimTKIpopt25IpoptCalculatedQuantities6curr_dEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %103, ptr noundef nonnull align 8 dereferenceable(2025) %1038)
          to label %1039 unwind label %1122

1039:                                             ; preds = %1037
  %1040 = invoke noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %103)
          to label %1041 unwind label %1126

1041:                                             ; preds = %1039
  call void @llvm.lifetime.start.p0(i64 8, ptr %104) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %105) #11
  %1042 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8 %105, ptr noundef nonnull align 8 dereferenceable(864) %1042)
          to label %1043 unwind label %1130

1043:                                             ; preds = %1041
  %1044 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %105)
          to label %1045 unwind label %1134

1045:                                             ; preds = %1043
  invoke void @_ZNK10SimTKIpopt14IteratesVector3y_cEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %104, ptr noundef nonnull align 8 dereferenceable(280) %1044)
          to label %1046 unwind label %1134

1046:                                             ; preds = %1045
  %1047 = invoke noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
          to label %1048 unwind label %1138

1048:                                             ; preds = %1046
  call void @llvm.lifetime.start.p0(i64 8, ptr %106) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %107) #11
  %1049 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8 %107, ptr noundef nonnull align 8 dereferenceable(864) %1049)
          to label %1050 unwind label %1142

1050:                                             ; preds = %1048
  %1051 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %107)
          to label %1052 unwind label %1146

1052:                                             ; preds = %1050
  invoke void @_ZNK10SimTKIpopt14IteratesVector3y_dEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %106, ptr noundef nonnull align 8 dereferenceable(280) %1051)
          to label %1053 unwind label %1146

1053:                                             ; preds = %1052
  %1054 = invoke noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %106)
          to label %1055 unwind label %1150

1055:                                             ; preds = %1053
  %1056 = load ptr, ptr %19, align 8, !tbaa !5
  %1057 = invoke noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities6curr_fEv(ptr noundef nonnull align 8 dereferenceable(2025) %1056)
          to label %1058 unwind label %1150

1058:                                             ; preds = %1055
  %1059 = load ptr, ptr %1011, align 8, !tbaa !21
  %1060 = getelementptr inbounds ptr, ptr %1059, i64 35
  %1061 = load ptr, ptr %1060, align 8
  invoke void %1061(ptr noundef nonnull align 8 dereferenceable(648) %1011, i32 noundef %1012, ptr noundef nonnull align 8 dereferenceable(205) %1018, ptr noundef nonnull align 8 dereferenceable(205) %1025, ptr noundef nonnull align 8 dereferenceable(205) %1032, ptr noundef nonnull align 8 dereferenceable(205) %1036, ptr noundef nonnull align 8 dereferenceable(205) %1040, ptr noundef nonnull align 8 dereferenceable(205) %1047, ptr noundef nonnull align 8 dereferenceable(205) %1054, double noundef %1057)
          to label %1062 unwind label %1150

1062:                                             ; preds = %1058
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %106) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %107) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %107) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %106) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %104) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %105) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %105) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %104) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %103) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %103) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %102) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %102) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %100) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %101) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %101) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %100) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %98) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %99) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %99) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %98) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %96) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %97) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %97) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %96) #11
  %1063 = load i32, ptr %34, align 4, !tbaa !19
  %1064 = icmp ne i32 %1063, 9
  br i1 %1064, label %1065, label %1194

1065:                                             ; preds = %1062
  %1066 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 128) #13
          to label %1067 unwind label %911

1067:                                             ; preds = %1065
  store i1 true, ptr %111, align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %108) #11
  %1068 = load ptr, ptr %18, align 8, !tbaa !5
  invoke void @_ZN10SimTKIpopt8SmartPtrINS_8IpoptNLPEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %108, ptr noundef %1068)
          to label %1069 unwind label %1172

1069:                                             ; preds = %1067
  call void @llvm.lifetime.start.p0(i64 8, ptr %109) #11
  %1070 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZN10SimTKIpopt8SmartPtrINS_9IpoptDataEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %109, ptr noundef %1070)
          to label %1071 unwind label %1176

1071:                                             ; preds = %1069
  call void @llvm.lifetime.start.p0(i64 8, ptr %110) #11
  %1072 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void @_ZN10SimTKIpopt8SmartPtrINS_25IpoptCalculatedQuantitiesEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %110, ptr noundef %1072)
          to label %1073 unwind label %1180

1073:                                             ; preds = %1071
  invoke void @_ZN10SimTKIpopt15SolveStatisticsC1ERKNS_8SmartPtrINS_8IpoptNLPEEERKNS1_INS_9IpoptDataEEERKNS1_INS_25IpoptCalculatedQuantitiesEEE(ptr noundef nonnull align 8 dereferenceable(128) %1066, ptr noundef nonnull align 8 dereferenceable(8) %108, ptr noundef nonnull align 8 dereferenceable(8) %109, ptr noundef nonnull align 8 dereferenceable(8) %110)
          to label %1074 unwind label %1184

1074:                                             ; preds = %1073
  store i1 false, ptr %111, align 1
  %1075 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 5
  %1076 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN10SimTKIpopt8SmartPtrINS_15SolveStatisticsEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %1075, ptr noundef %1066)
          to label %1077 unwind label %1184

1077:                                             ; preds = %1074
  call void @_ZN10SimTKIpopt8SmartPtrINS_25IpoptCalculatedQuantitiesEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %110) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %110) #11
  call void @_ZN10SimTKIpopt8SmartPtrINS_9IpoptDataEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %109) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %109) #11
  call void @_ZN10SimTKIpopt8SmartPtrINS_8IpoptNLPEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %108) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %108) #11
  br label %1194

1078:                                             ; preds = %1010
  %1079 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %1080 = extractvalue { ptr, i32 } %1079, 0
  store ptr %1080, ptr %7, align 8
  %1081 = extractvalue { ptr, i32 } %1079, 1
  store i32 %1081, ptr %8, align 4
  br label %1171

1082:                                             ; preds = %1016, %1014
  %1083 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %1084 = extractvalue { ptr, i32 } %1083, 0
  store ptr %1084, ptr %7, align 8
  %1085 = extractvalue { ptr, i32 } %1083, 1
  store i32 %1085, ptr %8, align 4
  br label %1170

1086:                                             ; preds = %1017
  %1087 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %1088 = extractvalue { ptr, i32 } %1087, 0
  store ptr %1088, ptr %7, align 8
  %1089 = extractvalue { ptr, i32 } %1087, 1
  store i32 %1089, ptr %8, align 4
  br label %1169

1090:                                             ; preds = %1019
  %1091 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %1092 = extractvalue { ptr, i32 } %1091, 0
  store ptr %1092, ptr %7, align 8
  %1093 = extractvalue { ptr, i32 } %1091, 1
  store i32 %1093, ptr %8, align 4
  br label %1168

1094:                                             ; preds = %1023, %1021
  %1095 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %1096 = extractvalue { ptr, i32 } %1095, 0
  store ptr %1096, ptr %7, align 8
  %1097 = extractvalue { ptr, i32 } %1095, 1
  store i32 %1097, ptr %8, align 4
  br label %1167

1098:                                             ; preds = %1024
  %1099 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %1100 = extractvalue { ptr, i32 } %1099, 0
  store ptr %1100, ptr %7, align 8
  %1101 = extractvalue { ptr, i32 } %1099, 1
  store i32 %1101, ptr %8, align 4
  br label %1166

1102:                                             ; preds = %1026
  %1103 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %1104 = extractvalue { ptr, i32 } %1103, 0
  store ptr %1104, ptr %7, align 8
  %1105 = extractvalue { ptr, i32 } %1103, 1
  store i32 %1105, ptr %8, align 4
  br label %1165

1106:                                             ; preds = %1030, %1028
  %1107 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %1108 = extractvalue { ptr, i32 } %1107, 0
  store ptr %1108, ptr %7, align 8
  %1109 = extractvalue { ptr, i32 } %1107, 1
  store i32 %1109, ptr %8, align 4
  br label %1164

1110:                                             ; preds = %1031
  %1111 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %1112 = extractvalue { ptr, i32 } %1111, 0
  store ptr %1112, ptr %7, align 8
  %1113 = extractvalue { ptr, i32 } %1111, 1
  store i32 %1113, ptr %8, align 4
  br label %1163

1114:                                             ; preds = %1033
  %1115 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %1116 = extractvalue { ptr, i32 } %1115, 0
  store ptr %1116, ptr %7, align 8
  %1117 = extractvalue { ptr, i32 } %1115, 1
  store i32 %1117, ptr %8, align 4
  br label %1162

1118:                                             ; preds = %1035
  %1119 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %1120 = extractvalue { ptr, i32 } %1119, 0
  store ptr %1120, ptr %7, align 8
  %1121 = extractvalue { ptr, i32 } %1119, 1
  store i32 %1121, ptr %8, align 4
  br label %1161

1122:                                             ; preds = %1037
  %1123 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %1124 = extractvalue { ptr, i32 } %1123, 0
  store ptr %1124, ptr %7, align 8
  %1125 = extractvalue { ptr, i32 } %1123, 1
  store i32 %1125, ptr %8, align 4
  br label %1160

1126:                                             ; preds = %1039
  %1127 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %1128 = extractvalue { ptr, i32 } %1127, 0
  store ptr %1128, ptr %7, align 8
  %1129 = extractvalue { ptr, i32 } %1127, 1
  store i32 %1129, ptr %8, align 4
  br label %1159

1130:                                             ; preds = %1041
  %1131 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %1132 = extractvalue { ptr, i32 } %1131, 0
  store ptr %1132, ptr %7, align 8
  %1133 = extractvalue { ptr, i32 } %1131, 1
  store i32 %1133, ptr %8, align 4
  br label %1158

1134:                                             ; preds = %1045, %1043
  %1135 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %1136 = extractvalue { ptr, i32 } %1135, 0
  store ptr %1136, ptr %7, align 8
  %1137 = extractvalue { ptr, i32 } %1135, 1
  store i32 %1137, ptr %8, align 4
  br label %1157

1138:                                             ; preds = %1046
  %1139 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %1140 = extractvalue { ptr, i32 } %1139, 0
  store ptr %1140, ptr %7, align 8
  %1141 = extractvalue { ptr, i32 } %1139, 1
  store i32 %1141, ptr %8, align 4
  br label %1156

1142:                                             ; preds = %1048
  %1143 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %1144 = extractvalue { ptr, i32 } %1143, 0
  store ptr %1144, ptr %7, align 8
  %1145 = extractvalue { ptr, i32 } %1143, 1
  store i32 %1145, ptr %8, align 4
  br label %1155

1146:                                             ; preds = %1052, %1050
  %1147 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %1148 = extractvalue { ptr, i32 } %1147, 0
  store ptr %1148, ptr %7, align 8
  %1149 = extractvalue { ptr, i32 } %1147, 1
  store i32 %1149, ptr %8, align 4
  br label %1154

1150:                                             ; preds = %1058, %1055, %1053
  %1151 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %1152 = extractvalue { ptr, i32 } %1151, 0
  store ptr %1152, ptr %7, align 8
  %1153 = extractvalue { ptr, i32 } %1151, 1
  store i32 %1153, ptr %8, align 4
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %106) #11
  br label %1154

1154:                                             ; preds = %1150, %1146
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %107) #11
  br label %1155

1155:                                             ; preds = %1154, %1142
  call void @llvm.lifetime.end.p0(i64 8, ptr %107) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %106) #11
  br label %1156

1156:                                             ; preds = %1155, %1138
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %104) #11
  br label %1157

1157:                                             ; preds = %1156, %1134
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %105) #11
  br label %1158

1158:                                             ; preds = %1157, %1130
  call void @llvm.lifetime.end.p0(i64 8, ptr %105) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %104) #11
  br label %1159

1159:                                             ; preds = %1158, %1126
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %103) #11
  br label %1160

1160:                                             ; preds = %1159, %1122
  call void @llvm.lifetime.end.p0(i64 8, ptr %103) #11
  br label %1161

1161:                                             ; preds = %1160, %1118
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %102) #11
  br label %1162

1162:                                             ; preds = %1161, %1114
  call void @llvm.lifetime.end.p0(i64 8, ptr %102) #11
  br label %1163

1163:                                             ; preds = %1162, %1110
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %100) #11
  br label %1164

1164:                                             ; preds = %1163, %1106
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %101) #11
  br label %1165

1165:                                             ; preds = %1164, %1102
  call void @llvm.lifetime.end.p0(i64 8, ptr %101) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %100) #11
  br label %1166

1166:                                             ; preds = %1165, %1098
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %98) #11
  br label %1167

1167:                                             ; preds = %1166, %1094
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %99) #11
  br label %1168

1168:                                             ; preds = %1167, %1090
  call void @llvm.lifetime.end.p0(i64 8, ptr %99) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %98) #11
  br label %1169

1169:                                             ; preds = %1168, %1086
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %96) #11
  br label %1170

1170:                                             ; preds = %1169, %1082
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %97) #11
  br label %1171

1171:                                             ; preds = %1170, %1078
  call void @llvm.lifetime.end.p0(i64 8, ptr %97) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %96) #11
  br label %1198

1172:                                             ; preds = %1067
  %1173 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %1174 = extractvalue { ptr, i32 } %1173, 0
  store ptr %1174, ptr %7, align 8
  %1175 = extractvalue { ptr, i32 } %1173, 1
  store i32 %1175, ptr %8, align 4
  br label %1190

1176:                                             ; preds = %1069
  %1177 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %1178 = extractvalue { ptr, i32 } %1177, 0
  store ptr %1178, ptr %7, align 8
  %1179 = extractvalue { ptr, i32 } %1177, 1
  store i32 %1179, ptr %8, align 4
  br label %1189

1180:                                             ; preds = %1071
  %1181 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %1182 = extractvalue { ptr, i32 } %1181, 0
  store ptr %1182, ptr %7, align 8
  %1183 = extractvalue { ptr, i32 } %1181, 1
  store i32 %1183, ptr %8, align 4
  br label %1188

1184:                                             ; preds = %1074, %1073
  %1185 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  %1186 = extractvalue { ptr, i32 } %1185, 0
  store ptr %1186, ptr %7, align 8
  %1187 = extractvalue { ptr, i32 } %1185, 1
  store i32 %1187, ptr %8, align 4
  call void @_ZN10SimTKIpopt8SmartPtrINS_25IpoptCalculatedQuantitiesEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %110) #11
  br label %1188

1188:                                             ; preds = %1184, %1180
  call void @llvm.lifetime.end.p0(i64 8, ptr %110) #11
  call void @_ZN10SimTKIpopt8SmartPtrINS_9IpoptDataEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %109) #11
  br label %1189

1189:                                             ; preds = %1188, %1176
  call void @llvm.lifetime.end.p0(i64 8, ptr %109) #11
  call void @_ZN10SimTKIpopt8SmartPtrINS_8IpoptNLPEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %108) #11
  br label %1190

1190:                                             ; preds = %1189, %1172
  call void @llvm.lifetime.end.p0(i64 8, ptr %108) #11
  %1191 = load i1, ptr %111, align 1
  br i1 %1191, label %1192, label %1193

1192:                                             ; preds = %1190
  call void @_ZdlPvm(ptr noundef %1066, i64 noundef 128) #14
  br label %1193

1193:                                             ; preds = %1192, %1190
  br label %1198

1194:                                             ; preds = %1077, %1062
  store i32 0, ptr %95, align 4
  br label %1195

1195:                                             ; preds = %1194, %999
  call void @llvm.lifetime.end.p0(i64 8, ptr %94) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %93) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #11
  %1196 = load i32, ptr %95, align 4
  switch i32 %1196, label %1318 [
    i32 0, label %1197
  ]

1197:                                             ; preds = %1195
  br label %1224

1198:                                             ; preds = %1193, %1171, %911
  call void @llvm.lifetime.end.p0(i64 8, ptr %94) #11
  br label %1199

1199:                                             ; preds = %1198, %907
  call void @llvm.lifetime.end.p0(i64 8, ptr %93) #11
  br label %1200

1200:                                             ; preds = %1199, %794, %770, %746, %717, %688, %659, %630, %601, %572, %363, %333
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #11
  br label %1201

1201:                                             ; preds = %1200, %313, %293, %292, %275
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #11
  br label %1202

1202:                                             ; preds = %1201, %274, %257
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #11
  br label %1203

1203:                                             ; preds = %1202, %256, %244
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #11
  br label %1204

1204:                                             ; preds = %1203, %195
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #11
  br label %1205

1205:                                             ; preds = %1204, %191
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #11
  br label %1206

1206:                                             ; preds = %1205, %187
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #11
  br label %1207

1207:                                             ; preds = %1206
  %1208 = load i32, ptr %8, align 4
  %1209 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE) #11
  %1210 = icmp eq i32 %1208, %1209
  br i1 %1210, label %1211, label %1230

1211:                                             ; preds = %1207
  call void @llvm.lifetime.start.p0(i64 8, ptr %115) #11
  %1212 = load ptr, ptr %7, align 8
  %1213 = call ptr @__cxa_begin_catch(ptr %1212) #11
  store ptr %1213, ptr %115, align 8
  %1214 = load ptr, ptr %115, align 8, !tbaa !5
  %1215 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %1216 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %1215)
          to label %1217 unwind label %1304

1217:                                             ; preds = %1211
  invoke void @_ZNK10SimTKIpopt14IpoptException15ReportExceptionERKNS_10JournalistENS_13EJournalLevelE(ptr noundef nonnull align 8 dereferenceable(112) %1214, ptr noundef nonnull align 8 dereferenceable(40) %1216, i32 noundef 6)
          to label %1218 unwind label %1304

1218:                                             ; preds = %1217
  %1219 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %1220 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1219)
          to label %1221 unwind label %1304

1221:                                             ; preds = %1218
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %1220, i32 noundef 3, i32 noundef 2, ptr noundef @.str.182)
          to label %1222 unwind label %1304

1222:                                             ; preds = %1221
  store i32 -10, ptr %15, align 4, !tbaa !13
  invoke void @__cxa_end_catch()
          to label %1223 unwind label %1308

1223:                                             ; preds = %1222
  call void @llvm.lifetime.end.p0(i64 8, ptr %115) #11
  br label %1224

1224:                                             ; preds = %1273, %1261, %1245, %1223, %1197
  %1225 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %1226 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1225)
          to label %1227 unwind label %1314

1227:                                             ; preds = %1224
  invoke void @_ZNK10SimTKIpopt10Journalist11FlushBufferEv(ptr noundef nonnull align 8 dereferenceable(40) %1226)
          to label %1228 unwind label %1314

1228:                                             ; preds = %1227
  %1229 = load i32, ptr %15, align 4, !tbaa !13
  store i32 %1229, ptr %2, align 4
  store i32 1, ptr %95, align 4
  br label %1318

1230:                                             ; preds = %1207
  %1231 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE) #11
  %1232 = icmp eq i32 %1208, %1231
  br i1 %1232, label %1233, label %1246

1233:                                             ; preds = %1230
  call void @llvm.lifetime.start.p0(i64 8, ptr %114) #11
  %1234 = load ptr, ptr %7, align 8
  %1235 = call ptr @__cxa_begin_catch(ptr %1234) #11
  store ptr %1235, ptr %114, align 8
  %1236 = load ptr, ptr %114, align 8, !tbaa !5
  %1237 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %1238 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %1237)
          to label %1239 unwind label %1294

1239:                                             ; preds = %1233
  invoke void @_ZNK10SimTKIpopt14IpoptException15ReportExceptionERKNS_10JournalistENS_13EJournalLevelE(ptr noundef nonnull align 8 dereferenceable(112) %1236, ptr noundef nonnull align 8 dereferenceable(40) %1238, i32 noundef 6)
          to label %1240 unwind label %1294

1240:                                             ; preds = %1239
  %1241 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %1242 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1241)
          to label %1243 unwind label %1294

1243:                                             ; preds = %1240
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %1242, i32 noundef 3, i32 noundef 2, ptr noundef @.str.136)
          to label %1244 unwind label %1294

1244:                                             ; preds = %1243
  store i32 -12, ptr %15, align 4, !tbaa !13
  invoke void @__cxa_end_catch()
          to label %1245 unwind label %1298

1245:                                             ; preds = %1244
  call void @llvm.lifetime.end.p0(i64 8, ptr %114) #11
  br label %1224

1246:                                             ; preds = %1230
  %1247 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTIN10SimTKIpopt14IpoptExceptionE) #11
  %1248 = icmp eq i32 %1208, %1247
  br i1 %1248, label %1249, label %1262

1249:                                             ; preds = %1246
  call void @llvm.lifetime.start.p0(i64 8, ptr %113) #11
  %1250 = load ptr, ptr %7, align 8
  %1251 = call ptr @__cxa_begin_catch(ptr %1250) #11
  store ptr %1251, ptr %113, align 8
  %1252 = load ptr, ptr %113, align 8, !tbaa !5
  %1253 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %1254 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %1253)
          to label %1255 unwind label %1284

1255:                                             ; preds = %1249
  invoke void @_ZNK10SimTKIpopt14IpoptException15ReportExceptionERKNS_10JournalistENS_13EJournalLevelE(ptr noundef nonnull align 8 dereferenceable(112) %1252, ptr noundef nonnull align 8 dereferenceable(40) %1254, i32 noundef 1)
          to label %1256 unwind label %1284

1256:                                             ; preds = %1255
  %1257 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %1258 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1257)
          to label %1259 unwind label %1284

1259:                                             ; preds = %1256
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %1258, i32 noundef 3, i32 noundef 2, ptr noundef @.str.135)
          to label %1260 unwind label %1284

1260:                                             ; preds = %1259
  store i32 -100, ptr %15, align 4, !tbaa !13
  invoke void @__cxa_end_catch()
          to label %1261 unwind label %1288

1261:                                             ; preds = %1260
  call void @llvm.lifetime.end.p0(i64 8, ptr %113) #11
  br label %1224

1262:                                             ; preds = %1246
  %1263 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9bad_alloc) #11
  %1264 = icmp eq i32 %1208, %1263
  br i1 %1264, label %1265, label %1320

1265:                                             ; preds = %1262
  call void @llvm.lifetime.start.p0(i64 8, ptr %112) #11
  %1266 = load ptr, ptr %7, align 8
  %1267 = call ptr @__cxa_get_exception_ptr(ptr %1266) #11
  call void @_ZNSt9bad_allocC2ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %112, ptr noundef nonnull align 8 dereferenceable(8) %1267) #11
  %1268 = call ptr @__cxa_begin_catch(ptr %1266) #11
  store i32 -102, ptr %15, align 4, !tbaa !13
  %1269 = getelementptr inbounds %"class.SimTKIpopt::IpoptApplication", ptr %116, i32 0, i32 2
  %1270 = invoke noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %1269)
          to label %1271 unwind label %1274

1271:                                             ; preds = %1265
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %1270, i32 noundef 3, i32 noundef 2, ptr noundef @.str.7)
          to label %1272 unwind label %1274

1272:                                             ; preds = %1271
  call void @_ZNSt9bad_allocD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %112) #11
  invoke void @__cxa_end_catch()
          to label %1273 unwind label %1278

1273:                                             ; preds = %1272
  call void @llvm.lifetime.end.p0(i64 8, ptr %112) #11
  br label %1224

1274:                                             ; preds = %1271, %1265
  %1275 = landingpad { ptr, i32 }
          cleanup
  %1276 = extractvalue { ptr, i32 } %1275, 0
  store ptr %1276, ptr %7, align 8
  %1277 = extractvalue { ptr, i32 } %1275, 1
  store i32 %1277, ptr %8, align 4
  call void @_ZNSt9bad_allocD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %112) #11
  invoke void @__cxa_end_catch()
          to label %1282 unwind label %1329

1278:                                             ; preds = %1272
  %1279 = landingpad { ptr, i32 }
          cleanup
  %1280 = extractvalue { ptr, i32 } %1279, 0
  store ptr %1280, ptr %7, align 8
  %1281 = extractvalue { ptr, i32 } %1279, 1
  store i32 %1281, ptr %8, align 4
  br label %1283

1282:                                             ; preds = %1274
  br label %1283

1283:                                             ; preds = %1282, %1278
  call void @llvm.lifetime.end.p0(i64 8, ptr %112) #11
  br label %1320

1284:                                             ; preds = %1259, %1256, %1255, %1249
  %1285 = landingpad { ptr, i32 }
          cleanup
  %1286 = extractvalue { ptr, i32 } %1285, 0
  store ptr %1286, ptr %7, align 8
  %1287 = extractvalue { ptr, i32 } %1285, 1
  store i32 %1287, ptr %8, align 4
  invoke void @__cxa_end_catch()
          to label %1292 unwind label %1329

1288:                                             ; preds = %1260
  %1289 = landingpad { ptr, i32 }
          cleanup
  %1290 = extractvalue { ptr, i32 } %1289, 0
  store ptr %1290, ptr %7, align 8
  %1291 = extractvalue { ptr, i32 } %1289, 1
  store i32 %1291, ptr %8, align 4
  br label %1293

1292:                                             ; preds = %1284
  br label %1293

1293:                                             ; preds = %1292, %1288
  call void @llvm.lifetime.end.p0(i64 8, ptr %113) #11
  br label %1320

1294:                                             ; preds = %1243, %1240, %1239, %1233
  %1295 = landingpad { ptr, i32 }
          cleanup
  %1296 = extractvalue { ptr, i32 } %1295, 0
  store ptr %1296, ptr %7, align 8
  %1297 = extractvalue { ptr, i32 } %1295, 1
  store i32 %1297, ptr %8, align 4
  invoke void @__cxa_end_catch()
          to label %1302 unwind label %1329

1298:                                             ; preds = %1244
  %1299 = landingpad { ptr, i32 }
          cleanup
  %1300 = extractvalue { ptr, i32 } %1299, 0
  store ptr %1300, ptr %7, align 8
  %1301 = extractvalue { ptr, i32 } %1299, 1
  store i32 %1301, ptr %8, align 4
  br label %1303

1302:                                             ; preds = %1294
  br label %1303

1303:                                             ; preds = %1302, %1298
  call void @llvm.lifetime.end.p0(i64 8, ptr %114) #11
  br label %1320

1304:                                             ; preds = %1221, %1218, %1217, %1211
  %1305 = landingpad { ptr, i32 }
          cleanup
  %1306 = extractvalue { ptr, i32 } %1305, 0
  store ptr %1306, ptr %7, align 8
  %1307 = extractvalue { ptr, i32 } %1305, 1
  store i32 %1307, ptr %8, align 4
  invoke void @__cxa_end_catch()
          to label %1312 unwind label %1329

1308:                                             ; preds = %1222
  %1309 = landingpad { ptr, i32 }
          cleanup
  %1310 = extractvalue { ptr, i32 } %1309, 0
  store ptr %1310, ptr %7, align 8
  %1311 = extractvalue { ptr, i32 } %1309, 1
  store i32 %1311, ptr %8, align 4
  br label %1313

1312:                                             ; preds = %1304
  br label %1313

1313:                                             ; preds = %1312, %1308
  call void @llvm.lifetime.end.p0(i64 8, ptr %115) #11
  br label %1320

1314:                                             ; preds = %1227, %1224
  %1315 = landingpad { ptr, i32 }
          cleanup
  %1316 = extractvalue { ptr, i32 } %1315, 0
  store ptr %1316, ptr %7, align 8
  %1317 = extractvalue { ptr, i32 } %1315, 1
  store i32 %1317, ptr %8, align 4
  br label %1320

1318:                                             ; preds = %1228, %1195
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #11
  call void @_ZN10SimTKIpopt8SmartPtrINS_7JournalEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #11
  %1319 = load i32, ptr %2, align 4
  ret i32 %1319

1320:                                             ; preds = %1314, %1313, %1303, %1293, %1283, %1262
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #11
  br label %1321

1321:                                             ; preds = %1320, %161
  call void @_ZN10SimTKIpopt8SmartPtrINS_7JournalEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #11
  br label %1322

1322:                                             ; preds = %1321, %160
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #11
  br label %1323

1323:                                             ; preds = %1322, %151
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #11
  br label %1324

1324:                                             ; preds = %1323
  %1325 = load ptr, ptr %7, align 8
  %1326 = load i32, ptr %8, align 4
  %1327 = insertvalue { ptr, i32 } poison, ptr %1325, 0
  %1328 = insertvalue { ptr, i32 } %1327, i32 %1326, 1
  resume { ptr, i32 } %1328

1329:                                             ; preds = %1304, %1294, %1284, %1274
  %1330 = landingpad { ptr, i32 }
          catch ptr null
  %1331 = extractvalue { ptr, i32 } %1330, 0
  call void @__clang_call_terminate(ptr %1331) #15
  unreachable

1332:                                             ; preds = %332
  unreachable
}

declare void @_ZNK10SimTKIpopt10Journalist11FlushBufferEv(ptr noundef nonnull align 8 dereferenceable(40)) #6

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN10SimTKIpopt8SmartPtrINS_15SolveStatisticsEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_9IpoptDataEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) #4 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)) #4 align 2

declare void @_ZN10SimTKIpopt16TimingStatistics10ResetTimesEv(ptr noundef nonnull align 8 dereferenceable(664)) #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10SimTKIpopt23AlgorithmStrategyObject10InitializeERKNS_10JournalistERNS_8IpoptNLPERNS_9IpoptDataERNS_25IpoptCalculatedQuantitiesERKNS_11OptionsListERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(49), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(864), ptr noundef nonnull align 8 dereferenceable(2025), ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(32)) #5 align 2

declare void @_ZNK10SimTKIpopt11OptionsList16PrintUserOptionsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(32)) #6

declare noundef zeroext i1 @_ZNK10SimTKIpopt10Journalist13ProduceOutputENS_13EJournalLevelENS_16EJournalCategoryE(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef) #6

declare void @_ZNK10SimTKIpopt11OptionsList9PrintListERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(32)) #6

declare noundef i32 @_ZN10SimTKIpopt14IpoptAlgorithm8OptimizeEv(ptr noundef nonnull align 8 dereferenceable(152)) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt11TOO_FEW_DOFC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_i(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef, ptr noundef, i32 noundef) unnamed_addr #5 align 2

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

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

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities6curr_fEv(ptr noundef nonnull align 8 dereferenceable(2025)) #6

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities15unscaled_curr_fEv(ptr noundef nonnull align 8 dereferenceable(2025)) #6

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities23curr_dual_infeasibilityENS_9ENormTypeE(ptr noundef nonnull align 8 dereferenceable(2025), i32 noundef) #6

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities32unscaled_curr_dual_infeasibilityENS_9ENormTypeE(ptr noundef nonnull align 8 dereferenceable(2025), i32 noundef) #6

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities29curr_nlp_constraint_violationENS_9ENormTypeE(ptr noundef nonnull align 8 dereferenceable(2025), i32 noundef) #6

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities38unscaled_curr_nlp_constraint_violationENS_9ENormTypeE(ptr noundef nonnull align 8 dereferenceable(2025), i32 noundef) #6

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities20curr_complementarityEdNS_9ENormTypeE(ptr noundef nonnull align 8 dereferenceable(2025), double noundef, i32 noundef) #6

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities29unscaled_curr_complementarityEdNS_9ENormTypeE(ptr noundef nonnull align 8 dereferenceable(2025), double noundef, i32 noundef) #6

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities14curr_nlp_errorEv(ptr noundef nonnull align 8 dereferenceable(2025)) #6

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities23unscaled_curr_nlp_errorEv(ptr noundef nonnull align 8 dereferenceable(2025)) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind noalias writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8, ptr noundef nonnull align 8 dereferenceable(864)) #10 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK10SimTKIpopt14IteratesVector1xEv(ptr dead_on_unwind noalias writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8, ptr noundef nonnull align 8 dereferenceable(280)) #5 align 2

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

declare void @_ZNK10SimTKIpopt6Vector5PrintERKNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSD_(ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK10SimTKIpopt14IteratesVector3y_cEv(ptr dead_on_unwind noalias writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8, ptr noundef nonnull align 8 dereferenceable(280)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK10SimTKIpopt14IteratesVector3y_dEv(ptr dead_on_unwind noalias writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8, ptr noundef nonnull align 8 dereferenceable(280)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK10SimTKIpopt14IteratesVector3z_LEv(ptr dead_on_unwind noalias writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8, ptr noundef nonnull align 8 dereferenceable(280)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK10SimTKIpopt14IteratesVector3z_UEv(ptr dead_on_unwind noalias writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8, ptr noundef nonnull align 8 dereferenceable(280)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK10SimTKIpopt14IteratesVector3v_LEv(ptr dead_on_unwind noalias writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8, ptr noundef nonnull align 8 dereferenceable(280)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK10SimTKIpopt14IteratesVector3v_UEv(ptr dead_on_unwind noalias writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8, ptr noundef nonnull align 8 dereferenceable(280)) #5 align 2

declare void @_ZN10SimTKIpopt25IpoptCalculatedQuantities6curr_cEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8, ptr noundef nonnull align 8 dereferenceable(2025)) #6

declare void @_ZN10SimTKIpopt25IpoptCalculatedQuantities14curr_d_minus_sEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8, ptr noundef nonnull align 8 dereferenceable(2025)) #6

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

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

declare noundef double @_ZNK10SimTKIpopt12OrigIpoptNLP30TotalFunctionEvaluationCPUTimeEv(ptr noundef nonnull align 8 dereferenceable(648)) #6

declare void @_ZNK10SimTKIpopt16TimingStatistics24PrintAllTimingStatisticsERNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryE(ptr noundef nonnull align 8 dereferenceable(664), ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef) #6

declare void @_ZNK10SimTKIpopt12OrigIpoptNLP21PrintTimingStatisticsERNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryE(ptr noundef nonnull align 8 dereferenceable(648), ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef) #6

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

declare void @_ZN10SimTKIpopt25IpoptCalculatedQuantities6curr_dEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8, ptr noundef nonnull align 8 dereferenceable(2025)) #6

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

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

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

declare void @_ZN10SimTKIpopt15SolveStatisticsC1ERKNS_8SmartPtrINS_8IpoptNLPEEERKNS1_INS_9IpoptDataEEERKNS1_INS_25IpoptCalculatedQuantitiesEEE(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #6

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noinline noreturn nounwind uwtable "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 = { nobuiltin 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 #3 = { nobuiltin allocsize(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 = { 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 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 = { "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 = { nounwind memory(none) }
attributes #8 = { 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 #9 = { nounwind willreturn memory(read) }
attributes #10 = { 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 #11 = { nounwind }
attributes #12 = { noreturn }
attributes #13 = { builtin allocsize(0) }
attributes #14 = { builtin nounwind }
attributes #15 = { noreturn 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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTSN10SimTKIpopt13EJournalLevelE", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTSN10SimTKIpopt23ApplicationReturnStatusE", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!20, !20, i64 0}
!20 = !{!"_ZTSN10SimTKIpopt12SolverReturnE", !7, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"vtable pointer", !8, i64 0}
!23 = !{!24, !24, i64 0}
!24 = !{!"double", !7, i64 0}


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

%"class.SimTKIpopt::SmartPtr.26" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.23" = type { i8 }
%"class.SimTKIpopt::SmartPtr.46" = type { ptr }
%"class.SimTKIpopt::SmartPtr.48" = type { ptr }
%"class.SimTKIpopt::SmartPtr.11" = type { ptr }
%"class.SimTKIpopt::SmartPtr.12" = type { ptr }
%"class.SimTKIpopt::SmartPtr.13" = type { ptr }
%"class.std::bad_alloc" = type { %"class.std::exception" }
%"class.std::exception" = type { ptr }

@_ZTIN10SimTKIpopt14IpoptExceptionE = external dso_local constant { ptr, ptr }, align 8
@_ZTISt9bad_alloc = external constant ptr
@.str = external hidden unnamed_addr constant [8 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [1 x i8], align 1
@_ZTIN10SimTKIpopt14OPTION_INVALIDE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.11 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.135 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.136 = external hidden unnamed_addr constant [36 x i8], align 1
@_ZTIN10SimTKIpopt8IpoptNLPE = external dso_local constant { ptr, ptr, ptr }, align 8
@_ZTIN10SimTKIpopt12OrigIpoptNLPE = external constant ptr
@_ZTIN10SimTKIpopt11TOO_FEW_DOFE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.141 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.142 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.143 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.144 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.145 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.146 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.147 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.148 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.149 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.150 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.151 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.152 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.153 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.154 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.155 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.158 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.159 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.160 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.161 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.162 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.163 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.164 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.165 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.166 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.167 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.168 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.169 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.170 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.171 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.172 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.173 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.174 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.175 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.176 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.177 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.178 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.179 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.180 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.181 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.182 = external hidden unnamed_addr constant [48 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #1

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #3

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

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

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

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

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

declare void @_ZN10SimTKIpopt7Journal13SetPrintLevelENS_16EJournalCategoryENS_13EJournalLevelE(ptr noundef nonnull align 8 dereferenceable(108), i32 noundef, i32 noundef) local_unnamed_addr #6

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

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

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK10SimTKIpopt14IpoptException15ReportExceptionERKNS_10JournalistENS_13EJournalLevelE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) local_unnamed_addr #5 align 2

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

declare void @__cxa_free_exception(ptr) local_unnamed_addr

declare void @__cxa_end_catch() local_unnamed_addr

declare ptr @__cxa_get_exception_ptr(ptr) local_unnamed_addr

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

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

; Function Attrs: nounwind
declare void @_ZNSt9bad_allocD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #8

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

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

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

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

declare noundef zeroext i1 @_ZNK10SimTKIpopt11OptionsList15GetIntegerValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERiS8_(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #6

declare void @_ZN10SimTKIpopt10Journalist10GetJournalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.26") align 8, ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10SimTKIpopt7IsValidINS_7JournalEEEbRKNS_8SmartPtrIT_EE(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

declare void @_ZN10SimTKIpopt7Journal17SetAllPrintLevelsENS_13EJournalLevelE(ptr noundef nonnull align 8 dereferenceable(108), i32 noundef) local_unnamed_addr #6

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

declare noundef zeroext i1 @_ZNK10SimTKIpopt11OptionsList12GetBoolValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERbS8_(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare ptr @__dynamic_cast(ptr, ptr, ptr, i64) local_unnamed_addr #9

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 -199, 6) i32 @_ZN10SimTKIpopt16IpoptApplication13call_optimizeEv(ptr noundef nonnull align 8 dereferenceable(88) %0) local_unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::allocator.23", align 1
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::allocator.23", align 1
  %7 = alloca %"class.SimTKIpopt::SmartPtr.26", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::allocator.23", align 1
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::allocator.23", align 1
  %12 = alloca i8, align 1
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator.23", align 1
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator.23", align 1
  %17 = alloca i8, align 1
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::allocator.23", align 1
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.std::allocator.23", align 1
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::allocator.23", align 1
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::allocator.23", align 1
  %29 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %30 = alloca %"class.SimTKIpopt::SmartPtr.48", align 8
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca %"class.std::allocator.23", align 1
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca %"class.std::allocator.23", align 1
  %35 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %36 = alloca %"class.SimTKIpopt::SmartPtr.48", align 8
  %37 = alloca %"class.std::__cxx11::basic_string", align 8
  %38 = alloca %"class.std::allocator.23", align 1
  %39 = alloca %"class.std::__cxx11::basic_string", align 8
  %40 = alloca %"class.std::allocator.23", align 1
  %41 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %42 = alloca %"class.SimTKIpopt::SmartPtr.48", align 8
  %43 = alloca %"class.std::__cxx11::basic_string", align 8
  %44 = alloca %"class.std::allocator.23", align 1
  %45 = alloca %"class.std::__cxx11::basic_string", align 8
  %46 = alloca %"class.std::allocator.23", align 1
  %47 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %48 = alloca %"class.SimTKIpopt::SmartPtr.48", align 8
  %49 = alloca %"class.std::__cxx11::basic_string", align 8
  %50 = alloca %"class.std::allocator.23", align 1
  %51 = alloca %"class.std::__cxx11::basic_string", align 8
  %52 = alloca %"class.std::allocator.23", align 1
  %53 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %54 = alloca %"class.SimTKIpopt::SmartPtr.48", align 8
  %55 = alloca %"class.std::__cxx11::basic_string", align 8
  %56 = alloca %"class.std::allocator.23", align 1
  %57 = alloca %"class.std::__cxx11::basic_string", align 8
  %58 = alloca %"class.std::allocator.23", align 1
  %59 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %60 = alloca %"class.SimTKIpopt::SmartPtr.48", align 8
  %61 = alloca %"class.std::__cxx11::basic_string", align 8
  %62 = alloca %"class.std::allocator.23", align 1
  %63 = alloca %"class.std::__cxx11::basic_string", align 8
  %64 = alloca %"class.std::allocator.23", align 1
  %65 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %66 = alloca %"class.SimTKIpopt::SmartPtr.48", align 8
  %67 = alloca %"class.std::__cxx11::basic_string", align 8
  %68 = alloca %"class.std::allocator.23", align 1
  %69 = alloca %"class.std::__cxx11::basic_string", align 8
  %70 = alloca %"class.std::allocator.23", align 1
  %71 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %72 = alloca %"class.std::__cxx11::basic_string", align 8
  %73 = alloca %"class.std::allocator.23", align 1
  %74 = alloca %"class.std::__cxx11::basic_string", align 8
  %75 = alloca %"class.std::allocator.23", align 1
  %76 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %77 = alloca %"class.std::__cxx11::basic_string", align 8
  %78 = alloca %"class.std::allocator.23", align 1
  %79 = alloca %"class.std::__cxx11::basic_string", align 8
  %80 = alloca %"class.std::allocator.23", align 1
  %81 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %82 = alloca %"class.SimTKIpopt::SmartPtr.48", align 8
  %83 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %84 = alloca %"class.SimTKIpopt::SmartPtr.48", align 8
  %85 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %86 = alloca %"class.SimTKIpopt::SmartPtr.48", align 8
  %87 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %88 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %89 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %90 = alloca %"class.SimTKIpopt::SmartPtr.48", align 8
  %91 = alloca %"class.SimTKIpopt::SmartPtr.46", align 8
  %92 = alloca %"class.SimTKIpopt::SmartPtr.48", align 8
  %93 = alloca %"class.SimTKIpopt::SmartPtr.11", align 8
  %94 = alloca %"class.SimTKIpopt::SmartPtr.12", align 8
  %95 = alloca %"class.SimTKIpopt::SmartPtr.13", align 8
  %96 = alloca %"class.std::bad_alloc", align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #11
  %97 = getelementptr inbounds i8, ptr %0, i64 32
  %98 = tail call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_11OptionsListEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %97)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.11, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %99 unwind label %114

99:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %100 unwind label %116

100:                                              ; preds = %99
  %101 = invoke noundef zeroext i1 @_ZNK10SimTKIpopt11OptionsList15GetIntegerValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERiS8_(ptr noundef nonnull align 8 dereferenceable(112) %98, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %102 unwind label %118

102:                                              ; preds = %100
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #11
  %103 = load i32, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #11
  %104 = getelementptr inbounds i8, ptr %0, i64 16
  %105 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %106 unwind label %122

106:                                              ; preds = %102
  invoke void @_ZN10SimTKIpopt10Journalist10GetJournalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.26") align 8 %7, ptr noundef nonnull align 8 dereferenceable(40) %105, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %107 unwind label %124

107:                                              ; preds = %106
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #11
  %108 = invoke noundef zeroext i1 @_ZN10SimTKIpopt7IsValidINS_7JournalEEEbRKNS_8SmartPtrIT_EE(ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %109 unwind label %127

109:                                              ; preds = %107
  br i1 %108, label %110, label %131

110:                                              ; preds = %109
  %111 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_7JournalEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7)
  invoke void @_ZN10SimTKIpopt7Journal17SetAllPrintLevelsENS_13EJournalLevelE(ptr noundef nonnull align 8 dereferenceable(108) %111, i32 noundef %103)
          to label %112 unwind label %127

112:                                              ; preds = %110
  %113 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_7JournalEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7)
  invoke void @_ZN10SimTKIpopt7Journal13SetPrintLevelENS_16EJournalCategoryENS_13EJournalLevelE(ptr noundef nonnull align 8 dereferenceable(108) %113, i32 noundef 0, i32 noundef 0)
          to label %131 unwind label %127

114:                                              ; preds = %1
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %121

116:                                              ; preds = %99
  %117 = landingpad { ptr, i32 }
          cleanup
  br label %120

118:                                              ; preds = %100
  %119 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #11
  br label %120

120:                                              ; preds = %118, %116
  %.pn = phi { ptr, i32 } [ %119, %118 ], [ %117, %116 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #11
  br label %121

121:                                              ; preds = %120, %114
  %.pn.pn = phi { ptr, i32 } [ %.pn, %120 ], [ %115, %114 ]
  %.184 = extractvalue { ptr, i32 } %.pn.pn, 0
  %.186 = extractvalue { ptr, i32 } %.pn.pn, 1
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #11
  br label %706

122:                                              ; preds = %102
  %123 = landingpad { ptr, i32 }
          cleanup
  br label %126

124:                                              ; preds = %106
  %125 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #11
  br label %126

126:                                              ; preds = %124, %122
  %.pn173 = phi { ptr, i32 } [ %125, %124 ], [ %123, %122 ]
  %.2 = extractvalue { ptr, i32 } %.pn173, 0
  %.287 = extractvalue { ptr, i32 } %.pn173, 1
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #11
  br label %705

127:                                              ; preds = %134, %131, %112, %110, %107
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  %130 = extractvalue { ptr, i32 } %128, 1
  br label %704

131:                                              ; preds = %112, %109
  %132 = getelementptr inbounds i8, ptr %0, i64 40
  %133 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN10SimTKIpopt8SmartPtrINS_15SolveStatisticsEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %132, ptr noundef null)
          to label %134 unwind label %127

134:                                              ; preds = %131
  %135 = getelementptr inbounds i8, ptr %0, i64 64
  %136 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_9IpoptDataEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %135)
  %137 = call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %136)
  invoke void @_ZN10SimTKIpopt16TimingStatistics10ResetTimesEv(ptr noundef nonnull align 8 dereferenceable(664) %137)
          to label %138 unwind label %127

138:                                              ; preds = %134
  %139 = getelementptr inbounds i8, ptr %0, i64 48
  %140 = call noundef ptr @_ZN10SimTKIpopt9GetRawPtrINS_14IpoptAlgorithmEEEPT_RKNS_8SmartPtrIS2_EE(ptr noundef nonnull align 8 dereferenceable(8) %139)
  %141 = call noundef ptr @_ZN10SimTKIpopt9GetRawPtrINS_9IpoptDataEEEPT_RKNS_8SmartPtrIS2_EE(ptr noundef nonnull align 8 dereferenceable(8) %135)
  %142 = getelementptr inbounds i8, ptr %0, i64 56
  %143 = call noundef ptr @_ZN10SimTKIpopt9GetRawPtrINS_8IpoptNLPEEEPT_RKNS_8SmartPtrIS2_EE(ptr noundef nonnull align 8 dereferenceable(8) %142)
  %144 = icmp eq ptr %143, null
  br i1 %144, label %147, label %145

145:                                              ; preds = %138
  %146 = call ptr @__dynamic_cast(ptr nonnull %143, ptr nonnull @_ZTIN10SimTKIpopt8IpoptNLPE, ptr nonnull @_ZTIN10SimTKIpopt12OrigIpoptNLPE, i64 0) #11
  br label %147

147:                                              ; preds = %138, %145
  %148 = phi ptr [ %146, %145 ], [ null, %138 ]
  %149 = getelementptr inbounds i8, ptr %0, i64 72
  %150 = call noundef ptr @_ZN10SimTKIpopt9GetRawPtrINS_25IpoptCalculatedQuantitiesEEEPT_RKNS_8SmartPtrIS2_EE(ptr noundef nonnull align 8 dereferenceable(8) %149)
  %151 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  %152 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNK10SimTKIpopt8SmartPtrINS_11OptionsListEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %97)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %153 unwind label %174

153:                                              ; preds = %147
  %154 = invoke noundef zeroext i1 @_ZN10SimTKIpopt23AlgorithmStrategyObject10InitializeERKNS_10JournalistERNS_8IpoptNLPERNS_9IpoptDataERNS_25IpoptCalculatedQuantitiesERKNS_11OptionsListERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(49) %140, ptr noundef nonnull align 8 dereferenceable(40) %151, ptr noundef nonnull align 8 dereferenceable(24) %148, ptr noundef nonnull align 8 dereferenceable(864) %141, ptr noundef nonnull align 8 dereferenceable(2025) %150, ptr noundef nonnull align 8 dereferenceable(112) %152, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %155 unwind label %176

155:                                              ; preds = %153
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #11
  %156 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_11OptionsListEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %97)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @.str.124, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %157 unwind label %179

157:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %158 unwind label %181

158:                                              ; preds = %157
  %159 = invoke noundef zeroext i1 @_ZNK10SimTKIpopt11OptionsList12GetBoolValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERbS8_(ptr noundef nonnull align 8 dereferenceable(112) %156, ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 1 dereferenceable(1) %12, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %160 unwind label %183

160:                                              ; preds = %158
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #11
  %161 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_11OptionsListEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %97)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull @.str.16, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %162 unwind label %189

162:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %163 unwind label %191

163:                                              ; preds = %162
  %164 = invoke noundef zeroext i1 @_ZNK10SimTKIpopt11OptionsList12GetBoolValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERbS8_(ptr noundef nonnull align 8 dereferenceable(112) %161, ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 1 dereferenceable(1) %17, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %165 unwind label %193

165:                                              ; preds = %163
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #11
  %166 = load i8, ptr %17, align 1, !tbaa !9, !range !11, !noundef !12
  %167 = trunc nuw i8 %166 to i1
  br i1 %167, label %168, label %199

168:                                              ; preds = %165
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  %169 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_11OptionsListEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %97)
  invoke void @_ZNK10SimTKIpopt11OptionsList16PrintUserOptionsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %169, ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %170 unwind label %197

170:                                              ; preds = %168
  %171 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  %172 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %171, i32 noundef 1, i32 noundef 2, ptr noundef nonnull @.str.141, ptr noundef %172)
          to label %173 unwind label %197

173:                                              ; preds = %170
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #11
  br label %199

174:                                              ; preds = %147
  %175 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %178

176:                                              ; preds = %153
  %177 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #11
  br label %178

178:                                              ; preds = %176, %174
  %.pn175 = phi { ptr, i32 } [ %177, %176 ], [ %175, %174 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #11
  br label %641

179:                                              ; preds = %155
  %180 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %186

181:                                              ; preds = %157
  %182 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %185

183:                                              ; preds = %158
  %184 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #11
  br label %185

185:                                              ; preds = %183, %181
  %.pn177 = phi { ptr, i32 } [ %184, %183 ], [ %182, %181 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #11
  br label %186

186:                                              ; preds = %185, %179
  %.pn177.pn = phi { ptr, i32 } [ %.pn177, %185 ], [ %180, %179 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #11
  br label %640

187:                                              ; preds = %199
  %188 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %639

189:                                              ; preds = %160
  %190 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %196

191:                                              ; preds = %162
  %192 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %195

193:                                              ; preds = %163
  %194 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #11
  br label %195

195:                                              ; preds = %193, %191
  %.pn180 = phi { ptr, i32 } [ %194, %193 ], [ %192, %191 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #11
  br label %196

196:                                              ; preds = %195, %189
  %.pn180.pn = phi { ptr, i32 } [ %.pn180, %195 ], [ %190, %189 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #11
  br label %639

197:                                              ; preds = %170, %168
  %198 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #11
  br label %639

199:                                              ; preds = %173, %165
  %200 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  %201 = invoke noundef zeroext i1 @_ZNK10SimTKIpopt10Journalist13ProduceOutputENS_13EJournalLevelENS_16EJournalCategoryE(ptr noundef nonnull align 8 dereferenceable(40) %200, i32 noundef 5, i32 noundef 2)
          to label %202 unwind label %187

202:                                              ; preds = %199
  br i1 %201, label %203, label %211

203:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #11
  %204 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_11OptionsListEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %97)
  invoke void @_ZNK10SimTKIpopt11OptionsList9PrintListERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112) %204, ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %205 unwind label %209

205:                                              ; preds = %203
  %206 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  %207 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %23) #11
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %206, i32 noundef 5, i32 noundef 2, ptr noundef nonnull @.str.142, ptr noundef %207)
          to label %208 unwind label %209

208:                                              ; preds = %205
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #11
  br label %211

209:                                              ; preds = %205, %203
  %210 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #11
  br label %639

211:                                              ; preds = %208, %202
  %212 = invoke noundef i32 @_ZN10SimTKIpopt14IpoptAlgorithm8OptimizeEv(ptr noundef nonnull align 8 dereferenceable(152) %140)
          to label %213 unwind label %224

213:                                              ; preds = %211
  %.not = icmp eq i32 %212, 10
  br i1 %.not, label %214, label %239

214:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %25) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull @.str.143, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %215 unwind label %226

215:                                              ; preds = %214
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #11
  %216 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull @.str.131)
          to label %217 unwind label %228

217:                                              ; preds = %215
  %218 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEPKc(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull @.str.144)
          to label %219 unwind label %228

219:                                              ; preds = %217
  %220 = call ptr @__cxa_allocate_exception(i64 112) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %24)
          to label %221 unwind label %.thread

221:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %28) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull @.str.6, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %222 unwind label %231

222:                                              ; preds = %221
  invoke void @_ZN10SimTKIpopt11TOO_FEW_DOFC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_i(ptr noundef nonnull align 8 dereferenceable(112) %220, ptr noundef nonnull %26, ptr noundef nonnull %27, i32 noundef 579)
          to label %223 unwind label %233

223:                                              ; preds = %222
  invoke void @__cxa_throw(ptr nonnull %220, ptr nonnull @_ZTIN10SimTKIpopt11TOO_FEW_DOFE, ptr nonnull @_ZN10SimTKIpopt14IpoptExceptionD2Ev) #12
          to label %712 unwind label %233

224:                                              ; preds = %514, %508, %507, %501, %500, %494, %493, %487, %486, %480, %479, %473, %472, %466, %274, %272, %269, %268, %266, %263, %262, %260, %257, %256, %254, %251, %250, %248, %245, %243, %239, %211
  %225 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %639

226:                                              ; preds = %214
  %227 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #11
  br label %238

228:                                              ; preds = %217, %215
  %229 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %237

.thread:                                          ; preds = %219
  %230 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %236

231:                                              ; preds = %221
  %232 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %235

233:                                              ; preds = %223, %222
  %.0167 = phi i1 [ false, %223 ], [ true, %222 ]
  %234 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #11
  br label %235

235:                                              ; preds = %231, %233
  %.1168 = phi i1 [ %.0167, %233 ], [ true, %231 ]
  %.pn183 = phi { ptr, i32 } [ %234, %233 ], [ %232, %231 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %28) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #11
  br i1 %.1168, label %236, label %237

236:                                              ; preds = %.thread, %235
  %.pn183.pn264 = phi { ptr, i32 } [ %230, %.thread ], [ %.pn183, %235 ]
  call void @__cxa_free_exception(ptr %220) #11
  br label %237

237:                                              ; preds = %235, %236, %228
  %.pn183.pn.pn = phi { ptr, i32 } [ %.pn183.pn264, %236 ], [ %.pn183, %235 ], [ %229, %228 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #11
  br label %238

238:                                              ; preds = %237, %226
  %.pn183.pn.pn.pn = phi { ptr, i32 } [ %.pn183.pn.pn, %237 ], [ %227, %226 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #11
  br label %639

239:                                              ; preds = %213
  %240 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  %241 = call noundef i32 @_ZNK10SimTKIpopt9IpoptData10iter_countEv(ptr noundef nonnull align 8 dereferenceable(864) %141)
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %240, i32 noundef 3, i32 noundef 10, ptr noundef nonnull @.str.145, i32 noundef %241)
          to label %242 unwind label %224

242:                                              ; preds = %239
  %.not188 = icmp eq i32 %212, 9
  br i1 %.not188, label %275, label %243

243:                                              ; preds = %242
  %244 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %244, i32 noundef 3, i32 noundef 10, ptr noundef nonnull @.str.146)
          to label %245 unwind label %224

245:                                              ; preds = %243
  %246 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  %247 = invoke noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities6curr_fEv(ptr noundef nonnull align 8 dereferenceable(2025) %150)
          to label %248 unwind label %224

248:                                              ; preds = %245
  %249 = invoke noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities15unscaled_curr_fEv(ptr noundef nonnull align 8 dereferenceable(2025) %150)
          to label %250 unwind label %224

250:                                              ; preds = %248
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %246, i32 noundef 3, i32 noundef 10, ptr noundef nonnull @.str.147, double noundef %247, double noundef %249)
          to label %251 unwind label %224

251:                                              ; preds = %250
  %252 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  %253 = invoke noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities23curr_dual_infeasibilityENS_9ENormTypeE(ptr noundef nonnull align 8 dereferenceable(2025) %150, i32 noundef 2)
          to label %254 unwind label %224

254:                                              ; preds = %251
  %255 = invoke noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities32unscaled_curr_dual_infeasibilityENS_9ENormTypeE(ptr noundef nonnull align 8 dereferenceable(2025) %150, i32 noundef 2)
          to label %256 unwind label %224

256:                                              ; preds = %254
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %252, i32 noundef 3, i32 noundef 10, ptr noundef nonnull @.str.148, double noundef %253, double noundef %255)
          to label %257 unwind label %224

257:                                              ; preds = %256
  %258 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  %259 = invoke noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities29curr_nlp_constraint_violationENS_9ENormTypeE(ptr noundef nonnull align 8 dereferenceable(2025) %150, i32 noundef 2)
          to label %260 unwind label %224

260:                                              ; preds = %257
  %261 = invoke noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities38unscaled_curr_nlp_constraint_violationENS_9ENormTypeE(ptr noundef nonnull align 8 dereferenceable(2025) %150, i32 noundef 2)
          to label %262 unwind label %224

262:                                              ; preds = %260
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %258, i32 noundef 3, i32 noundef 10, ptr noundef nonnull @.str.149, double noundef %259, double noundef %261)
          to label %263 unwind label %224

263:                                              ; preds = %262
  %264 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  %265 = invoke noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities20curr_complementarityEdNS_9ENormTypeE(ptr noundef nonnull align 8 dereferenceable(2025) %150, double noundef 0.000000e+00, i32 noundef 2)
          to label %266 unwind label %224

266:                                              ; preds = %263
  %267 = invoke noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities29unscaled_curr_complementarityEdNS_9ENormTypeE(ptr noundef nonnull align 8 dereferenceable(2025) %150, double noundef 0.000000e+00, i32 noundef 2)
          to label %268 unwind label %224

268:                                              ; preds = %266
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %264, i32 noundef 3, i32 noundef 10, ptr noundef nonnull @.str.150, double noundef %265, double noundef %267)
          to label %269 unwind label %224

269:                                              ; preds = %268
  %270 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  %271 = invoke noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities14curr_nlp_errorEv(ptr noundef nonnull align 8 dereferenceable(2025) %150)
          to label %272 unwind label %224

272:                                              ; preds = %269
  %273 = invoke noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities23unscaled_curr_nlp_errorEv(ptr noundef nonnull align 8 dereferenceable(2025) %150)
          to label %274 unwind label %224

274:                                              ; preds = %272
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %270, i32 noundef 3, i32 noundef 10, ptr noundef nonnull @.str.151, double noundef %271, double noundef %273)
          to label %275 unwind label %224

275:                                              ; preds = %274, %242
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #11
  invoke void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8 %30, ptr noundef nonnull align 8 dereferenceable(864) %141)
          to label %276 unwind label %346

276:                                              ; preds = %275
  %277 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %30)
  invoke void @_ZNK10SimTKIpopt14IteratesVector1xEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %29, ptr noundef nonnull align 8 dereferenceable(280) %277)
          to label %278 unwind label %348

278:                                              ; preds = %276
  %279 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %29)
  %280 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %31) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %32) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull @.str.152, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %281 unwind label %350

281:                                              ; preds = %278
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %33) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %34) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %282 unwind label %352

282:                                              ; preds = %281
  invoke void @_ZNK10SimTKIpopt6Vector5PrintERKNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSD_(ptr noundef nonnull align 8 dereferenceable(205) %279, ptr noundef nonnull align 8 dereferenceable(40) %280, i32 noundef 7, i32 noundef 10, ptr noundef nonnull align 8 dereferenceable(32) %31, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %283 unwind label %354

283:                                              ; preds = %282
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %34) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #11
  invoke void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8 %36, ptr noundef nonnull align 8 dereferenceable(864) %141)
          to label %284 unwind label %360

284:                                              ; preds = %283
  %285 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %36)
  invoke void @_ZNK10SimTKIpopt14IteratesVector3y_cEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %35, ptr noundef nonnull align 8 dereferenceable(280) %285)
          to label %286 unwind label %362

286:                                              ; preds = %284
  %287 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %35)
  %288 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %37) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %38) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull @.str.153, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %289 unwind label %364

289:                                              ; preds = %286
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %39) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %40) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %40)
          to label %290 unwind label %366

290:                                              ; preds = %289
  invoke void @_ZNK10SimTKIpopt6Vector5PrintERKNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSD_(ptr noundef nonnull align 8 dereferenceable(205) %287, ptr noundef nonnull align 8 dereferenceable(40) %288, i32 noundef 7, i32 noundef 10, ptr noundef nonnull align 8 dereferenceable(32) %37, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(32) %39)
          to label %291 unwind label %368

291:                                              ; preds = %290
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %40) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %39) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %36) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %41) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %42) #11
  invoke void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8 %42, ptr noundef nonnull align 8 dereferenceable(864) %141)
          to label %292 unwind label %374

292:                                              ; preds = %291
  %293 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %42)
  invoke void @_ZNK10SimTKIpopt14IteratesVector3y_dEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %41, ptr noundef nonnull align 8 dereferenceable(280) %293)
          to label %294 unwind label %376

294:                                              ; preds = %292
  %295 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41)
  %296 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %43) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %44) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull @.str.154, ptr noundef nonnull align 1 dereferenceable(1) %44)
          to label %297 unwind label %378

297:                                              ; preds = %294
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %45) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %46) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %46)
          to label %298 unwind label %380

298:                                              ; preds = %297
  invoke void @_ZNK10SimTKIpopt6Vector5PrintERKNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSD_(ptr noundef nonnull align 8 dereferenceable(205) %295, ptr noundef nonnull align 8 dereferenceable(40) %296, i32 noundef 7, i32 noundef 10, ptr noundef nonnull align 8 dereferenceable(32) %43, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(32) %45)
          to label %299 unwind label %382

299:                                              ; preds = %298
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %46) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %45) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %44) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %43) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %41) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %42) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %41) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %47) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %48) #11
  invoke void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8 %48, ptr noundef nonnull align 8 dereferenceable(864) %141)
          to label %300 unwind label %388

300:                                              ; preds = %299
  %301 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %48)
  invoke void @_ZNK10SimTKIpopt14IteratesVector3z_LEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %47, ptr noundef nonnull align 8 dereferenceable(280) %301)
          to label %302 unwind label %390

302:                                              ; preds = %300
  %303 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %47)
  %304 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %49) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %50) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef nonnull @.str.155, ptr noundef nonnull align 1 dereferenceable(1) %50)
          to label %305 unwind label %392

305:                                              ; preds = %302
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %51) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %52) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %52)
          to label %306 unwind label %394

306:                                              ; preds = %305
  invoke void @_ZNK10SimTKIpopt6Vector5PrintERKNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSD_(ptr noundef nonnull align 8 dereferenceable(205) %303, ptr noundef nonnull align 8 dereferenceable(40) %304, i32 noundef 7, i32 noundef 10, ptr noundef nonnull align 8 dereferenceable(32) %49, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(32) %51)
          to label %307 unwind label %396

307:                                              ; preds = %306
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %52) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %51) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %50) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %49) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %47) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %48) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %47) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %53) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %54) #11
  invoke void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8 %54, ptr noundef nonnull align 8 dereferenceable(864) %141)
          to label %308 unwind label %402

308:                                              ; preds = %307
  %309 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %54)
  invoke void @_ZNK10SimTKIpopt14IteratesVector3z_UEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %53, ptr noundef nonnull align 8 dereferenceable(280) %309)
          to label %310 unwind label %404

310:                                              ; preds = %308
  %311 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %53)
  %312 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %55) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %56) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef nonnull @.str.156, ptr noundef nonnull align 1 dereferenceable(1) %56)
          to label %313 unwind label %406

313:                                              ; preds = %310
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %57) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %58) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %58)
          to label %314 unwind label %408

314:                                              ; preds = %313
  invoke void @_ZNK10SimTKIpopt6Vector5PrintERKNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSD_(ptr noundef nonnull align 8 dereferenceable(205) %311, ptr noundef nonnull align 8 dereferenceable(40) %312, i32 noundef 7, i32 noundef 10, ptr noundef nonnull align 8 dereferenceable(32) %55, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(32) %57)
          to label %315 unwind label %410

315:                                              ; preds = %314
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %58) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %57) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %56) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %55) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %53) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %54) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %54) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %53) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %59) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %60) #11
  invoke void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8 %60, ptr noundef nonnull align 8 dereferenceable(864) %141)
          to label %316 unwind label %416

316:                                              ; preds = %315
  %317 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %60)
  invoke void @_ZNK10SimTKIpopt14IteratesVector3v_LEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %59, ptr noundef nonnull align 8 dereferenceable(280) %317)
          to label %318 unwind label %418

318:                                              ; preds = %316
  %319 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %59)
  %320 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %61) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %62) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %61, ptr noundef nonnull @.str.157, ptr noundef nonnull align 1 dereferenceable(1) %62)
          to label %321 unwind label %420

321:                                              ; preds = %318
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %63) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %64) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %63, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %64)
          to label %322 unwind label %422

322:                                              ; preds = %321
  invoke void @_ZNK10SimTKIpopt6Vector5PrintERKNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSD_(ptr noundef nonnull align 8 dereferenceable(205) %319, ptr noundef nonnull align 8 dereferenceable(40) %320, i32 noundef 7, i32 noundef 10, ptr noundef nonnull align 8 dereferenceable(32) %61, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(32) %63)
          to label %323 unwind label %424

323:                                              ; preds = %322
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %64) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %63) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %62) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %61) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %59) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %60) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %60) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %59) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %65) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %66) #11
  invoke void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8 %66, ptr noundef nonnull align 8 dereferenceable(864) %141)
          to label %324 unwind label %430

324:                                              ; preds = %323
  %325 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %66)
  invoke void @_ZNK10SimTKIpopt14IteratesVector3v_UEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %65, ptr noundef nonnull align 8 dereferenceable(280) %325)
          to label %326 unwind label %432

326:                                              ; preds = %324
  %327 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %65)
  %328 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %67) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %68) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %67, ptr noundef nonnull @.str.158, ptr noundef nonnull align 1 dereferenceable(1) %68)
          to label %329 unwind label %434

329:                                              ; preds = %326
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %69) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %70) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %70) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %69, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %70)
          to label %330 unwind label %436

330:                                              ; preds = %329
  invoke void @_ZNK10SimTKIpopt6Vector5PrintERKNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSD_(ptr noundef nonnull align 8 dereferenceable(205) %327, ptr noundef nonnull align 8 dereferenceable(40) %328, i32 noundef 7, i32 noundef 10, ptr noundef nonnull align 8 dereferenceable(32) %67, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(32) %69)
          to label %331 unwind label %438

331:                                              ; preds = %330
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %70) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %70) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %69) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %68) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %67) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %65) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %66) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %66) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %65) #11
  %332 = icmp eq i32 %212, 4
  br i1 %332, label %333, label %466

333:                                              ; preds = %331
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %71) #11
  invoke void @_ZN10SimTKIpopt25IpoptCalculatedQuantities6curr_cEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %71, ptr noundef nonnull align 8 dereferenceable(2025) %150)
          to label %334 unwind label %444

334:                                              ; preds = %333
  %335 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %71)
  %336 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %72) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %73) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %72, ptr noundef nonnull @.str.159, ptr noundef nonnull align 1 dereferenceable(1) %73)
          to label %337 unwind label %446

337:                                              ; preds = %334
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %74) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %75) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %75) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %74, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %75)
          to label %338 unwind label %448

338:                                              ; preds = %337
  invoke void @_ZNK10SimTKIpopt6Vector5PrintERKNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSD_(ptr noundef nonnull align 8 dereferenceable(205) %335, ptr noundef nonnull align 8 dereferenceable(40) %336, i32 noundef 7, i32 noundef 10, ptr noundef nonnull align 8 dereferenceable(32) %72, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(32) %74)
          to label %339 unwind label %450

339:                                              ; preds = %338
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %74) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %75) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %75) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %74) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %73) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %72) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %71) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %71) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %76) #11
  invoke void @_ZN10SimTKIpopt25IpoptCalculatedQuantities14curr_d_minus_sEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %76, ptr noundef nonnull align 8 dereferenceable(2025) %150)
          to label %340 unwind label %455

340:                                              ; preds = %339
  %341 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %76)
  %342 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %77) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %78) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %78) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %77, ptr noundef nonnull @.str.160, ptr noundef nonnull align 1 dereferenceable(1) %78)
          to label %343 unwind label %457

343:                                              ; preds = %340
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %79) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %80) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %80) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %79, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %80)
          to label %344 unwind label %459

344:                                              ; preds = %343
  invoke void @_ZNK10SimTKIpopt6Vector5PrintERKNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSD_(ptr noundef nonnull align 8 dereferenceable(205) %341, ptr noundef nonnull align 8 dereferenceable(40) %342, i32 noundef 7, i32 noundef 10, ptr noundef nonnull align 8 dereferenceable(32) %77, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(32) %79)
          to label %345 unwind label %461

345:                                              ; preds = %344
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %79) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %80) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %80) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %79) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %78) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %78) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %77) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %76) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %76) #11
  br label %466

346:                                              ; preds = %275
  %347 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %359

348:                                              ; preds = %276
  %349 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %358

350:                                              ; preds = %278
  %351 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %357

352:                                              ; preds = %281
  %353 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %356

354:                                              ; preds = %282
  %355 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #11
  br label %356

356:                                              ; preds = %354, %352
  %.pn189 = phi { ptr, i32 } [ %355, %354 ], [ %353, %352 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %34) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #11
  br label %357

357:                                              ; preds = %356, %350
  %.pn189.pn = phi { ptr, i32 } [ %.pn189, %356 ], [ %351, %350 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #11
  br label %358

358:                                              ; preds = %357, %348
  %.pn189.pn.pn = phi { ptr, i32 } [ %.pn189.pn, %357 ], [ %349, %348 ]
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #11
  br label %359

359:                                              ; preds = %358, %346
  %.pn189.pn.pn.pn = phi { ptr, i32 } [ %.pn189.pn.pn, %358 ], [ %347, %346 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #11
  br label %639

360:                                              ; preds = %283
  %361 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %373

362:                                              ; preds = %284
  %363 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %372

364:                                              ; preds = %286
  %365 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %371

366:                                              ; preds = %289
  %367 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %370

368:                                              ; preds = %290
  %369 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #11
  br label %370

370:                                              ; preds = %368, %366
  %.pn194 = phi { ptr, i32 } [ %369, %368 ], [ %367, %366 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %40) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %39) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #11
  br label %371

371:                                              ; preds = %370, %364
  %.pn194.pn = phi { ptr, i32 } [ %.pn194, %370 ], [ %365, %364 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #11
  br label %372

372:                                              ; preds = %371, %362
  %.pn194.pn.pn = phi { ptr, i32 } [ %.pn194.pn, %371 ], [ %363, %362 ]
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %36) #11
  br label %373

373:                                              ; preds = %372, %360
  %.pn194.pn.pn.pn = phi { ptr, i32 } [ %.pn194.pn.pn, %372 ], [ %361, %360 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #11
  br label %639

374:                                              ; preds = %291
  %375 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %387

376:                                              ; preds = %292
  %377 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %386

378:                                              ; preds = %294
  %379 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %385

380:                                              ; preds = %297
  %381 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %384

382:                                              ; preds = %298
  %383 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #11
  br label %384

384:                                              ; preds = %382, %380
  %.pn199 = phi { ptr, i32 } [ %383, %382 ], [ %381, %380 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %46) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %46) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %45) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #11
  br label %385

385:                                              ; preds = %384, %378
  %.pn199.pn = phi { ptr, i32 } [ %.pn199, %384 ], [ %379, %378 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %44) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %43) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %41) #11
  br label %386

386:                                              ; preds = %385, %376
  %.pn199.pn.pn = phi { ptr, i32 } [ %.pn199.pn, %385 ], [ %377, %376 ]
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #11
  br label %387

387:                                              ; preds = %386, %374
  %.pn199.pn.pn.pn = phi { ptr, i32 } [ %.pn199.pn.pn, %386 ], [ %375, %374 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %42) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %41) #11
  br label %639

388:                                              ; preds = %299
  %389 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %401

390:                                              ; preds = %300
  %391 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %400

392:                                              ; preds = %302
  %393 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %399

394:                                              ; preds = %305
  %395 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %398

396:                                              ; preds = %306
  %397 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #11
  br label %398

398:                                              ; preds = %396, %394
  %.pn204 = phi { ptr, i32 } [ %397, %396 ], [ %395, %394 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %52) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %51) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #11
  br label %399

399:                                              ; preds = %398, %392
  %.pn204.pn = phi { ptr, i32 } [ %.pn204, %398 ], [ %393, %392 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %50) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %49) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %47) #11
  br label %400

400:                                              ; preds = %399, %390
  %.pn204.pn.pn = phi { ptr, i32 } [ %.pn204.pn, %399 ], [ %391, %390 ]
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %48) #11
  br label %401

401:                                              ; preds = %400, %388
  %.pn204.pn.pn.pn = phi { ptr, i32 } [ %.pn204.pn.pn, %400 ], [ %389, %388 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %47) #11
  br label %639

402:                                              ; preds = %307
  %403 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %415

404:                                              ; preds = %308
  %405 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %414

406:                                              ; preds = %310
  %407 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %413

408:                                              ; preds = %313
  %409 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %412

410:                                              ; preds = %314
  %411 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #11
  br label %412

412:                                              ; preds = %410, %408
  %.pn209 = phi { ptr, i32 } [ %411, %410 ], [ %409, %408 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %58) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %57) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #11
  br label %413

413:                                              ; preds = %412, %406
  %.pn209.pn = phi { ptr, i32 } [ %.pn209, %412 ], [ %407, %406 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %56) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %55) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %53) #11
  br label %414

414:                                              ; preds = %413, %404
  %.pn209.pn.pn = phi { ptr, i32 } [ %.pn209.pn, %413 ], [ %405, %404 ]
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %54) #11
  br label %415

415:                                              ; preds = %414, %402
  %.pn209.pn.pn.pn = phi { ptr, i32 } [ %.pn209.pn.pn, %414 ], [ %403, %402 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %54) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %53) #11
  br label %639

416:                                              ; preds = %315
  %417 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %429

418:                                              ; preds = %316
  %419 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %428

420:                                              ; preds = %318
  %421 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %427

422:                                              ; preds = %321
  %423 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %426

424:                                              ; preds = %322
  %425 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #11
  br label %426

426:                                              ; preds = %424, %422
  %.pn214 = phi { ptr, i32 } [ %425, %424 ], [ %423, %422 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %64) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %63) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #11
  br label %427

427:                                              ; preds = %426, %420
  %.pn214.pn = phi { ptr, i32 } [ %.pn214, %426 ], [ %421, %420 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %62) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %61) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %59) #11
  br label %428

428:                                              ; preds = %427, %418
  %.pn214.pn.pn = phi { ptr, i32 } [ %.pn214.pn, %427 ], [ %419, %418 ]
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %60) #11
  br label %429

429:                                              ; preds = %428, %416
  %.pn214.pn.pn.pn = phi { ptr, i32 } [ %.pn214.pn.pn, %428 ], [ %417, %416 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %60) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %59) #11
  br label %639

430:                                              ; preds = %323
  %431 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %443

432:                                              ; preds = %324
  %433 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %442

434:                                              ; preds = %326
  %435 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %441

436:                                              ; preds = %329
  %437 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %440

438:                                              ; preds = %330
  %439 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #11
  br label %440

440:                                              ; preds = %438, %436
  %.pn219 = phi { ptr, i32 } [ %439, %438 ], [ %437, %436 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %70) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %70) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %69) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #11
  br label %441

441:                                              ; preds = %440, %434
  %.pn219.pn = phi { ptr, i32 } [ %.pn219, %440 ], [ %435, %434 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %68) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %67) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %65) #11
  br label %442

442:                                              ; preds = %441, %432
  %.pn219.pn.pn = phi { ptr, i32 } [ %.pn219.pn, %441 ], [ %433, %432 ]
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %66) #11
  br label %443

443:                                              ; preds = %442, %430
  %.pn219.pn.pn.pn = phi { ptr, i32 } [ %.pn219.pn.pn, %442 ], [ %431, %430 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %66) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %65) #11
  br label %639

444:                                              ; preds = %333
  %445 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %454

446:                                              ; preds = %334
  %447 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %453

448:                                              ; preds = %337
  %449 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %452

450:                                              ; preds = %338
  %451 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %74) #11
  br label %452

452:                                              ; preds = %450, %448
  %.pn224 = phi { ptr, i32 } [ %451, %450 ], [ %449, %448 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %75) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %75) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %74) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #11
  br label %453

453:                                              ; preds = %452, %446
  %.pn224.pn = phi { ptr, i32 } [ %.pn224, %452 ], [ %447, %446 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %73) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %72) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %71) #11
  br label %454

454:                                              ; preds = %453, %444
  %.pn224.pn.pn = phi { ptr, i32 } [ %.pn224.pn, %453 ], [ %445, %444 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %71) #11
  br label %639

455:                                              ; preds = %339
  %456 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %465

457:                                              ; preds = %340
  %458 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %464

459:                                              ; preds = %343
  %460 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %463

461:                                              ; preds = %344
  %462 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %79) #11
  br label %463

463:                                              ; preds = %461, %459
  %.pn228 = phi { ptr, i32 } [ %462, %461 ], [ %460, %459 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %80) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %80) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %79) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #11
  br label %464

464:                                              ; preds = %463, %457
  %.pn228.pn = phi { ptr, i32 } [ %.pn228, %463 ], [ %458, %457 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %78) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %78) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %77) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %76) #11
  br label %465

465:                                              ; preds = %464, %455
  %.pn228.pn.pn = phi { ptr, i32 } [ %.pn228.pn, %464 ], [ %456, %455 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %76) #11
  br label %639

466:                                              ; preds = %345, %331
  %467 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  %468 = load ptr, ptr %148, align 8, !tbaa !13
  %469 = getelementptr inbounds i8, ptr %468, i64 184
  %470 = load ptr, ptr %469, align 8
  %471 = invoke noundef i32 %470(ptr noundef nonnull align 8 dereferenceable(648) %148)
          to label %472 unwind label %224

472:                                              ; preds = %466
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %467, i32 noundef 3, i32 noundef 1, ptr noundef nonnull @.str.161, i32 noundef %471)
          to label %473 unwind label %224

473:                                              ; preds = %472
  %474 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  %475 = load ptr, ptr %148, align 8, !tbaa !13
  %476 = getelementptr inbounds i8, ptr %475, i64 192
  %477 = load ptr, ptr %476, align 8
  %478 = invoke noundef i32 %477(ptr noundef nonnull align 8 dereferenceable(648) %148)
          to label %479 unwind label %224

479:                                              ; preds = %473
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %474, i32 noundef 3, i32 noundef 1, ptr noundef nonnull @.str.162, i32 noundef %478)
          to label %480 unwind label %224

480:                                              ; preds = %479
  %481 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  %482 = load ptr, ptr %148, align 8, !tbaa !13
  %483 = getelementptr inbounds i8, ptr %482, i64 200
  %484 = load ptr, ptr %483, align 8
  %485 = invoke noundef i32 %484(ptr noundef nonnull align 8 dereferenceable(648) %148)
          to label %486 unwind label %224

486:                                              ; preds = %480
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %481, i32 noundef 3, i32 noundef 1, ptr noundef nonnull @.str.163, i32 noundef %485)
          to label %487 unwind label %224

487:                                              ; preds = %486
  %488 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  %489 = load ptr, ptr %148, align 8, !tbaa !13
  %490 = getelementptr inbounds i8, ptr %489, i64 216
  %491 = load ptr, ptr %490, align 8
  %492 = invoke noundef i32 %491(ptr noundef nonnull align 8 dereferenceable(648) %148)
          to label %493 unwind label %224

493:                                              ; preds = %487
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %488, i32 noundef 3, i32 noundef 1, ptr noundef nonnull @.str.164, i32 noundef %492)
          to label %494 unwind label %224

494:                                              ; preds = %493
  %495 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  %496 = load ptr, ptr %148, align 8, !tbaa !13
  %497 = getelementptr inbounds i8, ptr %496, i64 208
  %498 = load ptr, ptr %497, align 8
  %499 = invoke noundef i32 %498(ptr noundef nonnull align 8 dereferenceable(648) %148)
          to label %500 unwind label %224

500:                                              ; preds = %494
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %495, i32 noundef 3, i32 noundef 1, ptr noundef nonnull @.str.165, i32 noundef %499)
          to label %501 unwind label %224

501:                                              ; preds = %500
  %502 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  %503 = load ptr, ptr %148, align 8, !tbaa !13
  %504 = getelementptr inbounds i8, ptr %503, i64 224
  %505 = load ptr, ptr %504, align 8
  %506 = invoke noundef i32 %505(ptr noundef nonnull align 8 dereferenceable(648) %148)
          to label %507 unwind label %224

507:                                              ; preds = %501
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %502, i32 noundef 3, i32 noundef 1, ptr noundef nonnull @.str.166, i32 noundef %506)
          to label %508 unwind label %224

508:                                              ; preds = %507
  %509 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  %510 = load ptr, ptr %148, align 8, !tbaa !13
  %511 = getelementptr inbounds i8, ptr %510, i64 232
  %512 = load ptr, ptr %511, align 8
  %513 = invoke noundef i32 %512(ptr noundef nonnull align 8 dereferenceable(648) %148)
          to label %514 unwind label %224

514:                                              ; preds = %508
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %509, i32 noundef 3, i32 noundef 1, ptr noundef nonnull @.str.167, i32 noundef %513)
          to label %515 unwind label %224

515:                                              ; preds = %514
  %516 = call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %141)
  %517 = call noundef nonnull align 8 dereferenceable(18) ptr @_ZN10SimTKIpopt16TimingStatistics16OverallAlgorithmEv(ptr noundef nonnull align 8 dereferenceable(664) %516)
  %518 = call noundef double @_ZNK10SimTKIpopt9TimedTask9TotalTimeEv(ptr noundef nonnull align 8 dereferenceable(18) %517)
  %519 = invoke noundef double @_ZNK10SimTKIpopt12OrigIpoptNLP30TotalFunctionEvaluationCPUTimeEv(ptr noundef nonnull align 8 dereferenceable(648) %148)
          to label %520 unwind label %535

520:                                              ; preds = %515
  %521 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  %522 = fsub double %518, %519
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %521, i32 noundef 3, i32 noundef 1, ptr noundef nonnull @.str.168, double noundef %522)
          to label %523 unwind label %535

523:                                              ; preds = %520
  %524 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %524, i32 noundef 3, i32 noundef 1, ptr noundef nonnull @.str.169, double noundef %519)
          to label %525 unwind label %535

525:                                              ; preds = %523
  %526 = load i8, ptr %12, align 1, !tbaa !9, !range !11, !noundef !12
  %527 = trunc nuw i8 %526 to i1
  br i1 %527, label %528, label %537

528:                                              ; preds = %525
  %529 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %529, i32 noundef 3, i32 noundef 13, ptr noundef nonnull @.str.170)
          to label %530 unwind label %535

530:                                              ; preds = %528
  %531 = call noundef nonnull align 8 dereferenceable(664) ptr @_ZN10SimTKIpopt9IpoptData11TimingStatsEv(ptr noundef nonnull align 8 dereferenceable(864) %141)
  %532 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  invoke void @_ZNK10SimTKIpopt16TimingStatistics24PrintAllTimingStatisticsERNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryE(ptr noundef nonnull align 8 dereferenceable(664) %531, ptr noundef nonnull align 8 dereferenceable(40) %532, i32 noundef 3, i32 noundef 13)
          to label %533 unwind label %535

533:                                              ; preds = %530
  %534 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  invoke void @_ZNK10SimTKIpopt12OrigIpoptNLP21PrintTimingStatisticsERNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryE(ptr noundef nonnull align 8 dereferenceable(648) %148, ptr noundef nonnull align 8 dereferenceable(40) %534, i32 noundef 3, i32 noundef 13)
          to label %537 unwind label %535

535:                                              ; preds = %583, %551, %550, %549, %547, %545, %544, %543, %542, %541, %540, %539, %533, %530, %528, %523, %520, %515
  %536 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %639

537:                                              ; preds = %533, %525
  %538 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  switch i32 %212, label %546 [
    i32 0, label %539
    i32 1, label %540
    i32 2, label %541
    i32 3, label %542
    i32 6, label %543
    i32 7, label %544
    i32 8, label %545
  ]

539:                                              ; preds = %537
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %538, i32 noundef 3, i32 noundef 2, ptr noundef nonnull @.str.171)
          to label %552 unwind label %535

540:                                              ; preds = %537
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %538, i32 noundef 3, i32 noundef 2, ptr noundef nonnull @.str.172)
          to label %552 unwind label %535

541:                                              ; preds = %537
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %538, i32 noundef 3, i32 noundef 2, ptr noundef nonnull @.str.173)
          to label %552 unwind label %535

542:                                              ; preds = %537
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %538, i32 noundef 3, i32 noundef 2, ptr noundef nonnull @.str.174)
          to label %552 unwind label %535

543:                                              ; preds = %537
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %538, i32 noundef 3, i32 noundef 2, ptr noundef nonnull @.str.175)
          to label %552 unwind label %535

544:                                              ; preds = %537
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %538, i32 noundef 3, i32 noundef 2, ptr noundef nonnull @.str.176)
          to label %552 unwind label %535

545:                                              ; preds = %537
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %538, i32 noundef 3, i32 noundef 2, ptr noundef nonnull @.str.177)
          to label %552 unwind label %535

546:                                              ; preds = %537
  br i1 %332, label %547, label %548

547:                                              ; preds = %546
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %538, i32 noundef 3, i32 noundef 2, ptr noundef nonnull @.str.178)
          to label %552 unwind label %535

548:                                              ; preds = %546
  switch i32 %212, label %551 [
    i32 5, label %549
    i32 9, label %550
  ]

549:                                              ; preds = %548
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %538, i32 noundef 3, i32 noundef 2, ptr noundef nonnull @.str.179)
          to label %552 unwind label %535

550:                                              ; preds = %548
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %538, i32 noundef 3, i32 noundef 2, ptr noundef nonnull @.str.180)
          to label %552 unwind label %535

551:                                              ; preds = %548
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %538, i32 noundef 3, i32 noundef 2, ptr noundef nonnull @.str.181)
          to label %638 unwind label %535

552:                                              ; preds = %540, %542, %544, %547, %550, %549, %545, %543, %541, %539
  %.0164 = phi i32 [ 0, %539 ], [ -1, %540 ], [ 3, %541 ], [ 1, %542 ], [ 4, %543 ], [ -2, %544 ], [ -3, %545 ], [ 2, %547 ], [ 5, %549 ], [ -13, %550 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %81) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %82) #11
  invoke void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8 %82, ptr noundef nonnull align 8 dereferenceable(864) %141)
          to label %553 unwind label %592

553:                                              ; preds = %552
  %554 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %82)
  invoke void @_ZNK10SimTKIpopt14IteratesVector1xEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %81, ptr noundef nonnull align 8 dereferenceable(280) %554)
          to label %555 unwind label %594

555:                                              ; preds = %553
  %556 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %81)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %83) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %84) #11
  invoke void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8 %84, ptr noundef nonnull align 8 dereferenceable(864) %141)
          to label %557 unwind label %596

557:                                              ; preds = %555
  %558 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %84)
  invoke void @_ZNK10SimTKIpopt14IteratesVector3z_LEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %83, ptr noundef nonnull align 8 dereferenceable(280) %558)
          to label %559 unwind label %598

559:                                              ; preds = %557
  %560 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %83)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %85) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %86) #11
  invoke void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8 %86, ptr noundef nonnull align 8 dereferenceable(864) %141)
          to label %561 unwind label %600

561:                                              ; preds = %559
  %562 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %86)
  invoke void @_ZNK10SimTKIpopt14IteratesVector3z_UEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %85, ptr noundef nonnull align 8 dereferenceable(280) %562)
          to label %563 unwind label %602

563:                                              ; preds = %561
  %564 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %85)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %87) #11
  invoke void @_ZN10SimTKIpopt25IpoptCalculatedQuantities6curr_cEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %87, ptr noundef nonnull align 8 dereferenceable(2025) %150)
          to label %565 unwind label %604

565:                                              ; preds = %563
  %566 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %87)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %88) #11
  invoke void @_ZN10SimTKIpopt25IpoptCalculatedQuantities6curr_dEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %88, ptr noundef nonnull align 8 dereferenceable(2025) %150)
          to label %567 unwind label %606

567:                                              ; preds = %565
  %568 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %88)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %89) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %90) #11
  invoke void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8 %90, ptr noundef nonnull align 8 dereferenceable(864) %141)
          to label %569 unwind label %608

569:                                              ; preds = %567
  %570 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %90)
  invoke void @_ZNK10SimTKIpopt14IteratesVector3y_cEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %89, ptr noundef nonnull align 8 dereferenceable(280) %570)
          to label %571 unwind label %610

571:                                              ; preds = %569
  %572 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %89)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %91) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %92) #11
  invoke void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8 %92, ptr noundef nonnull align 8 dereferenceable(864) %141)
          to label %573 unwind label %612

573:                                              ; preds = %571
  %574 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %92)
  invoke void @_ZNK10SimTKIpopt14IteratesVector3y_dEv(ptr dead_on_unwind nonnull writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8 %91, ptr noundef nonnull align 8 dereferenceable(280) %574)
          to label %575 unwind label %614

575:                                              ; preds = %573
  %576 = call noundef nonnull align 8 dereferenceable(205) ptr @_ZNK10SimTKIpopt8SmartPtrIKNS_6VectorEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %91)
  %577 = invoke noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities6curr_fEv(ptr noundef nonnull align 8 dereferenceable(2025) %150)
          to label %578 unwind label %616

578:                                              ; preds = %575
  %579 = load ptr, ptr %148, align 8, !tbaa !13
  %580 = getelementptr inbounds i8, ptr %579, i64 280
  %581 = load ptr, ptr %580, align 8
  invoke void %581(ptr noundef nonnull align 8 dereferenceable(648) %148, i32 noundef %212, ptr noundef nonnull align 8 dereferenceable(205) %556, ptr noundef nonnull align 8 dereferenceable(205) %560, ptr noundef nonnull align 8 dereferenceable(205) %564, ptr noundef nonnull align 8 dereferenceable(205) %566, ptr noundef nonnull align 8 dereferenceable(205) %568, ptr noundef nonnull align 8 dereferenceable(205) %572, ptr noundef nonnull align 8 dereferenceable(205) %576, double noundef %577)
          to label %582 unwind label %616

582:                                              ; preds = %578
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %91) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %92) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %92) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %91) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %89) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %90) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %90) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %89) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %88) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %88) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %87) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %87) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %85) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %86) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %86) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %85) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %83) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %84) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %84) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %83) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %81) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %82) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %82) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %81) #11
  br i1 %.not188, label %.thread272, label %583

583:                                              ; preds = %582
  %584 = invoke noalias noundef nonnull dereferenceable(128) ptr @_Znwm(i64 noundef 128) #13
          to label %585 unwind label %535

585:                                              ; preds = %583
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %93) #11
  invoke void @_ZN10SimTKIpopt8SmartPtrINS_8IpoptNLPEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %93, ptr noundef nonnull %148)
          to label %586 unwind label %.thread265

586:                                              ; preds = %585
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %94) #11
  invoke void @_ZN10SimTKIpopt8SmartPtrINS_9IpoptDataEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %94, ptr noundef nonnull %141)
          to label %587 unwind label %.thread269

587:                                              ; preds = %586
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %95) #11
  invoke void @_ZN10SimTKIpopt8SmartPtrINS_25IpoptCalculatedQuantitiesEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %95, ptr noundef nonnull %150)
          to label %588 unwind label %632

588:                                              ; preds = %587
  invoke void @_ZN10SimTKIpopt15SolveStatisticsC1ERKNS_8SmartPtrINS_8IpoptNLPEEERKNS1_INS_9IpoptDataEEERKNS1_INS_25IpoptCalculatedQuantitiesEEE(ptr noundef nonnull align 8 dereferenceable(128) %584, ptr noundef nonnull align 8 dereferenceable(8) %93, ptr noundef nonnull align 8 dereferenceable(8) %94, ptr noundef nonnull align 8 dereferenceable(8) %95)
          to label %589 unwind label %634

589:                                              ; preds = %588
  %590 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN10SimTKIpopt8SmartPtrINS_15SolveStatisticsEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %132, ptr noundef nonnull %584)
          to label %591 unwind label %634

591:                                              ; preds = %589
  call void @_ZN10SimTKIpopt8SmartPtrINS_25IpoptCalculatedQuantitiesEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %95) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %95) #11
  call void @_ZN10SimTKIpopt8SmartPtrINS_9IpoptDataEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %94) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %94) #11
  call void @_ZN10SimTKIpopt8SmartPtrINS_8IpoptNLPEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %93) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %93) #11
  br label %.thread272

592:                                              ; preds = %552
  %593 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %629

594:                                              ; preds = %553
  %595 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %628

596:                                              ; preds = %555
  %597 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %627

598:                                              ; preds = %557
  %599 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %626

600:                                              ; preds = %559
  %601 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %625

602:                                              ; preds = %561
  %603 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %624

604:                                              ; preds = %563
  %605 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %623

606:                                              ; preds = %565
  %607 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %622

608:                                              ; preds = %567
  %609 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %621

610:                                              ; preds = %569
  %611 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %620

612:                                              ; preds = %571
  %613 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %619

614:                                              ; preds = %573
  %615 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %618

616:                                              ; preds = %578, %575
  %617 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %91) #11
  br label %618

618:                                              ; preds = %616, %614
  %.pn232 = phi { ptr, i32 } [ %617, %616 ], [ %615, %614 ]
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %92) #11
  br label %619

619:                                              ; preds = %618, %612
  %.pn232.pn = phi { ptr, i32 } [ %.pn232, %618 ], [ %613, %612 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %92) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %91) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %89) #11
  br label %620

620:                                              ; preds = %619, %610
  %.pn232.pn.pn = phi { ptr, i32 } [ %.pn232.pn, %619 ], [ %611, %610 ]
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %90) #11
  br label %621

621:                                              ; preds = %620, %608
  %.pn232.pn.pn.pn = phi { ptr, i32 } [ %.pn232.pn.pn, %620 ], [ %609, %608 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %90) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %89) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %88) #11
  br label %622

622:                                              ; preds = %621, %606
  %.pn232.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn232.pn.pn.pn, %621 ], [ %607, %606 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %88) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %87) #11
  br label %623

623:                                              ; preds = %622, %604
  %.pn232.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn232.pn.pn.pn.pn, %622 ], [ %605, %604 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %87) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %85) #11
  br label %624

624:                                              ; preds = %623, %602
  %.pn232.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn232.pn.pn.pn.pn.pn, %623 ], [ %603, %602 ]
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %86) #11
  br label %625

625:                                              ; preds = %624, %600
  %.pn232.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn232.pn.pn.pn.pn.pn.pn, %624 ], [ %601, %600 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %86) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %85) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %83) #11
  br label %626

626:                                              ; preds = %625, %598
  %.pn232.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn232.pn.pn.pn.pn.pn.pn.pn, %625 ], [ %599, %598 ]
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %84) #11
  br label %627

627:                                              ; preds = %626, %596
  %.pn232.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn232.pn.pn.pn.pn.pn.pn.pn.pn, %626 ], [ %597, %596 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %84) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %83) #11
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_6VectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %81) #11
  br label %628

628:                                              ; preds = %627, %594
  %.pn232.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn232.pn.pn.pn.pn.pn.pn.pn.pn.pn, %627 ], [ %595, %594 ]
  call void @_ZN10SimTKIpopt8SmartPtrIKNS_14IteratesVectorEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %82) #11
  br label %629

629:                                              ; preds = %628, %592
  %.pn232.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn232.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %628 ], [ %593, %592 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %82) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %81) #11
  br label %639

.thread265:                                       ; preds = %585
  %630 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %93) #11
  br label %637

.thread269:                                       ; preds = %586
  %631 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %94) #11
  call void @_ZN10SimTKIpopt8SmartPtrINS_8IpoptNLPEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %93) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %93) #11
  br label %637

632:                                              ; preds = %587
  %633 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  br label %636

634:                                              ; preds = %589, %588
  %.0159 = phi i1 [ false, %589 ], [ true, %588 ]
  %635 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN10SimTKIpopt11TOO_FEW_DOFE
          catch ptr @_ZTIN10SimTKIpopt14OPTION_INVALIDE
          catch ptr @_ZTIN10SimTKIpopt14IpoptExceptionE
          catch ptr @_ZTISt9bad_alloc
  call void @_ZN10SimTKIpopt8SmartPtrINS_25IpoptCalculatedQuantitiesEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %95) #11
  br label %636

636:                                              ; preds = %632, %634
  %.1160 = phi i1 [ %.0159, %634 ], [ true, %632 ]
  %.pn245 = phi { ptr, i32 } [ %635, %634 ], [ %633, %632 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %95) #11
  call void @_ZN10SimTKIpopt8SmartPtrINS_9IpoptDataEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %94) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %94) #11
  call void @_ZN10SimTKIpopt8SmartPtrINS_8IpoptNLPEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %93) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %93) #11
  br i1 %.1160, label %637, label %639

637:                                              ; preds = %.thread269, %.thread265, %636
  %.pn245.pn.pn268 = phi { ptr, i32 } [ %630, %.thread265 ], [ %.pn245, %636 ], [ %631, %.thread269 ]
  call void @_ZdlPvm(ptr noundef nonnull %584, i64 noundef 128) #14
  br label %639

.thread272:                                       ; preds = %591, %582
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #11
  br label %650

638:                                              ; preds = %551
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #11
  br label %703

639:                                              ; preds = %224, %238, %359, %373, %387, %401, %415, %429, %443, %454, %465, %636, %637, %629, %535, %209, %197, %196, %187
  %.pn245.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %210, %209 ], [ %188, %187 ], [ %198, %197 ], [ %.pn180.pn, %196 ], [ %225, %224 ], [ %.pn228.pn.pn, %465 ], [ %.pn224.pn.pn, %454 ], [ %.pn219.pn.pn.pn, %443 ], [ %.pn214.pn.pn.pn, %429 ], [ %.pn209.pn.pn.pn, %415 ], [ %.pn204.pn.pn.pn, %401 ], [ %.pn199.pn.pn.pn, %387 ], [ %.pn194.pn.pn.pn, %373 ], [ %.pn189.pn.pn.pn, %359 ], [ %.pn183.pn.pn.pn, %238 ], [ %.pn245.pn.pn268, %637 ], [ %.pn245, %636 ], [ %536, %535 ], [ %.pn232.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %629 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #11
  br label %640

640:                                              ; preds = %639, %186
  %.pn245.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn245.pn.pn.pn.pn.pn, %639 ], [ %.pn177.pn, %186 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #11
  br label %641

641:                                              ; preds = %640, %178
  %.pn245.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn245.pn.pn.pn.pn.pn.pn, %640 ], [ %.pn175, %178 ]
  %.65 = extractvalue { ptr, i32 } %.pn245.pn.pn.pn.pn.pn.pn.pn, 0
  %.65150 = extractvalue { ptr, i32 } %.pn245.pn.pn.pn.pn.pn.pn.pn, 1
  %642 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTIN10SimTKIpopt11TOO_FEW_DOFE) #11
  %643 = icmp eq i32 %.65150, %642
  br i1 %643, label %644, label %652

644:                                              ; preds = %641
  %645 = call ptr @__cxa_begin_catch(ptr %.65) #11
  %646 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  invoke void @_ZNK10SimTKIpopt14IpoptException15ReportExceptionERKNS_10JournalistENS_13EJournalLevelE(ptr noundef nonnull align 8 dereferenceable(112) %645, ptr noundef nonnull align 8 dereferenceable(40) %646, i32 noundef 6)
          to label %647 unwind label %694

647:                                              ; preds = %644
  %648 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %648, i32 noundef 3, i32 noundef 2, ptr noundef nonnull @.str.182)
          to label %649 unwind label %694

649:                                              ; preds = %647
  invoke void @__cxa_end_catch()
          to label %650 unwind label %696

650:                                              ; preds = %.thread272, %669, %660, %649, %678
  %.2166 = phi i32 [ -102, %678 ], [ -10, %649 ], [ -12, %660 ], [ -100, %669 ], [ %.0164, %.thread272 ]
  %651 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  invoke void @_ZNK10SimTKIpopt10Journalist11FlushBufferEv(ptr noundef nonnull align 8 dereferenceable(40) %651)
          to label %703 unwind label %699

652:                                              ; preds = %641
  %653 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTIN10SimTKIpopt14OPTION_INVALIDE) #11
  %654 = icmp eq i32 %.65150, %653
  br i1 %654, label %655, label %661

655:                                              ; preds = %652
  %656 = call ptr @__cxa_begin_catch(ptr %.65) #11
  %657 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  invoke void @_ZNK10SimTKIpopt14IpoptException15ReportExceptionERKNS_10JournalistENS_13EJournalLevelE(ptr noundef nonnull align 8 dereferenceable(112) %656, ptr noundef nonnull align 8 dereferenceable(40) %657, i32 noundef 6)
          to label %658 unwind label %689

658:                                              ; preds = %655
  %659 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %659, i32 noundef 3, i32 noundef 2, ptr noundef nonnull @.str.136)
          to label %660 unwind label %689

660:                                              ; preds = %658
  invoke void @__cxa_end_catch()
          to label %650 unwind label %691

661:                                              ; preds = %652
  %662 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTIN10SimTKIpopt14IpoptExceptionE) #11
  %663 = icmp eq i32 %.65150, %662
  br i1 %663, label %664, label %670

664:                                              ; preds = %661
  %665 = call ptr @__cxa_begin_catch(ptr %.65) #11
  %666 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  invoke void @_ZNK10SimTKIpopt14IpoptException15ReportExceptionERKNS_10JournalistENS_13EJournalLevelE(ptr noundef nonnull align 8 dereferenceable(112) %665, ptr noundef nonnull align 8 dereferenceable(40) %666, i32 noundef 1)
          to label %667 unwind label %684

667:                                              ; preds = %664
  %668 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %668, i32 noundef 3, i32 noundef 2, ptr noundef nonnull @.str.135)
          to label %669 unwind label %684

669:                                              ; preds = %667
  invoke void @__cxa_end_catch()
          to label %650 unwind label %686

670:                                              ; preds = %661
  %671 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9bad_alloc) #11
  %672 = icmp eq i32 %.65150, %671
  br i1 %672, label %673, label %704

673:                                              ; preds = %670
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %96) #11
  %674 = call ptr @__cxa_get_exception_ptr(ptr %.65) #11
  call void @_ZNSt9bad_allocC2ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %96, ptr noundef nonnull align 8 dereferenceable(8) %674) #11
  %675 = call ptr @__cxa_begin_catch(ptr %.65) #11
  %676 = call noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_10JournalistEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104)
  invoke void (ptr, i32, i32, ptr, ...) @_ZNK10SimTKIpopt10Journalist6PrintfENS_13EJournalLevelENS_16EJournalCategoryEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %676, i32 noundef 3, i32 noundef 2, ptr noundef nonnull @.str.7)
          to label %677 unwind label %679

677:                                              ; preds = %673
  call void @_ZNSt9bad_allocD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %96) #11
  invoke void @__cxa_end_catch()
          to label %678 unwind label %681

678:                                              ; preds = %677
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %96) #11
  br label %650

679:                                              ; preds = %673
  %680 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt9bad_allocD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %96) #11
  invoke void @__cxa_end_catch()
          to label %683 unwind label %709

681:                                              ; preds = %677
  %682 = landingpad { ptr, i32 }
          cleanup
  br label %683

683:                                              ; preds = %679, %681
  %.pn254 = phi { ptr, i32 } [ %682, %681 ], [ %680, %679 ]
  %.66 = extractvalue { ptr, i32 } %.pn254, 0
  %.66151 = extractvalue { ptr, i32 } %.pn254, 1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %96) #11
  br label %704

684:                                              ; preds = %667, %664
  %685 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %688 unwind label %709

686:                                              ; preds = %669
  %687 = landingpad { ptr, i32 }
          cleanup
  br label %688

688:                                              ; preds = %684, %686
  %.pn256 = phi { ptr, i32 } [ %687, %686 ], [ %685, %684 ]
  %.67 = extractvalue { ptr, i32 } %.pn256, 0
  %.67152 = extractvalue { ptr, i32 } %.pn256, 1
  br label %704

689:                                              ; preds = %658, %655
  %690 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %693 unwind label %709

691:                                              ; preds = %660
  %692 = landingpad { ptr, i32 }
          cleanup
  br label %693

693:                                              ; preds = %689, %691
  %.pn258 = phi { ptr, i32 } [ %692, %691 ], [ %690, %689 ]
  %.68 = extractvalue { ptr, i32 } %.pn258, 0
  %.68153 = extractvalue { ptr, i32 } %.pn258, 1
  br label %704

694:                                              ; preds = %647, %644
  %695 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %698 unwind label %709

696:                                              ; preds = %649
  %697 = landingpad { ptr, i32 }
          cleanup
  br label %698

698:                                              ; preds = %694, %696
  %.pn260 = phi { ptr, i32 } [ %697, %696 ], [ %695, %694 ]
  %.69 = extractvalue { ptr, i32 } %.pn260, 0
  %.69154 = extractvalue { ptr, i32 } %.pn260, 1
  br label %704

699:                                              ; preds = %650
  %700 = landingpad { ptr, i32 }
          cleanup
  %701 = extractvalue { ptr, i32 } %700, 0
  %702 = extractvalue { ptr, i32 } %700, 1
  br label %704

703:                                              ; preds = %638, %650
  %.1 = phi i32 [ -199, %638 ], [ %.2166, %650 ]
  call void @_ZN10SimTKIpopt8SmartPtrINS_7JournalEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #11
  ret i32 %.1

704:                                              ; preds = %670, %683, %688, %693, %698, %699, %127
  %.71156 = phi i32 [ %130, %127 ], [ %702, %699 ], [ %.69154, %698 ], [ %.68153, %693 ], [ %.67152, %688 ], [ %.66151, %683 ], [ %.65150, %670 ]
  %.71 = phi ptr [ %129, %127 ], [ %701, %699 ], [ %.69, %698 ], [ %.68, %693 ], [ %.67, %688 ], [ %.66, %683 ], [ %.65, %670 ]
  call void @_ZN10SimTKIpopt8SmartPtrINS_7JournalEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #11
  br label %705

705:                                              ; preds = %704, %126
  %.72157 = phi i32 [ %.71156, %704 ], [ %.287, %126 ]
  %.72 = phi ptr [ %.71, %704 ], [ %.2, %126 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #11
  br label %706

706:                                              ; preds = %705, %121
  %.73158 = phi i32 [ %.72157, %705 ], [ %.186, %121 ]
  %.73 = phi ptr [ %.72, %705 ], [ %.184, %121 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #11
  %707 = insertvalue { ptr, i32 } poison, ptr %.73, 0
  %708 = insertvalue { ptr, i32 } %707, i32 %.73158, 1
  resume { ptr, i32 } %708

709:                                              ; preds = %694, %689, %684, %679
  %710 = landingpad { ptr, i32 }
          catch ptr null
  %711 = extractvalue { ptr, i32 } %710, 0
  call void @__clang_call_terminate(ptr %711) #15
  unreachable

712:                                              ; preds = %223
  unreachable
}

declare void @_ZNK10SimTKIpopt10Journalist11FlushBufferEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #6

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK10SimTKIpopt8SmartPtrINS_9IpoptDataEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 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 #4 align 2

declare void @_ZN10SimTKIpopt16TimingStatistics10ResetTimesEv(ptr noundef nonnull align 8 dereferenceable(664)) local_unnamed_addr #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10SimTKIpopt23AlgorithmStrategyObject10InitializeERKNS_10JournalistERNS_8IpoptNLPERNS_9IpoptDataERNS_25IpoptCalculatedQuantitiesERKNS_11OptionsListERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(49), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(864), ptr noundef nonnull align 8 dereferenceable(2025), ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5 align 2

declare void @_ZNK10SimTKIpopt11OptionsList16PrintUserOptionsERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #6

declare noundef zeroext i1 @_ZNK10SimTKIpopt10Journalist13ProduceOutputENS_13EJournalLevelENS_16EJournalCategoryE(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef) local_unnamed_addr #6

declare void @_ZNK10SimTKIpopt11OptionsList9PrintListERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #6

declare noundef i32 @_ZN10SimTKIpopt14IpoptAlgorithm8OptimizeEv(ptr noundef nonnull align 8 dereferenceable(152)) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10SimTKIpopt11TOO_FEW_DOFC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_i(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef, ptr noundef, i32 noundef) unnamed_addr #5 align 2

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

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

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities6curr_fEv(ptr noundef nonnull align 8 dereferenceable(2025)) local_unnamed_addr #6

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities15unscaled_curr_fEv(ptr noundef nonnull align 8 dereferenceable(2025)) local_unnamed_addr #6

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities23curr_dual_infeasibilityENS_9ENormTypeE(ptr noundef nonnull align 8 dereferenceable(2025), i32 noundef) local_unnamed_addr #6

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities32unscaled_curr_dual_infeasibilityENS_9ENormTypeE(ptr noundef nonnull align 8 dereferenceable(2025), i32 noundef) local_unnamed_addr #6

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities29curr_nlp_constraint_violationENS_9ENormTypeE(ptr noundef nonnull align 8 dereferenceable(2025), i32 noundef) local_unnamed_addr #6

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities38unscaled_curr_nlp_constraint_violationENS_9ENormTypeE(ptr noundef nonnull align 8 dereferenceable(2025), i32 noundef) local_unnamed_addr #6

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities20curr_complementarityEdNS_9ENormTypeE(ptr noundef nonnull align 8 dereferenceable(2025), double noundef, i32 noundef) local_unnamed_addr #6

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities29unscaled_curr_complementarityEdNS_9ENormTypeE(ptr noundef nonnull align 8 dereferenceable(2025), double noundef, i32 noundef) local_unnamed_addr #6

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities14curr_nlp_errorEv(ptr noundef nonnull align 8 dereferenceable(2025)) local_unnamed_addr #6

declare noundef double @_ZN10SimTKIpopt25IpoptCalculatedQuantities23unscaled_curr_nlp_errorEv(ptr noundef nonnull align 8 dereferenceable(2025)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK10SimTKIpopt9IpoptData4currEv(ptr dead_on_unwind noalias writable sret(%"class.SimTKIpopt::SmartPtr.48") align 8, ptr noundef nonnull align 8 dereferenceable(864)) local_unnamed_addr #10 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK10SimTKIpopt14IteratesVector1xEv(ptr dead_on_unwind noalias writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8, ptr noundef nonnull align 8 dereferenceable(280)) local_unnamed_addr #5 align 2

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

declare void @_ZNK10SimTKIpopt6Vector5PrintERKNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSD_(ptr noundef nonnull align 8 dereferenceable(205), ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK10SimTKIpopt14IteratesVector3y_cEv(ptr dead_on_unwind noalias writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8, ptr noundef nonnull align 8 dereferenceable(280)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK10SimTKIpopt14IteratesVector3y_dEv(ptr dead_on_unwind noalias writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8, ptr noundef nonnull align 8 dereferenceable(280)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK10SimTKIpopt14IteratesVector3z_LEv(ptr dead_on_unwind noalias writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8, ptr noundef nonnull align 8 dereferenceable(280)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK10SimTKIpopt14IteratesVector3z_UEv(ptr dead_on_unwind noalias writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8, ptr noundef nonnull align 8 dereferenceable(280)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK10SimTKIpopt14IteratesVector3v_LEv(ptr dead_on_unwind noalias writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8, ptr noundef nonnull align 8 dereferenceable(280)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK10SimTKIpopt14IteratesVector3v_UEv(ptr dead_on_unwind noalias writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8, ptr noundef nonnull align 8 dereferenceable(280)) local_unnamed_addr #5 align 2

declare void @_ZN10SimTKIpopt25IpoptCalculatedQuantities6curr_cEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8, ptr noundef nonnull align 8 dereferenceable(2025)) local_unnamed_addr #6

declare void @_ZN10SimTKIpopt25IpoptCalculatedQuantities14curr_d_minus_sEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8, ptr noundef nonnull align 8 dereferenceable(2025)) local_unnamed_addr #6

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

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

declare noundef double @_ZNK10SimTKIpopt12OrigIpoptNLP30TotalFunctionEvaluationCPUTimeEv(ptr noundef nonnull align 8 dereferenceable(648)) local_unnamed_addr #6

declare void @_ZNK10SimTKIpopt16TimingStatistics24PrintAllTimingStatisticsERNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryE(ptr noundef nonnull align 8 dereferenceable(664), ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef) local_unnamed_addr #6

declare void @_ZNK10SimTKIpopt12OrigIpoptNLP21PrintTimingStatisticsERNS_10JournalistENS_13EJournalLevelENS_16EJournalCategoryE(ptr noundef nonnull align 8 dereferenceable(648), ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef) local_unnamed_addr #6

; 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 #4 align 2

declare void @_ZN10SimTKIpopt25IpoptCalculatedQuantities6curr_dEv(ptr dead_on_unwind writable sret(%"class.SimTKIpopt::SmartPtr.46") align 8, ptr noundef nonnull align 8 dereferenceable(2025)) local_unnamed_addr #6

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

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

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

declare void @_ZN10SimTKIpopt15SolveStatisticsC1ERKNS_8SmartPtrINS_8IpoptNLPEEERKNS1_INS_9IpoptDataEEERKNS1_INS_25IpoptCalculatedQuantitiesEEE(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #6

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noinline noreturn nounwind uwtable "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 = { nobuiltin 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 #3 = { nobuiltin allocsize(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 = { 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 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 = { "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 = { nofree nosync nounwind memory(none) }
attributes #8 = { 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 #9 = { mustprogress nofree nounwind willreturn memory(read) }
attributes #10 = { 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 #11 = { nounwind }
attributes #12 = { noreturn }
attributes #13 = { builtin allocsize(0) }
attributes #14 = { builtin nounwind }
attributes #15 = { noreturn 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass,TailCallElimPass