; LLVM IR from ShahjalalShohag/code-library :: Graph Theory (Chinese Postman Problem)

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

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

@w = external dso_local global [105 x [105 x i64]], align 16
@deg = external dso_local global [105 x i32], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [103 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 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 i64, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i64, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca %struct.RandomizedMatching, align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %24 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %25 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %26 = getelementptr i8, ptr %25, i64 -24
  %27 = load i64, ptr %26, align 8
  %28 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %27
  %29 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %28, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #9
  br label %30

30:                                               ; preds = %307, %0
  %31 = 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)
  %32 = load ptr, ptr %31, align 8, !tbaa !5
  %33 = getelementptr i8, ptr %32, i64 -24
  %34 = load i64, ptr %33, align 8
  %35 = getelementptr inbounds i8, ptr %31, i64 %34
  %36 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %35)
  br i1 %36, label %37, label %40

37:                                               ; preds = %30
  %38 = load i32, ptr %2, align 4, !tbaa !8
  %39 = icmp ne i32 %38, 0
  br label %40

40:                                               ; preds = %37, %30
  %41 = phi i1 [ false, %30 ], [ %39, %37 ]
  br i1 %41, label %42, label %310

42:                                               ; preds = %40
  %43 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %3)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #9
  store i32 1, ptr %4, align 4, !tbaa !8
  br label %44

44:                                               ; preds = %66, %42
  %45 = load i32, ptr %4, align 4, !tbaa !8
  %46 = load i32, ptr %2, align 4, !tbaa !8
  %47 = icmp sle i32 %45, %46
  br i1 %47, label %49, label %48

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

49:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #9
  store i32 1, ptr %6, align 4, !tbaa !8
  br label %50

50:                                               ; preds = %62, %49
  %51 = load i32, ptr %6, align 4, !tbaa !8
  %52 = load i32, ptr %2, align 4, !tbaa !8
  %53 = icmp sle i32 %51, %52
  br i1 %53, label %55, label %54

54:                                               ; preds = %50
  store i32 7, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  br label %65

55:                                               ; preds = %50
  %56 = load i32, ptr %4, align 4, !tbaa !8
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [105 x [105 x i64]], ptr @w, i64 0, i64 %57
  %59 = load i32, ptr %6, align 4, !tbaa !8
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [105 x i64], ptr %58, i64 0, i64 %60
  store i64 1000000000000000000, ptr %61, align 8, !tbaa !11
  br label %62

62:                                               ; preds = %55
  %63 = load i32, ptr %6, align 4, !tbaa !8
  %64 = add nsw i32 %63, 1
  store i32 %64, ptr %6, align 4, !tbaa !8
  br label %50, !llvm.loop !13

65:                                               ; preds = %54
  br label %66

66:                                               ; preds = %65
  %67 = load i32, ptr %4, align 4, !tbaa !8
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr %4, align 4, !tbaa !8
  br label %44, !llvm.loop !15

69:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  store i64 0, ptr %7, align 8, !tbaa !11
  call void @llvm.memset.p0.i64(ptr align 16 @deg, i8 0, i64 420, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #9
  store i32 1, ptr %8, align 4, !tbaa !8
  br label %70

70:                                               ; preds = %120, %69
  %71 = load i32, ptr %8, align 4, !tbaa !8
  %72 = load i32, ptr %3, align 4, !tbaa !8
  %73 = icmp sle i32 %71, %72
  br i1 %73, label %75, label %74

74:                                               ; preds = %70
  store i32 10, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  br label %123

75:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  %76 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %77 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %76, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %78 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %77, ptr noundef nonnull align 8 dereferenceable(8) %11)
  %79 = load i32, ptr %9, align 4, !tbaa !8
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds [105 x [105 x i64]], ptr @w, i64 0, i64 %80
  %82 = load i32, ptr %10, align 4, !tbaa !8
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [105 x i64], ptr %81, i64 0, i64 %83
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %84, ptr noundef nonnull align 8 dereferenceable(8) %11)
  %86 = load i64, ptr %85, align 8, !tbaa !11
  %87 = load i32, ptr %9, align 4, !tbaa !8
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [105 x [105 x i64]], ptr @w, i64 0, i64 %88
  %90 = load i32, ptr %10, align 4, !tbaa !8
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [105 x i64], ptr %89, i64 0, i64 %91
  store i64 %86, ptr %92, align 8, !tbaa !11
  %93 = load i32, ptr %10, align 4, !tbaa !8
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [105 x [105 x i64]], ptr @w, i64 0, i64 %94
  %96 = load i32, ptr %9, align 4, !tbaa !8
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds [105 x i64], ptr %95, i64 0, i64 %97
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %98, ptr noundef nonnull align 8 dereferenceable(8) %11)
  %100 = load i64, ptr %99, align 8, !tbaa !11
  %101 = load i32, ptr %10, align 4, !tbaa !8
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [105 x [105 x i64]], ptr @w, i64 0, i64 %102
  %104 = load i32, ptr %9, align 4, !tbaa !8
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [105 x i64], ptr %103, i64 0, i64 %105
  store i64 %100, ptr %106, align 8, !tbaa !11
  %107 = load i64, ptr %11, align 8, !tbaa !11
  %108 = load i64, ptr %7, align 8, !tbaa !11
  %109 = add nsw i64 %108, %107
  store i64 %109, ptr %7, align 8, !tbaa !11
  %110 = load i32, ptr %9, align 4, !tbaa !8
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [105 x i32], ptr @deg, i64 0, i64 %111
  %113 = load i32, ptr %112, align 4, !tbaa !8
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %112, align 4, !tbaa !8
  %115 = load i32, ptr %10, align 4, !tbaa !8
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds [105 x i32], ptr @deg, i64 0, i64 %116
  %118 = load i32, ptr %117, align 4, !tbaa !8
  %119 = add nsw i32 %118, 1
  store i32 %119, ptr %117, align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  br label %120

120:                                              ; preds = %75
  %121 = load i32, ptr %8, align 4, !tbaa !8
  %122 = add nsw i32 %121, 1
  store i32 %122, ptr %8, align 4, !tbaa !8
  br label %70, !llvm.loop !16

123:                                              ; preds = %74
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #9
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #9
  store i32 1, ptr %13, align 4, !tbaa !8
  br label %124

124:                                              ; preds = %184, %123
  %125 = load i32, ptr %13, align 4, !tbaa !8
  %126 = load i32, ptr %2, align 4, !tbaa !8
  %127 = icmp sle i32 %125, %126
  br i1 %127, label %129, label %128

128:                                              ; preds = %124
  store i32 13, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  br label %187

129:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #9
  store i32 1, ptr %14, align 4, !tbaa !8
  br label %130

130:                                              ; preds = %180, %129
  %131 = load i32, ptr %14, align 4, !tbaa !8
  %132 = load i32, ptr %2, align 4, !tbaa !8
  %133 = icmp sle i32 %131, %132
  br i1 %133, label %135, label %134

134:                                              ; preds = %130
  store i32 16, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  br label %183

135:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  store i32 1, ptr %15, align 4, !tbaa !8
  br label %136

136:                                              ; preds = %172, %135
  %137 = load i32, ptr %15, align 4, !tbaa !8
  %138 = load i32, ptr %2, align 4, !tbaa !8
  %139 = icmp sle i32 %137, %138
  br i1 %139, label %141, label %140

140:                                              ; preds = %136
  store i32 19, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  br label %179

141:                                              ; preds = %136
  %142 = load i32, ptr %14, align 4, !tbaa !8
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds [105 x [105 x i64]], ptr @w, i64 0, i64 %143
  %145 = load i32, ptr %15, align 4, !tbaa !8
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds [105 x i64], ptr %144, i64 0, i64 %146
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  %148 = load i32, ptr %14, align 4, !tbaa !8
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds [105 x [105 x i64]], ptr @w, i64 0, i64 %149
  %151 = load i32, ptr %13, align 4, !tbaa !8
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds [105 x i64], ptr %150, i64 0, i64 %152
  %154 = load i64, ptr %153, align 8, !tbaa !11
  %155 = load i32, ptr %13, align 4, !tbaa !8
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds [105 x [105 x i64]], ptr @w, i64 0, i64 %156
  %158 = load i32, ptr %15, align 4, !tbaa !8
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds [105 x i64], ptr %157, i64 0, i64 %159
  %161 = load i64, ptr %160, align 8, !tbaa !11
  %162 = add nsw i64 %154, %161
  store i64 %162, ptr %16, align 8, !tbaa !11
  %163 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %147, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %164 unwind label %175

164:                                              ; preds = %141
  %165 = load i64, ptr %163, align 8, !tbaa !11
  %166 = load i32, ptr %14, align 4, !tbaa !8
  %167 = sext i32 %166 to i64
  %168 = getelementptr inbounds [105 x [105 x i64]], ptr @w, i64 0, i64 %167
  %169 = load i32, ptr %15, align 4, !tbaa !8
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds [105 x i64], ptr %168, i64 0, i64 %170
  store i64 %165, ptr %171, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  br label %172

172:                                              ; preds = %164
  %173 = load i32, ptr %15, align 4, !tbaa !8
  %174 = add nsw i32 %173, 1
  store i32 %174, ptr %15, align 4, !tbaa !8
  br label %136, !llvm.loop !17

175:                                              ; preds = %141
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %17, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  br label %309

179:                                              ; preds = %140
  br label %180

180:                                              ; preds = %179
  %181 = load i32, ptr %14, align 4, !tbaa !8
  %182 = add nsw i32 %181, 1
  store i32 %182, ptr %14, align 4, !tbaa !8
  br label %130, !llvm.loop !18

183:                                              ; preds = %134
  br label %184

184:                                              ; preds = %183
  %185 = load i32, ptr %13, align 4, !tbaa !8
  %186 = add nsw i32 %185, 1
  store i32 %186, ptr %13, align 4, !tbaa !8
  br label %124, !llvm.loop !19

187:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  store i32 1, ptr %19, align 4, !tbaa !8
  br label %188

188:                                              ; preds = %207, %187
  %189 = load i32, ptr %19, align 4, !tbaa !8
  %190 = load i32, ptr %2, align 4, !tbaa !8
  %191 = icmp sle i32 %189, %190
  br i1 %191, label %193, label %192

192:                                              ; preds = %188
  store i32 22, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  br label %210

193:                                              ; preds = %188
  %194 = load i32, ptr %19, align 4, !tbaa !8
  %195 = sext i32 %194 to i64
  %196 = getelementptr inbounds [105 x i32], ptr @deg, i64 0, i64 %195
  %197 = load i32, ptr %196, align 4, !tbaa !8
  %198 = and i32 %197, 1
  %199 = icmp ne i32 %198, 0
  br i1 %199, label %200, label %206

200:                                              ; preds = %193
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %201 unwind label %202

201:                                              ; preds = %200
  br label %206

202:                                              ; preds = %200
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %17, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  br label %309

206:                                              ; preds = %201, %193
  br label %207

207:                                              ; preds = %206
  %208 = load i32, ptr %19, align 4, !tbaa !8
  %209 = add nsw i32 %208, 1
  store i32 %209, ptr %19, align 4, !tbaa !8
  br label %188, !llvm.loop !20

210:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  %211 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  %212 = trunc i64 %211 to i32
  store i32 %212, ptr %20, align 4, !tbaa !8
  %213 = load i32, ptr %20, align 4, !tbaa !8
  %214 = srem i32 %213, 2
  %215 = icmp eq i32 %214, 0
  br i1 %215, label %216, label %217

216:                                              ; preds = %210
  br label %219

217:                                              ; preds = %210
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 114, ptr noundef @__PRETTY_FUNCTION__.main) #10
  unreachable

218:                                              ; No predecessors!
  br label %219

219:                                              ; preds = %218, %216
  call void @llvm.lifetime.start.p0(i64 91160, ptr %21) #9
  %220 = load i32, ptr %20, align 4, !tbaa !8
  invoke void @_ZN18RandomizedMatchingC2Ei(ptr noundef nonnull align 8 dereferenceable(91160) %21, i32 noundef %220)
          to label %221 unwind label %227

221:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  store i32 1, ptr %22, align 4, !tbaa !8
  br label %222

222:                                              ; preds = %294, %221
  %223 = load i32, ptr %22, align 4, !tbaa !8
  %224 = load i32, ptr %20, align 4, !tbaa !8
  %225 = icmp sle i32 %223, %224
  br i1 %225, label %231, label %226

226:                                              ; preds = %222
  store i32 25, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  br label %297

227:                                              ; preds = %305, %299, %297, %219
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %17, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %18, align 4
  br label %308

231:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  store i32 1, ptr %23, align 4, !tbaa !8
  br label %232

232:                                              ; preds = %290, %231
  %233 = load i32, ptr %23, align 4, !tbaa !8
  %234 = load i32, ptr %20, align 4, !tbaa !8
  %235 = icmp sle i32 %233, %234
  br i1 %235, label %237, label %236

236:                                              ; preds = %232
  store i32 28, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  br label %293

237:                                              ; preds = %232
  %238 = load i32, ptr %22, align 4, !tbaa !8
  %239 = load i32, ptr %23, align 4, !tbaa !8
  %240 = icmp eq i32 %238, %239
  br i1 %240, label %258, label %241

241:                                              ; preds = %237
  %242 = load i32, ptr %22, align 4, !tbaa !8
  %243 = sub nsw i32 %242, 1
  %244 = sext i32 %243 to i64
  %245 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %244) #9
  %246 = load i32, ptr %245, align 4, !tbaa !8
  %247 = sext i32 %246 to i64
  %248 = getelementptr inbounds [105 x [105 x i64]], ptr @w, i64 0, i64 %247
  %249 = load i32, ptr %23, align 4, !tbaa !8
  %250 = sub nsw i32 %249, 1
  %251 = sext i32 %250 to i64
  %252 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %251) #9
  %253 = load i32, ptr %252, align 4, !tbaa !8
  %254 = sext i32 %253 to i64
  %255 = getelementptr inbounds [105 x i64], ptr %248, i64 0, i64 %254
  %256 = load i64, ptr %255, align 8, !tbaa !11
  %257 = icmp eq i64 %256, 1000000000000000000
  br i1 %257, label %258, label %269

258:                                              ; preds = %241, %237
  %259 = load i32, ptr %22, align 4, !tbaa !8
  %260 = load i32, ptr %23, align 4, !tbaa !8
  %261 = getelementptr inbounds %struct.RandomizedMatching, ptr %21, i32 0, i32 9
  %262 = load i64, ptr %261, align 8, !tbaa !21
  %263 = sub nsw i64 0, %262
  invoke void @_ZN18RandomizedMatching8add_edgeEiix(ptr noundef nonnull align 8 dereferenceable(91160) %21, i32 noundef %259, i32 noundef %260, i64 noundef %263)
          to label %264 unwind label %265

264:                                              ; preds = %258
  br label %289

265:                                              ; preds = %269, %258
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %17, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  br label %308

269:                                              ; preds = %241
  %270 = load i32, ptr %22, align 4, !tbaa !8
  %271 = load i32, ptr %23, align 4, !tbaa !8
  %272 = load i32, ptr %22, align 4, !tbaa !8
  %273 = sub nsw i32 %272, 1
  %274 = sext i32 %273 to i64
  %275 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %274) #9
  %276 = load i32, ptr %275, align 4, !tbaa !8
  %277 = sext i32 %276 to i64
  %278 = getelementptr inbounds [105 x [105 x i64]], ptr @w, i64 0, i64 %277
  %279 = load i32, ptr %23, align 4, !tbaa !8
  %280 = sub nsw i32 %279, 1
  %281 = sext i32 %280 to i64
  %282 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %281) #9
  %283 = load i32, ptr %282, align 4, !tbaa !8
  %284 = sext i32 %283 to i64
  %285 = getelementptr inbounds [105 x i64], ptr %278, i64 0, i64 %284
  %286 = load i64, ptr %285, align 8, !tbaa !11
  %287 = sub nsw i64 0, %286
  invoke void @_ZN18RandomizedMatching8add_edgeEiix(ptr noundef nonnull align 8 dereferenceable(91160) %21, i32 noundef %270, i32 noundef %271, i64 noundef %287)
          to label %288 unwind label %265

288:                                              ; preds = %269
  br label %289

289:                                              ; preds = %288, %264
  br label %290

290:                                              ; preds = %289
  %291 = load i32, ptr %23, align 4, !tbaa !8
  %292 = add nsw i32 %291, 1
  store i32 %292, ptr %23, align 4, !tbaa !8
  br label %232, !llvm.loop !23

293:                                              ; preds = %236
  br label %294

294:                                              ; preds = %293
  %295 = load i32, ptr %22, align 4, !tbaa !8
  %296 = add nsw i32 %295, 1
  store i32 %296, ptr %22, align 4, !tbaa !8
  br label %222, !llvm.loop !24

297:                                              ; preds = %226
  %298 = invoke noundef i64 @_ZN18RandomizedMatching16maximum_matchingEv(ptr noundef nonnull align 8 dereferenceable(91160) %21)
          to label %299 unwind label %227

299:                                              ; preds = %297
  %300 = sub nsw i64 0, %298
  %301 = load i64, ptr %7, align 8, !tbaa !11
  %302 = add nsw i64 %301, %300
  store i64 %302, ptr %7, align 8, !tbaa !11
  %303 = load i64, ptr %7, align 8, !tbaa !11
  %304 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %303)
          to label %305 unwind label %227

305:                                              ; preds = %299
  %306 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %304, i8 noundef signext 10)
          to label %307 unwind label %227

307:                                              ; preds = %305
  call void @llvm.lifetime.end.p0(i64 91160, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  br label %30, !llvm.loop !25

308:                                              ; preds = %265, %227
  call void @llvm.lifetime.end.p0(i64 91160, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  br label %309

309:                                              ; preds = %308, %202, %175
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #9
  br label %312

310:                                              ; preds = %40
  store i32 0, ptr %1, align 4
  store i32 1, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #9
  %311 = load i32, ptr %1, align 4
  ret i32 %311

312:                                              ; preds = %309
  %313 = load ptr, ptr %17, align 8
  %314 = load i32, ptr %18, align 4
  %315 = insertvalue { ptr, i32 } poison, ptr %313, 0
  %316 = insertvalue { ptr, i32 } %315, i32 %314, 1
  resume { ptr, i32 } %316
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264)) #4 align 2

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN18RandomizedMatching8add_edgeEiix(ptr noundef nonnull align 8 dereferenceable(91160), i32 noundef, i32 noundef, i64 noundef) #4 align 2

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

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

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

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

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

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

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


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

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

@w = external dso_local global [105 x [105 x i64]], align 16
@deg = external dso_local local_unnamed_addr global [105 x i32], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [103 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 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 i64, align 8
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  %9 = alloca %struct.RandomizedMatching, align 8
  %10 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %11 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %12 = getelementptr i8, ptr %11, i64 -24
  %13 = load i64, ptr %12, align 8
  %14 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %13
  %15 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %14, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #9
  %16 = 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)
  %17 = load ptr, ptr %16, align 8, !tbaa !5
  %18 = getelementptr i8, ptr %17, i64 -24
  %19 = load i64, ptr %18, align 8
  %20 = getelementptr inbounds i8, ptr %16, i64 %19
  %21 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %20)
  %22 = load i32, ptr %1, align 4
  %23 = icmp ne i32 %22, 0
  %24 = select i1 %21, i1 %23, i1 false
  br i1 %24, label %.lr.ph106, label %._crit_edge107

.lr.ph106:                                        ; preds = %0
  %25 = getelementptr inbounds i8, ptr %9, i64 91152
  br label %26

26:                                               ; preds = %.lr.ph106, %144
  %27 = 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)
  %28 = load i32, ptr %1, align 4, !tbaa !8
  %.not75 = icmp slt i32 %28, 1
  br i1 %.not75, label %._crit_edge77.split, label %.preheader72.preheader

.preheader72.preheader:                           ; preds = %26
  %29 = add nuw i32 %28, 1
  %wide.trip.count114 = zext i32 %29 to i64
  %30 = zext nneg i32 %28 to i64
  %min.iters.check = icmp ult i32 %28, 4
  %n.vec = and i64 %30, 2147483644
  %ind.end = or disjoint i64 %n.vec, 1
  %cmp.n = icmp eq i64 %n.vec, %30
  br label %.preheader72

.preheader72:                                     ; preds = %.preheader72.preheader, %._crit_edge
  %indvars.iv111 = phi i64 [ 1, %.preheader72.preheader ], [ %indvars.iv.next112, %._crit_edge ]
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.body

scalar.ph.preheader:                              ; preds = %middle.block, %.preheader72
  %indvars.iv.ph = phi i64 [ 1, %.preheader72 ], [ %ind.end, %middle.block ]
  br label %scalar.ph

vector.body:                                      ; preds = %.preheader72, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %.preheader72 ]
  %offset.idx = or disjoint i64 %index, 1
  %31 = getelementptr inbounds [105 x [105 x i64]], ptr @w, i64 0, i64 %indvars.iv111, i64 %offset.idx
  %32 = getelementptr inbounds i8, ptr %31, i64 16
  store <2 x i64> <i64 1000000000000000000, i64 1000000000000000000>, ptr %31, align 8, !tbaa !11
  store <2 x i64> <i64 1000000000000000000, i64 1000000000000000000>, ptr %32, align 8, !tbaa !11
  %index.next = add nuw i64 %index, 4
  %33 = icmp eq i64 %index.next, %n.vec
  br i1 %33, label %middle.block, label %vector.body, !llvm.loop !13

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge, label %scalar.ph.preheader

._crit_edge77.split:                              ; preds = %._crit_edge, %26
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(420) @deg, i8 0, i64 420, i1 false)
  %34 = load i32, ptr %2, align 4, !tbaa !8
  %.not5878 = icmp slt i32 %34, 1
  br i1 %.not5878, label %._crit_edge82, label %.lr.ph

._crit_edge:                                      ; preds = %scalar.ph, %middle.block
  %indvars.iv.next112 = add nuw nsw i64 %indvars.iv111, 1
  %exitcond115.not = icmp eq i64 %indvars.iv.next112, %wide.trip.count114
  br i1 %exitcond115.not, label %._crit_edge77.split, label %.preheader72, !llvm.loop !17

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %scalar.ph ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %35 = getelementptr inbounds [105 x [105 x i64]], ptr @w, i64 0, i64 %indvars.iv111, i64 %indvars.iv
  store i64 1000000000000000000, ptr %35, align 8, !tbaa !11
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count114
  br i1 %exitcond.not, label %._crit_edge, label %scalar.ph, !llvm.loop !18

._crit_edge82:                                    ; preds = %.lr.ph, %._crit_edge77.split
  %.053.lcssa = phi i64 [ 0, %._crit_edge77.split ], [ %61, %.lr.ph ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #9
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  %36 = load i32, ptr %1, align 4, !tbaa !8
  %.not5990 = icmp slt i32 %36, 1
  br i1 %.not5990, label %._crit_edge92.thread, label %.preheader71

._crit_edge92.thread:                             ; preds = %._crit_edge82
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #9
  br label %._crit_edge97

.lr.ph:                                           ; preds = %._crit_edge77.split, %.lr.ph
  %.05280 = phi i32 [ %68, %.lr.ph ], [ 1, %._crit_edge77.split ]
  %.05379 = phi i64 [ %61, %.lr.ph ], [ 0, %._crit_edge77.split ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  %37 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %38 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %37, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %39 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %40 = load i32, ptr %3, align 4, !tbaa !8
  %41 = sext i32 %40 to i64
  %42 = load i32, ptr %4, align 4, !tbaa !8
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds [105 x [105 x i64]], ptr @w, i64 0, i64 %41, i64 %43
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %46 = load i64, ptr %45, align 8, !tbaa !11
  %47 = load i32, ptr %3, align 4, !tbaa !8
  %48 = sext i32 %47 to i64
  %49 = load i32, ptr %4, align 4, !tbaa !8
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [105 x [105 x i64]], ptr @w, i64 0, i64 %48, i64 %50
  store i64 %46, ptr %51, align 8, !tbaa !11
  %52 = getelementptr inbounds [105 x [105 x i64]], ptr @w, i64 0, i64 %50, i64 %48
  %53 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %54 = load i64, ptr %53, align 8, !tbaa !11
  %55 = load i32, ptr %4, align 4, !tbaa !8
  %56 = sext i32 %55 to i64
  %57 = load i32, ptr %3, align 4, !tbaa !8
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [105 x [105 x i64]], ptr @w, i64 0, i64 %56, i64 %58
  store i64 %54, ptr %59, align 8, !tbaa !11
  %60 = load i64, ptr %5, align 8, !tbaa !11
  %61 = add nsw i64 %60, %.05379
  %62 = getelementptr inbounds [105 x i32], ptr @deg, i64 0, i64 %58
  %63 = load i32, ptr %62, align 4, !tbaa !8
  %64 = add nsw i32 %63, 1
  store i32 %64, ptr %62, align 4, !tbaa !8
  %65 = getelementptr inbounds [105 x i32], ptr @deg, i64 0, i64 %56
  %66 = load i32, ptr %65, align 4, !tbaa !8
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %65, align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #9
  %68 = add nuw nsw i32 %.05280, 1
  %69 = load i32, ptr %2, align 4, !tbaa !8
  %.not58.not = icmp slt i32 %.05280, %69
  br i1 %.not58.not, label %.lr.ph, label %._crit_edge82, !llvm.loop !19

.preheader71:                                     ; preds = %._crit_edge82, %._crit_edge89
  %70 = phi i32 [ %74, %._crit_edge89 ], [ %36, %._crit_edge82 ]
  %indvars.iv122 = phi i64 [ %indvars.iv.next123, %._crit_edge89 ], [ 1, %._crit_edge82 ]
  %.not6787 = icmp slt i32 %70, 1
  br i1 %.not6787, label %._crit_edge89, label %.preheader

._crit_edge92:                                    ; preds = %._crit_edge89
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #9
  store i32 1, ptr %8, align 4, !tbaa !8
  %.not6093 = icmp slt i32 %74, 1
  br i1 %.not6093, label %._crit_edge97, label %.lr.ph96

.preheader:                                       ; preds = %.preheader71, %._crit_edge86
  %71 = phi i32 [ %76, %._crit_edge86 ], [ %70, %.preheader71 ]
  %72 = phi i32 [ %77, %._crit_edge86 ], [ %70, %.preheader71 ]
  %indvars.iv119 = phi i64 [ %indvars.iv.next120, %._crit_edge86 ], [ 1, %.preheader71 ]
  %.not6883 = icmp slt i32 %72, 1
  br i1 %.not6883, label %.preheader.._crit_edge86_crit_edge, label %.lr.ph85

.preheader.._crit_edge86_crit_edge:               ; preds = %.preheader
  %.pre137 = sext i32 %72 to i64
  br label %._crit_edge86

.lr.ph85:                                         ; preds = %.preheader
  %73 = getelementptr inbounds [105 x [105 x i64]], ptr @w, i64 0, i64 %indvars.iv119, i64 %indvars.iv122
  br label %78

._crit_edge89:                                    ; preds = %._crit_edge86, %.preheader71
  %74 = phi i32 [ %70, %.preheader71 ], [ %76, %._crit_edge86 ]
  %indvars.iv.next123 = add nuw nsw i64 %indvars.iv122, 1
  %75 = sext i32 %74 to i64
  %.not59.not = icmp slt i64 %indvars.iv122, %75
  br i1 %.not59.not, label %.preheader71, label %._crit_edge92, !llvm.loop !20

._crit_edge86:                                    ; preds = %78, %.preheader.._crit_edge86_crit_edge
  %.pre-phi = phi i64 [ %.pre137, %.preheader.._crit_edge86_crit_edge ], [ %87, %78 ]
  %76 = phi i32 [ %71, %.preheader.._crit_edge86_crit_edge ], [ %86, %78 ]
  %77 = phi i32 [ %72, %.preheader.._crit_edge86_crit_edge ], [ %86, %78 ]
  %indvars.iv.next120 = add nuw nsw i64 %indvars.iv119, 1
  %.not67.not = icmp slt i64 %indvars.iv119, %.pre-phi
  br i1 %.not67.not, label %.preheader, label %._crit_edge89, !llvm.loop !22

78:                                               ; preds = %.lr.ph85, %78
  %indvars.iv116 = phi i64 [ 1, %.lr.ph85 ], [ %indvars.iv.next117, %78 ]
  %79 = getelementptr inbounds [105 x [105 x i64]], ptr @w, i64 0, i64 %indvars.iv119, i64 %indvars.iv116
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  %80 = load i64, ptr %73, align 8, !tbaa !11
  %81 = getelementptr inbounds [105 x [105 x i64]], ptr @w, i64 0, i64 %indvars.iv122, i64 %indvars.iv116
  %82 = load i64, ptr %81, align 8, !tbaa !11
  %83 = add nsw i64 %82, %80
  store i64 %83, ptr %7, align 8, !tbaa !11
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %79, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %85 = load i64, ptr %84, align 8, !tbaa !11
  store i64 %85, ptr %79, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  %indvars.iv.next117 = add nuw nsw i64 %indvars.iv116, 1
  %86 = load i32, ptr %1, align 4, !tbaa !8
  %87 = sext i32 %86 to i64
  %.not68.not = icmp slt i64 %indvars.iv116, %87
  br i1 %.not68.not, label %78, label %._crit_edge86, !llvm.loop !23

._crit_edge97:                                    ; preds = %100, %._crit_edge92.thread, %._crit_edge92
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #9
  %88 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  %89 = trunc i64 %88 to i32
  %90 = and i32 %89, 1
  %91 = icmp eq i32 %90, 0
  br i1 %91, label %105, label %104

.lr.ph96:                                         ; preds = %._crit_edge92, %100
  %92 = phi i32 [ %101, %100 ], [ %74, %._crit_edge92 ]
  %storemerge94 = phi i32 [ %103, %100 ], [ 1, %._crit_edge92 ]
  %93 = sext i32 %storemerge94 to i64
  %94 = getelementptr inbounds [105 x i32], ptr @deg, i64 0, i64 %93
  %95 = load i32, ptr %94, align 4, !tbaa !8
  %96 = and i32 %95, 1
  %.not64 = icmp eq i32 %96, 0
  br i1 %.not64, label %100, label %97

97:                                               ; preds = %.lr.ph96
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %._crit_edge135 unwind label %98

._crit_edge135:                                   ; preds = %97
  %.pre = load i32, ptr %8, align 4, !tbaa !8
  %.pre136 = load i32, ptr %1, align 4, !tbaa !8
  br label %100

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

100:                                              ; preds = %._crit_edge135, %.lr.ph96
  %101 = phi i32 [ %.pre136, %._crit_edge135 ], [ %92, %.lr.ph96 ]
  %102 = phi i32 [ %.pre, %._crit_edge135 ], [ %storemerge94, %.lr.ph96 ]
  %103 = add nsw i32 %102, 1
  store i32 %103, ptr %8, align 4, !tbaa !8
  %.not60.not = icmp slt i32 %102, %101
  br i1 %.not60.not, label %.lr.ph96, label %._crit_edge97, !llvm.loop !24

104:                                              ; preds = %._crit_edge97
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 114, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #10
  unreachable

105:                                              ; preds = %._crit_edge97
  call void @llvm.lifetime.start.p0(i64 91160, ptr nonnull %9) #9
  call void @_ZN18RandomizedMatchingC2Ei(ptr noundef nonnull align 8 dereferenceable(91160) %9, i32 noundef %89)
  %.not61102 = icmp slt i32 %89, 1
  br i1 %.not61102, label %._crit_edge104.split, label %.preheader70.preheader

.preheader70.preheader:                           ; preds = %105
  %106 = and i64 %88, 2147483646
  br label %.preheader70

.preheader70:                                     ; preds = %.preheader70.preheader, %._crit_edge101
  %indvars.iv130 = phi i64 [ 1, %.preheader70.preheader ], [ %indvars.iv.next131, %._crit_edge101 ]
  %107 = add nsw i64 %indvars.iv130, -1
  %108 = trunc i64 %indvars.iv130 to i32
  br label %112

._crit_edge104.split:                             ; preds = %._crit_edge101, %105
  %109 = invoke noundef i64 @_ZN18RandomizedMatching16maximum_matchingEv(ptr noundef nonnull align 8 dereferenceable(91160) %9)
          to label %139 unwind label %110

110:                                              ; preds = %142, %139, %._crit_edge104.split
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %154

._crit_edge101:                                   ; preds = %138
  %indvars.iv.next131 = add nuw nsw i64 %indvars.iv130, 1
  %exitcond134.not = icmp eq i64 %indvars.iv130, %106
  br i1 %exitcond134.not, label %._crit_edge104.split, label %.preheader70, !llvm.loop !25

112:                                              ; preds = %.preheader70, %138
  %indvars.iv125 = phi i64 [ 1, %.preheader70 ], [ %indvars.iv.next126, %138 ]
  %113 = icmp eq i64 %indvars.iv130, %indvars.iv125
  br i1 %113, label %.invoke, label %114

114:                                              ; preds = %112
  %115 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %107) #9
  %116 = load i32, ptr %115, align 4, !tbaa !8
  %117 = sext i32 %116 to i64
  %118 = add nsw i64 %indvars.iv125, -1
  %119 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %118) #9
  %120 = load i32, ptr %119, align 4, !tbaa !8
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds [105 x [105 x i64]], ptr @w, i64 0, i64 %117, i64 %121
  %123 = load i64, ptr %122, align 8, !tbaa !11
  %124 = icmp eq i64 %123, 1000000000000000000
  br i1 %124, label %.invoke, label %127

125:                                              ; preds = %.invoke
  %126 = landingpad { ptr, i32 }
          cleanup
  br label %154

127:                                              ; preds = %114
  %128 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %107) #9
  %129 = load i32, ptr %128, align 4, !tbaa !8
  %130 = sext i32 %129 to i64
  %131 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %118) #9
  %132 = load i32, ptr %131, align 4, !tbaa !8
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [105 x [105 x i64]], ptr @w, i64 0, i64 %130, i64 %133
  br label %.invoke

.invoke:                                          ; preds = %112, %114, %127
  %.sink143 = phi ptr [ %134, %127 ], [ %25, %114 ], [ %25, %112 ]
  %135 = load i64, ptr %.sink143, align 8, !tbaa !11
  %136 = sub nsw i64 0, %135
  %137 = trunc nuw nsw i64 %indvars.iv125 to i32
  invoke void @_ZN18RandomizedMatching8add_edgeEiix(ptr noundef nonnull align 8 dereferenceable(91160) %9, i32 noundef %108, i32 noundef %137, i64 noundef %136)
          to label %138 unwind label %125

138:                                              ; preds = %.invoke
  %indvars.iv.next126 = add nuw nsw i64 %indvars.iv125, 1
  %exitcond129.not = icmp eq i64 %indvars.iv125, %106
  br i1 %exitcond129.not, label %._crit_edge101, label %112, !llvm.loop !26

139:                                              ; preds = %._crit_edge104.split
  %140 = sub i64 %.053.lcssa, %109
  %141 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %140)
          to label %142 unwind label %110

142:                                              ; preds = %139
  %143 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %141, i8 noundef signext 10)
          to label %144 unwind label %110

144:                                              ; preds = %142
  call void @llvm.lifetime.end.p0(i64 91160, ptr nonnull %9) #9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #9
  %145 = 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)
  %146 = load ptr, ptr %145, align 8, !tbaa !5
  %147 = getelementptr i8, ptr %146, i64 -24
  %148 = load i64, ptr %147, align 8
  %149 = getelementptr inbounds i8, ptr %145, i64 %148
  %150 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %149)
  %151 = load i32, ptr %1, align 4
  %152 = icmp ne i32 %151, 0
  %153 = select i1 %150, i1 %152, i1 false
  br i1 %153, label %26, label %._crit_edge107, !llvm.loop !27

154:                                              ; preds = %125, %110
  %.pn = phi { ptr, i32 } [ %126, %125 ], [ %111, %110 ]
  call void @llvm.lifetime.end.p0(i64 91160, ptr nonnull %9) #9
  br label %155

155:                                              ; preds = %154, %98
  %.pn65 = phi { ptr, i32 } [ %99, %98 ], [ %.pn, %154 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #9
  resume { ptr, i32 } %.pn65

._crit_edge107:                                   ; preds = %144, %0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #9
  ret i32 0
}

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

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

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

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 #1

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #4 align 2

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN18RandomizedMatching8add_edgeEiix(ptr noundef nonnull align 8 dereferenceable(91160), i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #4 align 2

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

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

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

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

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

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,ReassociatePass,SCCPPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass