; LLVM IR from sympiler/nasoq :: src/nasoq_step.ll (ZN5nasoq9NasoqStep10solve_stepEv)

; 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.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"struct.nasoq::Nasoq" = type { %"class.std::__cxx11::basic_string", i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, double, double, double, double, double, double, double, double, double, i32, i32, i32, double, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i64, i32, ptr, ptr, ptr, ptr, ptr, ptr, double, double, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::vector", ptr, i32, i32, i32, i32, i32, i32, i32, i32, ptr, double, double, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, double, double }
%"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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.nasoq::NasoqStep" = type <{ %"struct.nasoq::Nasoq", i32, i32, i32, i32, i32, [4 x i8], double, double, double, i32, i32, i32, [4 x i8] }>

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [26 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [67 x i8], align 1
@__PRETTY_FUNCTION__._ZN5nasoq9NasoqStep10solve_stepEv = external hidden unnamed_addr constant [35 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [30 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN5nasoq9NasoqStep10solve_stepEv(ptr noundef nonnull align 8 dereferenceable(684) %0) #1 align 2 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %6 = load ptr, ptr %3, align 8
  %7 = getelementptr inbounds %"struct.nasoq::Nasoq", ptr %6, i32 0, i32 58
  %8 = load i32, ptr %7, align 4, !tbaa !9
  %9 = getelementptr inbounds %"struct.nasoq::Nasoq", ptr %6, i32 0, i32 59
  %10 = load i32, ptr %9, align 8, !tbaa !22
  %11 = icmp sgt i32 %8, %10
  br i1 %11, label %12, label %18

12:                                               ; preds = %1
  %13 = getelementptr inbounds %"struct.nasoq::Nasoq", ptr %6, i32 0, i32 57
  store i32 0, ptr %13, align 8, !tbaa !23
  %14 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 11
  store i32 1, ptr %14, align 4, !tbaa !24
  %15 = getelementptr inbounds %"struct.nasoq::Nasoq", ptr %6, i32 0, i32 57
  %16 = load i32, ptr %15, align 8, !tbaa !23
  %17 = call noundef i32 @_ZN5nasoq9NasoqStep17check_step_statusEi(ptr noundef nonnull align 8 dereferenceable(684) %6, i32 noundef %16)
  store i32 %17, ptr %2, align 4
  br label %213

18:                                               ; preds = %1
  %19 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 3
  %20 = load i32, ptr %19, align 8, !tbaa !27
  %21 = icmp eq i32 %20, 1
  br i1 %21, label %22, label %51

22:                                               ; preds = %18
  %23 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 1
  %24 = call noundef i32 @_ZN5nasoq5Nasoq18primal_feasibilityERi(ptr noundef nonnull align 8 dereferenceable(624) %6, ptr noundef nonnull align 4 dereferenceable(4) %23)
  %25 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 4
  store i32 %24, ptr %25, align 4, !tbaa !28
  %26 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 4
  %27 = load i32, ptr %26, align 4, !tbaa !28
  %28 = icmp eq i32 %27, 0
  br i1 %28, label %29, label %35

29:                                               ; preds = %22
  %30 = getelementptr inbounds %"struct.nasoq::Nasoq", ptr %6, i32 0, i32 57
  store i32 1, ptr %30, align 8, !tbaa !23
  %31 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 11
  store i32 1, ptr %31, align 4, !tbaa !24
  %32 = getelementptr inbounds %"struct.nasoq::Nasoq", ptr %6, i32 0, i32 57
  %33 = load i32, ptr %32, align 8, !tbaa !23
  %34 = call noundef i32 @_ZN5nasoq9NasoqStep17check_step_statusEi(ptr noundef nonnull align 8 dereferenceable(684) %6, i32 noundef %33)
  store i32 %34, ptr %2, align 4
  br label %213

35:                                               ; preds = %22
  %36 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 1
  %37 = load i32, ptr %36, align 8, !tbaa !29
  %38 = icmp eq i32 %37, -1
  br i1 %38, label %39, label %46

39:                                               ; preds = %35
  %40 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  %41 = getelementptr inbounds %"struct.nasoq::Nasoq", ptr %6, i32 0, i32 57
  store i32 0, ptr %41, align 8, !tbaa !23
  %42 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 11
  store i32 1, ptr %42, align 4, !tbaa !24
  %43 = getelementptr inbounds %"struct.nasoq::Nasoq", ptr %6, i32 0, i32 57
  %44 = load i32, ptr %43, align 8, !tbaa !23
  %45 = call noundef i32 @_ZN5nasoq9NasoqStep17check_step_statusEi(ptr noundef nonnull align 8 dereferenceable(684) %6, i32 noundef %44)
  store i32 %45, ptr %2, align 4
  br label %213

46:                                               ; preds = %35
  br label %47

47:                                               ; preds = %46
  %48 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 1
  %49 = load i32, ptr %48, align 8, !tbaa !29
  %50 = call noundef i32 @_ZN5nasoq5Nasoq10update_rhsEi(ptr noundef nonnull align 8 dereferenceable(624) %6, i32 noundef %49)
  br label %51

51:                                               ; preds = %47, %18
  %52 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 10
  %53 = load i32, ptr %52, align 8, !tbaa !30
  %54 = call noundef i32 @_ZN5nasoq5Nasoq9solve_kktENS_10solve_typeE(ptr noundef nonnull align 8 dereferenceable(624) %6, i32 noundef %53)
  %55 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 1
  %56 = load i32, ptr %55, align 8, !tbaa !29
  %57 = call noundef double @_ZN5nasoq5Nasoq18primal_step_lengthEi(ptr noundef nonnull align 8 dereferenceable(624) %6, i32 noundef %56)
  %58 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 7
  store double %57, ptr %58, align 8, !tbaa !31
  %59 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 2
  %60 = call noundef double @_ZN5nasoq5Nasoq16dual_step_lengthERi(ptr noundef nonnull align 8 dereferenceable(624) %6, ptr noundef nonnull align 4 dereferenceable(4) %59)
  %61 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 8
  store double %60, ptr %61, align 8, !tbaa !32
  %62 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 7
  %63 = load double, ptr %62, align 8, !tbaa !31
  %64 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 8
  %65 = load double, ptr %64, align 8, !tbaa !32
  %66 = fcmp ogt double %63, %65
  br i1 %66, label %67, label %70

67:                                               ; preds = %51
  %68 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 8
  %69 = load double, ptr %68, align 8, !tbaa !32
  br label %73

70:                                               ; preds = %51
  %71 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 7
  %72 = load double, ptr %71, align 8, !tbaa !31
  br label %73

73:                                               ; preds = %70, %67
  %74 = phi double [ %69, %67 ], [ %72, %70 ]
  %75 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 9
  store double %74, ptr %75, align 8, !tbaa !33
  %76 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 9
  %77 = load double, ptr %76, align 8, !tbaa !33
  %78 = call noundef double @_ZNSt14numeric_limitsIdE3maxEv() #6
  %79 = fcmp oeq double %77, %78
  br i1 %79, label %80, label %86

80:                                               ; preds = %73
  %81 = getelementptr inbounds %"struct.nasoq::Nasoq", ptr %6, i32 0, i32 57
  store i32 0, ptr %81, align 8, !tbaa !23
  %82 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 11
  store i32 1, ptr %82, align 4, !tbaa !24
  %83 = getelementptr inbounds %"struct.nasoq::Nasoq", ptr %6, i32 0, i32 57
  %84 = load i32, ptr %83, align 8, !tbaa !23
  %85 = call noundef i32 @_ZN5nasoq9NasoqStep17check_step_statusEi(ptr noundef nonnull align 8 dereferenceable(684) %6, i32 noundef %84)
  store i32 %85, ptr %2, align 4
  br label %213

86:                                               ; preds = %73
  %87 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 7
  %88 = load double, ptr %87, align 8, !tbaa !31
  %89 = call noundef double @_ZNSt14numeric_limitsIdE3maxEv() #6
  %90 = fcmp oeq double %88, %89
  br i1 %90, label %91, label %133

91:                                               ; preds = %86
  %92 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 9
  %93 = load double, ptr %92, align 8, !tbaa !33
  %94 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 8
  %95 = load double, ptr %94, align 8, !tbaa !32
  %96 = fcmp oeq double %93, %95
  br i1 %96, label %97, label %133

97:                                               ; preds = %91
  %98 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 9
  %99 = load double, ptr %98, align 8, !tbaa !33
  call void @_ZN5nasoq5Nasoq11update_dualEd(ptr noundef nonnull align 8 dereferenceable(624) %6, double noundef %99)
  %100 = getelementptr inbounds %"struct.nasoq::Nasoq", ptr %6, i32 0, i32 48
  %101 = load ptr, ptr %100, align 8, !tbaa !34
  %102 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 1
  %103 = load i32, ptr %102, align 8, !tbaa !29
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds double, ptr %101, i64 %104
  %106 = load double, ptr %105, align 8, !tbaa !35
  %107 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 9
  %108 = load double, ptr %107, align 8, !tbaa !33
  %109 = fadd double %106, %108
  %110 = getelementptr inbounds %"struct.nasoq::Nasoq", ptr %6, i32 0, i32 48
  %111 = load ptr, ptr %110, align 8, !tbaa !34
  %112 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 1
  %113 = load i32, ptr %112, align 8, !tbaa !29
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds double, ptr %111, i64 %114
  store double %109, ptr %115, align 8, !tbaa !35
  %116 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 3
  store i32 0, ptr %116, align 8, !tbaa !27
  %117 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 3
  %118 = load i32, ptr %117, align 8, !tbaa !27
  %119 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 2
  %120 = load i32, ptr %119, align 4, !tbaa !36
  call void @_ZN5nasoq5Nasoq8edit_kktEii(ptr noundef nonnull align 8 dereferenceable(624) %6, i32 noundef %118, i32 noundef %120)
  %121 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 10
  store i32 2, ptr %121, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  %122 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 3
  %123 = load i32, ptr %122, align 8, !tbaa !27
  %124 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 2
  %125 = load i32, ptr %124, align 4, !tbaa !36
  %126 = call noundef i32 @_ZN5nasoq5Nasoq17update_active_setEii(ptr noundef nonnull align 8 dereferenceable(624) %6, i32 noundef %123, i32 noundef %125)
  store i32 %126, ptr %4, align 4, !tbaa !37
  %127 = load i32, ptr %4, align 4, !tbaa !37
  %128 = icmp eq i32 %127, 1
  br i1 %128, label %129, label %130

129:                                              ; preds = %97
  br label %132

130:                                              ; preds = %97
  call void @__assert_fail(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 122, ptr noundef @__PRETTY_FUNCTION__._ZN5nasoq9NasoqStep10solve_stepEv) #7
  unreachable

131:                                              ; No predecessors!
  br label %132

132:                                              ; preds = %131, %129
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  br label %207

133:                                              ; preds = %91, %86
  %134 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 9
  %135 = load double, ptr %134, align 8, !tbaa !33
  call void @_ZN5nasoq5Nasoq13update_primalEd(ptr noundef nonnull align 8 dereferenceable(624) %6, double noundef %135)
  %136 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 9
  %137 = load double, ptr %136, align 8, !tbaa !33
  call void @_ZN5nasoq5Nasoq11update_dualEd(ptr noundef nonnull align 8 dereferenceable(624) %6, double noundef %137)
  %138 = getelementptr inbounds %"struct.nasoq::Nasoq", ptr %6, i32 0, i32 48
  %139 = load ptr, ptr %138, align 8, !tbaa !34
  %140 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 1
  %141 = load i32, ptr %140, align 8, !tbaa !29
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds double, ptr %139, i64 %142
  %144 = load double, ptr %143, align 8, !tbaa !35
  %145 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 9
  %146 = load double, ptr %145, align 8, !tbaa !33
  %147 = fadd double %144, %146
  %148 = getelementptr inbounds %"struct.nasoq::Nasoq", ptr %6, i32 0, i32 48
  %149 = load ptr, ptr %148, align 8, !tbaa !34
  %150 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 1
  %151 = load i32, ptr %150, align 8, !tbaa !29
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds double, ptr %149, i64 %152
  store double %147, ptr %153, align 8, !tbaa !35
  %154 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 9
  %155 = load double, ptr %154, align 8, !tbaa !33
  %156 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 7
  %157 = load double, ptr %156, align 8, !tbaa !31
  %158 = fcmp oeq double %155, %157
  br i1 %158, label %159, label %171

159:                                              ; preds = %133
  %160 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 3
  store i32 1, ptr %160, align 8, !tbaa !27
  %161 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 3
  %162 = load i32, ptr %161, align 8, !tbaa !27
  %163 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 1
  %164 = load i32, ptr %163, align 8, !tbaa !29
  call void @_ZN5nasoq5Nasoq8edit_kktEii(ptr noundef nonnull align 8 dereferenceable(624) %6, i32 noundef %162, i32 noundef %164)
  %165 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 10
  store i32 2, ptr %165, align 8, !tbaa !30
  %166 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 3
  %167 = load i32, ptr %166, align 8, !tbaa !27
  %168 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 1
  %169 = load i32, ptr %168, align 8, !tbaa !29
  %170 = call noundef i32 @_ZN5nasoq5Nasoq17update_active_setEii(ptr noundef nonnull align 8 dereferenceable(624) %6, i32 noundef %167, i32 noundef %169)
  br label %196

171:                                              ; preds = %133
  %172 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 9
  %173 = load double, ptr %172, align 8, !tbaa !33
  %174 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 8
  %175 = load double, ptr %174, align 8, !tbaa !32
  %176 = fcmp oeq double %173, %175
  br i1 %176, label %177, label %195

177:                                              ; preds = %171
  %178 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 3
  store i32 0, ptr %178, align 8, !tbaa !27
  %179 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 3
  %180 = load i32, ptr %179, align 8, !tbaa !27
  %181 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 2
  %182 = load i32, ptr %181, align 4, !tbaa !36
  call void @_ZN5nasoq5Nasoq8edit_kktEii(ptr noundef nonnull align 8 dereferenceable(624) %6, i32 noundef %180, i32 noundef %182)
  %183 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 10
  store i32 2, ptr %183, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %184 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 3
  %185 = load i32, ptr %184, align 8, !tbaa !27
  %186 = getelementptr inbounds %"struct.nasoq::NasoqStep", ptr %6, i32 0, i32 2
  %187 = load i32, ptr %186, align 4, !tbaa !36
  %188 = call noundef i32 @_ZN5nasoq5Nasoq17update_active_setEii(ptr noundef nonnull align 8 dereferenceable(624) %6, i32 noundef %185, i32 noundef %187)
  store i32 %188, ptr %5, align 4, !tbaa !37
  %189 = load i32, ptr %5, align 4, !tbaa !37
  %190 = icmp eq i32 %189, 1
  br i1 %190, label %191, label %192

191:                                              ; preds = %177
  br label %194

192:                                              ; preds = %177
  call void @__assert_fail(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 147, ptr noundef @__PRETTY_FUNCTION__._ZN5nasoq9NasoqStep10solve_stepEv) #7
  unreachable

193:                                              ; No predecessors!
  br label %194

194:                                              ; preds = %193, %191
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  br label %195

195:                                              ; preds = %194, %171
  br label %196

196:                                              ; preds = %195, %159
  %197 = getelementptr inbounds %"struct.nasoq::Nasoq", ptr %6, i32 0, i32 13
  %198 = load i32, ptr %197, align 8, !tbaa !38
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds %"struct.nasoq::Nasoq", ptr %6, i32 0, i32 55
  %201 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %200) #6
  %202 = icmp eq i64 %199, %201
  br i1 %202, label %203, label %204

203:                                              ; preds = %196
  br label %206

204:                                              ; preds = %196
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.2, i32 noundef 149, ptr noundef @__PRETTY_FUNCTION__._ZN5nasoq9NasoqStep10solve_stepEv) #7
  unreachable

205:                                              ; No predecessors!
  br label %206

206:                                              ; preds = %205, %203
  br label %207

207:                                              ; preds = %206, %132
  br label %208

208:                                              ; preds = %207
  %209 = getelementptr inbounds %"struct.nasoq::Nasoq", ptr %6, i32 0, i32 57
  store i32 0, ptr %209, align 8, !tbaa !23
  %210 = getelementptr inbounds %"struct.nasoq::Nasoq", ptr %6, i32 0, i32 57
  %211 = load i32, ptr %210, align 8, !tbaa !23
  %212 = call noundef i32 @_ZN5nasoq9NasoqStep17check_step_statusEi(ptr noundef nonnull align 8 dereferenceable(684) %6, i32 noundef %211)
  store i32 %212, ptr %2, align 4
  br label %213

213:                                              ; preds = %208, %80, %39, %29, %12
  %214 = load i32, ptr %2, align 4
  ret i32 %214
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5nasoq9NasoqStep17check_step_statusEi(ptr noundef nonnull align 8 dereferenceable(684), i32 noundef) #1 align 2

declare noundef i32 @_ZN5nasoq5Nasoq18primal_feasibilityERi(ptr noundef nonnull align 8 dereferenceable(624), ptr noundef nonnull align 4 dereferenceable(4)) #2

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

declare noundef i32 @_ZN5nasoq5Nasoq10update_rhsEi(ptr noundef nonnull align 8 dereferenceable(624), i32 noundef) #2

declare noundef i32 @_ZN5nasoq5Nasoq9solve_kktENS_10solve_typeE(ptr noundef nonnull align 8 dereferenceable(624), i32 noundef) #2

declare noundef double @_ZN5nasoq5Nasoq18primal_step_lengthEi(ptr noundef nonnull align 8 dereferenceable(624), i32 noundef) #2

declare noundef double @_ZN5nasoq5Nasoq16dual_step_lengthERi(ptr noundef nonnull align 8 dereferenceable(624), ptr noundef nonnull align 4 dereferenceable(4)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNSt14numeric_limitsIdE3maxEv() #4 align 2

declare void @_ZN5nasoq5Nasoq11update_dualEd(ptr noundef nonnull align 8 dereferenceable(624), double noundef) #2

declare void @_ZN5nasoq5Nasoq8edit_kktEii(ptr noundef nonnull align 8 dereferenceable(624), i32 noundef, i32 noundef) #2

declare noundef i32 @_ZN5nasoq5Nasoq17update_active_setEii(ptr noundef nonnull align 8 dereferenceable(624), i32 noundef, i32 noundef) #2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #5

declare void @_ZN5nasoq5Nasoq13update_primalEd(ptr noundef nonnull align 8 dereferenceable(624), double noundef) #2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 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 = { noreturn 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 #6 = { nounwind }
attributes #7 = { 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, !14, i64 484}
!10 = !{!"_ZTSN5nasoq5NasoqE", !11, i64 0, !14, i64 32, !14, i64 36, !14, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !14, i64 120, !15, i64 128, !15, i64 136, !15, i64 144, !15, i64 152, !15, i64 160, !15, i64 168, !15, i64 176, !15, i64 184, !15, i64 192, !14, i64 200, !14, i64 204, !14, i64 208, !15, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !6, i64 296, !13, i64 304, !14, i64 312, !6, i64 320, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !6, i64 360, !15, i64 368, !15, i64 376, !6, i64 384, !6, i64 392, !6, i64 400, !6, i64 408, !6, i64 416, !6, i64 424, !6, i64 432, !6, i64 440, !16, i64 448, !6, i64 472, !14, i64 480, !14, i64 484, !14, i64 488, !14, i64 492, !14, i64 496, !14, i64 500, !14, i64 504, !14, i64 508, !6, i64 512, !15, i64 520, !15, i64 528, !20, i64 536, !21, i64 540, !6, i64 544, !6, i64 552, !6, i64 560, !6, i64 568, !6, i64 576, !6, i64 584, !6, i64 592, !6, i64 600, !15, i64 608, !15, i64 616}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !13, i64 8, !7, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!"double", !7, i64 0}
!16 = !{!"_ZTSSt6vectorIiSaIiEE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_ZTSN5nasoq10nasoq_modeE", !7, i64 0}
!21 = !{!"_ZTSN5nasoq12nasoq_statusE", !7, i64 0}
!22 = !{!10, !14, i64 488}
!23 = !{!10, !14, i64 480}
!24 = !{!25, !14, i64 676}
!25 = !{!"_ZTSN5nasoq9NasoqStepE", !10, i64 0, !14, i64 624, !14, i64 628, !14, i64 632, !14, i64 636, !14, i64 640, !15, i64 648, !15, i64 656, !15, i64 664, !26, i64 672, !14, i64 676, !14, i64 680}
!26 = !{!"_ZTSN5nasoq10solve_typeE", !7, i64 0}
!27 = !{!25, !14, i64 632}
!28 = !{!25, !14, i64 636}
!29 = !{!25, !14, i64 624}
!30 = !{!25, !26, i64 672}
!31 = !{!25, !15, i64 648}
!32 = !{!25, !15, i64 656}
!33 = !{!25, !15, i64 664}
!34 = !{!10, !6, i64 392}
!35 = !{!15, !15, i64 0}
!36 = !{!25, !14, i64 628}
!37 = !{!14, !14, i64 0}
!38 = !{!10, !14, i64 120}


; 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.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [26 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [67 x i8], align 1
@__PRETTY_FUNCTION__._ZN5nasoq9NasoqStep10solve_stepEv = external hidden unnamed_addr constant [35 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [30 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN5nasoq9NasoqStep10solve_stepEv(ptr noundef nonnull align 8 dereferenceable(684) %0) local_unnamed_addr #0 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 484
  %3 = load i32, ptr %2, align 4, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %0, i64 488
  %5 = load i32, ptr %4, align 8, !tbaa !21
  %6 = icmp sgt i32 %3, %5
  br i1 %6, label %7, label %10

7:                                                ; preds = %1
  %8 = getelementptr inbounds i8, ptr %0, i64 480
  store i32 0, ptr %8, align 8, !tbaa !22
  %9 = getelementptr inbounds i8, ptr %0, i64 676
  store i32 1, ptr %9, align 4, !tbaa !23
  br label %108

10:                                               ; preds = %1
  %11 = getelementptr inbounds i8, ptr %0, i64 632
  %12 = load i32, ptr %11, align 8, !tbaa !26
  %13 = icmp eq i32 %12, 1
  br i1 %13, label %14, label %31

14:                                               ; preds = %10
  %15 = getelementptr inbounds i8, ptr %0, i64 624
  %16 = tail call noundef i32 @_ZN5nasoq5Nasoq18primal_feasibilityERi(ptr noundef nonnull align 8 dereferenceable(624) %0, ptr noundef nonnull align 4 dereferenceable(4) %15)
  %17 = getelementptr inbounds i8, ptr %0, i64 636
  store i32 %16, ptr %17, align 4, !tbaa !27
  %18 = icmp eq i32 %16, 0
  br i1 %18, label %19, label %22

19:                                               ; preds = %14
  %20 = getelementptr inbounds i8, ptr %0, i64 480
  store i32 1, ptr %20, align 8, !tbaa !22
  %21 = getelementptr inbounds i8, ptr %0, i64 676
  store i32 1, ptr %21, align 4, !tbaa !23
  br label %108

22:                                               ; preds = %14
  %23 = load i32, ptr %15, align 8, !tbaa !28
  %24 = icmp eq i32 %23, -1
  br i1 %24, label %25, label %29

25:                                               ; preds = %22
  %26 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
  %27 = getelementptr inbounds i8, ptr %0, i64 480
  store i32 0, ptr %27, align 8, !tbaa !22
  %28 = getelementptr inbounds i8, ptr %0, i64 676
  store i32 1, ptr %28, align 4, !tbaa !23
  br label %108

29:                                               ; preds = %22
  %30 = tail call noundef i32 @_ZN5nasoq5Nasoq10update_rhsEi(ptr noundef nonnull align 8 dereferenceable(624) %0, i32 noundef %23)
  br label %31

31:                                               ; preds = %29, %10
  %32 = getelementptr inbounds i8, ptr %0, i64 672
  %33 = load i32, ptr %32, align 8, !tbaa !29
  %34 = tail call noundef i32 @_ZN5nasoq5Nasoq9solve_kktENS_10solve_typeE(ptr noundef nonnull align 8 dereferenceable(624) %0, i32 noundef %33)
  %35 = getelementptr inbounds i8, ptr %0, i64 624
  %36 = load i32, ptr %35, align 8, !tbaa !28
  %37 = tail call noundef double @_ZN5nasoq5Nasoq18primal_step_lengthEi(ptr noundef nonnull align 8 dereferenceable(624) %0, i32 noundef %36)
  %38 = getelementptr inbounds i8, ptr %0, i64 648
  store double %37, ptr %38, align 8, !tbaa !30
  %39 = getelementptr inbounds i8, ptr %0, i64 628
  %40 = tail call noundef double @_ZN5nasoq5Nasoq16dual_step_lengthERi(ptr noundef nonnull align 8 dereferenceable(624) %0, ptr noundef nonnull align 4 dereferenceable(4) %39)
  %41 = getelementptr inbounds i8, ptr %0, i64 656
  store double %40, ptr %41, align 8, !tbaa !31
  %42 = load double, ptr %38, align 8, !tbaa !30
  %43 = fcmp ogt double %42, %40
  %. = select i1 %43, double %40, double %42
  %44 = getelementptr inbounds i8, ptr %0, i64 664
  store double %., ptr %44, align 8, !tbaa !32
  %45 = tail call noundef double @_ZNSt14numeric_limitsIdE3maxEv() #5
  %46 = fcmp oeq double %., %45
  br i1 %46, label %47, label %50

47:                                               ; preds = %31
  %48 = getelementptr inbounds i8, ptr %0, i64 480
  store i32 0, ptr %48, align 8, !tbaa !22
  %49 = getelementptr inbounds i8, ptr %0, i64 676
  store i32 1, ptr %49, align 4, !tbaa !23
  br label %108

50:                                               ; preds = %31
  %51 = load double, ptr %38, align 8, !tbaa !30
  %52 = tail call noundef double @_ZNSt14numeric_limitsIdE3maxEv() #5
  %53 = fcmp oeq double %51, %52
  %.pre = load double, ptr %44, align 8, !tbaa !32
  %54 = load double, ptr %41, align 8
  %55 = fcmp oeq double %.pre, %54
  %or.cond = select i1 %53, i1 %55, i1 false
  br i1 %or.cond, label %56, label %71

56:                                               ; preds = %50
  tail call void @_ZN5nasoq5Nasoq11update_dualEd(ptr noundef nonnull align 8 dereferenceable(624) %0, double noundef %.pre)
  %57 = getelementptr inbounds i8, ptr %0, i64 392
  %58 = load ptr, ptr %57, align 8, !tbaa !33
  %59 = load i32, ptr %35, align 8, !tbaa !28
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds double, ptr %58, i64 %60
  %62 = load double, ptr %61, align 8, !tbaa !34
  %63 = load double, ptr %44, align 8, !tbaa !32
  %64 = fadd double %62, %63
  store double %64, ptr %61, align 8, !tbaa !34
  store i32 0, ptr %11, align 8, !tbaa !26
  %65 = load i32, ptr %39, align 4, !tbaa !35
  tail call void @_ZN5nasoq5Nasoq8edit_kktEii(ptr noundef nonnull align 8 dereferenceable(624) %0, i32 noundef 0, i32 noundef %65)
  store i32 2, ptr %32, align 8, !tbaa !29
  %66 = load i32, ptr %11, align 8, !tbaa !26
  %67 = load i32, ptr %39, align 4, !tbaa !35
  %68 = tail call noundef i32 @_ZN5nasoq5Nasoq17update_active_setEii(ptr noundef nonnull align 8 dereferenceable(624) %0, i32 noundef %66, i32 noundef %67)
  %69 = icmp eq i32 %68, 1
  br i1 %69, label %106, label %70

70:                                               ; preds = %56
  tail call void @__assert_fail(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 122, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5nasoq9NasoqStep10solve_stepEv) #6
  unreachable

71:                                               ; preds = %50
  tail call void @_ZN5nasoq5Nasoq13update_primalEd(ptr noundef nonnull align 8 dereferenceable(624) %0, double noundef %.pre)
  %72 = load double, ptr %44, align 8, !tbaa !32
  tail call void @_ZN5nasoq5Nasoq11update_dualEd(ptr noundef nonnull align 8 dereferenceable(624) %0, double noundef %72)
  %73 = getelementptr inbounds i8, ptr %0, i64 392
  %74 = load ptr, ptr %73, align 8, !tbaa !33
  %75 = load i32, ptr %35, align 8, !tbaa !28
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds double, ptr %74, i64 %76
  %78 = load double, ptr %77, align 8, !tbaa !34
  %79 = load double, ptr %44, align 8, !tbaa !32
  %80 = fadd double %78, %79
  store double %80, ptr %77, align 8, !tbaa !34
  %81 = load double, ptr %44, align 8, !tbaa !32
  %82 = load double, ptr %38, align 8, !tbaa !30
  %83 = fcmp oeq double %81, %82
  br i1 %83, label %84, label %88

84:                                               ; preds = %71
  store i32 1, ptr %11, align 8, !tbaa !26
  tail call void @_ZN5nasoq5Nasoq8edit_kktEii(ptr noundef nonnull align 8 dereferenceable(624) %0, i32 noundef 1, i32 noundef %75)
  store i32 2, ptr %32, align 8, !tbaa !29
  %85 = load i32, ptr %11, align 8, !tbaa !26
  %86 = load i32, ptr %35, align 8, !tbaa !28
  %87 = tail call noundef i32 @_ZN5nasoq5Nasoq17update_active_setEii(ptr noundef nonnull align 8 dereferenceable(624) %0, i32 noundef %85, i32 noundef %86)
  br label %98

88:                                               ; preds = %71
  %89 = load double, ptr %41, align 8, !tbaa !31
  %90 = fcmp oeq double %81, %89
  br i1 %90, label %91, label %98

91:                                               ; preds = %88
  store i32 0, ptr %11, align 8, !tbaa !26
  %92 = load i32, ptr %39, align 4, !tbaa !35
  tail call void @_ZN5nasoq5Nasoq8edit_kktEii(ptr noundef nonnull align 8 dereferenceable(624) %0, i32 noundef 0, i32 noundef %92)
  store i32 2, ptr %32, align 8, !tbaa !29
  %93 = load i32, ptr %11, align 8, !tbaa !26
  %94 = load i32, ptr %39, align 4, !tbaa !35
  %95 = tail call noundef i32 @_ZN5nasoq5Nasoq17update_active_setEii(ptr noundef nonnull align 8 dereferenceable(624) %0, i32 noundef %93, i32 noundef %94)
  %96 = icmp eq i32 %95, 1
  br i1 %96, label %98, label %97

97:                                               ; preds = %91
  tail call void @__assert_fail(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 147, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5nasoq9NasoqStep10solve_stepEv) #6
  unreachable

98:                                               ; preds = %91, %88, %84
  %99 = getelementptr inbounds i8, ptr %0, i64 120
  %100 = load i32, ptr %99, align 8, !tbaa !36
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds i8, ptr %0, i64 448
  %103 = tail call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %102) #5
  %104 = icmp eq i64 %103, %101
  br i1 %104, label %106, label %105

105:                                              ; preds = %98
  tail call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.2, i32 noundef 149, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5nasoq9NasoqStep10solve_stepEv) #6
  unreachable

106:                                              ; preds = %56, %98
  %107 = getelementptr inbounds i8, ptr %0, i64 480
  store i32 0, ptr %107, align 8, !tbaa !22
  br label %108

108:                                              ; preds = %106, %47, %25, %19, %7
  %.sink = phi i32 [ 0, %106 ], [ 0, %47 ], [ 0, %25 ], [ 1, %19 ], [ 0, %7 ]
  %109 = tail call noundef i32 @_ZN5nasoq9NasoqStep17check_step_statusEi(ptr noundef nonnull align 8 dereferenceable(684) %0, i32 noundef %.sink)
  ret i32 %109
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5nasoq9NasoqStep17check_step_statusEi(ptr noundef nonnull align 8 dereferenceable(684), i32 noundef) local_unnamed_addr #0 align 2

declare noundef i32 @_ZN5nasoq5Nasoq18primal_feasibilityERi(ptr noundef nonnull align 8 dereferenceable(624), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1

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

declare noundef i32 @_ZN5nasoq5Nasoq10update_rhsEi(ptr noundef nonnull align 8 dereferenceable(624), i32 noundef) local_unnamed_addr #1

declare noundef i32 @_ZN5nasoq5Nasoq9solve_kktENS_10solve_typeE(ptr noundef nonnull align 8 dereferenceable(624), i32 noundef) local_unnamed_addr #1

declare noundef double @_ZN5nasoq5Nasoq18primal_step_lengthEi(ptr noundef nonnull align 8 dereferenceable(624), i32 noundef) local_unnamed_addr #1

declare noundef double @_ZN5nasoq5Nasoq16dual_step_lengthERi(ptr noundef nonnull align 8 dereferenceable(624), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNSt14numeric_limitsIdE3maxEv() local_unnamed_addr #3 align 2

declare void @_ZN5nasoq5Nasoq11update_dualEd(ptr noundef nonnull align 8 dereferenceable(624), double noundef) local_unnamed_addr #1

declare void @_ZN5nasoq5Nasoq8edit_kktEii(ptr noundef nonnull align 8 dereferenceable(624), i32 noundef, i32 noundef) local_unnamed_addr #1

declare noundef i32 @_ZN5nasoq5Nasoq17update_active_setEii(ptr noundef nonnull align 8 dereferenceable(624), i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

declare void @_ZN5nasoq5Nasoq13update_primalEd(ptr noundef nonnull align 8 dereferenceable(624), double noundef) local_unnamed_addr #1

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "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 = { 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 #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn 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 #5 = { nounwind }
attributes #6 = { 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, !13, i64 484}
!6 = !{!"_ZTSN5nasoq5NasoqE", !7, i64 0, !13, i64 32, !13, i64 36, !13, i64 40, !9, i64 48, !9, i64 56, !9, i64 64, !9, i64 72, !9, i64 80, !9, i64 88, !9, i64 96, !9, i64 104, !9, i64 112, !13, i64 120, !14, i64 128, !14, i64 136, !14, i64 144, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !13, i64 200, !13, i64 204, !13, i64 208, !14, i64 216, !9, i64 224, !9, i64 232, !9, i64 240, !9, i64 248, !9, i64 256, !9, i64 264, !9, i64 272, !9, i64 280, !9, i64 288, !9, i64 296, !12, i64 304, !13, i64 312, !9, i64 320, !9, i64 328, !9, i64 336, !9, i64 344, !9, i64 352, !9, i64 360, !14, i64 368, !14, i64 376, !9, i64 384, !9, i64 392, !9, i64 400, !9, i64 408, !9, i64 416, !9, i64 424, !9, i64 432, !9, i64 440, !15, i64 448, !9, i64 472, !13, i64 480, !13, i64 484, !13, i64 488, !13, i64 492, !13, i64 496, !13, i64 500, !13, i64 504, !13, i64 508, !9, i64 512, !14, i64 520, !14, i64 528, !19, i64 536, !20, i64 540, !9, i64 544, !9, i64 552, !9, i64 560, !9, i64 568, !9, i64 576, !9, i64 584, !9, i64 592, !9, i64 600, !14, i64 608, !14, i64 616}
!7 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !8, i64 0, !12, i64 8, !10, i64 16}
!8 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"int", !10, i64 0}
!14 = !{!"double", !10, i64 0}
!15 = !{!"_ZTSSt6vectorIiSaIiEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!19 = !{!"_ZTSN5nasoq10nasoq_modeE", !10, i64 0}
!20 = !{!"_ZTSN5nasoq12nasoq_statusE", !10, i64 0}
!21 = !{!6, !13, i64 488}
!22 = !{!6, !13, i64 480}
!23 = !{!24, !13, i64 676}
!24 = !{!"_ZTSN5nasoq9NasoqStepE", !6, i64 0, !13, i64 624, !13, i64 628, !13, i64 632, !13, i64 636, !13, i64 640, !14, i64 648, !14, i64 656, !14, i64 664, !25, i64 672, !13, i64 676, !13, i64 680}
!25 = !{!"_ZTSN5nasoq10solve_typeE", !10, i64 0}
!26 = !{!24, !13, i64 632}
!27 = !{!24, !13, i64 636}
!28 = !{!24, !13, i64 624}
!29 = !{!24, !25, i64 672}
!30 = !{!24, !14, i64 648}
!31 = !{!24, !14, i64 656}
!32 = !{!24, !14, i64 664}
!33 = !{!6, !9, i64 392}
!34 = !{!14, !14, i64 0}
!35 = !{!24, !13, i64 628}
!36 = !{!6, !13, i64 120}


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