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

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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<std::pair<int, int>, int>, std::allocator<std::pair<std::pair<int, int>, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<std::pair<int, int>, int>, std::allocator<std::pair<std::pair<int, int>, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<std::pair<int, int>, int>, std::allocator<std::pair<std::pair<int, int>, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<std::pair<int, int>, int>, std::allocator<std::pair<std::pair<int, int>, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { %"struct.std::pair.0", i32 }
%"struct.std::pair.0" = type { i32, i32 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z6rotateRiS_i(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) #0

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

55:                                               ; preds = %490, %0
  %56 = load i32, ptr %8, align 4, !tbaa !5
  %57 = icmp slt i32 %56, 2
  br i1 %57, label %59, label %58

58:                                               ; preds = %55
  store i32 2, ptr %9, align 4
  br label %493

59:                                               ; preds = %55
  %60 = load i32, ptr %8, align 4, !tbaa !5
  call void @_Z6rotateRiS_i(ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 4 dereferenceable(4) %3, i32 noundef %60)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %61

61:                                               ; preds = %484, %59
  %62 = load i32, ptr %10, align 4, !tbaa !5
  %63 = icmp slt i32 %62, 2
  br i1 %63, label %65, label %64

64:                                               ; preds = %61
  store i32 5, ptr %9, align 4
  br label %487

65:                                               ; preds = %61
  %66 = load i32, ptr %10, align 4, !tbaa !5
  call void @_Z6rotateRiS_i(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %5, i32 noundef %66)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %67

67:                                               ; preds = %477, %65
  %68 = load i32, ptr %11, align 4, !tbaa !5
  %69 = icmp slt i32 %68, 2
  br i1 %69, label %71, label %70

70:                                               ; preds = %67
  store i32 8, ptr %9, align 4
  br label %481

71:                                               ; preds = %67
  %72 = load i32, ptr %11, align 4, !tbaa !5
  call void @_Z6rotateRiS_i(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7, i32 noundef %72)
  %73 = load i32, ptr %2, align 4, !tbaa !5
  %74 = load i32, ptr %4, align 4, !tbaa !5
  %75 = icmp eq i32 %73, %74
  br i1 %75, label %76, label %158

76:                                               ; preds = %71
  %77 = load i32, ptr %4, align 4, !tbaa !5
  %78 = load i32, ptr %6, align 4, !tbaa !5
  %79 = icmp eq i32 %77, %78
  br i1 %79, label %80, label %158

80:                                               ; preds = %76
  %81 = load i32, ptr %2, align 4, !tbaa !5
  %82 = load i32, ptr %3, align 4, !tbaa !5
  %83 = load i32, ptr %5, align 4, !tbaa !5
  %84 = add nsw i32 %82, %83
  %85 = load i32, ptr %7, align 4, !tbaa !5
  %86 = add nsw i32 %84, %85
  %87 = icmp eq i32 %81, %86
  br i1 %87, label %88, label %158

88:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %89 = load i32, ptr %2, align 4, !tbaa !5
  store i32 %89, ptr %12, align 4, !tbaa !5
  %90 = load i32, ptr %12, align 4, !tbaa !5
  %91 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %90)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %92

92:                                               ; preds = %110, %88
  %93 = load i32, ptr %13, align 4, !tbaa !5
  %94 = load i32, ptr %3, align 4, !tbaa !5
  %95 = icmp slt i32 %93, %94
  br i1 %95, label %97, label %96

96:                                               ; preds = %92
  store i32 11, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %113

97:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %98

98:                                               ; preds = %105, %97
  %99 = load i32, ptr %14, align 4, !tbaa !5
  %100 = load i32, ptr %12, align 4, !tbaa !5
  %101 = icmp slt i32 %99, %100
  br i1 %101, label %103, label %102

102:                                              ; preds = %98
  store i32 14, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %108

103:                                              ; preds = %98
  %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  br label %105

105:                                              ; preds = %103
  %106 = load i32, ptr %14, align 4, !tbaa !5
  %107 = add nsw i32 %106, 1
  store i32 %107, ptr %14, align 4, !tbaa !5
  br label %98, !llvm.loop !9

108:                                              ; preds = %102
  %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %110

110:                                              ; preds = %108
  %111 = load i32, ptr %13, align 4, !tbaa !5
  %112 = add nsw i32 %111, 1
  store i32 %112, ptr %13, align 4, !tbaa !5
  br label %92, !llvm.loop !11

113:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %114

114:                                              ; preds = %132, %113
  %115 = load i32, ptr %15, align 4, !tbaa !5
  %116 = load i32, ptr %5, align 4, !tbaa !5
  %117 = icmp slt i32 %115, %116
  br i1 %117, label %119, label %118

118:                                              ; preds = %114
  store i32 17, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %135

119:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %120

120:                                              ; preds = %127, %119
  %121 = load i32, ptr %16, align 4, !tbaa !5
  %122 = load i32, ptr %12, align 4, !tbaa !5
  %123 = icmp slt i32 %121, %122
  br i1 %123, label %125, label %124

124:                                              ; preds = %120
  store i32 20, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %130

125:                                              ; preds = %120
  %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %127

127:                                              ; preds = %125
  %128 = load i32, ptr %16, align 4, !tbaa !5
  %129 = add nsw i32 %128, 1
  store i32 %129, ptr %16, align 4, !tbaa !5
  br label %120, !llvm.loop !12

130:                                              ; preds = %124
  %131 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %132

132:                                              ; preds = %130
  %133 = load i32, ptr %15, align 4, !tbaa !5
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %15, align 4, !tbaa !5
  br label %114, !llvm.loop !13

135:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %136

136:                                              ; preds = %154, %135
  %137 = load i32, ptr %17, align 4, !tbaa !5
  %138 = load i32, ptr %7, align 4, !tbaa !5
  %139 = icmp slt i32 %137, %138
  br i1 %139, label %141, label %140

140:                                              ; preds = %136
  store i32 23, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %157

141:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %142

142:                                              ; preds = %149, %141
  %143 = load i32, ptr %18, align 4, !tbaa !5
  %144 = load i32, ptr %12, align 4, !tbaa !5
  %145 = icmp slt i32 %143, %144
  br i1 %145, label %147, label %146

146:                                              ; preds = %142
  store i32 26, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %152

147:                                              ; preds = %142
  %148 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  br label %149

149:                                              ; preds = %147
  %150 = load i32, ptr %18, align 4, !tbaa !5
  %151 = add nsw i32 %150, 1
  store i32 %151, ptr %18, align 4, !tbaa !5
  br label %142, !llvm.loop !14

152:                                              ; preds = %146
  %153 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %154

154:                                              ; preds = %152
  %155 = load i32, ptr %17, align 4, !tbaa !5
  %156 = add nsw i32 %155, 1
  store i32 %156, ptr %17, align 4, !tbaa !5
  br label %136, !llvm.loop !15

157:                                              ; preds = %140
  store i32 0, ptr %1, align 4
  store i32 1, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %481

158:                                              ; preds = %80, %76, %71
  %159 = load i32, ptr %2, align 4, !tbaa !5
  %160 = load i32, ptr %4, align 4, !tbaa !5
  %161 = add nsw i32 %159, %160
  %162 = load i32, ptr %6, align 4, !tbaa !5
  %163 = add nsw i32 %161, %162
  %164 = load i32, ptr %3, align 4, !tbaa !5
  %165 = icmp eq i32 %163, %164
  br i1 %165, label %166, label %221

166:                                              ; preds = %158
  %167 = load i32, ptr %3, align 4, !tbaa !5
  %168 = load i32, ptr %5, align 4, !tbaa !5
  %169 = icmp eq i32 %167, %168
  %170 = zext i1 %169 to i32
  %171 = load i32, ptr %7, align 4, !tbaa !5
  %172 = icmp eq i32 %170, %171
  br i1 %172, label %173, label %221

173:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %174 = load i32, ptr %3, align 4, !tbaa !5
  store i32 %174, ptr %19, align 4, !tbaa !5
  %175 = load i32, ptr %19, align 4, !tbaa !5
  %176 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %175)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %177

177:                                              ; preds = %217, %173
  %178 = load i32, ptr %20, align 4, !tbaa !5
  %179 = load i32, ptr %19, align 4, !tbaa !5
  %180 = icmp slt i32 %178, %179
  br i1 %180, label %182, label %181

181:                                              ; preds = %177
  store i32 29, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %220

182:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  store i32 0, ptr %21, align 4, !tbaa !5
  br label %183

183:                                              ; preds = %190, %182
  %184 = load i32, ptr %21, align 4, !tbaa !5
  %185 = load i32, ptr %2, align 4, !tbaa !5
  %186 = icmp slt i32 %184, %185
  br i1 %186, label %188, label %187

187:                                              ; preds = %183
  store i32 32, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %193

188:                                              ; preds = %183
  %189 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  br label %190

190:                                              ; preds = %188
  %191 = load i32, ptr %21, align 4, !tbaa !5
  %192 = add nsw i32 %191, 1
  store i32 %192, ptr %21, align 4, !tbaa !5
  br label %183, !llvm.loop !16

193:                                              ; preds = %187
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %194

194:                                              ; preds = %201, %193
  %195 = load i32, ptr %22, align 4, !tbaa !5
  %196 = load i32, ptr %4, align 4, !tbaa !5
  %197 = icmp slt i32 %195, %196
  br i1 %197, label %199, label %198

198:                                              ; preds = %194
  store i32 35, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  br label %204

199:                                              ; preds = %194
  %200 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %201

201:                                              ; preds = %199
  %202 = load i32, ptr %22, align 4, !tbaa !5
  %203 = add nsw i32 %202, 1
  store i32 %203, ptr %22, align 4, !tbaa !5
  br label %194, !llvm.loop !17

204:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %205

205:                                              ; preds = %212, %204
  %206 = load i32, ptr %23, align 4, !tbaa !5
  %207 = load i32, ptr %6, align 4, !tbaa !5
  %208 = icmp slt i32 %206, %207
  br i1 %208, label %210, label %209

209:                                              ; preds = %205
  store i32 38, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  br label %215

210:                                              ; preds = %205
  %211 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  br label %212

212:                                              ; preds = %210
  %213 = load i32, ptr %23, align 4, !tbaa !5
  %214 = add nsw i32 %213, 1
  store i32 %214, ptr %23, align 4, !tbaa !5
  br label %205, !llvm.loop !18

215:                                              ; preds = %209
  %216 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %217

217:                                              ; preds = %215
  %218 = load i32, ptr %20, align 4, !tbaa !5
  %219 = add nsw i32 %218, 1
  store i32 %219, ptr %20, align 4, !tbaa !5
  br label %177, !llvm.loop !19

220:                                              ; preds = %181
  store i32 0, ptr %1, align 4
  store i32 1, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %481

221:                                              ; preds = %166, %158
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #7
  call void @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %222 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %223 unwind label %303

223:                                              ; preds = %221
  store i64 %222, ptr %26, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  store i32 1, ptr %29, align 4, !tbaa !5
  %224 = invoke { i64, i32 } @_ZSt9make_pairISt4pairIiiEiES0_INSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(8) %26, ptr noundef nonnull align 4 dereferenceable(4) %29)
          to label %225 unwind label %307

225:                                              ; preds = %223
  store { i64, i32 } %224, ptr %30, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 8 %30, i64 12, i1 false)
  invoke void @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 4 dereferenceable(12) %25)
          to label %226 unwind label %307

226:                                              ; preds = %225
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %31) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %227 = invoke 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)
          to label %228 unwind label %312

228:                                              ; preds = %226
  store i64 %227, ptr %32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #7
  store i32 2, ptr %33, align 4, !tbaa !5
  %229 = invoke { i64, i32 } @_ZSt9make_pairISt4pairIiiEiES0_INSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(8) %32, ptr noundef nonnull align 4 dereferenceable(4) %33)
          to label %230 unwind label %316

230:                                              ; preds = %228
  store { i64, i32 } %229, ptr %34, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 8 %34, i64 12, i1 false)
  invoke void @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 4 dereferenceable(12) %31)
          to label %231 unwind label %316

231:                                              ; preds = %230
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %31) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %35) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  %232 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %233 unwind label %321

233:                                              ; preds = %231
  store i64 %232, ptr %36, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #7
  store i32 3, ptr %37, align 4, !tbaa !5
  %234 = invoke { i64, i32 } @_ZSt9make_pairISt4pairIiiEiES0_INSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(8) %36, ptr noundef nonnull align 4 dereferenceable(4) %37)
          to label %235 unwind label %325

235:                                              ; preds = %233
  store { i64, i32 } %234, ptr %38, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 8 %38, i64 12, i1 false)
  invoke void @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 4 dereferenceable(12) %35)
          to label %236 unwind label %325

236:                                              ; preds = %235
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %35) #7
  %237 = call ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %238 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %39, i32 0, i32 0
  store ptr %237, ptr %238, align 8
  %239 = call ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %240 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %40, i32 0, i32 0
  store ptr %239, ptr %240, align 8
  %241 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %39, i32 0, i32 0
  %242 = load ptr, ptr %241, align 8
  %243 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %40, i32 0, i32 0
  %244 = load ptr, ptr %243, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIS2_IiiEiESt6vectorIS4_SaIS4_EEEEEvT_SA_(ptr %242, ptr %244)
          to label %245 unwind label %330

245:                                              ; preds = %236
  %246 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 2) #7
  %247 = getelementptr inbounds %"struct.std::pair", ptr %246, i32 0, i32 0
  %248 = getelementptr inbounds %"struct.std::pair.0", ptr %247, i32 0, i32 0
  %249 = load i32, ptr %248, align 4, !tbaa !20
  %250 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 0) #7
  %251 = getelementptr inbounds %"struct.std::pair", ptr %250, i32 0, i32 0
  %252 = getelementptr inbounds %"struct.std::pair.0", ptr %251, i32 0, i32 0
  %253 = load i32, ptr %252, align 4, !tbaa !20
  %254 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 1) #7
  %255 = getelementptr inbounds %"struct.std::pair", ptr %254, i32 0, i32 0
  %256 = getelementptr inbounds %"struct.std::pair.0", ptr %255, i32 0, i32 0
  %257 = load i32, ptr %256, align 4, !tbaa !20
  %258 = add nsw i32 %253, %257
  %259 = icmp eq i32 %249, %258
  br i1 %259, label %260, label %473

260:                                              ; preds = %245
  %261 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 0) #7
  %262 = getelementptr inbounds %"struct.std::pair", ptr %261, i32 0, i32 0
  %263 = getelementptr inbounds %"struct.std::pair.0", ptr %262, i32 0, i32 1
  %264 = load i32, ptr %263, align 4, !tbaa !23
  %265 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 1) #7
  %266 = getelementptr inbounds %"struct.std::pair", ptr %265, i32 0, i32 0
  %267 = getelementptr inbounds %"struct.std::pair.0", ptr %266, i32 0, i32 1
  %268 = load i32, ptr %267, align 4, !tbaa !23
  %269 = icmp eq i32 %264, %268
  br i1 %269, label %270, label %473

270:                                              ; preds = %260
  %271 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 0) #7
  %272 = getelementptr inbounds %"struct.std::pair", ptr %271, i32 0, i32 0
  %273 = getelementptr inbounds %"struct.std::pair.0", ptr %272, i32 0, i32 1
  %274 = load i32, ptr %273, align 4, !tbaa !23
  %275 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 2) #7
  %276 = getelementptr inbounds %"struct.std::pair", ptr %275, i32 0, i32 0
  %277 = getelementptr inbounds %"struct.std::pair.0", ptr %276, i32 0, i32 1
  %278 = load i32, ptr %277, align 4, !tbaa !23
  %279 = add nsw i32 %274, %278
  %280 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 2) #7
  %281 = getelementptr inbounds %"struct.std::pair", ptr %280, i32 0, i32 0
  %282 = getelementptr inbounds %"struct.std::pair.0", ptr %281, i32 0, i32 0
  %283 = load i32, ptr %282, align 4, !tbaa !20
  %284 = icmp eq i32 %279, %283
  br i1 %284, label %285, label %473

285:                                              ; preds = %270
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #7
  %286 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 2) #7
  %287 = getelementptr inbounds %"struct.std::pair", ptr %286, i32 0, i32 0
  %288 = getelementptr inbounds %"struct.std::pair.0", ptr %287, i32 0, i32 0
  %289 = load i32, ptr %288, align 4, !tbaa !20
  store i32 %289, ptr %41, align 4, !tbaa !5
  %290 = load i32, ptr %41, align 4, !tbaa !5
  %291 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %290)
          to label %292 unwind label %334

292:                                              ; preds = %285
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #7
  store i32 0, ptr %42, align 4, !tbaa !5
  br label %293

293:                                              ; preds = %411, %292
  %294 = load i32, ptr %42, align 4, !tbaa !5
  %295 = load i32, ptr %41, align 4, !tbaa !5
  %296 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 2) #7
  %297 = getelementptr inbounds %"struct.std::pair", ptr %296, i32 0, i32 0
  %298 = getelementptr inbounds %"struct.std::pair.0", ptr %297, i32 0, i32 1
  %299 = load i32, ptr %298, align 4, !tbaa !23
  %300 = sub nsw i32 %295, %299
  %301 = icmp slt i32 %294, %300
  br i1 %301, label %338, label %302

302:                                              ; preds = %293
  store i32 41, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #7
  br label %419

303:                                              ; preds = %221
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %27, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %28, align 4
  br label %311

307:                                              ; preds = %225, %223
  %308 = landingpad { ptr, i32 }
          cleanup
  %309 = extractvalue { ptr, i32 } %308, 0
  store ptr %309, ptr %27, align 8
  %310 = extractvalue { ptr, i32 } %308, 1
  store i32 %310, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  br label %311

311:                                              ; preds = %307, %303
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %25) #7
  br label %480

312:                                              ; preds = %226
  %313 = landingpad { ptr, i32 }
          cleanup
  %314 = extractvalue { ptr, i32 } %313, 0
  store ptr %314, ptr %27, align 8
  %315 = extractvalue { ptr, i32 } %313, 1
  store i32 %315, ptr %28, align 4
  br label %320

316:                                              ; preds = %230, %228
  %317 = landingpad { ptr, i32 }
          cleanup
  %318 = extractvalue { ptr, i32 } %317, 0
  store ptr %318, ptr %27, align 8
  %319 = extractvalue { ptr, i32 } %317, 1
  store i32 %319, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #7
  br label %320

320:                                              ; preds = %316, %312
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %31) #7
  br label %480

321:                                              ; preds = %231
  %322 = landingpad { ptr, i32 }
          cleanup
  %323 = extractvalue { ptr, i32 } %322, 0
  store ptr %323, ptr %27, align 8
  %324 = extractvalue { ptr, i32 } %322, 1
  store i32 %324, ptr %28, align 4
  br label %329

325:                                              ; preds = %235, %233
  %326 = landingpad { ptr, i32 }
          cleanup
  %327 = extractvalue { ptr, i32 } %326, 0
  store ptr %327, ptr %27, align 8
  %328 = extractvalue { ptr, i32 } %326, 1
  store i32 %328, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #7
  br label %329

329:                                              ; preds = %325, %321
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %35) #7
  br label %480

330:                                              ; preds = %236
  %331 = landingpad { ptr, i32 }
          cleanup
  %332 = extractvalue { ptr, i32 } %331, 0
  store ptr %332, ptr %27, align 8
  %333 = extractvalue { ptr, i32 } %331, 1
  store i32 %333, ptr %28, align 4
  br label %480

334:                                              ; preds = %285
  %335 = landingpad { ptr, i32 }
          cleanup
  %336 = extractvalue { ptr, i32 } %335, 0
  store ptr %336, ptr %27, align 8
  %337 = extractvalue { ptr, i32 } %335, 1
  store i32 %337, ptr %28, align 4
  br label %472

338:                                              ; preds = %293
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #7
  %339 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 0) #7
  %340 = getelementptr inbounds %"struct.std::pair", ptr %339, i32 0, i32 1
  %341 = load i32, ptr %340, align 4, !tbaa !24
  %342 = icmp eq i32 %341, 1
  br i1 %342, label %343, label %344

343:                                              ; preds = %338
  store i8 65, ptr %43, align 1, !tbaa !25
  br label %352

344:                                              ; preds = %338
  %345 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 0) #7
  %346 = getelementptr inbounds %"struct.std::pair", ptr %345, i32 0, i32 1
  %347 = load i32, ptr %346, align 4, !tbaa !24
  %348 = icmp eq i32 %347, 2
  br i1 %348, label %349, label %350

349:                                              ; preds = %344
  store i8 66, ptr %43, align 1, !tbaa !25
  br label %351

350:                                              ; preds = %344
  store i8 67, ptr %43, align 1, !tbaa !25
  br label %351

351:                                              ; preds = %350, %349
  br label %352

352:                                              ; preds = %351, %343
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #7
  store i32 0, ptr %44, align 4, !tbaa !5
  br label %353

353:                                              ; preds = %366, %352
  %354 = load i32, ptr %44, align 4, !tbaa !5
  %355 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 0) #7
  %356 = getelementptr inbounds %"struct.std::pair", ptr %355, i32 0, i32 0
  %357 = getelementptr inbounds %"struct.std::pair.0", ptr %356, i32 0, i32 0
  %358 = load i32, ptr %357, align 4, !tbaa !20
  %359 = icmp slt i32 %354, %358
  br i1 %359, label %361, label %360

360:                                              ; preds = %353
  store i32 44, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #7
  br label %373

361:                                              ; preds = %353
  %362 = load i8, ptr %43, align 1, !tbaa !25
  %363 = sext i8 %362 to i32
  %364 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %363)
          to label %365 unwind label %369

365:                                              ; preds = %361
  br label %366

366:                                              ; preds = %365
  %367 = load i32, ptr %44, align 4, !tbaa !5
  %368 = add nsw i32 %367, 1
  store i32 %368, ptr %44, align 4, !tbaa !5
  br label %353, !llvm.loop !26

369:                                              ; preds = %361
  %370 = landingpad { ptr, i32 }
          cleanup
  %371 = extractvalue { ptr, i32 } %370, 0
  store ptr %371, ptr %27, align 8
  %372 = extractvalue { ptr, i32 } %370, 1
  store i32 %372, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #7
  br label %418

373:                                              ; preds = %360
  %374 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 1) #7
  %375 = getelementptr inbounds %"struct.std::pair", ptr %374, i32 0, i32 1
  %376 = load i32, ptr %375, align 4, !tbaa !24
  %377 = icmp eq i32 %376, 1
  br i1 %377, label %378, label %379

378:                                              ; preds = %373
  store i8 65, ptr %43, align 1, !tbaa !25
  br label %387

379:                                              ; preds = %373
  %380 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 1) #7
  %381 = getelementptr inbounds %"struct.std::pair", ptr %380, i32 0, i32 1
  %382 = load i32, ptr %381, align 4, !tbaa !24
  %383 = icmp eq i32 %382, 2
  br i1 %383, label %384, label %385

384:                                              ; preds = %379
  store i8 66, ptr %43, align 1, !tbaa !25
  br label %386

385:                                              ; preds = %379
  store i8 67, ptr %43, align 1, !tbaa !25
  br label %386

386:                                              ; preds = %385, %384
  br label %387

387:                                              ; preds = %386, %378
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #7
  store i32 0, ptr %45, align 4, !tbaa !5
  br label %388

388:                                              ; preds = %401, %387
  %389 = load i32, ptr %45, align 4, !tbaa !5
  %390 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 1) #7
  %391 = getelementptr inbounds %"struct.std::pair", ptr %390, i32 0, i32 0
  %392 = getelementptr inbounds %"struct.std::pair.0", ptr %391, i32 0, i32 0
  %393 = load i32, ptr %392, align 4, !tbaa !20
  %394 = icmp slt i32 %389, %393
  br i1 %394, label %396, label %395

395:                                              ; preds = %388
  store i32 47, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #7
  br label %408

396:                                              ; preds = %388
  %397 = load i8, ptr %43, align 1, !tbaa !25
  %398 = sext i8 %397 to i32
  %399 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %398)
          to label %400 unwind label %404

400:                                              ; preds = %396
  br label %401

401:                                              ; preds = %400
  %402 = load i32, ptr %45, align 4, !tbaa !5
  %403 = add nsw i32 %402, 1
  store i32 %403, ptr %45, align 4, !tbaa !5
  br label %388, !llvm.loop !27

404:                                              ; preds = %396
  %405 = landingpad { ptr, i32 }
          cleanup
  %406 = extractvalue { ptr, i32 } %405, 0
  store ptr %406, ptr %27, align 8
  %407 = extractvalue { ptr, i32 } %405, 1
  store i32 %407, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #7
  br label %418

408:                                              ; preds = %395
  %409 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2)
          to label %410 unwind label %414

410:                                              ; preds = %408
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #7
  br label %411

411:                                              ; preds = %410
  %412 = load i32, ptr %42, align 4, !tbaa !5
  %413 = add nsw i32 %412, 1
  store i32 %413, ptr %42, align 4, !tbaa !5
  br label %293, !llvm.loop !28

414:                                              ; preds = %408
  %415 = landingpad { ptr, i32 }
          cleanup
  %416 = extractvalue { ptr, i32 } %415, 0
  store ptr %416, ptr %27, align 8
  %417 = extractvalue { ptr, i32 } %415, 1
  store i32 %417, ptr %28, align 4
  br label %418

418:                                              ; preds = %414, %404, %369
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #7
  br label %472

419:                                              ; preds = %302
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #7
  store i32 0, ptr %46, align 4, !tbaa !5
  br label %420

420:                                              ; preds = %463, %419
  %421 = load i32, ptr %46, align 4, !tbaa !5
  %422 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 2) #7
  %423 = getelementptr inbounds %"struct.std::pair", ptr %422, i32 0, i32 0
  %424 = getelementptr inbounds %"struct.std::pair.0", ptr %423, i32 0, i32 1
  %425 = load i32, ptr %424, align 4, !tbaa !23
  %426 = icmp slt i32 %421, %425
  br i1 %426, label %428, label %427

427:                                              ; preds = %420
  store i32 50, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #7
  br label %471

428:                                              ; preds = %420
  call void @llvm.lifetime.start.p0(i64 1, ptr %47) #7
  %429 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 2) #7
  %430 = getelementptr inbounds %"struct.std::pair", ptr %429, i32 0, i32 1
  %431 = load i32, ptr %430, align 4, !tbaa !24
  %432 = icmp eq i32 %431, 1
  br i1 %432, label %433, label %434

433:                                              ; preds = %428
  store i8 65, ptr %47, align 1, !tbaa !25
  br label %442

434:                                              ; preds = %428
  %435 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 2) #7
  %436 = getelementptr inbounds %"struct.std::pair", ptr %435, i32 0, i32 1
  %437 = load i32, ptr %436, align 4, !tbaa !24
  %438 = icmp eq i32 %437, 2
  br i1 %438, label %439, label %440

439:                                              ; preds = %434
  store i8 66, ptr %47, align 1, !tbaa !25
  br label %441

440:                                              ; preds = %434
  store i8 67, ptr %47, align 1, !tbaa !25
  br label %441

441:                                              ; preds = %440, %439
  br label %442

442:                                              ; preds = %441, %433
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #7
  store i32 0, ptr %48, align 4, !tbaa !5
  br label %443

443:                                              ; preds = %453, %442
  %444 = load i32, ptr %48, align 4, !tbaa !5
  %445 = load i32, ptr %41, align 4, !tbaa !5
  %446 = icmp slt i32 %444, %445
  br i1 %446, label %448, label %447

447:                                              ; preds = %443
  store i32 53, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #7
  br label %460

448:                                              ; preds = %443
  %449 = load i8, ptr %47, align 1, !tbaa !25
  %450 = sext i8 %449 to i32
  %451 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %450)
          to label %452 unwind label %456

452:                                              ; preds = %448
  br label %453

453:                                              ; preds = %452
  %454 = load i32, ptr %48, align 4, !tbaa !5
  %455 = add nsw i32 %454, 1
  store i32 %455, ptr %48, align 4, !tbaa !5
  br label %443, !llvm.loop !29

456:                                              ; preds = %448
  %457 = landingpad { ptr, i32 }
          cleanup
  %458 = extractvalue { ptr, i32 } %457, 0
  store ptr %458, ptr %27, align 8
  %459 = extractvalue { ptr, i32 } %457, 1
  store i32 %459, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #7
  br label %470

460:                                              ; preds = %447
  %461 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2)
          to label %462 unwind label %466

462:                                              ; preds = %460
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #7
  br label %463

463:                                              ; preds = %462
  %464 = load i32, ptr %46, align 4, !tbaa !5
  %465 = add nsw i32 %464, 1
  store i32 %465, ptr %46, align 4, !tbaa !5
  br label %420, !llvm.loop !30

466:                                              ; preds = %460
  %467 = landingpad { ptr, i32 }
          cleanup
  %468 = extractvalue { ptr, i32 } %467, 0
  store ptr %468, ptr %27, align 8
  %469 = extractvalue { ptr, i32 } %467, 1
  store i32 %469, ptr %28, align 4
  br label %470

470:                                              ; preds = %466, %456
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #7
  br label %472

471:                                              ; preds = %427
  store i32 0, ptr %1, align 4
  store i32 1, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #7
  br label %474

472:                                              ; preds = %470, %418, %334
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #7
  br label %480

473:                                              ; preds = %270, %260, %245
  store i32 0, ptr %9, align 4
  br label %474

474:                                              ; preds = %473, %471
  call void @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #7
  %475 = load i32, ptr %9, align 4
  switch i32 %475, label %481 [
    i32 0, label %476
  ]

476:                                              ; preds = %474
  br label %477

477:                                              ; preds = %476
  %478 = load i32, ptr %11, align 4, !tbaa !5
  %479 = add nsw i32 %478, 1
  store i32 %479, ptr %11, align 4, !tbaa !5
  br label %67, !llvm.loop !31

480:                                              ; preds = %472, %330, %329, %320, %311
  call void @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  br label %499

481:                                              ; preds = %474, %220, %157, %70
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  %482 = load i32, ptr %9, align 4
  switch i32 %482, label %487 [
    i32 8, label %483
  ]

483:                                              ; preds = %481
  br label %484

484:                                              ; preds = %483
  %485 = load i32, ptr %10, align 4, !tbaa !5
  %486 = add nsw i32 %485, 1
  store i32 %486, ptr %10, align 4, !tbaa !5
  br label %61, !llvm.loop !32

487:                                              ; preds = %481, %64
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  %488 = load i32, ptr %9, align 4
  switch i32 %488, label %493 [
    i32 5, label %489
  ]

489:                                              ; preds = %487
  br label %490

490:                                              ; preds = %489
  %491 = load i32, ptr %8, align 4, !tbaa !5
  %492 = add nsw i32 %491, 1
  store i32 %492, ptr %8, align 4, !tbaa !5
  br label %55, !llvm.loop !33

493:                                              ; preds = %487, %58
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  %494 = load i32, ptr %9, align 4
  switch i32 %494, label %497 [
    i32 2, label %495
  ]

495:                                              ; preds = %493
  %496 = call i32 @puts(ptr noundef @.str.6)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %9, align 4
  br label %497

497:                                              ; preds = %495, %493
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  %498 = load i32, ptr %1, align 4
  ret i32 %498

499:                                              ; preds = %480
  %500 = load ptr, ptr %27, align 8
  %501 = load i32, ptr %28, align 4
  %502 = insertvalue { ptr, i32 } poison, ptr %500, 0
  %503 = insertvalue { ptr, i32 } %502, i32 %501, 1
  resume { ptr, i32 } %503
}

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #3

declare i32 @printf(ptr noundef, ...) #3

; 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 @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local { i64, i32 } @_ZSt9make_pairISt4pairIiiEiES0_INSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) #4

; 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)) #4

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

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

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

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

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

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

declare i32 @puts(ptr noundef) #3

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 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = !{!21, !6, i64 0}
!21 = !{!"_ZTSSt4pairIS_IiiEiE", !22, i64 0, !6, i64 8}
!22 = !{!"_ZTSSt4pairIiiE", !6, i64 0, !6, i64 4}
!23 = !{!21, !6, i64 4}
!24 = !{!21, !6, i64 8}
!25 = !{!7, !7, i64 0}
!26 = distinct !{!26, !10}
!27 = distinct !{!27, !10}
!28 = distinct !{!28, !10}
!29 = distinct !{!29, !10}
!30 = distinct !{!30, !10}
!31 = distinct !{!31, !10}
!32 = distinct !{!32, !10}
!33 = distinct !{!33, !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::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<std::pair<int, int>, int>, std::allocator<std::pair<std::pair<int, int>, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<std::pair<int, int>, int>, std::allocator<std::pair<std::pair<int, int>, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<std::pair<int, int>, int>, std::allocator<std::pair<std::pair<int, int>, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<std::pair<int, int>, int>, std::allocator<std::pair<std::pair<int, int>, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { %"struct.std::pair.0", i32 }
%"struct.std::pair.0" = type { i32, i32 }

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z6rotateRiS_i(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 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 i32, align 4
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca %"struct.std::pair", align 8
  %9 = alloca %"struct.std::pair.0", align 8
  %10 = alloca i32, align 4
  %11 = alloca %"struct.std::pair", align 8
  %12 = alloca %"struct.std::pair.0", align 8
  %13 = alloca i32, align 4
  %14 = alloca %"struct.std::pair", align 8
  %15 = alloca %"struct.std::pair.0", align 8
  %16 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  %17 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %18 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %19 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %20 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %.sroa.228.0..sroa_idx = getelementptr inbounds i8, ptr %8, i64 8
  %.sroa.224.0..sroa_idx = getelementptr inbounds i8, ptr %11, i64 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %14, i64 8
  br label %23

23:                                               ; preds = %0, %.critedge119
  %.not187 = phi i1 [ true, %0 ], [ false, %.critedge119 ]
  %.078151 = phi i32 [ 0, %0 ], [ 1, %.critedge119 ]
  call void @_Z6rotateRiS_i(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 4 dereferenceable(4) %2, i32 noundef %.078151)
  br label %24

24:                                               ; preds = %23, %.critedge117
  %.not186 = phi i1 [ true, %23 ], [ false, %.critedge117 ]
  %.083150 = phi i32 [ 0, %23 ], [ 1, %.critedge117 ]
  call void @_Z6rotateRiS_i(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %4, i32 noundef %.083150)
  call void @_Z6rotateRiS_i(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6, i32 noundef 0)
  %25 = load i32, ptr %1, align 4, !tbaa !5
  %26 = load i32, ptr %3, align 4, !tbaa !5
  %27 = icmp eq i32 %25, %26
  %28 = load i32, ptr %5, align 4
  %29 = icmp eq i32 %26, %28
  %or.cond = select i1 %27, i1 %29, i1 false
  %.pre = load i32, ptr %2, align 4, !tbaa !5
  br i1 %or.cond, label %30, label %80

30:                                               ; preds = %24
  %31 = load i32, ptr %4, align 4, !tbaa !5
  %32 = add nsw i32 %31, %.pre
  %33 = load i32, ptr %6, align 4, !tbaa !5
  %34 = add nsw i32 %32, %33
  %35 = icmp eq i32 %25, %34
  br i1 %35, label %36, label %80

36:                                               ; preds = %257, %30
  %.lcssa = phi i32 [ %25, %30 ], [ %252, %257 ]
  %37 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %.lcssa)
  %38 = load i32, ptr %2, align 4, !tbaa !5
  %39 = icmp sgt i32 %38, 0
  br i1 %39, label %.preheader125.lr.ph, label %.preheader124

.preheader125.lr.ph:                              ; preds = %36
  %40 = icmp sgt i32 %.lcssa, 0
  br i1 %40, label %.preheader125.us, label %.preheader125

.preheader125.us:                                 ; preds = %.preheader125.lr.ph, %._crit_edge176.us
  %.085177.us = phi i32 [ %45, %._crit_edge176.us ], [ 0, %.preheader125.lr.ph ]
  br label %41

41:                                               ; preds = %.preheader125.us, %41
  %.086174.us = phi i32 [ 0, %.preheader125.us ], [ %43, %41 ]
  %42 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %43 = add nuw nsw i32 %.086174.us, 1
  %exitcond213.not = icmp eq i32 %43, %.lcssa
  br i1 %exitcond213.not, label %._crit_edge176.us, label %41, !llvm.loop !9

._crit_edge176.us:                                ; preds = %41
  %44 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %45 = add nuw nsw i32 %.085177.us, 1
  %46 = load i32, ptr %2, align 4, !tbaa !5
  %47 = icmp slt i32 %45, %46
  br i1 %47, label %.preheader125.us, label %.preheader124, !llvm.loop !11

.preheader125:                                    ; preds = %.preheader125.lr.ph, %.preheader125
  %.085177 = phi i32 [ %49, %.preheader125 ], [ 0, %.preheader125.lr.ph ]
  %48 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %49 = add nuw nsw i32 %.085177, 1
  %50 = load i32, ptr %2, align 4, !tbaa !5
  %51 = icmp slt i32 %49, %50
  br i1 %51, label %.preheader125, label %.preheader124, !llvm.loop !11

.preheader124:                                    ; preds = %.preheader125, %._crit_edge176.us, %36
  %52 = load i32, ptr %4, align 4, !tbaa !5
  %53 = icmp sgt i32 %52, 0
  br i1 %53, label %.preheader123.lr.ph, label %.preheader122

.preheader123.lr.ph:                              ; preds = %.preheader124
  %54 = icmp sgt i32 %.lcssa, 0
  br i1 %54, label %.preheader123.us, label %.preheader123

.preheader123.us:                                 ; preds = %.preheader123.lr.ph, %._crit_edge180.us
  %.087181.us = phi i32 [ %59, %._crit_edge180.us ], [ 0, %.preheader123.lr.ph ]
  br label %55

55:                                               ; preds = %.preheader123.us, %55
  %.088178.us = phi i32 [ 0, %.preheader123.us ], [ %57, %55 ]
  %56 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %57 = add nuw nsw i32 %.088178.us, 1
  %exitcond214.not = icmp eq i32 %57, %.lcssa
  br i1 %exitcond214.not, label %._crit_edge180.us, label %55, !llvm.loop !12

._crit_edge180.us:                                ; preds = %55
  %58 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %59 = add nuw nsw i32 %.087181.us, 1
  %60 = load i32, ptr %4, align 4, !tbaa !5
  %61 = icmp slt i32 %59, %60
  br i1 %61, label %.preheader123.us, label %.preheader122, !llvm.loop !13

.preheader123:                                    ; preds = %.preheader123.lr.ph, %.preheader123
  %.087181 = phi i32 [ %63, %.preheader123 ], [ 0, %.preheader123.lr.ph ]
  %62 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %63 = add nuw nsw i32 %.087181, 1
  %64 = load i32, ptr %4, align 4, !tbaa !5
  %65 = icmp slt i32 %63, %64
  br i1 %65, label %.preheader123, label %.preheader122, !llvm.loop !13

.preheader122:                                    ; preds = %.preheader123, %._crit_edge180.us, %.preheader124
  %66 = load i32, ptr %6, align 4, !tbaa !5
  %67 = icmp sgt i32 %66, 0
  br i1 %67, label %.preheader.lr.ph, label %.loopexit

.preheader.lr.ph:                                 ; preds = %.preheader122
  %68 = icmp sgt i32 %.lcssa, 0
  br i1 %68, label %.preheader.us, label %.preheader

.preheader.us:                                    ; preds = %.preheader.lr.ph, %._crit_edge184.us
  %.0101185.us = phi i32 [ %73, %._crit_edge184.us ], [ 0, %.preheader.lr.ph ]
  br label %69

69:                                               ; preds = %.preheader.us, %69
  %.0102182.us = phi i32 [ 0, %.preheader.us ], [ %71, %69 ]
  %70 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %71 = add nuw nsw i32 %.0102182.us, 1
  %exitcond215.not = icmp eq i32 %71, %.lcssa
  br i1 %exitcond215.not, label %._crit_edge184.us, label %69, !llvm.loop !14

._crit_edge184.us:                                ; preds = %69
  %72 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %73 = add nuw nsw i32 %.0101185.us, 1
  %74 = load i32, ptr %6, align 4, !tbaa !5
  %75 = icmp slt i32 %73, %74
  br i1 %75, label %.preheader.us, label %.loopexit, !llvm.loop !15

.preheader:                                       ; preds = %.preheader.lr.ph, %.preheader
  %.0101185 = phi i32 [ %77, %.preheader ], [ 0, %.preheader.lr.ph ]
  %76 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %77 = add nuw nsw i32 %.0101185, 1
  %78 = load i32, ptr %6, align 4, !tbaa !5
  %79 = icmp slt i32 %77, %78
  br i1 %79, label %.preheader, label %.loopexit, !llvm.loop !15

80:                                               ; preds = %30, %24
  %81 = add nsw i32 %26, %25
  %82 = add nsw i32 %81, %28
  %83 = icmp eq i32 %82, %.pre
  br i1 %83, label %84, label %113

84:                                               ; preds = %80
  %85 = load i32, ptr %4, align 4, !tbaa !5
  %86 = icmp eq i32 %.pre, %85
  %87 = zext i1 %86 to i32
  %88 = load i32, ptr %6, align 4, !tbaa !5
  %89 = icmp eq i32 %88, %87
  br i1 %89, label %90, label %113

90:                                               ; preds = %267, %84
  %.lcssa202 = phi i32 [ %.pre, %84 ], [ %.pre216, %267 ]
  %91 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %.lcssa202)
  %92 = icmp sgt i32 %.lcssa202, 0
  br i1 %92, label %.preheader128, label %.loopexit

.preheader128:                                    ; preds = %90, %._crit_edge172
  %.0100173 = phi i32 [ %108, %._crit_edge172 ], [ 0, %90 ]
  %93 = load i32, ptr %1, align 4, !tbaa !5
  %94 = icmp sgt i32 %93, 0
  br i1 %94, label %.lr.ph167, label %.preheader127

.preheader127:                                    ; preds = %.lr.ph167, %.preheader128
  %95 = load i32, ptr %3, align 4, !tbaa !5
  %96 = icmp sgt i32 %95, 0
  br i1 %96, label %.lr.ph169, label %.preheader126

.lr.ph167:                                        ; preds = %.preheader128, %.lr.ph167
  %.099166 = phi i32 [ %98, %.lr.ph167 ], [ 0, %.preheader128 ]
  %97 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %98 = add nuw nsw i32 %.099166, 1
  %99 = load i32, ptr %1, align 4, !tbaa !5
  %100 = icmp slt i32 %98, %99
  br i1 %100, label %.lr.ph167, label %.preheader127, !llvm.loop !16

.preheader126:                                    ; preds = %.lr.ph169, %.preheader127
  %101 = load i32, ptr %5, align 4, !tbaa !5
  %102 = icmp sgt i32 %101, 0
  br i1 %102, label %.lr.ph171, label %._crit_edge172

.lr.ph169:                                        ; preds = %.preheader127, %.lr.ph169
  %.098168 = phi i32 [ %104, %.lr.ph169 ], [ 0, %.preheader127 ]
  %103 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %104 = add nuw nsw i32 %.098168, 1
  %105 = load i32, ptr %3, align 4, !tbaa !5
  %106 = icmp slt i32 %104, %105
  br i1 %106, label %.lr.ph169, label %.preheader126, !llvm.loop !17

._crit_edge172:                                   ; preds = %.lr.ph171, %.preheader126
  %107 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %108 = add nuw nsw i32 %.0100173, 1
  %exitcond212.not = icmp eq i32 %108, %.lcssa202
  br i1 %exitcond212.not, label %.loopexit, label %.preheader128, !llvm.loop !18

.lr.ph171:                                        ; preds = %.preheader126, %.lr.ph171
  %.097170 = phi i32 [ %110, %.lr.ph171 ], [ 0, %.preheader126 ]
  %109 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %110 = add nuw nsw i32 %.097170, 1
  %111 = load i32, ptr %5, align 4, !tbaa !5
  %112 = icmp slt i32 %110, %111
  br i1 %112, label %.lr.ph171, label %._crit_edge172, !llvm.loop !19

113:                                              ; preds = %84, %80
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #7
  call void @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %114 = invoke 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)
          to label %115 unwind label %172

115:                                              ; preds = %113
  store i64 %114, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  store i32 1, ptr %10, align 4, !tbaa !5
  %116 = invoke { i64, i32 } @_ZSt9make_pairISt4pairIiiEiES0_INSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %117 unwind label %174

117:                                              ; preds = %115
  %.fca.0.extract25 = extractvalue { i64, i32 } %116, 0
  %.fca.1.extract26 = extractvalue { i64, i32 } %116, 1
  store i64 %.fca.0.extract25, ptr %8, align 8
  store i32 %.fca.1.extract26, ptr %.sroa.228.0..sroa_idx, align 8
  invoke void @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(12) %8)
          to label %118 unwind label %174

118:                                              ; preds = %117
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %119 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %120 unwind label %177

120:                                              ; preds = %118
  store i64 %119, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #7
  store i32 2, ptr %13, align 4, !tbaa !5
  %121 = invoke { i64, i32 } @_ZSt9make_pairISt4pairIiiEiES0_INSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %122 unwind label %179

122:                                              ; preds = %120
  %.fca.0.extract21 = extractvalue { i64, i32 } %121, 0
  %.fca.1.extract22 = extractvalue { i64, i32 } %121, 1
  store i64 %.fca.0.extract21, ptr %11, align 8
  store i32 %.fca.1.extract22, ptr %.sroa.224.0..sroa_idx, align 8
  invoke void @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(12) %11)
          to label %123 unwind label %179

123:                                              ; preds = %122
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  %124 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %125 unwind label %182

125:                                              ; preds = %123
  store i64 %124, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #7
  store i32 3, ptr %16, align 4, !tbaa !5
  %126 = invoke { i64, i32 } @_ZSt9make_pairISt4pairIiiEiES0_INSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %127 unwind label %184

127:                                              ; preds = %125
  %.fca.0.extract = extractvalue { i64, i32 } %126, 0
  %.fca.1.extract = extractvalue { i64, i32 } %126, 1
  store i64 %.fca.0.extract, ptr %14, align 8
  store i32 %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  invoke void @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(12) %14)
          to label %128 unwind label %184

128:                                              ; preds = %127
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %14) #7
  %129 = call ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  %130 = call ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIS2_IiiEiESt6vectorIS4_SaIS4_EEEEEvT_SA_(ptr %129, ptr %130)
          to label %131 unwind label %187

131:                                              ; preds = %128
  %132 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 2) #7
  %133 = load i32, ptr %132, align 4, !tbaa !20
  %134 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 0) #7
  %135 = load i32, ptr %134, align 4, !tbaa !20
  %136 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 1) #7
  %137 = load i32, ptr %136, align 4, !tbaa !20
  %138 = add nsw i32 %137, %135
  %139 = icmp eq i32 %133, %138
  br i1 %139, label %140, label %251

140:                                              ; preds = %131
  %141 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 0) #7
  %142 = getelementptr inbounds i8, ptr %141, i64 4
  %143 = load i32, ptr %142, align 4, !tbaa !23
  %144 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 1) #7
  %145 = getelementptr inbounds i8, ptr %144, i64 4
  %146 = load i32, ptr %145, align 4, !tbaa !23
  %147 = icmp eq i32 %143, %146
  br i1 %147, label %148, label %251

148:                                              ; preds = %140
  %149 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 0) #7
  %150 = getelementptr inbounds i8, ptr %149, i64 4
  %151 = load i32, ptr %150, align 4, !tbaa !23
  %152 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 2) #7
  %153 = getelementptr inbounds i8, ptr %152, i64 4
  %154 = load i32, ptr %153, align 4, !tbaa !23
  %155 = add nsw i32 %154, %151
  %156 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 2) #7
  %157 = load i32, ptr %156, align 4, !tbaa !20
  %158 = icmp eq i32 %155, %157
  br i1 %158, label %159, label %251

159:                                              ; preds = %308, %148
  %160 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 2) #7
  %161 = load i32, ptr %160, align 4, !tbaa !20
  %162 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %161)
  %163 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 2) #7
  %164 = getelementptr inbounds i8, ptr %163, i64 4
  %165 = load i32, ptr %164, align 4, !tbaa !23
  %166 = icmp sgt i32 %161, %165
  br i1 %166, label %.lr.ph159, label %.preheader130

.preheader130:                                    ; preds = %._crit_edge156, %159
  %167 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 2) #7
  %168 = getelementptr inbounds i8, ptr %167, i64 4
  %169 = load i32, ptr %168, align 4, !tbaa !23
  %170 = icmp sgt i32 %169, 0
  br i1 %170, label %.lr.ph165, label %.critedge

.lr.ph165:                                        ; preds = %.preheader130
  %171 = icmp sgt i32 %161, 0
  br label %232

172:                                              ; preds = %273, %113
  %173 = landingpad { ptr, i32 }
          cleanup
  br label %176

174:                                              ; preds = %277, %275, %117, %115
  %175 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  br label %176

176:                                              ; preds = %174, %172
  %.pn = phi { ptr, i32 } [ %175, %174 ], [ %173, %172 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #7
  br label %319

177:                                              ; preds = %278, %118
  %178 = landingpad { ptr, i32 }
          cleanup
  br label %181

179:                                              ; preds = %282, %280, %122, %120
  %180 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  br label %181

181:                                              ; preds = %179, %177
  %.pn107 = phi { ptr, i32 } [ %180, %179 ], [ %178, %177 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #7
  br label %319

182:                                              ; preds = %283, %123
  %183 = landingpad { ptr, i32 }
          cleanup
  br label %186

184:                                              ; preds = %287, %285, %127, %125
  %185 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  br label %186

186:                                              ; preds = %184, %182
  %.pn109 = phi { ptr, i32 } [ %185, %184 ], [ %183, %182 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %14) #7
  br label %319

187:                                              ; preds = %288, %128
  %188 = landingpad { ptr, i32 }
          cleanup
  br label %319

.lr.ph159:                                        ; preds = %159, %._crit_edge156
  %.075157 = phi i32 [ %221, %._crit_edge156 ], [ 0, %159 ]
  %189 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 0) #7
  %190 = getelementptr inbounds i8, ptr %189, i64 8
  %191 = load i32, ptr %190, align 4, !tbaa !24
  %192 = icmp eq i32 %191, 1
  br i1 %192, label %198, label %193

193:                                              ; preds = %.lr.ph159
  %194 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 0) #7
  %195 = getelementptr inbounds i8, ptr %194, i64 8
  %196 = load i32, ptr %195, align 4, !tbaa !24
  %197 = icmp eq i32 %196, 2
  %. = select i1 %197, i32 66, i32 67
  br label %198

198:                                              ; preds = %193, %.lr.ph159
  %.074 = phi i32 [ 65, %.lr.ph159 ], [ %., %193 ]
  %199 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 0) #7
  %200 = load i32, ptr %199, align 4, !tbaa !20
  %201 = icmp sgt i32 %200, 0
  br i1 %201, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %198
  %202 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 1) #7
  %203 = getelementptr inbounds i8, ptr %202, i64 8
  %204 = load i32, ptr %203, align 4, !tbaa !24
  %205 = icmp eq i32 %204, 1
  br i1 %205, label %216, label %211

.lr.ph:                                           ; preds = %198, %.lr.ph
  %.073152 = phi i32 [ %207, %.lr.ph ], [ 0, %198 ]
  %206 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %.074)
  %207 = add nuw nsw i32 %.073152, 1
  %208 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 0) #7
  %209 = load i32, ptr %208, align 4, !tbaa !20
  %210 = icmp slt i32 %207, %209
  br i1 %210, label %.lr.ph, label %._crit_edge, !llvm.loop !25

211:                                              ; preds = %._crit_edge
  %212 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 1) #7
  %213 = getelementptr inbounds i8, ptr %212, i64 8
  %214 = load i32, ptr %213, align 4, !tbaa !24
  %215 = icmp eq i32 %214, 2
  %.114 = select i1 %215, i32 66, i32 67
  br label %216

216:                                              ; preds = %211, %._crit_edge
  %.1 = phi i32 [ 65, %._crit_edge ], [ %.114, %211 ]
  %217 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 1) #7
  %218 = load i32, ptr %217, align 4, !tbaa !20
  %219 = icmp sgt i32 %218, 0
  br i1 %219, label %.lr.ph155, label %._crit_edge156

._crit_edge156:                                   ; preds = %.lr.ph155, %216
  %220 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %221 = add nuw nsw i32 %.075157, 1
  %222 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 2) #7
  %223 = getelementptr inbounds i8, ptr %222, i64 4
  %224 = load i32, ptr %223, align 4, !tbaa !23
  %225 = sub nsw i32 %161, %224
  %226 = icmp slt i32 %221, %225
  br i1 %226, label %.lr.ph159, label %.preheader130, !llvm.loop !26

.lr.ph155:                                        ; preds = %216, %.lr.ph155
  %.072153 = phi i32 [ %228, %.lr.ph155 ], [ 0, %216 ]
  %227 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %.1)
  %228 = add nuw nsw i32 %.072153, 1
  %229 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 1) #7
  %230 = load i32, ptr %229, align 4, !tbaa !20
  %231 = icmp slt i32 %228, %230
  br i1 %231, label %.lr.ph155, label %._crit_edge156, !llvm.loop !27

232:                                              ; preds = %.lr.ph165, %._crit_edge163
  %.071164 = phi i32 [ 0, %.lr.ph165 ], [ %244, %._crit_edge163 ]
  %233 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 2) #7
  %234 = getelementptr inbounds i8, ptr %233, i64 8
  %235 = load i32, ptr %234, align 4, !tbaa !24
  %236 = icmp eq i32 %235, 1
  br i1 %236, label %242, label %237

237:                                              ; preds = %232
  %238 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 2) #7
  %239 = getelementptr inbounds i8, ptr %238, i64 8
  %240 = load i32, ptr %239, align 4, !tbaa !24
  %241 = icmp eq i32 %240, 2
  %.115 = select i1 %241, i32 66, i32 67
  br label %242

242:                                              ; preds = %237, %232
  %.070 = phi i32 [ 65, %232 ], [ %.115, %237 ]
  br i1 %171, label %.lr.ph162, label %._crit_edge163

._crit_edge163:                                   ; preds = %.lr.ph162, %242
  %243 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %244 = add nuw nsw i32 %.071164, 1
  %245 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 2) #7
  %246 = getelementptr inbounds i8, ptr %245, i64 4
  %247 = load i32, ptr %246, align 4, !tbaa !23
  %248 = icmp slt i32 %244, %247
  br i1 %248, label %232, label %.critedge, !llvm.loop !28

.lr.ph162:                                        ; preds = %242, %.lr.ph162
  %.0160 = phi i32 [ %250, %.lr.ph162 ], [ 0, %242 ]
  %249 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %.070)
  %250 = add nuw nsw i32 %.0160, 1
  %exitcond.not = icmp eq i32 %250, %161
  br i1 %exitcond.not, label %._crit_edge163, label %.lr.ph162, !llvm.loop !29

251:                                              ; preds = %131, %140, %148
  call void @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  call void @_Z6rotateRiS_i(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6, i32 noundef 1)
  %252 = load i32, ptr %1, align 4, !tbaa !5
  %253 = load i32, ptr %3, align 4, !tbaa !5
  %254 = icmp eq i32 %252, %253
  %255 = load i32, ptr %5, align 4
  %256 = icmp eq i32 %253, %255
  %or.cond.1 = select i1 %254, i1 %256, i1 false
  %.pre216 = load i32, ptr %2, align 4, !tbaa !5
  br i1 %or.cond.1, label %257, label %263

257:                                              ; preds = %251
  %258 = load i32, ptr %4, align 4, !tbaa !5
  %259 = add nsw i32 %258, %.pre216
  %260 = load i32, ptr %6, align 4, !tbaa !5
  %261 = add nsw i32 %259, %260
  %262 = icmp eq i32 %252, %261
  br i1 %262, label %36, label %263

263:                                              ; preds = %257, %251
  %264 = add nsw i32 %253, %252
  %265 = add nsw i32 %264, %255
  %266 = icmp eq i32 %265, %.pre216
  br i1 %266, label %267, label %273

267:                                              ; preds = %263
  %268 = load i32, ptr %4, align 4, !tbaa !5
  %269 = icmp eq i32 %.pre216, %268
  %270 = zext i1 %269 to i32
  %271 = load i32, ptr %6, align 4, !tbaa !5
  %272 = icmp eq i32 %271, %270
  br i1 %272, label %90, label %273

273:                                              ; preds = %267, %263
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #7
  call void @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %274 = invoke 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)
          to label %275 unwind label %172

275:                                              ; preds = %273
  store i64 %274, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  store i32 1, ptr %10, align 4, !tbaa !5
  %276 = invoke { i64, i32 } @_ZSt9make_pairISt4pairIiiEiES0_INSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %277 unwind label %174

277:                                              ; preds = %275
  %.fca.0.extract25.1 = extractvalue { i64, i32 } %276, 0
  %.fca.1.extract26.1 = extractvalue { i64, i32 } %276, 1
  store i64 %.fca.0.extract25.1, ptr %8, align 8
  store i32 %.fca.1.extract26.1, ptr %.sroa.228.0..sroa_idx, align 8
  invoke void @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(12) %8)
          to label %278 unwind label %174

278:                                              ; preds = %277
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %279 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %280 unwind label %177

280:                                              ; preds = %278
  store i64 %279, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #7
  store i32 2, ptr %13, align 4, !tbaa !5
  %281 = invoke { i64, i32 } @_ZSt9make_pairISt4pairIiiEiES0_INSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %282 unwind label %179

282:                                              ; preds = %280
  %.fca.0.extract21.1 = extractvalue { i64, i32 } %281, 0
  %.fca.1.extract22.1 = extractvalue { i64, i32 } %281, 1
  store i64 %.fca.0.extract21.1, ptr %11, align 8
  store i32 %.fca.1.extract22.1, ptr %.sroa.224.0..sroa_idx, align 8
  invoke void @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(12) %11)
          to label %283 unwind label %179

283:                                              ; preds = %282
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  %284 = invoke i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %285 unwind label %182

285:                                              ; preds = %283
  store i64 %284, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #7
  store i32 3, ptr %16, align 4, !tbaa !5
  %286 = invoke { i64, i32 } @_ZSt9make_pairISt4pairIiiEiES0_INSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %287 unwind label %184

287:                                              ; preds = %285
  %.fca.0.extract.1 = extractvalue { i64, i32 } %286, 0
  %.fca.1.extract.1 = extractvalue { i64, i32 } %286, 1
  store i64 %.fca.0.extract.1, ptr %14, align 8
  store i32 %.fca.1.extract.1, ptr %.sroa.2.0..sroa_idx, align 8
  invoke void @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(12) %14)
          to label %288 unwind label %184

288:                                              ; preds = %287
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %14) #7
  %289 = call ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  %290 = call ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairIS2_IiiEiESt6vectorIS4_SaIS4_EEEEEvT_SA_(ptr %289, ptr %290)
          to label %291 unwind label %187

291:                                              ; preds = %288
  %292 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 2) #7
  %293 = load i32, ptr %292, align 4, !tbaa !20
  %294 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 0) #7
  %295 = load i32, ptr %294, align 4, !tbaa !20
  %296 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 1) #7
  %297 = load i32, ptr %296, align 4, !tbaa !20
  %298 = add nsw i32 %297, %295
  %299 = icmp eq i32 %293, %298
  br i1 %299, label %300, label %.critedge117

300:                                              ; preds = %291
  %301 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 0) #7
  %302 = getelementptr inbounds i8, ptr %301, i64 4
  %303 = load i32, ptr %302, align 4, !tbaa !23
  %304 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 1) #7
  %305 = getelementptr inbounds i8, ptr %304, i64 4
  %306 = load i32, ptr %305, align 4, !tbaa !23
  %307 = icmp eq i32 %303, %306
  br i1 %307, label %308, label %.critedge117

308:                                              ; preds = %300
  %309 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 0) #7
  %310 = getelementptr inbounds i8, ptr %309, i64 4
  %311 = load i32, ptr %310, align 4, !tbaa !23
  %312 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 2) #7
  %313 = getelementptr inbounds i8, ptr %312, i64 4
  %314 = load i32, ptr %313, align 4, !tbaa !23
  %315 = add nsw i32 %314, %311
  %316 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 2) #7
  %317 = load i32, ptr %316, align 4, !tbaa !20
  %318 = icmp eq i32 %315, %317
  br i1 %318, label %159, label %.critedge117

.critedge117:                                     ; preds = %308, %300, %291
  call void @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  br i1 %.not186, label %24, label %.critedge119, !llvm.loop !30

319:                                              ; preds = %187, %186, %181, %176
  %.pn111 = phi { ptr, i32 } [ %188, %187 ], [ %.pn109, %186 ], [ %.pn107, %181 ], [ %.pn, %176 ]
  call void @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn111

.critedge:                                        ; preds = %._crit_edge163, %.preheader130
  call void @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  br label %.loopexit

.critedge119:                                     ; preds = %.critedge117
  br i1 %.not187, label %23, label %.critedge121, !llvm.loop !31

.critedge121:                                     ; preds = %.critedge119
  %320 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.6)
  br label %.loopexit

.loopexit:                                        ; preds = %._crit_edge172, %.preheader, %._crit_edge184.us, %90, %.preheader122, %.critedge, %.critedge121
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  ret i32 0
}

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

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

; 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 @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local { i64, i32 } @_ZSt9make_pairISt4pairIiiEiES0_INSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

; 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 #5

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_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(12) ptr @_ZNSt6vectorISt4pairIS0_IiiEiESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #4

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 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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 = { 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 #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = !{!21, !6, i64 0}
!21 = !{!"_ZTSSt4pairIS_IiiEiE", !22, i64 0, !6, i64 8}
!22 = !{!"_ZTSSt4pairIiiE", !6, i64 0, !6, i64 4}
!23 = !{!21, !6, i64 4}
!24 = !{!21, !6, i64 8}
!25 = distinct !{!25, !10}
!26 = distinct !{!26, !10}
!27 = distinct !{!27, !10}
!28 = distinct !{!28, !10}
!29 = distinct !{!29, !10}
!30 = distinct !{!30, !10}
!31 = distinct !{!31, !10}


; Effective O3 passes: ADCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass