; LLVM IR from mickypaganini/SSI2016-jet-clustering :: spartyjet-4.0.2_mac/External/fastjet-3.0.0/plugins/SISCone/siscone/siscone/pro_5db4e971/ZN7siscone13Cstable_cones20test_cone_cocircularERNS_9CmomentumERNSt7 (EEE)

; 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::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<siscone::Cborder_store, std::allocator<siscone::Cborder_store>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone::Cborder_store, std::allocator<siscone::Cborder_store>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone::Cborder_store, std::allocator<siscone::Cborder_store>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone::Cborder_store, std::allocator<siscone::Cborder_store>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_List_iterator" = type { ptr }
%"class.siscone::Cborder_store" = type <{ ptr, double, i8, [7 x i8] }>
%"class.__gnu_cxx::__normal_iterator.33" = type { ptr }
%"class.siscone::circulator.34" = type { %"class.__gnu_cxx::__normal_iterator.33", %"class.__gnu_cxx::__normal_iterator.33", %"class.__gnu_cxx::__normal_iterator.33" }
%"class.siscone::Cmomentum" = type <{ double, double, double, double, double, double, i32, i32, %"class.siscone::Creference", [4 x i8] }>
%"class.siscone::Creference" = type { [3 x i32] }
%"class.siscone::Cstable_cones" = type { %"class.siscone::Cvicinity", %"class.std::vector", ptr, i32, double, double, %"class.siscone::Cmomentum", ptr, ptr, i32, i32, %"class.siscone::Cmomentum", %"class.std::vector.10", %"class.std::vector.15", double }
%"class.siscone::Cvicinity" = type { ptr, double, double, double, double, double, double, i32, %"class.std::vector", %"class.std::vector.0", ptr, %"class.std::vector.5", i32, double, double }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<siscone::Cvicinity_inclusion, std::allocator<siscone::Cvicinity_inclusion>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone::Cvicinity_inclusion, std::allocator<siscone::Cvicinity_inclusion>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone::Cvicinity_inclusion, std::allocator<siscone::Cvicinity_inclusion>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone::Cvicinity_inclusion, std::allocator<siscone::Cvicinity_inclusion>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<siscone::Cvicinity_elm *, std::allocator<siscone::Cvicinity_elm *>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone::Cvicinity_elm *, std::allocator<siscone::Cvicinity_elm *>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone::Cvicinity_elm *, std::allocator<siscone::Cvicinity_elm *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone::Cvicinity_elm *, std::allocator<siscone::Cvicinity_elm *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<siscone::Cmomentum, std::allocator<siscone::Cmomentum>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone::Cmomentum, std::allocator<siscone::Cmomentum>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone::Cmomentum, std::allocator<siscone::Cmomentum>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone::Cmomentum, std::allocator<siscone::Cmomentum>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<siscone::Cmomentum *, std::allocator<siscone::Cmomentum *>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone::Cmomentum *, std::allocator<siscone::Cmomentum *>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone::Cmomentum *, std::allocator<siscone::Cmomentum *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone::Cmomentum *, std::allocator<siscone::Cmomentum *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<std::pair<siscone::Creference, siscone::Creference>, std::allocator<std::pair<siscone::Creference, siscone::Creference>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<siscone::Creference, siscone::Creference>, std::allocator<std::pair<siscone::Creference, siscone::Creference>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<siscone::Creference, siscone::Creference>, std::allocator<std::pair<siscone::Creference, siscone::Creference>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<siscone::Creference, siscone::Creference>, std::allocator<std::pair<siscone::Creference, siscone::Creference>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.siscone::Cvicinity_elm" = type { ptr, ptr, double, double, double, i8, double, %"class.std::__cxx11::list" }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<siscone::Cvicinity_elm *, std::allocator<siscone::Cvicinity_elm *>>::_List_impl" }
%"struct.std::__cxx11::_List_base<siscone::Cvicinity_elm *, std::allocator<siscone::Cvicinity_elm *>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @_ZN7siscone9CmomentumD1Ev(ptr noundef nonnull align 8 dereferenceable(68)) unnamed_addr #0

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

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

declare noundef nonnull align 8 dereferenceable(68) ptr @_ZN7siscone9CmomentumaSERKS0_(ptr noundef nonnull align 8 dereferenceable(68), ptr noundef nonnull align 8 dereferenceable(68)) #2

declare noundef zeroext i1 @_ZN7siscone10Creference9not_emptyEv(ptr noundef nonnull align 4 dereferenceable(12)) #2

declare noundef nonnull align 8 dereferenceable(68) ptr @_ZN7siscone9CmomentumpLERKS0_(ptr noundef nonnull align 8 dereferenceable(68), ptr noundef nonnull align 8 dereferenceable(68)) #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) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7siscone13Cstable_cones20test_cone_cocircularERNS_9CmomentumERNSt7__cxx114listIPS1_SaIS5_EEE(ptr noundef nonnull align 8 dereferenceable(448) %0, ptr noundef nonnull align 8 dereferenceable(68) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.std::vector.23", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"struct.std::_List_iterator", align 8
  %11 = alloca %"struct.std::_List_iterator", align 8
  %12 = alloca %"class.siscone::Cborder_store", align 8
  %13 = alloca %"struct.std::_List_iterator", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.33", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.33", align 8
  %16 = alloca %"class.siscone::circulator.34", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.33", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.33", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.33", align 8
  %20 = alloca %"class.siscone::circulator.34", align 8
  %21 = alloca %"class.siscone::circulator.34", align 8
  %22 = alloca %"class.siscone::Cmomentum", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.33", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.33", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.33", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.33", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator.33", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %28 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #8
  call void @_ZNSt6vectorIN7siscone13Cborder_storeESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = call noundef i64 @_ZNKSt7__cxx114listIPN7siscone9CmomentumESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #8
  invoke void @_ZNSt6vectorIN7siscone13Cborder_storeESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %30)
          to label %31 unwind label %41

31:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = call ptr @_ZNSt7__cxx114listIPN7siscone9CmomentumESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  %34 = getelementptr inbounds %"struct.std::_List_iterator", ptr %10, i32 0, i32 0
  store ptr %33, ptr %34, align 8
  br label %35

35:                                               ; preds = %58, %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = call ptr @_ZNSt7__cxx114listIPN7siscone9CmomentumESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #8
  %38 = getelementptr inbounds %"struct.std::_List_iterator", ptr %11, i32 0, i32 0
  store ptr %37, ptr %38, align 8
  %39 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIPN7siscone9CmomentumEES5_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br i1 %39, label %45, label %40

40:                                               ; preds = %35
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  br label %65

41:                                               ; preds = %65, %3
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %8, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %9, align 4
  br label %195

45:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #8
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt14_List_iteratorIPN7siscone9CmomentumEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  %47 = load ptr, ptr %46, align 8, !tbaa !5
  %48 = getelementptr inbounds %"class.siscone::Cstable_cones", ptr %28, i32 0, i32 8
  %49 = load ptr, ptr %48, align 8, !tbaa !9
  %50 = getelementptr inbounds %"class.siscone::Cvicinity_elm", ptr %49, i32 0, i32 2
  %51 = load double, ptr %50, align 8, !tbaa !36
  %52 = getelementptr inbounds %"class.siscone::Cstable_cones", ptr %28, i32 0, i32 8
  %53 = load ptr, ptr %52, align 8, !tbaa !9
  %54 = getelementptr inbounds %"class.siscone::Cvicinity_elm", ptr %53, i32 0, i32 3
  %55 = load double, ptr %54, align 8, !tbaa !45
  invoke void @_ZN7siscone13Cborder_storeC2EPNS_9CmomentumEdd(ptr noundef nonnull align 8 dereferenceable(17) %12, ptr noundef %47, double noundef %51, double noundef %55)
          to label %56 unwind label %61

56:                                               ; preds = %45
  invoke void @_ZNSt6vectorIN7siscone13Cborder_storeESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(17) %12)
          to label %57 unwind label %61

57:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #8
  br label %58

58:                                               ; preds = %57
  %59 = call ptr @_ZNSt14_List_iteratorIPN7siscone9CmomentumEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %10, i32 noundef 0) #8
  %60 = getelementptr inbounds %"struct.std::_List_iterator", ptr %13, i32 0, i32 0
  store ptr %59, ptr %60, align 8
  br label %35, !llvm.loop !46

61:                                               ; preds = %56, %45
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %8, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  br label %195

65:                                               ; preds = %40
  %66 = call ptr @_ZNSt6vectorIN7siscone13Cborder_storeESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %67 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.33", ptr %14, i32 0, i32 0
  store ptr %66, ptr %67, align 8
  %68 = call ptr @_ZNSt6vectorIN7siscone13Cborder_storeESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %69 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.33", ptr %15, i32 0, i32 0
  store ptr %68, ptr %69, align 8
  %70 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.33", ptr %14, i32 0, i32 0
  %71 = load ptr, ptr %70, align 8
  %72 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.33", ptr %15, i32 0, i32 0
  %73 = load ptr, ptr %72, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7siscone13Cborder_storeESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %71, ptr %73)
          to label %74 unwind label %41

74:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #8
  %75 = call ptr @_ZNSt6vectorIN7siscone13Cborder_storeESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %76 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.33", ptr %17, i32 0, i32 0
  store ptr %75, ptr %76, align 8
  %77 = call ptr @_ZNSt6vectorIN7siscone13Cborder_storeESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %78 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.33", ptr %18, i32 0, i32 0
  store ptr %77, ptr %78, align 8
  %79 = call ptr @_ZNSt6vectorIN7siscone13Cborder_storeESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %80 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.33", ptr %19, i32 0, i32 0
  store ptr %79, ptr %80, align 8
  %81 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.33", ptr %17, i32 0, i32 0
  %82 = load ptr, ptr %81, align 8
  %83 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.33", ptr %18, i32 0, i32 0
  %84 = load ptr, ptr %83, align 8
  %85 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.33", ptr %19, i32 0, i32 0
  %86 = load ptr, ptr %85, align 8
  invoke void @_ZN7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEC2ES8_S8_S8_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr %82, ptr %84, ptr %86)
          to label %87 unwind label %97

87:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #8
  invoke void @_ZN7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %88 unwind label %101

88:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #8
  invoke void @_ZN7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %89 unwind label %105

89:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 72, ptr %22) #8
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %22, ptr align 8 %90, i64 72, i1 false), !tbaa.struct !48
  invoke void @_ZN7siscone9Cmomentum12build_etaphiEv(ptr noundef nonnull align 8 dereferenceable(68) %22)
          to label %91 unwind label %109

91:                                               ; preds = %89
  %92 = getelementptr inbounds %"class.siscone::Cmomentum", ptr %22, i32 0, i32 8
  %93 = invoke noundef zeroext i1 @_ZN7siscone10Creference9not_emptyEv(ptr noundef nonnull align 4 dereferenceable(12) %92)
          to label %94 unwind label %109

94:                                               ; preds = %91
  br i1 %93, label %95, label %113

95:                                               ; preds = %94
  invoke void @_ZN7siscone13Cstable_cones14test_stabilityERNS_9CmomentumERKSt6vectorINS_13Cborder_storeESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(448) %28, ptr noundef nonnull align 8 dereferenceable(68) %22, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %96 unwind label %109

96:                                               ; preds = %95
  br label %113

97:                                               ; preds = %74
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %8, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %9, align 4
  br label %194

101:                                              ; preds = %87
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %8, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %9, align 4
  br label %193

105:                                              ; preds = %88
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %8, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %9, align 4
  br label %192

109:                                              ; preds = %181, %165, %163, %148, %132, %130, %126, %123, %121, %95, %91, %89
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %8, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %9, align 4
  br label %191

113:                                              ; preds = %96, %94
  br label %114

114:                                              ; preds = %167, %113
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %16, i64 24, i1 false), !tbaa.struct !52
  br label %115

