; LLVM IR from VastoLorde95/Competitive-Programming :: Codeforces/317 Division 1/Problem C (C)

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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { i32, i32 }
%"class.__gnu_cxx::__normal_iterator.5" = type { ptr }

@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@vv = external dso_local global [200100 x i32], align 16
@ok = external dso_local global [200100 x i32], align 16
@taken = external dso_local global [200100 x i32], align 16
@c = external dso_local global [200100 x %"class.std::vector"], align 16
@var = external dso_local global [200100 x %"class.std::vector"], align 16
@g = external dso_local global [200100 x %"class.std::vector.0"], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z5matchi(i32 noundef) #0

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 {
  %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 %"struct.std::pair", align 4
  %13 = alloca %"struct.std::pair", align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  store i32 0, ptr %1, align 4
  %19 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n, ptr noundef @m)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %20

20:                                               ; preds = %29, %0
  %21 = load i32, ptr %2, align 4, !tbaa !5
  %22 = load i32, ptr @m, align 4, !tbaa !5
  %23 = icmp sle i32 %21, %22
  br i1 %23, label %25, label %24

24:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  br label %32

25:                                               ; preds = %20
  %26 = load i32, ptr %2, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [200100 x i32], ptr @vv, i64 0, i64 %27
  store i32 -1, ptr %28, align 4, !tbaa !5
  br label %29

29:                                               ; preds = %25
  %30 = load i32, ptr %2, align 4, !tbaa !5
  %31 = add nsw i32 %30, 1
  store i32 %31, ptr %2, align 4, !tbaa !5
  br label %20, !llvm.loop !9

32:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  store i32 1, ptr %3, align 4, !tbaa !5
  br label %33

33:                                               ; preds = %72, %32
  %34 = load i32, ptr %3, align 4, !tbaa !5
  %35 = load i32, ptr @n, align 4, !tbaa !5
  %36 = icmp sle i32 %34, %35
  br i1 %36, label %38, label %37

37:                                               ; preds = %33
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  br label %75

38:                                               ; preds = %33
  %39 = load i32, ptr %3, align 4, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [200100 x i32], ptr @ok, i64 0, i64 %40
  store i32 0, ptr %41, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  %42 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.6, ptr noundef %5)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %43

43:                                               ; preds = %68, %38
  %44 = load i32, ptr %7, align 4, !tbaa !5
  %45 = load i32, ptr %5, align 4, !tbaa !5
  %46 = icmp slt i32 %44, %45
  br i1 %46, label %48, label %47

47:                                               ; preds = %43
  store i32 8, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  br label %71

48:                                               ; preds = %43
  %49 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.6, ptr noundef %6)
  %50 = load i32, ptr %3, align 4, !tbaa !5
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @c, i64 0, i64 %51
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %52, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %53 = load i32, ptr %6, align 4, !tbaa !5
  %54 = icmp sgt i32 %53, 0
  br i1 %54, label %55, label %60

55:                                               ; preds = %48
  %56 = load i32, ptr %6, align 4, !tbaa !5
  %57 = call i32 @llvm.abs.i32(i32 %56, i1 true)
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %58
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %59, ptr noundef nonnull align 4 dereferenceable(4) %3)
  br label %67

60:                                               ; preds = %48
  %61 = load i32, ptr %6, align 4, !tbaa !5
  %62 = call i32 @llvm.abs.i32(i32 %61, i1 true)
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %63
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  %65 = load i32, ptr %3, align 4, !tbaa !5
  %66 = sub nsw i32 0, %65
  store i32 %66, ptr %8, align 4, !tbaa !5
  call void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %64, ptr noundef nonnull align 4 dereferenceable(4) %8)
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %67

67:                                               ; preds = %60, %55
  br label %68

68:                                               ; preds = %67
  %69 = load i32, ptr %7, align 4, !tbaa !5
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %7, align 4, !tbaa !5
  br label %43, !llvm.loop !11

71:                                               ; preds = %47
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %72

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

75:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 1, ptr %9, align 4, !tbaa !5
  br label %76

76:                                               ; preds = %207, %75
  %77 = load i32, ptr %9, align 4, !tbaa !5
  %78 = load i32, ptr @m, align 4, !tbaa !5
  %79 = icmp sle i32 %77, %78
  br i1 %79, label %81, label %80

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

81:                                               ; preds = %76
  %82 = load i32, ptr %9, align 4, !tbaa !5
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %83
  %85 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %84) #7
  %86 = icmp eq i64 %85, 0
  br i1 %86, label %87, label %91

87:                                               ; preds = %81
  %88 = load i32, ptr %9, align 4, !tbaa !5
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [200100 x i32], ptr @vv, i64 0, i64 %89
  store i32 0, ptr %90, align 4, !tbaa !5
  br label %207

91:                                               ; preds = %81
  %92 = load i32, ptr %9, align 4, !tbaa !5
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %93
  %95 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %94) #7
  %96 = icmp eq i64 %95, 1
  br i1 %96, label %97, label %117

97:                                               ; preds = %91
  %98 = load i32, ptr %9, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %99
  %101 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %100, i64 noundef 0) #7
  %102 = load i32, ptr %101, align 4, !tbaa !5
  %103 = icmp sgt i32 %102, 0
  %104 = zext i1 %103 to i64
  %105 = select i1 %103, i32 1, i32 0
  %106 = load i32, ptr %9, align 4, !tbaa !5
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds [200100 x i32], ptr @vv, i64 0, i64 %107
  store i32 %105, ptr %108, align 4, !tbaa !5
  %109 = load i32, ptr %9, align 4, !tbaa !5
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %110
  %112 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %111, i64 noundef 0) #7
  %113 = load i32, ptr %112, align 4, !tbaa !5
  %114 = call i32 @llvm.abs.i32(i32 %113, i1 true)
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds [200100 x i32], ptr @ok, i64 0, i64 %115
  store i32 1, ptr %116, align 4, !tbaa !5
  br label %206

117:                                              ; preds = %91
  %118 = load i32, ptr %9, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %119
  %121 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %120, i64 noundef 0) #7
  %122 = load i32, ptr %121, align 4, !tbaa !5
  %123 = icmp slt i32 %122, 0
  br i1 %123, label %124, label %151

124:                                              ; preds = %117
  %125 = load i32, ptr %9, align 4, !tbaa !5
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %126
  %128 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %127, i64 noundef 1) #7
  %129 = load i32, ptr %128, align 4, !tbaa !5
  %130 = icmp slt i32 %129, 0
  br i1 %130, label %131, label %151

131:                                              ; preds = %124
  %132 = load i32, ptr %9, align 4, !tbaa !5
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [200100 x i32], ptr @vv, i64 0, i64 %133
  store i32 0, ptr %134, align 4, !tbaa !5
  %135 = load i32, ptr %9, align 4, !tbaa !5
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %136
  %138 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %137, i64 noundef 1) #7
  %139 = load i32, ptr %138, align 4, !tbaa !5
  %140 = call i32 @llvm.abs.i32(i32 %139, i1 true)
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds [200100 x i32], ptr @ok, i64 0, i64 %141
  store i32 1, ptr %142, align 4, !tbaa !5
  %143 = load i32, ptr %9, align 4, !tbaa !5
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %144
  %146 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %145, i64 noundef 0) #7
  %147 = load i32, ptr %146, align 4, !tbaa !5
  %148 = call i32 @llvm.abs.i32(i32 %147, i1 true)
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds [200100 x i32], ptr @ok, i64 0, i64 %149
  store i32 1, ptr %150, align 4, !tbaa !5
  br label %205

151:                                              ; preds = %124, %117
  %152 = load i32, ptr %9, align 4, !tbaa !5
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %153
  %155 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %154, i64 noundef 0) #7
  %156 = load i32, ptr %155, align 4, !tbaa !5
  %157 = icmp sgt i32 %156, 0
  br i1 %157, label %158, label %183

158:                                              ; preds = %151
  %159 = load i32, ptr %9, align 4, !tbaa !5
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %160
  %162 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %161, i64 noundef 1) #7
  %163 = load i32, ptr %162, align 4, !tbaa !5
  %164 = icmp sgt i32 %163, 0
  br i1 %164, label %165, label %183

165:                                              ; preds = %158
  %166 = load i32, ptr %9, align 4, !tbaa !5
  %167 = sext i32 %166 to i64
  %168 = getelementptr inbounds [200100 x i32], ptr @vv, i64 0, i64 %167
  store i32 1, ptr %168, align 4, !tbaa !5
  %169 = load i32, ptr %9, align 4, !tbaa !5
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %170
  %172 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %171, i64 noundef 1) #7
  %173 = load i32, ptr %172, align 4, !tbaa !5
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds [200100 x i32], ptr @ok, i64 0, i64 %174
  store i32 1, ptr %175, align 4, !tbaa !5
  %176 = load i32, ptr %9, align 4, !tbaa !5
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %177
  %179 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %178, i64 noundef 0) #7
  %180 = load i32, ptr %179, align 4, !tbaa !5
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds [200100 x i32], ptr @ok, i64 0, i64 %181
  store i32 1, ptr %182, align 4, !tbaa !5
  br label %204

183:                                              ; preds = %158, %151
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  %184 = load i32, ptr %9, align 4, !tbaa !5
  %185 = sext i32 %184 to i64
  %186 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %185
  %187 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %186, i64 noundef 0) #7
  %188 = load i32, ptr %187, align 4, !tbaa !5
  %189 = call i32 @llvm.abs.i32(i32 %188, i1 true)
  store i32 %189, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  %190 = load i32, ptr %9, align 4, !tbaa !5
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %191
  %193 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %192, i64 noundef 1) #7
  %194 = load i32, ptr %193, align 4, !tbaa !5
  %195 = call i32 @llvm.abs.i32(i32 %194, i1 true)
  store i32 %195, ptr %11, align 4, !tbaa !5
  %196 = load i32, ptr %10, align 4, !tbaa !5
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds [200100 x %"class.std::vector.0"], ptr @g, i64 0, i64 %197
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %199 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %9)
  store i64 %199, ptr %12, align 4
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %198, ptr noundef nonnull align 4 dereferenceable(8) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  %200 = load i32, ptr %11, align 4, !tbaa !5
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds [200100 x %"class.std::vector.0"], ptr @g, i64 0, i64 %201
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %203 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %9)
  store i64 %203, ptr %13, align 4
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %202, ptr noundef nonnull align 4 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %204

204:                                              ; preds = %183, %165
  br label %205

205:                                              ; preds = %204, %131
  br label %206

206:                                              ; preds = %205, %97
  br label %207

207:                                              ; preds = %206, %87
  %208 = load i32, ptr %9, align 4, !tbaa !5
  %209 = add nsw i32 %208, 1
  store i32 %209, ptr %9, align 4, !tbaa !5
  br label %76, !llvm.loop !13

210:                                              ; preds = %80
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 1, ptr %14, align 4, !tbaa !5
  br label %211

211:                                              ; preds = %229, %210
  %212 = load i32, ptr %14, align 4, !tbaa !5
  %213 = load i32, ptr @n, align 4, !tbaa !5
  %214 = icmp sle i32 %212, %213
  br i1 %214, label %216, label %215

215:                                              ; preds = %211
  store i32 14, ptr %4, align 4
  br label %232

216:                                              ; preds = %211
  %217 = load i32, ptr %14, align 4, !tbaa !5
  %218 = sext i32 %217 to i64
  %219 = getelementptr inbounds [200100 x i32], ptr @ok, i64 0, i64 %218
  %220 = load i32, ptr %219, align 4, !tbaa !5
  %221 = icmp ne i32 %220, 0
  br i1 %221, label %228, label %222

222:                                              ; preds = %216
  %223 = load i32, ptr %14, align 4, !tbaa !5
  %224 = call noundef zeroext i1 @_Z5matchi(i32 noundef %223)
  br i1 %224, label %227, label %225

225:                                              ; preds = %222
  %226 = call i32 @puts(ptr noundef @.str.7)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %4, align 4
  br label %232

227:                                              ; preds = %222
  br label %228

228:                                              ; preds = %227, %216
  br label %229

229:                                              ; preds = %228
  %230 = load i32, ptr %14, align 4, !tbaa !5
  %231 = add nsw i32 %230, 1
  store i32 %231, ptr %14, align 4, !tbaa !5
  br label %211, !llvm.loop !14

232:                                              ; preds = %225, %215
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  %233 = load i32, ptr %4, align 4
  switch i32 %233, label %311 [
    i32 14, label %234
    i32 1, label %309
  ]

234:                                              ; preds = %232
  %235 = call i32 @puts(ptr noundef @.str.8)
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store i32 1, ptr %15, align 4, !tbaa !5
  br label %236

236:                                              ; preds = %304, %234
  %237 = load i32, ptr %15, align 4, !tbaa !5
  %238 = load i32, ptr @m, align 4, !tbaa !5
  %239 = icmp sle i32 %237, %238
  br i1 %239, label %241, label %240

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

241:                                              ; preds = %236
  %242 = load i32, ptr %15, align 4, !tbaa !5
  %243 = sext i32 %242 to i64
  %244 = getelementptr inbounds [200100 x i32], ptr @taken, i64 0, i64 %243
  %245 = load i32, ptr %244, align 4, !tbaa !5
  %246 = icmp ne i32 %245, 0
  br i1 %246, label %247, label %288

247:                                              ; preds = %241
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %248 = load i32, ptr %15, align 4, !tbaa !5
  %249 = sext i32 %248 to i64
  %250 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %249
  %251 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %250) #7
  %252 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %16, i32 0, i32 0
  store ptr %251, ptr %252, align 8
  br label %253

253:                                              ; preds = %284, %247
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %254 = load i32, ptr %15, align 4, !tbaa !5
  %255 = sext i32 %254 to i64
  %256 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %255
  %257 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %256) #7
  %258 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %17, i32 0, i32 0
  store ptr %257, ptr %258, align 8
  %259 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br i1 %259, label %261, label %260

260:                                              ; preds = %253
  store i32 20, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %287

261:                                              ; preds = %253
  %262 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #7
  %263 = load i32, ptr %262, align 4, !tbaa !5
  %264 = call i32 @llvm.abs.i32(i32 %263, i1 true)
  %265 = load i32, ptr %15, align 4, !tbaa !5
  %266 = sext i32 %265 to i64
  %267 = getelementptr inbounds [200100 x i32], ptr @taken, i64 0, i64 %266
  %268 = load i32, ptr %267, align 4, !tbaa !5
  %269 = icmp eq i32 %264, %268
  br i1 %269, label %270, label %283

270:                                              ; preds = %261
  %271 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #7
  %272 = load i32, ptr %271, align 4, !tbaa !5
  %273 = icmp sgt i32 %272, 0
  br i1 %273, label %274, label %278

274:                                              ; preds = %270
  %275 = load i32, ptr %15, align 4, !tbaa !5
  %276 = sext i32 %275 to i64
  %277 = getelementptr inbounds [200100 x i32], ptr @vv, i64 0, i64 %276
  store i32 1, ptr %277, align 4, !tbaa !5
  br label %282

278:                                              ; preds = %270
  %279 = load i32, ptr %15, align 4, !tbaa !5
  %280 = sext i32 %279 to i64
  %281 = getelementptr inbounds [200100 x i32], ptr @vv, i64 0, i64 %280
  store i32 0, ptr %281, align 4, !tbaa !5
  br label %282

282:                                              ; preds = %278, %274
  br label %283

283:                                              ; preds = %282, %261
  br label %284

284:                                              ; preds = %283
  %285 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %16, i32 noundef 0) #7
  %286 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %18, i32 0, i32 0
  store ptr %285, ptr %286, align 8
  br label %253, !llvm.loop !15

287:                                              ; preds = %260
  br label %288

288:                                              ; preds = %287, %241
  %289 = load i32, ptr %15, align 4, !tbaa !5
  %290 = sext i32 %289 to i64
  %291 = getelementptr inbounds [200100 x i32], ptr @vv, i64 0, i64 %290
  %292 = load i32, ptr %291, align 4, !tbaa !5
  %293 = icmp eq i32 %292, -1
  br i1 %293, label %294, label %298

294:                                              ; preds = %288
  %295 = load i32, ptr %15, align 4, !tbaa !5
  %296 = sext i32 %295 to i64
  %297 = getelementptr inbounds [200100 x i32], ptr @vv, i64 0, i64 %296
  store i32 0, ptr %297, align 4, !tbaa !5
  br label %298

298:                                              ; preds = %294, %288
  %299 = load i32, ptr %15, align 4, !tbaa !5
  %300 = sext i32 %299 to i64
  %301 = getelementptr inbounds [200100 x i32], ptr @vv, i64 0, i64 %300
  %302 = load i32, ptr %301, align 4, !tbaa !5
  %303 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %302)
  br label %304

304:                                              ; preds = %298
  %305 = load i32, ptr %15, align 4, !tbaa !5
  %306 = add nsw i32 %305, 1
  store i32 %306, ptr %15, align 4, !tbaa !5
  br label %236, !llvm.loop !16

307:                                              ; preds = %240
  %308 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  store i32 0, ptr %1, align 4
  br label %309

309:                                              ; preds = %307, %232
  %310 = load i32, ptr %1, align 4
  ret i32 %310

311:                                              ; preds = %232
  unreachable
}

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #4

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

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

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

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

declare i32 @puts(ptr noundef) #3

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #5 align 2

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 #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 = { 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}


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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { i32, i32 }
%"class.__gnu_cxx::__normal_iterator.5" = type { ptr }

@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@vv = external dso_local local_unnamed_addr global [200100 x i32], align 16
@ok = external dso_local local_unnamed_addr global [200100 x i32], align 16
@taken = external dso_local local_unnamed_addr global [200100 x i32], align 16
@c = external dso_local global [200100 x %"class.std::vector"], align 16
@var = external dso_local global [200100 x %"class.std::vector"], align 16
@g = external dso_local global [200100 x %"class.std::vector.0"], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z5matchi(i32 noundef) local_unnamed_addr #0

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 {
  %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 %"struct.std::pair", align 8
  %9 = alloca %"struct.std::pair", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %12 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n, ptr noundef nonnull @m)
  %13 = load i32, ptr @m, align 4, !tbaa !5
  %.not39 = icmp slt i32 %13, 1
  br i1 %.not39, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %0
  %14 = zext nneg i32 %13 to i64
  %15 = shl nuw nsw i64 %14, 2
  tail call void @llvm.memset.p0.i64(ptr nonnull align 4 getelementptr inbounds (i8, ptr @vv, i64 4), i8 -1, i64 %15, i1 false), !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph.preheader, %0
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #8
  store i32 1, ptr %1, align 4, !tbaa !5
  %16 = load i32, ptr @n, align 4, !tbaa !5
  %.not2945 = icmp slt i32 %16, 1
  br i1 %.not2945, label %._crit_edge49, label %.lr.ph48

._crit_edge49.loopexit:                           ; preds = %._crit_edge44
  %.pre = load i32, ptr @m, align 4, !tbaa !5
  br label %._crit_edge49

._crit_edge49:                                    ; preds = %._crit_edge49.loopexit, %._crit_edge
  %17 = phi i32 [ %26, %._crit_edge49.loopexit ], [ %16, %._crit_edge ]
  %18 = phi i32 [ %.pre, %._crit_edge49.loopexit ], [ %13, %._crit_edge ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #8
  store i32 1, ptr %5, align 4, !tbaa !5
  %.not3150 = icmp slt i32 %18, 1
  br i1 %.not3150, label %._crit_edge54, label %.lr.ph53

.lr.ph48:                                         ; preds = %._crit_edge, %._crit_edge44
  %storemerge46 = phi i32 [ %25, %._crit_edge44 ], [ 1, %._crit_edge ]
  %19 = sext i32 %storemerge46 to i64
  %20 = getelementptr inbounds [200100 x i32], ptr @ok, i64 0, i64 %19
  store i32 0, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #8
  %21 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.6, ptr noundef nonnull %2)
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = icmp sgt i32 %22, 0
  br i1 %23, label %.lr.ph43, label %._crit_edge44

._crit_edge44:                                    ; preds = %42, %.lr.ph48
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #8
  %24 = load i32, ptr %1, align 4, !tbaa !5
  %25 = add nsw i32 %24, 1
  store i32 %25, ptr %1, align 4, !tbaa !5
  %26 = load i32, ptr @n, align 4, !tbaa !5
  %.not29.not = icmp slt i32 %24, %26
  br i1 %.not29.not, label %.lr.ph48, label %._crit_edge49.loopexit, !llvm.loop !9

.lr.ph43:                                         ; preds = %.lr.ph48, %42
  %.02441 = phi i32 [ %43, %42 ], [ 0, %.lr.ph48 ]
  %27 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.6, ptr noundef nonnull %3)
  %28 = load i32, ptr %1, align 4, !tbaa !5
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @c, i64 0, i64 %29
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %31 = load i32, ptr %3, align 4, !tbaa !5
  %32 = icmp sgt i32 %31, 0
  br i1 %32, label %33, label %36

33:                                               ; preds = %.lr.ph43
  %34 = zext nneg i32 %31 to i64
  %35 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %34
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 4 dereferenceable(4) %1)
  br label %42

36:                                               ; preds = %.lr.ph43
  %37 = sub nsw i32 0, %31
  %38 = zext nneg i32 %37 to i64
  %39 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %38
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #8
  %40 = load i32, ptr %1, align 4, !tbaa !5
  %41 = sub nsw i32 0, %40
  store i32 %41, ptr %4, align 4, !tbaa !5
  call void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 4 dereferenceable(4) %4)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #8
  br label %42

42:                                               ; preds = %33, %36
  %43 = add nuw nsw i32 %.02441, 1
  %44 = load i32, ptr %2, align 4, !tbaa !5
  %45 = icmp slt i32 %43, %44
  br i1 %45, label %.lr.ph43, label %._crit_edge44, !llvm.loop !11

._crit_edge54.loopexit:                           ; preds = %154
  %.pre73 = load i32, ptr @n, align 4, !tbaa !5
  br label %._crit_edge54

._crit_edge54:                                    ; preds = %._crit_edge54.loopexit, %._crit_edge49
  %46 = phi i32 [ %.pre73, %._crit_edge54.loopexit ], [ %17, %._crit_edge49 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  %.not3255 = icmp slt i32 %46, 1
  br i1 %.not3255, label %._crit_edge59, label %.lr.ph58

.lr.ph53:                                         ; preds = %._crit_edge49, %154
  %storemerge3051 = phi i32 [ %156, %154 ], [ 1, %._crit_edge49 ]
  %47 = sext i32 %storemerge3051 to i64
  %48 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %47
  %49 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %48) #8
  %50 = icmp eq i64 %49, 0
  %51 = load i32, ptr %5, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  br i1 %50, label %53, label %55

53:                                               ; preds = %.lr.ph53
  %54 = getelementptr inbounds [200100 x i32], ptr @vv, i64 0, i64 %52
  store i32 0, ptr %54, align 4, !tbaa !5
  br label %154

55:                                               ; preds = %.lr.ph53
  %56 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %52
  %57 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #8
  %58 = icmp eq i64 %57, 1
  %59 = load i32, ptr %5, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %60
  %62 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef 0) #8
  %63 = load i32, ptr %62, align 4, !tbaa !5
  br i1 %58, label %64, label %76

64:                                               ; preds = %55
  %65 = icmp sgt i32 %63, 0
  %66 = zext i1 %65 to i32
  %67 = load i32, ptr %5, align 4, !tbaa !5
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [200100 x i32], ptr @vv, i64 0, i64 %68
  store i32 %66, ptr %69, align 4, !tbaa !5
  %70 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %68
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %70, i64 noundef 0) #8
  %72 = load i32, ptr %71, align 4, !tbaa !5
  %73 = call i32 @llvm.abs.i32(i32 %72, i1 true)
  %74 = zext nneg i32 %73 to i64
  %75 = getelementptr inbounds [200100 x i32], ptr @ok, i64 0, i64 %74
  store i32 1, ptr %75, align 4, !tbaa !5
  br label %154

76:                                               ; preds = %55
  %77 = icmp slt i32 %63, 0
  br i1 %77, label %78, label %103

78:                                               ; preds = %76
  %79 = load i32, ptr %5, align 4, !tbaa !5
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %80
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %81, i64 noundef 1) #8
  %83 = load i32, ptr %82, align 4, !tbaa !5
  %84 = icmp slt i32 %83, 0
  br i1 %84, label %85, label %103

85:                                               ; preds = %78
  %86 = load i32, ptr %5, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [200100 x i32], ptr @vv, i64 0, i64 %87
  store i32 0, ptr %88, align 4, !tbaa !5
  %89 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %87
  %90 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %89, i64 noundef 1) #8
  %91 = load i32, ptr %90, align 4, !tbaa !5
  %92 = call i32 @llvm.abs.i32(i32 %91, i1 true)
  %93 = zext nneg i32 %92 to i64
  %94 = getelementptr inbounds [200100 x i32], ptr @ok, i64 0, i64 %93
  store i32 1, ptr %94, align 4, !tbaa !5
  %95 = load i32, ptr %5, align 4, !tbaa !5
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %96
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %97, i64 noundef 0) #8
  %99 = load i32, ptr %98, align 4, !tbaa !5
  %100 = call i32 @llvm.abs.i32(i32 %99, i1 true)
  %101 = zext nneg i32 %100 to i64
  %102 = getelementptr inbounds [200100 x i32], ptr @ok, i64 0, i64 %101
  store i32 1, ptr %102, align 4, !tbaa !5
  br label %154

103:                                              ; preds = %78, %76
  %104 = load i32, ptr %5, align 4, !tbaa !5
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %105
  %107 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %106, i64 noundef 0) #8
  %108 = load i32, ptr %107, align 4, !tbaa !5
  %109 = icmp sgt i32 %108, 0
  br i1 %109, label %110, label %133

110:                                              ; preds = %103
  %111 = load i32, ptr %5, align 4, !tbaa !5
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %112
  %114 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %113, i64 noundef 1) #8
  %115 = load i32, ptr %114, align 4, !tbaa !5
  %116 = icmp sgt i32 %115, 0
  br i1 %116, label %117, label %133

117:                                              ; preds = %110
  %118 = load i32, ptr %5, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [200100 x i32], ptr @vv, i64 0, i64 %119
  store i32 1, ptr %120, align 4, !tbaa !5
  %121 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %119
  %122 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %121, i64 noundef 1) #8
  %123 = load i32, ptr %122, align 4, !tbaa !5
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds [200100 x i32], ptr @ok, i64 0, i64 %124
  store i32 1, ptr %125, align 4, !tbaa !5
  %126 = load i32, ptr %5, align 4, !tbaa !5
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %127
  %129 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %128, i64 noundef 0) #8
  %130 = load i32, ptr %129, align 4, !tbaa !5
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds [200100 x i32], ptr @ok, i64 0, i64 %131
  store i32 1, ptr %132, align 4, !tbaa !5
  br label %154

133:                                              ; preds = %110, %103
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #8
  %134 = load i32, ptr %5, align 4, !tbaa !5
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %135
  %137 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %136, i64 noundef 0) #8
  %138 = load i32, ptr %137, align 4, !tbaa !5
  %139 = call i32 @llvm.abs.i32(i32 %138, i1 true)
  store i32 %139, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #8
  %140 = load i32, ptr %5, align 4, !tbaa !5
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %141
  %143 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %142, i64 noundef 1) #8
  %144 = load i32, ptr %143, align 4, !tbaa !5
  %145 = call i32 @llvm.abs.i32(i32 %144, i1 true)
  store i32 %145, ptr %7, align 4, !tbaa !5
  %146 = load i32, ptr %6, align 4, !tbaa !5
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds [200100 x %"class.std::vector.0"], ptr @g, i64 0, i64 %147
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  %149 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %5)
  store i64 %149, ptr %8, align 8
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %148, ptr noundef nonnull align 4 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  %150 = load i32, ptr %7, align 4, !tbaa !5
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds [200100 x %"class.std::vector.0"], ptr @g, i64 0, i64 %151
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  %153 = call 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) %5)
  store i64 %153, ptr %9, align 8
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %152, ptr noundef nonnull align 4 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #8
  br label %154

154:                                              ; preds = %64, %117, %133, %85, %53
  %155 = load i32, ptr %5, align 4, !tbaa !5
  %156 = add nsw i32 %155, 1
  store i32 %156, ptr %5, align 4, !tbaa !5
  %157 = load i32, ptr @m, align 4, !tbaa !5
  %.not31.not = icmp slt i32 %155, %157
  br i1 %.not31.not, label %.lr.ph53, label %._crit_edge54.loopexit, !llvm.loop !12

.lr.ph58:                                         ; preds = %._crit_edge54, %164
  %158 = phi i32 [ %165, %164 ], [ %46, %._crit_edge54 ]
  %indvars.iv = phi i64 [ %indvars.iv.next, %164 ], [ 1, %._crit_edge54 ]
  %159 = getelementptr inbounds [200100 x i32], ptr @ok, i64 0, i64 %indvars.iv
  %160 = load i32, ptr %159, align 4, !tbaa !5
  %.not33 = icmp eq i32 %160, 0
  br i1 %.not33, label %161, label %164

161:                                              ; preds = %.lr.ph58
  %162 = trunc nuw nsw i64 %indvars.iv to i32
  %163 = call noundef zeroext i1 @_Z5matchi(i32 noundef %162)
  br i1 %163, label %._crit_edge74, label %167

._crit_edge74:                                    ; preds = %161
  %.pre75 = load i32, ptr @n, align 4, !tbaa !5
  br label %164

164:                                              ; preds = %._crit_edge74, %.lr.ph58
  %165 = phi i32 [ %.pre75, %._crit_edge74 ], [ %158, %.lr.ph58 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %166 = sext i32 %165 to i64
  %.not32.not = icmp slt i64 %indvars.iv, %166
  br i1 %.not32.not, label %.lr.ph58, label %._crit_edge59, !llvm.loop !13

167:                                              ; preds = %161
  %168 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.7)
  br label %203

._crit_edge59:                                    ; preds = %164, %._crit_edge54
  %169 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.8)
  %170 = load i32, ptr @m, align 4, !tbaa !5
  %.not3463 = icmp slt i32 %170, 1
  br i1 %.not3463, label %._crit_edge67, label %.lr.ph66

._crit_edge67:                                    ; preds = %198, %._crit_edge59
  %171 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  br label %203

.lr.ph66:                                         ; preds = %._crit_edge59, %198
  %indvars.iv70 = phi i64 [ %indvars.iv.next71, %198 ], [ 1, %._crit_edge59 ]
  %172 = getelementptr inbounds [200100 x i32], ptr @taken, i64 0, i64 %indvars.iv70
  %173 = load i32, ptr %172, align 4, !tbaa !5
  %.not35 = icmp eq i32 %173, 0
  br i1 %.not35, label %193, label %174

174:                                              ; preds = %.lr.ph66
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #8
  %175 = getelementptr inbounds [200100 x %"class.std::vector"], ptr @var, i64 0, i64 %indvars.iv70
  %176 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %175) #8
  store ptr %176, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  %177 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %175) #8
  store ptr %177, ptr %11, align 8
  %178 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  br i1 %178, label %.lr.ph61, label %._crit_edge62

.lr.ph61:                                         ; preds = %174
  %179 = getelementptr inbounds [200100 x i32], ptr @vv, i64 0, i64 %indvars.iv70
  br label %180

._crit_edge62:                                    ; preds = %189, %174
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  br label %193

180:                                              ; preds = %.lr.ph61, %189
  %181 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  %182 = load i32, ptr %181, align 4, !tbaa !5
  %183 = call i32 @llvm.abs.i32(i32 %182, i1 true)
  %184 = load i32, ptr %172, align 4, !tbaa !5
  %185 = icmp eq i32 %183, %184
  br i1 %185, label %.sink.split, label %189

.sink.split:                                      ; preds = %180
  %186 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  %187 = load i32, ptr %186, align 4, !tbaa !5
  %188 = icmp sgt i32 %187, 0
  %. = zext i1 %188 to i32
  store i32 %., ptr %179, align 4, !tbaa !5
  br label %189

189:                                              ; preds = %.sink.split, %180
  %190 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %10, i32 noundef 0) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  %191 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %175) #8
  store ptr %191, ptr %11, align 8
  %192 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  br i1 %192, label %180, label %._crit_edge62, !llvm.loop !14

193:                                              ; preds = %._crit_edge62, %.lr.ph66
  %194 = getelementptr inbounds [200100 x i32], ptr @vv, i64 0, i64 %indvars.iv70
  %195 = load i32, ptr %194, align 4, !tbaa !5
  %196 = icmp eq i32 %195, -1
  br i1 %196, label %197, label %198

197:                                              ; preds = %193
  store i32 0, ptr %194, align 4, !tbaa !5
  br label %198

198:                                              ; preds = %197, %193
  %199 = phi i32 [ 0, %197 ], [ %195, %193 ]
  %200 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i32 noundef %199)
  %indvars.iv.next71 = add nuw nsw i64 %indvars.iv70, 1
  %201 = load i32, ptr @m, align 4, !tbaa !5
  %202 = sext i32 %201 to i64
  %.not34.not = icmp slt i64 %indvars.iv70, %202
  br i1 %.not34.not, label %.lr.ph66, label %._crit_edge67, !llvm.loop !15

203:                                              ; preds = %167, %._crit_edge67
  ret i32 0
}

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

; 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 #0 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #4

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #5 align 2

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

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 #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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { 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}


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