; LLVM IR from xirc/cp-algorithm :: atcoder/abc197/E/main.ll (Z5solvev)

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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.5" = type { ptr }

@N = external dso_local global i32, align 4
@X = external dso_local global %"class.std::vector", align 8
@C = external dso_local global %"class.std::vector", align 8
@.str = external hidden unnamed_addr constant [23 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [77 x i8], align 1
@__PRETTY_FUNCTION__._Z5solvev = external hidden unnamed_addr constant [11 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_Z5solvev() #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::vector", align 8
  %2 = alloca %"class.std::unordered_map", align 8
  %3 = alloca %"class.std::unordered_map", align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i32, align 4
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  %31 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %1) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  call void @llvm.lifetime.start.p0(i64 56, ptr %2) #6
  call void @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %2) #6
  call void @llvm.lifetime.start.p0(i64 56, ptr %3) #6
  call void @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %32

32:                                               ; preds = %128, %0
  %33 = load i32, ptr %4, align 4, !tbaa !5
  %34 = load i32, ptr @N, align 4, !tbaa !5
  %35 = icmp slt i32 %33, %34
  br i1 %35, label %37, label %36

36:                                               ; preds = %32
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  br label %132

37:                                               ; preds = %32
  %38 = load i32, ptr %4, align 4, !tbaa !5
  %39 = sext i32 %38 to i64
  %40 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @C, i64 noundef %39) #6
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(4) %40)
          to label %41 unwind label %59

41:                                               ; preds = %37
  %42 = load i32, ptr %4, align 4, !tbaa !5
  %43 = sext i32 %42 to i64
  %44 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @C, i64 noundef %43) #6
  %45 = invoke noundef i64 @_ZNKSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %44)
          to label %46 unwind label %59

46:                                               ; preds = %41
  %47 = icmp eq i64 %45, 0
  br i1 %47, label %48, label %63

48:                                               ; preds = %46
  %49 = load i32, ptr %4, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @X, i64 noundef %50) #6
  %52 = load i32, ptr %51, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  %54 = load i32, ptr %4, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @C, i64 noundef %55) #6
  %57 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %56)
          to label %58 unwind label %59

58:                                               ; preds = %48
  store i64 %53, ptr %57, align 8, !tbaa !9
  br label %86

59:                                               ; preds = %104, %93, %86, %63, %48, %41, %37
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %5, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %6, align 4
  br label %131

63:                                               ; preds = %46
  %64 = load i32, ptr %4, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %66 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @C, i64 noundef %65) #6
  %67 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %66)
          to label %68 unwind label %59

68:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %69 = load i32, ptr %4, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @X, i64 noundef %70) #6
  %72 = load i32, ptr %71, align 4, !tbaa !5
  %73 = sext i32 %72 to i64
  store i64 %73, ptr %7, align 8, !tbaa !9
  %74 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %67, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %75 unwind label %82

75:                                               ; preds = %68
  %76 = load i64, ptr %74, align 8, !tbaa !9
  %77 = load i32, ptr %4, align 4, !tbaa !5
  %78 = sext i32 %77 to i64
  %79 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @C, i64 noundef %78) #6
  %80 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %79)
          to label %81 unwind label %82

81:                                               ; preds = %75
  store i64 %76, ptr %80, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %86

82:                                               ; preds = %75, %68
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %5, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %131

86:                                               ; preds = %81, %58
  %87 = load i32, ptr %4, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @C, i64 noundef %88) #6
  %90 = invoke noundef i64 @_ZNKSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %89)
          to label %91 unwind label %59

91:                                               ; preds = %86
  %92 = icmp eq i64 %90, 0
  br i1 %92, label %93, label %104

93:                                               ; preds = %91
  %94 = load i32, ptr %4, align 4, !tbaa !5
  %95 = sext i32 %94 to i64
  %96 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @X, i64 noundef %95) #6
  %97 = load i32, ptr %96, align 4, !tbaa !5
  %98 = sext i32 %97 to i64
  %99 = load i32, ptr %4, align 4, !tbaa !5
  %100 = sext i32 %99 to i64
  %101 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @C, i64 noundef %100) #6
  %102 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %101)
          to label %103 unwind label %59

103:                                              ; preds = %93
  store i64 %98, ptr %102, align 8, !tbaa !9
  br label %127

104:                                              ; preds = %91
  %105 = load i32, ptr %4, align 4, !tbaa !5
  %106 = sext i32 %105 to i64
  %107 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @C, i64 noundef %106) #6
  %108 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %107)
          to label %109 unwind label %59

109:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %110 = load i32, ptr %4, align 4, !tbaa !5
  %111 = sext i32 %110 to i64
  %112 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @X, i64 noundef %111) #6
  %113 = load i32, ptr %112, align 4, !tbaa !5
  %114 = sext i32 %113 to i64
  store i64 %114, ptr %8, align 8, !tbaa !9
  %115 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %108, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %116 unwind label %123

116:                                              ; preds = %109
  %117 = load i64, ptr %115, align 8, !tbaa !9
  %118 = load i32, ptr %4, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %120 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @C, i64 noundef %119) #6
  %121 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %120)
          to label %122 unwind label %123

122:                                              ; preds = %116
  store i64 %117, ptr %121, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %127

123:                                              ; preds = %116, %109
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %5, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %131

127:                                              ; preds = %122, %103
  br label %128

128:                                              ; preds = %127
  %129 = load i32, ptr %4, align 4, !tbaa !5
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr %4, align 4, !tbaa !5
  br label %32, !llvm.loop !11

131:                                              ; preds = %123, %82, %59
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  br label %402

132:                                              ; preds = %36
  %133 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %134 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %9, i32 0, i32 0
  store ptr %133, ptr %134, align 8
  %135 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %136 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %10, i32 0, i32 0
  store ptr %135, ptr %136, align 8
  %137 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %9, i32 0, i32 0
  %138 = load ptr, ptr %137, align 8
  %139 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %10, i32 0, i32 0
  %140 = load ptr, ptr %139, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_(ptr %138, ptr %140)
          to label %141 unwind label %167

141:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %142 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %143 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %142, ptr %143, align 8
  %144 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %145 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  store ptr %144, ptr %145, align 8
  %146 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  %147 = load ptr, ptr %146, align 8
  %148 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  %149 = load ptr, ptr %148, align 8
  %150 = invoke ptr @_ZSt6uniqueIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEET_S7_S7_(ptr %147, ptr %149)
          to label %151 unwind label %171

151:                                              ; preds = %141
  %152 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  store ptr %150, ptr %152, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %153 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %154 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %153, ptr %154, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  %155 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %11, i32 0, i32 0
  %156 = load ptr, ptr %155, align 8
  %157 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %15, i32 0, i32 0
  %158 = load ptr, ptr %157, align 8
  %159 = invoke ptr @_ZNSt6vectorIiSaIiEE5eraseEN9__gnu_cxx17__normal_iteratorIPKiS1_EES6_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr %156, ptr %158)
          to label %160 unwind label %175

160:                                              ; preds = %151
  %161 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %159, ptr %161, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  %162 = call noundef i64 @_ZNKSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %2) #6
  %163 = call noundef i64 @_ZNKSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %3) #6
  %164 = icmp eq i64 %162, %163
  br i1 %164, label %165, label %166

165:                                              ; preds = %160
  br label %181

166:                                              ; preds = %160
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.3, i32 noundef 29, ptr noundef @__PRETTY_FUNCTION__._Z5solvev) #7
  unreachable

167:                                              ; preds = %132
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %5, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %6, align 4
  br label %402

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

175:                                              ; preds = %151
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %5, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %179

179:                                              ; preds = %175, %171
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %402

180:                                              ; No predecessors!
  br label %181

181:                                              ; preds = %180, %165
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  %182 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %183 = trunc i64 %182 to i32
  store i32 %183, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %184 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #6
  %185 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %184)
          to label %186 unwind label %225

186:                                              ; preds = %181
  %187 = load i64, ptr %185, align 8, !tbaa !9
  %188 = invoke noundef i64 @_ZSt3absl(i64 noundef %187)
          to label %189 unwind label %225

189:                                              ; preds = %186
  %190 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #6
  %191 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %190)
          to label %192 unwind label %225

192:                                              ; preds = %189
  %193 = load i64, ptr %191, align 8, !tbaa !9
  %194 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #6
  %195 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %194)
          to label %196 unwind label %225

196:                                              ; preds = %192
  %197 = load i64, ptr %195, align 8, !tbaa !9
  %198 = sub nsw i64 %193, %197
  %199 = invoke noundef i64 @_ZSt3absl(i64 noundef %198)
          to label %200 unwind label %225

200:                                              ; preds = %196
  %201 = add nsw i64 %188, %199
  store i64 %201, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %202 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #6
  %203 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %202)
          to label %204 unwind label %229

204:                                              ; preds = %200
  %205 = load i64, ptr %203, align 8, !tbaa !9
  %206 = invoke noundef i64 @_ZSt3absl(i64 noundef %205)
          to label %207 unwind label %229

207:                                              ; preds = %204
  %208 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #6
  %209 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %208)
          to label %210 unwind label %229

210:                                              ; preds = %207
  %211 = load i64, ptr %209, align 8, !tbaa !9
  %212 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #6
  %213 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %212)
          to label %214 unwind label %229

214:                                              ; preds = %210
  %215 = load i64, ptr %213, align 8, !tbaa !9
  %216 = sub nsw i64 %211, %215
  %217 = invoke noundef i64 @_ZSt3absl(i64 noundef %216)
          to label %218 unwind label %229

218:                                              ; preds = %214
  %219 = add nsw i64 %206, %217
  store i64 %219, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 1, ptr %21, align 4, !tbaa !5
  br label %220

220:                                              ; preds = %337, %218
  %221 = load i32, ptr %21, align 4, !tbaa !5
  %222 = load i32, ptr %18, align 4, !tbaa !5
  %223 = icmp slt i32 %221, %222
  br i1 %223, label %233, label %224

224:                                              ; preds = %220
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %364

225:                                              ; preds = %196, %192, %189, %186, %181
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %5, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %6, align 4
  br label %401

229:                                              ; preds = %214, %210, %207, %204, %200
  %230 = landingpad { ptr, i32 }
          cleanup
  %231 = extractvalue { ptr, i32 } %230, 0
  store ptr %231, ptr %5, align 8
  %232 = extractvalue { ptr, i32 } %230, 1
  store i32 %232, ptr %6, align 4
  br label %400

233:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %234 = load i32, ptr %21, align 4, !tbaa !5
  %235 = sext i32 %234 to i64
  %236 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %235) #6
  %237 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %236)
          to label %238 unwind label %340

238:                                              ; preds = %233
  %239 = load i64, ptr %237, align 8, !tbaa !9
  %240 = load i32, ptr %21, align 4, !tbaa !5
  %241 = sext i32 %240 to i64
  %242 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %241) #6
  %243 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %242)
          to label %244 unwind label %340

244:                                              ; preds = %238
  %245 = load i64, ptr %243, align 8, !tbaa !9
  %246 = sub nsw i64 %239, %245
  %247 = invoke noundef i64 @_ZSt3absl(i64 noundef %246)
          to label %248 unwind label %340

248:                                              ; preds = %244
  store i64 %247, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %249 = load i64, ptr %19, align 8, !tbaa !9
  %250 = load i32, ptr %21, align 4, !tbaa !5
  %251 = sub nsw i32 %250, 1
  %252 = sext i32 %251 to i64
  %253 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %252) #6
  %254 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %253)
          to label %255 unwind label %344

255:                                              ; preds = %248
  %256 = load i64, ptr %254, align 8, !tbaa !9
  %257 = load i32, ptr %21, align 4, !tbaa !5
  %258 = sext i32 %257 to i64
  %259 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %258) #6
  %260 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %259)
          to label %261 unwind label %344

261:                                              ; preds = %255
  %262 = load i64, ptr %260, align 8, !tbaa !9
  %263 = sub nsw i64 %256, %262
  %264 = invoke noundef i64 @_ZSt3absl(i64 noundef %263)
          to label %265 unwind label %344

265:                                              ; preds = %261
  %266 = add nsw i64 %249, %264
  %267 = load i64, ptr %22, align 8, !tbaa !9
  %268 = add nsw i64 %266, %267
  store i64 %268, ptr %24, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %269 = load i64, ptr %20, align 8, !tbaa !9
  %270 = load i32, ptr %21, align 4, !tbaa !5
  %271 = sub nsw i32 %270, 1
  %272 = sext i32 %271 to i64
  %273 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %272) #6
  %274 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %273)
          to label %275 unwind label %348

275:                                              ; preds = %265
  %276 = load i64, ptr %274, align 8, !tbaa !9
  %277 = load i32, ptr %21, align 4, !tbaa !5
  %278 = sext i32 %277 to i64
  %279 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %278) #6
  %280 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %279)
          to label %281 unwind label %348

281:                                              ; preds = %275
  %282 = load i64, ptr %280, align 8, !tbaa !9
  %283 = sub nsw i64 %276, %282
  %284 = invoke noundef i64 @_ZSt3absl(i64 noundef %283)
          to label %285 unwind label %348

285:                                              ; preds = %281
  %286 = add nsw i64 %269, %284
  %287 = load i64, ptr %22, align 8, !tbaa !9
  %288 = add nsw i64 %286, %287
  store i64 %288, ptr %25, align 8, !tbaa !9
  %289 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %290 unwind label %348

290:                                              ; preds = %285
  %291 = load i64, ptr %289, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  store i64 %291, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %292 = load i64, ptr %19, align 8, !tbaa !9
  %293 = load i32, ptr %21, align 4, !tbaa !5
  %294 = sub nsw i32 %293, 1
  %295 = sext i32 %294 to i64
  %296 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %295) #6
  %297 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %296)
          to label %298 unwind label %353

298:                                              ; preds = %290
  %299 = load i64, ptr %297, align 8, !tbaa !9
  %300 = load i32, ptr %21, align 4, !tbaa !5
  %301 = sext i32 %300 to i64
  %302 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %301) #6
  %303 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %302)
          to label %304 unwind label %353

304:                                              ; preds = %298
  %305 = load i64, ptr %303, align 8, !tbaa !9
  %306 = sub nsw i64 %299, %305
  %307 = invoke noundef i64 @_ZSt3absl(i64 noundef %306)
          to label %308 unwind label %353

308:                                              ; preds = %304
  %309 = add nsw i64 %292, %307
  %310 = load i64, ptr %22, align 8, !tbaa !9
  %311 = add nsw i64 %309, %310
  store i64 %311, ptr %27, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %312 = load i64, ptr %20, align 8, !tbaa !9
  %313 = load i32, ptr %21, align 4, !tbaa !5
  %314 = sub nsw i32 %313, 1
  %315 = sext i32 %314 to i64
  %316 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %315) #6
  %317 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %316)
          to label %318 unwind label %357

318:                                              ; preds = %308
  %319 = load i64, ptr %317, align 8, !tbaa !9
  %320 = load i32, ptr %21, align 4, !tbaa !5
  %321 = sext i32 %320 to i64
  %322 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %321) #6
  %323 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %322)
          to label %324 unwind label %357

324:                                              ; preds = %318
  %325 = load i64, ptr %323, align 8, !tbaa !9
  %326 = sub nsw i64 %319, %325
  %327 = invoke noundef i64 @_ZSt3absl(i64 noundef %326)
          to label %328 unwind label %357

328:                                              ; preds = %324
  %329 = add nsw i64 %312, %327
  %330 = load i64, ptr %22, align 8, !tbaa !9
  %331 = add nsw i64 %329, %330
  store i64 %331, ptr %28, align 8, !tbaa !9
  %332 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %333 unwind label %357

333:                                              ; preds = %328
  %334 = load i64, ptr %332, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  store i64 %334, ptr %26, align 8, !tbaa !9
  %335 = load i64, ptr %23, align 8, !tbaa !9
  store i64 %335, ptr %19, align 8, !tbaa !9
  %336 = load i64, ptr %26, align 8, !tbaa !9
  store i64 %336, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  br label %337

337:                                              ; preds = %333
  %338 = load i32, ptr %21, align 4, !tbaa !5
  %339 = add nsw i32 %338, 1
  store i32 %339, ptr %21, align 4, !tbaa !5
  br label %220, !llvm.loop !13

340:                                              ; preds = %244, %238, %233
  %341 = landingpad { ptr, i32 }
          cleanup
  %342 = extractvalue { ptr, i32 } %341, 0
  store ptr %342, ptr %5, align 8
  %343 = extractvalue { ptr, i32 } %341, 1
  store i32 %343, ptr %6, align 4
  br label %363

344:                                              ; preds = %261, %255, %248
  %345 = landingpad { ptr, i32 }
          cleanup
  %346 = extractvalue { ptr, i32 } %345, 0
  store ptr %346, ptr %5, align 8
  %347 = extractvalue { ptr, i32 } %345, 1
  store i32 %347, ptr %6, align 4
  br label %352

348:                                              ; preds = %285, %281, %275, %265
  %349 = landingpad { ptr, i32 }
          cleanup
  %350 = extractvalue { ptr, i32 } %349, 0
  store ptr %350, ptr %5, align 8
  %351 = extractvalue { ptr, i32 } %349, 1
  store i32 %351, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  br label %352

352:                                              ; preds = %348, %344
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %362

353:                                              ; preds = %304, %298, %290
  %354 = landingpad { ptr, i32 }
          cleanup
  %355 = extractvalue { ptr, i32 } %354, 0
  store ptr %355, ptr %5, align 8
  %356 = extractvalue { ptr, i32 } %354, 1
  store i32 %356, ptr %6, align 4
  br label %361

357:                                              ; preds = %328, %324, %318, %308
  %358 = landingpad { ptr, i32 }
          cleanup
  %359 = extractvalue { ptr, i32 } %358, 0
  store ptr %359, ptr %5, align 8
  %360 = extractvalue { ptr, i32 } %358, 1
  store i32 %360, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  br label %361

361:                                              ; preds = %357, %353
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %362

362:                                              ; preds = %361, %352
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %363

363:                                              ; preds = %362, %340
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %400

364:                                              ; preds = %224
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %365 = load i64, ptr %19, align 8, !tbaa !9
  %366 = load i32, ptr %18, align 4, !tbaa !5
  %367 = sub nsw i32 %366, 1
  %368 = sext i32 %367 to i64
  %369 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %368) #6
  %370 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %369)
          to label %371 unwind label %391

371:                                              ; preds = %364
  %372 = load i64, ptr %370, align 8, !tbaa !9
  %373 = invoke noundef i64 @_ZSt3absl(i64 noundef %372)
          to label %374 unwind label %391

374:                                              ; preds = %371
  %375 = add nsw i64 %365, %373
  store i64 %375, ptr %30, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %376 = load i64, ptr %20, align 8, !tbaa !9
  %377 = load i32, ptr %18, align 4, !tbaa !5
  %378 = sub nsw i32 %377, 1
  %379 = sext i32 %378 to i64
  %380 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %379) #6
  %381 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %380)
          to label %382 unwind label %395

382:                                              ; preds = %374
  %383 = load i64, ptr %381, align 8, !tbaa !9
  %384 = invoke noundef i64 @_ZSt3absl(i64 noundef %383)
          to label %385 unwind label %395

385:                                              ; preds = %382
  %386 = add nsw i64 %376, %384
  store i64 %386, ptr %31, align 8, !tbaa !9
  %387 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %388 unwind label %395

388:                                              ; preds = %385
  %389 = load i64, ptr %387, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  store i64 %389, ptr %29, align 8, !tbaa !9
  %390 = load i64, ptr %29, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %3) #6
  call void @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %2) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %2) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %1) #6
  ret i64 %390

391:                                              ; preds = %371, %364
  %392 = landingpad { ptr, i32 }
          cleanup
  %393 = extractvalue { ptr, i32 } %392, 0
  store ptr %393, ptr %5, align 8
  %394 = extractvalue { ptr, i32 } %392, 1
  store i32 %394, ptr %6, align 4
  br label %399

395:                                              ; preds = %385, %382, %374
  %396 = landingpad { ptr, i32 }
          cleanup
  %397 = extractvalue { ptr, i32 } %396, 0
  store ptr %397, ptr %5, align 8
  %398 = extractvalue { ptr, i32 } %396, 1
  store i32 %398, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  br label %399

399:                                              ; preds = %395, %391
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  br label %400

400:                                              ; preds = %399, %363, %229
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %401

401:                                              ; preds = %400, %225
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %402

402:                                              ; preds = %401, %179, %167, %131
  call void @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %3) #6
  call void @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %2) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %2) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %1) #6
  br label %403

403:                                              ; preds = %402
  %404 = load ptr, ptr %5, align 8
  %405 = load i32, ptr %6, align 4
  %406 = insertvalue { ptr, i32 } poison, ptr %404, 0
  %407 = insertvalue { ptr, i32 } %406, i32 %405, 1
  resume { ptr, i32 } %407
}

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56)) #0 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #5

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZSt3absl(i64 noundef) #3

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

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

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

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


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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.__gnu_cxx::__normal_iterator.5" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@N = external dso_local local_unnamed_addr global i32, align 4
@X = external dso_local global %"class.std::vector", align 8
@C = external dso_local global %"class.std::vector", align 8
@.str = external hidden unnamed_addr constant [23 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [77 x i8], align 1
@__PRETTY_FUNCTION__._Z5solvev = external hidden unnamed_addr constant [11 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_Z5solvev() local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::vector", align 8
  %2 = alloca %"class.std::unordered_map", align 8
  %3 = alloca %"class.std::unordered_map", align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %2) #6
  call void @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %2) #6
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %3) #6
  call void @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #6
  %16 = load i32, ptr @N, align 4, !tbaa !5
  %17 = icmp sgt i32 %16, 0
  br i1 %17, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %75, %0
  %18 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %19 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_(ptr %18, ptr %19)
          to label %79 unwind label %93

.lr.ph:                                           ; preds = %0, %75
  %indvars.iv = phi i64 [ %indvars.iv.next, %75 ], [ 0, %0 ]
  %20 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @C, i64 noundef %indvars.iv) #6
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %21 unwind label %33

21:                                               ; preds = %.lr.ph
  %22 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @C, i64 noundef %indvars.iv) #6
  %23 = invoke noundef i64 @_ZNKSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %24 unwind label %33

24:                                               ; preds = %21
  %25 = icmp eq i64 %23, 0
  br i1 %25, label %26, label %35

26:                                               ; preds = %24
  %27 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @X, i64 noundef %indvars.iv) #6
  %28 = load i32, ptr %27, align 4, !tbaa !5
  %29 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @C, i64 noundef %indvars.iv) #6
  %30 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %29)
          to label %31 unwind label %33

31:                                               ; preds = %26
  %32 = sext i32 %28 to i64
  store i64 %32, ptr %30, align 8, !tbaa !9
  br label %49

33:                                               ; preds = %61, %54, %49, %35, %26, %21, %.lr.ph
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %234

35:                                               ; preds = %24
  %36 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @C, i64 noundef %indvars.iv) #6
  %37 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %36)
          to label %38 unwind label %33

38:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %39 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @X, i64 noundef %indvars.iv) #6
  %40 = load i32, ptr %39, align 4, !tbaa !5
  %41 = sext i32 %40 to i64
  store i64 %41, ptr %4, align 8, !tbaa !9
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %43 = load i64, ptr %42, align 8, !tbaa !9
  %44 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @C, i64 noundef %indvars.iv) #6
  %45 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %44)
          to label %46 unwind label %47

46:                                               ; preds = %38
  store i64 %43, ptr %45, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  br label %49

47:                                               ; preds = %38
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  br label %234

49:                                               ; preds = %46, %31
  %50 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @C, i64 noundef %indvars.iv) #6
  %51 = invoke noundef i64 @_ZNKSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %50)
          to label %52 unwind label %33

52:                                               ; preds = %49
  %53 = icmp eq i64 %51, 0
  br i1 %53, label %54, label %61

54:                                               ; preds = %52
  %55 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @X, i64 noundef %indvars.iv) #6
  %56 = load i32, ptr %55, align 4, !tbaa !5
  %57 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @C, i64 noundef %indvars.iv) #6
  %58 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %57)
          to label %59 unwind label %33

59:                                               ; preds = %54
  %60 = sext i32 %56 to i64
  store i64 %60, ptr %58, align 8, !tbaa !9
  br label %75

61:                                               ; preds = %52
  %62 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @C, i64 noundef %indvars.iv) #6
  %63 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %62)
          to label %64 unwind label %33

64:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %65 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @X, i64 noundef %indvars.iv) #6
  %66 = load i32, ptr %65, align 4, !tbaa !5
  %67 = sext i32 %66 to i64
  store i64 %67, ptr %5, align 8, !tbaa !9
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %63, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %69 = load i64, ptr %68, align 8, !tbaa !9
  %70 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @C, i64 noundef %indvars.iv) #6
  %71 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %70)
          to label %72 unwind label %73

72:                                               ; preds = %64
  store i64 %69, ptr %71, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br label %75

73:                                               ; preds = %64
  %74 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br label %234

75:                                               ; preds = %59, %72
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %76 = load i32, ptr @N, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  %78 = icmp slt i64 %indvars.iv.next, %77
  br i1 %78, label %.lr.ph, label %._crit_edge, !llvm.loop !11

79:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %80 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %81 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %82 = invoke ptr @_ZSt6uniqueIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEET_S7_S7_(ptr %80, ptr %81)
          to label %83 unwind label %95

83:                                               ; preds = %79
  store ptr %82, ptr %7, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %84 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  store ptr %84, ptr %9, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  %85 = load ptr, ptr %6, align 8
  %86 = load ptr, ptr %8, align 8
  %87 = invoke ptr @_ZNSt6vectorIiSaIiEE5eraseEN9__gnu_cxx17__normal_iteratorIPKiS1_EES6_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr %85, ptr %86)
          to label %88 unwind label %97

88:                                               ; preds = %83
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  %89 = call noundef i64 @_ZNKSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %2) #6
  %90 = call noundef i64 @_ZNKSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %3) #6
  %91 = icmp eq i64 %89, %90
  br i1 %91, label %100, label %92

92:                                               ; preds = %88
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.3, i32 noundef 29, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5solvev) #7
  unreachable

93:                                               ; preds = %._crit_edge
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %234

95:                                               ; preds = %79
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %99

97:                                               ; preds = %83
  %98 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  br label %99

99:                                               ; preds = %97, %95
  %.pn = phi { ptr, i32 } [ %98, %97 ], [ %96, %95 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  br label %234

100:                                              ; preds = %88
  %101 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %102 = trunc i64 %101 to i32
  %103 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #6
  %104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %103)
          to label %105 unwind label %140

105:                                              ; preds = %100
  %106 = load i64, ptr %104, align 8, !tbaa !9
  %107 = call noundef i64 @_ZSt3absl(i64 noundef %106)
  %108 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #6
  %109 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %108)
          to label %110 unwind label %140

110:                                              ; preds = %105
  %111 = load i64, ptr %109, align 8, !tbaa !9
  %112 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #6
  %113 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %112)
          to label %114 unwind label %140

114:                                              ; preds = %110
  %115 = load i64, ptr %113, align 8, !tbaa !9
  %116 = sub nsw i64 %111, %115
  %117 = call noundef i64 @_ZSt3absl(i64 noundef %116)
  %118 = add nsw i64 %117, %107
  %119 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #6
  %120 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %119)
          to label %121 unwind label %142

121:                                              ; preds = %114
  %122 = load i64, ptr %120, align 8, !tbaa !9
  %123 = call noundef i64 @_ZSt3absl(i64 noundef %122)
  %124 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #6
  %125 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %124)
          to label %126 unwind label %142

126:                                              ; preds = %121
  %127 = load i64, ptr %125, align 8, !tbaa !9
  %128 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #6
  %129 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %128)
          to label %130 unwind label %142

130:                                              ; preds = %126
  %131 = load i64, ptr %129, align 8, !tbaa !9
  %132 = sub nsw i64 %127, %131
  %133 = call noundef i64 @_ZSt3absl(i64 noundef %132)
  %134 = add nsw i64 %133, %123
  %135 = icmp sgt i32 %102, 1
  br i1 %135, label %.lr.ph92.preheader, label %._crit_edge93

.lr.ph92.preheader:                               ; preds = %130
  %wide.trip.count = and i64 %101, 2147483647
  br label %.lr.ph92

._crit_edge93:                                    ; preds = %198, %130
  %.061.lcssa = phi i64 [ %134, %130 ], [ %204, %198 ]
  %.059.lcssa = phi i64 [ %118, %130 ], [ %180, %198 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %136 = shl i64 %101, 32
  %sext = add i64 %136, -4294967296
  %137 = ashr exact i64 %sext, 32
  %138 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %137) #6
  %139 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %138)
          to label %217 unwind label %229

140:                                              ; preds = %110, %105, %100
  %141 = landingpad { ptr, i32 }
          cleanup
  br label %234

142:                                              ; preds = %126, %121, %114
  %143 = landingpad { ptr, i32 }
          cleanup
  br label %234

.lr.ph92:                                         ; preds = %.lr.ph92.preheader, %198
  %indvars.iv99 = phi i64 [ 1, %.lr.ph92.preheader ], [ %indvars.iv.next100, %198 ]
  %.05990 = phi i64 [ %118, %.lr.ph92.preheader ], [ %180, %198 ]
  %.06188 = phi i64 [ %134, %.lr.ph92.preheader ], [ %204, %198 ]
  %144 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv99) #6
  %145 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %144)
          to label %146 unwind label %205

146:                                              ; preds = %.lr.ph92
  %147 = load i64, ptr %145, align 8, !tbaa !9
  %148 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv99) #6
  %149 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %148)
          to label %150 unwind label %205

150:                                              ; preds = %146
  %151 = load i64, ptr %149, align 8, !tbaa !9
  %152 = sub nsw i64 %147, %151
  %153 = call noundef i64 @_ZSt3absl(i64 noundef %152)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %154 = add nsw i64 %indvars.iv99, -1
  %155 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %154) #6
  %156 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %155)
          to label %157 unwind label %207

157:                                              ; preds = %150
  %158 = load i64, ptr %156, align 8, !tbaa !9
  %159 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv99) #6
  %160 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %159)
          to label %161 unwind label %207

161:                                              ; preds = %157
  %162 = load i64, ptr %160, align 8, !tbaa !9
  %163 = sub nsw i64 %158, %162
  %164 = call noundef i64 @_ZSt3absl(i64 noundef %163)
  %165 = add i64 %153, %.05990
  %166 = add i64 %165, %164
  store i64 %166, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %167 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %154) #6
  %168 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %167)
          to label %169 unwind label %209

169:                                              ; preds = %161
  %170 = load i64, ptr %168, align 8, !tbaa !9
  %171 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv99) #6
  %172 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %171)
          to label %173 unwind label %209

173:                                              ; preds = %169
  %174 = load i64, ptr %172, align 8, !tbaa !9
  %175 = sub nsw i64 %170, %174
  %176 = call noundef i64 @_ZSt3absl(i64 noundef %175)
  %177 = add i64 %153, %.06188
  %178 = add i64 %177, %176
  store i64 %178, ptr %11, align 8, !tbaa !9
  %179 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11)
  %180 = load i64, ptr %179, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %181 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %154) #6
  %182 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %181)
          to label %183 unwind label %212

183:                                              ; preds = %173
  %184 = load i64, ptr %182, align 8, !tbaa !9
  %185 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv99) #6
  %186 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %185)
          to label %187 unwind label %212

187:                                              ; preds = %183
  %188 = load i64, ptr %186, align 8, !tbaa !9
  %189 = sub nsw i64 %184, %188
  %190 = call noundef i64 @_ZSt3absl(i64 noundef %189)
  %191 = add i64 %165, %190
  store i64 %191, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %192 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %154) #6
  %193 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %192)
          to label %194 unwind label %214

194:                                              ; preds = %187
  %195 = load i64, ptr %193, align 8, !tbaa !9
  %196 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv99) #6
  %197 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 4 dereferenceable(4) %196)
          to label %198 unwind label %214

198:                                              ; preds = %194
  %199 = load i64, ptr %197, align 8, !tbaa !9
  %200 = sub nsw i64 %195, %199
  %201 = call noundef i64 @_ZSt3absl(i64 noundef %200)
  %202 = add i64 %177, %201
  store i64 %202, ptr %13, align 8, !tbaa !9
  %203 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13)
  %204 = load i64, ptr %203, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  %indvars.iv.next100 = add nuw nsw i64 %indvars.iv99, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next100, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge93, label %.lr.ph92, !llvm.loop !13

205:                                              ; preds = %146, %.lr.ph92
  %206 = landingpad { ptr, i32 }
          cleanup
  br label %234

207:                                              ; preds = %157, %150
  %208 = landingpad { ptr, i32 }
          cleanup
  br label %211

209:                                              ; preds = %169, %161
  %210 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  br label %211

211:                                              ; preds = %209, %207
  %.pn66 = phi { ptr, i32 } [ %210, %209 ], [ %208, %207 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %234

212:                                              ; preds = %183, %173
  %213 = landingpad { ptr, i32 }
          cleanup
  br label %216

214:                                              ; preds = %194, %187
  %215 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  br label %216

216:                                              ; preds = %214, %212
  %.pn68 = phi { ptr, i32 } [ %215, %214 ], [ %213, %212 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  br label %234

217:                                              ; preds = %._crit_edge93
  %218 = load i64, ptr %139, align 8, !tbaa !9
  %219 = call noundef i64 @_ZSt3absl(i64 noundef %218)
  %220 = add nsw i64 %219, %.059.lcssa
  store i64 %220, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %221 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %137) #6
  %222 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %221)
          to label %223 unwind label %231

223:                                              ; preds = %217
  %224 = load i64, ptr %222, align 8, !tbaa !9
  %225 = call noundef i64 @_ZSt3absl(i64 noundef %224)
  %226 = add nsw i64 %225, %.061.lcssa
  store i64 %226, ptr %15, align 8, !tbaa !9
  %227 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15)
  %228 = load i64, ptr %227, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #6
  call void @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %2) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %2) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #6
  ret i64 %228

229:                                              ; preds = %._crit_edge93
  %230 = landingpad { ptr, i32 }
          cleanup
  br label %233

231:                                              ; preds = %217
  %232 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  br label %233

233:                                              ; preds = %231, %229
  %.pn64 = phi { ptr, i32 } [ %232, %231 ], [ %230, %229 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  br label %234

234:                                              ; preds = %140, %205, %216, %211, %233, %142, %33, %47, %73, %99, %93
  %.pn74.pn = phi { ptr, i32 } [ %.pn, %99 ], [ %94, %93 ], [ %34, %33 ], [ %74, %73 ], [ %48, %47 ], [ %141, %140 ], [ %.pn64, %233 ], [ %143, %142 ], [ %206, %205 ], [ %.pn68, %216 ], [ %.pn66, %211 ]
  call void @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #6
  call void @_ZNSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %2) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %2) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn74.pn
}

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt13unordered_mapIilSt4hashIiESt8equal_toIiESaISt4pairIKilEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #0 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZSt3absl(i64 noundef) local_unnamed_addr #3

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

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

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

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


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