; LLVM IR from abeaumont/competitive-programming :: codechef/april21a (boolgame)

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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::vector<std::set<long long>>, std::allocator<std::vector<std::set<long long>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<std::set<long long>>, std::allocator<std::vector<std::set<long long>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<std::set<long long>>, std::allocator<std::vector<std::set<long long>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<std::set<long long>>, std::allocator<std::vector<std::set<long long>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<std::set<long long>, std::allocator<std::set<long long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::set<long long>, std::allocator<std::set<long long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::set<long long>, std::allocator<std::set<long long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::set<long long>, std::allocator<std::set<long long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.7" = type { i8 }
%"class.std::allocator.2" = type { i8 }
%"struct.std::pair" = type <{ %"struct.std::_Rb_tree_const_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.std::reverse_iterator" = type { %"struct.std::_Rb_tree_const_iterator" }
%"class.std::reverse_iterator.13" = type { %"class.__gnu_cxx::__normal_iterator" }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca %"class.std::allocator", align 1
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca %"class.std::allocator", align 1
  %14 = alloca %"class.std::vector", align 8
  %15 = alloca %"class.std::allocator", align 1
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca %"class.std::vector.0", align 8
  %19 = alloca %"class.std::vector.5", align 8
  %20 = alloca %"class.std::allocator.7", align 1
  %21 = alloca %"class.std::allocator.2", align 1
  %22 = alloca i64, align 8
  %23 = alloca %"struct.std::pair", align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca ptr, align 8
  %28 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %29 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %30 = alloca i64, align 8
  %31 = alloca i32, align 4
  %32 = alloca %"struct.std::pair", align 8
  %33 = alloca i64, align 8
  %34 = alloca %"struct.std::pair", align 8
  %35 = alloca i32, align 4
  %36 = alloca %"class.std::reverse_iterator", align 8
  %37 = alloca %"class.std::reverse_iterator", align 8
  %38 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %39 = alloca %"struct.std::pair", align 8
  %40 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %41 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %42 = alloca %"class.std::reverse_iterator", align 8
  %43 = alloca %"class.std::vector", align 8
  %44 = alloca i32, align 4
  %45 = alloca ptr, align 8
  %46 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %47 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %48 = alloca i64, align 8
  %49 = alloca %"class.std::reverse_iterator.13", align 8
  %50 = alloca %"class.std::reverse_iterator.13", align 8
  %51 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %52 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %53 = getelementptr i8, ptr %52, i64 -24
  %54 = load i64, ptr %53, align 8
  %55 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %54
  %56 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %55, ptr noundef null)
  %57 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %58 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %2)
  br label %59

59:                                               ; preds = %495, %0
  %60 = load i64, ptr %2, align 8, !tbaa !8
  %61 = add nsw i64 %60, -1
  store i64 %61, ptr %2, align 8, !tbaa !8
  %62 = icmp ne i64 %60, 0
  br i1 %62, label %63, label %504

63:                                               ; preds = %59
  %64 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %65 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %64, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %66 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %65, ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #6
  %67 = load i64, ptr %3, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #6
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %67, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %68 unwind label %81

68:                                               ; preds = %63
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #6
  %69 = load i64, ptr %4, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #6
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %69, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %70 unwind label %85

70:                                               ; preds = %68
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #6
  %71 = load i64, ptr %4, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #6
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %71, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %72 unwind label %89

72:                                               ; preds = %70
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #6
  %73 = load i64, ptr %4, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #6
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %73, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %74 unwind label %93

74:                                               ; preds = %72
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 0, ptr %16, align 4, !tbaa !11
  br label %75

75:                                               ; preds = %103, %74
  %76 = load i32, ptr %16, align 4, !tbaa !11
  %77 = sext i32 %76 to i64
  %78 = load i64, ptr %3, align 8, !tbaa !8
  %79 = icmp slt i64 %77, %78
  br i1 %79, label %97, label %80

80:                                               ; preds = %75
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %110

81:                                               ; preds = %63
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %8, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  br label %503

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

89:                                               ; preds = %70
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %8, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  br label %501

93:                                               ; preds = %72
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %8, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  br label %500

97:                                               ; preds = %75
  %98 = load i32, ptr %16, align 4, !tbaa !11
  %99 = sext i32 %98 to i64
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %99) #6
  %101 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %100)
          to label %102 unwind label %106

102:                                              ; preds = %97
  br label %103

103:                                              ; preds = %102
  %104 = load i32, ptr %16, align 4, !tbaa !11
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %16, align 4, !tbaa !11
  br label %75, !llvm.loop !13

106:                                              ; preds = %97
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %8, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %499

110:                                              ; preds = %80
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !11
  br label %111

111:                                              ; preds = %143, %110
  %112 = load i32, ptr %17, align 4, !tbaa !11
  %113 = sext i32 %112 to i64
  %114 = load i64, ptr %4, align 8, !tbaa !8
  %115 = icmp slt i64 %113, %114
  br i1 %115, label %117, label %116

116:                                              ; preds = %111
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %150

117:                                              ; preds = %111
  %118 = load i32, ptr %17, align 4, !tbaa !11
  %119 = sext i32 %118 to i64
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %119) #6
  %121 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %120)
          to label %122 unwind label %146

122:                                              ; preds = %117
  %123 = load i32, ptr %17, align 4, !tbaa !11
  %124 = sext i32 %123 to i64
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %124) #6
  %126 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %121, ptr noundef nonnull align 8 dereferenceable(8) %125)
          to label %127 unwind label %146

127:                                              ; preds = %122
  %128 = load i32, ptr %17, align 4, !tbaa !11
  %129 = sext i32 %128 to i64
  %130 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %129) #6
  %131 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %126, ptr noundef nonnull align 8 dereferenceable(8) %130)
          to label %132 unwind label %146

132:                                              ; preds = %127
  %133 = load i32, ptr %17, align 4, !tbaa !11
  %134 = sext i32 %133 to i64
  %135 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %134) #6
  %136 = load i64, ptr %135, align 8, !tbaa !8
  %137 = add nsw i64 %136, -1
  store i64 %137, ptr %135, align 8, !tbaa !8
  %138 = load i32, ptr %17, align 4, !tbaa !11
  %139 = sext i32 %138 to i64
  %140 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %139) #6
  %141 = load i64, ptr %140, align 8, !tbaa !8
  %142 = add nsw i64 %141, -1
  store i64 %142, ptr %140, align 8, !tbaa !8
  br label %143

143:                                              ; preds = %132
  %144 = load i32, ptr %17, align 4, !tbaa !11
  %145 = add nsw i32 %144, 1
  store i32 %145, ptr %17, align 4, !tbaa !11
  br label %111, !llvm.loop !15

146:                                              ; preds = %127, %122, %117
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %8, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %499

150:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #6
  %151 = load i64, ptr %3, align 8, !tbaa !8
  %152 = add nsw i64 %151, 1
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #6
  %153 = load i64, ptr %3, align 8, !tbaa !8
  %154 = add nsw i64 %153, 1
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #6
  call void @_ZNSaISt3setIxSt4lessIxESaIxEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #6
  invoke void @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEC2EmRKS5_(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %154, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %155 unwind label %171

155:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #6
  call void @_ZNSaISt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  invoke void @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEC2EmRKS6_RKS7_(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %152, ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %156 unwind label %175

156:                                              ; preds = %155
  call void @_ZNSt15__new_allocatorISt6vectorISt3setIxSt4lessIxESaIxEESaIS5_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  call void @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  call void @_ZNSt15__new_allocatorISt3setIxSt4lessIxESaIxEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #6
  %157 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 0) #6
  %158 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %157, i64 noundef 0) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  store i64 0, ptr %22, align 8, !tbaa !8
  %159 = invoke { ptr, i8 } @_ZNSt3setIxSt4lessIxESaIxEE6insertEOx(ptr noundef nonnull align 8 dereferenceable(48) %158, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %160 unwind label %180

160:                                              ; preds = %156
  %161 = getelementptr inbounds { ptr, i8 }, ptr %23, i32 0, i32 0
  %162 = extractvalue { ptr, i8 } %159, 0
  store ptr %162, ptr %161, align 8
  %163 = getelementptr inbounds { ptr, i8 }, ptr %23, i32 0, i32 1
  %164 = extractvalue { ptr, i8 } %159, 1
  store i8 %164, ptr %163, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  store i32 0, ptr %24, align 4, !tbaa !11
  br label %165

165:                                              ; preds = %419, %160
  %166 = load i32, ptr %24, align 4, !tbaa !11
  %167 = sext i32 %166 to i64
  %168 = load i64, ptr %3, align 8, !tbaa !8
  %169 = icmp slt i64 %167, %168
  br i1 %169, label %184, label %170

170:                                              ; preds = %165
  store i32 10, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  br label %423

171:                                              ; preds = %150
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %8, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %9, align 4
  br label %179

175:                                              ; preds = %155
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %8, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %9, align 4
  call void @_ZNSt15__new_allocatorISt6vectorISt3setIxSt4lessIxESaIxEESaIS5_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  call void @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  br label %179

179:                                              ; preds = %175, %171
  call void @_ZNSt15__new_allocatorISt3setIxSt4lessIxESaIxEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #6
  br label %498

180:                                              ; preds = %156
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %8, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  br label %497

184:                                              ; preds = %165
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  store i32 0, ptr %26, align 4, !tbaa !11
  br label %185

185:                                              ; preds = %269, %184
  %186 = load i32, ptr %26, align 4, !tbaa !11
  %187 = load i32, ptr %24, align 4, !tbaa !11
  %188 = icmp sle i32 %186, %187
  br i1 %188, label %190, label %189

189:                                              ; preds = %185
  store i32 13, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  br label %272

190:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %191 = load i32, ptr %24, align 4, !tbaa !11
  %192 = sext i32 %191 to i64
  %193 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %192) #6
  %194 = load i32, ptr %26, align 4, !tbaa !11
  %195 = sext i32 %194 to i64
  %196 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %193, i64 noundef %195) #6
  store ptr %196, ptr %27, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %197 = load ptr, ptr %27, align 8, !tbaa !16
  %198 = call ptr @_ZNKSt3setIxSt4lessIxESaIxEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %197) #6
  %199 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %28, i32 0, i32 0
  store ptr %198, ptr %199, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %200 = load ptr, ptr %27, align 8, !tbaa !16
  %201 = call ptr @_ZNKSt3setIxSt4lessIxESaIxEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %200) #6
  %202 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %29, i32 0, i32 0
  store ptr %201, ptr %202, align 8
  br label %203

203:                                              ; preds = %262, %190
  %204 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIxES2_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %29) #6
  br i1 %204, label %206, label %205

205:                                              ; preds = %203
  store i32 16, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  br label %268

206:                                              ; preds = %203
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %207 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIxEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #6
  %208 = load i64, ptr %207, align 8, !tbaa !8
  store i64 %208, ptr %30, align 8, !tbaa !8
  %209 = load i32, ptr %24, align 4, !tbaa !11
  %210 = sext i32 %209 to i64
  %211 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %210) #6
  %212 = load i64, ptr %211, align 8, !tbaa !8
  %213 = load i64, ptr %30, align 8, !tbaa !8
  %214 = add nsw i64 %213, %212
  store i64 %214, ptr %30, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  store i32 0, ptr %31, align 4, !tbaa !11
  br label %215

215:                                              ; preds = %245, %206
  %216 = load i32, ptr %31, align 4, !tbaa !11
  %217 = sext i32 %216 to i64
  %218 = load i64, ptr %4, align 8, !tbaa !8
  %219 = icmp slt i64 %217, %218
  br i1 %219, label %221, label %220

220:                                              ; preds = %215
  store i32 18, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  br label %248

221:                                              ; preds = %215
  %222 = load i32, ptr %31, align 4, !tbaa !11
  %223 = sext i32 %222 to i64
  %224 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %223) #6
  %225 = load i64, ptr %224, align 8, !tbaa !8
  %226 = load i32, ptr %26, align 4, !tbaa !11
  %227 = sext i32 %226 to i64
  %228 = icmp sge i64 %225, %227
  br i1 %228, label %229, label %244

229:                                              ; preds = %221
  %230 = load i32, ptr %31, align 4, !tbaa !11
  %231 = sext i32 %230 to i64
  %232 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %231) #6
  %233 = load i64, ptr %232, align 8, !tbaa !8
  %234 = load i32, ptr %24, align 4, !tbaa !11
  %235 = sext i32 %234 to i64
  %236 = icmp eq i64 %233, %235
  br i1 %236, label %237, label %244

237:                                              ; preds = %229
  %238 = load i32, ptr %31, align 4, !tbaa !11
  %239 = sext i32 %238 to i64
  %240 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %239) #6
  %241 = load i64, ptr %240, align 8, !tbaa !8
  %242 = load i64, ptr %30, align 8, !tbaa !8
  %243 = add nsw i64 %242, %241
  store i64 %243, ptr %30, align 8, !tbaa !8
  br label %244

244:                                              ; preds = %237, %229, %221
  br label %245

245:                                              ; preds = %244
  %246 = load i32, ptr %31, align 4, !tbaa !11
  %247 = add nsw i32 %246, 1
  store i32 %247, ptr %31, align 4, !tbaa !11
  br label %215, !llvm.loop !18

248:                                              ; preds = %220
  %249 = load i32, ptr %24, align 4, !tbaa !11
  %250 = add nsw i32 %249, 1
  %251 = sext i32 %250 to i64
  %252 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %251) #6
  %253 = load i32, ptr %26, align 4, !tbaa !11
  %254 = sext i32 %253 to i64
  %255 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %252, i64 noundef %254) #6
  %256 = invoke { ptr, i8 } @_ZNSt3setIxSt4lessIxESaIxEE6insertERKx(ptr noundef nonnull align 8 dereferenceable(48) %255, ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %257 unwind label %264

257:                                              ; preds = %248
  %258 = getelementptr inbounds { ptr, i8 }, ptr %32, i32 0, i32 0
  %259 = extractvalue { ptr, i8 } %256, 0
  store ptr %259, ptr %258, align 8
  %260 = getelementptr inbounds { ptr, i8 }, ptr %32, i32 0, i32 1
  %261 = extractvalue { ptr, i8 } %256, 1
  store i8 %261, ptr %260, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  br label %262

262:                                              ; preds = %257
  %263 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorIxEppEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #6
  br label %203

264:                                              ; preds = %248
  %265 = landingpad { ptr, i32 }
          cleanup
  %266 = extractvalue { ptr, i32 } %265, 0
  store ptr %266, ptr %8, align 8
  %267 = extractvalue { ptr, i32 } %265, 1
  store i32 %267, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  br label %422

268:                                              ; preds = %205
  br label %269

269:                                              ; preds = %268
  %270 = load i32, ptr %26, align 4, !tbaa !11
  %271 = add nsw i32 %270, 1
  store i32 %271, ptr %26, align 4, !tbaa !11
  br label %185, !llvm.loop !19

272:                                              ; preds = %189
  %273 = load i32, ptr %24, align 4, !tbaa !11
  %274 = add nsw i32 %273, 1
  %275 = sext i32 %274 to i64
  %276 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %275) #6
  %277 = load i32, ptr %24, align 4, !tbaa !11
  %278 = add nsw i32 %277, 1
  %279 = sext i32 %278 to i64
  %280 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %276, i64 noundef %279) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  store i64 0, ptr %33, align 8, !tbaa !8
  %281 = invoke { ptr, i8 } @_ZNSt3setIxSt4lessIxESaIxEE6insertEOx(ptr noundef nonnull align 8 dereferenceable(48) %280, ptr noundef nonnull align 8 dereferenceable(8) %33)
          to label %282 unwind label %292

282:                                              ; preds = %272
  %283 = getelementptr inbounds { ptr, i8 }, ptr %34, i32 0, i32 0
  %284 = extractvalue { ptr, i8 } %281, 0
  store ptr %284, ptr %283, align 8
  %285 = getelementptr inbounds { ptr, i8 }, ptr %34, i32 0, i32 1
  %286 = extractvalue { ptr, i8 } %281, 1
  store i8 %286, ptr %285, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #6
  store i32 0, ptr %35, align 4, !tbaa !11
  br label %287

287:                                              ; preds = %415, %282
  %288 = load i32, ptr %35, align 4, !tbaa !11
  %289 = load i32, ptr %24, align 4, !tbaa !11
  %290 = icmp sle i32 %288, %289
  br i1 %290, label %296, label %291

291:                                              ; preds = %287
  store i32 21, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  br label %418

292:                                              ; preds = %272
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %8, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  br label %422

296:                                              ; preds = %287
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #6
  %297 = load i32, ptr %24, align 4, !tbaa !11
  %298 = sext i32 %297 to i64
  %299 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %298) #6
  %300 = load i32, ptr %35, align 4, !tbaa !11
  %301 = sext i32 %300 to i64
  %302 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %299, i64 noundef %301) #6
  call void @_ZNKSt3setIxSt4lessIxESaIxEE6rbeginEv(ptr dead_on_unwind writable sret(%"class.std::reverse_iterator") align 8 %36, ptr noundef nonnull align 8 dereferenceable(48) %302) #6
  br label %303

303:                                              ; preds = %407, %296
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #6
  %304 = load i32, ptr %24, align 4, !tbaa !11
  %305 = sext i32 %304 to i64
  %306 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %305) #6
  %307 = load i32, ptr %35, align 4, !tbaa !11
  %308 = sext i32 %307 to i64
  %309 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %306, i64 noundef %308) #6
  call void @_ZNKSt3setIxSt4lessIxESaIxEE4rendEv(ptr dead_on_unwind writable sret(%"class.std::reverse_iterator") align 8 %37, ptr noundef nonnull align 8 dereferenceable(48) %309) #6
  %310 = invoke noundef zeroext i1 @_ZStneISt23_Rb_tree_const_iteratorIxEEbRKSt16reverse_iteratorIT_ES6_(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(8) %37)
          to label %311 unwind label %313

311:                                              ; preds = %303
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  br i1 %310, label %317, label %312

312:                                              ; preds = %311
  store i32 24, ptr %25, align 4
  br label %412

313:                                              ; preds = %303
  %314 = landingpad { ptr, i32 }
          cleanup
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %8, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  br label %413

317:                                              ; preds = %311
  %318 = load i32, ptr %24, align 4, !tbaa !11
  %319 = add nsw i32 %318, 1
  %320 = sext i32 %319 to i64
  %321 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %320) #6
  %322 = load i32, ptr %24, align 4, !tbaa !11
  %323 = add nsw i32 %322, 1
  %324 = sext i32 %323 to i64
  %325 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %321, i64 noundef %324) #6
  %326 = call noundef i64 @_ZNKSt3setIxSt4lessIxESaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %325) #6
  %327 = load i64, ptr %5, align 8, !tbaa !8
  %328 = icmp eq i64 %326, %327
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #6
  br i1 %328, label %329, label %346

329:                                              ; preds = %317
  %330 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt16reverse_iteratorISt23_Rb_tree_const_iteratorIxEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %331 unwind label %349

331:                                              ; preds = %329
  %332 = load i64, ptr %330, align 8, !tbaa !8
  %333 = load i32, ptr %24, align 4, !tbaa !11
  %334 = add nsw i32 %333, 1
  %335 = sext i32 %334 to i64
  %336 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %335) #6
  %337 = load i32, ptr %24, align 4, !tbaa !11
  %338 = add nsw i32 %337, 1
  %339 = sext i32 %338 to i64
  %340 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %336, i64 noundef %339) #6
  %341 = call ptr @_ZNKSt3setIxSt4lessIxESaIxEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %340) #6
  %342 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %38, i32 0, i32 0
  store ptr %341, ptr %342, align 8
  %343 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIxEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %38) #6
  %344 = load i64, ptr %343, align 8, !tbaa !8
  %345 = icmp sle i64 %332, %344
  br label %346

346:                                              ; preds = %331, %317
  %347 = phi i1 [ false, %317 ], [ %345, %331 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  br i1 %347, label %348, label %353

348:                                              ; preds = %346
  store i32 24, ptr %25, align 4
  br label %412

349:                                              ; preds = %381, %363, %353, %329
  %350 = landingpad { ptr, i32 }
          cleanup
  %351 = extractvalue { ptr, i32 } %350, 0
  store ptr %351, ptr %8, align 8
  %352 = extractvalue { ptr, i32 } %350, 1
  store i32 %352, ptr %9, align 4
  br label %413

353:                                              ; preds = %346
  %354 = load i32, ptr %24, align 4, !tbaa !11
  %355 = add nsw i32 %354, 1
  %356 = sext i32 %355 to i64
  %357 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %356) #6
  %358 = load i32, ptr %24, align 4, !tbaa !11
  %359 = add nsw i32 %358, 1
  %360 = sext i32 %359 to i64
  %361 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %357, i64 noundef %360) #6
  %362 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt16reverse_iteratorISt23_Rb_tree_const_iteratorIxEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %363 unwind label %349

363:                                              ; preds = %353
  %364 = invoke { ptr, i8 } @_ZNSt3setIxSt4lessIxESaIxEE6insertERKx(ptr noundef nonnull align 8 dereferenceable(48) %361, ptr noundef nonnull align 8 dereferenceable(8) %362)
          to label %365 unwind label %349

365:                                              ; preds = %363
  %366 = getelementptr inbounds { ptr, i8 }, ptr %39, i32 0, i32 0
  %367 = extractvalue { ptr, i8 } %364, 0
  store ptr %367, ptr %366, align 8
  %368 = getelementptr inbounds { ptr, i8 }, ptr %39, i32 0, i32 1
  %369 = extractvalue { ptr, i8 } %364, 1
  store i8 %369, ptr %368, align 8
  %370 = load i32, ptr %24, align 4, !tbaa !11
  %371 = add nsw i32 %370, 1
  %372 = sext i32 %371 to i64
  %373 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %372) #6
  %374 = load i32, ptr %24, align 4, !tbaa !11
  %375 = add nsw i32 %374, 1
  %376 = sext i32 %375 to i64
  %377 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %373, i64 noundef %376) #6
  %378 = call noundef i64 @_ZNKSt3setIxSt4lessIxESaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %377) #6
  %379 = load i64, ptr %5, align 8, !tbaa !8
  %380 = icmp ugt i64 %378, %379
  br i1 %380, label %381, label %405

381:                                              ; preds = %365
  %382 = load i32, ptr %24, align 4, !tbaa !11
  %383 = add nsw i32 %382, 1
  %384 = sext i32 %383 to i64
  %385 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %384) #6
  %386 = load i32, ptr %24, align 4, !tbaa !11
  %387 = add nsw i32 %386, 1
  %388 = sext i32 %387 to i64
  %389 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %385, i64 noundef %388) #6
  %390 = load i32, ptr %24, align 4, !tbaa !11
  %391 = add nsw i32 %390, 1
  %392 = sext i32 %391 to i64
  %393 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %392) #6
  %394 = load i32, ptr %24, align 4, !tbaa !11
  %395 = add nsw i32 %394, 1
  %396 = sext i32 %395 to i64
  %397 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %393, i64 noundef %396) #6
  %398 = call ptr @_ZNKSt3setIxSt4lessIxESaIxEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %397) #6
  %399 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %40, i32 0, i32 0
  store ptr %398, ptr %399, align 8
  %400 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %40, i32 0, i32 0
  %401 = load ptr, ptr %400, align 8
  %402 = invoke ptr @_ZNSt3setIxSt4lessIxESaIxEE5eraseB5cxx11ESt23_Rb_tree_const_iteratorIxE(ptr noundef nonnull align 8 dereferenceable(48) %389, ptr %401)
          to label %403 unwind label %349

403:                                              ; preds = %381
  %404 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %41, i32 0, i32 0
  store ptr %402, ptr %404, align 8
  br label %405

405:                                              ; preds = %403, %365
  br label %406

406:                                              ; preds = %405
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #6
  invoke void @_ZNSt16reverse_iteratorISt23_Rb_tree_const_iteratorIxEEppEi(ptr dead_on_unwind writable sret(%"class.std::reverse_iterator") align 8 %42, ptr noundef nonnull align 8 dereferenceable(8) %36, i32 noundef 0)
          to label %407 unwind label %408

407:                                              ; preds = %406
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #6
  br label %303, !llvm.loop !20

408:                                              ; preds = %406
  %409 = landingpad { ptr, i32 }
          cleanup
  %410 = extractvalue { ptr, i32 } %409, 0
  store ptr %410, ptr %8, align 8
  %411 = extractvalue { ptr, i32 } %409, 1
  store i32 %411, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #6
  br label %413

412:                                              ; preds = %348, %312
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  br label %414

413:                                              ; preds = %408, %349, %313
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  br label %422

414:                                              ; preds = %412
  br label %415

415:                                              ; preds = %414
  %416 = load i32, ptr %35, align 4, !tbaa !11
  %417 = add nsw i32 %416, 1
  store i32 %417, ptr %35, align 4, !tbaa !11
  br label %287, !llvm.loop !21

418:                                              ; preds = %291
  br label %419

419:                                              ; preds = %418
  %420 = load i32, ptr %24, align 4, !tbaa !11
  %421 = add nsw i32 %420, 1
  store i32 %421, ptr %24, align 4, !tbaa !11
  br label %165, !llvm.loop !22

422:                                              ; preds = %413, %292, %264
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  br label %497

423:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 24, ptr %43) #6
  call void @_ZNSt6vectorIxSaIxEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %43) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #6
  store i32 0, ptr %44, align 4, !tbaa !11
  br label %424

424:                                              ; preds = %456, %423
  %425 = load i32, ptr %44, align 4, !tbaa !11
  %426 = sext i32 %425 to i64
  %427 = load i64, ptr %3, align 8, !tbaa !8
  %428 = icmp sle i64 %426, %427
  br i1 %428, label %430, label %429

429:                                              ; preds = %424
  store i32 27, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #6
  br label %459

430:                                              ; preds = %424
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #6
  %431 = load i64, ptr %3, align 8, !tbaa !8
  %432 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %431) #6
  %433 = load i32, ptr %44, align 4, !tbaa !11
  %434 = sext i32 %433 to i64
  %435 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %432, i64 noundef %434) #6
  store ptr %435, ptr %45, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #6
  %436 = load ptr, ptr %45, align 8, !tbaa !16
  %437 = call ptr @_ZNKSt3setIxSt4lessIxESaIxEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %436) #6
  %438 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %46, i32 0, i32 0
  store ptr %437, ptr %438, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #6
  %439 = load ptr, ptr %45, align 8, !tbaa !16
  %440 = call ptr @_ZNKSt3setIxSt4lessIxESaIxEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %439) #6
  %441 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %47, i32 0, i32 0
  store ptr %440, ptr %441, align 8
  br label %442

442:                                              ; preds = %449, %430
  %443 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIxES2_(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull align 8 dereferenceable(8) %47) #6
  br i1 %443, label %445, label %444

444:                                              ; preds = %442
  store i32 30, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #6
  br label %455

445:                                              ; preds = %442
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #6
  %446 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIxEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %46) #6
  %447 = load i64, ptr %446, align 8, !tbaa !8
  store i64 %447, ptr %48, align 8, !tbaa !8
  invoke void @_ZNSt6vectorIxSaIxEE9push_backERKx(ptr noundef nonnull align 8 dereferenceable(24) %43, ptr noundef nonnull align 8 dereferenceable(8) %48)
          to label %448 unwind label %451

448:                                              ; preds = %445
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #6
  br label %449

449:                                              ; preds = %448
  %450 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorIxEppEv(ptr noundef nonnull align 8 dereferenceable(8) %46) #6
  br label %442

451:                                              ; preds = %445
  %452 = landingpad { ptr, i32 }
          cleanup
  %453 = extractvalue { ptr, i32 } %452, 0
  store ptr %453, ptr %8, align 8
  %454 = extractvalue { ptr, i32 } %452, 1
  store i32 %454, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #6
  br label %496

455:                                              ; preds = %444
  br label %456

456:                                              ; preds = %455
  %457 = load i32, ptr %44, align 4, !tbaa !11
  %458 = add nsw i32 %457, 1
  store i32 %458, ptr %44, align 4, !tbaa !11
  br label %424, !llvm.loop !23

459:                                              ; preds = %429
  call void @_ZNSt6vectorIxSaIxEE6rbeginEv(ptr dead_on_unwind writable sret(%"class.std::reverse_iterator.13") align 8 %49, ptr noundef nonnull align 8 dereferenceable(24) %43) #6
  call void @_ZNSt6vectorIxSaIxEE4rendEv(ptr dead_on_unwind writable sret(%"class.std::reverse_iterator.13") align 8 %50, ptr noundef nonnull align 8 dereferenceable(24) %43) #6
  invoke void @_ZSt4sortISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPxSt6vectorIxSaIxEEEEEEvT_S9_(ptr noundef %49, ptr noundef %50)
          to label %460 unwind label %467

460:                                              ; preds = %459
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #6
  store i32 0, ptr %51, align 4, !tbaa !11
  br label %461

461:                                              ; preds = %488, %460
  %462 = load i32, ptr %51, align 4, !tbaa !11
  %463 = sext i32 %462 to i64
  %464 = load i64, ptr %5, align 8, !tbaa !8
  %465 = icmp slt i64 %463, %464
  br i1 %465, label %471, label %466

466:                                              ; preds = %461
  store i32 32, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #6
  br label %495

467:                                              ; preds = %459
  %468 = landingpad { ptr, i32 }
          cleanup
  %469 = extractvalue { ptr, i32 } %468, 0
  store ptr %469, ptr %8, align 8
  %470 = extractvalue { ptr, i32 } %468, 1
  store i32 %470, ptr %9, align 4
  br label %496

471:                                              ; preds = %461
  %472 = load i32, ptr %51, align 4, !tbaa !11
  %473 = sext i32 %472 to i64
  %474 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %473) #6
  %475 = load i64, ptr %474, align 8, !tbaa !8
  %476 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %475)
          to label %477 unwind label %491

477:                                              ; preds = %471
  %478 = load i32, ptr %51, align 4, !tbaa !11
  %479 = sext i32 %478 to i64
  %480 = load i64, ptr %5, align 8, !tbaa !8
  %481 = sub nsw i64 %480, 1
  %482 = icmp eq i64 %479, %481
  %483 = zext i1 %482 to i64
  %484 = getelementptr inbounds [3 x i8], ptr @.str, i64 0, i64 %483
  %485 = load i8, ptr %484, align 1, !tbaa !24
  %486 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %476, i8 noundef signext %485)
          to label %487 unwind label %491

487:                                              ; preds = %477
  br label %488

488:                                              ; preds = %487
  %489 = load i32, ptr %51, align 4, !tbaa !11
  %490 = add nsw i32 %489, 1
  store i32 %490, ptr %51, align 4, !tbaa !11
  br label %461, !llvm.loop !25

491:                                              ; preds = %477, %471
  %492 = landingpad { ptr, i32 }
          cleanup
  %493 = extractvalue { ptr, i32 } %492, 0
  store ptr %493, ptr %8, align 8
  %494 = extractvalue { ptr, i32 } %492, 1
  store i32 %494, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #6
  br label %496

495:                                              ; preds = %466
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %43) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %43) #6
  call void @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #6
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #6
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #6
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #6
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  br label %59, !llvm.loop !26

496:                                              ; preds = %491, %467, %451
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %43) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %43) #6
  br label %497

497:                                              ; preds = %496, %422, %180
  call void @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  br label %498

498:                                              ; preds = %497, %179
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #6
  br label %499

499:                                              ; preds = %498, %146, %106
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  br label %500

500:                                              ; preds = %499, %93
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #6
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  br label %501

501:                                              ; preds = %500, %89
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #6
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  br label %502

502:                                              ; preds = %501, %85
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #6
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  br label %503

503:                                              ; preds = %502, %81
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #6
  br label %506

504:                                              ; preds = %59
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #6
  %505 = load i32, ptr %1, align 4
  ret i32 %505

506:                                              ; preds = %503
  %507 = load ptr, ptr %8, align 8
  %508 = load i32, ptr %9, align 4
  %509 = insertvalue { ptr, i32 } poison, ptr %507, 0
  %510 = insertvalue { ptr, i32 } %509, i32 %508, 1
  resume { ptr, i32 } %510
}

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

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #2

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNKSt3setIxSt4lessIxESaIxEE6rbeginEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNKSt3setIxSt4lessIxESaIxEE4rendEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48)) #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt16reverse_iteratorISt23_Rb_tree_const_iteratorIxEEppEi(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIxSaIxEE6rbeginEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator.13") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIxSaIxEE4rendEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator.13") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

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

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

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

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

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

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

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

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

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


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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::vector<std::set<long long>>, std::allocator<std::vector<std::set<long long>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<std::set<long long>>, std::allocator<std::vector<std::set<long long>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<std::set<long long>>, std::allocator<std::vector<std::set<long long>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<std::set<long long>>, std::allocator<std::vector<std::set<long long>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<std::set<long long>, std::allocator<std::set<long long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::set<long long>, std::allocator<std::set<long long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::set<long long>, std::allocator<std::set<long long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::set<long long>, std::allocator<std::set<long long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.7" = type { i8 }
%"class.std::allocator.2" = type { i8 }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.std::reverse_iterator" = type { %"struct.std::_Rb_tree_const_iterator" }
%"class.std::reverse_iterator.13" = type { %"class.__gnu_cxx::__normal_iterator" }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca %"class.std::allocator", align 1
  %9 = alloca %"class.std::vector", align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca %"class.std::vector.0", align 8
  %14 = alloca %"class.std::vector.5", align 8
  %15 = alloca %"class.std::allocator.7", align 1
  %16 = alloca %"class.std::allocator.2", align 1
  %17 = alloca i64, align 8
  %18 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %19 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca %"class.std::reverse_iterator", align 8
  %23 = alloca %"class.std::reverse_iterator", align 8
  %24 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %25 = alloca %"class.std::reverse_iterator", align 8
  %26 = alloca %"class.std::vector", align 8
  %27 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %28 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %29 = alloca i64, align 8
  %30 = alloca %"class.std::reverse_iterator.13", align 8
  %31 = alloca %"class.std::reverse_iterator.13", align 8
  %32 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %33 = getelementptr i8, ptr %32, i64 -24
  %34 = load i64, ptr %33, align 8
  %35 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %34
  %36 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %35, ptr noundef null)
  %37 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %38 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %39 = load i64, ptr %1, align 8, !tbaa !8
  %40 = add nsw i64 %39, -1
  store i64 %40, ptr %1, align 8, !tbaa !8
  %.not142 = icmp eq i64 %39, 0
  br i1 %.not142, label %._crit_edge145, label %.lr.ph144

.lr.ph144:                                        ; preds = %0, %._crit_edge141
  %41 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %42 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %41, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %43 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %42, ptr noundef nonnull align 8 dereferenceable(8) %4)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #6
  %44 = load i64, ptr %2, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #6
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %44, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %45 unwind label %57

45:                                               ; preds = %.lr.ph144
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  %46 = load i64, ptr %3, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #6
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %46, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %47 unwind label %59

47:                                               ; preds = %45
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  %48 = load i64, ptr %3, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #6
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %48, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %49 unwind label %61

49:                                               ; preds = %47
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  %50 = load i64, ptr %3, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #6
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %50, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %51 unwind label %63

51:                                               ; preds = %49
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  %52 = load i64, ptr %2, align 8, !tbaa !8
  %53 = icmp sgt i64 %52, 0
  br i1 %53, label %.lr.ph, label %.preheader116

.preheader116:                                    ; preds = %67, %51
  %54 = phi i64 [ %52, %51 ], [ %68, %67 ]
  %55 = load i64, ptr %3, align 8, !tbaa !8
  %56 = icmp sgt i64 %55, 0
  br i1 %56, label %.lr.ph119, label %._crit_edge

57:                                               ; preds = %.lr.ph144
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  br label %244

59:                                               ; preds = %45
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  br label %243

61:                                               ; preds = %47
  %62 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  br label %242

63:                                               ; preds = %49
  %64 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  br label %241

.lr.ph:                                           ; preds = %51, %67
  %indvars.iv = phi i64 [ %indvars.iv.next, %67 ], [ 0, %51 ]
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv) #6
  %66 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %65)
          to label %67 unwind label %70

67:                                               ; preds = %.lr.ph
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %68 = load i64, ptr %2, align 8, !tbaa !8
  %69 = icmp sgt i64 %68, %indvars.iv.next
  br i1 %69, label %.lr.ph, label %.preheader116, !llvm.loop !11

70:                                               ; preds = %.lr.ph
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %240

._crit_edge.loopexit:                             ; preds = %82
  %.pre = load i64, ptr %2, align 8, !tbaa !8
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader116
  %72 = phi i64 [ %.pre, %._crit_edge.loopexit ], [ %54, %.preheader116 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #6
  %73 = add nsw i64 %72, 1
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #6
  call void @_ZNSaISt3setIxSt4lessIxESaIxEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  invoke void @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEC2EmRKS5_(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %73, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %93 unwind label %104

.lr.ph119:                                        ; preds = %.preheader116, %82
  %indvars.iv147 = phi i64 [ %indvars.iv.next148, %82 ], [ 0, %.preheader116 ]
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv147) #6
  %75 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %74)
          to label %76 unwind label %91

76:                                               ; preds = %.lr.ph119
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv147) #6
  %78 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %75, ptr noundef nonnull align 8 dereferenceable(8) %77)
          to label %79 unwind label %91

79:                                               ; preds = %76
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv147) #6
  %81 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %78, ptr noundef nonnull align 8 dereferenceable(8) %80)
          to label %82 unwind label %91

82:                                               ; preds = %79
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv147) #6
  %84 = load i64, ptr %83, align 8, !tbaa !8
  %85 = add nsw i64 %84, -1
  store i64 %85, ptr %83, align 8, !tbaa !8
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv147) #6
  %87 = load i64, ptr %86, align 8, !tbaa !8
  %88 = add nsw i64 %87, -1
  store i64 %88, ptr %86, align 8, !tbaa !8
  %indvars.iv.next148 = add nuw nsw i64 %indvars.iv147, 1
  %89 = load i64, ptr %3, align 8, !tbaa !8
  %90 = icmp sgt i64 %89, %indvars.iv.next148
  br i1 %90, label %.lr.ph119, label %._crit_edge.loopexit, !llvm.loop !13

91:                                               ; preds = %79, %76, %.lr.ph119
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %240

93:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #6
  call void @_ZNSaISt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  invoke void @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEC2EmRKS6_RKS7_(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %73, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %94 unwind label %106

94:                                               ; preds = %93
  call void @_ZNSt15__new_allocatorISt6vectorISt3setIxSt4lessIxESaIxEESaIS5_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  call void @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  call void @_ZNSt15__new_allocatorISt3setIxSt4lessIxESaIxEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #6
  %95 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef 0) #6
  %96 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %95, i64 noundef 0) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #6
  store i64 0, ptr %17, align 8, !tbaa !8
  %97 = invoke { ptr, i8 } @_ZNSt3setIxSt4lessIxESaIxEE6insertEOx(ptr noundef nonnull align 8 dereferenceable(48) %96, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %98 unwind label %109

98:                                               ; preds = %94
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  %99 = load i64, ptr %2, align 8, !tbaa !8
  %100 = icmp sgt i64 %99, 0
  br i1 %100, label %.preheader, label %._crit_edge130

.loopexit:                                        ; preds = %199
  %101 = load i64, ptr %2, align 8, !tbaa !8
  %102 = icmp sgt i64 %101, %indvars.iv.next166
  %indvars.iv.next164 = add nuw i64 %indvars.iv163, 1
  br i1 %102, label %.preheader, label %._crit_edge130, !llvm.loop !14

.preheader:                                       ; preds = %98, %.loopexit
  %indvars.iv165 = phi i64 [ %indvars.iv.next166, %.loopexit ], [ 0, %98 ]
  %indvars.iv163 = phi i64 [ %indvars.iv.next164, %.loopexit ], [ 1, %98 ]
  %indvars.iv.next166 = add nuw nsw i64 %indvars.iv165, 1
  br label %115

._crit_edge130:                                   ; preds = %.loopexit, %98
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %26) #6
  call void @_ZNSt6vectorIxSaIxEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #6
  %103 = load i64, ptr %2, align 8, !tbaa !8
  %.not96134 = icmp slt i64 %103, 0
  br i1 %.not96134, label %._crit_edge138, label %.lr.ph137

104:                                              ; preds = %._crit_edge
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %108

106:                                              ; preds = %93
  %107 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt6vectorISt3setIxSt4lessIxESaIxEESaIS5_EEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  call void @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #6
  br label %108

108:                                              ; preds = %106, %104
  %.pn = phi { ptr, i32 } [ %107, %106 ], [ %105, %104 ]
  call void @_ZNSt15__new_allocatorISt3setIxSt4lessIxESaIxEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #6
  br label %239

109:                                              ; preds = %94
  %110 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  br label %238

111:                                              ; preds = %._crit_edge126
  %112 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv.next166) #6
  %113 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %112, i64 noundef %indvars.iv.next166) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #6
  store i64 0, ptr %21, align 8, !tbaa !8
  %114 = invoke { ptr, i8 } @_ZNSt3setIxSt4lessIxESaIxEE6insertEOx(ptr noundef nonnull align 8 dereferenceable(48) %113, ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %151 unwind label %152

115:                                              ; preds = %.preheader, %._crit_edge126
  %indvars.iv153 = phi i64 [ 0, %.preheader ], [ %indvars.iv.next154, %._crit_edge126 ]
  %116 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv165) #6
  %117 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %116, i64 noundef %indvars.iv153) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #6
  %118 = call ptr @_ZNKSt3setIxSt4lessIxESaIxEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %117) #6
  store ptr %118, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #6
  %119 = call ptr @_ZNKSt3setIxSt4lessIxESaIxEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %117) #6
  store ptr %119, ptr %19, align 8
  %120 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIxES2_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  br i1 %120, label %.lr.ph125, label %._crit_edge126

._crit_edge126:                                   ; preds = %146, %115
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  %indvars.iv.next154 = add nuw nsw i64 %indvars.iv153, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next154, %indvars.iv163
  br i1 %exitcond.not, label %111, label %115, !llvm.loop !15

.lr.ph125:                                        ; preds = %115, %146
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  %121 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIxEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  %122 = load i64, ptr %121, align 8, !tbaa !8
  store i64 %122, ptr %20, align 8, !tbaa !8
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv165) #6
  %124 = load i64, ptr %123, align 8, !tbaa !8
  %125 = load i64, ptr %20, align 8, !tbaa !8
  %126 = add nsw i64 %125, %124
  store i64 %126, ptr %20, align 8, !tbaa !8
  %127 = load i64, ptr %3, align 8, !tbaa !8
  %128 = icmp sgt i64 %127, 0
  br i1 %128, label %.lr.ph122, label %._crit_edge123

._crit_edge123:                                   ; preds = %143, %.lr.ph125
  %129 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv.next166) #6
  %130 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %129, i64 noundef %indvars.iv153) #6
  %131 = invoke { ptr, i8 } @_ZNSt3setIxSt4lessIxESaIxEE6insertERKx(ptr noundef nonnull align 8 dereferenceable(48) %130, ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %146 unwind label %149

.lr.ph122:                                        ; preds = %.lr.ph125, %143
  %indvars.iv150 = phi i64 [ %indvars.iv.next151, %143 ], [ 0, %.lr.ph125 ]
  %132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv150) #6
  %133 = load i64, ptr %132, align 8, !tbaa !8
  %.not108 = icmp slt i64 %133, %indvars.iv153
  br i1 %.not108, label %143, label %134

134:                                              ; preds = %.lr.ph122
  %135 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv150) #6
  %136 = load i64, ptr %135, align 8, !tbaa !8
  %137 = icmp eq i64 %136, %indvars.iv165
  br i1 %137, label %138, label %143

138:                                              ; preds = %134
  %139 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv150) #6
  %140 = load i64, ptr %139, align 8, !tbaa !8
  %141 = load i64, ptr %20, align 8, !tbaa !8
  %142 = add nsw i64 %141, %140
  store i64 %142, ptr %20, align 8, !tbaa !8
  br label %143

143:                                              ; preds = %.lr.ph122, %134, %138
  %indvars.iv.next151 = add nuw nsw i64 %indvars.iv150, 1
  %144 = load i64, ptr %3, align 8, !tbaa !8
  %145 = icmp sgt i64 %144, %indvars.iv.next151
  br i1 %145, label %.lr.ph122, label %._crit_edge123, !llvm.loop !16

146:                                              ; preds = %._crit_edge123
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  %147 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorIxEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  %148 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIxES2_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  br i1 %148, label %.lr.ph125, label %._crit_edge126

149:                                              ; preds = %._crit_edge123
  %150 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  br label %238

151:                                              ; preds = %111
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  br label %154

152:                                              ; preds = %111
  %153 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  br label %238

154:                                              ; preds = %151, %199
  %indvars.iv158 = phi i64 [ 0, %151 ], [ %indvars.iv.next159, %199 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #6
  %155 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv165) #6
  %156 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %155, i64 noundef %indvars.iv158) #6
  call void @_ZNKSt3setIxSt4lessIxESaIxEE6rbeginEv(ptr dead_on_unwind nonnull writable sret(%"class.std::reverse_iterator") align 8 %22, ptr noundef nonnull align 8 dereferenceable(48) %156) #6
  br label %157

157:                                              ; preds = %198, %154
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #6
  %158 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv165) #6
  %159 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %158, i64 noundef %indvars.iv158) #6
  call void @_ZNKSt3setIxSt4lessIxESaIxEE4rendEv(ptr dead_on_unwind nonnull writable sret(%"class.std::reverse_iterator") align 8 %23, ptr noundef nonnull align 8 dereferenceable(48) %159) #6
  %160 = invoke noundef zeroext i1 @_ZStneISt23_Rb_tree_const_iteratorIxEEbRKSt16reverse_iteratorIT_ES6_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %161 unwind label %162

161:                                              ; preds = %157
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #6
  br i1 %160, label %164, label %199

162:                                              ; preds = %157
  %163 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #6
  br label %200

164:                                              ; preds = %161
  %165 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv.next166) #6
  %166 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %165, i64 noundef %indvars.iv.next166) #6
  %167 = call noundef i64 @_ZNKSt3setIxSt4lessIxESaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %166) #6
  %168 = load i64, ptr %4, align 8, !tbaa !8
  %169 = icmp eq i64 %167, %168
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #6
  br i1 %169, label %170, label %.critedge

170:                                              ; preds = %164
  %171 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt16reverse_iteratorISt23_Rb_tree_const_iteratorIxEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %22)
  %172 = load i64, ptr %171, align 8, !tbaa !8
  %173 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv.next166) #6
  %174 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %173, i64 noundef %indvars.iv.next166) #6
  %175 = call ptr @_ZNKSt3setIxSt4lessIxESaIxEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %174) #6
  store ptr %175, ptr %24, align 8
  %176 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIxEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  %177 = load i64, ptr %176, align 8, !tbaa !8
  %.not101 = icmp sgt i64 %172, %177
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #6
  br i1 %.not101, label %180, label %199

178:                                              ; preds = %191, %180
  %179 = landingpad { ptr, i32 }
          cleanup
  br label %200

.critedge:                                        ; preds = %164
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #6
  br label %180

180:                                              ; preds = %.critedge, %170
  %181 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv.next166) #6
  %182 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %181, i64 noundef %indvars.iv.next166) #6
  %183 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt16reverse_iteratorISt23_Rb_tree_const_iteratorIxEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %22)
  %184 = invoke { ptr, i8 } @_ZNSt3setIxSt4lessIxESaIxEE6insertERKx(ptr noundef nonnull align 8 dereferenceable(48) %182, ptr noundef nonnull align 8 dereferenceable(8) %183)
          to label %185 unwind label %178

185:                                              ; preds = %180
  %186 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv.next166) #6
  %187 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %186, i64 noundef %indvars.iv.next166) #6
  %188 = call noundef i64 @_ZNKSt3setIxSt4lessIxESaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %187) #6
  %189 = load i64, ptr %4, align 8, !tbaa !8
  %190 = icmp ugt i64 %188, %189
  br i1 %190, label %191, label %198

191:                                              ; preds = %185
  %192 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv.next166) #6
  %193 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %192, i64 noundef %indvars.iv.next166) #6
  %194 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv.next166) #6
  %195 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %194, i64 noundef %indvars.iv.next166) #6
  %196 = call ptr @_ZNKSt3setIxSt4lessIxESaIxEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %195) #6
  %197 = invoke ptr @_ZNSt3setIxSt4lessIxESaIxEE5eraseB5cxx11ESt23_Rb_tree_const_iteratorIxE(ptr noundef nonnull align 8 dereferenceable(48) %193, ptr %196)
          to label %198 unwind label %178

198:                                              ; preds = %191, %185
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #6
  call void @_ZNSt16reverse_iteratorISt23_Rb_tree_const_iteratorIxEEppEi(ptr dead_on_unwind nonnull writable sret(%"class.std::reverse_iterator") align 8 %25, ptr noundef nonnull align 8 dereferenceable(8) %22, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #6
  br label %157, !llvm.loop !17

199:                                              ; preds = %170, %161
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #6
  %indvars.iv.next159 = add nuw nsw i64 %indvars.iv158, 1
  %exitcond162.not = icmp eq i64 %indvars.iv.next159, %indvars.iv163
  br i1 %exitcond162.not, label %.loopexit, label %154, !llvm.loop !18

200:                                              ; preds = %178, %162
  %.pn102 = phi { ptr, i32 } [ %179, %178 ], [ %163, %162 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #6
  br label %238

._crit_edge138:                                   ; preds = %._crit_edge133, %._crit_edge130
  call void @_ZNSt6vectorIxSaIxEE6rbeginEv(ptr dead_on_unwind nonnull writable sret(%"class.std::reverse_iterator.13") align 8 %30, ptr noundef nonnull align 8 dereferenceable(24) %26) #6
  call void @_ZNSt6vectorIxSaIxEE4rendEv(ptr dead_on_unwind nonnull writable sret(%"class.std::reverse_iterator.13") align 8 %31, ptr noundef nonnull align 8 dereferenceable(24) %26) #6
  invoke void @_ZSt4sortISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPxSt6vectorIxSaIxEEEEEEvT_S9_(ptr noundef nonnull %30, ptr noundef nonnull %31)
          to label %.preheader115 unwind label %219

.preheader115:                                    ; preds = %._crit_edge138
  %201 = load i64, ptr %4, align 8, !tbaa !8
  %202 = icmp sgt i64 %201, 0
  br i1 %202, label %.lr.ph140, label %._crit_edge141

.lr.ph137:                                        ; preds = %._crit_edge130, %._crit_edge133
  %indvars.iv170 = phi i64 [ %indvars.iv.next171, %._crit_edge133 ], [ 0, %._crit_edge130 ]
  %203 = phi i64 [ %209, %._crit_edge133 ], [ %103, %._crit_edge130 ]
  %204 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %203) #6
  %205 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorISt3setIxSt4lessIxESaIxEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %204, i64 noundef %indvars.iv170) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #6
  %206 = call ptr @_ZNKSt3setIxSt4lessIxESaIxEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %205) #6
  store ptr %206, ptr %27, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #6
  %207 = call ptr @_ZNKSt3setIxSt4lessIxESaIxEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %205) #6
  store ptr %207, ptr %28, align 8
  %208 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIxES2_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #6
  br i1 %208, label %.lr.ph132, label %._crit_edge133

._crit_edge133:                                   ; preds = %212, %.lr.ph137
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #6
  %indvars.iv.next171 = add nuw nsw i64 %indvars.iv170, 1
  %209 = load i64, ptr %2, align 8, !tbaa !8
  %.not96.not = icmp sgt i64 %209, %indvars.iv170
  br i1 %.not96.not, label %.lr.ph137, label %._crit_edge138, !llvm.loop !19

.lr.ph132:                                        ; preds = %.lr.ph137, %212
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #6
  %210 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt23_Rb_tree_const_iteratorIxEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #6
  %211 = load i64, ptr %210, align 8, !tbaa !8
  store i64 %211, ptr %29, align 8, !tbaa !8
  invoke void @_ZNSt6vectorIxSaIxEE9push_backERKx(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(8) %29)
          to label %212 unwind label %215

212:                                              ; preds = %.lr.ph132
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #6
  %213 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorIxEppEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #6
  %214 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIxES2_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #6
  br i1 %214, label %.lr.ph132, label %._crit_edge133

215:                                              ; preds = %.lr.ph132
  %216 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #6
  br label %237

._crit_edge141:                                   ; preds = %232, %.preheader115
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %26) #6
  call void @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  %217 = load i64, ptr %1, align 8, !tbaa !8
  %218 = add nsw i64 %217, -1
  store i64 %218, ptr %1, align 8, !tbaa !8
  %.not = icmp eq i64 %217, 0
  br i1 %.not, label %._crit_edge145, label %.lr.ph144, !llvm.loop !20

219:                                              ; preds = %._crit_edge138
  %220 = landingpad { ptr, i32 }
          cleanup
  br label %237

.lr.ph140:                                        ; preds = %.preheader115, %232
  %indvars.iv173 = phi i64 [ %indvars.iv.next174, %232 ], [ 0, %.preheader115 ]
  %221 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %indvars.iv173) #6
  %222 = load i64, ptr %221, align 8, !tbaa !8
  %223 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %222)
          to label %224 unwind label %235

224:                                              ; preds = %.lr.ph140
  %225 = load i64, ptr %4, align 8, !tbaa !8
  %226 = add nsw i64 %225, -1
  %227 = icmp eq i64 %226, %indvars.iv173
  %228 = zext i1 %227 to i64
  %229 = getelementptr inbounds [3 x i8], ptr @.str, i64 0, i64 %228
  %230 = load i8, ptr %229, align 1, !tbaa !21
  %231 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %223, i8 noundef signext %230)
          to label %232 unwind label %235

232:                                              ; preds = %224
  %indvars.iv.next174 = add nuw nsw i64 %indvars.iv173, 1
  %233 = load i64, ptr %4, align 8, !tbaa !8
  %234 = icmp sgt i64 %233, %indvars.iv.next174
  br i1 %234, label %.lr.ph140, label %._crit_edge141, !llvm.loop !22

235:                                              ; preds = %224, %.lr.ph140
  %236 = landingpad { ptr, i32 }
          cleanup
  br label %237

237:                                              ; preds = %235, %219, %215
  %.pn97 = phi { ptr, i32 } [ %216, %215 ], [ %236, %235 ], [ %220, %219 ]
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %26) #6
  br label %238

238:                                              ; preds = %149, %152, %200, %237, %109
  %.pn104.pn = phi { ptr, i32 } [ %.pn97, %237 ], [ %110, %109 ], [ %150, %149 ], [ %.pn102, %200 ], [ %153, %152 ]
  call void @_ZNSt6vectorIS_ISt3setIxSt4lessIxESaIxEESaIS4_EESaIS6_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  br label %239

239:                                              ; preds = %238, %108
  %.pn104.pn.pn = phi { ptr, i32 } [ %.pn104.pn, %238 ], [ %.pn, %108 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  br label %240

240:                                              ; preds = %239, %91, %70
  %.pn109 = phi { ptr, i32 } [ %71, %70 ], [ %92, %91 ], [ %.pn104.pn.pn, %239 ]
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  br label %241

241:                                              ; preds = %240, %63
  %.pn109.pn = phi { ptr, i32 } [ %.pn109, %240 ], [ %64, %63 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  br label %242

242:                                              ; preds = %241, %61
  %.pn109.pn.pn = phi { ptr, i32 } [ %.pn109.pn, %241 ], [ %62, %61 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  br label %243

243:                                              ; preds = %242, %59
  %.pn109.pn.pn.pn = phi { ptr, i32 } [ %.pn109.pn.pn, %242 ], [ %60, %59 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  br label %244

244:                                              ; preds = %243, %57
  %.pn109.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn109.pn.pn.pn, %243 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn109.pn.pn.pn.pn

._crit_edge145:                                   ; preds = %._crit_edge141, %0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #6
  ret i32 0
}

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

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNKSt3setIxSt4lessIxESaIxEE6rbeginEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNKSt3setIxSt4lessIxESaIxEE4rendEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt16reverse_iteratorISt23_Rb_tree_const_iteratorIxEEppEi(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIxSaIxEE6rbeginEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator.13") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIxSaIxEE4rendEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator.13") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

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


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