; LLVM IR from jinyus/related_post_gen :: cpp/main.ll (Z7do_workmmRKSt6vectorI7TagPostSaIS0_EERS_I12RelatedPostsSaIS5_EE)

; 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.66" = type { %"struct.std::_Vector_base.67" }
%"struct.std::_Vector_base.67" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.68" = type { i8 }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%"class.std::unique_ptr.2" = type { %"struct.std::__uniq_ptr_data.3" }
%"struct.std::__uniq_ptr_data.3" = type { %"class.std::__uniq_ptr_impl.4" }
%"class.std::__uniq_ptr_impl.4" = type { %"class.std::tuple.5" }
%"class.std::tuple.5" = type { %"struct.std::_Tuple_impl.6" }
%"struct.std::_Tuple_impl.6" = type { %"struct.std::_Head_base.9" }
%"struct.std::_Head_base.9" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.76" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.77" = type { ptr }
%"struct.std::array.78" = type { [5 x %"struct.std::pair.79"] }
%"struct.std::pair.79" = type { i8, i32 }
%"class.std::unique_ptr.10" = type { %"struct.std::__uniq_ptr_data.11" }
%"struct.std::__uniq_ptr_data.11" = type { %"class.std::__uniq_ptr_impl.12" }
%"class.std::__uniq_ptr_impl.12" = type { %"class.std::tuple.13" }
%"class.std::tuple.13" = type { %"struct.std::_Tuple_impl.14" }
%"struct.std::_Tuple_impl.14" = type { %"struct.std::_Head_base.17" }
%"struct.std::_Head_base.17" = type { ptr }
%struct.TagPost = type { %"class.std::unique_ptr.10", %"class.std::vector.31" }
%"class.std::vector.31" = type { %"struct.std::_Vector_base.32" }
%"struct.std::_Vector_base.32" = type { %"struct.std::_Vector_base<std::unique_ptr<std::vector<int>, Deleter<std::vector<int>>>, std::allocator<std::unique_ptr<std::vector<int>, Deleter<std::vector<int>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<std::vector<int>, Deleter<std::vector<int>>>, std::allocator<std::unique_ptr<std::vector<int>, Deleter<std::vector<int>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<std::vector<int>, Deleter<std::vector<int>>>, std::allocator<std::unique_ptr<std::vector<int>, Deleter<std::vector<int>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<std::vector<int>, Deleter<std::vector<int>>>, std::allocator<std::unique_ptr<std::vector<int>, Deleter<std::vector<int>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.Post = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::vector" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.RelatedPosts = type { %"class.std::unique_ptr", %"class.std::unique_ptr.2", %"struct.std::array" }
%"struct.std::array" = type { [5 x %"class.std::unique_ptr.10"] }

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

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) #0

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z7do_workmmRKSt6vectorI7TagPostSaIS0_EERS_I12RelatedPostsSaIS5_EE(i64 noundef %0, i64 noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %3) #2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.std::vector.66", align 8
  %10 = alloca %"class.std::allocator.68", align 1
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.std::unique_ptr", align 8
  %18 = alloca %"class.std::unique_ptr.2", align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.76", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.76", align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.77", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.77", align 8
  %26 = alloca i32, align 4
  %27 = alloca %"struct.std::array.78", align 4
  %28 = alloca i8, align 1
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  %31 = alloca i64, align 8
  %32 = alloca i8, align 1
  %33 = alloca i64, align 8
  %34 = alloca i64, align 8
  %35 = alloca i8, align 1
  %36 = alloca i32, align 4
  %37 = alloca %"struct.std::pair.79", align 4
  %38 = alloca i64, align 8
  %39 = alloca %"class.std::unique_ptr.10", align 8
  store i64 %0, ptr %5, align 8, !tbaa !5
  store i64 %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #5
  %40 = load ptr, ptr %7, align 8, !tbaa !9
  %41 = call noundef i64 @_ZNKSt6vectorI7TagPostSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #5
  call void @_ZNSaIhEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  invoke void @_ZNSt6vectorIhSaIhEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %41, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %42 unwind label %49

42:                                               ; preds = %4
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %43 = load i64, ptr %5, align 8, !tbaa !5
  store i64 %43, ptr %13, align 8, !tbaa !5
  br label %44

44:                                               ; preds = %314, %42
  %45 = load i64, ptr %13, align 8, !tbaa !5
  %46 = load i64, ptr %6, align 8, !tbaa !5
  %47 = icmp ult i64 %45, %46
  br i1 %47, label %53, label %48

48:                                               ; preds = %44
  store i32 2, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %321

49:                                               ; preds = %4
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %11, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %12, align 4
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  br label %322

53:                                               ; preds = %44
  %54 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  %55 = load ptr, ptr %7, align 8, !tbaa !9
  %56 = call noundef i64 @_ZNKSt6vectorI7TagPostSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %55) #5
  call void @llvm.memset.p0.i64(ptr align 1 %54, i8 0, i64 %56, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %57 = load ptr, ptr %7, align 8, !tbaa !9
  %58 = load i64, ptr %13, align 8, !tbaa !5
  %59 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorI7TagPostSaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %57, i64 noundef %58)
          to label %60 unwind label %90

60:                                               ; preds = %53
  store ptr %59, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %61 = load ptr, ptr %8, align 8, !tbaa !9
  %62 = load i64, ptr %13, align 8, !tbaa !5
  %63 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorI12RelatedPostsSaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef %62)
          to label %64 unwind label %94

64:                                               ; preds = %60
  store ptr %63, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %65 = load ptr, ptr %15, align 8, !tbaa !9
  %66 = getelementptr inbounds %struct.TagPost, ptr %65, i32 0, i32 0
  %67 = call noundef ptr @_ZNKSt10unique_ptrIK4Post7DeleterIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %66) #5
  %68 = getelementptr inbounds %struct.Post, ptr %67, i32 0, i32 0
  call void @_ZNSt10unique_ptrIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7DeleterIS6_EEC2IS8_vEEPS6_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef %68) #5
  %69 = load ptr, ptr %16, align 8, !tbaa !9
  %70 = getelementptr inbounds %struct.RelatedPosts, ptr %69, i32 0, i32 0
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7DeleterIS6_EEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(8) %70, ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  call void @_ZNSt10unique_ptrIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7DeleterIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %72 = load ptr, ptr %15, align 8, !tbaa !9
  %73 = getelementptr inbounds %struct.TagPost, ptr %72, i32 0, i32 0
  %74 = call noundef ptr @_ZNKSt10unique_ptrIK4Post7DeleterIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %73) #5
  %75 = getelementptr inbounds %struct.Post, ptr %74, i32 0, i32 2
  call void @_ZNSt10unique_ptrIKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EE7DeleterIS9_EEC2ISB_vEEPS9_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef %75) #5
  %76 = load ptr, ptr %16, align 8, !tbaa !9
  %77 = getelementptr inbounds %struct.RelatedPosts, ptr %76, i32 0, i32 1
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EE7DeleterIS9_EEaSEOSC_(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef nonnull align 8 dereferenceable(8) %18) #5
  call void @_ZNSt10unique_ptrIKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EE7DeleterIS9_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %79 = load ptr, ptr %15, align 8, !tbaa !9
  %80 = getelementptr inbounds %struct.TagPost, ptr %79, i32 0, i32 1
  store ptr %80, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %81 = load ptr, ptr %19, align 8, !tbaa !9
  %82 = call ptr @_ZNKSt6vectorISt10unique_ptrIS_IiSaIiEE7DeleterIS2_EESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %81) #5
  %83 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.76", ptr %20, i32 0, i32 0
  store ptr %82, ptr %83, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %84 = load ptr, ptr %19, align 8, !tbaa !9
  %85 = call ptr @_ZNKSt6vectorISt10unique_ptrIS_IiSaIiEE7DeleterIS2_EESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %84) #5
  %86 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.76", ptr %21, i32 0, i32 0
  store ptr %85, ptr %86, align 8
  br label %87

87:                                               ; preds = %129, %64
  %88 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt10unique_ptrISt6vectorIiSaIiEE7DeleterIS4_EES2_IS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #5
  br i1 %88, label %98, label %89

89:                                               ; preds = %87
  store i32 5, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br label %131

90:                                               ; preds = %53
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %11, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %12, align 4
  br label %320

94:                                               ; preds = %131, %60
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %11, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %12, align 4
  br label %319

98:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt10unique_ptrISt6vectorIiSaIiEE7DeleterIS4_EES2_IS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  store ptr %99, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %100 = load ptr, ptr %22, align 8, !tbaa !9
  %101 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt10unique_ptrISt6vectorIiSaIiEE7DeleterIS2_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %100) #5
  store ptr %101, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %102 = load ptr, ptr %23, align 8, !tbaa !9
  %103 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %102) #5
  %104 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.77", ptr %24, i32 0, i32 0
  store ptr %103, ptr %104, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %105 = load ptr, ptr %23, align 8, !tbaa !9
  %106 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %105) #5
  %107 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.77", ptr %25, i32 0, i32 0
  store ptr %106, ptr %107, align 8
  br label %108

108:                                              ; preds = %122, %98
  %109 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #5
  br i1 %109, label %111, label %110

110:                                              ; preds = %108
  store i32 7, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  br label %128

111:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  %112 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #5
  %113 = load i32, ptr %112, align 4, !tbaa !11
  store i32 %113, ptr %26, align 4, !tbaa !11
  %114 = load i32, ptr %26, align 4, !tbaa !11
  %115 = sext i32 %114 to i64
  %116 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %115)
          to label %117 unwind label %124

117:                                              ; preds = %111
  %118 = load i8, ptr %116, align 1, !tbaa !13
  %119 = zext i8 %118 to i32
  %120 = add nsw i32 %119, 1
  %121 = trunc i32 %120 to i8
  store i8 %121, ptr %116, align 1, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  br label %122

122:                                              ; preds = %117
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #5
  br label %108

124:                                              ; preds = %111
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %11, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br label %319

128:                                              ; preds = %110
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  br label %129

129:                                              ; preds = %128
  %130 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt10unique_ptrISt6vectorIiSaIiEE7DeleterIS4_EES2_IS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  br label %87

131:                                              ; preds = %89
  %132 = load i64, ptr %13, align 8, !tbaa !5
  %133 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %132)
          to label %134 unwind label %94

134:                                              ; preds = %131
  store i8 0, ptr %133, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 40, ptr %27) #5
  call void @llvm.memset.p0.i64(ptr align 4 %27, i8 0, i64 40, i1 false)
  %135 = getelementptr inbounds %"struct.std::array.78", ptr %27, i32 0, i32 0
  %136 = getelementptr inbounds %"struct.std::pair.79", ptr %135, i64 5
  br label %137

137:                                              ; preds = %139, %134
  %138 = phi ptr [ %135, %134 ], [ %140, %139 ]
  invoke void @_ZNSt4pairIhiEC2IhiTnNSt9enable_ifIXsr6__and_ISt37__is_implicitly_default_constructibleIT_ES3_IT0_EEE5valueEbE4typeELb1EEEv(ptr noundef nonnull align 4 dereferenceable(8) %138)
          to label %139 unwind label %148

139:                                              ; preds = %137
  %140 = getelementptr inbounds %"struct.std::pair.79", ptr %138, i64 1
  %141 = icmp eq ptr %140, %136
  br i1 %141, label %142, label %137

142:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #5
  store i8 0, ptr %28, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  store i64 0, ptr %29, align 8, !tbaa !5
  br label %143

143:                                              ; preds = %274, %142
  %144 = load i64, ptr %29, align 8, !tbaa !5
  %145 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  %146 = icmp ult i64 %144, %145
  br i1 %146, label %152, label %147

147:                                              ; preds = %143
  store i32 9, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  br label %278

148:                                              ; preds = %137
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %11, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %12, align 4
  br label %318

152:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %153 = load i64, ptr %29, align 8, !tbaa !5
  store i64 %153, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  %154 = load i64, ptr %30, align 8, !tbaa !5
  %155 = add i64 %154, 64
  store i64 %155, ptr %31, align 8, !tbaa !5
  %156 = load i64, ptr %31, align 8, !tbaa !5
  %157 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  %158 = icmp ugt i64 %156, %157
  br i1 %158, label %159, label %161

159:                                              ; preds = %152
  %160 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  store i64 %160, ptr %31, align 8, !tbaa !5
  br label %161

161:                                              ; preds = %159, %152
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #5
  store i8 0, ptr %32, align 1, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  %162 = load i64, ptr %30, align 8, !tbaa !5
  store i64 %162, ptr %33, align 8, !tbaa !5
  br label %163

163:                                              ; preds = %184, %161
  %164 = load i64, ptr %33, align 8, !tbaa !5
  %165 = load i64, ptr %31, align 8, !tbaa !5
  %166 = icmp ult i64 %164, %165
  br i1 %166, label %168, label %167

167:                                              ; preds = %163
  store i32 12, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  br label %191

168:                                              ; preds = %163
  %169 = load i64, ptr %33, align 8, !tbaa !5
  %170 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %169)
          to label %171 unwind label %187

171:                                              ; preds = %168
  %172 = load i8, ptr %170, align 1, !tbaa !13
  %173 = zext i8 %172 to i32
  %174 = load i8, ptr %28, align 1, !tbaa !13
  %175 = zext i8 %174 to i32
  %176 = icmp sgt i32 %173, %175
  %177 = zext i1 %176 to i32
  %178 = load i8, ptr %32, align 1, !tbaa !14, !range !16, !noundef !17
  %179 = trunc i8 %178 to i1
  %180 = zext i1 %179 to i32
  %181 = or i32 %180, %177
  %182 = icmp ne i32 %181, 0
  %183 = zext i1 %182 to i8
  store i8 %183, ptr %32, align 1, !tbaa !14
  br label %184

184:                                              ; preds = %171
  %185 = load i64, ptr %33, align 8, !tbaa !5
  %186 = add i64 %185, 1
  store i64 %186, ptr %33, align 8, !tbaa !5
  br label %163, !llvm.loop !18

187:                                              ; preds = %168
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %11, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  br label %277

191:                                              ; preds = %167
  %192 = load i8, ptr %32, align 1, !tbaa !14, !range !16, !noundef !17
  %193 = trunc i8 %192 to i1
  br i1 %193, label %194, label %273

194:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  %195 = load i64, ptr %30, align 8, !tbaa !5
  store i64 %195, ptr %34, align 8, !tbaa !5
  br label %196

196:                                              ; preds = %268, %194
  %197 = load i64, ptr %34, align 8, !tbaa !5
  %198 = load i64, ptr %31, align 8, !tbaa !5
  %199 = icmp ult i64 %197, %198
  br i1 %199, label %201, label %200

200:                                              ; preds = %196
  store i32 15, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  br label %272

201:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #5
  %202 = load i64, ptr %34, align 8, !tbaa !5
  %203 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %202)
          to label %204 unwind label %242

204:                                              ; preds = %201
  %205 = load i8, ptr %203, align 1, !tbaa !13
  store i8 %205, ptr %35, align 1, !tbaa !13
  %206 = load i8, ptr %35, align 1, !tbaa !13
  %207 = zext i8 %206 to i32
  %208 = load i8, ptr %28, align 1, !tbaa !13
  %209 = zext i8 %208 to i32
  %210 = icmp sgt i32 %207, %209
  br i1 %210, label %211, label %267

211:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #5
  store i32 3, ptr %36, align 4, !tbaa !11
  br label %212

212:                                              ; preds = %239, %211
  %213 = load i32, ptr %36, align 4, !tbaa !11
  %214 = icmp sge i32 %213, 0
  br i1 %214, label %215, label %226

215:                                              ; preds = %212
  %216 = load i8, ptr %35, align 1, !tbaa !13
  %217 = zext i8 %216 to i32
  %218 = load i32, ptr %36, align 4, !tbaa !11
  %219 = sext i32 %218 to i64
  %220 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %27, i64 noundef %219)
          to label %221 unwind label %246

221:                                              ; preds = %215
  %222 = getelementptr inbounds %"struct.std::pair.79", ptr %220, i32 0, i32 0
  %223 = load i8, ptr %222, align 4, !tbaa !20
  %224 = zext i8 %223 to i32
  %225 = icmp sgt i32 %217, %224
  br label %226

226:                                              ; preds = %221, %212
  %227 = phi i1 [ false, %212 ], [ %225, %221 ]
  br i1 %227, label %228, label %250

228:                                              ; preds = %226
  %229 = load i32, ptr %36, align 4, !tbaa !11
  %230 = sext i32 %229 to i64
  %231 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %27, i64 noundef %230)
          to label %232 unwind label %246

232:                                              ; preds = %228
  %233 = load i32, ptr %36, align 4, !tbaa !11
  %234 = add nsw i32 %233, 1
  %235 = sext i32 %234 to i64
  %236 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %27, i64 noundef %235)
          to label %237 unwind label %246

237:                                              ; preds = %232
  %238 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIhiEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(8) %236, ptr noundef nonnull align 4 dereferenceable(8) %231)
          to label %239 unwind label %246

239:                                              ; preds = %237
  %240 = load i32, ptr %36, align 4, !tbaa !11
  %241 = sub nsw i32 %240, 1
  store i32 %241, ptr %36, align 4, !tbaa !11
  br label %212, !llvm.loop !22

242:                                              ; preds = %201
  %243 = landingpad { ptr, i32 }
          cleanup
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %11, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %12, align 4
  br label %271

246:                                              ; preds = %256, %237, %232, %228, %215
  %247 = landingpad { ptr, i32 }
          cleanup
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %11, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %12, align 4
  br label %266

250:                                              ; preds = %226
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #5
  invoke void @_ZNSt4pairIhiEC2IRhRmTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 4 dereferenceable(8) %37, ptr noundef nonnull align 1 dereferenceable(1) %35, ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %251 unwind label %262

251:                                              ; preds = %250
  %252 = load i32, ptr %36, align 4, !tbaa !11
  %253 = add nsw i32 %252, 1
  %254 = sext i32 %253 to i64
  %255 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %27, i64 noundef %254)
          to label %256 unwind label %262

256:                                              ; preds = %251
  %257 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIhiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %255, ptr noundef nonnull align 4 dereferenceable(8) %37) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  %258 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %27, i64 noundef 4)
          to label %259 unwind label %246

259:                                              ; preds = %256
  %260 = getelementptr inbounds %"struct.std::pair.79", ptr %258, i32 0, i32 0
  %261 = load i8, ptr %260, align 4, !tbaa !20
  store i8 %261, ptr %28, align 1, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  br label %267

262:                                              ; preds = %251, %250
  %263 = landingpad { ptr, i32 }
          cleanup
  %264 = extractvalue { ptr, i32 } %263, 0
  store ptr %264, ptr %11, align 8
  %265 = extractvalue { ptr, i32 } %263, 1
  store i32 %265, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  br label %266

266:                                              ; preds = %262, %246
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  br label %271

267:                                              ; preds = %259, %204
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #5
  br label %268

268:                                              ; preds = %267
  %269 = load i64, ptr %34, align 8, !tbaa !5
  %270 = add i64 %269, 1
  store i64 %270, ptr %34, align 8, !tbaa !5
  br label %196, !llvm.loop !23

271:                                              ; preds = %266, %242
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  br label %277

272:                                              ; preds = %200
  br label %273

273:                                              ; preds = %272, %191
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  br label %274

274:                                              ; preds = %273
  %275 = load i64, ptr %29, align 8, !tbaa !5
  %276 = add i64 %275, 64
  store i64 %276, ptr %29, align 8, !tbaa !5
  br label %143, !llvm.loop !24

277:                                              ; preds = %271, %187
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  br label %317

278:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #5
  store i64 0, ptr %38, align 8, !tbaa !5
  br label %279

279:                                              ; preds = %301, %278
  %280 = load i64, ptr %38, align 8, !tbaa !5
  %281 = icmp ult i64 %280, 5
  br i1 %281, label %283, label %282

282:                                              ; preds = %279
  store i32 20, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  br label %313

283:                                              ; preds = %279
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #5
  %284 = load ptr, ptr %7, align 8, !tbaa !9
  %285 = load i64, ptr %38, align 8, !tbaa !5
  %286 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %27, i64 noundef %285)
          to label %287 unwind label %304

287:                                              ; preds = %283
  %288 = getelementptr inbounds %"struct.std::pair.79", ptr %286, i32 0, i32 1
  %289 = load i32, ptr %288, align 4, !tbaa !25
  %290 = sext i32 %289 to i64
  %291 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorI7TagPostSaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %284, i64 noundef %290)
          to label %292 unwind label %304

292:                                              ; preds = %287
  %293 = getelementptr inbounds %struct.TagPost, ptr %291, i32 0, i32 0
  %294 = call noundef ptr @_ZNKSt10unique_ptrIK4Post7DeleterIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %293) #5
  call void @_ZNSt10unique_ptrIK4Post7DeleterIS1_EEC2IS3_vEEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef %294) #5
  %295 = load ptr, ptr %16, align 8, !tbaa !9
  %296 = getelementptr inbounds %struct.RelatedPosts, ptr %295, i32 0, i32 2
  %297 = load i64, ptr %38, align 8, !tbaa !5
  %298 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayISt10unique_ptrIK4Post7DeleterIS2_EELm5EE2atEm(ptr noundef nonnull align 8 dereferenceable(40) %296, i64 noundef %297)
          to label %299 unwind label %308

299:                                              ; preds = %292
  %300 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIK4Post7DeleterIS1_EEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(8) %298, ptr noundef nonnull align 8 dereferenceable(8) %39) #5
  call void @_ZNSt10unique_ptrIK4Post7DeleterIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %39) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #5
  br label %301

301:                                              ; preds = %299
  %302 = load i64, ptr %38, align 8, !tbaa !5
  %303 = add i64 %302, 1
  store i64 %303, ptr %38, align 8, !tbaa !5
  br label %279, !llvm.loop !26

304:                                              ; preds = %287, %283
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %11, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %12, align 4
  br label %312

308:                                              ; preds = %292
  %309 = landingpad { ptr, i32 }
          cleanup
  %310 = extractvalue { ptr, i32 } %309, 0
  store ptr %310, ptr %11, align 8
  %311 = extractvalue { ptr, i32 } %309, 1
  store i32 %311, ptr %12, align 4
  call void @_ZNSt10unique_ptrIK4Post7DeleterIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %39) #5
  br label %312

312:                                              ; preds = %308, %304
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  br label %317

313:                                              ; preds = %282
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %314

314:                                              ; preds = %313
  %315 = load i64, ptr %13, align 8, !tbaa !5
  %316 = add i64 %315, 1
  store i64 %316, ptr %13, align 8, !tbaa !5
  br label %44, !llvm.loop !27

317:                                              ; preds = %312, %277
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #5
  br label %318

318:                                              ; preds = %317, %148
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #5
  br label %319

319:                                              ; preds = %318, %124, %94
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %320

320:                                              ; preds = %319, %90
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  br label %322

321:                                              ; preds = %48
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #5
  ret void

322:                                              ; preds = %320, %49
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #5
  br label %323

323:                                              ; preds = %322
  %324 = load ptr, ptr %11, align 8
  %325 = load i32, ptr %12, align 4
  %326 = insertvalue { ptr, i32 } poison, ptr %324, 0
  %327 = insertvalue { ptr, i32 } %326, i32 %325, 1
  resume { ptr, i32 } %327
}

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

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !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, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !7, i64 0}
!21 = !{!"_ZTSSt4pairIhiE", !7, i64 0, !12, i64 4}
!22 = distinct !{!22, !19}
!23 = distinct !{!23, !19}
!24 = distinct !{!24, !19}
!25 = !{!21, !12, i64 4}
!26 = distinct !{!26, !19}
!27 = distinct !{!27, !19}


; 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.66" = type { %"struct.std::_Vector_base.67" }
%"struct.std::_Vector_base.67" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.68" = type { i8 }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%"class.std::unique_ptr.2" = type { %"struct.std::__uniq_ptr_data.3" }
%"struct.std::__uniq_ptr_data.3" = type { %"class.std::__uniq_ptr_impl.4" }
%"class.std::__uniq_ptr_impl.4" = type { %"class.std::tuple.5" }
%"class.std::tuple.5" = type { %"struct.std::_Tuple_impl.6" }
%"struct.std::_Tuple_impl.6" = type { %"struct.std::_Head_base.9" }
%"struct.std::_Head_base.9" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.76" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.77" = type { ptr }
%"struct.std::array.78" = type { [5 x %"struct.std::pair.79"] }
%"struct.std::pair.79" = type { i8, i32 }
%"class.std::unique_ptr.10" = type { %"struct.std::__uniq_ptr_data.11" }
%"struct.std::__uniq_ptr_data.11" = type { %"class.std::__uniq_ptr_impl.12" }
%"class.std::__uniq_ptr_impl.12" = type { %"class.std::tuple.13" }
%"class.std::tuple.13" = type { %"struct.std::_Tuple_impl.14" }
%"struct.std::_Tuple_impl.14" = type { %"struct.std::_Head_base.17" }
%"struct.std::_Head_base.17" = type { ptr }

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

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) #0

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z7do_workmmRKSt6vectorI7TagPostSaIS0_EERS_I12RelatedPostsSaIS5_EE(i64 noundef %0, i64 noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %3) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::vector.66", align 8
  %6 = alloca %"class.std::allocator.68", align 1
  %7 = alloca %"class.std::unique_ptr", align 8
  %8 = alloca %"class.std::unique_ptr.2", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.76", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.76", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.77", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.77", align 8
  %13 = alloca %"struct.std::array.78", align 4
  %14 = alloca i64, align 8
  %15 = alloca i8, align 1
  %16 = alloca %"struct.std::pair.79", align 4
  %17 = alloca %"class.std::unique_ptr.10", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #5
  %18 = tail call noundef i64 @_ZNKSt6vectorI7TagPostSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #5
  call void @_ZNSaIhEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #5
  invoke void @_ZNSt6vectorIhSaIhEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %18, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %19 unwind label %21

19:                                               ; preds = %4
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #5
  %20 = icmp ult i64 %0, %1
  br i1 %20, label %.lr.ph112.preheader, label %._crit_edge113

.lr.ph112.preheader:                              ; preds = %19
  %.ptr.1 = getelementptr inbounds i8, ptr %13, i64 8
  %.ptr.2 = getelementptr inbounds i8, ptr %13, i64 16
  %.ptr.3 = getelementptr inbounds i8, ptr %13, i64 24
  %.ptr.4 = getelementptr inbounds i8, ptr %13, i64 32
  br label %.lr.ph112

._crit_edge113:                                   ; preds = %194, %19
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  ret void

21:                                               ; preds = %4
  %22 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #5
  br label %204

.lr.ph112:                                        ; preds = %.lr.ph112.preheader, %194
  %.069110 = phi i64 [ %196, %194 ], [ %0, %.lr.ph112.preheader ]
  %23 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  %24 = call noundef i64 @_ZNKSt6vectorI7TagPostSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  call void @llvm.memset.p0.i64(ptr align 1 %23, i8 0, i64 %24, i1 false)
  %25 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorI7TagPostSaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.069110)
          to label %26 unwind label %40

26:                                               ; preds = %.lr.ph112
  %27 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorI12RelatedPostsSaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.069110)
          to label %28 unwind label %42

28:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %29 = call noundef ptr @_ZNKSt10unique_ptrIK4Post7DeleterIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #5
  call void @_ZNSt10unique_ptrIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7DeleterIS6_EEC2IS8_vEEPS6_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef %29) #5
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7DeleterIS6_EEaSEOS9_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  call void @_ZNSt10unique_ptrIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE7DeleterIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %31 = call noundef ptr @_ZNKSt10unique_ptrIK4Post7DeleterIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #5
  %32 = getelementptr inbounds i8, ptr %31, i64 64
  call void @_ZNSt10unique_ptrIKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EE7DeleterIS9_EEC2ISB_vEEPS9_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull %32) #5
  %33 = getelementptr inbounds i8, ptr %27, i64 8
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EE7DeleterIS9_EEaSEOSC_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  call void @_ZNSt10unique_ptrIKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EE7DeleterIS9_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  %35 = getelementptr inbounds i8, ptr %25, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %36 = call ptr @_ZNKSt6vectorISt10unique_ptrIS_IiSaIiEE7DeleterIS2_EESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #5
  store ptr %36, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  %37 = call ptr @_ZNKSt6vectorISt10unique_ptrIS_IiSaIiEE7DeleterIS2_EESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #5
  store ptr %37, ptr %10, align 8
  %38 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt10unique_ptrISt6vectorIiSaIiEE7DeleterIS4_EES2_IS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  br i1 %38, label %.lr.ph92, label %._crit_edge93

._crit_edge93:                                    ; preds = %._crit_edge, %28
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  %39 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.069110)
          to label %.preheader84 unwind label %42

40:                                               ; preds = %.lr.ph112
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %203

42:                                               ; preds = %._crit_edge93, %26
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %203

.lr.ph92:                                         ; preds = %28, %._crit_edge
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt10unique_ptrISt6vectorIiSaIiEE7DeleterIS4_EES2_IS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  %45 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt10unique_ptrISt6vectorIiSaIiEE7DeleterIS2_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %44) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  %46 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #5
  store ptr %46, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  %47 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #5
  store ptr %47, ptr %12, align 8
  %48 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  br i1 %48, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %55, %.lr.ph92
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt10unique_ptrISt6vectorIiSaIiEE7DeleterIS4_EES2_IS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  %50 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt10unique_ptrISt6vectorIiSaIiEE7DeleterIS4_EES2_IS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  br i1 %50, label %.lr.ph92, label %._crit_edge93

.lr.ph:                                           ; preds = %.lr.ph92, %55
  %51 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %52 = load i32, ptr %51, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  %54 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %53)
          to label %55 unwind label %60

55:                                               ; preds = %.lr.ph
  %56 = load i8, ptr %54, align 1, !tbaa !9
  %57 = add i8 %56, 1
  store i8 %57, ptr %54, align 1, !tbaa !9
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %59 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  br i1 %59, label %.lr.ph, label %._crit_edge

60:                                               ; preds = %.lr.ph
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  br label %203

.preheader84:                                     ; preds = %._crit_edge93
  store i8 0, ptr %39, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %13) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(40) %13, i8 0, i64 40, i1 false)
  call void @_ZNSt4pairIhiEC2IhiTnNSt9enable_ifIXsr6__and_ISt37__is_implicitly_default_constructibleIT_ES3_IT0_EEE5valueEbE4typeELb1EEEv(ptr noundef nonnull align 4 dereferenceable(8) %13)
  call void @_ZNSt4pairIhiEC2IhiTnNSt9enable_ifIXsr6__and_ISt37__is_implicitly_default_constructibleIT_ES3_IT0_EEE5valueEbE4typeELb1EEEv(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.1)
  call void @_ZNSt4pairIhiEC2IhiTnNSt9enable_ifIXsr6__and_ISt37__is_implicitly_default_constructibleIT_ES3_IT0_EEE5valueEbE4typeELb1EEEv(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.2)
  call void @_ZNSt4pairIhiEC2IhiTnNSt9enable_ifIXsr6__and_ISt37__is_implicitly_default_constructibleIT_ES3_IT0_EEE5valueEbE4typeELb1EEEv(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.3)
  call void @_ZNSt4pairIhiEC2IhiTnNSt9enable_ifIXsr6__and_ISt37__is_implicitly_default_constructibleIT_ES3_IT0_EEE5valueEbE4typeELb1EEEv(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.4)
  %62 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  %.not = icmp eq i64 %62, 0
  br i1 %.not, label %.preheader83, label %.lr.ph108

.preheader83:                                     ; preds = %.critedge114, %.preheader84
  %63 = getelementptr inbounds i8, ptr %27, i64 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  %64 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %13, i64 noundef 0)
          to label %142 unwind label %197

.lr.ph108:                                        ; preds = %.preheader84, %.critedge114
  %.056107 = phi i64 [ %65, %.critedge114 ], [ 0, %.preheader84 ]
  %.057106 = phi i8 [ %.360, %.critedge114 ], [ 0, %.preheader84 ]
  %65 = add i64 %.056107, 64
  %66 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  %67 = icmp ugt i64 %65, %66
  br i1 %67, label %68, label %70

68:                                               ; preds = %.lr.ph108
  %69 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  br label %70

70:                                               ; preds = %68, %.lr.ph108
  %.054 = phi i64 [ %69, %68 ], [ %65, %.lr.ph108 ]
  %71 = icmp ult i64 %.056107, %.054
  br i1 %71, label %.lr.ph97, label %.critedge114

._crit_edge98:                                    ; preds = %73
  br i1 %76, label %.lr.ph103.preheader, label %.critedge114

.lr.ph97:                                         ; preds = %70, %73
  %.05295 = phi i64 [ %77, %73 ], [ %.056107, %70 ]
  %.05394 = phi i1 [ %76, %73 ], [ false, %70 ]
  %72 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.05295)
          to label %73 unwind label %79

73:                                               ; preds = %.lr.ph97
  %74 = load i8, ptr %72, align 1, !tbaa !9
  %75 = icmp ugt i8 %74, %.057106
  %76 = or i1 %.05394, %75
  %77 = add nuw i64 %.05295, 1
  %78 = icmp ult i64 %77, %.054
  br i1 %78, label %.lr.ph97, label %._crit_edge98, !llvm.loop !10

79:                                               ; preds = %.lr.ph97
  %80 = landingpad { ptr, i32 }
          cleanup
  br label %202

.lr.ph103.preheader:                              ; preds = %._crit_edge98
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  store i64 %.056107, ptr %14, align 8, !tbaa !12
  br label %.lr.ph103

._crit_edge104:                                   ; preds = %135
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  br label %.critedge114

.lr.ph103:                                        ; preds = %.lr.ph103.preheader, %135
  %.158101 = phi i8 [ %.259, %135 ], [ %.057106, %.lr.ph103.preheader ]
  %storemerge100 = phi i64 [ %137, %135 ], [ %.056107, %.lr.ph103.preheader ]
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #5
  %81 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt6vectorIhSaIhEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %storemerge100)
          to label %82 unwind label %125

82:                                               ; preds = %.lr.ph103
  %83 = load i8, ptr %81, align 1, !tbaa !9
  store i8 %83, ptr %15, align 1, !tbaa !9
  %84 = icmp ugt i8 %83, %.158101
  br i1 %84, label %.preheader.preheader, label %135

.preheader.preheader:                             ; preds = %82
  %85 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %13, i64 noundef 3)
          to label %86 unwind label %.loopexit

86:                                               ; preds = %.preheader.preheader
  %87 = load i8, ptr %85, align 4, !tbaa !14
  %88 = icmp ugt i8 %83, %87
  br i1 %88, label %89, label %.critedge

89:                                               ; preds = %86
  %90 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %13, i64 noundef 3)
          to label %91 unwind label %.loopexit

91:                                               ; preds = %89
  %92 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %13, i64 noundef 4)
          to label %.preheader.1 unwind label %.loopexit

.preheader.1:                                     ; preds = %91
  %93 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIhiEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(8) %92, ptr noundef nonnull align 4 dereferenceable(8) %90)
  %94 = load i8, ptr %15, align 1, !tbaa !9
  %95 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %13, i64 noundef 2)
          to label %96 unwind label %.loopexit

96:                                               ; preds = %.preheader.1
  %97 = load i8, ptr %95, align 4, !tbaa !14
  %98 = icmp ugt i8 %94, %97
  br i1 %98, label %99, label %.critedge

99:                                               ; preds = %96
  %100 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %13, i64 noundef 2)
          to label %101 unwind label %.loopexit

101:                                              ; preds = %99
  %102 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %13, i64 noundef 3)
          to label %.preheader.2 unwind label %.loopexit

.preheader.2:                                     ; preds = %101
  %103 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIhiEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(8) %102, ptr noundef nonnull align 4 dereferenceable(8) %100)
  %104 = load i8, ptr %15, align 1, !tbaa !9
  %105 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %13, i64 noundef 1)
          to label %106 unwind label %.loopexit

106:                                              ; preds = %.preheader.2
  %107 = load i8, ptr %105, align 4, !tbaa !14
  %108 = icmp ugt i8 %104, %107
  br i1 %108, label %109, label %.critedge

109:                                              ; preds = %106
  %110 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %13, i64 noundef 1)
          to label %111 unwind label %.loopexit

111:                                              ; preds = %109
  %112 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %13, i64 noundef 2)
          to label %.preheader.3 unwind label %.loopexit

.preheader.3:                                     ; preds = %111
  %113 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIhiEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(8) %112, ptr noundef nonnull align 4 dereferenceable(8) %110)
  %114 = load i8, ptr %15, align 1, !tbaa !9
  %115 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %13, i64 noundef 0)
          to label %116 unwind label %.loopexit

116:                                              ; preds = %.preheader.3
  %117 = load i8, ptr %115, align 4, !tbaa !14
  %118 = icmp ugt i8 %114, %117
  br i1 %118, label %119, label %.critedge

119:                                              ; preds = %116
  %120 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %13, i64 noundef 0)
          to label %121 unwind label %.loopexit

121:                                              ; preds = %119
  %122 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %13, i64 noundef 1)
          to label %123 unwind label %.loopexit

123:                                              ; preds = %121
  %124 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIhiEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(8) %122, ptr noundef nonnull align 4 dereferenceable(8) %120)
  br label %.critedge

125:                                              ; preds = %.lr.ph103
  %126 = landingpad { ptr, i32 }
          cleanup
  br label %139

.loopexit:                                        ; preds = %121, %119, %.preheader.3, %111, %109, %.preheader.2, %101, %99, %.preheader.1, %.preheader.preheader, %89, %91
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %139

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

.critedge:                                        ; preds = %123, %116, %106, %96, %86
  %.051.lcssa = phi i64 [ 4, %86 ], [ 3, %96 ], [ 2, %106 ], [ 1, %116 ], [ 0, %123 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #5
  call void @_ZNSt4pairIhiEC2IRhRmTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 1 dereferenceable(1) %15, ptr noundef nonnull align 8 dereferenceable(8) %14)
  %127 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %13, i64 noundef %.051.lcssa)
          to label %128 unwind label %133

128:                                              ; preds = %.critedge
  %129 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIhiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %127, ptr noundef nonnull align 4 dereferenceable(8) %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
  %130 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %13, i64 noundef 4)
          to label %131 unwind label %.loopexit.split-lp

131:                                              ; preds = %128
  %132 = load i8, ptr %130, align 4, !tbaa !14
  br label %135

133:                                              ; preds = %.critedge
  %134 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
  br label %139

135:                                              ; preds = %131, %82
  %.259 = phi i8 [ %132, %131 ], [ %.158101, %82 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #5
  %136 = load i64, ptr %14, align 8, !tbaa !12
  %137 = add i64 %136, 1
  store i64 %137, ptr %14, align 8, !tbaa !12
  %138 = icmp ult i64 %137, %.054
  br i1 %138, label %.lr.ph103, label %._crit_edge104, !llvm.loop !16

139:                                              ; preds = %.loopexit, %.loopexit.split-lp, %133, %125
  %.pn73.pn = phi { ptr, i32 } [ %126, %125 ], [ %134, %133 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  br label %202

.critedge114:                                     ; preds = %70, %._crit_edge104, %._crit_edge98
  %.360 = phi i8 [ %.259, %._crit_edge104 ], [ %.057106, %._crit_edge98 ], [ %.057106, %70 ]
  %140 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  %141 = icmp ult i64 %65, %140
  br i1 %141, label %.lr.ph108, label %.preheader83, !llvm.loop !17

142:                                              ; preds = %.preheader83
  %143 = getelementptr inbounds i8, ptr %64, i64 4
  %144 = load i32, ptr %143, align 4, !tbaa !18
  %145 = sext i32 %144 to i64
  %146 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorI7TagPostSaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %145)
          to label %147 unwind label %197

147:                                              ; preds = %142
  %148 = call noundef ptr @_ZNKSt10unique_ptrIK4Post7DeleterIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %146) #5
  call void @_ZNSt10unique_ptrIK4Post7DeleterIS1_EEC2IS3_vEEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef %148) #5
  %149 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayISt10unique_ptrIK4Post7DeleterIS2_EELm5EE2atEm(ptr noundef nonnull align 8 dereferenceable(40) %63, i64 noundef 0)
          to label %150 unwind label %199

150:                                              ; preds = %147
  %151 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIK4Post7DeleterIS1_EEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(8) %149, ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  call void @_ZNSt10unique_ptrIK4Post7DeleterIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  %152 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %13, i64 noundef 1)
          to label %153 unwind label %197

153:                                              ; preds = %150
  %154 = getelementptr inbounds i8, ptr %152, i64 4
  %155 = load i32, ptr %154, align 4, !tbaa !18
  %156 = sext i32 %155 to i64
  %157 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorI7TagPostSaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %156)
          to label %158 unwind label %197

158:                                              ; preds = %153
  %159 = call noundef ptr @_ZNKSt10unique_ptrIK4Post7DeleterIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %157) #5
  call void @_ZNSt10unique_ptrIK4Post7DeleterIS1_EEC2IS3_vEEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef %159) #5
  %160 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayISt10unique_ptrIK4Post7DeleterIS2_EELm5EE2atEm(ptr noundef nonnull align 8 dereferenceable(40) %63, i64 noundef 1)
          to label %161 unwind label %199

161:                                              ; preds = %158
  %162 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIK4Post7DeleterIS1_EEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(8) %160, ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  call void @_ZNSt10unique_ptrIK4Post7DeleterIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  %163 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %13, i64 noundef 2)
          to label %164 unwind label %197

164:                                              ; preds = %161
  %165 = getelementptr inbounds i8, ptr %163, i64 4
  %166 = load i32, ptr %165, align 4, !tbaa !18
  %167 = sext i32 %166 to i64
  %168 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorI7TagPostSaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %167)
          to label %169 unwind label %197

169:                                              ; preds = %164
  %170 = call noundef ptr @_ZNKSt10unique_ptrIK4Post7DeleterIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %168) #5
  call void @_ZNSt10unique_ptrIK4Post7DeleterIS1_EEC2IS3_vEEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef %170) #5
  %171 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayISt10unique_ptrIK4Post7DeleterIS2_EELm5EE2atEm(ptr noundef nonnull align 8 dereferenceable(40) %63, i64 noundef 2)
          to label %172 unwind label %199

172:                                              ; preds = %169
  %173 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIK4Post7DeleterIS1_EEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(8) %171, ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  call void @_ZNSt10unique_ptrIK4Post7DeleterIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  %174 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %13, i64 noundef 3)
          to label %175 unwind label %197

175:                                              ; preds = %172
  %176 = getelementptr inbounds i8, ptr %174, i64 4
  %177 = load i32, ptr %176, align 4, !tbaa !18
  %178 = sext i32 %177 to i64
  %179 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorI7TagPostSaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %178)
          to label %180 unwind label %197

180:                                              ; preds = %175
  %181 = call noundef ptr @_ZNKSt10unique_ptrIK4Post7DeleterIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %179) #5
  call void @_ZNSt10unique_ptrIK4Post7DeleterIS1_EEC2IS3_vEEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef %181) #5
  %182 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayISt10unique_ptrIK4Post7DeleterIS2_EELm5EE2atEm(ptr noundef nonnull align 8 dereferenceable(40) %63, i64 noundef 3)
          to label %183 unwind label %199

183:                                              ; preds = %180
  %184 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIK4Post7DeleterIS1_EEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(8) %182, ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  call void @_ZNSt10unique_ptrIK4Post7DeleterIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  %185 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt5arrayISt4pairIhiELm5EE2atEm(ptr noundef nonnull align 4 dereferenceable(40) %13, i64 noundef 4)
          to label %186 unwind label %197

186:                                              ; preds = %183
  %187 = getelementptr inbounds i8, ptr %185, i64 4
  %188 = load i32, ptr %187, align 4, !tbaa !18
  %189 = sext i32 %188 to i64
  %190 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorI7TagPostSaIS0_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %189)
          to label %191 unwind label %197

191:                                              ; preds = %186
  %192 = call noundef ptr @_ZNKSt10unique_ptrIK4Post7DeleterIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %190) #5
  call void @_ZNSt10unique_ptrIK4Post7DeleterIS1_EEC2IS3_vEEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef %192) #5
  %193 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayISt10unique_ptrIK4Post7DeleterIS2_EELm5EE2atEm(ptr noundef nonnull align 8 dereferenceable(40) %63, i64 noundef 4)
          to label %194 unwind label %199

194:                                              ; preds = %191
  %195 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrIK4Post7DeleterIS1_EEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(8) %193, ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  call void @_ZNSt10unique_ptrIK4Post7DeleterIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #5
  %196 = add nuw i64 %.069110, 1
  %exitcond.not = icmp eq i64 %196, %1
  br i1 %exitcond.not, label %._crit_edge113, label %.lr.ph112, !llvm.loop !19

197:                                              ; preds = %186, %183, %175, %172, %164, %161, %153, %150, %142, %.preheader83
  %198 = landingpad { ptr, i32 }
          cleanup
  br label %201

199:                                              ; preds = %191, %180, %169, %158, %147
  %200 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt10unique_ptrIK4Post7DeleterIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  br label %201

201:                                              ; preds = %199, %197
  %.pn = phi { ptr, i32 } [ %200, %199 ], [ %198, %197 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  br label %202

202:                                              ; preds = %79, %139, %201
  %.pn76.pn = phi { ptr, i32 } [ %.pn, %201 ], [ %80, %79 ], [ %.pn73.pn, %139 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #5
  br label %203

203:                                              ; preds = %42, %60, %202, %40
  %.pn79.pn = phi { ptr, i32 } [ %41, %40 ], [ %61, %60 ], [ %.pn76.pn, %202 ], [ %43, %42 ]
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  br label %204

204:                                              ; preds = %203, %21
  %.pn79.pn.pn = phi { ptr, i32 } [ %.pn79.pn, %203 ], [ %22, %21 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  resume { ptr, i32 } %.pn79.pn.pn
}

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

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

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

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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