; LLVM IR from tommasocerruti/algolab-2024 :: src/week11/worldcup (solution)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.CGAL::Quadratic_program" = type { i32, i32, %"class.std::vector", %"class.std::map", %"class.std::map.80", %"class.std::map.85", %"class.std::map", %"class.std::map.85", %"class.std::map", %"class.std::map", %"class.std::vector", i32, i32, i8, i32, i8, i32, i8, %"class.std::__cxx11::basic_string" }
%"class.std::map.80" = type { %"class.std::_Rb_tree.81" }
%"class.std::_Rb_tree.81" = 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.85" = type { %"class.std::_Rb_tree.86" }
%"class.std::_Rb_tree.86" = 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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.anon = type { i8 }
%"class.CGAL::Quadratic_program_solution" = type { %"class.CGAL::Handle_for.113", %"class.CGAL::Gmpz", %"class.std::__cxx11::basic_string" }
%"class.CGAL::Handle_for.113" = 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.beer_t = type { i32, i32, i32, i32 }
%struct.stadium_t = type { i32, i32, i32, i32 }

@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [4 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z15floor_to_doubleRKN4CGAL8QuotientINS_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
define dso_local void @_Z13compute_costsRSt6vectorI6beer_tSaIS0_EERS_I9stadium_tSaIS4_EERS_IS_IiSaIiEESaIS9_EE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.CGAL::Quadratic_program", align 8
  %8 = alloca %class.anon, align 1
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %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 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 %"class.CGAL::Quadratic_program_solution", align 8
  %29 = alloca %"class.CGAL::Gmpz", align 8
  %30 = alloca %"class.CGAL::Quadratic_program_options", align 4
  %31 = alloca %"class.CGAL::Quotient", align 8
  %32 = alloca %"class.CGAL::Quotient", align 8
  %33 = alloca %"class.CGAL::Quotient", align 8
  %34 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 456, ptr %7) #5
  call void @_ZN4CGAL17Quadratic_programIiEC2ENS_4SignEbibi(ptr noundef nonnull align 8 dereferenceable(456) %7, i32 noundef -1, i1 noundef zeroext true, i32 noundef 0, i1 noundef zeroext false, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %35

35:                                               ; preds = %74, %3
  %36 = load i32, ptr %10, align 4, !tbaa !9
  %37 = load i32, ptr @n, align 4, !tbaa !9
  %38 = icmp slt i32 %36, %37
  br i1 %38, label %40, label %39

39:                                               ; preds = %35
  store i32 2, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %82

40:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %41

41:                                               ; preds = %53, %40
  %42 = load i32, ptr %12, align 4, !tbaa !9
  %43 = load i32, ptr @m, align 4, !tbaa !9
  %44 = icmp slt i32 %42, %43
  br i1 %44, label %46, label %45

45:                                               ; preds = %41
  store i32 5, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %65

46:                                               ; preds = %41
  %47 = load i32, ptr %10, align 4, !tbaa !9
  %48 = load i32, ptr %12, align 4, !tbaa !9
  %49 = invoke noundef i32 @"_ZZ13compute_costsRSt6vectorI6beer_tSaIS0_EERS_I9stadium_tSaIS4_EERS_IS_IiSaIiEESaIS9_EEENK3$_0clEii"(ptr noundef nonnull align 1 dereferenceable(1) %8, i32 noundef %47, i32 noundef %48)
          to label %50 unwind label %56

50:                                               ; preds = %46
  %51 = load i32, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 1, ptr %15, align 4, !tbaa !9
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_aEiiRKi(ptr noundef nonnull align 8 dereferenceable(456) %7, i32 noundef %49, i32 noundef %51, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %52 unwind label %60

52:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %53

53:                                               ; preds = %52
  %54 = load i32, ptr %12, align 4, !tbaa !9
  %55 = add nsw i32 %54, 1
  store i32 %55, ptr %12, align 4, !tbaa !9
  br label %41, !llvm.loop !11

56:                                               ; preds = %46
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %13, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %14, align 4
  br label %64

60:                                               ; preds = %50
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %13, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %64

64:                                               ; preds = %60, %56
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %81

65:                                               ; preds = %45
  %66 = load i32, ptr %9, align 4, !tbaa !9
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %9, align 4, !tbaa !9
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = load i32, ptr %10, align 4, !tbaa !9
  %70 = sext i32 %69 to i64
  %71 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6beer_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %68, i64 noundef %70) #5
  %72 = getelementptr inbounds %struct.beer_t, ptr %71, i32 0, i32 2
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_bEiRKi(ptr noundef nonnull align 8 dereferenceable(456) %7, i32 noundef %66, ptr noundef nonnull align 4 dereferenceable(4) %72)
          to label %73 unwind label %77

73:                                               ; preds = %65
  br label %74

74:                                               ; preds = %73
  %75 = load i32, ptr %10, align 4, !tbaa !9
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr %10, align 4, !tbaa !9
  br label %35, !llvm.loop !13

77:                                               ; preds = %65
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %13, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %14, align 4
  br label %81

81:                                               ; preds = %77, %64
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %317

82:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %83

83:                                               ; preds = %161, %82
  %84 = load i32, ptr %16, align 4, !tbaa !9
  %85 = load i32, ptr @m, align 4, !tbaa !9
  %86 = icmp slt i32 %84, %85
  br i1 %86, label %88, label %87

87:                                               ; preds = %83
  store i32 8, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %169

88:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %89

89:                                               ; preds = %101, %88
  %90 = load i32, ptr %17, align 4, !tbaa !9
  %91 = load i32, ptr @n, align 4, !tbaa !9
  %92 = icmp slt i32 %90, %91
  br i1 %92, label %94, label %93

93:                                               ; preds = %89
  store i32 11, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %113

94:                                               ; preds = %89
  %95 = load i32, ptr %17, align 4, !tbaa !9
  %96 = load i32, ptr %16, align 4, !tbaa !9
  %97 = invoke noundef i32 @"_ZZ13compute_costsRSt6vectorI6beer_tSaIS0_EERS_I9stadium_tSaIS4_EERS_IS_IiSaIiEESaIS9_EEENK3$_0clEii"(ptr noundef nonnull align 1 dereferenceable(1) %8, i32 noundef %95, i32 noundef %96)
          to label %98 unwind label %104

98:                                               ; preds = %94
  %99 = load i32, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 1, ptr %18, align 4, !tbaa !9
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_aEiiRKi(ptr noundef nonnull align 8 dereferenceable(456) %7, i32 noundef %97, i32 noundef %99, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %100 unwind label %108

100:                                              ; preds = %98
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %101

101:                                              ; preds = %100
  %102 = load i32, ptr %17, align 4, !tbaa !9
  %103 = add nsw i32 %102, 1
  store i32 %103, ptr %17, align 4, !tbaa !9
  br label %89, !llvm.loop !14

104:                                              ; preds = %94
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %13, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %14, align 4
  br label %112

108:                                              ; preds = %98
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %13, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %112

112:                                              ; preds = %108, %104
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %168

113:                                              ; preds = %93
  %114 = load i32, ptr %9, align 4, !tbaa !9
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %9, align 4, !tbaa !9
  %116 = load ptr, ptr %5, align 8, !tbaa !5
  %117 = load i32, ptr %16, align 4, !tbaa !9
  %118 = sext i32 %117 to i64
  %119 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI9stadium_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %116, i64 noundef %118) #5
  %120 = getelementptr inbounds %struct.stadium_t, ptr %119, i32 0, i32 2
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_bEiRKi(ptr noundef nonnull align 8 dereferenceable(456) %7, i32 noundef %114, ptr noundef nonnull align 4 dereferenceable(4) %120)
          to label %121 unwind label %127

121:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %122

122:                                              ; preds = %138, %121
  %123 = load i32, ptr %19, align 4, !tbaa !9
  %124 = load i32, ptr @n, align 4, !tbaa !9
  %125 = icmp slt i32 %123, %124
  br i1 %125, label %131, label %126

126:                                              ; preds = %122
  store i32 14, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %150

127:                                              ; preds = %113
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %13, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %14, align 4
  br label %168

131:                                              ; preds = %122
  %132 = load i32, ptr %19, align 4, !tbaa !9
  %133 = load i32, ptr %16, align 4, !tbaa !9
  %134 = invoke noundef i32 @"_ZZ13compute_costsRSt6vectorI6beer_tSaIS0_EERS_I9stadium_tSaIS4_EERS_IS_IiSaIiEESaIS9_EEENK3$_0clEii"(ptr noundef nonnull align 1 dereferenceable(1) %8, i32 noundef %132, i32 noundef %133)
          to label %135 unwind label %141

135:                                              ; preds = %131
  %136 = load i32, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  store i32 -1, ptr %20, align 4, !tbaa !9
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_aEiiRKi(ptr noundef nonnull align 8 dereferenceable(456) %7, i32 noundef %134, i32 noundef %136, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %137 unwind label %145

137:                                              ; preds = %135
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br label %138

138:                                              ; preds = %137
  %139 = load i32, ptr %19, align 4, !tbaa !9
  %140 = add nsw i32 %139, 1
  store i32 %140, ptr %19, align 4, !tbaa !9
  br label %122, !llvm.loop !15

141:                                              ; preds = %131
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %13, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %14, align 4
  br label %149

145:                                              ; preds = %135
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %13, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br label %149

149:                                              ; preds = %145, %141
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %168

150:                                              ; preds = %126
  %151 = load i32, ptr %9, align 4, !tbaa !9
  %152 = add nsw i32 %151, 1
  store i32 %152, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  %153 = load ptr, ptr %5, align 8, !tbaa !5
  %154 = load i32, ptr %16, align 4, !tbaa !9
  %155 = sext i32 %154 to i64
  %156 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI9stadium_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %153, i64 noundef %155) #5
  %157 = getelementptr inbounds %struct.stadium_t, ptr %156, i32 0, i32 2
  %158 = load i32, ptr %157, align 4, !tbaa !16
  %159 = sub nsw i32 0, %158
  store i32 %159, ptr %21, align 4, !tbaa !9
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_bEiRKi(ptr noundef nonnull align 8 dereferenceable(456) %7, i32 noundef %151, ptr noundef nonnull align 4 dereferenceable(4) %21)
          to label %160 unwind label %164

160:                                              ; preds = %150
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  br label %161

161:                                              ; preds = %160
  %162 = load i32, ptr %16, align 4, !tbaa !9
  %163 = add nsw i32 %162, 1
  store i32 %163, ptr %16, align 4, !tbaa !9
  br label %83, !llvm.loop !18

164:                                              ; preds = %150
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %13, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  br label %168

168:                                              ; preds = %164, %149, %127, %112
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %317

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

170:                                              ; preds = %211, %169
  %171 = load i32, ptr %22, align 4, !tbaa !9
  %172 = load i32, ptr @m, align 4, !tbaa !9
  %173 = icmp slt i32 %171, %172
  br i1 %173, label %175, label %174

174:                                              ; preds = %170
  store i32 17, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  br label %219

175:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %176

176:                                              ; preds = %193, %175
  %177 = load i32, ptr %23, align 4, !tbaa !9
  %178 = load i32, ptr @n, align 4, !tbaa !9
  %179 = icmp slt i32 %177, %178
  br i1 %179, label %181, label %180

180:                                              ; preds = %176
  store i32 20, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %200

181:                                              ; preds = %176
  %182 = load i32, ptr %23, align 4, !tbaa !9
  %183 = load i32, ptr %22, align 4, !tbaa !9
  %184 = invoke noundef i32 @"_ZZ13compute_costsRSt6vectorI6beer_tSaIS0_EERS_I9stadium_tSaIS4_EERS_IS_IiSaIiEESaIS9_EEENK3$_0clEii"(ptr noundef nonnull align 1 dereferenceable(1) %8, i32 noundef %182, i32 noundef %183)
          to label %185 unwind label %196

185:                                              ; preds = %181
  %186 = load i32, ptr %9, align 4, !tbaa !9
  %187 = load ptr, ptr %4, align 8, !tbaa !5
  %188 = load i32, ptr %23, align 4, !tbaa !9
  %189 = sext i32 %188 to i64
  %190 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6beer_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %187, i64 noundef %189) #5
  %191 = getelementptr inbounds %struct.beer_t, ptr %190, i32 0, i32 3
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_aEiiRKi(ptr noundef nonnull align 8 dereferenceable(456) %7, i32 noundef %184, i32 noundef %186, ptr noundef nonnull align 4 dereferenceable(4) %191)
          to label %192 unwind label %196

192:                                              ; preds = %185
  br label %193

193:                                              ; preds = %192
  %194 = load i32, ptr %23, align 4, !tbaa !9
  %195 = add nsw i32 %194, 1
  store i32 %195, ptr %23, align 4, !tbaa !9
  br label %176, !llvm.loop !19

196:                                              ; preds = %185, %181
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %13, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %218

200:                                              ; preds = %180
  %201 = load i32, ptr %9, align 4, !tbaa !9
  %202 = add nsw i32 %201, 1
  store i32 %202, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %203 = load ptr, ptr %5, align 8, !tbaa !5
  %204 = load i32, ptr %22, align 4, !tbaa !9
  %205 = sext i32 %204 to i64
  %206 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI9stadium_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %203, i64 noundef %205) #5
  %207 = getelementptr inbounds %struct.stadium_t, ptr %206, i32 0, i32 3
  %208 = load i32, ptr %207, align 4, !tbaa !20
  %209 = mul nsw i32 100, %208
  store i32 %209, ptr %24, align 4, !tbaa !9
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_bEiRKi(ptr noundef nonnull align 8 dereferenceable(456) %7, i32 noundef %201, ptr noundef nonnull align 4 dereferenceable(4) %24)
          to label %210 unwind label %214

210:                                              ; preds = %200
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br label %211

211:                                              ; preds = %210
  %212 = load i32, ptr %22, align 4, !tbaa !9
  %213 = add nsw i32 %212, 1
  store i32 %213, ptr %22, align 4, !tbaa !9
  br label %170, !llvm.loop !21

214:                                              ; preds = %200
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %13, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br label %218

218:                                              ; preds = %214, %196
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  br label %317

219:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  store i32 0, ptr %25, align 4, !tbaa !9
  br label %220

220:                                              ; preds = %259, %219
  %221 = load i32, ptr %25, align 4, !tbaa !9
  %222 = load i32, ptr @n, align 4, !tbaa !9
  %223 = icmp slt i32 %221, %222
  br i1 %223, label %225, label %224

224:                                              ; preds = %220
  store i32 23, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  br label %262

225:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  store i32 0, ptr %26, align 4, !tbaa !9
  br label %226

226:                                              ; preds = %246, %225
  %227 = load i32, ptr %26, align 4, !tbaa !9
  %228 = load i32, ptr @m, align 4, !tbaa !9
  %229 = icmp slt i32 %227, %228
  br i1 %229, label %231, label %230

230:                                              ; preds = %226
  store i32 26, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  br label %258

231:                                              ; preds = %226
  %232 = load i32, ptr %25, align 4, !tbaa !9
  %233 = load i32, ptr %26, align 4, !tbaa !9
  %234 = invoke noundef i32 @"_ZZ13compute_costsRSt6vectorI6beer_tSaIS0_EERS_I9stadium_tSaIS4_EERS_IS_IiSaIiEESaIS9_EEENK3$_0clEii"(ptr noundef nonnull align 1 dereferenceable(1) %8, i32 noundef %232, i32 noundef %233)
          to label %235 unwind label %249

235:                                              ; preds = %231
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  %236 = load ptr, ptr %6, align 8, !tbaa !5
  %237 = load i32, ptr %25, align 4, !tbaa !9
  %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) %236, i64 noundef %238) #5
  %240 = load i32, ptr %26, align 4, !tbaa !9
  %241 = sext i32 %240 to i64
  %242 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %239, i64 noundef %241) #5
  %243 = load i32, ptr %242, align 4, !tbaa !9
  %244 = sub nsw i32 0, %243
  store i32 %244, ptr %27, align 4, !tbaa !9
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_cEiRKi(ptr noundef nonnull align 8 dereferenceable(456) %7, i32 noundef %234, ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %245 unwind label %253

245:                                              ; preds = %235
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  br label %246

246:                                              ; preds = %245
  %247 = load i32, ptr %26, align 4, !tbaa !9
  %248 = add nsw i32 %247, 1
  store i32 %248, ptr %26, align 4, !tbaa !9
  br label %226, !llvm.loop !22

249:                                              ; preds = %231
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %13, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %14, align 4
  br label %257

253:                                              ; preds = %235
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %13, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  br label %257

257:                                              ; preds = %253, %249
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  br label %317

258:                                              ; preds = %230
  br label %259

259:                                              ; preds = %258
  %260 = load i32, ptr %25, align 4, !tbaa !9
  %261 = add nsw i32 %260, 1
  store i32 %261, ptr %25, align 4, !tbaa !9
  br label %220, !llvm.loop !23

262:                                              ; preds = %224
  call void @llvm.lifetime.start.p0(i64 48, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  invoke void @_ZN4CGAL4GmpzC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %29)
          to label %263 unwind label %271

263:                                              ; preds = %262
  call void @llvm.lifetime.start.p0(i64 12, ptr %30) #5
  invoke void @_ZN4CGAL25Quadratic_program_optionsC2Ev(ptr noundef nonnull align 4 dereferenceable(9) %30)
          to label %264 unwind label %275

264:                                              ; preds = %263
  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 %28, ptr noundef nonnull align 8 dereferenceable(456) %7, ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 4 dereferenceable(9) %30)
          to label %265 unwind label %275

265:                                              ; preds = %264
  call void @llvm.lifetime.end.p0(i64 12, ptr %30) #5
  call void @_ZN4CGAL10Handle_forINS_8Gmpz_repESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  %266 = invoke noundef zeroext i1 @_ZNK4CGAL26Quadratic_program_solutionINS_4GmpzEE13is_infeasibleEv(ptr noundef nonnull align 8 dereferenceable(48) %28)
          to label %267 unwind label %280

267:                                              ; preds = %265
  br i1 %266, label %268, label %284

268:                                              ; preds = %267
  %269 = 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 %270 unwind label %280

270:                                              ; preds = %268
  br label %314

271:                                              ; preds = %262
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %13, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %14, align 4
  br label %279

275:                                              ; preds = %264, %263
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %13, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %30) #5
  call void @_ZN4CGAL10Handle_forINS_8Gmpz_repESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #5
  br label %279

279:                                              ; preds = %275, %271
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  br label %316

280:                                              ; preds = %268, %265
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %13, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %14, align 4
  br label %315

284:                                              ; preds = %267
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #5
  invoke void @_ZNK4CGAL26Quadratic_program_solutionINS_4GmpzEE15objective_valueEv(ptr dead_on_unwind writable sret(%"class.CGAL::Quotient") align 8 %33, ptr noundef nonnull align 8 dereferenceable(48) %28)
          to label %285 unwind label %295

285:                                              ; preds = %284
  invoke void @_ZN4CGALngINS_4GmpzEEENS_8QuotientIT_EERKS4_(ptr dead_on_unwind writable sret(%"class.CGAL::Quotient") align 8 %32, ptr noundef nonnull align 8 dereferenceable(16) %33)
          to label %286 unwind label %299

286:                                              ; preds = %285
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #5
  store i32 100, ptr %34, align 4, !tbaa !9
  invoke void @_ZN5boost14operators_impldvERKN4CGAL8QuotientINS1_4GmpzEEERKi(ptr dead_on_unwind writable sret(%"class.CGAL::Quotient") align 8 %31, ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef nonnull align 4 dereferenceable(4) %34)
          to label %287 unwind label %303

287:                                              ; preds = %286
  %288 = invoke noundef double @_Z15floor_to_doubleRKN4CGAL8QuotientINS_4GmpzEEE(ptr noundef nonnull align 8 dereferenceable(16) %31)
          to label %289 unwind label %307

289:                                              ; preds = %287
  %290 = fptosi double %288 to i64
  %291 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEl(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %290)
          to label %292 unwind label %307

292:                                              ; preds = %289
  %293 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %291, i8 noundef signext 10)
          to label %294 unwind label %307

294:                                              ; preds = %292
  call void @_ZN4CGAL8QuotientINS_4GmpzEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %31) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  call void @_ZN4CGAL8QuotientINS_4GmpzEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %32) #5
  call void @_ZN4CGAL8QuotientINS_4GmpzEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %33) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #5
  br label %314

295:                                              ; preds = %284
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %13, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %14, align 4
  br label %313

299:                                              ; preds = %285
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %13, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %14, align 4
  br label %312

303:                                              ; preds = %286
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %13, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %14, align 4
  br label %311

307:                                              ; preds = %292, %289, %287
  %308 = landingpad { ptr, i32 }
          cleanup
  %309 = extractvalue { ptr, i32 } %308, 0
  store ptr %309, ptr %13, align 8
  %310 = extractvalue { ptr, i32 } %308, 1
  store i32 %310, ptr %14, align 4
  call void @_ZN4CGAL8QuotientINS_4GmpzEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %31) #5
  br label %311

311:                                              ; preds = %307, %303
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  call void @_ZN4CGAL8QuotientINS_4GmpzEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %32) #5
  br label %312

312:                                              ; preds = %311, %299
  call void @_ZN4CGAL8QuotientINS_4GmpzEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %33) #5
  br label %313

313:                                              ; preds = %312, %295
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #5
  br label %315

314:                                              ; preds = %294, %270
  call void @_ZN4CGAL26Quadratic_program_solutionINS_4GmpzEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  call void @_ZN4CGAL17Quadratic_programIiED2Ev(ptr noundef nonnull align 8 dereferenceable(456) %7) #5
  call void @llvm.lifetime.end.p0(i64 456, ptr %7) #5
  ret void

315:                                              ; preds = %313, %280
  call void @_ZN4CGAL26Quadratic_program_solutionINS_4GmpzEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #5
  br label %316

316:                                              ; preds = %315, %279
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #5
  br label %317

317:                                              ; preds = %316, %257, %218, %168, %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  call void @_ZN4CGAL17Quadratic_programIiED2Ev(ptr noundef nonnull align 8 dereferenceable(456) %7) #5
  call void @llvm.lifetime.end.p0(i64 456, ptr %7) #5
  br label %318

318:                                              ; preds = %317
  %319 = load ptr, ptr %13, align 8
  %320 = load i32, ptr %14, align 4
  %321 = insertvalue { ptr, i32 } poison, ptr %319, 0
  %322 = insertvalue { ptr, i32 } %321, i32 %320, 1
  resume { ptr, i32 } %322
}

; 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: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @"_ZZ13compute_costsRSt6vectorI6beer_tSaIS0_EERS_I9stadium_tSaIS4_EERS_IS_IiSaIiEESaIS9_EEENK3$_0clEii"(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, i32 noundef) #2 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 nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6beer_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI9stadium_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 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 nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 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) #3 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 #3 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) #4

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #4

; 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 @_ZN5boost14operators_impldvERKN4CGAL8QuotientINS1_4GmpzEEERKi(ptr dead_on_unwind noalias writable sret(%"class.CGAL::Quotient") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #0

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4CGALngINS_4GmpzEEENS_8QuotientIT_EERKS4_(ptr dead_on_unwind noalias writable sret(%"class.CGAL::Quotient") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #4

; 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 #2 align 2

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

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

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

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

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


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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.CGAL::Quadratic_program" = type { i32, i32, %"class.std::vector", %"class.std::map", %"class.std::map.80", %"class.std::map.85", %"class.std::map", %"class.std::map.85", %"class.std::map", %"class.std::map", %"class.std::vector", i32, i32, i8, i32, i8, i32, i8, %"class.std::__cxx11::basic_string" }
%"class.std::map.80" = type { %"class.std::_Rb_tree.81" }
%"class.std::_Rb_tree.81" = 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.85" = type { %"class.std::_Rb_tree.86" }
%"class.std::_Rb_tree.86" = 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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.anon = type { i8 }
%"class.CGAL::Quadratic_program_solution" = type { %"class.CGAL::Handle_for.113", %"class.CGAL::Gmpz", %"class.std::__cxx11::basic_string" }
%"class.CGAL::Handle_for.113" = 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" }

@n = external dso_local local_unnamed_addr global i32, align 4
@m = external dso_local local_unnamed_addr global i32, align 4
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [4 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z15floor_to_doubleRKN4CGAL8QuotientINS_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
define dso_local void @_Z13compute_costsRSt6vectorI6beer_tSaIS0_EERS_I9stadium_tSaIS4_EERS_IS_IiSaIiEESaIS9_EE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.CGAL::Quadratic_program", align 8
  %5 = alloca %class.anon, align 1
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"class.CGAL::Quadratic_program_solution", align 8
  %13 = alloca %"class.CGAL::Gmpz", align 8
  %14 = alloca %"class.CGAL::Quadratic_program_options", align 4
  %15 = alloca %"class.CGAL::Quotient", align 8
  %16 = alloca %"class.CGAL::Quotient", align 8
  %17 = alloca %"class.CGAL::Quotient", align 8
  %18 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 456, ptr nonnull %4) #5
  call void @_ZN4CGAL17Quadratic_programIiEC2ENS_4SignEbibi(ptr noundef nonnull align 8 dereferenceable(456) %4, i32 noundef -1, i1 noundef zeroext true, i32 noundef 0, i1 noundef zeroext false, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #5
  %19 = load i32, ptr @n, align 4, !tbaa !5
  %20 = icmp sgt i32 %19, 0
  br i1 %20, label %.preheader93, label %.preheader92

.preheader93:                                     ; preds = %3, %34
  %indvars.iv = phi i64 [ %indvars.iv.next, %34 ], [ 0, %3 ]
  %indvars126 = trunc i64 %indvars.iv to i32
  %21 = load i32, ptr @m, align 4, !tbaa !5
  %22 = icmp sgt i32 %21, 0
  br i1 %22, label %.lr.ph, label %._crit_edge

.preheader92.loopexit:                            ; preds = %34
  %indvars125 = trunc i64 %indvars.iv.next to i32
  br label %.preheader92

.preheader92:                                     ; preds = %.preheader92.loopexit, %3
  %.069.lcssa = phi i32 [ 0, %3 ], [ %indvars125, %.preheader92.loopexit ]
  %23 = load i32, ptr @m, align 4, !tbaa !5
  %24 = icmp sgt i32 %23, 0
  br i1 %24, label %.preheader91, label %.preheader87

._crit_edge:                                      ; preds = %28, %.preheader93
  %25 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6beer_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv) #5
  %26 = getelementptr inbounds i8, ptr %25, i64 8
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_bEiRKi(ptr noundef nonnull align 8 dereferenceable(456) %4, i32 noundef %indvars126, ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %34 unwind label %38

.lr.ph:                                           ; preds = %.preheader93, %28
  %.067100 = phi i32 [ %29, %28 ], [ 0, %.preheader93 ]
  %27 = call noundef i32 @"_ZZ13compute_costsRSt6vectorI6beer_tSaIS0_EERS_I9stadium_tSaIS4_EERS_IS_IiSaIiEESaIS9_EEENK3$_0clEii"(ptr noundef nonnull align 1 dereferenceable(1) %5, i32 noundef %indvars126, i32 noundef %.067100)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  store i32 1, ptr %6, align 4, !tbaa !5
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_aEiiRKi(ptr noundef nonnull align 8 dereferenceable(456) %4, i32 noundef %27, i32 noundef %indvars126, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %28 unwind label %32

28:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  %29 = add nuw nsw i32 %.067100, 1
  %30 = load i32, ptr @m, align 4, !tbaa !5
  %31 = icmp slt i32 %29, %30
  br i1 %31, label %.lr.ph, label %._crit_edge, !llvm.loop !9

32:                                               ; preds = %.lr.ph
  %33 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  br label %164

34:                                               ; preds = %._crit_edge
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %35 = load i32, ptr @n, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = icmp slt i64 %indvars.iv.next, %36
  br i1 %37, label %.preheader93, label %.preheader92.loopexit, !llvm.loop !11

38:                                               ; preds = %._crit_edge
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %164

.preheader91:                                     ; preds = %.preheader92, %70
  %indvars.iv127 = phi i64 [ %indvars.iv.next128, %70 ], [ 0, %.preheader92 ]
  %.170109 = phi i32 [ %71, %70 ], [ %.069.lcssa, %.preheader92 ]
  %40 = load i32, ptr @n, align 4, !tbaa !5
  %41 = icmp sgt i32 %40, 0
  br i1 %41, label %.lr.ph104.preheader, label %._crit_edge105

.lr.ph104.preheader:                              ; preds = %.preheader91
  %42 = trunc nuw nsw i64 %indvars.iv127 to i32
  br label %.lr.ph104

.preheader89:                                     ; preds = %70
  %43 = icmp sgt i32 %72, 0
  br i1 %43, label %.preheader88, label %.preheader87

._crit_edge105:                                   ; preds = %51, %.preheader91
  %44 = add nuw nsw i32 %.170109, 1
  %45 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI9stadium_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv127) #5
  %46 = getelementptr inbounds i8, ptr %45, i64 8
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_bEiRKi(ptr noundef nonnull align 8 dereferenceable(456) %4, i32 noundef %.170109, ptr noundef nonnull align 4 dereferenceable(4) %46)
          to label %.preheader90 unwind label %61

.preheader90:                                     ; preds = %._crit_edge105
  %47 = load i32, ptr @n, align 4, !tbaa !5
  %48 = icmp sgt i32 %47, 0
  br i1 %48, label %.lr.ph107.preheader, label %._crit_edge108

.lr.ph107.preheader:                              ; preds = %.preheader90
  %49 = trunc nuw nsw i64 %indvars.iv127 to i32
  br label %.lr.ph107

.lr.ph104:                                        ; preds = %.lr.ph104.preheader, %51
  %.054103 = phi i32 [ %52, %51 ], [ 0, %.lr.ph104.preheader ]
  %50 = call noundef i32 @"_ZZ13compute_costsRSt6vectorI6beer_tSaIS0_EERS_I9stadium_tSaIS4_EERS_IS_IiSaIiEESaIS9_EEENK3$_0clEii"(ptr noundef nonnull align 1 dereferenceable(1) %5, i32 noundef %.054103, i32 noundef %42)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  store i32 1, ptr %7, align 4, !tbaa !5
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_aEiiRKi(ptr noundef nonnull align 8 dereferenceable(456) %4, i32 noundef %50, i32 noundef %.170109, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %51 unwind label %55

51:                                               ; preds = %.lr.ph104
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  %52 = add nuw nsw i32 %.054103, 1
  %53 = load i32, ptr @n, align 4, !tbaa !5
  %54 = icmp slt i32 %52, %53
  br i1 %54, label %.lr.ph104, label %._crit_edge105, !llvm.loop !12

55:                                               ; preds = %.lr.ph104
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  br label %164

._crit_edge108:                                   ; preds = %64, %.preheader90
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5
  %57 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI9stadium_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv127) #5
  %58 = getelementptr inbounds i8, ptr %57, i64 8
  %59 = load i32, ptr %58, align 4, !tbaa !13
  %60 = sub nsw i32 0, %59
  store i32 %60, ptr %9, align 4, !tbaa !5
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_bEiRKi(ptr noundef nonnull align 8 dereferenceable(456) %4, i32 noundef %44, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %70 unwind label %75

61:                                               ; preds = %._crit_edge105
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %164

.lr.ph107:                                        ; preds = %.lr.ph107.preheader, %64
  %.053106 = phi i32 [ %65, %64 ], [ 0, %.lr.ph107.preheader ]
  %63 = call noundef i32 @"_ZZ13compute_costsRSt6vectorI6beer_tSaIS0_EERS_I9stadium_tSaIS4_EERS_IS_IiSaIiEESaIS9_EEENK3$_0clEii"(ptr noundef nonnull align 1 dereferenceable(1) %5, i32 noundef %.053106, i32 noundef %49)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5
  store i32 -1, ptr %8, align 4, !tbaa !5
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_aEiiRKi(ptr noundef nonnull align 8 dereferenceable(456) %4, i32 noundef %63, i32 noundef %44, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %64 unwind label %68

64:                                               ; preds = %.lr.ph107
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  %65 = add nuw nsw i32 %.053106, 1
  %66 = load i32, ptr @n, align 4, !tbaa !5
  %67 = icmp slt i32 %65, %66
  br i1 %67, label %.lr.ph107, label %._crit_edge108, !llvm.loop !15

68:                                               ; preds = %.lr.ph107
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  br label %164

70:                                               ; preds = %._crit_edge108
  %71 = add nuw nsw i32 %.170109, 2
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  %indvars.iv.next128 = add nuw nsw i64 %indvars.iv127, 1
  %72 = load i32, ptr @m, align 4, !tbaa !5
  %73 = sext i32 %72 to i64
  %74 = icmp slt i64 %indvars.iv.next128, %73
  br i1 %74, label %.preheader91, label %.preheader89, !llvm.loop !16

75:                                               ; preds = %._crit_edge108
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  br label %164

.preheader88:                                     ; preds = %.preheader89, %98
  %indvars.iv133 = phi i64 [ %indvars.iv.next134, %98 ], [ 0, %.preheader89 ]
  %.271115 = phi i32 [ %99, %98 ], [ %71, %.preheader89 ]
  %77 = load i32, ptr @n, align 4, !tbaa !5
  %78 = icmp sgt i32 %77, 0
  br i1 %78, label %.lr.ph113.preheader, label %._crit_edge114

.lr.ph113.preheader:                              ; preds = %.preheader88
  %79 = trunc nuw nsw i64 %indvars.iv133 to i32
  br label %.lr.ph113

.preheader87:                                     ; preds = %98, %.preheader92, %.preheader89
  %80 = phi i32 [ %72, %.preheader89 ], [ %23, %.preheader92 ], [ %100, %98 ]
  %81 = load i32, ptr @n, align 4, !tbaa !5
  %82 = icmp sgt i32 %81, 0
  %83 = icmp sgt i32 %80, 0
  %or.cond = and i1 %82, %83
  br i1 %or.cond, label %.preheader, label %._crit_edge121

._crit_edge114:                                   ; preds = %92, %.preheader88
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  %84 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI9stadium_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv133) #5
  %85 = getelementptr inbounds i8, ptr %84, i64 12
  %86 = load i32, ptr %85, align 4, !tbaa !17
  %87 = mul nsw i32 %86, 100
  store i32 %87, ptr %10, align 4, !tbaa !5
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_bEiRKi(ptr noundef nonnull align 8 dereferenceable(456) %4, i32 noundef %.271115, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %98 unwind label %103

.lr.ph113:                                        ; preds = %.lr.ph113.preheader, %92
  %indvars.iv130 = phi i64 [ 0, %.lr.ph113.preheader ], [ %indvars.iv.next131, %92 ]
  %88 = trunc nuw nsw i64 %indvars.iv130 to i32
  %89 = call noundef i32 @"_ZZ13compute_costsRSt6vectorI6beer_tSaIS0_EERS_I9stadium_tSaIS4_EERS_IS_IiSaIiEESaIS9_EEENK3$_0clEii"(ptr noundef nonnull align 1 dereferenceable(1) %5, i32 noundef %88, i32 noundef %79)
  %90 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6beer_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv130) #5
  %91 = getelementptr inbounds i8, ptr %90, i64 12
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_aEiiRKi(ptr noundef nonnull align 8 dereferenceable(456) %4, i32 noundef %89, i32 noundef %.271115, ptr noundef nonnull align 4 dereferenceable(4) %91)
          to label %92 unwind label %96

92:                                               ; preds = %.lr.ph113
  %indvars.iv.next131 = add nuw nsw i64 %indvars.iv130, 1
  %93 = load i32, ptr @n, align 4, !tbaa !5
  %94 = sext i32 %93 to i64
  %95 = icmp slt i64 %indvars.iv.next131, %94
  br i1 %95, label %.lr.ph113, label %._crit_edge114, !llvm.loop !18

96:                                               ; preds = %.lr.ph113
  %97 = landingpad { ptr, i32 }
          cleanup
  br label %164

98:                                               ; preds = %._crit_edge114
  %99 = add nuw nsw i32 %.271115, 1
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  %indvars.iv.next134 = add nuw nsw i64 %indvars.iv133, 1
  %100 = load i32, ptr @m, align 4, !tbaa !5
  %101 = sext i32 %100 to i64
  %102 = icmp slt i64 %indvars.iv.next134, %101
  br i1 %102, label %.preheader88, label %.preheader87, !llvm.loop !19

103:                                              ; preds = %._crit_edge114
  %104 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  br label %164

.preheader:                                       ; preds = %.preheader87, %._crit_edge119
  %105 = phi i32 [ %109, %._crit_edge119 ], [ %81, %.preheader87 ]
  %106 = phi i32 [ %110, %._crit_edge119 ], [ %80, %.preheader87 ]
  %indvars.iv139 = phi i64 [ %indvars.iv.next140, %._crit_edge119 ], [ 0, %.preheader87 ]
  %107 = icmp sgt i32 %106, 0
  br i1 %107, label %.lr.ph118, label %._crit_edge119

.lr.ph118:                                        ; preds = %.preheader
  %108 = trunc nuw nsw i64 %indvars.iv139 to i32
  br label %113

._crit_edge121:                                   ; preds = %._crit_edge119, %.preheader87
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  invoke void @_ZN4CGAL4GmpzC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %126 unwind label %132

._crit_edge119.loopexit:                          ; preds = %120
  %.pre = load i32, ptr @n, align 4, !tbaa !5
  br label %._crit_edge119

._crit_edge119:                                   ; preds = %._crit_edge119.loopexit, %.preheader
  %109 = phi i32 [ %.pre, %._crit_edge119.loopexit ], [ %105, %.preheader ]
  %110 = phi i32 [ %121, %._crit_edge119.loopexit ], [ %106, %.preheader ]
  %indvars.iv.next140 = add nuw nsw i64 %indvars.iv139, 1
  %111 = sext i32 %109 to i64
  %112 = icmp slt i64 %indvars.iv.next140, %111
  br i1 %112, label %.preheader, label %._crit_edge121, !llvm.loop !20

113:                                              ; preds = %.lr.ph118, %120
  %indvars.iv136 = phi i64 [ 0, %.lr.ph118 ], [ %indvars.iv.next137, %120 ]
  %114 = trunc nuw nsw i64 %indvars.iv136 to i32
  %115 = call noundef i32 @"_ZZ13compute_costsRSt6vectorI6beer_tSaIS0_EERS_I9stadium_tSaIS4_EERS_IS_IiSaIiEESaIS9_EEENK3$_0clEii"(ptr noundef nonnull align 1 dereferenceable(1) %5, i32 noundef %108, i32 noundef %114)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #5
  %116 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv139) #5
  %117 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %116, i64 noundef %indvars.iv136) #5
  %118 = load i32, ptr %117, align 4, !tbaa !5
  %119 = sub nsw i32 0, %118
  store i32 %119, ptr %11, align 4, !tbaa !5
  invoke void @_ZN4CGAL17Quadratic_programIiE5set_cEiRKi(ptr noundef nonnull align 8 dereferenceable(456) %4, i32 noundef %115, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %120 unwind label %124

120:                                              ; preds = %113
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  %indvars.iv.next137 = add nuw nsw i64 %indvars.iv136, 1
  %121 = load i32, ptr @m, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = icmp slt i64 %indvars.iv.next137, %122
  br i1 %123, label %113, label %._crit_edge119.loopexit, !llvm.loop !22

124:                                              ; preds = %113
  %125 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  br label %164

126:                                              ; preds = %._crit_edge121
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %14) #5
  call void @_ZN4CGAL25Quadratic_program_optionsC2Ev(ptr noundef nonnull align 4 dereferenceable(9) %14)
  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 %12, ptr noundef nonnull align 8 dereferenceable(456) %4, ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(9) %14)
          to label %127 unwind label %134

127:                                              ; preds = %126
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %14) #5
  call void @_ZN4CGAL10Handle_forINS_8Gmpz_repESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  %128 = invoke noundef zeroext i1 @_ZNK4CGAL26Quadratic_program_solutionINS_4GmpzEE13is_infeasibleEv(ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %129 unwind label %137

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

130:                                              ; preds = %129
  %131 = 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 %161 unwind label %137

132:                                              ; preds = %._crit_edge121
  %133 = landingpad { ptr, i32 }
          cleanup
  br label %136

134:                                              ; preds = %126
  %135 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %14) #5
  call void @_ZN4CGAL10Handle_forINS_8Gmpz_repESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  br label %136

136:                                              ; preds = %134, %132
  %.pn = phi { ptr, i32 } [ %135, %134 ], [ %133, %132 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  br label %163

137:                                              ; preds = %130, %127
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %162

139:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #5
  invoke void @_ZNK4CGAL26Quadratic_program_solutionINS_4GmpzEE15objective_valueEv(ptr dead_on_unwind nonnull writable sret(%"class.CGAL::Quotient") align 8 %17, ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %140 unwind label %150

140:                                              ; preds = %139
  invoke void @_ZN4CGALngINS_4GmpzEEENS_8QuotientIT_EERKS4_(ptr dead_on_unwind nonnull writable sret(%"class.CGAL::Quotient") align 8 %16, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %141 unwind label %152

141:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #5
  store i32 100, ptr %18, align 4, !tbaa !5
  invoke void @_ZN5boost14operators_impldvERKN4CGAL8QuotientINS1_4GmpzEEERKi(ptr dead_on_unwind nonnull writable sret(%"class.CGAL::Quotient") align 8 %15, ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %142 unwind label %154

142:                                              ; preds = %141
  %143 = invoke noundef double @_Z15floor_to_doubleRKN4CGAL8QuotientINS_4GmpzEEE(ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %144 unwind label %156

144:                                              ; preds = %142
  %145 = fptosi double %143 to i64
  %146 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEl(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %145)
          to label %147 unwind label %156

147:                                              ; preds = %144
  %148 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %146, i8 noundef signext 10)
          to label %149 unwind label %156

149:                                              ; preds = %147
  call void @_ZN4CGAL8QuotientINS_4GmpzEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #5
  call void @_ZN4CGAL8QuotientINS_4GmpzEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #5
  call void @_ZN4CGAL8QuotientINS_4GmpzEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #5
  br label %161

150:                                              ; preds = %139
  %151 = landingpad { ptr, i32 }
          cleanup
  br label %160

152:                                              ; preds = %140
  %153 = landingpad { ptr, i32 }
          cleanup
  br label %159

154:                                              ; preds = %141
  %155 = landingpad { ptr, i32 }
          cleanup
  br label %158

156:                                              ; preds = %147, %144, %142
  %157 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4CGAL8QuotientINS_4GmpzEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #5
  br label %158

158:                                              ; preds = %156, %154
  %.pn73 = phi { ptr, i32 } [ %157, %156 ], [ %155, %154 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #5
  call void @_ZN4CGAL8QuotientINS_4GmpzEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #5
  br label %159

159:                                              ; preds = %158, %152
  %.pn73.pn = phi { ptr, i32 } [ %.pn73, %158 ], [ %153, %152 ]
  call void @_ZN4CGAL8QuotientINS_4GmpzEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #5
  br label %160

160:                                              ; preds = %159, %150
  %.pn73.pn.pn = phi { ptr, i32 } [ %.pn73.pn, %159 ], [ %151, %150 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #5
  br label %162

161:                                              ; preds = %130, %149
  call void @_ZN4CGAL26Quadratic_program_solutionINS_4GmpzEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  call void @_ZN4CGAL17Quadratic_programIiED2Ev(ptr noundef nonnull align 8 dereferenceable(456) %4) #5
  call void @llvm.lifetime.end.p0(i64 456, ptr nonnull %4) #5
  ret void

162:                                              ; preds = %160, %137
  %.pn77 = phi { ptr, i32 } [ %138, %137 ], [ %.pn73.pn.pn, %160 ]
  call void @_ZN4CGAL26Quadratic_program_solutionINS_4GmpzEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #5
  br label %163

163:                                              ; preds = %162, %136
  %.pn77.pn = phi { ptr, i32 } [ %.pn77, %162 ], [ %.pn, %136 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #5
  br label %164

164:                                              ; preds = %96, %103, %55, %61, %68, %75, %32, %38, %163, %124
  %.pn84.pn = phi { ptr, i32 } [ %125, %124 ], [ %.pn77.pn, %163 ], [ %33, %32 ], [ %39, %38 ], [ %56, %55 ], [ %69, %68 ], [ %76, %75 ], [ %62, %61 ], [ %97, %96 ], [ %104, %103 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  call void @_ZN4CGAL17Quadratic_programIiED2Ev(ptr noundef nonnull align 8 dereferenceable(456) %4) #5
  call void @llvm.lifetime.end.p0(i64 456, ptr nonnull %4) #5
  resume { ptr, i32 } %.pn84.pn
}

; 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: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @"_ZZ13compute_costsRSt6vectorI6beer_tSaIS0_EERS_I9stadium_tSaIS4_EERS_IS_IiSaIiEESaIS9_EEENK3$_0clEii"(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, i32 noundef) local_unnamed_addr #2 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 nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6beer_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI9stadium_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #3 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 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 #3 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 #3 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 #3 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 #4

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #4

; 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 @_ZN5boost14operators_impldvERKN4CGAL8QuotientINS1_4GmpzEEERKi(ptr dead_on_unwind noalias writable sret(%"class.CGAL::Quotient") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4CGALngINS_4GmpzEEENS_8QuotientIT_EERKS4_(ptr dead_on_unwind noalias writable sret(%"class.CGAL::Quotient") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4

; 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 #2 align 2

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = !{!14, !6, i64 8}
!14 = !{!"_ZTS9stadium_t", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = !{!14, !6, i64 12}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10, !21}
!21 = !{!"llvm.loop.unswitch.partial.disable"}
!22 = distinct !{!22, !10}


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