115:                                              ; preds = %125, %114
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %116 = invoke ptr @_ZN7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEclEv(ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %117 unwind label %150

117:                                              ; preds = %115
  %118 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.33", ptr %23, i32 0, i32 0
  store ptr %116, ptr %118, align 8
  %119 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7siscone13Cborder_storeESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #8
  %120 = getelementptr inbounds %"class.siscone::Cborder_store", ptr %119, i32 0, i32 2
  store i8 0, ptr %120, align 8, !tbaa !53
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %121

121:                                              ; preds = %117
  %122 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEppEv(ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %123 unwind label %109

123:                                              ; preds = %121
  %124 = invoke noundef zeroext i1 @_ZNK7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEneERKS9_(ptr noundef nonnull align 8 dereferenceable(24) %122, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %125 unwind label %109

125:                                              ; preds = %123
  br i1 %124, label %115, label %126, !llvm.loop !55

126:                                              ; preds = %125
  %127 = load ptr, ptr %5, align 8, !tbaa !5
  %128 = invoke noundef nonnull align 8 dereferenceable(68) ptr @_ZN7siscone9CmomentumaSERKS0_(ptr noundef nonnull align 8 dereferenceable(68) %22, ptr noundef nonnull align 8 dereferenceable(68) %127)
          to label %129 unwind label %109

129:                                              ; preds = %126
  br label %130

130:                                              ; preds = %149, %129
  %131 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEppEv(ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %132 unwind label %109

132:                                              ; preds = %130
  %133 = invoke noundef zeroext i1 @_ZNK7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEneERKS9_(ptr noundef nonnull align 8 dereferenceable(24) %131, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %134 unwind label %109

134:                                              ; preds = %132
  br i1 %133, label %135, label %162

135:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %136 = invoke ptr @_ZN7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEclEv(ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %137 unwind label %154

137:                                              ; preds = %135
  %138 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.33", ptr %24, i32 0, i32 0
  store ptr %136, ptr %138, align 8
  %139 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7siscone13Cborder_storeESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #8
  %140 = getelementptr inbounds %"class.siscone::Cborder_store", ptr %139, i32 0, i32 2
  store i8 1, ptr %140, align 8, !tbaa !53
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %141 = invoke ptr @_ZN7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEclEv(ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %142 unwind label %158

142:                                              ; preds = %137
  %143 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.33", ptr %25, i32 0, i32 0
  store ptr %141, ptr %143, align 8
  %144 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7siscone13Cborder_storeESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  %145 = getelementptr inbounds %"class.siscone::Cborder_store", ptr %144, i32 0, i32 0
  %146 = load ptr, ptr %145, align 8, !tbaa !56
  %147 = invoke noundef nonnull align 8 dereferenceable(68) ptr @_ZN7siscone9CmomentumpLERKS0_(ptr noundef nonnull align 8 dereferenceable(68) %22, ptr noundef nonnull align 8 dereferenceable(68) %146)
          to label %148 unwind label %158

148:                                              ; preds = %142
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  invoke void @_ZN7siscone13Cstable_cones14test_stabilityERNS_9CmomentumERKSt6vectorINS_13Cborder_storeESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(448) %28, ptr noundef nonnull align 8 dereferenceable(68) %22, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %149 unwind label %109

149:                                              ; preds = %148
  br label %130, !llvm.loop !57

150:                                              ; preds = %115
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %8, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %191

154:                                              ; preds = %135
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %8, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %191

158:                                              ; preds = %142, %137
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %8, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %191

162:                                              ; preds = %134
  br label %163

163:                                              ; preds = %162
  %164 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEppEv(ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %165 unwind label %109

165:                                              ; preds = %163
  %166 = invoke noundef zeroext i1 @_ZNK7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEneERKS9_(ptr noundef nonnull align 8 dereferenceable(24) %164, ptr noundef nonnull align 8 dereferenceable(24) %21)
          to label %167 unwind label %109

167:                                              ; preds = %165
  br i1 %166, label %114, label %168, !llvm.loop !58

168:                                              ; preds = %167
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %169 = invoke ptr @_ZN7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEclEv(ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %170 unwind label %183

170:                                              ; preds = %168
  %171 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.33", ptr %26, i32 0, i32 0
  store ptr %169, ptr %171, align 8
  %172 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7siscone13Cborder_storeESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  %173 = getelementptr inbounds %"class.siscone::Cborder_store", ptr %172, i32 0, i32 2
  store i8 1, ptr %173, align 8, !tbaa !53
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %174 = invoke ptr @_ZN7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEclEv(ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %175 unwind label %187

175:                                              ; preds = %170
  %176 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.33", ptr %27, i32 0, i32 0
  store ptr %174, ptr %176, align 8
  %177 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7siscone13Cborder_storeESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  %178 = getelementptr inbounds %"class.siscone::Cborder_store", ptr %177, i32 0, i32 0
  %179 = load ptr, ptr %178, align 8, !tbaa !56
  %180 = invoke noundef nonnull align 8 dereferenceable(68) ptr @_ZN7siscone9CmomentumpLERKS0_(ptr noundef nonnull align 8 dereferenceable(68) %22, ptr noundef nonnull align 8 dereferenceable(68) %179)
          to label %181 unwind label %187

181:                                              ; preds = %175
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  invoke void @_ZN7siscone13Cstable_cones14test_stabilityERNS_9CmomentumERKSt6vectorINS_13Cborder_storeESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(448) %28, ptr noundef nonnull align 8 dereferenceable(68) %22, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %182 unwind label %109

182:                                              ; preds = %181
  call void @_ZN7siscone9CmomentumD1Ev(ptr noundef nonnull align 8 dereferenceable(68) %22) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #8
  call void @_ZNSt6vectorIN7siscone13Cborder_storeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #8
  ret void

183:                                              ; preds = %168
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %8, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  br label %191

187:                                              ; preds = %175, %170
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %8, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %191

191:                                              ; preds = %187, %183, %158, %154, %150, %109
  call void @_ZN7siscone9CmomentumD1Ev(ptr noundef nonnull align 8 dereferenceable(68) %22) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr %22) #8
  br label %192

192:                                              ; preds = %191, %105
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #8
  br label %193

193:                                              ; preds = %192, %101
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #8
  br label %194

194:                                              ; preds = %193, %97
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #8
  br label %195

195:                                              ; preds = %194, %61, %41
  call void @_ZNSt6vectorIN7siscone13Cborder_storeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #8
  br label %196

196:                                              ; preds = %195
  %197 = load ptr, ptr %8, align 8
  %198 = load i32, ptr %9, align 4
  %199 = insertvalue { ptr, i32 } poison, ptr %197, 0
  %200 = insertvalue { ptr, i32 } %199, i32 %198, 1
  resume { ptr, i32 } %200
}

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7siscone13Cborder_storeC2EPNS_9CmomentumEdd(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef, double noundef, double noundef) unnamed_addr #5 align 2

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

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

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

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

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

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

declare void @_ZN7siscone9Cmomentum12build_etaphiEv(ptr noundef nonnull align 8 dereferenceable(68)) #2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEneERKS9_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 304}
!10 = !{!"_ZTSN7siscone13Cstable_conesE", !11, i64 0, !14, i64 168, !6, i64 192, !13, i64 200, !12, i64 208, !12, i64 216, !26, i64 224, !6, i64 296, !6, i64 304, !13, i64 312, !13, i64 316, !26, i64 320, !28, i64 392, !32, i64 416, !12, i64 440}
!11 = !{!"_ZTSN7siscone9CvicinityE", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !13, i64 56, !14, i64 64, !18, i64 88, !6, i64 112, !22, i64 120, !13, i64 144, !12, i64 152, !12, i64 160}
!12 = !{!"double", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTSSt6vectorIN7siscone9CmomentumESaIS1_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIN7siscone9CmomentumESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN7siscone9CmomentumESaIS1_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN7siscone9CmomentumESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!"_ZTSSt6vectorIN7siscone19Cvicinity_inclusionESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIN7siscone19Cvicinity_inclusionESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN7siscone19Cvicinity_inclusionESaIS1_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN7siscone19Cvicinity_inclusionESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSSt6vectorIPN7siscone13Cvicinity_elmESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIPN7siscone13Cvicinity_elmESaIS2_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIPN7siscone13Cvicinity_elmESaIS2_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIPN7siscone13Cvicinity_elmESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTSN7siscone9CmomentumE", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !13, i64 48, !13, i64 52, !27, i64 56}
!27 = !{!"_ZTSN7siscone10CreferenceE", !7, i64 0}
!28 = !{!"_ZTSSt6vectorIPN7siscone9CmomentumESaIS2_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIPN7siscone9CmomentumESaIS2_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIPN7siscone9CmomentumESaIS2_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIPN7siscone9CmomentumESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!"_ZTSSt6vectorISt4pairIN7siscone10CreferenceES2_ESaIS3_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseISt4pairIN7siscone10CreferenceES2_ESaIS3_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseISt4pairIN7siscone10CreferenceES2_ESaIS3_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseISt4pairIN7siscone10CreferenceES2_ESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!37, !12, i64 16}
!37 = !{!"_ZTSN7siscone13Cvicinity_elmE", !6, i64 0, !6, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !38, i64 40, !12, i64 48, !39, i64 56}
!38 = !{!"bool", !7, i64 0}
!39 = !{!"_ZTSNSt7__cxx114listIPN7siscone13Cvicinity_elmESaIS3_EEE", !40, i64 0}
!40 = !{!"_ZTSNSt7__cxx1110_List_baseIPN7siscone13Cvicinity_elmESaIS3_EEE", !41, i64 0}
!41 = !{!"_ZTSNSt7__cxx1110_List_baseIPN7siscone13Cvicinity_elmESaIS3_EE10_List_implE", !42, i64 0}
!42 = !{!"_ZTSNSt8__detail17_List_node_headerE", !43, i64 0, !44, i64 16}
!43 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!44 = !{!"long", !7, i64 0}
!45 = !{!37, !12, i64 24}
!46 = distinct !{!46, !47}
!47 = !{!"llvm.loop.mustprogress"}
!48 = !{i64 0, i64 8, !49, i64 8, i64 8, !49, i64 16, i64 8, !49, i64 24, i64 8, !49, i64 32, i64 8, !49, i64 40, i64 8, !49, i64 48, i64 4, !50, i64 52, i64 4, !50, i64 56, i64 12, !51}
!49 = !{!12, !12, i64 0}
!50 = !{!13, !13, i64 0}
!51 = !{!7, !7, i64 0}
!52 = !{i64 0, i64 8, !5, i64 8, i64 8, !5, i64 16, i64 8, !5}
!53 = !{!54, !38, i64 16}
!54 = !{!"_ZTSN7siscone13Cborder_storeE", !6, i64 0, !12, i64 8, !38, i64 16}
!55 = distinct !{!55, !47}
!56 = !{!54, !6, i64 0}
!57 = distinct !{!57, !47}
!58 = distinct !{!58, !47}


; 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::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<siscone::Cborder_store, std::allocator<siscone::Cborder_store>>::_Vector_impl" }
%"struct.std::_Vector_base<siscone::Cborder_store, std::allocator<siscone::Cborder_store>>::_Vector_impl" = type { %"struct.std::_Vector_base<siscone::Cborder_store, std::allocator<siscone::Cborder_store>>::_Vector_impl_data" }
%"struct.std::_Vector_base<siscone::Cborder_store, std::allocator<siscone::Cborder_store>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_List_iterator" = type { ptr }
%"class.siscone::Cborder_store" = type <{ ptr, double, i8, [7 x i8] }>
%"class.siscone::circulator.34" = type { %"class.__gnu_cxx::__normal_iterator.33", %"class.__gnu_cxx::__normal_iterator.33", %"class.__gnu_cxx::__normal_iterator.33" }
%"class.__gnu_cxx::__normal_iterator.33" = type { ptr }
%"class.siscone::Cmomentum" = type <{ double, double, double, double, double, double, i32, i32, %"class.siscone::Creference", [4 x i8] }>
%"class.siscone::Creference" = type { [3 x i32] }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @_ZN7siscone9CmomentumD1Ev(ptr noundef nonnull align 8 dereferenceable(68)) unnamed_addr #0

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

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

declare noundef nonnull align 8 dereferenceable(68) ptr @_ZN7siscone9CmomentumaSERKS0_(ptr noundef nonnull align 8 dereferenceable(68), ptr noundef nonnull align 8 dereferenceable(68)) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN7siscone10Creference9not_emptyEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(68) ptr @_ZN7siscone9CmomentumpLERKS0_(ptr noundef nonnull align 8 dereferenceable(68), ptr noundef nonnull align 8 dereferenceable(68)) local_unnamed_addr #2

; Function Attrs: mustprogress 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) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7siscone13Cstable_cones20test_cone_cocircularERNS_9CmomentumERNSt7__cxx114listIPS1_SaIS5_EEE(ptr noundef nonnull align 8 dereferenceable(448) %0, ptr noundef nonnull align 8 dereferenceable(68) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::vector.23", align 8
  %5 = alloca %"struct.std::_List_iterator", align 8
  %6 = alloca %"struct.std::_List_iterator", align 8
  %7 = alloca %"class.siscone::Cborder_store", align 8
  %8 = alloca %"class.siscone::circulator.34", align 8
  %9 = alloca %"class.siscone::circulator.34", align 8
  %10 = alloca %"class.siscone::circulator.34", align 8
  %11 = alloca %"class.siscone::Cmomentum", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.33", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.33", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.33", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.33", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.33", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #8
  call void @_ZNSt6vectorIN7siscone13Cborder_storeESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  %17 = call noundef i64 @_ZNKSt7__cxx114listIPN7siscone9CmomentumESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  invoke void @_ZNSt6vectorIN7siscone13Cborder_storeESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %17)
          to label %18 unwind label %25

18:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  %19 = call ptr @_ZNSt7__cxx114listIPN7siscone9CmomentumESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  store ptr %19, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  %20 = call ptr @_ZNSt7__cxx114listIPN7siscone9CmomentumESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  store ptr %20, ptr %6, align 8
  %21 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIPN7siscone9CmomentumEES5_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  br i1 %21, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %18
  %22 = getelementptr inbounds i8, ptr %0, i64 304
  br label %27

._crit_edge:                                      ; preds = %35, %18
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  %23 = call ptr @_ZNSt6vectorIN7siscone13Cborder_storeESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  %24 = call ptr @_ZNSt6vectorIN7siscone13Cborder_storeESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7siscone13Cborder_storeESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %23, ptr %24)
          to label %41 unwind label %25

25:                                               ; preds = %._crit_edge, %3
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %87

27:                                               ; preds = %.lr.ph, %35
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #8
  %28 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt14_List_iteratorIPN7siscone9CmomentumEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  %29 = load ptr, ptr %28, align 8, !tbaa !5
  %30 = load ptr, ptr %22, align 8, !tbaa !9
  %31 = getelementptr inbounds i8, ptr %30, i64 16
  %32 = load double, ptr %31, align 8, !tbaa !36
  %33 = getelementptr inbounds i8, ptr %30, i64 24
  %34 = load double, ptr %33, align 8, !tbaa !45
  call void @_ZN7siscone13Cborder_storeC2EPNS_9CmomentumEdd(ptr noundef nonnull align 8 dereferenceable(17) %7, ptr noundef %29, double noundef %32, double noundef %34)
  invoke void @_ZNSt6vectorIN7siscone13Cborder_storeESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(17) %7)
          to label %35 unwind label %39

35:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  %36 = call ptr @_ZNSt14_List_iteratorIPN7siscone9CmomentumEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %5, i32 noundef 0) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  %37 = call ptr @_ZNSt7__cxx114listIPN7siscone9CmomentumESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  store ptr %37, ptr %6, align 8
  %38 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIPN7siscone9CmomentumEES5_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  br i1 %38, label %27, label %._crit_edge, !llvm.loop !46

39:                                               ; preds = %27
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  br label %87

41:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #8
  %42 = call ptr @_ZNSt6vectorIN7siscone13Cborder_storeESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  %43 = call ptr @_ZNSt6vectorIN7siscone13Cborder_storeESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  %44 = call ptr @_ZNSt6vectorIN7siscone13Cborder_storeESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  call void @_ZN7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEC2ES8_S8_S8_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr %42, ptr %43, ptr %44)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #8
  call void @_ZN7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %8)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #8
  call void @_ZN7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEC2ERKS9_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %8)
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %11) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(72) %11, ptr noundef nonnull align 8 dereferenceable(72) %1, i64 72, i1 false), !tbaa.struct !48
  invoke void @_ZN7siscone9Cmomentum12build_etaphiEv(ptr noundef nonnull align 8 dereferenceable(68) %11)
          to label %45 unwind label %.loopexit.split-lp.loopexit.split-lp

45:                                               ; preds = %41
  %46 = getelementptr inbounds i8, ptr %11, i64 56
  %47 = invoke noundef zeroext i1 @_ZN7siscone10Creference9not_emptyEv(ptr noundef nonnull align 4 dereferenceable(12) %46)
          to label %48 unwind label %.loopexit.split-lp.loopexit.split-lp

48:                                               ; preds = %45
  br i1 %47, label %49, label %.preheader20

.preheader20:                                     ; preds = %49, %48
  br label %50

49:                                               ; preds = %48
  invoke void @_ZN7siscone13Cstable_cones14test_stabilityERNS_9CmomentumERKSt6vectorINS_13Cborder_storeESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(448) %0, ptr noundef nonnull align 8 dereferenceable(68) %11, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %.preheader20 unwind label %.loopexit.split-lp.loopexit.split-lp

.loopexit:                                        ; preds = %69
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit:                      ; preds = %57
  %lpad.loopexit17 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp:             ; preds = %83, %49, %45, %41
  %lpad.loopexit.split-lp18 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

50:                                               ; preds = %.preheader20, %72
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %8, i64 24, i1 false), !tbaa.struct !52
  br label %51

51:                                               ; preds = %51, %50
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #8
  %52 = call ptr @_ZN7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEclEv(ptr noundef nonnull align 8 dereferenceable(24) %9)
  store ptr %52, ptr %12, align 8
  %53 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7siscone13Cborder_storeESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  %54 = getelementptr inbounds i8, ptr %53, i64 16
  store i8 0, ptr %54, align 8, !tbaa !53
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  %55 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEppEv(ptr noundef nonnull align 8 dereferenceable(24) %9)
  %56 = call noundef zeroext i1 @_ZNK7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEneERKS9_(ptr noundef nonnull align 8 dereferenceable(24) %55, ptr noundef nonnull align 8 dereferenceable(24) %8)
  br i1 %56, label %51, label %57, !llvm.loop !55

57:                                               ; preds = %51
  %58 = invoke noundef nonnull align 8 dereferenceable(68) ptr @_ZN7siscone9CmomentumaSERKS0_(ptr noundef nonnull align 8 dereferenceable(68) %11, ptr noundef nonnull align 8 dereferenceable(68) %1)
          to label %.preheader unwind label %.loopexit.split-lp.loopexit

.preheader:                                       ; preds = %57, %69
  %59 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEppEv(ptr noundef nonnull align 8 dereferenceable(24) %9)
  %60 = call noundef zeroext i1 @_ZNK7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEneERKS9_(ptr noundef nonnull align 8 dereferenceable(24) %59, ptr noundef nonnull align 8 dereferenceable(24) %8)
  br i1 %60, label %61, label %72

61:                                               ; preds = %.preheader
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  %62 = call ptr @_ZN7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEclEv(ptr noundef nonnull align 8 dereferenceable(24) %9)
  store ptr %62, ptr %13, align 8
  %63 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7siscone13Cborder_storeESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  %64 = getelementptr inbounds i8, ptr %63, i64 16
  store i8 1, ptr %64, align 8, !tbaa !53
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #8
  %65 = call ptr @_ZN7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEclEv(ptr noundef nonnull align 8 dereferenceable(24) %9)
  store ptr %65, ptr %14, align 8
  %66 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7siscone13Cborder_storeESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  %67 = load ptr, ptr %66, align 8, !tbaa !56
  %68 = invoke noundef nonnull align 8 dereferenceable(68) ptr @_ZN7siscone9CmomentumpLERKS0_(ptr noundef nonnull align 8 dereferenceable(68) %11, ptr noundef nonnull align 8 dereferenceable(68) %67)
          to label %69 unwind label %70

69:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  invoke void @_ZN7siscone13Cstable_cones14test_stabilityERNS_9CmomentumERKSt6vectorINS_13Cborder_storeESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(448) %0, ptr noundef nonnull align 8 dereferenceable(68) %11, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %.preheader unwind label %.loopexit, !llvm.loop !57

70:                                               ; preds = %61
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  br label %.loopexit.split-lp

72:                                               ; preds = %.preheader
  %73 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEppEv(ptr noundef nonnull align 8 dereferenceable(24) %8)
  %74 = call noundef zeroext i1 @_ZNK7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEneERKS9_(ptr noundef nonnull align 8 dereferenceable(24) %73, ptr noundef nonnull align 8 dereferenceable(24) %10)
  br i1 %74, label %50, label %75, !llvm.loop !58

75:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #8
  %76 = call ptr @_ZN7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEclEv(ptr noundef nonnull align 8 dereferenceable(24) %9)
  store ptr %76, ptr %15, align 8
  %77 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7siscone13Cborder_storeESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  %78 = getelementptr inbounds i8, ptr %77, i64 16
  store i8 1, ptr %78, align 8, !tbaa !53
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #8
  %79 = call ptr @_ZN7siscone10circulatorIN9__gnu_cxx17__normal_iteratorIPNS_13Cborder_storeESt6vectorIS3_SaIS3_EEEEEclEv(ptr noundef nonnull align 8 dereferenceable(24) %9)
  store ptr %79, ptr %16, align 8
  %80 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN7siscone13Cborder_storeESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  %81 = load ptr, ptr %80, align 8, !tbaa !56
  %82 = invoke noundef nonnull align 8 dereferenceable(68) ptr @_ZN7siscone9CmomentumpLERKS0_(ptr noundef nonnull align 8 dereferenceable(68) %11, ptr noundef nonnull align 8 dereferenceable(68) %81)
          to label %83 unwind label %85

83:                                               ; preds = %75
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  invoke void @_ZN7siscone13Cstable_cones14test_stabilityERNS_9CmomentumERKSt6vectorINS_13Cborder_storeESaIS4_EE(ptr noundef nonnull align 8 dereferenceable(448) %0, ptr noundef nonnull align 8 dereferenceable(68) %11, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %84 unwind label %.loopexit.split-lp.loopexit.split-lp

84:                                               ; preds = %83
  call void @_ZN7siscone9CmomentumD1Ev(ptr noundef nonnull align 8 dereferenceable(68) %11) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #8
  call void @_ZNSt6vectorIN7siscone13Cborder_storeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #8
  ret void

85:                                               ; preds = %75
  %86 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  br label %.loopexit.split-lp

.loopexit.split-lp:                               ; preds = %.loopexit, %.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit, %85, %70
  %.pn = phi { ptr, i32 } [ %71, %70 ], [ %86, %85 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit17, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp18, %.loopexit.split-lp.loopexit.split-lp ]
  call void @_ZN7siscone9CmomentumD1Ev(ptr noundef nonnull align 8 dereferenceable(68) %11) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #8
  br label %87

87:                                               ; preds = %.loopexit.split-lp, %39, %25
  %.pn15 = phi { ptr, i32 } [ %40, %39 ], [ %.pn, %.loopexit.split-lp ], [ %26, %25 ]
  call void @_ZNSt6vectorIN7siscone13Cborder_storeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #8
  resume { ptr, i32 } %.pn15
}

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7siscone13Cborder_storeC2EPNS_9CmomentumEdd(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef, double noundef, double noundef) unnamed_addr #5 align 2

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

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

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

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

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

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

declare void @_ZN7siscone9Cmomentum12build_etaphiEv(ptr noundef nonnull align 8 dereferenceable(68)) local_unnamed_addr #2

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 304}
!10 = !{!"_ZTSN7siscone13Cstable_conesE", !11, i64 0, !14, i64 168, !6, i64 192, !13, i64 200, !12, i64 208, !12, i64 216, !26, i64 224, !6, i64 296, !6, i64 304, !13, i64 312, !13, i64 316, !26, i64 320, !28, i64 392, !32, i64 416, !12, i64 440}
!11 = !{!"_ZTSN7siscone9CvicinityE", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !13, i64 56, !14, i64 64, !18, i64 88, !6, i64 112, !22, i64 120, !13, i64 144, !12, i64 152, !12, i64 160}
!12 = !{!"double", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTSSt6vectorIN7siscone9CmomentumESaIS1_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIN7siscone9CmomentumESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN7siscone9CmomentumESaIS1_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN7siscone9CmomentumESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!"_ZTSSt6vectorIN7siscone19Cvicinity_inclusionESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIN7siscone19Cvicinity_inclusionESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN7siscone19Cvicinity_inclusionESaIS1_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN7siscone19Cvicinity_inclusionESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSSt6vectorIPN7siscone13Cvicinity_elmESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIPN7siscone13Cvicinity_elmESaIS2_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIPN7siscone13Cvicinity_elmESaIS2_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIPN7siscone13Cvicinity_elmESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTSN7siscone9CmomentumE", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !13, i64 48, !13, i64 52, !27, i64 56}
!27 = !{!"_ZTSN7siscone10CreferenceE", !7, i64 0}
!28 = !{!"_ZTSSt6vectorIPN7siscone9CmomentumESaIS2_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIPN7siscone9CmomentumESaIS2_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIPN7siscone9CmomentumESaIS2_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIPN7siscone9CmomentumESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!"_ZTSSt6vectorISt4pairIN7siscone10CreferenceES2_ESaIS3_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseISt4pairIN7siscone10CreferenceES2_ESaIS3_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseISt4pairIN7siscone10CreferenceES2_ESaIS3_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseISt4pairIN7siscone10CreferenceES2_ESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!37, !12, i64 16}
!37 = !{!"_ZTSN7siscone13Cvicinity_elmE", !6, i64 0, !6, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !38, i64 40, !12, i64 48, !39, i64 56}
!38 = !{!"bool", !7, i64 0}
!39 = !{!"_ZTSNSt7__cxx114listIPN7siscone13Cvicinity_elmESaIS3_EEE", !40, i64 0}
!40 = !{!"_ZTSNSt7__cxx1110_List_baseIPN7siscone13Cvicinity_elmESaIS3_EEE", !41, i64 0}
!41 = !{!"_ZTSNSt7__cxx1110_List_baseIPN7siscone13Cvicinity_elmESaIS3_EE10_List_implE", !42, i64 0}
!42 = !{!"_ZTSNSt8__detail17_List_node_headerE", !43, i64 0, !44, i64 16}
!43 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!44 = !{!"long", !7, i64 0}
!45 = !{!37, !12, i64 24}
!46 = distinct !{!46, !47}
!47 = !{!"llvm.loop.mustprogress"}
!48 = !{i64 0, i64 8, !49, i64 8, i64 8, !49, i64 16, i64 8, !49, i64 24, i64 8, !49, i64 32, i64 8, !49, i64 40, i64 8, !49, i64 48, i64 4, !50, i64 52, i64 4, !50, i64 56, i64 12, !51}
!49 = !{!12, !12, i64 0}
!50 = !{!13, !13, i64 0}
!51 = !{!7, !7, i64 0}
!52 = !{i64 0, i64 8, !5, i64 8, i64 8, !5, i64 16, i64 8, !5}
!53 = !{!54, !38, i64 16}
!54 = !{!"_ZTSN7siscone13Cborder_storeE", !6, i64 0, !12, i64 8, !38, i64 16}
!55 = distinct !{!55, !47}
!56 = !{!54, !6, i64 0}
!57 = distinct !{!57, !47}
!58 = distinct !{!58, !47}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass