; LLVM IR from tommasocerruti/algolab-2024 :: src/week13/schneewittchen/solution.ll (Z5solvev)

; 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_istream" = type { ptr, i64, %"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 }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::vector.82" = type { %"struct.std::_Vector_base.83" }
%"struct.std::_Vector_base.83" = type { %"struct.std::_Vector_base<mine, std::allocator<mine>>::_Vector_impl" }
%"struct.std::_Vector_base<mine, std::allocator<mine>>::_Vector_impl" = type { %"struct.std::_Vector_base<mine, std::allocator<mine>>::_Vector_impl_data" }
%"struct.std::_Vector_base<mine, std::allocator<mine>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.84" = type { i8 }
%"class.std::vector.87" = type { %"struct.std::_Vector_base.88" }
%"struct.std::_Vector_base.88" = type { %"struct.std::_Vector_base<mineral, std::allocator<mineral>>::_Vector_impl" }
%"struct.std::_Vector_base<mineral, std::allocator<mineral>>::_Vector_impl" = type { %"struct.std::_Vector_base<mineral, std::allocator<mineral>>::_Vector_impl_data" }
%"struct.std::_Vector_base<mineral, std::allocator<mineral>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.89" = type { i8 }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::vector.77" = type { %"struct.std::_Vector_base.78" }
%"struct.std::_Vector_base.78" = 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 }
%"class.std::allocator.79" = type { i8 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%struct.mineral = type { i32, i32, i32 }
%"class.CGAL::Quadratic_program" = type { i32, i32, %"class.std::vector.97", %"class.std::map", %"class.std::map.105", %"class.std::map.110", %"class.std::map", %"class.std::map.110", %"class.std::map", %"class.std::map", %"class.std::vector.97", i32, i32, i8, i32, i8, i32, i8, %"class.std::__cxx11::basic_string" }
%"class.std::map.105" = type { %"class.std::_Rb_tree.106" }
%"class.std::_Rb_tree.106" = type { %"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, CGAL::Sign>, std::_Select1st<std::pair<const unsigned long, CGAL::Sign>>, std::less<unsigned long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, CGAL::Sign>, std::_Select1st<std::pair<const unsigned long, CGAL::Sign>>, std::less<unsigned long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::map.110" = type { %"class.std::_Rb_tree.111" }
%"class.std::_Rb_tree.111" = type { %"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, bool>, std::_Select1st<std::pair<const unsigned long, bool>>, std::less<unsigned long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, bool>, std::_Select1st<std::pair<const unsigned long, bool>>, std::less<unsigned long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, int>, std::_Select1st<std::pair<const unsigned long, int>>, std::less<unsigned long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, int>, std::_Select1st<std::pair<const unsigned long, int>>, std::less<unsigned long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.97" = type { %"struct.std::_Vector_base.98" }
%"struct.std::_Vector_base.98" = type { %"struct.std::_Vector_base<std::map<unsigned long, int>, std::allocator<std::map<unsigned long, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::map<unsigned long, int>, std::allocator<std::map<unsigned long, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::map<unsigned long, int>, std::allocator<std::map<unsigned long, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::map<unsigned long, int>, std::allocator<std::map<unsigned long, int>>>::_Vector_impl_data" = type { ptr, ptr, 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.CGAL::Quadratic_program_solution" = type { %"class.CGAL::Handle_for.118", %"class.CGAL::Gmpz", %"class.std::__cxx11::basic_string" }
%"class.CGAL::Handle_for.118" = type { ptr }
%"class.CGAL::Gmpz" = type { %"class.CGAL::Handle_for" }
%"class.CGAL::Handle_for" = type { ptr }
%"class.CGAL::Quadratic_program_options" = type <{ i32, i32, i8, [3 x i8] }>
%"class.CGAL::Quotient" = type { %"class.CGAL::Gmpz", %"class.CGAL::Gmpz" }
%struct.mine = type { i32, %"class.std::vector.77" }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_Z4convRKN4CGAL8QuotientINS_4GmpzEEE(ptr noundef nonnull align 8 dereferenceable(16)) #0

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvev() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca %"class.std::vector.82", align 8
  %4 = alloca %"class.std::allocator.84", align 1
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.std::vector.87", align 8
  %8 = alloca %"class.std::allocator.89", align 1
  %9 = alloca %"class.std::unordered_map", align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::vector.77", align 8
  %15 = alloca %"class.std::allocator.79", align 1
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::vector", align 8
  %18 = alloca %"class.std::allocator", align 1
  %19 = alloca %"class.std::vector", align 8
  %20 = alloca %"class.std::allocator", align 1
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca %struct.mineral, align 4
  %29 = alloca %"class.CGAL::Quadratic_program", align 8
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i8, align 1
  %33 = alloca i8, align 1
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca ptr, align 8
  %37 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %38 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca i32, align 4
  %49 = alloca i32, align 4
  %50 = alloca %"class.CGAL::Quadratic_program_solution", align 8
  %51 = alloca %"class.CGAL::Gmpz", align 8
  %52 = alloca %"class.CGAL::Quadratic_program_options", align 4
  %53 = alloca %"class.CGAL::Quotient", align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  %54 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %55 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %54, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #7
  %56 = load i32, ptr %1, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #7
  call void @_ZNSaI4mineEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  invoke void @_ZNSt6vectorI4mineSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %57, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %58 unwind label %67

58:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorI4mineED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #7
  %59 = load i32, ptr %2, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #7
  call void @_ZNSaI7mineralEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  invoke void @_ZNSt6vectorI7mineralSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %60, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %61 unwind label %71

61:                                               ; preds = %58
  call void @_ZNSt15__new_allocatorI7mineralED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 56, ptr %9) #7
  call void @_ZNSt13unordered_mapIiiSt4hashIiESt8equal_toIiESaISt4pairIKiiEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 2, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %62

62:                                               ; preds = %127, %61
  %63 = load i32, ptr %11, align 4, !tbaa !5
  %64 = load i32, ptr %1, align 4, !tbaa !5
  %65 = icmp slt i32 %63, %64
  br i1 %65, label %75, label %66

66:                                               ; preds = %62
  store i32 2, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %132

67:                                               ; preds = %0
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %5, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %6, align 4
  call void @_ZNSt15__new_allocatorI4mineED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #7
  br label %494

71:                                               ; preds = %58
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %5, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %6, align 4
  call void @_ZNSt15__new_allocatorI7mineralED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #7
  br label %493

75:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #7
  %76 = load i32, ptr %2, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #7
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %77, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %78 unwind label %88

78:                                               ; preds = %75
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  %79 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %80 unwind label %92

80:                                               ; preds = %78
  %81 = load i32, ptr %13, align 4, !tbaa !5
  %82 = icmp ne i32 %81, -1
  br i1 %82, label %83, label %96

83:                                               ; preds = %80
  %84 = load i32, ptr %10, align 4, !tbaa !5
  %85 = add nsw i32 %84, 1
  store i32 %85, ptr %10, align 4, !tbaa !5
  %86 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIiiSt4hashIiESt8equal_toIiESaISt4pairIKiiEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %9, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %87 unwind label %92

87:                                               ; preds = %83
  store i32 %84, ptr %86, align 4, !tbaa !5
  br label %96

88:                                               ; preds = %75
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %5, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %6, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  br label %131

92:                                               ; preds = %115, %83, %78
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %5, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %6, align 4
  br label %130

96:                                               ; preds = %87, %80
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %97

97:                                               ; preds = %108, %96
  %98 = load i32, ptr %16, align 4, !tbaa !5
  %99 = load i32, ptr %2, align 4, !tbaa !5
  %100 = icmp slt i32 %98, %99
  br i1 %100, label %102, label %101

101:                                              ; preds = %97
  store i32 5, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %115

102:                                              ; preds = %97
  %103 = load i32, ptr %16, align 4, !tbaa !5
  %104 = sext i32 %103 to i64
  %105 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %104) #7
  %106 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %105)
          to label %107 unwind label %111

107:                                              ; preds = %102
  br label %108

108:                                              ; preds = %107
  %109 = load i32, ptr %16, align 4, !tbaa !5
  %110 = add nsw i32 %109, 1
  store i32 %110, ptr %16, align 4, !tbaa !5
  br label %97, !llvm.loop !9

111:                                              ; preds = %102
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %5, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %130

115:                                              ; preds = %101
  %116 = load i32, ptr %13, align 4, !tbaa !5
  %117 = load i32, ptr %11, align 4, !tbaa !5
  %118 = sext i32 %117 to i64
  %119 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI4mineSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %118) #7
  %120 = getelementptr inbounds %struct.mine, ptr %119, i32 0, i32 0
  store i32 %116, ptr %120, align 8, !tbaa !11
  %121 = load i32, ptr %11, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI4mineSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %122) #7
  %124 = getelementptr inbounds %struct.mine, ptr %123, i32 0, i32 1
  %125 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %124, ptr noundef nonnull align 8 dereferenceable(24) %14)
          to label %126 unwind label %92

126:                                              ; preds = %115
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %127

127:                                              ; preds = %126
  %128 = load i32, ptr %11, align 4, !tbaa !5
  %129 = add nsw i32 %128, 1
  store i32 %129, ptr %11, align 4, !tbaa !5
  br label %62, !llvm.loop !18

130:                                              ; preds = %111, %92
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  br label %131

131:                                              ; preds = %130, %88
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %492

132:                                              ; preds = %66
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #7
  %133 = load i32, ptr %1, align 4, !tbaa !5
  %134 = sext i32 %133 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #7
  call void @_ZNSaISt6vectorIiSaIiEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %134, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %135 unwind label %145

135:                                              ; preds = %132
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #7
  %136 = load i32, ptr %1, align 4, !tbaa !5
  %137 = sext i32 %136 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #7
  call void @_ZNSaISt6vectorIiSaIiEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #7
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %137, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %138 unwind label %149

138:                                              ; preds = %135
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  store i32 0, ptr %21, align 4, !tbaa !5
  br label %139

139:                                              ; preds = %162, %138
  %140 = load i32, ptr %21, align 4, !tbaa !5
  %141 = load i32, ptr %1, align 4, !tbaa !5
  %142 = sub nsw i32 %141, 1
  %143 = icmp slt i32 %140, %142
  br i1 %143, label %153, label %144

144:                                              ; preds = %139
  store i32 8, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %169

145:                                              ; preds = %132
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %5, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %6, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  br label %491

149:                                              ; preds = %135
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %5, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %6, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #7
  br label %490

153:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  %154 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %155 unwind label %165

155:                                              ; preds = %153
  %156 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %154, ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %157 unwind label %165

157:                                              ; preds = %155
  %158 = load i32, ptr %23, align 4, !tbaa !5
  %159 = sext i32 %158 to i64
  %160 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %159) #7
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %160, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %161 unwind label %165

161:                                              ; preds = %157
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  br label %162

162:                                              ; preds = %161
  %163 = load i32, ptr %21, align 4, !tbaa !5
  %164 = add nsw i32 %163, 1
  store i32 %164, ptr %21, align 4, !tbaa !5
  br label %139, !llvm.loop !19

165:                                              ; preds = %157, %155, %153
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %5, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %489

169:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  store i32 0, ptr %24, align 4, !tbaa !5
  br label %170

170:                                              ; preds = %191, %169
  %171 = load i32, ptr %24, align 4, !tbaa !5
  %172 = load i32, ptr %2, align 4, !tbaa !5
  %173 = icmp slt i32 %171, %172
  br i1 %173, label %175, label %174

174:                                              ; preds = %170
  store i32 11, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %198

175:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  %176 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %25)
          to label %177 unwind label %194

177:                                              ; preds = %175
  %178 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %176, ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %179 unwind label %194

179:                                              ; preds = %177
  %180 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %178, ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %181 unwind label %194

181:                                              ; preds = %179
  call void @llvm.lifetime.start.p0(i64 12, ptr %28) #7
  %182 = getelementptr inbounds %struct.mineral, ptr %28, i32 0, i32 0
  %183 = load i32, ptr %25, align 4, !tbaa !5
  store i32 %183, ptr %182, align 4, !tbaa !20
  %184 = getelementptr inbounds %struct.mineral, ptr %28, i32 0, i32 1
  %185 = load i32, ptr %26, align 4, !tbaa !5
  store i32 %185, ptr %184, align 4, !tbaa !22
  %186 = getelementptr inbounds %struct.mineral, ptr %28, i32 0, i32 2
  %187 = load i32, ptr %27, align 4, !tbaa !5
  store i32 %187, ptr %186, align 4, !tbaa !23
  %188 = load i32, ptr %24, align 4, !tbaa !5
  %189 = sext i32 %188 to i64
  %190 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI7mineralSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %189) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %190, ptr align 4 %28, i64 12, i1 false), !tbaa.struct !24
  call void @llvm.lifetime.end.p0(i64 12, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %191

191:                                              ; preds = %181
  %192 = load i32, ptr %24, align 4, !tbaa !5
  %193 = add nsw i32 %192, 1
  store i32 %193, ptr %24, align 4, !tbaa !5
  br label %170, !llvm.loop !25

194:                                              ; preds = %179, %177, %175
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %5, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %489

198:                                              ; preds = %174
  invoke void @_Z15find_downstreamiiRSt6vectorIS_IiSaIiEESaIS1_EES4_RS_I4mineSaIS5_EE(i32 noundef 0, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %199 unwind label %206

199:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 456, ptr %29) #7
  invoke void @_ZN4CGAL17Quadratic_programIiEC2ENS_4SignEbibi(ptr noundef nonnull align 8 dereferenceable(456) %29, i32 noundef -1, i1 noundef zeroext true, i32 noundef 0, i1 noundef zeroext false, i32 noundef 0)
          to label %200 unwind label %210

200:                                              ; preds = %199
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  store i32 0, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  store i32 0, ptr %31, align 4, !tbaa !5
  br label %201

201:                                              ; preds = %373, %200
  %202 = load i32, ptr %31, align 4, !tbaa !5
  %203 = load i32, ptr %1, align 4, !tbaa !5
  %204 = icmp slt i32 %202, %203
  br i1 %204, label %214, label %205

205:                                              ; preds = %201
  store i32 14, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %377

206:                                              ; preds = %198
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %5, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %6, align 4
  br label %489

210:                                              ; preds = %199
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %5, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %6, align 4
  br label %488

214:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #7
  %215 = load i32, ptr %31, align 4, !tbaa !5
  %216 = icmp eq i32 %215, 0
  %217 = zext i1 %216 to i8
  store i8 %217, ptr %32, align 1, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #7
  %218 = load i32, ptr %31, align 4, !tbaa !5
  %219 = sext i32 %218 to i64
  %220 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI4mineSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %219) #7
  %221 = getelementptr inbounds %struct.mine, ptr %220, i32 0, i32 0
  %222 = load i32, ptr %221, align 8, !tbaa !11
  %223 = icmp ne i32 %222, -1
  %224 = zext i1 %223 to i8
  store i8 %224, ptr %33, align 1, !tbaa !26
  %225 = load i8, ptr %32, align 1, !tbaa !26, !range !28, !noundef !29
  %226 = trunc i8 %225 to i1
  br i1 %226, label %230, label %227

227:                                              ; preds = %214
  %228 = load i8, ptr %33, align 1, !tbaa !26, !range !28, !noundef !29
  %229 = trunc i8 %228 to i1
  br i1 %229, label %230, label %372

230:                                              ; preds = %227, %214
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #7
  store i32 0, ptr %34, align 4, !tbaa !5
  br label %231

231:                                              ; preds = %324, %230
  %232 = load i32, ptr %34, align 4, !tbaa !5
  %233 = load i32, ptr %2, align 4, !tbaa !5
  %234 = icmp slt i32 %232, %233
  br i1 %234, label %236, label %235

235:                                              ; preds = %231
  store i32 17, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #7
  br label %328

236:                                              ; preds = %231
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #7
  store i32 0, ptr %35, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  %237 = load i32, ptr %31, align 4, !tbaa !5
  %238 = sext i32 %237 to i64
  %239 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %238) #7
  store ptr %239, ptr %36, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #7
  %240 = load ptr, ptr %36, align 8, !tbaa !30
  %241 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %240) #7
  %242 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %37, i32 0, i32 0
  store ptr %241, ptr %242, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #7
  %243 = load ptr, ptr %36, align 8, !tbaa !30
  %244 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %243) #7
  %245 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %38, i32 0, i32 0
  store ptr %244, ptr %245, align 8
  br label %246

246:                                              ; preds = %288, %236
  %247 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %38) #7
  br i1 %247, label %249, label %248

248:                                              ; preds = %246
  store i32 20, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %291

249:                                              ; preds = %246
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #7
  %250 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %37) #7
  %251 = load i32, ptr %250, align 4, !tbaa !5
  store i32 %251, ptr %39, align 4, !tbaa !5
  %252 = load i32, ptr %39, align 4, !tbaa !5
  %253 = sext i32 %252 to i64
  %254 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI4mineSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %253) #7
  %255 = getelementptr inbounds %struct.mine, ptr %254, i32 0, i32 0
  %256 = load i32, ptr %255, align 8, !tbaa !11
  %257 = icmp eq i32 %256, -1
  br i1 %257, label %258, label %269

258:                                              ; preds = %249
  %259 = load i32, ptr %39, align 4, !tbaa !5
  %260 = sext i32 %259 to i64
  %261 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI4mineSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %260) #7
  %262 = getelementptr inbounds %struct.mine, ptr %261, i32 0, i32 1
  %263 = load i32, ptr %34, align 4, !tbaa !5
  %264 = sext i32 %263 to i64
  %265 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %262, i64 noundef %264) #7
  %266 = load i32, ptr %265, align 4, !tbaa !5
  %267 = load i32, ptr %35, align 4, !tbaa !5
  %268 = add nsw i32 %267, %266
  store i32 %268, ptr %35, align 4, !tbaa !5
  br label %287

269:                                              ; preds = %249
  %270 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIiiSt4hashIiESt8equal_toIiESaISt4pairIKiiEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %9, ptr noundef nonnull align 4 dereferenceable(4) %39)
          to label %271 unwind label %279

271:                                              ; preds = %269
  %272 = load i32, ptr %270, align 4, !tbaa !5
  %273 = load i32, ptr %2, align 4, !tbaa !5
  %274 = mul nsw i32 %272, %273
  %275 = load i32, ptr %34, align 4, !tbaa !5
  %276 = add nsw i32 %274, %275
  %277 = load i32, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #7
  store i32 -1, ptr %40, align 4, !tbaa !5
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_aEiiRKi(ptr noundef nonnull align 8 dereferenceable(456) %29, i32 noundef %276, i32 noundef %277, ptr noundef nonnull align 4 dereferenceable(4) %40)
          to label %278 unwind label %283

278:                                              ; preds = %271
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #7
  br label %287

279:                                              ; preds = %269
  %280 = landingpad { ptr, i32 }
          cleanup
  %281 = extractvalue { ptr, i32 } %280, 0
  store ptr %281, ptr %5, align 8
  %282 = extractvalue { ptr, i32 } %280, 1
  store i32 %282, ptr %6, align 4
  br label %290

283:                                              ; preds = %271
  %284 = landingpad { ptr, i32 }
          cleanup
  %285 = extractvalue { ptr, i32 } %284, 0
  store ptr %285, ptr %5, align 8
  %286 = extractvalue { ptr, i32 } %284, 1
  store i32 %286, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #7
  br label %290

287:                                              ; preds = %278, %258
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #7
  br label %288

288:                                              ; preds = %287
  %289 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %37) #7
  br label %246

290:                                              ; preds = %283, %279
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %327

291:                                              ; preds = %248
  %292 = load i8, ptr %32, align 1, !tbaa !26, !range !28, !noundef !29
  %293 = trunc i8 %292 to i1
  br i1 %293, label %294, label %302

294:                                              ; preds = %291
  %295 = load i32, ptr %34, align 4, !tbaa !5
  %296 = load i32, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #7
  store i32 1, ptr %41, align 4, !tbaa !5
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_aEiiRKi(ptr noundef nonnull align 8 dereferenceable(456) %29, i32 noundef %295, i32 noundef %296, ptr noundef nonnull align 4 dereferenceable(4) %41)
          to label %297 unwind label %298

297:                                              ; preds = %294
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #7
  br label %320

298:                                              ; preds = %294
  %299 = landingpad { ptr, i32 }
          cleanup
  %300 = extractvalue { ptr, i32 } %299, 0
  store ptr %300, ptr %5, align 8
  %301 = extractvalue { ptr, i32 } %299, 1
  store i32 %301, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #7
  br label %327

302:                                              ; preds = %291
  %303 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIiiSt4hashIiESt8equal_toIiESaISt4pairIKiiEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %9, ptr noundef nonnull align 4 dereferenceable(4) %31)
          to label %304 unwind label %312

304:                                              ; preds = %302
  %305 = load i32, ptr %303, align 4, !tbaa !5
  %306 = load i32, ptr %2, align 4, !tbaa !5
  %307 = mul nsw i32 %305, %306
  %308 = load i32, ptr %34, align 4, !tbaa !5
  %309 = add nsw i32 %307, %308
  %310 = load i32, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #7
  store i32 2, ptr %42, align 4, !tbaa !5
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_aEiiRKi(ptr noundef nonnull align 8 dereferenceable(456) %29, i32 noundef %309, i32 noundef %310, ptr noundef nonnull align 4 dereferenceable(4) %42)
          to label %311 unwind label %316

311:                                              ; preds = %304
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #7
  br label %320

312:                                              ; preds = %320, %302
  %313 = landingpad { ptr, i32 }
          cleanup
  %314 = extractvalue { ptr, i32 } %313, 0
  store ptr %314, ptr %5, align 8
  %315 = extractvalue { ptr, i32 } %313, 1
  store i32 %315, ptr %6, align 4
  br label %327

316:                                              ; preds = %304
  %317 = landingpad { ptr, i32 }
          cleanup
  %318 = extractvalue { ptr, i32 } %317, 0
  store ptr %318, ptr %5, align 8
  %319 = extractvalue { ptr, i32 } %317, 1
  store i32 %319, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #7
  br label %327

320:                                              ; preds = %311, %297
  %321 = load i32, ptr %30, align 4, !tbaa !5
  %322 = add nsw i32 %321, 1
  store i32 %322, ptr %30, align 4, !tbaa !5
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_bEiRKi(ptr noundef nonnull align 8 dereferenceable(456) %29, i32 noundef %321, ptr noundef nonnull align 4 dereferenceable(4) %35)
          to label %323 unwind label %312

323:                                              ; preds = %320
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  br label %324

324:                                              ; preds = %323
  %325 = load i32, ptr %34, align 4, !tbaa !5
  %326 = add nsw i32 %325, 1
  store i32 %326, ptr %34, align 4, !tbaa !5
  br label %231, !llvm.loop !31

327:                                              ; preds = %316, %312, %298, %290
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #7
  br label %376

328:                                              ; preds = %235
  %329 = load i8, ptr %32, align 1, !tbaa !26, !range !28, !noundef !29
  %330 = trunc i8 %329 to i1
  br i1 %330, label %371, label %331

331:                                              ; preds = %328
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #7
  store i32 0, ptr %43, align 4, !tbaa !5
  br label %332

332:                                              ; preds = %347, %331
  %333 = load i32, ptr %43, align 4, !tbaa !5
  %334 = load i32, ptr %2, align 4, !tbaa !5
  %335 = icmp slt i32 %333, %334
  br i1 %335, label %337, label %336

336:                                              ; preds = %332
  store i32 22, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #7
  br label %359

337:                                              ; preds = %332
  %338 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIiiSt4hashIiESt8equal_toIiESaISt4pairIKiiEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %9, ptr noundef nonnull align 4 dereferenceable(4) %31)
          to label %339 unwind label %350

339:                                              ; preds = %337
  %340 = load i32, ptr %338, align 4, !tbaa !5
  %341 = load i32, ptr %2, align 4, !tbaa !5
  %342 = mul nsw i32 %340, %341
  %343 = load i32, ptr %43, align 4, !tbaa !5
  %344 = add nsw i32 %342, %343
  %345 = load i32, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #7
  store i32 2, ptr %44, align 4, !tbaa !5
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_aEiiRKi(ptr noundef nonnull align 8 dereferenceable(456) %29, i32 noundef %344, i32 noundef %345, ptr noundef nonnull align 4 dereferenceable(4) %44)
          to label %346 unwind label %354

346:                                              ; preds = %339
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #7
  br label %347

347:                                              ; preds = %346
  %348 = load i32, ptr %43, align 4, !tbaa !5
  %349 = add nsw i32 %348, 1
  store i32 %349, ptr %43, align 4, !tbaa !5
  br label %332, !llvm.loop !32

350:                                              ; preds = %337
  %351 = landingpad { ptr, i32 }
          cleanup
  %352 = extractvalue { ptr, i32 } %351, 0
  store ptr %352, ptr %5, align 8
  %353 = extractvalue { ptr, i32 } %351, 1
  store i32 %353, ptr %6, align 4
  br label %358

354:                                              ; preds = %339
  %355 = landingpad { ptr, i32 }
          cleanup
  %356 = extractvalue { ptr, i32 } %355, 0
  store ptr %356, ptr %5, align 8
  %357 = extractvalue { ptr, i32 } %355, 1
  store i32 %357, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #7
  br label %358

358:                                              ; preds = %354, %350
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #7
  br label %376

359:                                              ; preds = %336
  %360 = load i32, ptr %30, align 4, !tbaa !5
  %361 = add nsw i32 %360, 1
  store i32 %361, ptr %30, align 4, !tbaa !5
  %362 = load i32, ptr %31, align 4, !tbaa !5
  %363 = sext i32 %362 to i64
  %364 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI4mineSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %363) #7
  %365 = getelementptr inbounds %struct.mine, ptr %364, i32 0, i32 0
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_bEiRKi(ptr noundef nonnull align 8 dereferenceable(456) %29, i32 noundef %360, ptr noundef nonnull align 4 dereferenceable(4) %365)
          to label %366 unwind label %367

366:                                              ; preds = %359
  br label %371

367:                                              ; preds = %359
  %368 = landingpad { ptr, i32 }
          cleanup
  %369 = extractvalue { ptr, i32 } %368, 0
  store ptr %369, ptr %5, align 8
  %370 = extractvalue { ptr, i32 } %368, 1
  store i32 %370, ptr %6, align 4
  br label %376

371:                                              ; preds = %366, %328
  br label %372

372:                                              ; preds = %371, %227
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #7
  br label %373

373:                                              ; preds = %372
  %374 = load i32, ptr %31, align 4, !tbaa !5
  %375 = add nsw i32 %374, 1
  store i32 %375, ptr %31, align 4, !tbaa !5
  br label %201, !llvm.loop !33

376:                                              ; preds = %367, %358, %327
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %487

377:                                              ; preds = %205
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #7
  store i32 0, ptr %45, align 4, !tbaa !5
  br label %378

378:                                              ; preds = %421, %377
  %379 = load i32, ptr %45, align 4, !tbaa !5
  %380 = load i32, ptr %2, align 4, !tbaa !5
  %381 = icmp slt i32 %379, %380
  br i1 %381, label %383, label %382

382:                                              ; preds = %378
  store i32 25, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #7
  br label %445

383:                                              ; preds = %378
  %384 = load i32, ptr %45, align 4, !tbaa !5
  %385 = load i32, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #7
  store i32 -1, ptr %46, align 4, !tbaa !5
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_aEiiRKi(ptr noundef nonnull align 8 dereferenceable(456) %29, i32 noundef %384, i32 noundef %385, ptr noundef nonnull align 4 dereferenceable(4) %46)
          to label %386 unwind label %424

386:                                              ; preds = %383
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #7
  %387 = load i32, ptr %45, align 4, !tbaa !5
  %388 = load i32, ptr %2, align 4, !tbaa !5
  %389 = add nsw i32 %387, %388
  %390 = load i32, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #7
  store i32 -1, ptr %47, align 4, !tbaa !5
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_aEiiRKi(ptr noundef nonnull align 8 dereferenceable(456) %29, i32 noundef %389, i32 noundef %390, ptr noundef nonnull align 4 dereferenceable(4) %47)
          to label %391 unwind label %428

391:                                              ; preds = %386
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #7
  %392 = load i32, ptr %30, align 4, !tbaa !5
  %393 = add nsw i32 %392, 1
  store i32 %393, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #7
  %394 = load i32, ptr %45, align 4, !tbaa !5
  %395 = sext i32 %394 to i64
  %396 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI7mineralSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %395) #7
  %397 = getelementptr inbounds %struct.mineral, ptr %396, i32 0, i32 0
  %398 = load i32, ptr %397, align 4, !tbaa !20
  %399 = sub nsw i32 0, %398
  store i32 %399, ptr %48, align 4, !tbaa !5
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_bEiRKi(ptr noundef nonnull align 8 dereferenceable(456) %29, i32 noundef %392, ptr noundef nonnull align 4 dereferenceable(4) %48)
          to label %400 unwind label %432

400:                                              ; preds = %391
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #7
  %401 = load i32, ptr %45, align 4, !tbaa !5
  %402 = load i32, ptr %2, align 4, !tbaa !5
  %403 = add nsw i32 %401, %402
  %404 = load i32, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #7
  store i32 1, ptr %49, align 4, !tbaa !5
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_aEiiRKi(ptr noundef nonnull align 8 dereferenceable(456) %29, i32 noundef %403, i32 noundef %404, ptr noundef nonnull align 4 dereferenceable(4) %49)
          to label %405 unwind label %436

405:                                              ; preds = %400
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #7
  %406 = load i32, ptr %30, align 4, !tbaa !5
  %407 = add nsw i32 %406, 1
  store i32 %407, ptr %30, align 4, !tbaa !5
  %408 = load i32, ptr %45, align 4, !tbaa !5
  %409 = sext i32 %408 to i64
  %410 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI7mineralSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %409) #7
  %411 = getelementptr inbounds %struct.mineral, ptr %410, i32 0, i32 1
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_bEiRKi(ptr noundef nonnull align 8 dereferenceable(456) %29, i32 noundef %406, ptr noundef nonnull align 4 dereferenceable(4) %411)
          to label %412 unwind label %440

412:                                              ; preds = %405
  %413 = load i32, ptr %45, align 4, !tbaa !5
  %414 = load i32, ptr %2, align 4, !tbaa !5
  %415 = add nsw i32 %413, %414
  %416 = load i32, ptr %45, align 4, !tbaa !5
  %417 = sext i32 %416 to i64
  %418 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI7mineralSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %417) #7
  %419 = getelementptr inbounds %struct.mineral, ptr %418, i32 0, i32 2
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_cEiRKi(ptr noundef nonnull align 8 dereferenceable(456) %29, i32 noundef %415, ptr noundef nonnull align 4 dereferenceable(4) %419)
          to label %420 unwind label %440

420:                                              ; preds = %412
  br label %421

421:                                              ; preds = %420
  %422 = load i32, ptr %45, align 4, !tbaa !5
  %423 = add nsw i32 %422, 1
  store i32 %423, ptr %45, align 4, !tbaa !5
  br label %378, !llvm.loop !34

424:                                              ; preds = %383
  %425 = landingpad { ptr, i32 }
          cleanup
  %426 = extractvalue { ptr, i32 } %425, 0
  store ptr %426, ptr %5, align 8
  %427 = extractvalue { ptr, i32 } %425, 1
  store i32 %427, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #7
  br label %444

428:                                              ; preds = %386
  %429 = landingpad { ptr, i32 }
          cleanup
  %430 = extractvalue { ptr, i32 } %429, 0
  store ptr %430, ptr %5, align 8
  %431 = extractvalue { ptr, i32 } %429, 1
  store i32 %431, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #7
  br label %444

432:                                              ; preds = %391
  %433 = landingpad { ptr, i32 }
          cleanup
  %434 = extractvalue { ptr, i32 } %433, 0
  store ptr %434, ptr %5, align 8
  %435 = extractvalue { ptr, i32 } %433, 1
  store i32 %435, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #7
  br label %444

436:                                              ; preds = %400
  %437 = landingpad { ptr, i32 }
          cleanup
  %438 = extractvalue { ptr, i32 } %437, 0
  store ptr %438, ptr %5, align 8
  %439 = extractvalue { ptr, i32 } %437, 1
  store i32 %439, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #7
  br label %444

440:                                              ; preds = %412, %405
  %441 = landingpad { ptr, i32 }
          cleanup
  %442 = extractvalue { ptr, i32 } %441, 0
  store ptr %442, ptr %5, align 8
  %443 = extractvalue { ptr, i32 } %441, 1
  store i32 %443, ptr %6, align 4
  br label %444

444:                                              ; preds = %440, %436, %432, %428, %424
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #7
  br label %487

445:                                              ; preds = %382
  call void @llvm.lifetime.start.p0(i64 48, ptr %50) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #7
  invoke void @_ZN4CGAL4GmpzC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %51)
          to label %446 unwind label %454

446:                                              ; preds = %445
  call void @llvm.lifetime.start.p0(i64 12, ptr %52) #7
  invoke void @_ZN4CGAL25Quadratic_program_optionsC2Ev(ptr noundef nonnull align 4 dereferenceable(9) %52)
          to label %447 unwind label %458

447:                                              ; preds = %446
  invoke void @_ZN4CGAL20solve_linear_programINS_17Quadratic_programIiEENS_4GmpzEEENS_26Quadratic_program_solutionIT0_EERKT_RKS5_RKNS_25Quadratic_program_optionsE(ptr dead_on_unwind writable sret(%"class.CGAL::Quadratic_program_solution") align 8 %50, ptr noundef nonnull align 8 dereferenceable(456) %29, ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull align 4 dereferenceable(9) %52)
          to label %448 unwind label %458

448:                                              ; preds = %447
  call void @llvm.lifetime.end.p0(i64 12, ptr %52) #7
  call void @_ZN4CGAL10Handle_forINS_8Gmpz_repESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %51) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #7
  %449 = invoke noundef zeroext i1 @_ZNK4CGAL26Quadratic_program_solutionINS_4GmpzEE13is_infeasibleEv(ptr noundef nonnull align 8 dereferenceable(48) %50)
          to label %450 unwind label %463

450:                                              ; preds = %448
  br i1 %449, label %451, label %467

451:                                              ; preds = %450
  %452 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %453 unwind label %463

453:                                              ; preds = %451
  br label %484

454:                                              ; preds = %445
  %455 = landingpad { ptr, i32 }
          cleanup
  %456 = extractvalue { ptr, i32 } %455, 0
  store ptr %456, ptr %5, align 8
  %457 = extractvalue { ptr, i32 } %455, 1
  store i32 %457, ptr %6, align 4
  br label %462

458:                                              ; preds = %447, %446
  %459 = landingpad { ptr, i32 }
          cleanup
  %460 = extractvalue { ptr, i32 } %459, 0
  store ptr %460, ptr %5, align 8
  %461 = extractvalue { ptr, i32 } %459, 1
  store i32 %461, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %52) #7
  call void @_ZN4CGAL10Handle_forINS_8Gmpz_repESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %51) #7
  br label %462

462:                                              ; preds = %458, %454
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #7
  br label %486

463:                                              ; preds = %451, %448
  %464 = landingpad { ptr, i32 }
          cleanup
  %465 = extractvalue { ptr, i32 } %464, 0
  store ptr %465, ptr %5, align 8
  %466 = extractvalue { ptr, i32 } %464, 1
  store i32 %466, ptr %6, align 4
  br label %485

467:                                              ; preds = %450
  call void @llvm.lifetime.start.p0(i64 16, ptr %53) #7
  invoke void @_ZNK4CGAL26Quadratic_program_solutionINS_4GmpzEE15objective_valueEv(ptr dead_on_unwind writable sret(%"class.CGAL::Quotient") align 8 %53, ptr noundef nonnull align 8 dereferenceable(48) %50)
          to label %468 unwind label %475

468:                                              ; preds = %467
  %469 = invoke noundef i64 @_Z4convRKN4CGAL8QuotientINS_4GmpzEEE(ptr noundef nonnull align 8 dereferenceable(16) %53)
          to label %470 unwind label %479

470:                                              ; preds = %468
  %471 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEl(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %469)
          to label %472 unwind label %479

472:                                              ; preds = %470
  %473 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %471, ptr noundef @.str.6)
          to label %474 unwind label %479

474:                                              ; preds = %472
  call void @_ZN4CGAL8QuotientINS_4GmpzEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %53) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %53) #7
  br label %484

475:                                              ; preds = %467
  %476 = landingpad { ptr, i32 }
          cleanup
  %477 = extractvalue { ptr, i32 } %476, 0
  store ptr %477, ptr %5, align 8
  %478 = extractvalue { ptr, i32 } %476, 1
  store i32 %478, ptr %6, align 4
  br label %483

479:                                              ; preds = %472, %470, %468
  %480 = landingpad { ptr, i32 }
          cleanup
  %481 = extractvalue { ptr, i32 } %480, 0
  store ptr %481, ptr %5, align 8
  %482 = extractvalue { ptr, i32 } %480, 1
  store i32 %482, ptr %6, align 4
  call void @_ZN4CGAL8QuotientINS_4GmpzEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %53) #7
  br label %483

483:                                              ; preds = %479, %475
  call void @llvm.lifetime.end.p0(i64 16, ptr %53) #7
  br label %485

484:                                              ; preds = %474, %453
  call void @_ZN4CGAL26Quadratic_program_solutionINS_4GmpzEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %50) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %50) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  call void @_ZN4CGAL17Quadratic_programIiED2Ev(ptr noundef nonnull align 8 dereferenceable(456) %29) #7
  call void @llvm.lifetime.end.p0(i64 456, ptr %29) #7
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #7
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @_ZNSt13unordered_mapIiiSt4hashIiESt8equal_toIiESaISt4pairIKiiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %9) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %9) #7
  call void @_ZNSt6vectorI7mineralSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  call void @_ZNSt6vectorI4mineSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #7
  ret void

485:                                              ; preds = %483, %463
  call void @_ZN4CGAL26Quadratic_program_solutionINS_4GmpzEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %50) #7
  br label %486

486:                                              ; preds = %485, %462
  call void @llvm.lifetime.end.p0(i64 48, ptr %50) #7
  br label %487

487:                                              ; preds = %486, %444, %376
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  call void @_ZN4CGAL17Quadratic_programIiED2Ev(ptr noundef nonnull align 8 dereferenceable(456) %29) #7
  br label %488

488:                                              ; preds = %487, %210
  call void @llvm.lifetime.end.p0(i64 456, ptr %29) #7
  br label %489

489:                                              ; preds = %488, %206, %194, %165
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  br label %490

490:                                              ; preds = %489, %149
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #7
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  br label %491

491:                                              ; preds = %490, %145
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #7
  br label %492

492:                                              ; preds = %491, %131
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @_ZNSt13unordered_mapIiiSt4hashIiESt8equal_toIiESaISt4pairIKiiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %9) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %9) #7
  call void @_ZNSt6vectorI7mineralSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  br label %493

493:                                              ; preds = %492, %71
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  call void @_ZNSt6vectorI4mineSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  br label %494

494:                                              ; preds = %493, %67
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #7
  br label %495

495:                                              ; preds = %494
  %496 = load ptr, ptr %5, align 8
  %497 = load i32, ptr %6, align 4
  %498 = insertvalue { ptr, i32 } poison, ptr %496, 0
  %499 = insertvalue { ptr, i32 } %498, i32 %497, 1
  resume { ptr, i32 } %499
}

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #4

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIiiSt4hashIiESt8equal_toIiESaISt4pairIKiiEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

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

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

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4CGAL17Quadratic_programIiEC2ENS_4SignEbibi(ptr noundef nonnull align 8 dereferenceable(456), i32 noundef, i1 noundef zeroext, i32 noundef, i1 noundef zeroext, i32 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4CGAL17Quadratic_programIiE5set_aEiiRKi(ptr noundef nonnull align 8 dereferenceable(456), i32 noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4CGAL17Quadratic_programIiE5set_bEiRKi(ptr noundef nonnull align 8 dereferenceable(456), i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4CGAL17Quadratic_programIiE5set_cEiRKi(ptr noundef nonnull align 8 dereferenceable(456), i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4CGAL20solve_linear_programINS_17Quadratic_programIiEENS_4GmpzEEENS_26Quadratic_program_solutionIT0_EERKT_RKS5_RKNS_25Quadratic_program_optionsE(ptr dead_on_unwind noalias writable sret(%"class.CGAL::Quadratic_program_solution") align 8, ptr noundef nonnull align 8 dereferenceable(456), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(9)) #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4CGAL26Quadratic_program_solutionINS_4GmpzEE13is_infeasibleEv(ptr noundef nonnull align 8 dereferenceable(48)) #0 align 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) #6

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEl(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4CGAL26Quadratic_program_solutionINS_4GmpzEE15objective_valueEv(ptr dead_on_unwind noalias writable sret(%"class.CGAL::Quotient") align 8, ptr noundef nonnull align 8 dereferenceable(48)) #0 align 2

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4CGAL10Handle_forINS_8Gmpz_repESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress 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 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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 #7 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTS4mine", !6, i64 0, !13, i64 8}
!13 = !{!"_ZTSSt6vectorIiSaIiEE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!17 = !{!"any pointer", !7, i64 0}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = !{!21, !6, i64 0}
!21 = !{!"_ZTS7mineral", !6, i64 0, !6, i64 4, !6, i64 8}
!22 = !{!21, !6, i64 4}
!23 = !{!21, !6, i64 8}
!24 = !{i64 0, i64 4, !5, i64 4, i64 4, !5, i64 8, i64 4, !5}
!25 = distinct !{!25, !10}
!26 = !{!27, !27, i64 0}
!27 = !{!"bool", !7, i64 0}
!28 = !{i8 0, i8 2}
!29 = !{}
!30 = !{!17, !17, i64 0}
!31 = distinct !{!31, !10}
!32 = distinct !{!32, !10}
!33 = distinct !{!33, !10}
!34 = distinct !{!34, !10}


; 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_istream" = type { ptr, i64, %"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 }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::vector.82" = type { %"struct.std::_Vector_base.83" }
%"struct.std::_Vector_base.83" = type { %"struct.std::_Vector_base<mine, std::allocator<mine>>::_Vector_impl" }
%"struct.std::_Vector_base<mine, std::allocator<mine>>::_Vector_impl" = type { %"struct.std::_Vector_base<mine, std::allocator<mine>>::_Vector_impl_data" }
%"struct.std::_Vector_base<mine, std::allocator<mine>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.84" = type { i8 }
%"class.std::vector.87" = type { %"struct.std::_Vector_base.88" }
%"struct.std::_Vector_base.88" = type { %"struct.std::_Vector_base<mineral, std::allocator<mineral>>::_Vector_impl" }
%"struct.std::_Vector_base<mineral, std::allocator<mineral>>::_Vector_impl" = type { %"struct.std::_Vector_base<mineral, std::allocator<mineral>>::_Vector_impl_data" }
%"struct.std::_Vector_base<mineral, std::allocator<mineral>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.89" = type { i8 }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::vector.77" = type { %"struct.std::_Vector_base.78" }
%"struct.std::_Vector_base.78" = 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 }
%"class.std::allocator.79" = type { i8 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.CGAL::Quadratic_program" = type { i32, i32, %"class.std::vector.97", %"class.std::map", %"class.std::map.105", %"class.std::map.110", %"class.std::map", %"class.std::map.110", %"class.std::map", %"class.std::map", %"class.std::vector.97", i32, i32, i8, i32, i8, i32, i8, %"class.std::__cxx11::basic_string" }
%"class.std::map.105" = type { %"class.std::_Rb_tree.106" }
%"class.std::_Rb_tree.106" = type { %"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, CGAL::Sign>, std::_Select1st<std::pair<const unsigned long, CGAL::Sign>>, std::less<unsigned long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, CGAL::Sign>, std::_Select1st<std::pair<const unsigned long, CGAL::Sign>>, std::less<unsigned long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::map.110" = type { %"class.std::_Rb_tree.111" }
%"class.std::_Rb_tree.111" = type { %"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, bool>, std::_Select1st<std::pair<const unsigned long, bool>>, std::less<unsigned long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, bool>, std::_Select1st<std::pair<const unsigned long, bool>>, std::less<unsigned long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, int>, std::_Select1st<std::pair<const unsigned long, int>>, std::less<unsigned long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, int>, std::_Select1st<std::pair<const unsigned long, int>>, std::less<unsigned long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.97" = type { %"struct.std::_Vector_base.98" }
%"struct.std::_Vector_base.98" = type { %"struct.std::_Vector_base<std::map<unsigned long, int>, std::allocator<std::map<unsigned long, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::map<unsigned long, int>, std::allocator<std::map<unsigned long, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::map<unsigned long, int>, std::allocator<std::map<unsigned long, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::map<unsigned long, int>, std::allocator<std::map<unsigned long, int>>>::_Vector_impl_data" = type { ptr, ptr, 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.CGAL::Quadratic_program_solution" = type { %"class.CGAL::Handle_for.118", %"class.CGAL::Gmpz", %"class.std::__cxx11::basic_string" }
%"class.CGAL::Handle_for.118" = type { ptr }
%"class.CGAL::Gmpz" = type { %"class.CGAL::Handle_for" }
%"class.CGAL::Handle_for" = type { ptr }
%"class.CGAL::Quadratic_program_options" = type <{ i32, i32, i8, [3 x i8] }>
%"class.CGAL::Quotient" = type { %"class.CGAL::Gmpz", %"class.CGAL::Gmpz" }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_Z4convRKN4CGAL8QuotientINS_4GmpzEEE(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15find_downstreamiiRSt6vectorIS_IiSaIiEESaIS1_EES4_RS_I4mineSaIS5_EE(i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvev() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca %"class.std::vector.82", align 8
  %4 = alloca %"class.std::allocator.84", align 1
  %5 = alloca %"class.std::vector.87", align 8
  %6 = alloca %"class.std::allocator.89", align 1
  %7 = alloca %"class.std::unordered_map", align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::vector.77", align 8
  %11 = alloca %"class.std::allocator.79", align 1
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca %"class.std::allocator", align 1
  %14 = alloca %"class.std::vector", align 8
  %15 = alloca %"class.std::allocator", align 1
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca %"class.CGAL::Quadratic_program", align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca %"class.CGAL::Quadratic_program_solution", align 8
  %36 = alloca %"class.CGAL::Gmpz", align 8
  %37 = alloca %"class.CGAL::Quadratic_program_options", align 4
  %38 = alloca %"class.CGAL::Quotient", align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  %39 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %40 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %39, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  %41 = load i32, ptr %1, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #6
  call void @_ZNSaI4mineEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  invoke void @_ZNSt6vectorI4mineSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %42, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %43 unwind label %50

43:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorI4mineED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #6
  %44 = load i32, ptr %2, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #6
  call void @_ZNSaI7mineralEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  invoke void @_ZNSt6vectorI7mineralSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %45, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %46 unwind label %52

46:                                               ; preds = %43
  call void @_ZNSt15__new_allocatorI7mineralED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %7) #6
  call void @_ZNSt13unordered_mapIiiSt4hashIiESt8equal_toIiESaISt4pairIKiiEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %7) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #6
  store i32 0, ptr %8, align 4, !tbaa !5
  %47 = load i32, ptr %1, align 4, !tbaa !5
  %48 = icmp sgt i32 %47, 0
  br i1 %48, label %.lr.ph127, label %._crit_edge128

._crit_edge128:                                   ; preds = %88, %46
  %.lcssa = phi i32 [ %47, %46 ], [ %91, %88 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #6
  %49 = sext i32 %.lcssa to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #6
  call void @_ZNSaISt6vectorIiSaIiEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %49, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %95 unwind label %103

50:                                               ; preds = %0
  %51 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorI4mineED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  br label %315

52:                                               ; preds = %43
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorI7mineralED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  br label %314

.lr.ph127:                                        ; preds = %46, %88
  %.067125 = phi i32 [ %.168, %88 ], [ 2, %46 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #6
  %54 = load i32, ptr %2, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %55, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %56 unwind label %64

56:                                               ; preds = %.lr.ph127
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  %57 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %58 unwind label %66

58:                                               ; preds = %56
  %59 = load i32, ptr %9, align 4, !tbaa !5
  %.not98 = icmp eq i32 %59, -1
  br i1 %.not98, label %68, label %60

60:                                               ; preds = %58
  %61 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIiiSt4hashIiESt8equal_toIiESaISt4pairIKiiEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %62 unwind label %66

62:                                               ; preds = %60
  %63 = add nsw i32 %.067125, 1
  store i32 %.067125, ptr %61, align 4, !tbaa !5
  br label %68

64:                                               ; preds = %.lr.ph127
  %65 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  br label %94

66:                                               ; preds = %._crit_edge, %60, %56
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %93

68:                                               ; preds = %62, %58
  %.168 = phi i32 [ %63, %62 ], [ %.067125, %58 ]
  %69 = load i32, ptr %2, align 4, !tbaa !5
  %70 = icmp sgt i32 %69, 0
  br i1 %70, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %82, %68
  %71 = load i32, ptr %9, align 4, !tbaa !5
  %72 = load i32, ptr %8, align 4, !tbaa !5
  %73 = sext i32 %72 to i64
  %74 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI4mineSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %73) #6
  store i32 %71, ptr %74, align 8, !tbaa !9
  %75 = load i32, ptr %8, align 4, !tbaa !5
  %76 = sext i32 %75 to i64
  %77 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI4mineSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %76) #6
  %78 = getelementptr inbounds i8, ptr %77, i64 8
  %79 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %78, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %88 unwind label %66

.lr.ph:                                           ; preds = %68, %82
  %indvars.iv = phi i64 [ %indvars.iv.next, %82 ], [ 0, %68 ]
  %80 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv) #6
  %81 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %80)
          to label %82 unwind label %86

82:                                               ; preds = %.lr.ph
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %83 = load i32, ptr %2, align 4, !tbaa !5
  %84 = sext i32 %83 to i64
  %85 = icmp slt i64 %indvars.iv.next, %84
  br i1 %85, label %.lr.ph, label %._crit_edge, !llvm.loop !16

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

88:                                               ; preds = %._crit_edge
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  %89 = load i32, ptr %8, align 4, !tbaa !5
  %90 = add nsw i32 %89, 1
  store i32 %90, ptr %8, align 4, !tbaa !5
  %91 = load i32, ptr %1, align 4, !tbaa !5
  %92 = icmp slt i32 %90, %91
  br i1 %92, label %.lr.ph127, label %._crit_edge128, !llvm.loop !18

93:                                               ; preds = %86, %66
  %.pn99 = phi { ptr, i32 } [ %87, %86 ], [ %67, %66 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  br label %94

94:                                               ; preds = %93, %64
  %.pn99.pn = phi { ptr, i32 } [ %.pn99, %93 ], [ %65, %64 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #6
  br label %313

95:                                               ; preds = %._crit_edge128
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #6
  %96 = load i32, ptr %1, align 4, !tbaa !5
  %97 = sext i32 %96 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #6
  call void @_ZNSaISt6vectorIiSaIiEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %97, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %98 unwind label %105

98:                                               ; preds = %95
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  %99 = load i32, ptr %1, align 4, !tbaa !5
  %100 = icmp sgt i32 %99, 1
  br i1 %100, label %.lr.ph131, label %.preheader107

.preheader107:                                    ; preds = %114, %98
  %101 = load i32, ptr %2, align 4, !tbaa !5
  %102 = icmp sgt i32 %101, 0
  br i1 %102, label %.lr.ph133, label %._crit_edge134

103:                                              ; preds = %._crit_edge128
  %104 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #6
  br label %312

105:                                              ; preds = %95
  %106 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  br label %311

.lr.ph131:                                        ; preds = %98, %114
  %.074129 = phi i32 [ %115, %114 ], [ 0, %98 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #6
  %107 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %108 unwind label %119

108:                                              ; preds = %.lr.ph131
  %109 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %107, ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %110 unwind label %119

110:                                              ; preds = %108
  %111 = load i32, ptr %17, align 4, !tbaa !5
  %112 = sext i32 %111 to i64
  %113 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %112) #6
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %113, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %114 unwind label %119

114:                                              ; preds = %110
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  %115 = add nuw nsw i32 %.074129, 1
  %116 = load i32, ptr %1, align 4, !tbaa !5
  %117 = add nsw i32 %116, -1
  %118 = icmp slt i32 %115, %117
  br i1 %118, label %.lr.ph131, label %.preheader107, !llvm.loop !19

119:                                              ; preds = %110, %108, %.lr.ph131
  %120 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  br label %310

._crit_edge134:                                   ; preds = %126, %.preheader107
  invoke void @_Z15find_downstreamiiRSt6vectorIS_IiSaIiEESaIS1_EES4_RS_I4mineSaIS5_EE(i32 noundef 0, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %136 unwind label %142

.lr.ph133:                                        ; preds = %.preheader107, %126
  %indvars.iv160 = phi i64 [ %indvars.iv.next161, %126 ], [ 0, %.preheader107 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #6
  %121 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %122 unwind label %134

122:                                              ; preds = %.lr.ph133
  %123 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %121, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %124 unwind label %134

124:                                              ; preds = %122
  %125 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %123, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %126 unwind label %134

126:                                              ; preds = %124
  %127 = load i32, ptr %18, align 4, !tbaa !5
  %128 = load i32, ptr %19, align 4, !tbaa !5
  %129 = load i32, ptr %20, align 4, !tbaa !5
  %130 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI7mineralSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv160) #6
  store i32 %127, ptr %130, align 4, !tbaa !5
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %130, i64 4
  store i32 %128, ptr %.sroa.4.0..sroa_idx, align 4, !tbaa !5
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %130, i64 8
  store i32 %129, ptr %.sroa.5.0..sroa_idx, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #6
  %indvars.iv.next161 = add nuw nsw i64 %indvars.iv160, 1
  %131 = load i32, ptr %2, align 4, !tbaa !5
  %132 = sext i32 %131 to i64
  %133 = icmp slt i64 %indvars.iv.next161, %132
  br i1 %133, label %.lr.ph133, label %._crit_edge134, !llvm.loop !20

134:                                              ; preds = %124, %122, %.lr.ph133
  %135 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #6
  br label %310

136:                                              ; preds = %._crit_edge134
  call void @llvm.lifetime.start.p0(i64 456, ptr nonnull %21) #6
  invoke void @_ZN4CGAL17Quadratic_programIiEC2ENS_4SignEbibi(ptr noundef nonnull align 8 dereferenceable(456) %21, i32 noundef -1, i1 noundef zeroext true, i32 noundef 0, i1 noundef zeroext false, i32 noundef 0)
          to label %137 unwind label %144

137:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #6
  store i32 0, ptr %22, align 4, !tbaa !5
  %138 = load i32, ptr %1, align 4, !tbaa !5
  %139 = icmp sgt i32 %138, 0
  br i1 %139, label %.lr.ph149, label %._crit_edge150

._crit_edge150:                                   ; preds = %238, %137
  %.069.lcssa = phi i32 [ 0, %137 ], [ %.271, %238 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #6
  %140 = load i32, ptr %2, align 4, !tbaa !5
  %141 = icmp sgt i32 %140, 0
  br i1 %141, label %.lr.ph155, label %._crit_edge156

142:                                              ; preds = %._crit_edge134
  %143 = landingpad { ptr, i32 }
          cleanup
  br label %310

144:                                              ; preds = %136
  %145 = landingpad { ptr, i32 }
          cleanup
  br label %309

.lr.ph149:                                        ; preds = %137, %238
  %.069147 = phi i32 [ %.271, %238 ], [ 0, %137 ]
  %storemerge77146 = phi i32 [ %240, %238 ], [ 0, %137 ]
  %146 = icmp ne i32 %storemerge77146, 0
  %147 = sext i32 %storemerge77146 to i64
  %148 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI4mineSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %147) #6
  %149 = load i32, ptr %148, align 8
  %.not = icmp eq i32 %149, -1
  %or.cond = select i1 %146, i1 %.not, i1 false
  br i1 %or.cond, label %238, label %.preheader106

.preheader106:                                    ; preds = %.lr.ph149
  %150 = load i32, ptr %2, align 4, !tbaa !5
  %151 = icmp sgt i32 %150, 0
  br i1 %151, label %.lr.ph140, label %._crit_edge141

._crit_edge141:                                   ; preds = %212, %.preheader106
  %152 = phi i32 [ %150, %.preheader106 ], [ %214, %212 ]
  %.170.lcssa = phi i32 [ %.069147, %.preheader106 ], [ %213, %212 ]
  br i1 %146, label %.preheader, label %238

.preheader:                                       ; preds = %._crit_edge141
  %153 = icmp sgt i32 %152, 0
  br i1 %153, label %.lr.ph144, label %._crit_edge145

.lr.ph140:                                        ; preds = %.preheader106, %212
  %indvars.iv163 = phi i64 [ %indvars.iv.next164, %212 ], [ 0, %.preheader106 ]
  %.170138 = phi i32 [ %213, %212 ], [ %.069147, %.preheader106 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #6
  store i32 0, ptr %23, align 4, !tbaa !5
  %154 = load i32, ptr %22, align 4, !tbaa !5
  %155 = sext i32 %154 to i64
  %156 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %155) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #6
  %157 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %156) #6
  store ptr %157, ptr %24, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #6
  %158 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %156) #6
  store ptr %158, ptr %25, align 8
  %159 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  br i1 %159, label %.lr.ph136, label %._crit_edge137

.lr.ph136:                                        ; preds = %.lr.ph140
  %160 = trunc nuw nsw i64 %indvars.iv163 to i32
  br label %161

._crit_edge137:                                   ; preds = %189, %.lr.ph140
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #6
  br i1 %146, label %198, label %193

161:                                              ; preds = %.lr.ph136, %189
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #6
  %162 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  %163 = load i32, ptr %162, align 4, !tbaa !5
  store i32 %163, ptr %26, align 4, !tbaa !5
  %164 = sext i32 %163 to i64
  %165 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI4mineSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %164) #6
  %166 = load i32, ptr %165, align 8, !tbaa !9
  %167 = icmp eq i32 %166, -1
  br i1 %167, label %168, label %177

168:                                              ; preds = %161
  %169 = load i32, ptr %26, align 4, !tbaa !5
  %170 = sext i32 %169 to i64
  %171 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI4mineSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %170) #6
  %172 = getelementptr inbounds i8, ptr %171, i64 8
  %173 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %172, i64 noundef %indvars.iv163) #6
  %174 = load i32, ptr %173, align 4, !tbaa !5
  %175 = load i32, ptr %23, align 4, !tbaa !5
  %176 = add nsw i32 %175, %174
  store i32 %176, ptr %23, align 4, !tbaa !5
  br label %189

177:                                              ; preds = %161
  %178 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIiiSt4hashIiESt8equal_toIiESaISt4pairIKiiEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %179 unwind label %185

179:                                              ; preds = %177
  %180 = load i32, ptr %178, align 4, !tbaa !5
  %181 = load i32, ptr %2, align 4, !tbaa !5
  %182 = mul nsw i32 %181, %180
  %183 = add nsw i32 %182, %160
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %27) #6
  store i32 -1, ptr %27, align 4, !tbaa !5
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_aEiiRKi(ptr noundef nonnull align 8 dereferenceable(456) %21, i32 noundef %183, i32 noundef %.170138, ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %184 unwind label %187

184:                                              ; preds = %179
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #6
  br label %189

185:                                              ; preds = %177
  %186 = landingpad { ptr, i32 }
          cleanup
  br label %192

187:                                              ; preds = %179
  %188 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #6
  br label %192

189:                                              ; preds = %184, %168
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #6
  %190 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  %191 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  br i1 %191, label %161, label %._crit_edge137

192:                                              ; preds = %187, %185
  %.pn88 = phi { ptr, i32 } [ %188, %187 ], [ %186, %185 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #6
  br label %217

193:                                              ; preds = %._crit_edge137
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #6
  store i32 1, ptr %28, align 4, !tbaa !5
  %194 = trunc nuw nsw i64 %indvars.iv163 to i32
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_aEiiRKi(ptr noundef nonnull align 8 dereferenceable(456) %21, i32 noundef %194, i32 noundef %.170138, ptr noundef nonnull align 4 dereferenceable(4) %28)
          to label %195 unwind label %196

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

196:                                              ; preds = %193
  %197 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #6
  br label %217

198:                                              ; preds = %._crit_edge137
  %199 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIiiSt4hashIiESt8equal_toIiESaISt4pairIKiiEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %200 unwind label %207

200:                                              ; preds = %198
  %201 = load i32, ptr %199, align 4, !tbaa !5
  %202 = load i32, ptr %2, align 4, !tbaa !5
  %203 = mul nsw i32 %202, %201
  %204 = trunc nuw nsw i64 %indvars.iv163 to i32
  %205 = add nsw i32 %203, %204
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #6
  store i32 2, ptr %29, align 4, !tbaa !5
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_aEiiRKi(ptr noundef nonnull align 8 dereferenceable(456) %21, i32 noundef %205, i32 noundef %.170138, ptr noundef nonnull align 4 dereferenceable(4) %29)
          to label %206 unwind label %209

206:                                              ; preds = %200
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #6
  br label %211

207:                                              ; preds = %211, %198
  %208 = landingpad { ptr, i32 }
          cleanup
  br label %217

209:                                              ; preds = %200
  %210 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #6
  br label %217

211:                                              ; preds = %206, %195
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_bEiRKi(ptr noundef nonnull align 8 dereferenceable(456) %21, i32 noundef %.170138, ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %212 unwind label %207

212:                                              ; preds = %211
  %213 = add nsw i32 %.170138, 1
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #6
  %indvars.iv.next164 = add nuw nsw i64 %indvars.iv163, 1
  %214 = load i32, ptr %2, align 4, !tbaa !5
  %215 = sext i32 %214 to i64
  %216 = icmp slt i64 %indvars.iv.next164, %215
  br i1 %216, label %.lr.ph140, label %._crit_edge141, !llvm.loop !21

217:                                              ; preds = %209, %207, %196, %192
  %.pn88.pn = phi { ptr, i32 } [ %.pn88, %192 ], [ %208, %207 ], [ %197, %196 ], [ %210, %209 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #6
  br label %243

._crit_edge145:                                   ; preds = %228, %.preheader
  %218 = add nsw i32 %.170.lcssa, 1
  %219 = load i32, ptr %22, align 4, !tbaa !5
  %220 = sext i32 %219 to i64
  %221 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI4mineSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %220) #6
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_bEiRKi(ptr noundef nonnull align 8 dereferenceable(456) %21, i32 noundef %.170.lcssa, ptr noundef nonnull align 4 dereferenceable(4) %221)
          to label %238 unwind label %236

.lr.ph144:                                        ; preds = %.preheader, %228
  %.045143 = phi i32 [ %229, %228 ], [ 0, %.preheader ]
  %222 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIiiSt4hashIiESt8equal_toIiESaISt4pairIKiiEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %223 unwind label %232

223:                                              ; preds = %.lr.ph144
  %224 = load i32, ptr %222, align 4, !tbaa !5
  %225 = load i32, ptr %2, align 4, !tbaa !5
  %226 = mul nsw i32 %225, %224
  %227 = add nsw i32 %226, %.045143
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %30) #6
  store i32 2, ptr %30, align 4, !tbaa !5
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_aEiiRKi(ptr noundef nonnull align 8 dereferenceable(456) %21, i32 noundef %227, i32 noundef %.170.lcssa, ptr noundef nonnull align 4 dereferenceable(4) %30)
          to label %228 unwind label %234

228:                                              ; preds = %223
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #6
  %229 = add nuw nsw i32 %.045143, 1
  %230 = load i32, ptr %2, align 4, !tbaa !5
  %231 = icmp slt i32 %229, %230
  br i1 %231, label %.lr.ph144, label %._crit_edge145, !llvm.loop !22

232:                                              ; preds = %.lr.ph144
  %233 = landingpad { ptr, i32 }
          cleanup
  br label %243

234:                                              ; preds = %223
  %235 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #6
  br label %243

236:                                              ; preds = %._crit_edge145
  %237 = landingpad { ptr, i32 }
          cleanup
  br label %243

238:                                              ; preds = %.lr.ph149, %._crit_edge141, %._crit_edge145
  %.271 = phi i32 [ %.170.lcssa, %._crit_edge141 ], [ %218, %._crit_edge145 ], [ %.069147, %.lr.ph149 ]
  %239 = load i32, ptr %22, align 4, !tbaa !5
  %240 = add nsw i32 %239, 1
  store i32 %240, ptr %22, align 4, !tbaa !5
  %241 = load i32, ptr %1, align 4, !tbaa !5
  %242 = icmp slt i32 %240, %241
  br i1 %242, label %.lr.ph149, label %._crit_edge150, !llvm.loop !23

243:                                              ; preds = %232, %234, %236, %217
  %.pn88.pn.pn = phi { ptr, i32 } [ %.pn88.pn, %217 ], [ %237, %236 ], [ %235, %234 ], [ %233, %232 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #6
  br label %308

._crit_edge156:                                   ; preds = %265, %._crit_edge150
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %35) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #6
  invoke void @_ZN4CGAL4GmpzC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %279 unwind label %285

.lr.ph155:                                        ; preds = %._crit_edge150, %265
  %indvars.iv166 = phi i64 [ %indvars.iv.next167, %265 ], [ 0, %._crit_edge150 ]
  %.372152 = phi i32 [ %257, %265 ], [ %.069.lcssa, %._crit_edge150 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %31) #6
  store i32 -1, ptr %31, align 4, !tbaa !5
  %244 = trunc nuw nsw i64 %indvars.iv166 to i32
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_aEiiRKi(ptr noundef nonnull align 8 dereferenceable(456) %21, i32 noundef %244, i32 noundef %.372152, ptr noundef nonnull align 4 dereferenceable(4) %31)
          to label %245 unwind label %269

245:                                              ; preds = %.lr.ph155
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #6
  %246 = load i32, ptr %2, align 4, !tbaa !5
  %247 = add nsw i32 %246, %244
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %32) #6
  store i32 -1, ptr %32, align 4, !tbaa !5
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_aEiiRKi(ptr noundef nonnull align 8 dereferenceable(456) %21, i32 noundef %247, i32 noundef %.372152, ptr noundef nonnull align 4 dereferenceable(4) %32)
          to label %248 unwind label %271

248:                                              ; preds = %245
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %32) #6
  %249 = add nsw i32 %.372152, 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %33) #6
  %250 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI7mineralSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv166) #6
  %251 = load i32, ptr %250, align 4, !tbaa !24
  %252 = sub nsw i32 0, %251
  store i32 %252, ptr %33, align 4, !tbaa !5
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_bEiRKi(ptr noundef nonnull align 8 dereferenceable(456) %21, i32 noundef %.372152, ptr noundef nonnull align 4 dereferenceable(4) %33)
          to label %253 unwind label %273

253:                                              ; preds = %248
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %33) #6
  %254 = load i32, ptr %2, align 4, !tbaa !5
  %255 = add nsw i32 %254, %244
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %34) #6
  store i32 1, ptr %34, align 4, !tbaa !5
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_aEiiRKi(ptr noundef nonnull align 8 dereferenceable(456) %21, i32 noundef %255, i32 noundef %249, ptr noundef nonnull align 4 dereferenceable(4) %34)
          to label %256 unwind label %275

256:                                              ; preds = %253
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %34) #6
  %257 = add nsw i32 %.372152, 2
  %258 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI7mineralSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv166) #6
  %259 = getelementptr inbounds i8, ptr %258, i64 4
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_bEiRKi(ptr noundef nonnull align 8 dereferenceable(456) %21, i32 noundef %249, ptr noundef nonnull align 4 dereferenceable(4) %259)
          to label %260 unwind label %277

260:                                              ; preds = %256
  %261 = load i32, ptr %2, align 4, !tbaa !5
  %262 = add nsw i32 %261, %244
  %263 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI7mineralSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv166) #6
  %264 = getelementptr inbounds i8, ptr %263, i64 8
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_cEiRKi(ptr noundef nonnull align 8 dereferenceable(456) %21, i32 noundef %262, ptr noundef nonnull align 4 dereferenceable(4) %264)
          to label %265 unwind label %277

265:                                              ; preds = %260
  %indvars.iv.next167 = add nuw nsw i64 %indvars.iv166, 1
  %266 = load i32, ptr %2, align 4, !tbaa !5
  %267 = sext i32 %266 to i64
  %268 = icmp slt i64 %indvars.iv.next167, %267
  br i1 %268, label %.lr.ph155, label %._crit_edge156, !llvm.loop !26

269:                                              ; preds = %.lr.ph155
  %270 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #6
  br label %308

271:                                              ; preds = %245
  %272 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %32) #6
  br label %308

273:                                              ; preds = %248
  %274 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %33) #6
  br label %308

275:                                              ; preds = %253
  %276 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %34) #6
  br label %308

277:                                              ; preds = %260, %256
  %278 = landingpad { ptr, i32 }
          cleanup
  br label %308

279:                                              ; preds = %._crit_edge156
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %37) #6
  call void @_ZN4CGAL25Quadratic_program_optionsC2Ev(ptr noundef nonnull align 4 dereferenceable(9) %37)
  invoke void @_ZN4CGAL20solve_linear_programINS_17Quadratic_programIiEENS_4GmpzEEENS_26Quadratic_program_solutionIT0_EERKT_RKS5_RKNS_25Quadratic_program_optionsE(ptr dead_on_unwind nonnull writable sret(%"class.CGAL::Quadratic_program_solution") align 8 %35, ptr noundef nonnull align 8 dereferenceable(456) %21, ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 4 dereferenceable(9) %37)
          to label %280 unwind label %287

280:                                              ; preds = %279
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %37) #6
  call void @_ZN4CGAL10Handle_forINS_8Gmpz_repESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #6
  %281 = invoke noundef zeroext i1 @_ZNK4CGAL26Quadratic_program_solutionINS_4GmpzEE13is_infeasibleEv(ptr noundef nonnull align 8 dereferenceable(48) %35)
          to label %282 unwind label %290

282:                                              ; preds = %280
  br i1 %281, label %283, label %292

283:                                              ; preds = %282
  %284 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
          to label %305 unwind label %290

285:                                              ; preds = %._crit_edge156
  %286 = landingpad { ptr, i32 }
          cleanup
  br label %289

287:                                              ; preds = %279
  %288 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %37) #6
  call void @_ZN4CGAL10Handle_forINS_8Gmpz_repESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %36) #6
  br label %289

289:                                              ; preds = %287, %285
  %.pn = phi { ptr, i32 } [ %288, %287 ], [ %286, %285 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #6
  br label %307

290:                                              ; preds = %283, %280
  %291 = landingpad { ptr, i32 }
          cleanup
  br label %306

292:                                              ; preds = %282
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %38) #6
  invoke void @_ZNK4CGAL26Quadratic_program_solutionINS_4GmpzEE15objective_valueEv(ptr dead_on_unwind nonnull writable sret(%"class.CGAL::Quotient") align 8 %38, ptr noundef nonnull align 8 dereferenceable(48) %35)
          to label %293 unwind label %300

293:                                              ; preds = %292
  %294 = invoke noundef i64 @_Z4convRKN4CGAL8QuotientINS_4GmpzEEE(ptr noundef nonnull align 8 dereferenceable(16) %38)
          to label %295 unwind label %302

295:                                              ; preds = %293
  %296 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEl(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %294)
          to label %297 unwind label %302

297:                                              ; preds = %295
  %298 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %296, ptr noundef nonnull @.str.6)
          to label %299 unwind label %302

299:                                              ; preds = %297
  call void @_ZN4CGAL8QuotientINS_4GmpzEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %38) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %38) #6
  br label %305

300:                                              ; preds = %292
  %301 = landingpad { ptr, i32 }
          cleanup
  br label %304

302:                                              ; preds = %297, %295, %293
  %303 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4CGAL8QuotientINS_4GmpzEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %38) #6
  br label %304

304:                                              ; preds = %302, %300
  %.pn79 = phi { ptr, i32 } [ %303, %302 ], [ %301, %300 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %38) #6
  br label %306

305:                                              ; preds = %283, %299
  call void @_ZN4CGAL26Quadratic_program_solutionINS_4GmpzEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %35) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %35) #6
  call void @_ZN4CGAL17Quadratic_programIiED2Ev(ptr noundef nonnull align 8 dereferenceable(456) %21) #6
  call void @llvm.lifetime.end.p0(i64 456, ptr nonnull %21) #6
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #6
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #6
  call void @_ZNSt13unordered_mapIiiSt4hashIiESt8equal_toIiESaISt4pairIKiiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %7) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %7) #6
  call void @_ZNSt6vectorI7mineralSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @_ZNSt6vectorI4mineSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  ret void

306:                                              ; preds = %304, %290
  %.pn81 = phi { ptr, i32 } [ %291, %290 ], [ %.pn79, %304 ]
  call void @_ZN4CGAL26Quadratic_program_solutionINS_4GmpzEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %35) #6
  br label %307

307:                                              ; preds = %306, %289
  %.pn81.pn = phi { ptr, i32 } [ %.pn81, %306 ], [ %.pn, %289 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %35) #6
  br label %308

308:                                              ; preds = %269, %271, %273, %275, %277, %307, %243
  %.pn88.pn.pn.pn = phi { ptr, i32 } [ %.pn88.pn.pn, %243 ], [ %.pn81.pn, %307 ], [ %278, %277 ], [ %276, %275 ], [ %274, %273 ], [ %272, %271 ], [ %270, %269 ]
  call void @_ZN4CGAL17Quadratic_programIiED2Ev(ptr noundef nonnull align 8 dereferenceable(456) %21) #6
  br label %309

309:                                              ; preds = %308, %144
  %.pn88.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn88.pn.pn.pn, %308 ], [ %145, %144 ]
  call void @llvm.lifetime.end.p0(i64 456, ptr nonnull %21) #6
  br label %310

310:                                              ; preds = %309, %142, %134, %119
  %.pn94 = phi { ptr, i32 } [ %120, %119 ], [ %135, %134 ], [ %.pn88.pn.pn.pn.pn, %309 ], [ %143, %142 ]
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  br label %311

311:                                              ; preds = %310, %105
  %.pn94.pn = phi { ptr, i32 } [ %.pn94, %310 ], [ %106, %105 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #6
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  br label %312

312:                                              ; preds = %311, %103
  %.pn94.pn.pn = phi { ptr, i32 } [ %.pn94.pn, %311 ], [ %104, %103 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #6
  br label %313

313:                                              ; preds = %312, %94
  %.pn99.pn.pn = phi { ptr, i32 } [ %.pn99.pn, %94 ], [ %.pn94.pn.pn, %312 ]
  call void @_ZNSt13unordered_mapIiiSt4hashIiESt8equal_toIiESaISt4pairIKiiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %7) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %7) #6
  call void @_ZNSt6vectorI7mineralSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  br label %314

314:                                              ; preds = %313, %52
  %.pn99.pn.pn.pn = phi { ptr, i32 } [ %.pn99.pn.pn, %313 ], [ %53, %52 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @_ZNSt6vectorI4mineSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  br label %315

315:                                              ; preds = %314, %50
  %.pn99.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn99.pn.pn.pn, %314 ], [ %51, %50 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn99.pn.pn.pn.pn
}

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt13unordered_mapIiiSt4hashIiESt8equal_toIiESaISt4pairIKiiEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4CGAL17Quadratic_programIiEC2ENS_4SignEbibi(ptr noundef nonnull align 8 dereferenceable(456), i32 noundef, i1 noundef zeroext, i32 noundef, i1 noundef zeroext, i32 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4CGAL17Quadratic_programIiE5set_aEiiRKi(ptr noundef nonnull align 8 dereferenceable(456), i32 noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4CGAL17Quadratic_programIiE5set_bEiRKi(ptr noundef nonnull align 8 dereferenceable(456), i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4CGAL17Quadratic_programIiE5set_cEiRKi(ptr noundef nonnull align 8 dereferenceable(456), i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4CGAL20solve_linear_programINS_17Quadratic_programIiEENS_4GmpzEEENS_26Quadratic_program_solutionIT0_EERKT_RKS5_RKNS_25Quadratic_program_optionsE(ptr dead_on_unwind noalias writable sret(%"class.CGAL::Quadratic_program_solution") align 8, ptr noundef nonnull align 8 dereferenceable(456), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(9)) local_unnamed_addr #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4CGAL26Quadratic_program_solutionINS_4GmpzEE13is_infeasibleEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #0 align 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) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4CGAL26Quadratic_program_solutionINS_4GmpzEE15objective_valueEv(ptr dead_on_unwind noalias writable sret(%"class.CGAL::Quotient") align 8, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #0 align 2

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4CGAL10Handle_forINS_8Gmpz_repESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTS4mine", !6, i64 0, !11, i64 8}
!11 = !{!"_ZTSSt6vectorIiSaIiEE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!15 = !{!"any pointer", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}
!20 = distinct !{!20, !17}
!21 = distinct !{!21, !17}
!22 = distinct !{!22, !17}
!23 = distinct !{!23, !17}
!24 = !{!25, !6, i64 0}
!25 = !{!"_ZTS7mineral", !6, i64 0, !6, i64 4, !6, i64 8}
!26 = distinct !{!26, !17}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass