; LLVM IR from VastoLorde95/Competitive-Programming :: Codeforces/375 Division 2/Problem F (F)

; 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<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = 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::map" = type { %"class.std::_Rb_tree.10" }
%"class.std::_Rb_tree.10" = type { %"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::pair.8" = type { i32, i32 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::set.15" = type { %"class.std::_Rb_tree.16" }
%"class.std::_Rb_tree.16" = type { %"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.__gnu_cxx::__normal_iterator.20" = type { ptr }
%"struct.std::pair.21" = type <{ %"struct.std::_Rb_tree_const_iterator.23", i8, [7 x i8] }>
%"struct.std::_Rb_tree_const_iterator.23" = type { ptr }

@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@tmp = external dso_local global %"class.std::vector", align 8
@e = external dso_local global %"class.std::vector", align 8
@x = external dso_local global %"class.std::vector.0", align 8
@y = external dso_local global %"class.std::vector.0", align 8
@s = external dso_local global i32, align 4
@t = external dso_local global i32, align 4
@ds = external dso_local global i32, align 4
@dt = external dso_local global i32, align 4
@f = external dso_local global %"class.std::map", align 8
@.str.6 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z6createi(i32 noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z4findi(i32 noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5mergeii(i32 noundef, i32 noundef) #1

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

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

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

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

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z5checkv() #1

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

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

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

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

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #4 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"struct.std::pair.8", align 4
  %7 = alloca i8, align 1
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"struct.std::pair.8", align 4
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca %"struct.std::pair.8", align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca %"class.std::set.15", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %28 = alloca i32, align 4
  %29 = alloca %"struct.std::pair.21", align 8
  %30 = alloca %"struct.std::pair.8", align 4
  %31 = alloca %"struct.std::pair.21", align 8
  %32 = alloca %"class.std::set.15", align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %35 = alloca i32, align 4
  %36 = alloca %"struct.std::pair.21", align 8
  %37 = alloca %"struct.std::pair.8", align 4
  %38 = alloca %"struct.std::pair.21", align 8
  %39 = alloca %"struct.std::pair.8", align 4
  %40 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %41 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %42 = alloca i32, align 4
  %43 = alloca %"struct.std::pair.8", align 4
  %44 = alloca i32, align 4
  %45 = alloca i8, align 1
  %46 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %47 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %48 = alloca i32, align 4
  %49 = alloca %"struct.std::pair.8", align 4
  %50 = alloca %"struct.std::pair.8", align 4
  store i32 0, ptr %1, align 4
  %51 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.6, ptr noundef @n, ptr noundef @m)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %52

52:                                               ; preds = %59, %0
  %53 = load i32, ptr %2, align 4, !tbaa !5
  %54 = load i32, ptr @n, align 4, !tbaa !5
  %55 = icmp sle i32 %53, %54
  br i1 %55, label %57, label %56

56:                                               ; preds = %52
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  br label %62

57:                                               ; preds = %52
  %58 = load i32, ptr %2, align 4, !tbaa !5
  call void @_Z6createi(i32 noundef %58)
  br label %59

59:                                               ; preds = %57
  %60 = load i32, ptr %2, align 4, !tbaa !5
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr %2, align 4, !tbaa !5
  br label %52, !llvm.loop !9

62:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %63

63:                                               ; preds = %71, %62
  %64 = load i32, ptr %3, align 4, !tbaa !5
  %65 = load i32, ptr @m, align 4, !tbaa !5
  %66 = icmp slt i32 %64, %65
  br i1 %66, label %68, label %67

67:                                               ; preds = %63
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %74

68:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %69 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.6, ptr noundef %4, ptr noundef %5)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %70 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  store i64 %70, ptr %6, align 4
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) @tmp, ptr noundef nonnull align 4 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  br label %71

71:                                               ; preds = %68
  %72 = load i32, ptr %3, align 4, !tbaa !5
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %3, align 4, !tbaa !5
  br label %63, !llvm.loop !11

74:                                               ; preds = %67
  %75 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.6, ptr noundef @s, ptr noundef @t)
  %76 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.6, ptr noundef @ds, ptr noundef @dt)
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #6
  store i8 0, ptr %7, align 1, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %77

77:                                               ; preds = %138, %74
  %78 = load i32, ptr %8, align 4, !tbaa !5
  %79 = load i32, ptr @m, align 4, !tbaa !5
  %80 = icmp slt i32 %78, %79
  br i1 %80, label %82, label %81

81:                                               ; preds = %77
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %141

82:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  %83 = load i32, ptr %8, align 4, !tbaa !5
  %84 = sext i32 %83 to i64
  %85 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tmp, i64 noundef %84) #6
  %86 = getelementptr inbounds %"struct.std::pair.8", ptr %85, i32 0, i32 0
  %87 = load i32, ptr %86, align 4, !tbaa !14
  store i32 %87, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %88 = load i32, ptr %8, align 4, !tbaa !5
  %89 = sext i32 %88 to i64
  %90 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tmp, i64 noundef %89) #6
  %91 = getelementptr inbounds %"struct.std::pair.8", ptr %90, i32 0, i32 1
  %92 = load i32, ptr %91, align 4, !tbaa !16
  store i32 %92, ptr %10, align 4, !tbaa !5
  %93 = load i32, ptr %9, align 4, !tbaa !5
  %94 = load i32, ptr @s, align 4, !tbaa !5
  %95 = icmp eq i32 %93, %94
  br i1 %95, label %96, label %101

96:                                               ; preds = %82
  %97 = load i32, ptr %10, align 4, !tbaa !5
  %98 = load i32, ptr @t, align 4, !tbaa !5
  %99 = icmp eq i32 %97, %98
  br i1 %99, label %100, label %101

100:                                              ; preds = %96
  store i8 1, ptr %7, align 1, !tbaa !12
  br label %137

101:                                              ; preds = %96, %82
  %102 = load i32, ptr %9, align 4, !tbaa !5
  %103 = load i32, ptr @t, align 4, !tbaa !5
  %104 = icmp eq i32 %102, %103
  br i1 %104, label %105, label %110

105:                                              ; preds = %101
  %106 = load i32, ptr %10, align 4, !tbaa !5
  %107 = load i32, ptr @s, align 4, !tbaa !5
  %108 = icmp eq i32 %106, %107
  br i1 %108, label %109, label %110

109:                                              ; preds = %105
  store i8 1, ptr %7, align 1, !tbaa !12
  br label %136

110:                                              ; preds = %105, %101
  %111 = load i32, ptr %9, align 4, !tbaa !5
  %112 = load i32, ptr @s, align 4, !tbaa !5
  %113 = icmp eq i32 %111, %112
  br i1 %113, label %114, label %115

114:                                              ; preds = %110
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) @x, ptr noundef nonnull align 4 dereferenceable(4) %10)
  br label %135

115:                                              ; preds = %110
  %116 = load i32, ptr %10, align 4, !tbaa !5
  %117 = load i32, ptr @s, align 4, !tbaa !5
  %118 = icmp eq i32 %116, %117
  br i1 %118, label %119, label %120

119:                                              ; preds = %115
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) @x, ptr noundef nonnull align 4 dereferenceable(4) %9)
  br label %134

120:                                              ; preds = %115
  %121 = load i32, ptr %9, align 4, !tbaa !5
  %122 = load i32, ptr @t, align 4, !tbaa !5
  %123 = icmp eq i32 %121, %122
  br i1 %123, label %124, label %125

124:                                              ; preds = %120
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) @y, ptr noundef nonnull align 4 dereferenceable(4) %10)
  br label %133

125:                                              ; preds = %120
  %126 = load i32, ptr %10, align 4, !tbaa !5
  %127 = load i32, ptr @t, align 4, !tbaa !5
  %128 = icmp eq i32 %126, %127
  br i1 %128, label %129, label %130

129:                                              ; preds = %125
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) @y, ptr noundef nonnull align 4 dereferenceable(4) %9)
  br label %132

130:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %131 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %10)
  store i64 %131, ptr %11, align 4
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) @e, ptr noundef nonnull align 4 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %132

132:                                              ; preds = %130, %129
  br label %133

133:                                              ; preds = %132, %124
  br label %134

134:                                              ; preds = %133, %119
  br label %135

135:                                              ; preds = %134, %114
  br label %136

136:                                              ; preds = %135, %109
  br label %137

137:                                              ; preds = %136, %100
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %138

138:                                              ; preds = %137
  %139 = load i32, ptr %8, align 4, !tbaa !5
  %140 = add nsw i32 %139, 1
  store i32 %140, ptr %8, align 4, !tbaa !5
  br label %77, !llvm.loop !17

141:                                              ; preds = %81
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #6
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  store ptr @e, ptr %13, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %142 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @e) #6
  %143 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  store ptr %142, ptr %143, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %144 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @e) #6
  %145 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  store ptr %144, ptr %145, align 8
  br label %146

146:                                              ; preds = %182, %141
  %147 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  br i1 %147, label %149, label %148

148:                                              ; preds = %146
  store i32 11, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %189

149:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %150 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  store ptr %150, ptr %17, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  %151 = load ptr, ptr %17, align 8, !tbaa !18
  %152 = getelementptr inbounds %"struct.std::pair.8", ptr %151, i32 0, i32 0
  %153 = load i32, ptr %152, align 4, !tbaa !14
  store i32 %153, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %154 = load ptr, ptr %17, align 8, !tbaa !18
  %155 = getelementptr inbounds %"struct.std::pair.8", ptr %154, i32 0, i32 1
  %156 = load i32, ptr %155, align 4, !tbaa !16
  store i32 %156, ptr %19, align 4, !tbaa !5
  %157 = load i32, ptr %18, align 4, !tbaa !5
  %158 = invoke noundef i32 @_Z4findi(i32 noundef %157)
          to label %159 unwind label %165

159:                                              ; preds = %149
  %160 = load i32, ptr %19, align 4, !tbaa !5
  %161 = invoke noundef i32 @_Z4findi(i32 noundef %160)
          to label %162 unwind label %165

162:                                              ; preds = %159
  %163 = icmp eq i32 %158, %161
  br i1 %163, label %164, label %169

164:                                              ; preds = %162
  store i32 12, ptr %16, align 4
  br label %176

165:                                              ; preds = %169, %159, %149
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %20, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %21, align 4
  br label %188

169:                                              ; preds = %162
  %170 = load i32, ptr %18, align 4, !tbaa !5
  %171 = load i32, ptr %19, align 4, !tbaa !5
  invoke void @_Z5mergeii(i32 noundef %170, i32 noundef %171)
          to label %172 unwind label %165

172:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %173 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %174 unwind label %184

174:                                              ; preds = %172
  store i64 %173, ptr %22, align 4
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 4 dereferenceable(8) %22)
          to label %175 unwind label %184

175:                                              ; preds = %174
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  store i32 0, ptr %16, align 4
  br label %176

176:                                              ; preds = %175, %164
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  %177 = load i32, ptr %16, align 4
  switch i32 %177, label %179 [
    i32 0, label %178
  ]

178:                                              ; preds = %176
  store i32 0, ptr %16, align 4
  br label %179

179:                                              ; preds = %178, %176
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  %180 = load i32, ptr %16, align 4
  switch i32 %180, label %545 [
    i32 0, label %181
    i32 12, label %182
  ]

181:                                              ; preds = %179
  br label %182

182:                                              ; preds = %181, %179
  %183 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br label %146

184:                                              ; preds = %174, %172
  %185 = landingpad { ptr, i32 }
          cleanup
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %20, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  br label %188

188:                                              ; preds = %184, %165
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %539

189:                                              ; preds = %148
  %190 = invoke noundef zeroext i1 @_Z5checkv()
          to label %191 unwind label %195

191:                                              ; preds = %189
  br i1 %190, label %199, label %192

192:                                              ; preds = %191
  %193 = invoke i32 @puts(ptr noundef @.str.7)
          to label %194 unwind label %195

194:                                              ; preds = %192
  store i32 0, ptr %1, align 4
  store i32 1, ptr %16, align 4
  br label %537

195:                                              ; preds = %192, %189
  %196 = landingpad { ptr, i32 }
          cleanup
  %197 = extractvalue { ptr, i32 } %196, 0
  store ptr %197, ptr %20, align 8
  %198 = extractvalue { ptr, i32 } %196, 1
  store i32 %198, ptr %21, align 4
  br label %539

199:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  store i32 0, ptr %23, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  store i32 0, ptr %24, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %25) #6
  call void @_ZNSt3setIiSt4lessIiESaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %200 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @x) #6
  %201 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %26, i32 0, i32 0
  store ptr %200, ptr %201, align 8
  br label %202

202:                                              ; preds = %256, %199
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %203 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @x) #6
  %204 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %27, i32 0, i32 0
  store ptr %203, ptr %204, align 8
  %205 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  br i1 %205, label %207, label %206

206:                                              ; preds = %202
  store i32 13, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %263

207:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  %208 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #6
  %209 = load i32, ptr %208, align 4, !tbaa !5
  %210 = invoke noundef i32 @_Z4findi(i32 noundef %209)
          to label %211 unwind label %225

211:                                              ; preds = %207
  store i32 %210, ptr %28, align 4, !tbaa !5
  %212 = load i32, ptr %28, align 4, !tbaa !5
  %213 = load i32, ptr @s, align 4, !tbaa !5
  %214 = invoke noundef i32 @_Z4findi(i32 noundef %213)
          to label %215 unwind label %225

215:                                              ; preds = %211
  %216 = icmp eq i32 %212, %214
  br i1 %216, label %217, label %229

217:                                              ; preds = %215
  %218 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #6
  %219 = invoke { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48) %25, ptr noundef nonnull align 4 dereferenceable(4) %218)
          to label %220 unwind label %225

220:                                              ; preds = %217
  %221 = getelementptr inbounds { ptr, i8 }, ptr %29, i32 0, i32 0
  %222 = extractvalue { ptr, i8 } %219, 0
  store ptr %222, ptr %221, align 8
  %223 = getelementptr inbounds { ptr, i8 }, ptr %29, i32 0, i32 1
  %224 = extractvalue { ptr, i8 } %219, 1
  store i8 %224, ptr %223, align 8
  store i32 15, ptr %16, align 4
  br label %253

225:                                              ; preds = %245, %235, %229, %217, %211, %207
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %20, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %21, align 4
  br label %262

229:                                              ; preds = %215
  %230 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 4 dereferenceable(4) %28)
          to label %231 unwind label %225

231:                                              ; preds = %229
  %232 = load i32, ptr %230, align 4, !tbaa !5
  %233 = icmp sgt i32 %232, 1
  br i1 %233, label %234, label %235

234:                                              ; preds = %231
  store i32 15, ptr %16, align 4
  br label %253

235:                                              ; preds = %231
  %236 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #6
  %237 = load i32, ptr %236, align 4, !tbaa !5
  %238 = load i32, ptr @s, align 4, !tbaa !5
  invoke void @_Z5mergeii(i32 noundef %237, i32 noundef %238)
          to label %239 unwind label %225

239:                                              ; preds = %235
  %240 = load i32, ptr %23, align 4, !tbaa !5
  %241 = add nsw i32 %240, 1
  store i32 %241, ptr %23, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %242 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #6
  %243 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) @s, ptr noundef nonnull align 4 dereferenceable(4) %242)
          to label %244 unwind label %258

244:                                              ; preds = %239
  store i64 %243, ptr %30, align 4
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 4 dereferenceable(8) %30)
          to label %245 unwind label %258

245:                                              ; preds = %244
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  %246 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #6
  %247 = invoke { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48) %25, ptr noundef nonnull align 4 dereferenceable(4) %246)
          to label %248 unwind label %225

248:                                              ; preds = %245
  %249 = getelementptr inbounds { ptr, i8 }, ptr %31, i32 0, i32 0
  %250 = extractvalue { ptr, i8 } %247, 0
  store ptr %250, ptr %249, align 8
  %251 = getelementptr inbounds { ptr, i8 }, ptr %31, i32 0, i32 1
  %252 = extractvalue { ptr, i8 } %247, 1
  store i8 %252, ptr %251, align 8
  store i32 0, ptr %16, align 4
  br label %253

253:                                              ; preds = %248, %234, %220
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  %254 = load i32, ptr %16, align 4
  switch i32 %254, label %545 [
    i32 0, label %255
    i32 15, label %256
  ]

255:                                              ; preds = %253
  br label %256

256:                                              ; preds = %255, %253
  %257 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #6
  br label %202, !llvm.loop !20

258:                                              ; preds = %244, %239
  %259 = landingpad { ptr, i32 }
          cleanup
  %260 = extractvalue { ptr, i32 } %259, 0
  store ptr %260, ptr %20, align 8
  %261 = extractvalue { ptr, i32 } %259, 1
  store i32 %261, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  br label %262

262:                                              ; preds = %258, %225
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %536

263:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 48, ptr %32) #6
  call void @_ZNSt3setIiSt4lessIiESaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %32) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  %264 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @y) #6
  %265 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %33, i32 0, i32 0
  store ptr %264, ptr %265, align 8
  br label %266

266:                                              ; preds = %320, %263
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  %267 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @y) #6
  %268 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %34, i32 0, i32 0
  store ptr %267, ptr %268, align 8
  %269 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  br i1 %269, label %271, label %270

270:                                              ; preds = %266
  store i32 16, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  br label %327

271:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #6
  %272 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #6
  %273 = load i32, ptr %272, align 4, !tbaa !5
  %274 = invoke noundef i32 @_Z4findi(i32 noundef %273)
          to label %275 unwind label %289

275:                                              ; preds = %271
  store i32 %274, ptr %35, align 4, !tbaa !5
  %276 = load i32, ptr %35, align 4, !tbaa !5
  %277 = load i32, ptr @t, align 4, !tbaa !5
  %278 = invoke noundef i32 @_Z4findi(i32 noundef %277)
          to label %279 unwind label %289

279:                                              ; preds = %275
  %280 = icmp eq i32 %276, %278
  br i1 %280, label %281, label %293

281:                                              ; preds = %279
  %282 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #6
  %283 = invoke { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48) %32, ptr noundef nonnull align 4 dereferenceable(4) %282)
          to label %284 unwind label %289

284:                                              ; preds = %281
  %285 = getelementptr inbounds { ptr, i8 }, ptr %36, i32 0, i32 0
  %286 = extractvalue { ptr, i8 } %283, 0
  store ptr %286, ptr %285, align 8
  %287 = getelementptr inbounds { ptr, i8 }, ptr %36, i32 0, i32 1
  %288 = extractvalue { ptr, i8 } %283, 1
  store i8 %288, ptr %287, align 8
  store i32 18, ptr %16, align 4
  br label %317

289:                                              ; preds = %309, %299, %293, %281, %275, %271
  %290 = landingpad { ptr, i32 }
          cleanup
  %291 = extractvalue { ptr, i32 } %290, 0
  store ptr %291, ptr %20, align 8
  %292 = extractvalue { ptr, i32 } %290, 1
  store i32 %292, ptr %21, align 4
  br label %326

293:                                              ; preds = %279
  %294 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 4 dereferenceable(4) %35)
          to label %295 unwind label %289

295:                                              ; preds = %293
  %296 = load i32, ptr %294, align 4, !tbaa !5
  %297 = icmp sgt i32 %296, 1
  br i1 %297, label %298, label %299

298:                                              ; preds = %295
  store i32 18, ptr %16, align 4
  br label %317

299:                                              ; preds = %295
  %300 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #6
  %301 = load i32, ptr %300, align 4, !tbaa !5
  %302 = load i32, ptr @t, align 4, !tbaa !5
  invoke void @_Z5mergeii(i32 noundef %301, i32 noundef %302)
          to label %303 unwind label %289

303:                                              ; preds = %299
  %304 = load i32, ptr %24, align 4, !tbaa !5
  %305 = add nsw i32 %304, 1
  store i32 %305, ptr %24, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #6
  %306 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #6
  %307 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) @t, ptr noundef nonnull align 4 dereferenceable(4) %306)
          to label %308 unwind label %322

308:                                              ; preds = %303
  store i64 %307, ptr %37, align 4
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 4 dereferenceable(8) %37)
          to label %309 unwind label %322

309:                                              ; preds = %308
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  %310 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #6
  %311 = invoke { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48) %32, ptr noundef nonnull align 4 dereferenceable(4) %310)
          to label %312 unwind label %289

312:                                              ; preds = %309
  %313 = getelementptr inbounds { ptr, i8 }, ptr %38, i32 0, i32 0
  %314 = extractvalue { ptr, i8 } %311, 0
  store ptr %314, ptr %313, align 8
  %315 = getelementptr inbounds { ptr, i8 }, ptr %38, i32 0, i32 1
  %316 = extractvalue { ptr, i8 } %311, 1
  store i8 %316, ptr %315, align 8
  store i32 0, ptr %16, align 4
  br label %317

317:                                              ; preds = %312, %298, %284
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  %318 = load i32, ptr %16, align 4
  switch i32 %318, label %545 [
    i32 0, label %319
    i32 18, label %320
  ]

319:                                              ; preds = %317
  br label %320

320:                                              ; preds = %319, %317
  %321 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #6
  br label %266, !llvm.loop !21

322:                                              ; preds = %308, %303
  %323 = landingpad { ptr, i32 }
          cleanup
  %324 = extractvalue { ptr, i32 } %323, 0
  store ptr %324, ptr %20, align 8
  %325 = extractvalue { ptr, i32 } %323, 1
  store i32 %325, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  br label %326

326:                                              ; preds = %322, %289
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  br label %535

327:                                              ; preds = %270
  %328 = call noundef i64 @_ZNKSt6vectorISt4pairIiiESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  %329 = load i32, ptr @n, align 4, !tbaa !5
  %330 = sub nsw i32 %329, 2
  %331 = sext i32 %330 to i64
  %332 = icmp eq i64 %328, %331
  br i1 %332, label %333, label %366

333:                                              ; preds = %327
  %334 = load i8, ptr %7, align 1, !tbaa !12, !range !22, !noundef !23
  %335 = trunc i8 %334 to i1
  br i1 %335, label %343, label %336

336:                                              ; preds = %333
  %337 = invoke i32 @puts(ptr noundef @.str.7)
          to label %338 unwind label %339

338:                                              ; preds = %336
  store i32 0, ptr %1, align 4
  store i32 1, ptr %16, align 4
  br label %534

339:                                              ; preds = %360, %358, %351, %336
  %340 = landingpad { ptr, i32 }
          cleanup
  %341 = extractvalue { ptr, i32 } %340, 0
  store ptr %341, ptr %20, align 8
  %342 = extractvalue { ptr, i32 } %340, 1
  store i32 %342, ptr %21, align 4
  br label %535

343:                                              ; preds = %333
  %344 = load i32, ptr %23, align 4, !tbaa !5
  %345 = load i32, ptr @ds, align 4, !tbaa !5
  %346 = icmp eq i32 %344, %345
  br i1 %346, label %351, label %347

347:                                              ; preds = %343
  %348 = load i32, ptr %24, align 4, !tbaa !5
  %349 = load i32, ptr @dt, align 4, !tbaa !5
  %350 = icmp eq i32 %348, %349
  br i1 %350, label %351, label %354

351:                                              ; preds = %347, %343
  %352 = invoke i32 @puts(ptr noundef @.str.7)
          to label %353 unwind label %339

353:                                              ; preds = %351
  store i32 0, ptr %1, align 4
  store i32 1, ptr %16, align 4
  br label %534

354:                                              ; preds = %347
  br label %355

355:                                              ; preds = %354
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #6
  %356 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) @s, ptr noundef nonnull align 4 dereferenceable(4) @t)
          to label %357 unwind label %362

357:                                              ; preds = %355
  store i64 %356, ptr %39, align 4
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 4 dereferenceable(8) %39)
          to label %358 unwind label %362

358:                                              ; preds = %357
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  %359 = invoke i32 @puts(ptr noundef @.str.8)
          to label %360 unwind label %339

360:                                              ; preds = %358
  invoke void @_Z5printRSt6vectorISt4pairIiiESaIS1_EE(ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %361 unwind label %339

361:                                              ; preds = %360
  store i32 0, ptr %1, align 4
  store i32 1, ptr %16, align 4
  br label %534

362:                                              ; preds = %357, %355
  %363 = landingpad { ptr, i32 }
          cleanup
  %364 = extractvalue { ptr, i32 } %363, 0
  store ptr %364, ptr %20, align 8
  %365 = extractvalue { ptr, i32 } %363, 1
  store i32 %365, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  br label %535

366:                                              ; preds = %327
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #6
  %367 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @x) #6
  %368 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %40, i32 0, i32 0
  store ptr %367, ptr %368, align 8
  br label %369

369:                                              ; preds = %417, %366
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #6
  %370 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @x) #6
  %371 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %41, i32 0, i32 0
  store ptr %370, ptr %371, align 8
  %372 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(8) %41) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  br i1 %372, label %374, label %373

373:                                              ; preds = %369
  store i32 19, ptr %16, align 4
  br label %424

374:                                              ; preds = %369
  %375 = load i32, ptr %23, align 4, !tbaa !5
  %376 = load i32, ptr @ds, align 4, !tbaa !5
  %377 = icmp eq i32 %375, %376
  br i1 %377, label %378, label %379

378:                                              ; preds = %374
  store i32 19, ptr %16, align 4
  br label %424

379:                                              ; preds = %374
  %380 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #6
  %381 = invoke noundef i64 @_ZNKSt3setIiSt4lessIiESaIiEE5countERKi(ptr noundef nonnull align 8 dereferenceable(48) %25, ptr noundef nonnull align 4 dereferenceable(4) %380)
          to label %382 unwind label %385

382:                                              ; preds = %379
  %383 = icmp ne i64 %381, 0
  br i1 %383, label %384, label %389

384:                                              ; preds = %382
  br label %417

385:                                              ; preds = %379
  %386 = landingpad { ptr, i32 }
          cleanup
  %387 = extractvalue { ptr, i32 } %386, 0
  store ptr %387, ptr %20, align 8
  %388 = extractvalue { ptr, i32 } %386, 1
  store i32 %388, ptr %21, align 4
  br label %425

389:                                              ; preds = %382
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #6
  %390 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #6
  %391 = load i32, ptr %390, align 4, !tbaa !5
  %392 = invoke noundef i32 @_Z4findi(i32 noundef %391)
          to label %393 unwind label %400

393:                                              ; preds = %389
  store i32 %392, ptr %42, align 4, !tbaa !5
  %394 = load i32, ptr %42, align 4, !tbaa !5
  %395 = load i32, ptr @s, align 4, !tbaa !5
  %396 = invoke noundef i32 @_Z4findi(i32 noundef %395)
          to label %397 unwind label %400

397:                                              ; preds = %393
  %398 = icmp eq i32 %394, %396
  br i1 %398, label %399, label %404

399:                                              ; preds = %397
  store i32 21, ptr %16, align 4
  br label %414

400:                                              ; preds = %404, %393, %389
  %401 = landingpad { ptr, i32 }
          cleanup
  %402 = extractvalue { ptr, i32 } %401, 0
  store ptr %402, ptr %20, align 8
  %403 = extractvalue { ptr, i32 } %401, 1
  store i32 %403, ptr %21, align 4
  br label %423

404:                                              ; preds = %397
  %405 = load i32, ptr %42, align 4, !tbaa !5
  %406 = load i32, ptr @s, align 4, !tbaa !5
  invoke void @_Z5mergeii(i32 noundef %405, i32 noundef %406)
          to label %407 unwind label %400

407:                                              ; preds = %404
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #6
  %408 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #6
  %409 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %408, ptr noundef nonnull align 4 dereferenceable(4) @s)
          to label %410 unwind label %419

410:                                              ; preds = %407
  store i64 %409, ptr %43, align 4
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 4 dereferenceable(8) %43)
          to label %411 unwind label %419

411:                                              ; preds = %410
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #6
  %412 = load i32, ptr %23, align 4, !tbaa !5
  %413 = add nsw i32 %412, 1
  store i32 %413, ptr %23, align 4, !tbaa !5
  store i32 0, ptr %16, align 4
  br label %414

414:                                              ; preds = %411, %399
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #6
  %415 = load i32, ptr %16, align 4
  switch i32 %415, label %545 [
    i32 0, label %416
    i32 21, label %417
  ]

416:                                              ; preds = %414
  br label %417

417:                                              ; preds = %416, %414, %384
  %418 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #6
  br label %369, !llvm.loop !24

419:                                              ; preds = %410, %407
  %420 = landingpad { ptr, i32 }
          cleanup
  %421 = extractvalue { ptr, i32 } %420, 0
  store ptr %421, ptr %20, align 8
  %422 = extractvalue { ptr, i32 } %420, 1
  store i32 %422, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #6
  br label %423

423:                                              ; preds = %419, %400
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #6
  br label %425

424:                                              ; preds = %378, %373
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #6
  br label %426

425:                                              ; preds = %423, %385
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #6
  br label %535

426:                                              ; preds = %424
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #6
  %427 = load i32, ptr @s, align 4, !tbaa !5
  %428 = invoke noundef i32 @_Z4findi(i32 noundef %427)
          to label %429 unwind label %437

429:                                              ; preds = %426
  store i32 %428, ptr %44, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %45) #6
  store i8 0, ptr %45, align 1, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #6
  %430 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @y) #6
  %431 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %46, i32 0, i32 0
  store ptr %430, ptr %431, align 8
  br label %432

432:                                              ; preds = %505, %429
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #6
  %433 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @y) #6
  %434 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.20", ptr %47, i32 0, i32 0
  store ptr %433, ptr %434, align 8
  %435 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull align 8 dereferenceable(8) %47) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #6
  br i1 %435, label %441, label %436

436:                                              ; preds = %432
  store i32 22, ptr %16, align 4
  br label %512

437:                                              ; preds = %426
  %438 = landingpad { ptr, i32 }
          cleanup
  %439 = extractvalue { ptr, i32 } %438, 0
  store ptr %439, ptr %20, align 8
  %440 = extractvalue { ptr, i32 } %438, 1
  store i32 %440, ptr %21, align 4
  br label %533

441:                                              ; preds = %432
  %442 = load i32, ptr %24, align 4, !tbaa !5
  %443 = load i32, ptr @dt, align 4, !tbaa !5
  %444 = icmp eq i32 %442, %443
  br i1 %444, label %445, label %446

445:                                              ; preds = %441
  store i32 22, ptr %16, align 4
  br label %512

446:                                              ; preds = %441
  %447 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %46) #6
  %448 = invoke noundef i64 @_ZNKSt3setIiSt4lessIiESaIiEE5countERKi(ptr noundef nonnull align 8 dereferenceable(48) %32, ptr noundef nonnull align 4 dereferenceable(4) %447)
          to label %449 unwind label %452

449:                                              ; preds = %446
  %450 = icmp ne i64 %448, 0
  br i1 %450, label %451, label %456

451:                                              ; preds = %449
  br label %505

452:                                              ; preds = %446
  %453 = landingpad { ptr, i32 }
          cleanup
  %454 = extractvalue { ptr, i32 } %453, 0
  store ptr %454, ptr %20, align 8
  %455 = extractvalue { ptr, i32 } %453, 1
  store i32 %455, ptr %21, align 4
  br label %513

456:                                              ; preds = %449
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #6
  %457 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %46) #6
  %458 = load i32, ptr %457, align 4, !tbaa !5
  %459 = invoke noundef i32 @_Z4findi(i32 noundef %458)
          to label %460 unwind label %467

460:                                              ; preds = %456
  store i32 %459, ptr %48, align 4, !tbaa !5
  %461 = load i32, ptr %48, align 4, !tbaa !5
  %462 = load i32, ptr @t, align 4, !tbaa !5
  %463 = invoke noundef i32 @_Z4findi(i32 noundef %462)
          to label %464 unwind label %467

464:                                              ; preds = %460
  %465 = icmp eq i32 %461, %463
  br i1 %465, label %466, label %471

466:                                              ; preds = %464
  store i32 24, ptr %16, align 4
  br label %502

467:                                              ; preds = %492, %482, %460, %456
  %468 = landingpad { ptr, i32 }
          cleanup
  %469 = extractvalue { ptr, i32 } %468, 0
  store ptr %469, ptr %20, align 8
  %470 = extractvalue { ptr, i32 } %468, 1
  store i32 %470, ptr %21, align 4
  br label %511

471:                                              ; preds = %464
  %472 = load i32, ptr %48, align 4, !tbaa !5
  %473 = load i32, ptr %44, align 4, !tbaa !5
  %474 = icmp eq i32 %472, %473
  br i1 %474, label %475, label %492

475:                                              ; preds = %471
  %476 = load i8, ptr %45, align 1, !tbaa !12, !range !22, !noundef !23
  %477 = trunc i8 %476 to i1
  br i1 %477, label %492, label %478

478:                                              ; preds = %475
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #6
  %479 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %46) #6
  %480 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) @t, ptr noundef nonnull align 4 dereferenceable(4) %479)
          to label %481 unwind label %488

481:                                              ; preds = %478
  store i64 %480, ptr %49, align 4
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 4 dereferenceable(8) %49)
          to label %482 unwind label %488

482:                                              ; preds = %481
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #6
  %483 = load i32, ptr %24, align 4, !tbaa !5
  %484 = add nsw i32 %483, 1
  store i32 %484, ptr %24, align 4, !tbaa !5
  store i8 1, ptr %45, align 1, !tbaa !12
  %485 = load i32, ptr %48, align 4, !tbaa !5
  %486 = load i32, ptr @t, align 4, !tbaa !5
  invoke void @_Z5mergeii(i32 noundef %485, i32 noundef %486)
          to label %487 unwind label %467

487:                                              ; preds = %482
  store i32 24, ptr %16, align 4
  br label %502

488:                                              ; preds = %481, %478
  %489 = landingpad { ptr, i32 }
          cleanup
  %490 = extractvalue { ptr, i32 } %489, 0
  store ptr %490, ptr %20, align 8
  %491 = extractvalue { ptr, i32 } %489, 1
  store i32 %491, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #6
  br label %511

492:                                              ; preds = %475, %471
  %493 = load i32, ptr %48, align 4, !tbaa !5
  %494 = load i32, ptr @t, align 4, !tbaa !5
  invoke void @_Z5mergeii(i32 noundef %493, i32 noundef %494)
          to label %495 unwind label %467

495:                                              ; preds = %492
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #6
  %496 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %46) #6
  %497 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) @t, ptr noundef nonnull align 4 dereferenceable(4) %496)
          to label %498 unwind label %507

498:                                              ; preds = %495
  store i64 %497, ptr %50, align 4
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 4 dereferenceable(8) %50)
          to label %499 unwind label %507

499:                                              ; preds = %498
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #6
  %500 = load i32, ptr %24, align 4, !tbaa !5
  %501 = add nsw i32 %500, 1
  store i32 %501, ptr %24, align 4, !tbaa !5
  store i32 0, ptr %16, align 4
  br label %502

502:                                              ; preds = %499, %487, %466
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #6
  %503 = load i32, ptr %16, align 4
  switch i32 %503, label %545 [
    i32 0, label %504
    i32 24, label %505
  ]

504:                                              ; preds = %502
  br label %505

505:                                              ; preds = %504, %502, %451
  %506 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %46) #6
  br label %432, !llvm.loop !25

507:                                              ; preds = %498, %495
  %508 = landingpad { ptr, i32 }
          cleanup
  %509 = extractvalue { ptr, i32 } %508, 0
  store ptr %509, ptr %20, align 8
  %510 = extractvalue { ptr, i32 } %508, 1
  store i32 %510, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #6
  br label %511

511:                                              ; preds = %507, %488, %467
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #6
  br label %513

512:                                              ; preds = %445, %436
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #6
  br label %514

513:                                              ; preds = %511, %452
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #6
  br label %532

514:                                              ; preds = %512
  %515 = call noundef i64 @_ZNKSt6vectorISt4pairIiiESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  %516 = load i32, ptr @n, align 4, !tbaa !5
  %517 = sub nsw i32 %516, 1
  %518 = sext i32 %517 to i64
  %519 = icmp ult i64 %515, %518
  br i1 %519, label %520, label %527

520:                                              ; preds = %514
  %521 = invoke i32 @puts(ptr noundef @.str.7)
          to label %522 unwind label %523

522:                                              ; preds = %520
  store i32 0, ptr %1, align 4
  store i32 1, ptr %16, align 4
  br label %531

523:                                              ; preds = %529, %527, %520
  %524 = landingpad { ptr, i32 }
          cleanup
  %525 = extractvalue { ptr, i32 } %524, 0
  store ptr %525, ptr %20, align 8
  %526 = extractvalue { ptr, i32 } %524, 1
  store i32 %526, ptr %21, align 4
  br label %532

527:                                              ; preds = %514
  %528 = invoke i32 @puts(ptr noundef @.str.8)
          to label %529 unwind label %523

529:                                              ; preds = %527
  invoke void @_Z5printRSt6vectorISt4pairIiiESaIS1_EE(ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %530 unwind label %523

530:                                              ; preds = %529
  store i32 0, ptr %1, align 4
  store i32 1, ptr %16, align 4
  br label %531

531:                                              ; preds = %530, %522
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #6
  br label %534

532:                                              ; preds = %523, %513
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #6
  br label %533

533:                                              ; preds = %532, %437
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #6
  br label %535

534:                                              ; preds = %531, %361, %353, %338
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %32) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %32) #6
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %537

535:                                              ; preds = %533, %425, %362, %339, %326
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %32) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %32) #6
  br label %536

536:                                              ; preds = %535, %262
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %539

537:                                              ; preds = %534, %194
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  %538 = load i32, ptr %1, align 4
  ret i32 %538

539:                                              ; preds = %536, %195, %188
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  br label %540

540:                                              ; preds = %539
  %541 = load ptr, ptr %20, align 8
  %542 = load i32, ptr %21, align 4
  %543 = insertvalue { ptr, i32 } poison, ptr %541, 0
  %544 = insertvalue { ptr, i32 } %543, i32 %542, 1
  resume { ptr, i32 } %544

545:                                              ; preds = %502, %414, %317, %253, %179
  unreachable
}

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

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

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

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

declare i32 @puts(ptr noundef) #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt3setIiSt4lessIiESaIiEE5countERKi(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) #1 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 = { 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 #5 = { "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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{!13, !13, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!15, !6, i64 0}
!15 = !{!"_ZTSSt4pairIiiE", !6, i64 0, !6, i64 4}
!16 = !{!15, !6, i64 4}
!17 = distinct !{!17, !10}
!18 = !{!19, !19, i64 0}
!19 = !{!"any pointer", !7, i64 0}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}


; 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<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = 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::map" = type { %"class.std::_Rb_tree.10" }
%"class.std::_Rb_tree.10" = type { %"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::pair.8" = type { i32, i32 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::set.15" = type { %"class.std::_Rb_tree.16" }
%"class.std::_Rb_tree.16" = type { %"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.__gnu_cxx::__normal_iterator.20" = type { ptr }

@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@tmp = external dso_local global %"class.std::vector", align 8
@e = external dso_local global %"class.std::vector", align 8
@x = external dso_local global %"class.std::vector.0", align 8
@y = external dso_local global %"class.std::vector.0", align 8
@s = external dso_local global i32, align 4
@t = external dso_local global i32, align 4
@ds = external dso_local global i32, align 4
@dt = external dso_local global i32, align 4
@f = external dso_local global %"class.std::map", align 8
@.str.6 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z6createi(i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z4findi(i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5mergeii(i32 noundef, i32 noundef) local_unnamed_addr #1

; 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2

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

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

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z5checkv() local_unnamed_addr #1

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

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

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

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

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca %"struct.std::pair.8", align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"struct.std::pair.8", align 8
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"struct.std::pair.8", align 8
  %13 = alloca %"class.std::set.15", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %16 = alloca i32, align 4
  %17 = alloca %"struct.std::pair.8", align 8
  %18 = alloca %"class.std::set.15", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %21 = alloca i32, align 4
  %22 = alloca %"struct.std::pair.8", align 8
  %23 = alloca %"struct.std::pair.8", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %26 = alloca %"struct.std::pair.8", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator.20", align 8
  %29 = alloca %"struct.std::pair.8", align 8
  %30 = alloca %"struct.std::pair.8", align 8
  %31 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.6, ptr noundef nonnull @n, ptr noundef nonnull @m)
  %32 = load i32, ptr @n, align 4, !tbaa !5
  %.not113 = icmp slt i32 %32, 1
  br i1 %.not113, label %.preheader, label %.lr.ph

.preheader:                                       ; preds = %.lr.ph, %0
  %33 = load i32, ptr @m, align 4, !tbaa !5
  %34 = icmp sgt i32 %33, 0
  br i1 %34, label %.lr.ph116, label %._crit_edge

.lr.ph:                                           ; preds = %0, %.lr.ph
  %.041114 = phi i32 [ %35, %.lr.ph ], [ 1, %0 ]
  tail call void @_Z6createi(i32 noundef %.041114)
  %35 = add nuw nsw i32 %.041114, 1
  %36 = load i32, ptr @n, align 4, !tbaa !5
  %.not.not = icmp slt i32 %.041114, %36
  br i1 %.not.not, label %.lr.ph, label %.preheader, !llvm.loop !9

._crit_edge:                                      ; preds = %.lr.ph116, %.preheader
  %37 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.6, ptr noundef nonnull @s, ptr noundef nonnull @t)
  %38 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.6, ptr noundef nonnull @ds, ptr noundef nonnull @dt)
  %39 = load i32, ptr @m, align 4, !tbaa !5
  %40 = icmp sgt i32 %39, 0
  br i1 %40, label %.lr.ph120, label %._crit_edge121

.lr.ph116:                                        ; preds = %.preheader, %.lr.ph116
  %.042115 = phi i32 [ %43, %.lr.ph116 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  %41 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.6, ptr noundef nonnull %1, ptr noundef nonnull %2)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %42 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 4 dereferenceable(4) %2)
  store i64 %42, ptr %3, align 8
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) @tmp, ptr noundef nonnull align 4 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  %43 = add nuw nsw i32 %.042115, 1
  %44 = load i32, ptr @m, align 4, !tbaa !5
  %45 = icmp slt i32 %43, %44
  br i1 %45, label %.lr.ph116, label %._crit_edge, !llvm.loop !11

._crit_edge121:                                   ; preds = %72, %._crit_edge
  %.043.lcssa = phi i1 [ false, %._crit_edge ], [ %.144, %72 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %46 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @e) #6
  store ptr %46, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %47 = call ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @e) #6
  store ptr %47, ptr %9, align 8
  %48 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %48, label %.lr.ph123, label %._crit_edge124

.lr.ph120:                                        ; preds = %._crit_edge, %72
  %indvars.iv = phi i64 [ %indvars.iv.next, %72 ], [ 0, %._crit_edge ]
  %.043118 = phi i1 [ %.144, %72 ], [ false, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  %49 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tmp, i64 noundef %indvars.iv) #6
  %50 = load i32, ptr %49, align 4, !tbaa !12
  store i32 %50, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  %51 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tmp, i64 noundef %indvars.iv) #6
  %52 = getelementptr inbounds i8, ptr %51, i64 4
  %53 = load i32, ptr %52, align 4, !tbaa !14
  store i32 %53, ptr %5, align 4, !tbaa !5
  %54 = load i32, ptr %4, align 4, !tbaa !5
  %55 = load i32, ptr @s, align 4, !tbaa !5
  %56 = icmp eq i32 %54, %55
  %57 = load i32, ptr @t, align 4
  %58 = icmp eq i32 %53, %57
  %or.cond = select i1 %56, i1 %58, i1 false
  br i1 %or.cond, label %72, label %59

59:                                               ; preds = %.lr.ph120
  %60 = icmp eq i32 %54, %57
  %61 = icmp eq i32 %53, %55
  %or.cond105 = select i1 %60, i1 %61, i1 false
  br i1 %or.cond105, label %72, label %62

62:                                               ; preds = %59
  br i1 %56, label %63, label %64

63:                                               ; preds = %62
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) @x, ptr noundef nonnull align 4 dereferenceable(4) %5)
  br label %72

64:                                               ; preds = %62
  br i1 %61, label %65, label %66

65:                                               ; preds = %64
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) @x, ptr noundef nonnull align 4 dereferenceable(4) %4)
  br label %72

66:                                               ; preds = %64
  br i1 %60, label %67, label %68

67:                                               ; preds = %66
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) @y, ptr noundef nonnull align 4 dereferenceable(4) %5)
  br label %72

68:                                               ; preds = %66
  br i1 %58, label %69, label %70

69:                                               ; preds = %68
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) @y, ptr noundef nonnull align 4 dereferenceable(4) %4)
  br label %72

70:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %71 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  store i64 %71, ptr %6, align 8
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) @e, ptr noundef nonnull align 4 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %72

72:                                               ; preds = %59, %.lr.ph120, %65, %69, %70, %67, %63
  %.144 = phi i1 [ %.043118, %63 ], [ %.043118, %65 ], [ %.043118, %67 ], [ %.043118, %69 ], [ %.043118, %70 ], [ true, %.lr.ph120 ], [ true, %59 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %73 = load i32, ptr @m, align 4, !tbaa !5
  %74 = sext i32 %73 to i64
  %75 = icmp slt i64 %indvars.iv.next, %74
  br i1 %75, label %.lr.ph120, label %._crit_edge121, !llvm.loop !15

._crit_edge124:                                   ; preds = %96, %._crit_edge121
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  %76 = invoke noundef zeroext i1 @_Z5checkv()
          to label %102 unwind label %105

.lr.ph123:                                        ; preds = %._crit_edge121, %96
  %77 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  %78 = load i32, ptr %77, align 4, !tbaa !12
  store i32 %78, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #6
  %79 = getelementptr inbounds i8, ptr %77, i64 4
  %80 = load i32, ptr %79, align 4, !tbaa !14
  store i32 %80, ptr %11, align 4, !tbaa !5
  %81 = invoke noundef i32 @_Z4findi(i32 noundef %78)
          to label %82 unwind label %87

82:                                               ; preds = %.lr.ph123
  %83 = load i32, ptr %11, align 4, !tbaa !5
  %84 = invoke noundef i32 @_Z4findi(i32 noundef %83)
          to label %85 unwind label %87

85:                                               ; preds = %82
  %86 = icmp eq i32 %81, %84
  br i1 %86, label %96, label %89

87:                                               ; preds = %89, %82, %.lr.ph123
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %101

89:                                               ; preds = %85
  %90 = load i32, ptr %10, align 4, !tbaa !5
  %91 = load i32, ptr %11, align 4, !tbaa !5
  invoke void @_Z5mergeii(i32 noundef %90, i32 noundef %91)
          to label %92 unwind label %87

92:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %93 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %94 unwind label %99

94:                                               ; preds = %92
  store i64 %93, ptr %12, align 8
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(8) %12)
          to label %95 unwind label %99

95:                                               ; preds = %94
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  br label %96

96:                                               ; preds = %85, %95
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIiiESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %98 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIiiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %98, label %.lr.ph123, label %._crit_edge124

99:                                               ; preds = %94, %92
  %100 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  br label %101

101:                                              ; preds = %99, %87
  %.pn93 = phi { ptr, i32 } [ %100, %99 ], [ %88, %87 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  br label %316

102:                                              ; preds = %._crit_edge124
  br i1 %76, label %107, label %103

103:                                              ; preds = %102
  %104 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.7)
  br label %315

105:                                              ; preds = %._crit_edge124
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %316

107:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %13) #6
  call void @_ZNSt3setIiSt4lessIiESaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %108 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @x) #6
  store ptr %108, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %109 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @x) #6
  store ptr %109, ptr %15, align 8
  %110 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  br i1 %110, label %.lr.ph127, label %._crit_edge128

._crit_edge128:                                   ; preds = %144, %107
  %.062.lcssa = phi i32 [ 0, %107 ], [ %.163, %144 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %18) #6
  call void @_ZNSt3setIiSt4lessIiESaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #6
  %111 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @y) #6
  store ptr %111, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  %112 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @y) #6
  store ptr %112, ptr %20, align 8
  %113 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  br i1 %113, label %.lr.ph132, label %._crit_edge133

.lr.ph127:                                        ; preds = %107, %144
  %.062125 = phi i32 [ %.163, %144 ], [ 0, %107 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #6
  %114 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  %115 = load i32, ptr %114, align 4, !tbaa !5
  %116 = invoke noundef i32 @_Z4findi(i32 noundef %115)
          to label %117 unwind label %125

117:                                              ; preds = %.lr.ph127
  store i32 %116, ptr %16, align 4, !tbaa !5
  %118 = load i32, ptr @s, align 4, !tbaa !5
  %119 = invoke noundef i32 @_Z4findi(i32 noundef %118)
          to label %120 unwind label %125

120:                                              ; preds = %117
  %121 = icmp eq i32 %116, %119
  br i1 %121, label %122, label %127

122:                                              ; preds = %120
  %123 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  %124 = invoke { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48) %13, ptr noundef nonnull align 4 dereferenceable(4) %123)
          to label %144 unwind label %125

125:                                              ; preds = %141, %132, %127, %122, %117, %.lr.ph127
  %126 = landingpad { ptr, i32 }
          cleanup
  br label %150

127:                                              ; preds = %120
  %128 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %129 unwind label %125

129:                                              ; preds = %127
  %130 = load i32, ptr %128, align 4, !tbaa !5
  %131 = icmp sgt i32 %130, 1
  br i1 %131, label %144, label %132

132:                                              ; preds = %129
  %133 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  %134 = load i32, ptr %133, align 4, !tbaa !5
  %135 = load i32, ptr @s, align 4, !tbaa !5
  invoke void @_Z5mergeii(i32 noundef %134, i32 noundef %135)
          to label %136 unwind label %125

136:                                              ; preds = %132
  %137 = add nsw i32 %.062125, 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #6
  %138 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  %139 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) @s, ptr noundef nonnull align 4 dereferenceable(4) %138)
          to label %140 unwind label %148

140:                                              ; preds = %136
  store i64 %139, ptr %17, align 8
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(8) %17)
          to label %141 unwind label %148

141:                                              ; preds = %140
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  %142 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  %143 = invoke { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48) %13, ptr noundef nonnull align 4 dereferenceable(4) %142)
          to label %144 unwind label %125

144:                                              ; preds = %141, %129, %122
  %.163 = phi i32 [ %.062125, %122 ], [ %.062125, %129 ], [ %137, %141 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  %145 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %146 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @x) #6
  store ptr %146, ptr %15, align 8
  %147 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  br i1 %147, label %.lr.ph127, label %._crit_edge128, !llvm.loop !16

148:                                              ; preds = %140, %136
  %149 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  br label %150

150:                                              ; preds = %148, %125
  %.pn90 = phi { ptr, i32 } [ %126, %125 ], [ %149, %148 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  br label %314

._crit_edge133:                                   ; preds = %186, %._crit_edge128
  %.067.lcssa = phi i32 [ 0, %._crit_edge128 ], [ %.168, %186 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  %151 = call noundef i64 @_ZNKSt6vectorISt4pairIiiESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  %152 = load i32, ptr @n, align 4, !tbaa !5
  %153 = add nsw i32 %152, -2
  %154 = sext i32 %153 to i64
  %155 = icmp eq i64 %151, %154
  br i1 %155, label %193, label %208

.lr.ph132:                                        ; preds = %._crit_edge128, %186
  %.067130 = phi i32 [ %.168, %186 ], [ 0, %._crit_edge128 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #6
  %156 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  %157 = load i32, ptr %156, align 4, !tbaa !5
  %158 = invoke noundef i32 @_Z4findi(i32 noundef %157)
          to label %159 unwind label %167

159:                                              ; preds = %.lr.ph132
  store i32 %158, ptr %21, align 4, !tbaa !5
  %160 = load i32, ptr @t, align 4, !tbaa !5
  %161 = invoke noundef i32 @_Z4findi(i32 noundef %160)
          to label %162 unwind label %167

162:                                              ; preds = %159
  %163 = icmp eq i32 %158, %161
  br i1 %163, label %164, label %169

164:                                              ; preds = %162
  %165 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  %166 = invoke { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48) %18, ptr noundef nonnull align 4 dereferenceable(4) %165)
          to label %186 unwind label %167

167:                                              ; preds = %183, %174, %169, %164, %159, %.lr.ph132
  %168 = landingpad { ptr, i32 }
          cleanup
  br label %192

169:                                              ; preds = %162
  %170 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) @f, ptr noundef nonnull align 4 dereferenceable(4) %21)
          to label %171 unwind label %167

171:                                              ; preds = %169
  %172 = load i32, ptr %170, align 4, !tbaa !5
  %173 = icmp sgt i32 %172, 1
  br i1 %173, label %186, label %174

174:                                              ; preds = %171
  %175 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  %176 = load i32, ptr %175, align 4, !tbaa !5
  %177 = load i32, ptr @t, align 4, !tbaa !5
  invoke void @_Z5mergeii(i32 noundef %176, i32 noundef %177)
          to label %178 unwind label %167

178:                                              ; preds = %174
  %179 = add nsw i32 %.067130, 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #6
  %180 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  %181 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) @t, ptr noundef nonnull align 4 dereferenceable(4) %180)
          to label %182 unwind label %190

182:                                              ; preds = %178
  store i64 %181, ptr %22, align 8
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(8) %22)
          to label %183 unwind label %190

183:                                              ; preds = %182
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #6
  %184 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  %185 = invoke { ptr, i8 } @_ZNSt3setIiSt4lessIiESaIiEE6insertERKi(ptr noundef nonnull align 8 dereferenceable(48) %18, ptr noundef nonnull align 4 dereferenceable(4) %184)
          to label %186 unwind label %167

186:                                              ; preds = %183, %171, %164
  %.168 = phi i32 [ %.067130, %164 ], [ %.067130, %171 ], [ %179, %183 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #6
  %187 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  %188 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @y) #6
  store ptr %188, ptr %20, align 8
  %189 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  br i1 %189, label %.lr.ph132, label %._crit_edge133, !llvm.loop !17

190:                                              ; preds = %182, %178
  %191 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #6
  br label %192

192:                                              ; preds = %190, %167
  %.pn87 = phi { ptr, i32 } [ %168, %167 ], [ %191, %190 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  br label %313

193:                                              ; preds = %._crit_edge133
  br i1 %.043.lcssa, label %196, label %.sink.split

194:                                              ; preds = %204
  %195 = landingpad { ptr, i32 }
          cleanup
  br label %313

196:                                              ; preds = %193
  %197 = load i32, ptr @ds, align 4, !tbaa !5
  %198 = icmp eq i32 %.062.lcssa, %197
  %199 = load i32, ptr @dt, align 4
  %200 = icmp eq i32 %.067.lcssa, %199
  %or.cond98 = select i1 %198, i1 true, i1 %200
  br i1 %or.cond98, label %.sink.split, label %201

201:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #6
  %202 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) @s, ptr noundef nonnull align 4 dereferenceable(4) @t)
          to label %203 unwind label %206

203:                                              ; preds = %201
  store i64 %202, ptr %23, align 8
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(8) %23)
          to label %204 unwind label %206

204:                                              ; preds = %203
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #6
  %205 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.8)
  invoke void @_Z5printRSt6vectorISt4pairIiiESaIS1_EE(ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %312 unwind label %194

206:                                              ; preds = %203, %201
  %207 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #6
  br label %313

208:                                              ; preds = %._crit_edge133
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #6
  %209 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @x) #6
  store ptr %209, ptr %24, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #6
  %210 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @x) #6
  store ptr %210, ptr %25, align 8
  %211 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #6
  %212 = load i32, ptr @ds, align 4
  %213 = icmp ne i32 %.062.lcssa, %212
  %or.cond101.not135 = select i1 %211, i1 %213, i1 false
  br i1 %or.cond101.not135, label %.lr.ph138, label %._crit_edge139

.lr.ph138:                                        ; preds = %208, %238
  %.264136 = phi i32 [ %.466, %238 ], [ %.062.lcssa, %208 ]
  %214 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  %215 = invoke noundef i64 @_ZNKSt3setIiSt4lessIiESaIiEE5countERKi(ptr noundef nonnull align 8 dereferenceable(48) %13, ptr noundef nonnull align 4 dereferenceable(4) %214)
          to label %216 unwind label %217

216:                                              ; preds = %.lr.ph138
  %.not77 = icmp eq i64 %215, 0
  br i1 %.not77, label %219, label %238

217:                                              ; preds = %.lr.ph138
  %218 = landingpad { ptr, i32 }
          cleanup
  br label %248

219:                                              ; preds = %216
  %220 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  %221 = load i32, ptr %220, align 4, !tbaa !5
  %222 = invoke noundef i32 @_Z4findi(i32 noundef %221)
          to label %223 unwind label %228

223:                                              ; preds = %219
  %224 = load i32, ptr @s, align 4, !tbaa !5
  %225 = invoke noundef i32 @_Z4findi(i32 noundef %224)
          to label %226 unwind label %228

226:                                              ; preds = %223
  %227 = icmp eq i32 %222, %225
  br i1 %227, label %238, label %230

228:                                              ; preds = %230, %223, %219
  %229 = landingpad { ptr, i32 }
          cleanup
  br label %248

230:                                              ; preds = %226
  %231 = load i32, ptr @s, align 4, !tbaa !5
  invoke void @_Z5mergeii(i32 noundef %222, i32 noundef %231)
          to label %232 unwind label %228

232:                                              ; preds = %230
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #6
  %233 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  %234 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %233, ptr noundef nonnull align 4 dereferenceable(4) @s)
          to label %235 unwind label %244

235:                                              ; preds = %232
  store i64 %234, ptr %26, align 8
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(8) %26)
          to label %236 unwind label %244

236:                                              ; preds = %235
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #6
  %237 = add nsw i32 %.264136, 1
  br label %238

238:                                              ; preds = %236, %226, %216
  %.466 = phi i32 [ %.264136, %216 ], [ %237, %236 ], [ %.264136, %226 ]
  %239 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #6
  %240 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @x) #6
  store ptr %240, ptr %25, align 8
  %241 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #6
  %242 = load i32, ptr @ds, align 4
  %243 = icmp ne i32 %.466, %242
  %or.cond101.not = select i1 %241, i1 %243, i1 false
  br i1 %or.cond101.not, label %.lr.ph138, label %._crit_edge139, !llvm.loop !18

244:                                              ; preds = %235, %232
  %245 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #6
  br label %248

._crit_edge139:                                   ; preds = %238, %208
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #6
  %246 = load i32, ptr @s, align 4, !tbaa !5
  %247 = invoke noundef i32 @_Z4findi(i32 noundef %246)
          to label %249 unwind label %255

248:                                              ; preds = %228, %244, %217
  %.pn.pn = phi { ptr, i32 } [ %218, %217 ], [ %245, %244 ], [ %229, %228 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #6
  br label %313

249:                                              ; preds = %._crit_edge139
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #6
  %250 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @y) #6
  store ptr %250, ptr %27, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #6
  %251 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @y) #6
  store ptr %251, ptr %28, align 8
  %252 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #6
  %253 = load i32, ptr @dt, align 4
  %254 = icmp ne i32 %.067.lcssa, %253
  %or.cond104.not140 = select i1 %252, i1 %254, i1 false
  br i1 %or.cond104.not140, label %.lr.ph144, label %._crit_edge145

255:                                              ; preds = %._crit_edge139
  %256 = landingpad { ptr, i32 }
          cleanup
  br label %313

.lr.ph144:                                        ; preds = %249, %293
  %.038142 = phi i1 [ %.240, %293 ], [ false, %249 ]
  %.269141 = phi i32 [ %.471, %293 ], [ %.067.lcssa, %249 ]
  %257 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #6
  %258 = invoke noundef i64 @_ZNKSt3setIiSt4lessIiESaIiEE5countERKi(ptr noundef nonnull align 8 dereferenceable(48) %18, ptr noundef nonnull align 4 dereferenceable(4) %257)
          to label %259 unwind label %260

259:                                              ; preds = %.lr.ph144
  %.not80 = icmp eq i64 %258, 0
  br i1 %.not80, label %262, label %293

260:                                              ; preds = %.lr.ph144
  %261 = landingpad { ptr, i32 }
          cleanup
  br label %306

262:                                              ; preds = %259
  %263 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #6
  %264 = load i32, ptr %263, align 4, !tbaa !5
  %265 = invoke noundef i32 @_Z4findi(i32 noundef %264)
          to label %266 unwind label %271

266:                                              ; preds = %262
  %267 = load i32, ptr @t, align 4, !tbaa !5
  %268 = invoke noundef i32 @_Z4findi(i32 noundef %267)
          to label %269 unwind label %271

269:                                              ; preds = %266
  %270 = icmp eq i32 %265, %268
  br i1 %270, label %293, label %273

271:                                              ; preds = %285, %279, %266, %262
  %272 = landingpad { ptr, i32 }
          cleanup
  br label %306

273:                                              ; preds = %269
  %274 = icmp ne i32 %265, %247
  %brmerge = select i1 %274, i1 true, i1 %.038142
  br i1 %brmerge, label %285, label %275

275:                                              ; preds = %273
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #6
  %276 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #6
  %277 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) @t, ptr noundef nonnull align 4 dereferenceable(4) %276)
          to label %278 unwind label %283

278:                                              ; preds = %275
  store i64 %277, ptr %29, align 8
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(8) %29)
          to label %279 unwind label %283

279:                                              ; preds = %278
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #6
  %280 = load i32, ptr @t, align 4, !tbaa !5
  invoke void @_Z5mergeii(i32 noundef %247, i32 noundef %280)
          to label %281 unwind label %271

281:                                              ; preds = %279
  %282 = add nsw i32 %.269141, 1
  br label %293

283:                                              ; preds = %278, %275
  %284 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #6
  br label %306

285:                                              ; preds = %273
  %286 = load i32, ptr @t, align 4, !tbaa !5
  invoke void @_Z5mergeii(i32 noundef %265, i32 noundef %286)
          to label %287 unwind label %271

287:                                              ; preds = %285
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #6
  %288 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #6
  %289 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) @t, ptr noundef nonnull align 4 dereferenceable(4) %288)
          to label %290 unwind label %299

290:                                              ; preds = %287
  store i64 %289, ptr %30, align 8
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(8) %30)
          to label %291 unwind label %299

291:                                              ; preds = %290
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #6
  %292 = add nsw i32 %.269141, 1
  br label %293

293:                                              ; preds = %281, %291, %269, %259
  %.471 = phi i32 [ %.269141, %259 ], [ %292, %291 ], [ %282, %281 ], [ %.269141, %269 ]
  %.240 = phi i1 [ %.038142, %259 ], [ %.038142, %291 ], [ true, %281 ], [ %.038142, %269 ]
  %294 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #6
  %295 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @y) #6
  store ptr %295, ptr %28, align 8
  %296 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #6
  %297 = load i32, ptr @dt, align 4
  %298 = icmp ne i32 %.471, %297
  %or.cond104.not = select i1 %296, i1 %298, i1 false
  br i1 %or.cond104.not, label %.lr.ph144, label %._crit_edge145, !llvm.loop !19

299:                                              ; preds = %290, %287
  %300 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #6
  br label %306

._crit_edge145:                                   ; preds = %293, %249
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #6
  %301 = call noundef i64 @_ZNKSt6vectorISt4pairIiiESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  %302 = load i32, ptr @n, align 4, !tbaa !5
  %303 = add nsw i32 %302, -1
  %304 = sext i32 %303 to i64
  %305 = icmp ult i64 %301, %304
  br i1 %305, label %.sink.split, label %309

306:                                              ; preds = %271, %283, %299, %260
  %.pn81.pn = phi { ptr, i32 } [ %261, %260 ], [ %300, %299 ], [ %272, %271 ], [ %284, %283 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #6
  br label %313

307:                                              ; preds = %309
  %308 = landingpad { ptr, i32 }
          cleanup
  br label %313

309:                                              ; preds = %._crit_edge145
  %310 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.8)
  invoke void @_Z5printRSt6vectorISt4pairIiiESaIS1_EE(ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %312 unwind label %307

.sink.split:                                      ; preds = %._crit_edge145, %196, %193
  %311 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.7)
  br label %312

312:                                              ; preds = %.sink.split, %309, %204
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %18) #6
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #6
  br label %315

313:                                              ; preds = %255, %307, %306, %248, %206, %194, %192
  %.pn87.pn = phi { ptr, i32 } [ %.pn87, %192 ], [ %195, %194 ], [ %207, %206 ], [ %.pn.pn, %248 ], [ %256, %255 ], [ %308, %307 ], [ %.pn81.pn, %306 ]
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %18) #6
  br label %314

314:                                              ; preds = %313, %150
  %.pn90.pn = phi { ptr, i32 } [ %.pn90, %150 ], [ %.pn87.pn, %313 ]
  call void @_ZNSt3setIiSt4lessIiESaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #6
  br label %316

315:                                              ; preds = %312, %103
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  ret i32 0

316:                                              ; preds = %314, %105, %101
  %.pn93.pn = phi { ptr, i32 } [ %.pn93, %101 ], [ %.pn90.pn, %314 ], [ %106, %105 ]
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  resume { ptr, i32 } %.pn93.pn
}

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_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: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt3setIiSt4lessIiESaIiEE5countERKi(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 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 = { 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 #5 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{!13, !6, i64 0}
!13 = !{!"_ZTSSt4pairIiiE", !6, i64 0, !6, i64 4}
!14 = !{!13, !6, i64 4}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}


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