; LLVM IR from siconos/siconos :: kernel/src/modelingTools/MultipleImpactNSL.ll (ZN17MultipleImpactNSLC2Edddj)

; 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.siconos::exception" = type { %"class.std::exception", %"class.boost::exception.base" }
%"class.std::exception" = type { ptr }
%"class.boost::exception.base" = type <{ ptr, %"class.boost::exception_detail::refcount_ptr", ptr, ptr, i32 }>
%"class.boost::exception_detail::refcount_ptr" = type { ptr }
%"class.boost::error_info" = type { %"class.boost::exception_detail::error_info_base", %"class.std::__cxx11::basic_string" }
%"class.boost::exception_detail::error_info_base" = 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" = type { i8 }
%"class.boost::error_info.0" = type <{ %"class.boost::exception_detail::error_info_base", i32, [4 x i8] }>
%"class.boost::error_info.1" = type { %"class.boost::exception_detail::error_info_base", ptr }
%"struct.boost::source_location" = type { ptr, ptr, i32, i32 }
%class.MultipleImpactNSL = type { %class.NonSmoothLaw.base, double, double, double }
%class.NonSmoothLaw.base = type <{ ptr, i32 }>

@_ZTV17MultipleImpactNSL = external dso_local unnamed_addr constant { [10 x ptr] }, align 8
@.str = external hidden unnamed_addr constant [79 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [96 x i8], align 1
@__PRETTY_FUNCTION__._ZN17MultipleImpactNSLC2Edddj = external hidden unnamed_addr constant [75 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [67 x i8], align 1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN17MultipleImpactNSLC2Edddj(ptr noundef nonnull align 8 dereferenceable(40) %0, double noundef %1, double noundef %2, double noundef %3, i32 noundef %4) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.siconos::exception", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.boost::error_info", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator", align 1
  %17 = alloca %"class.boost::error_info.0", align 8
  %18 = alloca %"class.boost::error_info.1", align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"struct.boost::source_location", align 8
  %21 = alloca %"class.siconos::exception", align 8
  %22 = alloca %"class.boost::error_info", align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator", align 1
  %25 = alloca %"class.boost::error_info.0", align 8
  %26 = alloca %"class.boost::error_info.1", align 8
  %27 = alloca ptr, align 8
  %28 = alloca %"struct.boost::source_location", align 8
  %29 = alloca %"class.siconos::exception", align 8
  %30 = alloca %"class.boost::error_info", align 8
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca %"class.std::allocator", align 1
  %33 = alloca %"class.boost::error_info.0", align 8
  %34 = alloca %"class.boost::error_info.1", align 8
  %35 = alloca ptr, align 8
  %36 = alloca %"struct.boost::source_location", align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store double %1, ptr %7, align 8, !tbaa !9
  store double %2, ptr %8, align 8, !tbaa !9
  store double %3, ptr %9, align 8, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !11
  %37 = load ptr, ptr %6, align 8
  %38 = load i32, ptr %10, align 4, !tbaa !11
  call void @_ZN12NonSmoothLawC2Ej(ptr noundef nonnull align 8 dereferenceable(12) %37, i32 noundef %38)
  store ptr getelementptr inbounds inrange(-16, 64) ({ [10 x ptr] }, ptr @_ZTV17MultipleImpactNSL, i32 0, i32 0, i32 2), ptr %37, align 8, !tbaa !13
  %39 = load double, ptr %7, align 8, !tbaa !9
  %40 = getelementptr inbounds %class.MultipleImpactNSL, ptr %37, i32 0, i32 1
  store double %39, ptr %40, align 8, !tbaa !15
  %41 = load double, ptr %8, align 8, !tbaa !9
  %42 = getelementptr inbounds %class.MultipleImpactNSL, ptr %37, i32 0, i32 2
  store double %41, ptr %42, align 8, !tbaa !18
  %43 = load double, ptr %9, align 8, !tbaa !9
  %44 = getelementptr inbounds %class.MultipleImpactNSL, ptr %37, i32 0, i32 3
  store double %43, ptr %44, align 8, !tbaa !19
  %45 = getelementptr inbounds %class.MultipleImpactNSL, ptr %37, i32 0, i32 1
  %46 = load double, ptr %45, align 8, !tbaa !15
  %47 = fcmp olt double %46, 0.000000e+00
  br i1 %47, label %52, label %48

48:                                               ; preds = %5
  %49 = getelementptr inbounds %class.MultipleImpactNSL, ptr %37, i32 0, i32 1
  %50 = load double, ptr %49, align 8, !tbaa !15
  %51 = fcmp ogt double %50, 1.000000e+00
  br i1 %51, label %52, label %101

52:                                               ; preds = %48, %5
  call void @llvm.lifetime.start.p0(i64 48, ptr %11) #9
  call void @llvm.memset.p0.i64(ptr align 8 %11, i8 0, i64 48, i1 false)
  invoke void @_ZN7siconos9exceptionC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %53 unwind label %67

53:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 40, ptr %14) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %54 unwind label %71

54:                                               ; preds = %53
  call void @_ZN5boost10error_infoIN7siconos7messageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2EOS8_(ptr noundef nonnull align 8 dereferenceable(40) %14, ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  %55 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boostlsIN7siconos9exceptionENS1_7messageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_9enable_ifINS_16exception_detail23derives_boost_exceptionIT_EERKSD_E4typeESG_ONS_10error_infoIT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(40) %14)
          to label %56 unwind label %75

56:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #9
  %57 = call ptr @__errno_location() #10
  invoke void @_ZN5boost10error_infoIN7siconos14tag_errno_codeEiEC2ERKi(ptr noundef nonnull align 8 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(4) %57)
          to label %58 unwind label %79

58:                                               ; preds = %56
  %59 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boostlsIN7siconos9exceptionENS1_14tag_errno_codeEiEENS_9enable_ifINS_16exception_detail23derives_boost_exceptionIT_EERKS7_E4typeESA_ONS_10error_infoIT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %55, ptr noundef nonnull align 8 dereferenceable(12) %17)
          to label %60 unwind label %83

60:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  %61 = call ptr @__errno_location() #10
  %62 = load i32, ptr %61, align 4, !tbaa !11
  %63 = call ptr @strerror(i32 noundef %62) #9
  store ptr %63, ptr %19, align 8, !tbaa !5
  call void @_ZN5boost10error_infoIN7siconos21tag_errno_descriptionEPKcEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  %64 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boostlsIN7siconos9exceptionENS1_21tag_errno_descriptionEPKcEENS_9enable_ifINS_16exception_detail23derives_boost_exceptionIT_EERKS9_E4typeESC_ONS_10error_infoIT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %59, ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %65 unwind label %87

65:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #9
  call void @_ZN5boost15source_locationC2EPKcjS2_j(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef @.str.1, i32 noundef 14, ptr noundef @__PRETTY_FUNCTION__._ZN17MultipleImpactNSLC2Edddj, i32 noundef 0) #9
  invoke void @_ZN5boost15throw_exceptionIN7siconos9exceptionEEEvRKT_RKNS_15source_locationE(ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef nonnull align 8 dereferenceable(24) %20) #11
          to label %66 unwind label %91

66:                                               ; preds = %65
  unreachable

67:                                               ; preds = %52
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %12, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %13, align 4
  br label %100

71:                                               ; preds = %53
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %12, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %13, align 4
  br label %99

75:                                               ; preds = %54
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %12, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %13, align 4
  br label %98

79:                                               ; preds = %56
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %12, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %13, align 4
  br label %97

83:                                               ; preds = %58
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %12, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %13, align 4
  br label %96

87:                                               ; preds = %60
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %12, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %13, align 4
  br label %95

91:                                               ; preds = %65
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %12, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #9
  br label %95

95:                                               ; preds = %91, %87
  call void @_ZN5boost16exception_detail15error_info_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #9
  br label %96

96:                                               ; preds = %95, %83
  call void @_ZN5boost16exception_detail15error_info_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %17) #9
  br label %97

97:                                               ; preds = %96, %79
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #9
  br label %98

98:                                               ; preds = %97, %75
  call void @_ZN5boost10error_infoIN7siconos7messageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %14) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  br label %99

99:                                               ; preds = %98, %71
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %14) #9
  call void @_ZN7siconos9exceptionD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #9
  br label %100

100:                                              ; preds = %99, %67
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #9
  br label %208

101:                                              ; preds = %48
  %102 = getelementptr inbounds %class.MultipleImpactNSL, ptr %37, i32 0, i32 2
  %103 = load double, ptr %102, align 8, !tbaa !18
  %104 = fcmp olt double %103, 0.000000e+00
  br i1 %104, label %105, label %154

105:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 48, ptr %21) #9
  call void @llvm.memset.p0.i64(ptr align 8 %21, i8 0, i64 48, i1 false)
  invoke void @_ZN7siconos9exceptionC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %106 unwind label %120

106:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 40, ptr %22) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %107 unwind label %124

