; LLVM IR from tangjz/acm-icpc :: hdu/5299.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::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<Curve, Curve, std::_Identity<Curve>, std::less<Curve>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<Curve, Curve, std::_Identity<Curve>, std::less<Curve>>::_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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Circle, std::allocator<Circle>>::_Vector_impl" }
%"struct.std::_Vector_base<Circle, std::allocator<Circle>>::_Vector_impl" = type { %"struct.std::_Vector_base<Circle, std::allocator<Circle>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Circle, std::allocator<Circle>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.0" = type { i8 }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<Event, std::allocator<Event>>::_Vector_impl" }
%"struct.std::_Vector_base<Event, std::allocator<Event>>::_Vector_impl" = type { %"struct.std::_Vector_base<Event, std::allocator<Event>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Event, std::allocator<Event>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.5" = type { i8 }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = 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.10" = type { i8 }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = 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.15" = type { i8 }
%struct.Event = type { i32, i32, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"struct.std::pair" = type <{ %"struct.std::_Rb_tree_const_iterator", i8, [7 x i8] }>
%struct.Curve = type { ptr, i8 }
%"class.__gnu_cxx::__normal_iterator.18" = type { ptr }
%struct.Circle = type { i32, i32, i32 }

@_ZN5Curve2pXE = external dso_local global i32, align 4
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [62 x i8], align 1
@__PRETTY_FUNCTION__._Z5solvev = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvev() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"class.std::set", align 8
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca %"class.std::allocator.0", align 1
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.std::vector.3", align 8
  %8 = alloca %"class.std::allocator.5", align 1
  %9 = alloca %"class.std::vector.8", align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::allocator.10", align 1
  %12 = alloca %"class.std::vector.13", align 8
  %13 = alloca %"class.std::allocator.15", align 1
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca %struct.Event, align 8
  %17 = alloca %struct.Event, align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %26 = alloca %"struct.std::pair", align 8
  %27 = alloca %struct.Curve, align 8
  %28 = alloca { ptr, i8 }, align 8
  %29 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %30 = alloca %"struct.std::pair", align 8
  %31 = alloca %struct.Curve, align 8
  %32 = alloca { ptr, i8 }, align 8
  %33 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %34 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %35 = alloca %struct.Curve, align 8
  %36 = alloca %struct.Curve, align 8
  %37 = alloca i32, align 4
  %38 = alloca %"class.std::vector.8", align 8
  %39 = alloca %"class.std::allocator.10", align 1
  %40 = alloca %"class.std::vector.8", align 8
  %41 = alloca %"class.std::allocator.10", align 1
  %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 ptr, align 8
  %48 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %49 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %50 = alloca i32, align 4
  %51 = alloca i32, align 4
  %52 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #8
  %53 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %1)
  call void @llvm.lifetime.start.p0(i64 48, ptr %2) #8
  call void @_ZNSt3setI5CurveSt4lessIS0_ESaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #8
  %54 = load i32, ptr %1, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #8
  call void @_ZNSaI6CircleEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #8
  invoke void @_ZNSt6vectorI6CircleSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %55, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %56 unwind label %73

56:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorI6CircleED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #8
  %57 = load i32, ptr %1, align 4, !tbaa !5
  %58 = load i32, ptr %1, align 4, !tbaa !5
  %59 = add nsw i32 %57, %58
  %60 = sext i32 %59 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #8
  call void @_ZNSaI5EventEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  invoke void @_ZNSt6vectorI5EventSaIS0_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 %77

61:                                               ; preds = %56
  call void @_ZNSt15__new_allocatorI5EventED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #8
  %62 = load i32, ptr %1, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  store i32 -1, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #8
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %63, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %64 unwind label %81

64:                                               ; preds = %61
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #8
  %65 = load i32, ptr %1, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #8
  call void @_ZNSaISt6vectorIiSaIiEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %66, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %67 unwind label %85

67:                                               ; preds = %64
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %68

68:                                               ; preds = %126, %67
  %69 = load i32, ptr %14, align 4, !tbaa !5
  %70 = load i32, ptr %1, align 4, !tbaa !5
  %71 = icmp slt i32 %69, %70
  br i1 %71, label %89, label %72

72:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %133

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

77:                                               ; preds = %56
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %5, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %6, align 4
  call void @_ZNSt15__new_allocatorI5EventED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #8
  br label %494

81:                                               ; preds = %61
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %5, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %6, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  br label %493

85:                                               ; preds = %64
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %5, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %6, align 4
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #8
  br label %492

89:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %90 = load i32, ptr %14, align 4, !tbaa !5
  %91 = sext i32 %90 to i64
  %92 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI6CircleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %91) #8
  store ptr %92, ptr %15, align 8, !tbaa !9
  %93 = load ptr, ptr %15, align 8, !tbaa !9
  invoke void @_ZN6Circle4readEv(ptr noundef nonnull align 4 dereferenceable(12) %93)
          to label %94 unwind label %129

94:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #8
  %95 = getelementptr inbounds %struct.Event, ptr %16, i32 0, i32 0
  store i32 1, ptr %95, align 8, !tbaa !11
  %96 = getelementptr inbounds %struct.Event, ptr %16, i32 0, i32 1
  %97 = load ptr, ptr %15, align 8, !tbaa !9
  %98 = getelementptr inbounds %struct.Circle, ptr %97, i32 0, i32 0
  %99 = load i32, ptr %98, align 4, !tbaa !13
  %100 = load ptr, ptr %15, align 8, !tbaa !9
  %101 = getelementptr inbounds %struct.Circle, ptr %100, i32 0, i32 2
  %102 = load i32, ptr %101, align 4, !tbaa !15
  %103 = sub nsw i32 %99, %102
  store i32 %103, ptr %96, align 4, !tbaa !16
  %104 = getelementptr inbounds %struct.Event, ptr %16, i32 0, i32 2
  %105 = load ptr, ptr %15, align 8, !tbaa !9
  store ptr %105, ptr %104, align 8, !tbaa !17
  %106 = load i32, ptr %14, align 4, !tbaa !5
  %107 = shl i32 %106, 1
  %108 = sext i32 %107 to i64
  %109 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI5EventSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %108) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %109, ptr align 8 %16, i64 16, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #8
  %110 = getelementptr inbounds %struct.Event, ptr %17, i32 0, i32 0
  store i32 -1, ptr %110, align 8, !tbaa !11
  %111 = getelementptr inbounds %struct.Event, ptr %17, i32 0, i32 1
  %112 = load ptr, ptr %15, align 8, !tbaa !9
  %113 = getelementptr inbounds %struct.Circle, ptr %112, i32 0, i32 0
  %114 = load i32, ptr %113, align 4, !tbaa !13
  %115 = load ptr, ptr %15, align 8, !tbaa !9
  %116 = getelementptr inbounds %struct.Circle, ptr %115, i32 0, i32 2
  %117 = load i32, ptr %116, align 4, !tbaa !15
  %118 = add nsw i32 %114, %117
  store i32 %118, ptr %111, align 4, !tbaa !16
  %119 = getelementptr inbounds %struct.Event, ptr %17, i32 0, i32 2
  %120 = load ptr, ptr %15, align 8, !tbaa !9
  store ptr %120, ptr %119, align 8, !tbaa !17
  %121 = load i32, ptr %14, align 4, !tbaa !5
  %122 = shl i32 %121, 1
  %123 = or i32 %122, 1
  %124 = sext i32 %123 to i64
  %125 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI5EventSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %124) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %125, ptr align 8 %17, i64 16, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %126

126:                                              ; preds = %94
  %127 = load i32, ptr %14, align 4, !tbaa !5
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr %14, align 4, !tbaa !5
  br label %68, !llvm.loop !19

129:                                              ; preds = %89
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %5, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %491

133:                                              ; preds = %72
  %134 = call ptr @_ZNSt6vectorI5EventSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %135 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %134, ptr %135, align 8
  %136 = call ptr @_ZNSt6vectorI5EventSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %137 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  store ptr %136, ptr %137, align 8
  %138 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  %139 = load ptr, ptr %138, align 8
  %140 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  %141 = load ptr, ptr %140, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP5EventSt6vectorIS2_SaIS2_EEEEEvT_S8_(ptr %139, ptr %141)
          to label %142 unwind label %152

142:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  store ptr %7, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %143 = load ptr, ptr %20, align 8, !tbaa !9
  %144 = call ptr @_ZNSt6vectorI5EventSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %143) #8
  %145 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  store ptr %144, ptr %145, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %146 = load ptr, ptr %20, align 8, !tbaa !9
  %147 = call ptr @_ZNSt6vectorI5EventSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %146) #8
  %148 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  store ptr %147, ptr %148, align 8
  br label %149

149:                                              ; preds = %360, %142
  %150 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP5EventSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  br i1 %150, label %156, label %151

151:                                              ; preds = %149
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %363

152:                                              ; preds = %133
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %5, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %6, align 4
  br label %491

156:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %157 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP5EventSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #8
  store ptr %157, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  %158 = load ptr, ptr %23, align 8, !tbaa !9
  %159 = getelementptr inbounds %struct.Event, ptr %158, i32 0, i32 2
  %160 = load ptr, ptr %159, align 8, !tbaa !17
  %161 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI6CircleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #8
  %162 = ptrtoint ptr %160 to i64
  %163 = ptrtoint ptr %161 to i64
  %164 = sub i64 %162, %163
  %165 = sdiv exact i64 %164, 12
  %166 = trunc i64 %165 to i32
  store i32 %166, ptr %24, align 4, !tbaa !5
  %167 = load ptr, ptr %23, align 8, !tbaa !9
  %168 = getelementptr inbounds %struct.Event, ptr %167, i32 0, i32 1
  %169 = load i32, ptr %168, align 4, !tbaa !16
  store i32 %169, ptr @_ZN5Curve2pXE, align 4, !tbaa !5
  %170 = load ptr, ptr %23, align 8, !tbaa !9
  %171 = getelementptr inbounds %struct.Event, ptr %170, i32 0, i32 0
  %172 = load i32, ptr %171, align 8, !tbaa !11
  %173 = icmp eq i32 %172, 1
  br i1 %173, label %174, label %336

174:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #8
  %175 = getelementptr inbounds %struct.Curve, ptr %27, i32 0, i32 0
  %176 = load ptr, ptr %23, align 8, !tbaa !9
  %177 = getelementptr inbounds %struct.Event, ptr %176, i32 0, i32 2
  %178 = load ptr, ptr %177, align 8, !tbaa !17
  store ptr %178, ptr %175, align 8, !tbaa !21
  %179 = getelementptr inbounds %struct.Curve, ptr %27, i32 0, i32 1
  store i8 0, ptr %179, align 8, !tbaa !24
  %180 = invoke { ptr, i8 } @_ZNSt3setI5CurveSt4lessIS0_ESaIS0_EE6insertEOS0_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(16) %27)
          to label %181 unwind label %238

181:                                              ; preds = %174
  store { ptr, i8 } %180, ptr %28, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %26, ptr align 8 %28, i64 9, i1 false)
  %182 = getelementptr inbounds %"struct.std::pair", ptr %26, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %25, ptr align 8 %182, i64 8, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #8
  %183 = getelementptr inbounds %struct.Curve, ptr %31, i32 0, i32 0
  %184 = load ptr, ptr %23, align 8, !tbaa !9
  %185 = getelementptr inbounds %struct.Event, ptr %184, i32 0, i32 2
  %186 = load ptr, ptr %185, align 8, !tbaa !17
  store ptr %186, ptr %183, align 8, !tbaa !21
  %187 = getelementptr inbounds %struct.Curve, ptr %31, i32 0, i32 1
  store i8 1, ptr %187, align 8, !tbaa !24
  %188 = invoke { ptr, i8 } @_ZNSt3setI5CurveSt4lessIS0_ESaIS0_EE6insertEOS0_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(16) %31)
          to label %189 unwind label %242

189:                                              ; preds = %181
  store { ptr, i8 } %188, ptr %32, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %30, ptr align 8 %32, i64 9, i1 false)
  %190 = getelementptr inbounds %"struct.std::pair", ptr %30, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %29, ptr align 8 %190, i64 8, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %191 = call ptr @_ZNKSt3setI5CurveSt4lessIS0_ESaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #8
  %192 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %33, i32 0, i32 0
  store ptr %191, ptr %192, align 8
  %193 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorI5CurveES3_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  br i1 %193, label %194, label %199

194:                                              ; preds = %189
  %195 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorI5CurveEppEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  %196 = call ptr @_ZNKSt3setI5CurveSt4lessIS0_ESaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #8
  %197 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %34, i32 0, i32 0
  store ptr %196, ptr %197, align 8
  %198 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorI5CurveES3_(ptr noundef nonnull align 8 dereferenceable(8) %195, ptr noundef nonnull align 8 dereferenceable(8) %34) #8
  br label %199

199:                                              ; preds = %194, %189
  %200 = phi i1 [ false, %189 ], [ %198, %194 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br i1 %200, label %201, label %315

201:                                              ; preds = %199
  %202 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorI5CurveEmmEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  %203 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI5CurveEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  %204 = getelementptr inbounds %struct.Curve, ptr %203, i32 0, i32 1
  %205 = load i8, ptr %204, align 8, !tbaa !24, !range !26, !noundef !27
  %206 = trunc i8 %205 to i1
  %207 = zext i1 %206 to i32
  %208 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI5CurveEptEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  %209 = getelementptr inbounds %struct.Curve, ptr %208, i32 0, i32 1
  %210 = load i8, ptr %209, align 8, !tbaa !24, !range !26, !noundef !27
  %211 = trunc i8 %210 to i1
  %212 = zext i1 %211 to i32
  %213 = icmp eq i32 %207, %212
  br i1 %213, label %214, label %246

214:                                              ; preds = %201
  %215 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI5CurveEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  %216 = getelementptr inbounds %struct.Curve, ptr %215, i32 0, i32 1
  %217 = load i8, ptr %216, align 8, !tbaa !24, !range !26, !noundef !27
  %218 = trunc i8 %217 to i1
  br i1 %218, label %219, label %223

219:                                              ; preds = %214
  %220 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI5CurveEptEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  %221 = getelementptr inbounds %struct.Curve, ptr %220, i32 0, i32 0
  %222 = load ptr, ptr %221, align 8, !tbaa !21
  br label %227

223:                                              ; preds = %214
  %224 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI5CurveEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  %225 = getelementptr inbounds %struct.Curve, ptr %224, i32 0, i32 0
  %226 = load ptr, ptr %225, align 8, !tbaa !21
  br label %227

227:                                              ; preds = %223, %219
  %228 = phi ptr [ %222, %219 ], [ %226, %223 ]
  %229 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI6CircleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #8
  %230 = ptrtoint ptr %228 to i64
  %231 = ptrtoint ptr %229 to i64
  %232 = sub i64 %230, %231
  %233 = sdiv exact i64 %232, 12
  %234 = trunc i64 %233 to i32
  %235 = load i32, ptr %24, align 4, !tbaa !5
  %236 = sext i32 %235 to i64
  %237 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %236) #8
  store i32 %234, ptr %237, align 4, !tbaa !5
  br label %314

238:                                              ; preds = %174
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %5, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #8
  br label %335

242:                                              ; preds = %181
  %243 = landingpad { ptr, i32 }
          cleanup
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %5, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #8
  br label %334

246:                                              ; preds = %201
  %247 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI5CurveEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  %248 = getelementptr inbounds %struct.Curve, ptr %247, i32 0, i32 1
  %249 = load i8, ptr %248, align 8, !tbaa !24, !range !26, !noundef !27
  %250 = trunc i8 %249 to i1
  br i1 %250, label %280, label %251

251:                                              ; preds = %246
  %252 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI5CurveEptEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  %253 = getelementptr inbounds %struct.Curve, ptr %252, i32 0, i32 1
  %254 = load i8, ptr %253, align 8, !tbaa !24, !range !26, !noundef !27
  %255 = trunc i8 %254 to i1
  br i1 %255, label %256, label %280

256:                                              ; preds = %251
  %257 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI5CurveEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  %258 = getelementptr inbounds %struct.Curve, ptr %257, i32 0, i32 0
  %259 = load ptr, ptr %258, align 8, !tbaa !21
  %260 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI5CurveEptEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  %261 = getelementptr inbounds %struct.Curve, ptr %260, i32 0, i32 0
  %262 = load ptr, ptr %261, align 8, !tbaa !21
  %263 = icmp eq ptr %259, %262
  br i1 %263, label %264, label %265

264:                                              ; preds = %256
  br label %267

265:                                              ; preds = %256
  call void @__assert_fail(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 67, ptr noundef @__PRETTY_FUNCTION__._Z5solvev) #9
  unreachable

266:                                              ; No predecessors!
  br label %267

267:                                              ; preds = %266, %264
  %268 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI5CurveEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  %269 = getelementptr inbounds %struct.Curve, ptr %268, i32 0, i32 0
  %270 = load ptr, ptr %269, align 8, !tbaa !21
  %271 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI6CircleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #8
  %272 = ptrtoint ptr %270 to i64
  %273 = ptrtoint ptr %271 to i64
  %274 = sub i64 %272, %273
  %275 = sdiv exact i64 %274, 12
  %276 = trunc i64 %275 to i32
  %277 = load i32, ptr %24, align 4, !tbaa !5
  %278 = sext i32 %277 to i64
  %279 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %278) #8
  store i32 %276, ptr %279, align 4, !tbaa !5
  br label %313

280:                                              ; preds = %251, %246
  %281 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI5CurveEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  %282 = getelementptr inbounds %struct.Curve, ptr %281, i32 0, i32 0
  %283 = load ptr, ptr %282, align 8, !tbaa !21
  %284 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI6CircleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #8
  %285 = ptrtoint ptr %283 to i64
  %286 = ptrtoint ptr %284 to i64
  %287 = sub i64 %285, %286
  %288 = sdiv exact i64 %287, 12
  %289 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %288) #8
  %290 = load i32, ptr %289, align 4, !tbaa !5
  %291 = load i32, ptr %24, align 4, !tbaa !5
  %292 = sext i32 %291 to i64
  %293 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %292) #8
  store i32 %290, ptr %293, align 4, !tbaa !5
  %294 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI5CurveEptEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  %295 = getelementptr inbounds %struct.Curve, ptr %294, i32 0, i32 0
  %296 = load ptr, ptr %295, align 8, !tbaa !21
  %297 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI6CircleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #8
  %298 = ptrtoint ptr %296 to i64
  %299 = ptrtoint ptr %297 to i64
  %300 = sub i64 %298, %299
  %301 = sdiv exact i64 %300, 12
  %302 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %301) #8
  %303 = load i32, ptr %302, align 4, !tbaa !5
  %304 = load i32, ptr %24, align 4, !tbaa !5
  %305 = sext i32 %304 to i64
  %306 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %305) #8
  %307 = load i32, ptr %306, align 4, !tbaa !5
  %308 = icmp eq i32 %303, %307
  br i1 %308, label %309, label %310

309:                                              ; preds = %280
  br label %312

310:                                              ; preds = %280
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.2, i32 noundef 71, ptr noundef @__PRETTY_FUNCTION__._Z5solvev) #9
  unreachable

311:                                              ; No predecessors!
  br label %312

312:                                              ; preds = %311, %309
  br label %313

313:                                              ; preds = %312, %267
  br label %314

314:                                              ; preds = %313, %227
  br label %315

315:                                              ; preds = %314, %199
  %316 = load i32, ptr %24, align 4, !tbaa !5
  %317 = sext i32 %316 to i64
  %318 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %317) #8
  %319 = load i32, ptr %318, align 4, !tbaa !5
  %320 = icmp ne i32 %319, -1
  br i1 %320, label %321, label %333

321:                                              ; preds = %315
  %322 = load i32, ptr %24, align 4, !tbaa !5
  %323 = sext i32 %322 to i64
  %324 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %323) #8
  %325 = load i32, ptr %324, align 4, !tbaa !5
  %326 = sext i32 %325 to i64
  %327 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %326) #8
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %327, ptr noundef nonnull align 4 dereferenceable(4) %24)
          to label %328 unwind label %329

328:                                              ; preds = %321
  br label %333

329:                                              ; preds = %321
  %330 = landingpad { ptr, i32 }
          cleanup
  %331 = extractvalue { ptr, i32 } %330, 0
  store ptr %331, ptr %5, align 8
  %332 = extractvalue { ptr, i32 } %330, 1
  store i32 %332, ptr %6, align 4
  br label %334

333:                                              ; preds = %328, %315
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %359

334:                                              ; preds = %329, %242
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br label %335

335:                                              ; preds = %334, %238
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %362

336:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #8
  %337 = getelementptr inbounds %struct.Curve, ptr %35, i32 0, i32 0
  %338 = load ptr, ptr %23, align 8, !tbaa !9
  %339 = getelementptr inbounds %struct.Event, ptr %338, i32 0, i32 2
  %340 = load ptr, ptr %339, align 8, !tbaa !17
  store ptr %340, ptr %337, align 8, !tbaa !21
  %341 = getelementptr inbounds %struct.Curve, ptr %35, i32 0, i32 1
  store i8 0, ptr %341, align 8, !tbaa !24
  %342 = invoke noundef i64 @_ZNSt3setI5CurveSt4lessIS0_ESaIS0_EE5eraseERKS0_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(16) %35)
          to label %343 unwind label %351

343:                                              ; preds = %336
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #8
  %344 = getelementptr inbounds %struct.Curve, ptr %36, i32 0, i32 0
  %345 = load ptr, ptr %23, align 8, !tbaa !9
  %346 = getelementptr inbounds %struct.Event, ptr %345, i32 0, i32 2
  %347 = load ptr, ptr %346, align 8, !tbaa !17
  store ptr %347, ptr %344, align 8, !tbaa !21
  %348 = getelementptr inbounds %struct.Curve, ptr %36, i32 0, i32 1
  store i8 1, ptr %348, align 8, !tbaa !24
  %349 = invoke noundef i64 @_ZNSt3setI5CurveSt4lessIS0_ESaIS0_EE5eraseERKS0_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(16) %36)
          to label %350 unwind label %355

350:                                              ; preds = %343
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #8
  br label %359

351:                                              ; preds = %336
  %352 = landingpad { ptr, i32 }
          cleanup
  %353 = extractvalue { ptr, i32 } %352, 0
  store ptr %353, ptr %5, align 8
  %354 = extractvalue { ptr, i32 } %352, 1
  store i32 %354, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #8
  br label %362

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

359:                                              ; preds = %350, %333
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %360

360:                                              ; preds = %359
  %361 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP5EventSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #8
  br label %149

362:                                              ; preds = %355, %351, %335
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %491

363:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #8
  store i32 0, ptr %37, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %38) #8
  %364 = load i32, ptr %1, align 4, !tbaa !5
  %365 = sext i32 %364 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #8
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #8
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %365, ptr noundef nonnull align 1 dereferenceable(1) %39)
          to label %366 unwind label %375

366:                                              ; preds = %363
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %40) #8
  %367 = load i32, ptr %1, align 4, !tbaa !5
  %368 = sext i32 %367 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %41) #8
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #8
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %368, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %369 unwind label %379

369:                                              ; preds = %366
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #8
  store i32 0, ptr %42, align 4, !tbaa !5
  br label %370

370:                                              ; preds = %475, %369
  %371 = load i32, ptr %42, align 4, !tbaa !5
  %372 = load i32, ptr %1, align 4, !tbaa !5
  %373 = icmp slt i32 %371, %372
  br i1 %373, label %383, label %374

374:                                              ; preds = %370
  store i32 7, ptr %43, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  br label %478

375:                                              ; preds = %363
  %376 = landingpad { ptr, i32 }
          cleanup
  %377 = extractvalue { ptr, i32 } %376, 0
  store ptr %377, ptr %5, align 8
  %378 = extractvalue { ptr, i32 } %376, 1
  store i32 %378, ptr %6, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #8
  br label %490

379:                                              ; preds = %366
  %380 = landingpad { ptr, i32 }
          cleanup
  %381 = extractvalue { ptr, i32 } %380, 0
  store ptr %381, ptr %5, align 8
  %382 = extractvalue { ptr, i32 } %380, 1
  store i32 %382, ptr %6, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #8
  br label %489

383:                                              ; preds = %370
  %384 = load i32, ptr %42, align 4, !tbaa !5
  %385 = sext i32 %384 to i64
  %386 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %385) #8
  %387 = load i32, ptr %386, align 4, !tbaa !5
  %388 = icmp ne i32 %387, -1
  br i1 %388, label %389, label %390

389:                                              ; preds = %383
  br label %475

390:                                              ; preds = %383
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #8
  store i32 0, ptr %44, align 4, !tbaa !5
  %391 = load i32, ptr %42, align 4, !tbaa !5
  %392 = load i32, ptr %44, align 4, !tbaa !5
  %393 = add nsw i32 %392, 1
  store i32 %393, ptr %44, align 4, !tbaa !5
  %394 = sext i32 %392 to i64
  %395 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %394) #8
  store i32 %391, ptr %395, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #8
  store i32 0, ptr %45, align 4, !tbaa !5
  br label %396

396:                                              ; preds = %429, %390
  %397 = load i32, ptr %45, align 4, !tbaa !5
  %398 = load i32, ptr %44, align 4, !tbaa !5
  %399 = icmp slt i32 %397, %398
  br i1 %399, label %401, label %400

400:                                              ; preds = %396
  store i32 10, ptr %43, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #8
  br label %432

401:                                              ; preds = %396
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #8
  %402 = load i32, ptr %45, align 4, !tbaa !5
  %403 = sext i32 %402 to i64
  %404 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %403) #8
  %405 = load i32, ptr %404, align 4, !tbaa !5
  store i32 %405, ptr %46, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #8
  %406 = load i32, ptr %46, align 4, !tbaa !5
  %407 = sext i32 %406 to i64
  %408 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %407) #8
  store ptr %408, ptr %47, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #8
  %409 = load ptr, ptr %47, align 8, !tbaa !9
  %410 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %409) #8
  %411 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %48, i32 0, i32 0
  store ptr %410, ptr %411, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #8
  %412 = load ptr, ptr %47, align 8, !tbaa !9
  %413 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %412) #8
  %414 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.18", ptr %49, i32 0, i32 0
  store ptr %413, ptr %414, align 8
  br label %415

415:                                              ; preds = %426, %401
  %416 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(8) %49) #8
  br i1 %416, label %418, label %417

417:                                              ; preds = %415
  store i32 13, ptr %43, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  br label %428

418:                                              ; preds = %415
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #8
  %419 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %48) #8
  %420 = load i32, ptr %419, align 4, !tbaa !5
  store i32 %420, ptr %50, align 4, !tbaa !5
  %421 = load i32, ptr %50, align 4, !tbaa !5
  %422 = load i32, ptr %44, align 4, !tbaa !5
  %423 = add nsw i32 %422, 1
  store i32 %423, ptr %44, align 4, !tbaa !5
  %424 = sext i32 %422 to i64
  %425 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %424) #8
  store i32 %421, ptr %425, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #8
  br label %426

426:                                              ; preds = %418
  %427 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %48) #8
  br label %415

428:                                              ; preds = %417
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #8
  br label %429

429:                                              ; preds = %428
  %430 = load i32, ptr %45, align 4, !tbaa !5
  %431 = add nsw i32 %430, 1
  store i32 %431, ptr %45, align 4, !tbaa !5
  br label %396, !llvm.loop !28

432:                                              ; preds = %400
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #8
  %433 = load i32, ptr %44, align 4, !tbaa !5
  %434 = sub nsw i32 %433, 1
  store i32 %434, ptr %51, align 4, !tbaa !5
  br label %435

435:                                              ; preds = %464, %432
  %436 = load i32, ptr %51, align 4, !tbaa !5
  %437 = icmp sge i32 %436, 0
  br i1 %437, label %439, label %438

438:                                              ; preds = %435
  store i32 15, ptr %43, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #8
  br label %467

439:                                              ; preds = %435
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #8
  %440 = load i32, ptr %51, align 4, !tbaa !5
  %441 = sext i32 %440 to i64
  %442 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %441) #8
  %443 = load i32, ptr %442, align 4, !tbaa !5
  store i32 %443, ptr %52, align 4, !tbaa !5
  %444 = load i32, ptr %52, align 4, !tbaa !5
  %445 = sext i32 %444 to i64
  %446 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %445) #8
  %447 = load i32, ptr %446, align 4, !tbaa !5
  %448 = icmp ne i32 %447, -1
  br i1 %448, label %449, label %463

449:                                              ; preds = %439
  %450 = load i32, ptr %52, align 4, !tbaa !5
  %451 = sext i32 %450 to i64
  %452 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %451) #8
  %453 = load i32, ptr %452, align 4, !tbaa !5
  %454 = add nsw i32 %453, 1
  %455 = load i32, ptr %52, align 4, !tbaa !5
  %456 = sext i32 %455 to i64
  %457 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %456) #8
  %458 = load i32, ptr %457, align 4, !tbaa !5
  %459 = sext i32 %458 to i64
  %460 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %459) #8
  %461 = load i32, ptr %460, align 4, !tbaa !5
  %462 = xor i32 %461, %454
  store i32 %462, ptr %460, align 4, !tbaa !5
  br label %463

463:                                              ; preds = %449, %439
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #8
  br label %464

464:                                              ; preds = %463
  %465 = load i32, ptr %51, align 4, !tbaa !5
  %466 = add nsw i32 %465, -1
  store i32 %466, ptr %51, align 4, !tbaa !5
  br label %435, !llvm.loop !29

467:                                              ; preds = %438
  %468 = load i32, ptr %42, align 4, !tbaa !5
  %469 = sext i32 %468 to i64
  %470 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %469) #8
  %471 = load i32, ptr %470, align 4, !tbaa !5
  %472 = add nsw i32 %471, 1
  %473 = load i32, ptr %37, align 4, !tbaa !5
  %474 = xor i32 %473, %472
  store i32 %474, ptr %37, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #8
  br label %475

475:                                              ; preds = %467, %389
  %476 = load i32, ptr %42, align 4, !tbaa !5
  %477 = add nsw i32 %476, 1
  store i32 %477, ptr %42, align 4, !tbaa !5
  br label %370, !llvm.loop !30

478:                                              ; preds = %374
  %479 = load i32, ptr %37, align 4, !tbaa !5
  %480 = icmp ne i32 %479, 0
  %481 = zext i1 %480 to i64
  %482 = select i1 %480, ptr @.str.4, ptr @.str.5
  %483 = invoke i32 @puts(ptr noundef %482)
          to label %484 unwind label %485

484:                                              ; preds = %478
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #8
  call void @_ZNSt6vectorI5EventSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #8
  call void @_ZNSt6vectorI6CircleSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #8
  call void @_ZNSt3setI5CurveSt4lessIS0_ESaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %2) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #8
  ret void

485:                                              ; preds = %478
  %486 = landingpad { ptr, i32 }
          cleanup
  %487 = extractvalue { ptr, i32 } %486, 0
  store ptr %487, ptr %5, align 8
  %488 = extractvalue { ptr, i32 } %486, 1
  store i32 %488, ptr %6, align 4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  br label %489

489:                                              ; preds = %485, %379
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  br label %490

490:                                              ; preds = %489, %375
  call void @llvm.lifetime.end.p0(i64 24, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  br label %491

491:                                              ; preds = %490, %362, %152, %129
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  br label %492

492:                                              ; preds = %491, %85
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  br label %493

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

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

495:                                              ; preds = %494, %73
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #8
  call void @_ZNSt3setI5CurveSt4lessIS0_ESaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %2) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #8
  br label %496

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

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

declare i32 @__isoc99_scanf(ptr noundef, ...) #2

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaISt6vectorIiSaIiEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 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 @_ZNSt6vectorI6CircleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Circle4readEv(ptr noundef nonnull align 4 dereferenceable(12)) #0 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP5EventSt6vectorIS2_SaIS2_EEEEEvT_S8_(ptr, ptr) #5

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setI5CurveSt4lessIS0_ESaIS0_EE6insertEOS0_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI5CurveEptEv(ptr noundef nonnull align 8 dereferenceable(8)) #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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #7

; 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 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 uwtable
declare dso_local noundef i64 @_ZNSt3setI5CurveSt4lessIS0_ESaIS0_EE5eraseERKS0_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 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)) #6

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

declare i32 @puts(ptr noundef) #2

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #7 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nounwind }
attributes #9 = { noreturn nounwind }

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

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


; 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::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<Curve, Curve, std::_Identity<Curve>, std::less<Curve>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<Curve, Curve, std::_Identity<Curve>, std::less<Curve>>::_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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Circle, std::allocator<Circle>>::_Vector_impl" }
%"struct.std::_Vector_base<Circle, std::allocator<Circle>>::_Vector_impl" = type { %"struct.std::_Vector_base<Circle, std::allocator<Circle>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Circle, std::allocator<Circle>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.0" = type { i8 }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<Event, std::allocator<Event>>::_Vector_impl" }
%"struct.std::_Vector_base<Event, std::allocator<Event>>::_Vector_impl" = type { %"struct.std::_Vector_base<Event, std::allocator<Event>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Event, std::allocator<Event>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.5" = type { i8 }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = 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.10" = type { i8 }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = 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.15" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%struct.Curve = type { ptr, i8 }
%"class.__gnu_cxx::__normal_iterator.18" = type { ptr }

@_ZN5Curve2pXE = external dso_local local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [62 x i8], align 1
@__PRETTY_FUNCTION__._Z5solvev = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1

; 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 %"class.std::set", align 8
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca %"class.std::allocator.0", align 1
  %5 = alloca %"class.std::vector.3", align 8
  %6 = alloca %"class.std::allocator.5", align 1
  %7 = alloca %"class.std::vector.8", align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::allocator.10", align 1
  %10 = alloca %"class.std::vector.13", align 8
  %11 = alloca %"class.std::allocator.15", align 1
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca i32, align 4
  %15 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %16 = alloca %struct.Curve, align 8
  %17 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %18 = alloca %struct.Curve, align 8
  %19 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %20 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %21 = alloca %struct.Curve, align 8
  %22 = alloca %struct.Curve, align 8
  %23 = alloca %"class.std::vector.8", align 8
  %24 = alloca %"class.std::allocator.10", align 1
  %25 = alloca %"class.std::vector.8", align 8
  %26 = alloca %"class.std::allocator.10", align 1
  %27 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator.18", align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  %29 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %2) #7
  call void @_ZNSt3setI5CurveSt4lessIS0_ESaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #7
  %30 = load i32, ptr %1, align 4, !tbaa !5
  %31 = sext i32 %30 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #7
  call void @_ZNSaI6CircleEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  invoke void @_ZNSt6vectorI6CircleSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %31, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %32 unwind label %47

32:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorI6CircleED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  %33 = load i32, ptr %1, align 4, !tbaa !5
  %34 = shl nsw i32 %33, 1
  %35 = sext i32 %34 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #7
  call void @_ZNSaI5EventEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  invoke void @_ZNSt6vectorI5EventSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %35, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %36 unwind label %49

36:                                               ; preds = %32
  call void @_ZNSt15__new_allocatorI5EventED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #7
  %37 = load i32, ptr %1, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  store i32 -1, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #7
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #7
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %38, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %39 unwind label %51

39:                                               ; preds = %36
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #7
  %40 = load i32, ptr %1, align 4, !tbaa !5
  %41 = sext i32 %40 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #7
  call void @_ZNSaISt6vectorIiSaIiEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  invoke void @_ZNSt6vectorIS_IiSaIiEESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %41, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %42 unwind label %53

42:                                               ; preds = %39
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #7
  %43 = load i32, ptr %1, align 4, !tbaa !5
  %44 = icmp sgt i32 %43, 0
  br i1 %44, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %56, %42
  %45 = call ptr @_ZNSt6vectorI5EventSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %46 = call ptr @_ZNSt6vectorI5EventSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP5EventSt6vectorIS2_SaIS2_EEEEEvT_S8_(ptr %45, ptr %46)
          to label %75 unwind label %85

47:                                               ; preds = %0
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorI6CircleED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #7
  br label %295

49:                                               ; preds = %32
  %50 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorI5EventED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #7
  br label %294

51:                                               ; preds = %36
  %52 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  br label %293

53:                                               ; preds = %39
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #7
  br label %292

.lr.ph:                                           ; preds = %42, %56
  %indvars.iv = phi i64 [ %indvars.iv.next, %56 ], [ 0, %42 ]
  %55 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI6CircleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv) #7
  invoke void @_ZN6Circle4readEv(ptr noundef nonnull align 4 dereferenceable(12) %55)
          to label %56 unwind label %73

56:                                               ; preds = %.lr.ph
  %57 = load i32, ptr %55, align 4, !tbaa !9
  %58 = getelementptr inbounds i8, ptr %55, i64 8
  %59 = load i32, ptr %58, align 4, !tbaa !11
  %60 = sub nsw i32 %57, %59
  %sext = shl i64 %indvars.iv, 33
  %61 = ashr exact i64 %sext, 32
  %62 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI5EventSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %61) #7
  store i32 1, ptr %62, align 8, !tbaa !5
  %.sroa.445.0..sroa_idx = getelementptr inbounds i8, ptr %62, i64 4
  store i32 %60, ptr %.sroa.445.0..sroa_idx, align 4, !tbaa !5
  %.sroa.546.0..sroa_idx = getelementptr inbounds i8, ptr %62, i64 8
  store ptr %55, ptr %.sroa.546.0..sroa_idx, align 8, !tbaa !12
  %63 = load i32, ptr %55, align 4, !tbaa !9
  %64 = load i32, ptr %58, align 4, !tbaa !11
  %65 = add nsw i32 %64, %63
  %indvars.iv.tr = trunc i64 %indvars.iv to i32
  %66 = shl i32 %indvars.iv.tr, 1
  %67 = or disjoint i32 %66, 1
  %68 = sext i32 %67 to i64
  %69 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI5EventSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %68) #7
  store i32 -1, ptr %69, align 8, !tbaa !5
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %69, i64 4
  store i32 %65, ptr %.sroa.4.0..sroa_idx, align 4, !tbaa !5
  %.sroa.543.0..sroa_idx = getelementptr inbounds i8, ptr %69, i64 8
  store ptr %55, ptr %.sroa.543.0..sroa_idx, align 8, !tbaa !12
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %70 = load i32, ptr %1, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = icmp slt i64 %indvars.iv.next, %71
  br i1 %72, label %.lr.ph, label %._crit_edge, !llvm.loop !14

73:                                               ; preds = %.lr.ph
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %291

75:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %76 = call ptr @_ZNSt6vectorI5EventSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  store ptr %76, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  %77 = call ptr @_ZNSt6vectorI5EventSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  store ptr %77, ptr %13, align 8
  %78 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP5EventSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  br i1 %78, label %.lr.ph94, label %._crit_edge95

.lr.ph94:                                         ; preds = %75
  %79 = getelementptr inbounds i8, ptr %21, i64 8
  %80 = getelementptr inbounds i8, ptr %22, i64 8
  %81 = getelementptr inbounds i8, ptr %16, i64 8
  %82 = getelementptr inbounds i8, ptr %18, i64 8
  br label %87

._crit_edge95:                                    ; preds = %224, %75
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #7
  %83 = load i32, ptr %1, align 4, !tbaa !5
  %84 = sext i32 %83 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %24) #7
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %84, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %228 unwind label %237

85:                                               ; preds = %._crit_edge
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %291

87:                                               ; preds = %.lr.ph94, %224
  %88 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP5EventSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #7
  %89 = getelementptr inbounds i8, ptr %88, i64 8
  %90 = load ptr, ptr %89, align 8, !tbaa !16
  %91 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI6CircleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #7
  %92 = ptrtoint ptr %90 to i64
  %93 = ptrtoint ptr %91 to i64
  %94 = sub i64 %92, %93
  %95 = sdiv exact i64 %94, 12
  %96 = trunc i64 %95 to i32
  store i32 %96, ptr %14, align 4, !tbaa !5
  %97 = getelementptr inbounds i8, ptr %88, i64 4
  %98 = load i32, ptr %97, align 4, !tbaa !18
  store i32 %98, ptr @_ZN5Curve2pXE, align 4, !tbaa !5
  %99 = load i32, ptr %88, align 8, !tbaa !19
  %100 = icmp eq i32 %99, 1
  br i1 %100, label %101, label %213

101:                                              ; preds = %87
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #7
  %102 = load ptr, ptr %89, align 8, !tbaa !16
  store ptr %102, ptr %16, align 8, !tbaa !20
  store i8 0, ptr %81, align 8, !tbaa !23
  %103 = invoke { ptr, i8 } @_ZNSt3setI5CurveSt4lessIS0_ESaIS0_EE6insertEOS0_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %104 unwind label %139

104:                                              ; preds = %101
  %.fca.0.extract24 = extractvalue { ptr, i8 } %103, 0
  store ptr %.fca.0.extract24, ptr %15, align 8, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #7
  %105 = load ptr, ptr %89, align 8, !tbaa !16
  store ptr %105, ptr %18, align 8, !tbaa !20
  store i8 1, ptr %82, align 8, !tbaa !23
  %106 = invoke { ptr, i8 } @_ZNSt3setI5CurveSt4lessIS0_ESaIS0_EE6insertEOS0_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %107 unwind label %141

107:                                              ; preds = %104
  %.fca.0.extract = extractvalue { ptr, i8 } %106, 0
  store ptr %.fca.0.extract, ptr %17, align 8, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  %108 = call ptr @_ZNKSt3setI5CurveSt4lessIS0_ESaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #7
  store ptr %108, ptr %19, align 8
  %109 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorI5CurveES3_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  br i1 %109, label %110, label %.critedge

110:                                              ; preds = %107
  %111 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorI5CurveEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  %112 = call ptr @_ZNKSt3setI5CurveSt4lessIS0_ESaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %2) #7
  store ptr %112, ptr %20, align 8
  %113 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorI5CurveES3_(ptr noundef nonnull align 8 dereferenceable(8) %111, ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  br i1 %113, label %114, label %196

114:                                              ; preds = %110
  %115 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorI5CurveEmmEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  %116 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI5CurveEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  %117 = getelementptr inbounds i8, ptr %116, i64 8
  %118 = load i8, ptr %117, align 8, !tbaa !23, !range !24, !noundef !25
  %119 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI5CurveEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  %120 = getelementptr inbounds i8, ptr %119, i64 8
  %121 = load i8, ptr %120, align 8, !tbaa !23, !range !24, !noundef !25
  %122 = icmp eq i8 %118, %121
  %123 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI5CurveEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  %124 = getelementptr inbounds i8, ptr %123, i64 8
  %125 = load i8, ptr %124, align 8, !tbaa !23, !range !24, !noundef !25
  %126 = trunc nuw i8 %125 to i1
  br i1 %122, label %127, label %143

127:                                              ; preds = %114
  %. = select i1 %126, ptr %17, ptr %15
  %128 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI5CurveEptEv(ptr noundef nonnull align 8 dereferenceable(8) %.) #7
  %129 = load ptr, ptr %128, align 8, !tbaa !20
  %130 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI6CircleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #7
  %131 = ptrtoint ptr %129 to i64
  %132 = ptrtoint ptr %130 to i64
  %133 = sub i64 %131, %132
  %134 = sdiv exact i64 %133, 12
  %135 = trunc i64 %134 to i32
  %136 = load i32, ptr %14, align 4, !tbaa !5
  %137 = sext i32 %136 to i64
  %138 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %137) #7
  store i32 %135, ptr %138, align 4, !tbaa !5
  br label %196

139:                                              ; preds = %101
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  br label %212

141:                                              ; preds = %104
  %142 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #7
  br label %211

143:                                              ; preds = %114
  br i1 %126, label %168, label %144

144:                                              ; preds = %143
  %145 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI5CurveEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  %146 = getelementptr inbounds i8, ptr %145, i64 8
  %147 = load i8, ptr %146, align 8, !tbaa !23, !range !24, !noundef !25
  %148 = trunc nuw i8 %147 to i1
  br i1 %148, label %149, label %168

149:                                              ; preds = %144
  %150 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI5CurveEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  %151 = load ptr, ptr %150, align 8, !tbaa !20
  %152 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI5CurveEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  %153 = load ptr, ptr %152, align 8, !tbaa !20
  %154 = icmp eq ptr %151, %153
  br i1 %154, label %156, label %155

155:                                              ; preds = %149
  call void @__assert_fail(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 67, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5solvev) #8
  unreachable

156:                                              ; preds = %149
  %157 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI5CurveEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  %158 = load ptr, ptr %157, align 8, !tbaa !20
  %159 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI6CircleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #7
  %160 = ptrtoint ptr %158 to i64
  %161 = ptrtoint ptr %159 to i64
  %162 = sub i64 %160, %161
  %163 = sdiv exact i64 %162, 12
  %164 = trunc i64 %163 to i32
  %165 = load i32, ptr %14, align 4, !tbaa !5
  %166 = sext i32 %165 to i64
  %167 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %166) #7
  store i32 %164, ptr %167, align 4, !tbaa !5
  br label %196

168:                                              ; preds = %144, %143
  %169 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI5CurveEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  %170 = load ptr, ptr %169, align 8, !tbaa !20
  %171 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI6CircleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #7
  %172 = ptrtoint ptr %170 to i64
  %173 = ptrtoint ptr %171 to i64
  %174 = sub i64 %172, %173
  %175 = sdiv exact i64 %174, 12
  %176 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %175) #7
  %177 = load i32, ptr %176, align 4, !tbaa !5
  %178 = load i32, ptr %14, align 4, !tbaa !5
  %179 = sext i32 %178 to i64
  %180 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %179) #7
  store i32 %177, ptr %180, align 4, !tbaa !5
  %181 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI5CurveEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  %182 = load ptr, ptr %181, align 8, !tbaa !20
  %183 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI6CircleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #7
  %184 = ptrtoint ptr %182 to i64
  %185 = ptrtoint ptr %183 to i64
  %186 = sub i64 %184, %185
  %187 = sdiv exact i64 %186, 12
  %188 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %187) #7
  %189 = load i32, ptr %188, align 4, !tbaa !5
  %190 = load i32, ptr %14, align 4, !tbaa !5
  %191 = sext i32 %190 to i64
  %192 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %191) #7
  %193 = load i32, ptr %192, align 4, !tbaa !5
  %194 = icmp eq i32 %189, %193
  br i1 %194, label %196, label %195

195:                                              ; preds = %168
  call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.2, i32 noundef 71, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5solvev) #8
  unreachable

.critedge:                                        ; preds = %107
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  br label %196

196:                                              ; preds = %127, %168, %156, %.critedge, %110
  %197 = load i32, ptr %14, align 4, !tbaa !5
  %198 = sext i32 %197 to i64
  %199 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %198) #7
  %200 = load i32, ptr %199, align 4, !tbaa !5
  %.not81 = icmp eq i32 %200, -1
  br i1 %.not81, label %210, label %201

201:                                              ; preds = %196
  %202 = load i32, ptr %14, align 4, !tbaa !5
  %203 = sext i32 %202 to i64
  %204 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %203) #7
  %205 = load i32, ptr %204, align 4, !tbaa !5
  %206 = sext i32 %205 to i64
  %207 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %206) #7
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %207, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %210 unwind label %208

208:                                              ; preds = %201
  %209 = landingpad { ptr, i32 }
          cleanup
  br label %211

210:                                              ; preds = %201, %196
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  br label %224

211:                                              ; preds = %208, %141
  %.pn82 = phi { ptr, i32 } [ %209, %208 ], [ %142, %141 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  br label %212

212:                                              ; preds = %211, %139
  %.pn82.pn = phi { ptr, i32 } [ %.pn82, %211 ], [ %140, %139 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  br label %227

213:                                              ; preds = %87
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #7
  %214 = load ptr, ptr %89, align 8, !tbaa !16
  store ptr %214, ptr %21, align 8, !tbaa !20
  store i8 0, ptr %79, align 8, !tbaa !23
  %215 = invoke noundef i64 @_ZNSt3setI5CurveSt4lessIS0_ESaIS0_EE5eraseERKS0_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %216 unwind label %220

216:                                              ; preds = %213
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #7
  %217 = load ptr, ptr %89, align 8, !tbaa !16
  store ptr %217, ptr %22, align 8, !tbaa !20
  store i8 1, ptr %80, align 8, !tbaa !23
  %218 = invoke noundef i64 @_ZNSt3setI5CurveSt4lessIS0_ESaIS0_EE5eraseERKS0_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(16) %22)
          to label %219 unwind label %222

219:                                              ; preds = %216
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #7
  br label %224

220:                                              ; preds = %213
  %221 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #7
  br label %227

222:                                              ; preds = %216
  %223 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #7
  br label %227

224:                                              ; preds = %219, %210
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #7
  %225 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP5EventSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  %226 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP5EventSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  br i1 %226, label %87, label %._crit_edge95

227:                                              ; preds = %222, %220, %212
  %.pn82.pn.pn = phi { ptr, i32 } [ %.pn82.pn, %212 ], [ %223, %222 ], [ %221, %220 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  br label %291

228:                                              ; preds = %._crit_edge95
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %25) #7
  %229 = load i32, ptr %1, align 4, !tbaa !5
  %230 = sext i32 %229 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %26) #7
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %230, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %231 unwind label %239

231:                                              ; preds = %228
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #7
  %232 = load i32, ptr %1, align 4, !tbaa !5
  %233 = icmp sgt i32 %232, 0
  br i1 %233, label %.lr.ph109, label %._crit_edge110

._crit_edge110.loopexit:                          ; preds = %286
  %234 = icmp eq i32 %.173, 0
  %235 = select i1 %234, ptr @.str.5, ptr @.str.4
  br label %._crit_edge110

._crit_edge110:                                   ; preds = %._crit_edge110.loopexit, %231
  %.072.lcssa = phi ptr [ @.str.5, %231 ], [ %235, %._crit_edge110.loopexit ]
  %236 = call i32 @puts(ptr noundef nonnull dereferenceable(1) %.072.lcssa)
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #7
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  call void @_ZNSt6vectorI5EventSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @_ZNSt6vectorI6CircleSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #7
  call void @_ZNSt3setI5CurveSt4lessIS0_ESaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  ret void

237:                                              ; preds = %._crit_edge95
  %238 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #7
  br label %290

239:                                              ; preds = %228
  %240 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  br label %290

.lr.ph109:                                        ; preds = %231, %286
  %indvars.iv122 = phi i64 [ %indvars.iv.next123, %286 ], [ 0, %231 ]
  %.072107 = phi i32 [ %.173, %286 ], [ 0, %231 ]
  %241 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv122) #7
  %242 = load i32, ptr %241, align 4, !tbaa !5
  %.not79 = icmp eq i32 %242, -1
  br i1 %.not79, label %243, label %286

243:                                              ; preds = %.lr.ph109
  %244 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef 0) #7
  %245 = trunc nuw nsw i64 %indvars.iv122 to i32
  store i32 %245, ptr %244, align 4, !tbaa !5
  br label %248

.preheader:                                       ; preds = %._crit_edge99
  %246 = icmp sgt i32 %.176.lcssa, 0
  br i1 %246, label %.lr.ph104.preheader, label %._crit_edge105

.lr.ph104.preheader:                              ; preds = %.preheader
  %247 = zext nneg i32 %.176.lcssa to i64
  br label %.lr.ph104

248:                                              ; preds = %243, %._crit_edge99
  %indvars.iv116 = phi i64 [ 0, %243 ], [ %indvars.iv.next117, %._crit_edge99 ]
  %.075100 = phi i32 [ 1, %243 ], [ %.176.lcssa, %._crit_edge99 ]
  %249 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %indvars.iv116) #7
  %250 = load i32, ptr %249, align 4, !tbaa !5
  %251 = sext i32 %250 to i64
  %252 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IiSaIiEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %251) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #7
  %253 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %252) #7
  store ptr %253, ptr %27, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #7
  %254 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %252) #7
  store ptr %254, ptr %28, align 8
  %255 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  br i1 %255, label %.lr.ph98.preheader, label %._crit_edge99

.lr.ph98.preheader:                               ; preds = %248
  %256 = sext i32 %.075100 to i64
  br label %.lr.ph98

._crit_edge99.loopexit:                           ; preds = %.lr.ph98
  %257 = trunc nsw i64 %indvars.iv.next114 to i32
  br label %._crit_edge99

._crit_edge99:                                    ; preds = %._crit_edge99.loopexit, %248
  %.176.lcssa = phi i32 [ %.075100, %248 ], [ %257, %._crit_edge99.loopexit ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #7
  %indvars.iv.next117 = add nuw nsw i64 %indvars.iv116, 1
  %258 = sext i32 %.176.lcssa to i64
  %259 = icmp slt i64 %indvars.iv.next117, %258
  br i1 %259, label %248, label %.preheader, !llvm.loop !26

.lr.ph98:                                         ; preds = %.lr.ph98.preheader, %.lr.ph98
  %indvars.iv113 = phi i64 [ %256, %.lr.ph98.preheader ], [ %indvars.iv.next114, %.lr.ph98 ]
  %260 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  %261 = load i32, ptr %260, align 4, !tbaa !5
  %indvars.iv.next114 = add nsw i64 %indvars.iv113, 1
  %262 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %indvars.iv113) #7
  store i32 %261, ptr %262, align 4, !tbaa !5
  %263 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  %264 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  br i1 %264, label %.lr.ph98, label %._crit_edge99.loopexit

._crit_edge105:                                   ; preds = %284, %.preheader
  %265 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv122) #7
  %266 = load i32, ptr %265, align 4, !tbaa !5
  %267 = add nsw i32 %266, 1
  %268 = xor i32 %267, %.072107
  br label %286

.lr.ph104:                                        ; preds = %.lr.ph104.preheader, %284
  %indvars.iv119 = phi i64 [ %247, %.lr.ph104.preheader ], [ %indvars.iv.next120, %284 ]
  %indvars.iv.next120 = add nsw i64 %indvars.iv119, -1
  %269 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %indvars.iv.next120) #7
  %270 = load i32, ptr %269, align 4, !tbaa !5
  %271 = sext i32 %270 to i64
  %272 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %271) #7
  %273 = load i32, ptr %272, align 4, !tbaa !5
  %.not80 = icmp eq i32 %273, -1
  br i1 %.not80, label %284, label %274

274:                                              ; preds = %.lr.ph104
  %275 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %271) #7
  %276 = load i32, ptr %275, align 4, !tbaa !5
  %277 = add nsw i32 %276, 1
  %278 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %271) #7
  %279 = load i32, ptr %278, align 4, !tbaa !5
  %280 = sext i32 %279 to i64
  %281 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %280) #7
  %282 = load i32, ptr %281, align 4, !tbaa !5
  %283 = xor i32 %282, %277
  store i32 %283, ptr %281, align 4, !tbaa !5
  br label %284

284:                                              ; preds = %274, %.lr.ph104
  %285 = icmp ugt i64 %indvars.iv119, 1
  br i1 %285, label %.lr.ph104, label %._crit_edge105, !llvm.loop !27

286:                                              ; preds = %.lr.ph109, %._crit_edge105
  %.173 = phi i32 [ %.072107, %.lr.ph109 ], [ %268, %._crit_edge105 ]
  %indvars.iv.next123 = add nuw nsw i64 %indvars.iv122, 1
  %287 = load i32, ptr %1, align 4, !tbaa !5
  %288 = sext i32 %287 to i64
  %289 = icmp slt i64 %indvars.iv.next123, %288
  br i1 %289, label %.lr.ph109, label %._crit_edge110.loopexit, !llvm.loop !28

290:                                              ; preds = %239, %237
  %.pn = phi { ptr, i32 } [ %240, %239 ], [ %238, %237 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #7
  br label %291

291:                                              ; preds = %290, %227, %85, %73
  %.pn86 = phi { ptr, i32 } [ %74, %73 ], [ %.pn82.pn.pn, %227 ], [ %.pn, %290 ], [ %86, %85 ]
  call void @_ZNSt6vectorIS_IiSaIiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  br label %292

292:                                              ; preds = %291, %53
  %.pn86.pn = phi { ptr, i32 } [ %.pn86, %291 ], [ %54, %53 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  br label %293

293:                                              ; preds = %292, %51
  %.pn86.pn.pn = phi { ptr, i32 } [ %.pn86.pn, %292 ], [ %52, %51 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  call void @_ZNSt6vectorI5EventSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  br label %294

294:                                              ; preds = %293, %49
  %.pn86.pn.pn.pn = phi { ptr, i32 } [ %.pn86.pn.pn, %293 ], [ %50, %49 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @_ZNSt6vectorI6CircleSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  br label %295

295:                                              ; preds = %294, %47
  %.pn86.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn86.pn.pn.pn, %294 ], [ %48, %47 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #7
  call void @_ZNSt3setI5CurveSt4lessIS0_ESaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn86.pn.pn.pn.pn
}

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

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

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

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

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

declare i32 @__gxx_personality_v0(...)

; 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 nounwind uwtable
declare dso_local void @_ZNSaI5EventEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaISt6vectorIiSaIiEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 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 @_ZNSt6vectorI6CircleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Circle4readEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #0 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP5EventSt6vectorIS2_SaIS2_EEEEEvT_S8_(ptr, ptr) local_unnamed_addr #4

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3setI5CurveSt4lessIS0_ESaIS0_EE6insertEOS0_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorI5CurveES3_(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 ptr @_ZNKSt3setI5CurveSt4lessIS0_ESaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt23_Rb_tree_const_iteratorI5CurveEptEv(ptr noundef nonnull align 8 dereferenceable(8)) 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #6

; 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 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 uwtable
declare dso_local noundef i64 @_ZNSt3setI5CurveSt4lessIS0_ESaIS0_EE5eraseERKS0_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

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

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #2

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt6vectorIiSaIiEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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 #6 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { noreturn nounwind }

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

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


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