107:                                              ; preds = %106
  call void @_ZN5boost10error_infoIN7siconos7messageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2EOS8_(ptr noundef nonnull align 8 dereferenceable(40) %22, ptr noundef nonnull align 8 dereferenceable(32) %23) #9
  %108 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boostlsIN7siconos9exceptionENS1_7messageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_9enable_ifINS_16exception_detail23derives_boost_exceptionIT_EERKSD_E4typeESG_ONS_10error_infoIT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(40) %22)
          to label %109 unwind label %128

109:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #9
  %110 = call ptr @__errno_location() #10
  invoke void @_ZN5boost10error_infoIN7siconos14tag_errno_codeEiEC2ERKi(ptr noundef nonnull align 8 dereferenceable(12) %25, ptr noundef nonnull align 4 dereferenceable(4) %110)
          to label %111 unwind label %132

111:                                              ; preds = %109
  %112 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boostlsIN7siconos9exceptionENS1_14tag_errno_codeEiEENS_9enable_ifINS_16exception_detail23derives_boost_exceptionIT_EERKS7_E4typeESA_ONS_10error_infoIT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %108, ptr noundef nonnull align 8 dereferenceable(12) %25)
          to label %113 unwind label %136

113:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  %114 = call ptr @__errno_location() #10
  %115 = load i32, ptr %114, align 4, !tbaa !11
  %116 = call ptr @strerror(i32 noundef %115) #9
  store ptr %116, ptr %27, align 8, !tbaa !5
  call void @_ZN5boost10error_infoIN7siconos21tag_errno_descriptionEPKcEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(8) %27) #9
  %117 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boostlsIN7siconos9exceptionENS1_21tag_errno_descriptionEPKcEENS_9enable_ifINS_16exception_detail23derives_boost_exceptionIT_EERKS9_E4typeESC_ONS_10error_infoIT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %112, ptr noundef nonnull align 8 dereferenceable(16) %26)
          to label %118 unwind label %140

118:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #9
  call void @_ZN5boost15source_locationC2EPKcjS2_j(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef @.str.1, i32 noundef 16, ptr noundef @__PRETTY_FUNCTION__._ZN17MultipleImpactNSLC2Edddj, i32 noundef 0) #9
  invoke void @_ZN5boost15throw_exceptionIN7siconos9exceptionEEEvRKT_RKNS_15source_locationE(ptr noundef nonnull align 8 dereferenceable(8) %117, ptr noundef nonnull align 8 dereferenceable(24) %28) #11
          to label %119 unwind label %144

119:                                              ; preds = %118
  unreachable

120:                                              ; preds = %105
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %12, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %13, align 4
  br label %153

124:                                              ; preds = %106
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %12, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %13, align 4
  br label %152

128:                                              ; preds = %107
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %12, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %13, align 4
  br label %151

132:                                              ; preds = %109
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %12, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %13, align 4
  br label %150

136:                                              ; preds = %111
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %12, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %13, align 4
  br label %149

140:                                              ; preds = %113
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %12, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %13, align 4
  br label %148

144:                                              ; preds = %118
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %12, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #9
  br label %148

148:                                              ; preds = %144, %140
  call void @_ZN5boost16exception_detail15error_info_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #9
  br label %149

149:                                              ; preds = %148, %136
  call void @_ZN5boost16exception_detail15error_info_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %25) #9
  br label %150

150:                                              ; preds = %149, %132
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #9
  br label %151

151:                                              ; preds = %150, %128
  call void @_ZN5boost10error_infoIN7siconos7messageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #9
  br label %152

152:                                              ; preds = %151, %124
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #9
  call void @_ZN7siconos9exceptionD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  br label %153

153:                                              ; preds = %152, %120
  call void @llvm.lifetime.end.p0(i64 48, ptr %21) #9
  br label %208

154:                                              ; preds = %101
  %155 = getelementptr inbounds %class.MultipleImpactNSL, ptr %37, i32 0, i32 3
  %156 = load double, ptr %155, align 8, !tbaa !19
  %157 = fcmp olt double %156, 0.000000e+00
  br i1 %157, label %158, label %207

158:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 48, ptr %29) #9
  call void @llvm.memset.p0.i64(ptr align 8 %29, i8 0, i64 48, i1 false)
  invoke void @_ZN7siconos9exceptionC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %29)
          to label %159 unwind label %173

159:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 40, ptr %30) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %160 unwind label %177

160:                                              ; preds = %159
  call void @_ZN5boost10error_infoIN7siconos7messageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2EOS8_(ptr noundef nonnull align 8 dereferenceable(40) %30, ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  %161 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boostlsIN7siconos9exceptionENS1_7messageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_9enable_ifINS_16exception_detail23derives_boost_exceptionIT_EERKSD_E4typeESG_ONS_10error_infoIT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(40) %30)
          to label %162 unwind label %181

162:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #9
  %163 = call ptr @__errno_location() #10
  invoke void @_ZN5boost10error_infoIN7siconos14tag_errno_codeEiEC2ERKi(ptr noundef nonnull align 8 dereferenceable(12) %33, ptr noundef nonnull align 4 dereferenceable(4) %163)
          to label %164 unwind label %185

164:                                              ; preds = %162
  %165 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boostlsIN7siconos9exceptionENS1_14tag_errno_codeEiEENS_9enable_ifINS_16exception_detail23derives_boost_exceptionIT_EERKS7_E4typeESA_ONS_10error_infoIT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %161, ptr noundef nonnull align 8 dereferenceable(12) %33)
          to label %166 unwind label %189

166:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #9
  %167 = call ptr @__errno_location() #10
  %168 = load i32, ptr %167, align 4, !tbaa !11
  %169 = call ptr @strerror(i32 noundef %168) #9
  store ptr %169, ptr %35, align 8, !tbaa !5
  call void @_ZN5boost10error_infoIN7siconos21tag_errno_descriptionEPKcEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(16) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #9
  %170 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boostlsIN7siconos9exceptionENS1_21tag_errno_descriptionEPKcEENS_9enable_ifINS_16exception_detail23derives_boost_exceptionIT_EERKS9_E4typeESC_ONS_10error_infoIT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %165, ptr noundef nonnull align 8 dereferenceable(16) %34)
          to label %171 unwind label %193

171:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 24, ptr %36) #9
  call void @_ZN5boost15source_locationC2EPKcjS2_j(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef @.str.1, i32 noundef 18, ptr noundef @__PRETTY_FUNCTION__._ZN17MultipleImpactNSLC2Edddj, i32 noundef 0) #9
  invoke void @_ZN5boost15throw_exceptionIN7siconos9exceptionEEEvRKT_RKNS_15source_locationE(ptr noundef nonnull align 8 dereferenceable(8) %170, ptr noundef nonnull align 8 dereferenceable(24) %36) #11
          to label %172 unwind label %197

172:                                              ; preds = %171
  unreachable

173:                                              ; preds = %158
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %12, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %13, align 4
  br label %206

177:                                              ; preds = %159
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %12, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %13, align 4
  br label %205

181:                                              ; preds = %160
  %182 = landingpad { ptr, i32 }
          cleanup
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %12, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %13, align 4
  br label %204

185:                                              ; preds = %162
  %186 = landingpad { ptr, i32 }
          cleanup
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %12, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %13, align 4
  br label %203

189:                                              ; preds = %164
  %190 = landingpad { ptr, i32 }
          cleanup
  %191 = extractvalue { ptr, i32 } %190, 0
  store ptr %191, ptr %12, align 8
  %192 = extractvalue { ptr, i32 } %190, 1
  store i32 %192, ptr %13, align 4
  br label %202

193:                                              ; preds = %166
  %194 = landingpad { ptr, i32 }
          cleanup
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %12, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %13, align 4
  br label %201

197:                                              ; preds = %171
  %198 = landingpad { ptr, i32 }
          cleanup
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %12, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #9
  br label %201

201:                                              ; preds = %197, %193
  call void @_ZN5boost16exception_detail15error_info_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #9
  br label %202

202:                                              ; preds = %201, %189
  call void @_ZN5boost16exception_detail15error_info_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %33) #9
  br label %203

203:                                              ; preds = %202, %185
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #9
  br label %204

204:                                              ; preds = %203, %181
  call void @_ZN5boost10error_infoIN7siconos7messageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %30) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  br label %205

205:                                              ; preds = %204, %177
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %30) #9
  call void @_ZN7siconos9exceptionD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #9
  br label %206

206:                                              ; preds = %205, %173
  call void @llvm.lifetime.end.p0(i64 48, ptr %29) #9
  br label %208

207:                                              ; preds = %154
  ret void

208:                                              ; preds = %206, %153, %100
  call void @_ZN12NonSmoothLawD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %37) #9
  br label %209

209:                                              ; preds = %208
  %210 = load ptr, ptr %12, align 8
  %211 = load i32, ptr %13, align 4
  %212 = insertvalue { ptr, i32 } poison, ptr %210, 0
  %213 = insertvalue { ptr, i32 } %212, i32 %211, 1
  resume { ptr, i32 } %213
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boostlsIN7siconos9exceptionENS1_21tag_errno_descriptionEPKcEENS_9enable_ifINS_16exception_detail23derives_boost_exceptionIT_EERKS9_E4typeESC_ONS_10error_infoIT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boostlsIN7siconos9exceptionENS1_14tag_errno_codeEiEENS_9enable_ifINS_16exception_detail23derives_boost_exceptionIT_EERKS7_E4typeESA_ONS_10error_infoIT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(12)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boostlsIN7siconos9exceptionENS1_7messageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_9enable_ifINS_16exception_detail23derives_boost_exceptionIT_EERKSD_E4typeESG_ONS_10error_infoIT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(40)) #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7siconos9exceptionC1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 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 #1 align 2

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

; Function Attrs: nounwind willreturn memory(none)
declare ptr @__errno_location() #6

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

; Function Attrs: nounwind
declare ptr @strerror(i32 noundef) #7

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

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = !{!16, !10, i64 16}
!16 = !{!"_ZTS17MultipleImpactNSL", !17, i64 0, !10, i64 16, !10, i64 24, !10, i64 32}
!17 = !{!"_ZTS12NonSmoothLaw", !12, i64 8}
!18 = !{!16, !10, i64 24}
!19 = !{!16, !10, i64 32}


; 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.siconos::exception" = type { %"class.std::exception", %"class.boost::exception.base" }
%"class.std::exception" = type { ptr }
%"class.boost::exception.base" = type <{ ptr, %"class.boost::exception_detail::refcount_ptr", ptr, ptr, i32 }>
%"class.boost::exception_detail::refcount_ptr" = type { ptr }
%"class.boost::error_info" = type { %"class.boost::exception_detail::error_info_base", %"class.std::__cxx11::basic_string" }
%"class.boost::exception_detail::error_info_base" = 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" = type { i8 }
%"class.boost::error_info.0" = type <{ %"class.boost::exception_detail::error_info_base", i32, [4 x i8] }>
%"class.boost::error_info.1" = type { %"class.boost::exception_detail::error_info_base", ptr }
%"struct.boost::source_location" = type { ptr, ptr, i32, i32 }

@_ZTV17MultipleImpactNSL = external dso_local unnamed_addr constant { [10 x ptr] }, align 8
@.str = external hidden unnamed_addr constant [79 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [96 x i8], align 1
@__PRETTY_FUNCTION__._ZN17MultipleImpactNSLC2Edddj = external hidden unnamed_addr constant [75 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [67 x i8], align 1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN17MultipleImpactNSLC2Edddj(ptr noundef nonnull align 8 dereferenceable(40) %0, double noundef %1, double noundef %2, double noundef %3, i32 noundef %4) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.siconos::exception", align 8
  %7 = alloca %"class.boost::error_info", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::allocator", align 1
  %10 = alloca %"class.boost::error_info.0", align 8
  %11 = alloca %"class.boost::error_info.1", align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"struct.boost::source_location", align 8
  %14 = alloca %"class.siconos::exception", align 8
  %15 = alloca %"class.boost::error_info", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator", align 1
  %18 = alloca %"class.boost::error_info.0", align 8
  %19 = alloca %"class.boost::error_info.1", align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"struct.boost::source_location", align 8
  %22 = alloca %"class.siconos::exception", align 8
  %23 = alloca %"class.boost::error_info", align 8
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::allocator", align 1
  %26 = alloca %"class.boost::error_info.0", align 8
  %27 = alloca %"class.boost::error_info.1", align 8
  %28 = alloca ptr, align 8
  %29 = alloca %"struct.boost::source_location", align 8
  tail call void @_ZN12NonSmoothLawC2Ej(ptr noundef nonnull align 8 dereferenceable(12) %0, i32 noundef %4)
  store ptr getelementptr inbounds inrange(-16, 64) (i8, ptr @_ZTV17MultipleImpactNSL, i64 16), ptr %0, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %0, i64 16
  store double %1, ptr %30, align 8, !tbaa !8
  %31 = getelementptr inbounds i8, ptr %0, i64 24
  store double %2, ptr %31, align 8, !tbaa !14
  %32 = getelementptr inbounds i8, ptr %0, i64 32
  store double %3, ptr %32, align 8, !tbaa !15
  %33 = fcmp olt double %1, 0.000000e+00
  %34 = fcmp ogt double %1, 1.000000e+00
  %or.cond = or i1 %33, %34
  br i1 %or.cond, label %35, label %65

35:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %6, i8 0, i64 48, i1 false)
  invoke void @_ZN7siconos9exceptionC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %36 unwind label %48

36:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  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 %37 unwind label %50

37:                                               ; preds = %36
  call void @_ZN5boost10error_infoIN7siconos7messageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2EOS8_(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  %38 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boostlsIN7siconos9exceptionENS1_7messageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_9enable_ifINS_16exception_detail23derives_boost_exceptionIT_EERKSD_E4typeESG_ONS_10error_infoIT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(40) %7)
          to label %39 unwind label %52

39:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #9
  %40 = tail call ptr @__errno_location() #10
  call void @_ZN5boost10error_infoIN7siconos14tag_errno_codeEiEC2ERKi(ptr noundef nonnull align 8 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(4) %40)
  %41 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boostlsIN7siconos9exceptionENS1_14tag_errno_codeEiEENS_9enable_ifINS_16exception_detail23derives_boost_exceptionIT_EERKS7_E4typeESA_ONS_10error_infoIT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull align 8 dereferenceable(12) %10)
          to label %42 unwind label %54

42:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %43 = load i32, ptr %40, align 4, !tbaa !16
  %44 = call ptr @strerror(i32 noundef %43) #9
  store ptr %44, ptr %12, align 8, !tbaa !17
  call void @_ZN5boost10error_infoIN7siconos21tag_errno_descriptionEPKcEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  %45 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boostlsIN7siconos9exceptionENS1_21tag_errno_descriptionEPKcEENS_9enable_ifINS_16exception_detail23derives_boost_exceptionIT_EERKS9_E4typeESC_ONS_10error_infoIT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %46 unwind label %56

46:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #9
  call void @_ZN5boost15source_locationC2EPKcjS2_j(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull @.str.1, i32 noundef 14, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN17MultipleImpactNSLC2Edddj, i32 noundef 0) #9
  invoke void @_ZN5boost15throw_exceptionIN7siconos9exceptionEEEvRKT_RKNS_15source_locationE(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull align 8 dereferenceable(24) %13) #11
          to label %47 unwind label %58

47:                                               ; preds = %46
  unreachable

48:                                               ; preds = %35
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %64

50:                                               ; preds = %36
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %63

52:                                               ; preds = %37
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %62

54:                                               ; preds = %39
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %61

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

58:                                               ; preds = %46
  %59 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #9
  br label %60

60:                                               ; preds = %58, %56
  %.pn34 = phi { ptr, i32 } [ %59, %58 ], [ %57, %56 ]
  call void @_ZN5boost16exception_detail15error_info_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #9
  br label %61

61:                                               ; preds = %60, %54
  %.pn34.pn = phi { ptr, i32 } [ %.pn34, %60 ], [ %55, %54 ]
  call void @_ZN5boost16exception_detail15error_info_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %10) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #9
  br label %62

62:                                               ; preds = %61, %52
  %.pn34.pn.pn = phi { ptr, i32 } [ %.pn34.pn, %61 ], [ %53, %52 ]
  call void @_ZN5boost10error_infoIN7siconos7messageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  br label %63

63:                                               ; preds = %62, %50
  %.pn34.pn.pn.pn = phi { ptr, i32 } [ %.pn34.pn.pn, %62 ], [ %51, %50 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #9
  call void @_ZN7siconos9exceptionD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  br label %64

64:                                               ; preds = %63, %48
  %.pn34.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn34.pn.pn.pn, %63 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #9
  br label %130

65:                                               ; preds = %5
  %66 = fcmp olt double %2, 0.000000e+00
  br i1 %66, label %67, label %97

67:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %14) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %14, i8 0, i64 48, i1 false)
  invoke void @_ZN7siconos9exceptionC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %68 unwind label %80

68:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %15) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %69 unwind label %82

69:                                               ; preds = %68
  call void @_ZN5boost10error_infoIN7siconos7messageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2EOS8_(ptr noundef nonnull align 8 dereferenceable(40) %15, ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  %70 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boostlsIN7siconos9exceptionENS1_7messageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_9enable_ifINS_16exception_detail23derives_boost_exceptionIT_EERKSD_E4typeESG_ONS_10error_infoIT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(40) %15)
          to label %71 unwind label %84

71:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #9
  %72 = tail call ptr @__errno_location() #10
  call void @_ZN5boost10error_infoIN7siconos14tag_errno_codeEiEC2ERKi(ptr noundef nonnull align 8 dereferenceable(12) %18, ptr noundef nonnull align 4 dereferenceable(4) %72)
  %73 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boostlsIN7siconos9exceptionENS1_14tag_errno_codeEiEENS_9enable_ifINS_16exception_detail23derives_boost_exceptionIT_EERKS7_E4typeESA_ONS_10error_infoIT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %70, ptr noundef nonnull align 8 dereferenceable(12) %18)
          to label %74 unwind label %86

74:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #9
  %75 = load i32, ptr %72, align 4, !tbaa !16
  %76 = call ptr @strerror(i32 noundef %75) #9
  store ptr %76, ptr %20, align 8, !tbaa !17
  call void @_ZN5boost10error_infoIN7siconos21tag_errno_descriptionEPKcEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  %77 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boostlsIN7siconos9exceptionENS1_21tag_errno_descriptionEPKcEENS_9enable_ifINS_16exception_detail23derives_boost_exceptionIT_EERKS9_E4typeESC_ONS_10error_infoIT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef nonnull align 8 dereferenceable(16) %19)
          to label %78 unwind label %88

78:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %21) #9
  call void @_ZN5boost15source_locationC2EPKcjS2_j(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull @.str.1, i32 noundef 16, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN17MultipleImpactNSLC2Edddj, i32 noundef 0) #9
  invoke void @_ZN5boost15throw_exceptionIN7siconos9exceptionEEEvRKT_RKNS_15source_locationE(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef nonnull align 8 dereferenceable(24) %21) #11
          to label %79 unwind label %90

79:                                               ; preds = %78
  unreachable

80:                                               ; preds = %67
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %96

82:                                               ; preds = %68
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %95

84:                                               ; preds = %69
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %94

86:                                               ; preds = %71
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %93

88:                                               ; preds = %74
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %92

90:                                               ; preds = %78
  %91 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #9
  br label %92

92:                                               ; preds = %90, %88
  %.pn28 = phi { ptr, i32 } [ %91, %90 ], [ %89, %88 ]
  call void @_ZN5boost16exception_detail15error_info_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #9
  br label %93

93:                                               ; preds = %92, %86
  %.pn28.pn = phi { ptr, i32 } [ %.pn28, %92 ], [ %87, %86 ]
  call void @_ZN5boost16exception_detail15error_info_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %18) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #9
  br label %94

94:                                               ; preds = %93, %84
  %.pn28.pn.pn = phi { ptr, i32 } [ %.pn28.pn, %93 ], [ %85, %84 ]
  call void @_ZN5boost10error_infoIN7siconos7messageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  br label %95

95:                                               ; preds = %94, %82
  %.pn28.pn.pn.pn = phi { ptr, i32 } [ %.pn28.pn.pn, %94 ], [ %83, %82 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #9
  call void @_ZN7siconos9exceptionD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #9
  br label %96

96:                                               ; preds = %95, %80
  %.pn28.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn28.pn.pn.pn, %95 ], [ %81, %80 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %14) #9
  br label %130

97:                                               ; preds = %65
  %98 = fcmp olt double %3, 0.000000e+00
  br i1 %98, label %99, label %129

99:                                               ; preds = %97
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %22) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %22, i8 0, i64 48, i1 false)
  invoke void @_ZN7siconos9exceptionC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %100 unwind label %112

100:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %23) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %25) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %101 unwind label %114

101:                                              ; preds = %100
  call void @_ZN5boost10error_infoIN7siconos7messageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2EOS8_(ptr noundef nonnull align 8 dereferenceable(40) %23, ptr noundef nonnull align 8 dereferenceable(32) %24) #9
  %102 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boostlsIN7siconos9exceptionENS1_7messageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_9enable_ifINS_16exception_detail23derives_boost_exceptionIT_EERKSD_E4typeESG_ONS_10error_infoIT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(40) %23)
          to label %103 unwind label %116

103:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #9
  %104 = tail call ptr @__errno_location() #10
  call void @_ZN5boost10error_infoIN7siconos14tag_errno_codeEiEC2ERKi(ptr noundef nonnull align 8 dereferenceable(12) %26, ptr noundef nonnull align 4 dereferenceable(4) %104)
  %105 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boostlsIN7siconos9exceptionENS1_14tag_errno_codeEiEENS_9enable_ifINS_16exception_detail23derives_boost_exceptionIT_EERKS7_E4typeESA_ONS_10error_infoIT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %102, ptr noundef nonnull align 8 dereferenceable(12) %26)
          to label %106 unwind label %118

106:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #9
  %107 = load i32, ptr %104, align 4, !tbaa !16
  %108 = call ptr @strerror(i32 noundef %107) #9
  store ptr %108, ptr %28, align 8, !tbaa !17
  call void @_ZN5boost10error_infoIN7siconos21tag_errno_descriptionEPKcEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #9
  %109 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boostlsIN7siconos9exceptionENS1_21tag_errno_descriptionEPKcEENS_9enable_ifINS_16exception_detail23derives_boost_exceptionIT_EERKS9_E4typeESC_ONS_10error_infoIT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %105, ptr noundef nonnull align 8 dereferenceable(16) %27)
          to label %110 unwind label %120

110:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %29) #9
  call void @_ZN5boost15source_locationC2EPKcjS2_j(ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull @.str.1, i32 noundef 18, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN17MultipleImpactNSLC2Edddj, i32 noundef 0) #9
  invoke void @_ZN5boost15throw_exceptionIN7siconos9exceptionEEEvRKT_RKNS_15source_locationE(ptr noundef nonnull align 8 dereferenceable(8) %109, ptr noundef nonnull align 8 dereferenceable(24) %29) #11
          to label %111 unwind label %122

111:                                              ; preds = %110
  unreachable

112:                                              ; preds = %99
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %128

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

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

118:                                              ; preds = %103
  %119 = landingpad { ptr, i32 }
          cleanup
  br label %125

120:                                              ; preds = %106
  %121 = landingpad { ptr, i32 }
          cleanup
  br label %124

122:                                              ; preds = %110
  %123 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #9
  br label %124

124:                                              ; preds = %122, %120
  %.pn = phi { ptr, i32 } [ %123, %122 ], [ %121, %120 ]
  call void @_ZN5boost16exception_detail15error_info_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #9
  br label %125

125:                                              ; preds = %124, %118
  %.pn.pn = phi { ptr, i32 } [ %.pn, %124 ], [ %119, %118 ]
  call void @_ZN5boost16exception_detail15error_info_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %26) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #9
  br label %126

126:                                              ; preds = %125, %116
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %125 ], [ %117, %116 ]
  call void @_ZN5boost10error_infoIN7siconos7messageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %23) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #9
  br label %127

127:                                              ; preds = %126, %114
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %126 ], [ %115, %114 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %23) #9
  call void @_ZN7siconos9exceptionD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #9
  br label %128

128:                                              ; preds = %127, %112
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %127 ], [ %113, %112 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %22) #9
  br label %130

129:                                              ; preds = %97
  ret void

130:                                              ; preds = %128, %96, %64
  %.pn34.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn34.pn.pn.pn.pn, %64 ], [ %.pn28.pn.pn.pn.pn, %96 ], [ %.pn.pn.pn.pn.pn, %128 ]
  call void @_ZN12NonSmoothLawD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %0) #9
  resume { ptr, i32 } %.pn34.pn.pn.pn.pn.pn
}

; Function Attrs: mustprogress noreturn uwtable
declare dso_local void @_ZN5boost15throw_exceptionIN7siconos9exceptionEEEvRKT_RKNS_15source_locationE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boostlsIN7siconos9exceptionENS1_21tag_errno_descriptionEPKcEENS_9enable_ifINS_16exception_detail23derives_boost_exceptionIT_EERKS9_E4typeESC_ONS_10error_infoIT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boostlsIN7siconos9exceptionENS1_14tag_errno_codeEiEENS_9enable_ifINS_16exception_detail23derives_boost_exceptionIT_EERKS7_E4typeESA_ONS_10error_infoIT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boostlsIN7siconos9exceptionENS1_7messageENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEENS_9enable_ifINS_16exception_detail23derives_boost_exceptionIT_EERKSD_E4typeESG_ONS_10error_infoIT0_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7siconos9exceptionC1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 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 #1 align 2

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

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare ptr @__errno_location() local_unnamed_addr #6

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

; Function Attrs: nounwind
declare ptr @strerror(i32 noundef) local_unnamed_addr #7

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

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !13, i64 16}
!9 = !{!"_ZTS17MultipleImpactNSL", !10, i64 0, !13, i64 16, !13, i64 24, !13, i64 32}
!10 = !{!"_ZTS12NonSmoothLaw", !11, i64 8}
!11 = !{!"int", !12, i64 0}
!12 = !{!"omnipotent char", !7, i64 0}
!13 = !{!"double", !12, i64 0}
!14 = !{!9, !13, i64 24}
!15 = !{!9, !13, i64 32}
!16 = !{!11, !11, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"any pointer", !12, i64 0}


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