; LLVM IR from tangjz/acm-icpc :: codeforces/complete (1340B)

; 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::bitset" = type { %"struct.std::_Base_bitset" }
%"struct.std::_Base_bitset" = type { [32 x i64] }

@pat = external dso_local global [10 x ptr], align 16
@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@c = external dso_local global [2001 x [11 x i32]], align 16
@buf = external dso_local global [2001 x i8], align 16
@dp = external dso_local global [2001 x %"class.std::bitset"], align 16
@.str.10 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %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 %"class.std::bitset", align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %12

12:                                               ; preds = %222, %158, %0
  %13 = load i32, ptr %2, align 4, !tbaa !5
  %14 = add nsw i32 %13, -1
  store i32 %14, ptr %2, align 4, !tbaa !5
  %15 = icmp ne i32 %13, 0
  br i1 %15, label %16, label %227

16:                                               ; preds = %12
  %17 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.10, ptr noundef @n, ptr noundef @m)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %18

18:                                               ; preds = %103, %16
  %19 = load i32, ptr %3, align 4, !tbaa !5
  %20 = load i32, ptr @n, align 4, !tbaa !5
  %21 = icmp slt i32 %19, %20
  br i1 %21, label %23, label %22

22:                                               ; preds = %18
  store i32 4, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  br label %106

23:                                               ; preds = %18
  %24 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.11, ptr noundef @buf)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %25

25:                                               ; preds = %99, %23
  %26 = load i32, ptr %5, align 4, !tbaa !5
  %27 = icmp slt i32 %26, 10
  br i1 %27, label %29, label %28

28:                                               ; preds = %25
  store i32 7, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %102

29:                                               ; preds = %25
  %30 = load i32, ptr %3, align 4, !tbaa !5
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %31
  %33 = load i32, ptr %5, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [11 x i32], ptr %32, i64 0, i64 %34
  store i32 0, ptr %35, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %36

36:                                               ; preds = %94, %29
  %37 = load i32, ptr %6, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [2001 x i8], ptr @buf, i64 0, i64 %38
  %40 = load i8, ptr %39, align 1, !tbaa !9
  %41 = icmp ne i8 %40, 0
  br i1 %41, label %43, label %42

42:                                               ; preds = %36
  store i32 10, ptr %4, align 4
  br label %97

43:                                               ; preds = %36
  %44 = load i32, ptr %6, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [2001 x i8], ptr @buf, i64 0, i64 %45
  %47 = load i8, ptr %46, align 1, !tbaa !9
  %48 = sext i8 %47 to i32
  %49 = load i32, ptr %5, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [10 x ptr], ptr @pat, i64 0, i64 %50
  %52 = load ptr, ptr %51, align 8, !tbaa !10
  %53 = load i32, ptr %6, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds i8, ptr %52, i64 %54
  %56 = load i8, ptr %55, align 1, !tbaa !9
  %57 = sext i8 %56 to i32
  %58 = icmp sgt i32 %48, %57
  br i1 %58, label %59, label %68

59:                                               ; preds = %43
  %60 = load i32, ptr @m, align 4, !tbaa !5
  %61 = add nsw i32 %60, 1
  %62 = load i32, ptr %3, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %63
  %65 = load i32, ptr %5, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [11 x i32], ptr %64, i64 0, i64 %66
  store i32 %61, ptr %67, align 4, !tbaa !5
  store i32 10, ptr %4, align 4
  br label %97

68:                                               ; preds = %43
  %69 = load i32, ptr %6, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [2001 x i8], ptr @buf, i64 0, i64 %70
  %72 = load i8, ptr %71, align 1, !tbaa !9
  %73 = sext i8 %72 to i32
  %74 = load i32, ptr %5, align 4, !tbaa !5
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [10 x ptr], ptr @pat, i64 0, i64 %75
  %77 = load ptr, ptr %76, align 8, !tbaa !10
  %78 = load i32, ptr %6, align 4, !tbaa !5
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds i8, ptr %77, i64 %79
  %81 = load i8, ptr %80, align 1, !tbaa !9
  %82 = sext i8 %81 to i32
  %83 = icmp slt i32 %73, %82
  %84 = zext i1 %83 to i32
  %85 = load i32, ptr %3, align 4, !tbaa !5
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %86
  %88 = load i32, ptr %5, align 4, !tbaa !5
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [11 x i32], ptr %87, i64 0, i64 %89
  %91 = load i32, ptr %90, align 4, !tbaa !5
  %92 = add nsw i32 %91, %84
  store i32 %92, ptr %90, align 4, !tbaa !5
  br label %93

93:                                               ; preds = %68
  br label %94

94:                                               ; preds = %93
  %95 = load i32, ptr %6, align 4, !tbaa !5
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %6, align 4, !tbaa !5
  br label %36, !llvm.loop !12

97:                                               ; preds = %59, %42
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %98

98:                                               ; preds = %97
  br label %99

99:                                               ; preds = %98
  %100 = load i32, ptr %5, align 4, !tbaa !5
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr %5, align 4, !tbaa !5
  br label %25, !llvm.loop !14

102:                                              ; preds = %28
  br label %103

103:                                              ; preds = %102
  %104 = load i32, ptr %3, align 4, !tbaa !5
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %3, align 4, !tbaa !5
  br label %18, !llvm.loop !15

106:                                              ; preds = %22
  %107 = load i32, ptr @n, align 4, !tbaa !5
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds [2001 x %"class.std::bitset"], ptr @dp, i64 0, i64 %108
  %110 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6bitsetILm2001EE5resetEv(ptr noundef nonnull align 8 dereferenceable(256) %109) #5
  %111 = load i32, ptr @n, align 4, !tbaa !5
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [2001 x %"class.std::bitset"], ptr @dp, i64 0, i64 %112
  %114 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6bitsetILm2001EE3setEmb(ptr noundef nonnull align 8 dereferenceable(256) %113, i64 noundef 0, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %115 = load i32, ptr @n, align 4, !tbaa !5
  %116 = sub nsw i32 %115, 1
  store i32 %116, ptr %7, align 4, !tbaa !5
  br label %117

117:                                              ; preds = %151, %106
  %118 = load i32, ptr %7, align 4, !tbaa !5
  %119 = icmp sge i32 %118, 0
  br i1 %119, label %121, label %120

120:                                              ; preds = %117
  store i32 13, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %154

121:                                              ; preds = %117
  %122 = load i32, ptr %7, align 4, !tbaa !5
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [2001 x %"class.std::bitset"], ptr @dp, i64 0, i64 %123
  %125 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6bitsetILm2001EE5resetEv(ptr noundef nonnull align 8 dereferenceable(256) %124) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %126

126:                                              ; preds = %147, %121
  %127 = load i32, ptr %8, align 4, !tbaa !5
  %128 = icmp slt i32 %127, 10
  br i1 %128, label %130, label %129

129:                                              ; preds = %126
  store i32 16, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %150

130:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 256, ptr %9) #5
  %131 = load i32, ptr %7, align 4, !tbaa !5
  %132 = add nsw i32 %131, 1
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [2001 x %"class.std::bitset"], ptr @dp, i64 0, i64 %133
  %135 = load i32, ptr %7, align 4, !tbaa !5
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %136
  %138 = load i32, ptr %8, align 4, !tbaa !5
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds [11 x i32], ptr %137, i64 0, i64 %139
  %141 = load i32, ptr %140, align 4, !tbaa !5
  %142 = sext i32 %141 to i64
  call void @_ZNKSt6bitsetILm2001EElsEm(ptr dead_on_unwind writable sret(%"class.std::bitset") align 8 %9, ptr noundef nonnull align 8 dereferenceable(256) %134, i64 noundef %142) #5
  %143 = load i32, ptr %7, align 4, !tbaa !5
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds [2001 x %"class.std::bitset"], ptr @dp, i64 0, i64 %144
  %146 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6bitsetILm2001EEoRERKS0_(ptr noundef nonnull align 8 dereferenceable(256) %145, ptr noundef nonnull align 8 dereferenceable(256) %9) #5
  call void @llvm.lifetime.end.p0(i64 256, ptr %9) #5
  br label %147

147:                                              ; preds = %130
  %148 = load i32, ptr %8, align 4, !tbaa !5
  %149 = add nsw i32 %148, 1
  store i32 %149, ptr %8, align 4, !tbaa !5
  br label %126, !llvm.loop !16

150:                                              ; preds = %129
  br label %151

151:                                              ; preds = %150
  %152 = load i32, ptr %7, align 4, !tbaa !5
  %153 = add nsw i32 %152, -1
  store i32 %153, ptr %7, align 4, !tbaa !5
  br label %117, !llvm.loop !17

154:                                              ; preds = %120
  %155 = load i32, ptr @m, align 4, !tbaa !5
  %156 = sext i32 %155 to i64
  %157 = call noundef zeroext i1 @_ZNKSt6bitsetILm2001EE4testEm(ptr noundef nonnull align 8 dereferenceable(256) @dp, i64 noundef %156)
  br i1 %157, label %160, label %158

158:                                              ; preds = %154
  %159 = call i32 @puts(ptr noundef @.str.12)
  br label %12, !llvm.loop !18

160:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %161

161:                                              ; preds = %219, %160
  %162 = load i32, ptr %10, align 4, !tbaa !5
  %163 = load i32, ptr @n, align 4, !tbaa !5
  %164 = icmp slt i32 %162, %163
  br i1 %164, label %166, label %165

165:                                              ; preds = %161
  store i32 19, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %222

166:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 9, ptr %11, align 4, !tbaa !5
  br label %167

167:                                              ; preds = %214, %166
  %168 = load i32, ptr %11, align 4, !tbaa !5
  %169 = icmp sge i32 %168, 0
  br i1 %169, label %171, label %170

170:                                              ; preds = %167
  store i32 22, ptr %4, align 4
  br label %217

171:                                              ; preds = %167
  %172 = load i32, ptr @m, align 4, !tbaa !5
  %173 = load i32, ptr %10, align 4, !tbaa !5
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %174
  %176 = load i32, ptr %11, align 4, !tbaa !5
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds [11 x i32], ptr %175, i64 0, i64 %177
  %179 = load i32, ptr %178, align 4, !tbaa !5
  %180 = icmp sge i32 %172, %179
  br i1 %180, label %181, label %213

181:                                              ; preds = %171
  %182 = load i32, ptr %10, align 4, !tbaa !5
  %183 = add nsw i32 %182, 1
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds [2001 x %"class.std::bitset"], ptr @dp, i64 0, i64 %184
  %186 = load i32, ptr @m, align 4, !tbaa !5
  %187 = load i32, ptr %10, align 4, !tbaa !5
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %188
  %190 = load i32, ptr %11, align 4, !tbaa !5
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds [11 x i32], ptr %189, i64 0, i64 %191
  %193 = load i32, ptr %192, align 4, !tbaa !5
  %194 = sub nsw i32 %186, %193
  %195 = sext i32 %194 to i64
  %196 = call noundef zeroext i1 @_ZNKSt6bitsetILm2001EE4testEm(ptr noundef nonnull align 8 dereferenceable(256) %185, i64 noundef %195)
  br i1 %196, label %197, label %213

197:                                              ; preds = %181
  %198 = load i32, ptr %11, align 4, !tbaa !5
  %199 = add nsw i32 48, %198
  %200 = trunc i32 %199 to i8
  %201 = load i32, ptr %10, align 4, !tbaa !5
  %202 = sext i32 %201 to i64
  %203 = getelementptr inbounds [2001 x i8], ptr @buf, i64 0, i64 %202
  store i8 %200, ptr %203, align 1, !tbaa !9
  %204 = load i32, ptr %10, align 4, !tbaa !5
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %205
  %207 = load i32, ptr %11, align 4, !tbaa !5
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds [11 x i32], ptr %206, i64 0, i64 %208
  %210 = load i32, ptr %209, align 4, !tbaa !5
  %211 = load i32, ptr @m, align 4, !tbaa !5
  %212 = sub nsw i32 %211, %210
  store i32 %212, ptr @m, align 4, !tbaa !5
  store i32 22, ptr %4, align 4
  br label %217

213:                                              ; preds = %181, %171
  br label %214

214:                                              ; preds = %213
  %215 = load i32, ptr %11, align 4, !tbaa !5
  %216 = add nsw i32 %215, -1
  store i32 %216, ptr %11, align 4, !tbaa !5
  br label %167, !llvm.loop !19

217:                                              ; preds = %197, %170
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %218

218:                                              ; preds = %217
  br label %219

219:                                              ; preds = %218
  %220 = load i32, ptr %10, align 4, !tbaa !5
  %221 = add nsw i32 %220, 1
  store i32 %221, ptr %10, align 4, !tbaa !5
  br label %161, !llvm.loop !20

222:                                              ; preds = %165
  %223 = load i32, ptr @n, align 4, !tbaa !5
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds [2001 x i8], ptr @buf, i64 0, i64 %224
  store i8 0, ptr %225, align 1, !tbaa !9
  %226 = call i32 @puts(ptr noundef @buf)
  br label %12, !llvm.loop !18

227:                                              ; preds = %12
  store i32 0, ptr %1, align 4
  store i32 1, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  %228 = load i32, ptr %1, align 4
  ret i32 %228
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6bitsetILm2001EE3setEmb(ptr noundef nonnull align 8 dereferenceable(256), i64 noundef, i1 noundef zeroext) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNKSt6bitsetILm2001EElsEm(ptr dead_on_unwind noalias writable sret(%"class.std::bitset") align 8, ptr noundef nonnull align 8 dereferenceable(256), i64 noundef) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6bitsetILm2001EE4testEm(ptr noundef nonnull align 8 dereferenceable(256), i64 noundef) #4 align 2

declare i32 @puts(ptr noundef) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress 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 = { 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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}
!17 = distinct !{!17, !13}
!18 = distinct !{!18, !13}
!19 = distinct !{!19, !13}
!20 = distinct !{!20, !13}


; 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::bitset" = type { %"struct.std::_Base_bitset" }
%"struct.std::_Base_bitset" = type { [32 x i64] }

@pat = external dso_local local_unnamed_addr global [10 x ptr], align 16
@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@c = external dso_local local_unnamed_addr global [2001 x [11 x i32]], align 16
@buf = external dso_local global [2001 x i8], align 16
@dp = external dso_local global [2001 x %"class.std::bitset"], align 16
@.str.10 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca %"class.std::bitset", align 8
  %2 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.10, ptr noundef nonnull @n, ptr noundef nonnull @m)
  %3 = load i32, ptr @n, align 4, !tbaa !5
  %4 = icmp sgt i32 %3, 0
  br i1 %4, label %.lr.ph71, label %.._crit_edge_crit_edge

.._crit_edge_crit_edge:                           ; preds = %0
  %.pre136 = sext i32 %3 to i64
  br label %._crit_edge

._crit_edge:                                      ; preds = %.split69.us, %.._crit_edge_crit_edge
  %.pre-phi = phi i64 [ %.pre136, %.._crit_edge_crit_edge ], [ %22, %.split69.us ]
  %5 = getelementptr inbounds [2001 x %"class.std::bitset"], ptr @dp, i64 0, i64 %.pre-phi
  %6 = tail call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6bitsetILm2001EE5resetEv(ptr noundef nonnull align 8 dereferenceable(256) %5) #6
  %7 = load i32, ptr @n, align 4, !tbaa !5
  %8 = sext i32 %7 to i64
  %9 = getelementptr inbounds [2001 x %"class.std::bitset"], ptr @dp, i64 0, i64 %8
  %10 = tail call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6bitsetILm2001EE3setEmb(ptr noundef nonnull align 8 dereferenceable(256) %9, i64 noundef 0, i1 noundef zeroext true)
  %11 = load i32, ptr @n, align 4, !tbaa !5
  %12 = icmp sgt i32 %11, 0
  br i1 %12, label %.lr.ph77.preheader, label %._crit_edge78

.lr.ph77.preheader:                               ; preds = %._crit_edge
  %13 = zext nneg i32 %11 to i64
  br label %.lr.ph77

.lr.ph71:                                         ; preds = %0, %.split69.us
  %indvar = phi i64 [ %indvar.next, %.split69.us ], [ 0, %0 ]
  %14 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.11, ptr noundef nonnull @buf)
  %15 = load i8, ptr @buf, align 16, !tbaa !9
  %.not5765 = icmp eq i8 %15, 0
  %16 = load i32, ptr @m, align 4
  %17 = add nsw i32 %16, 1
  br i1 %.not5765, label %.loopexit.us.preheader, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.lr.ph71
  %18 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvar, i64 0
  store i32 0, ptr %18, align 4, !tbaa !5
  %19 = load ptr, ptr @pat, align 16, !tbaa !10
  br label %24

.loopexit.us.preheader:                           ; preds = %.lr.ph71
  %20 = mul nuw nsw i64 %indvar, 44
  %scevgep = getelementptr i8, ptr @c, i64 %20
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(40) %scevgep, i8 0, i64 40, i1 false), !tbaa !5
  br label %.split69.us

.split69.us:                                      ; preds = %165, %171, %.loopexit.us.preheader
  %indvar.next = add nuw nsw i64 %indvar, 1
  %21 = load i32, ptr @n, align 4, !tbaa !5
  %22 = sext i32 %21 to i64
  %23 = icmp slt i64 %indvar.next, %22
  br i1 %23, label %.lr.ph71, label %._crit_edge, !llvm.loop !12

24:                                               ; preds = %.lr.ph.preheader, %31
  %25 = phi i32 [ 0, %.lr.ph.preheader ], [ %34, %31 ]
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %31 ]
  %26 = phi i8 [ %15, %.lr.ph.preheader ], [ %36, %31 ]
  %27 = getelementptr inbounds i8, ptr %19, i64 %indvars.iv
  %28 = load i8, ptr %27, align 1, !tbaa !9
  %29 = icmp sgt i8 %26, %28
  br i1 %29, label %30, label %31

30:                                               ; preds = %24
  store i32 %17, ptr %18, align 4, !tbaa !5
  br label %..loopexit_crit_edge

31:                                               ; preds = %24
  %32 = icmp slt i8 %26, %28
  %33 = zext i1 %32 to i32
  %34 = add nuw nsw i32 %25, %33
  store i32 %34, ptr %18, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %35 = getelementptr inbounds [2001 x i8], ptr @buf, i64 0, i64 %indvars.iv.next
  %36 = load i8, ptr %35, align 1, !tbaa !9
  %.not57 = icmp eq i8 %36, 0
  br i1 %.not57, label %..loopexit_crit_edge, label %24, !llvm.loop !14

..loopexit_crit_edge:                             ; preds = %31, %30
  %37 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvar, i64 1
  store i32 0, ptr %37, align 4, !tbaa !5
  %38 = load ptr, ptr getelementptr inbounds (i8, ptr @pat, i64 8), align 8, !tbaa !10
  br label %39

39:                                               ; preds = %45, %..loopexit_crit_edge
  %40 = phi i32 [ 0, %..loopexit_crit_edge ], [ %48, %45 ]
  %indvars.iv.1 = phi i64 [ 0, %..loopexit_crit_edge ], [ %indvars.iv.next.1, %45 ]
  %41 = phi i8 [ %15, %..loopexit_crit_edge ], [ %50, %45 ]
  %42 = getelementptr inbounds i8, ptr %38, i64 %indvars.iv.1
  %43 = load i8, ptr %42, align 1, !tbaa !9
  %44 = icmp sgt i8 %41, %43
  br i1 %44, label %51, label %45

45:                                               ; preds = %39
  %46 = icmp slt i8 %41, %43
  %47 = zext i1 %46 to i32
  %48 = add nuw nsw i32 %40, %47
  store i32 %48, ptr %37, align 4, !tbaa !5
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv.1, 1
  %49 = getelementptr inbounds [2001 x i8], ptr @buf, i64 0, i64 %indvars.iv.next.1
  %50 = load i8, ptr %49, align 1, !tbaa !9
  %.not57.1 = icmp eq i8 %50, 0
  br i1 %.not57.1, label %..loopexit_crit_edge.1, label %39, !llvm.loop !14

51:                                               ; preds = %39
  store i32 %17, ptr %37, align 4, !tbaa !5
  br label %..loopexit_crit_edge.1

..loopexit_crit_edge.1:                           ; preds = %45, %51
  %52 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvar, i64 2
  store i32 0, ptr %52, align 4, !tbaa !5
  %53 = load ptr, ptr getelementptr inbounds (i8, ptr @pat, i64 16), align 16, !tbaa !10
  br label %54

54:                                               ; preds = %60, %..loopexit_crit_edge.1
  %55 = phi i32 [ 0, %..loopexit_crit_edge.1 ], [ %63, %60 ]
  %indvars.iv.2 = phi i64 [ 0, %..loopexit_crit_edge.1 ], [ %indvars.iv.next.2, %60 ]
  %56 = phi i8 [ %15, %..loopexit_crit_edge.1 ], [ %65, %60 ]
  %57 = getelementptr inbounds i8, ptr %53, i64 %indvars.iv.2
  %58 = load i8, ptr %57, align 1, !tbaa !9
  %59 = icmp sgt i8 %56, %58
  br i1 %59, label %66, label %60

60:                                               ; preds = %54
  %61 = icmp slt i8 %56, %58
  %62 = zext i1 %61 to i32
  %63 = add nuw nsw i32 %55, %62
  store i32 %63, ptr %52, align 4, !tbaa !5
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv.2, 1
  %64 = getelementptr inbounds [2001 x i8], ptr @buf, i64 0, i64 %indvars.iv.next.2
  %65 = load i8, ptr %64, align 1, !tbaa !9
  %.not57.2 = icmp eq i8 %65, 0
  br i1 %.not57.2, label %..loopexit_crit_edge.2, label %54, !llvm.loop !14

66:                                               ; preds = %54
  store i32 %17, ptr %52, align 4, !tbaa !5
  br label %..loopexit_crit_edge.2

..loopexit_crit_edge.2:                           ; preds = %60, %66
  %67 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvar, i64 3
  store i32 0, ptr %67, align 4, !tbaa !5
  %68 = load ptr, ptr getelementptr inbounds (i8, ptr @pat, i64 24), align 8, !tbaa !10
  br label %69

69:                                               ; preds = %75, %..loopexit_crit_edge.2
  %70 = phi i32 [ 0, %..loopexit_crit_edge.2 ], [ %78, %75 ]
  %indvars.iv.3 = phi i64 [ 0, %..loopexit_crit_edge.2 ], [ %indvars.iv.next.3, %75 ]
  %71 = phi i8 [ %15, %..loopexit_crit_edge.2 ], [ %80, %75 ]
  %72 = getelementptr inbounds i8, ptr %68, i64 %indvars.iv.3
  %73 = load i8, ptr %72, align 1, !tbaa !9
  %74 = icmp sgt i8 %71, %73
  br i1 %74, label %81, label %75

75:                                               ; preds = %69
  %76 = icmp slt i8 %71, %73
  %77 = zext i1 %76 to i32
  %78 = add nuw nsw i32 %70, %77
  store i32 %78, ptr %67, align 4, !tbaa !5
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv.3, 1
  %79 = getelementptr inbounds [2001 x i8], ptr @buf, i64 0, i64 %indvars.iv.next.3
  %80 = load i8, ptr %79, align 1, !tbaa !9
  %.not57.3 = icmp eq i8 %80, 0
  br i1 %.not57.3, label %..loopexit_crit_edge.3, label %69, !llvm.loop !14

81:                                               ; preds = %69
  store i32 %17, ptr %67, align 4, !tbaa !5
  br label %..loopexit_crit_edge.3

..loopexit_crit_edge.3:                           ; preds = %75, %81
  %82 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvar, i64 4
  store i32 0, ptr %82, align 4, !tbaa !5
  %83 = load ptr, ptr getelementptr inbounds (i8, ptr @pat, i64 32), align 16, !tbaa !10
  br label %84

84:                                               ; preds = %90, %..loopexit_crit_edge.3
  %85 = phi i32 [ 0, %..loopexit_crit_edge.3 ], [ %93, %90 ]
  %indvars.iv.4 = phi i64 [ 0, %..loopexit_crit_edge.3 ], [ %indvars.iv.next.4, %90 ]
  %86 = phi i8 [ %15, %..loopexit_crit_edge.3 ], [ %95, %90 ]
  %87 = getelementptr inbounds i8, ptr %83, i64 %indvars.iv.4
  %88 = load i8, ptr %87, align 1, !tbaa !9
  %89 = icmp sgt i8 %86, %88
  br i1 %89, label %96, label %90

90:                                               ; preds = %84
  %91 = icmp slt i8 %86, %88
  %92 = zext i1 %91 to i32
  %93 = add nuw nsw i32 %85, %92
  store i32 %93, ptr %82, align 4, !tbaa !5
  %indvars.iv.next.4 = add nuw nsw i64 %indvars.iv.4, 1
  %94 = getelementptr inbounds [2001 x i8], ptr @buf, i64 0, i64 %indvars.iv.next.4
  %95 = load i8, ptr %94, align 1, !tbaa !9
  %.not57.4 = icmp eq i8 %95, 0
  br i1 %.not57.4, label %..loopexit_crit_edge.4, label %84, !llvm.loop !14

96:                                               ; preds = %84
  store i32 %17, ptr %82, align 4, !tbaa !5
  br label %..loopexit_crit_edge.4

..loopexit_crit_edge.4:                           ; preds = %90, %96
  %97 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvar, i64 5
  store i32 0, ptr %97, align 4, !tbaa !5
  %98 = load ptr, ptr getelementptr inbounds (i8, ptr @pat, i64 40), align 8, !tbaa !10
  br label %99

99:                                               ; preds = %105, %..loopexit_crit_edge.4
  %100 = phi i32 [ 0, %..loopexit_crit_edge.4 ], [ %108, %105 ]
  %indvars.iv.5 = phi i64 [ 0, %..loopexit_crit_edge.4 ], [ %indvars.iv.next.5, %105 ]
  %101 = phi i8 [ %15, %..loopexit_crit_edge.4 ], [ %110, %105 ]
  %102 = getelementptr inbounds i8, ptr %98, i64 %indvars.iv.5
  %103 = load i8, ptr %102, align 1, !tbaa !9
  %104 = icmp sgt i8 %101, %103
  br i1 %104, label %111, label %105

105:                                              ; preds = %99
  %106 = icmp slt i8 %101, %103
  %107 = zext i1 %106 to i32
  %108 = add nuw nsw i32 %100, %107
  store i32 %108, ptr %97, align 4, !tbaa !5
  %indvars.iv.next.5 = add nuw nsw i64 %indvars.iv.5, 1
  %109 = getelementptr inbounds [2001 x i8], ptr @buf, i64 0, i64 %indvars.iv.next.5
  %110 = load i8, ptr %109, align 1, !tbaa !9
  %.not57.5 = icmp eq i8 %110, 0
  br i1 %.not57.5, label %..loopexit_crit_edge.5, label %99, !llvm.loop !14

111:                                              ; preds = %99
  store i32 %17, ptr %97, align 4, !tbaa !5
  br label %..loopexit_crit_edge.5

..loopexit_crit_edge.5:                           ; preds = %105, %111
  %112 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvar, i64 6
  store i32 0, ptr %112, align 4, !tbaa !5
  %113 = load ptr, ptr getelementptr inbounds (i8, ptr @pat, i64 48), align 16, !tbaa !10
  br label %114

114:                                              ; preds = %120, %..loopexit_crit_edge.5
  %115 = phi i32 [ 0, %..loopexit_crit_edge.5 ], [ %123, %120 ]
  %indvars.iv.6 = phi i64 [ 0, %..loopexit_crit_edge.5 ], [ %indvars.iv.next.6, %120 ]
  %116 = phi i8 [ %15, %..loopexit_crit_edge.5 ], [ %125, %120 ]
  %117 = getelementptr inbounds i8, ptr %113, i64 %indvars.iv.6
  %118 = load i8, ptr %117, align 1, !tbaa !9
  %119 = icmp sgt i8 %116, %118
  br i1 %119, label %126, label %120

120:                                              ; preds = %114
  %121 = icmp slt i8 %116, %118
  %122 = zext i1 %121 to i32
  %123 = add nuw nsw i32 %115, %122
  store i32 %123, ptr %112, align 4, !tbaa !5
  %indvars.iv.next.6 = add nuw nsw i64 %indvars.iv.6, 1
  %124 = getelementptr inbounds [2001 x i8], ptr @buf, i64 0, i64 %indvars.iv.next.6
  %125 = load i8, ptr %124, align 1, !tbaa !9
  %.not57.6 = icmp eq i8 %125, 0
  br i1 %.not57.6, label %..loopexit_crit_edge.6, label %114, !llvm.loop !14

126:                                              ; preds = %114
  store i32 %17, ptr %112, align 4, !tbaa !5
  br label %..loopexit_crit_edge.6

..loopexit_crit_edge.6:                           ; preds = %120, %126
  %127 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvar, i64 7
  store i32 0, ptr %127, align 4, !tbaa !5
  %128 = load ptr, ptr getelementptr inbounds (i8, ptr @pat, i64 56), align 8, !tbaa !10
  br label %129

129:                                              ; preds = %135, %..loopexit_crit_edge.6
  %130 = phi i32 [ 0, %..loopexit_crit_edge.6 ], [ %138, %135 ]
  %indvars.iv.7 = phi i64 [ 0, %..loopexit_crit_edge.6 ], [ %indvars.iv.next.7, %135 ]
  %131 = phi i8 [ %15, %..loopexit_crit_edge.6 ], [ %140, %135 ]
  %132 = getelementptr inbounds i8, ptr %128, i64 %indvars.iv.7
  %133 = load i8, ptr %132, align 1, !tbaa !9
  %134 = icmp sgt i8 %131, %133
  br i1 %134, label %141, label %135

135:                                              ; preds = %129
  %136 = icmp slt i8 %131, %133
  %137 = zext i1 %136 to i32
  %138 = add nuw nsw i32 %130, %137
  store i32 %138, ptr %127, align 4, !tbaa !5
  %indvars.iv.next.7 = add nuw nsw i64 %indvars.iv.7, 1
  %139 = getelementptr inbounds [2001 x i8], ptr @buf, i64 0, i64 %indvars.iv.next.7
  %140 = load i8, ptr %139, align 1, !tbaa !9
  %.not57.7 = icmp eq i8 %140, 0
  br i1 %.not57.7, label %..loopexit_crit_edge.7, label %129, !llvm.loop !14

141:                                              ; preds = %129
  store i32 %17, ptr %127, align 4, !tbaa !5
  br label %..loopexit_crit_edge.7

..loopexit_crit_edge.7:                           ; preds = %135, %141
  %142 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvar, i64 8
  store i32 0, ptr %142, align 4, !tbaa !5
  %143 = load ptr, ptr getelementptr inbounds (i8, ptr @pat, i64 64), align 16, !tbaa !10
  br label %144

144:                                              ; preds = %150, %..loopexit_crit_edge.7
  %145 = phi i32 [ 0, %..loopexit_crit_edge.7 ], [ %153, %150 ]
  %indvars.iv.8 = phi i64 [ 0, %..loopexit_crit_edge.7 ], [ %indvars.iv.next.8, %150 ]
  %146 = phi i8 [ %15, %..loopexit_crit_edge.7 ], [ %155, %150 ]
  %147 = getelementptr inbounds i8, ptr %143, i64 %indvars.iv.8
  %148 = load i8, ptr %147, align 1, !tbaa !9
  %149 = icmp sgt i8 %146, %148
  br i1 %149, label %156, label %150

150:                                              ; preds = %144
  %151 = icmp slt i8 %146, %148
  %152 = zext i1 %151 to i32
  %153 = add nuw nsw i32 %145, %152
  store i32 %153, ptr %142, align 4, !tbaa !5
  %indvars.iv.next.8 = add nuw nsw i64 %indvars.iv.8, 1
  %154 = getelementptr inbounds [2001 x i8], ptr @buf, i64 0, i64 %indvars.iv.next.8
  %155 = load i8, ptr %154, align 1, !tbaa !9
  %.not57.8 = icmp eq i8 %155, 0
  br i1 %.not57.8, label %..loopexit_crit_edge.8, label %144, !llvm.loop !14

156:                                              ; preds = %144
  store i32 %17, ptr %142, align 4, !tbaa !5
  br label %..loopexit_crit_edge.8

..loopexit_crit_edge.8:                           ; preds = %150, %156
  %157 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvar, i64 9
  store i32 0, ptr %157, align 4, !tbaa !5
  %158 = load ptr, ptr getelementptr inbounds (i8, ptr @pat, i64 72), align 8, !tbaa !10
  br label %159

159:                                              ; preds = %165, %..loopexit_crit_edge.8
  %160 = phi i32 [ 0, %..loopexit_crit_edge.8 ], [ %168, %165 ]
  %indvars.iv.9 = phi i64 [ 0, %..loopexit_crit_edge.8 ], [ %indvars.iv.next.9, %165 ]
  %161 = phi i8 [ %15, %..loopexit_crit_edge.8 ], [ %170, %165 ]
  %162 = getelementptr inbounds i8, ptr %158, i64 %indvars.iv.9
  %163 = load i8, ptr %162, align 1, !tbaa !9
  %164 = icmp sgt i8 %161, %163
  br i1 %164, label %171, label %165

165:                                              ; preds = %159
  %166 = icmp slt i8 %161, %163
  %167 = zext i1 %166 to i32
  %168 = add nuw nsw i32 %160, %167
  store i32 %168, ptr %157, align 4, !tbaa !5
  %indvars.iv.next.9 = add nuw nsw i64 %indvars.iv.9, 1
  %169 = getelementptr inbounds [2001 x i8], ptr @buf, i64 0, i64 %indvars.iv.next.9
  %170 = load i8, ptr %169, align 1, !tbaa !9
  %.not57.9 = icmp eq i8 %170, 0
  br i1 %.not57.9, label %.split69.us, label %159, !llvm.loop !14

171:                                              ; preds = %159
  store i32 %17, ptr %157, align 4, !tbaa !5
  br label %.split69.us

._crit_edge78:                                    ; preds = %.lr.ph77, %._crit_edge
  %172 = load i32, ptr @m, align 4, !tbaa !5
  %173 = sext i32 %172 to i64
  %174 = call noundef zeroext i1 @_ZNKSt6bitsetILm2001EE4testEm(ptr noundef nonnull align 8 dereferenceable(256) @dp, i64 noundef %173)
  br i1 %174, label %.preheader60, label %.backedge

.preheader60:                                     ; preds = %._crit_edge78
  %175 = load i32, ptr @n, align 4, !tbaa !5
  %176 = icmp sgt i32 %175, 0
  br i1 %176, label %.preheader.preheader, label %.preheader60.._crit_edge81_crit_edge

.preheader60.._crit_edge81_crit_edge:             ; preds = %.preheader60
  %.pre137 = sext i32 %175 to i64
  br label %._crit_edge81

.preheader.preheader:                             ; preds = %.preheader60
  %.pre108 = load i32, ptr @m, align 4, !tbaa !5
  br label %.preheader

.lr.ph77:                                         ; preds = %.lr.ph77.preheader, %.lr.ph77
  %indvars.iv99 = phi i64 [ %13, %.lr.ph77.preheader ], [ %indvars.iv.next100, %.lr.ph77 ]
  %indvars.iv.next100 = add nsw i64 %indvars.iv99, -1
  %177 = getelementptr inbounds [2001 x %"class.std::bitset"], ptr @dp, i64 0, i64 %indvars.iv.next100
  %178 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6bitsetILm2001EE5resetEv(ptr noundef nonnull align 8 dereferenceable(256) %177) #6
  %179 = getelementptr inbounds [2001 x %"class.std::bitset"], ptr @dp, i64 0, i64 %indvars.iv99
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %1) #6
  %180 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvars.iv.next100, i64 0
  %181 = load i32, ptr %180, align 4, !tbaa !5
  %182 = sext i32 %181 to i64
  call void @_ZNKSt6bitsetILm2001EElsEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset") align 8 %1, ptr noundef nonnull align 8 dereferenceable(256) %179, i64 noundef %182) #6
  %183 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6bitsetILm2001EEoRERKS0_(ptr noundef nonnull align 8 dereferenceable(256) %177, ptr noundef nonnull align 8 dereferenceable(256) %1) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %1) #6
  %184 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvars.iv.next100, i64 1
  %185 = load i32, ptr %184, align 4, !tbaa !5
  %186 = sext i32 %185 to i64
  call void @_ZNKSt6bitsetILm2001EElsEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset") align 8 %1, ptr noundef nonnull align 8 dereferenceable(256) %179, i64 noundef %186) #6
  %187 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6bitsetILm2001EEoRERKS0_(ptr noundef nonnull align 8 dereferenceable(256) %177, ptr noundef nonnull align 8 dereferenceable(256) %1) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %1) #6
  %188 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvars.iv.next100, i64 2
  %189 = load i32, ptr %188, align 4, !tbaa !5
  %190 = sext i32 %189 to i64
  call void @_ZNKSt6bitsetILm2001EElsEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset") align 8 %1, ptr noundef nonnull align 8 dereferenceable(256) %179, i64 noundef %190) #6
  %191 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6bitsetILm2001EEoRERKS0_(ptr noundef nonnull align 8 dereferenceable(256) %177, ptr noundef nonnull align 8 dereferenceable(256) %1) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %1) #6
  %192 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvars.iv.next100, i64 3
  %193 = load i32, ptr %192, align 4, !tbaa !5
  %194 = sext i32 %193 to i64
  call void @_ZNKSt6bitsetILm2001EElsEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset") align 8 %1, ptr noundef nonnull align 8 dereferenceable(256) %179, i64 noundef %194) #6
  %195 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6bitsetILm2001EEoRERKS0_(ptr noundef nonnull align 8 dereferenceable(256) %177, ptr noundef nonnull align 8 dereferenceable(256) %1) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %1) #6
  %196 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvars.iv.next100, i64 4
  %197 = load i32, ptr %196, align 4, !tbaa !5
  %198 = sext i32 %197 to i64
  call void @_ZNKSt6bitsetILm2001EElsEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset") align 8 %1, ptr noundef nonnull align 8 dereferenceable(256) %179, i64 noundef %198) #6
  %199 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6bitsetILm2001EEoRERKS0_(ptr noundef nonnull align 8 dereferenceable(256) %177, ptr noundef nonnull align 8 dereferenceable(256) %1) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %1) #6
  %200 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvars.iv.next100, i64 5
  %201 = load i32, ptr %200, align 4, !tbaa !5
  %202 = sext i32 %201 to i64
  call void @_ZNKSt6bitsetILm2001EElsEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset") align 8 %1, ptr noundef nonnull align 8 dereferenceable(256) %179, i64 noundef %202) #6
  %203 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6bitsetILm2001EEoRERKS0_(ptr noundef nonnull align 8 dereferenceable(256) %177, ptr noundef nonnull align 8 dereferenceable(256) %1) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %1) #6
  %204 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvars.iv.next100, i64 6
  %205 = load i32, ptr %204, align 4, !tbaa !5
  %206 = sext i32 %205 to i64
  call void @_ZNKSt6bitsetILm2001EElsEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset") align 8 %1, ptr noundef nonnull align 8 dereferenceable(256) %179, i64 noundef %206) #6
  %207 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6bitsetILm2001EEoRERKS0_(ptr noundef nonnull align 8 dereferenceable(256) %177, ptr noundef nonnull align 8 dereferenceable(256) %1) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %1) #6
  %208 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvars.iv.next100, i64 7
  %209 = load i32, ptr %208, align 4, !tbaa !5
  %210 = sext i32 %209 to i64
  call void @_ZNKSt6bitsetILm2001EElsEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset") align 8 %1, ptr noundef nonnull align 8 dereferenceable(256) %179, i64 noundef %210) #6
  %211 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6bitsetILm2001EEoRERKS0_(ptr noundef nonnull align 8 dereferenceable(256) %177, ptr noundef nonnull align 8 dereferenceable(256) %1) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %1) #6
  %212 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvars.iv.next100, i64 8
  %213 = load i32, ptr %212, align 4, !tbaa !5
  %214 = sext i32 %213 to i64
  call void @_ZNKSt6bitsetILm2001EElsEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset") align 8 %1, ptr noundef nonnull align 8 dereferenceable(256) %179, i64 noundef %214) #6
  %215 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6bitsetILm2001EEoRERKS0_(ptr noundef nonnull align 8 dereferenceable(256) %177, ptr noundef nonnull align 8 dereferenceable(256) %1) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %1) #6
  %216 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvars.iv.next100, i64 9
  %217 = load i32, ptr %216, align 4, !tbaa !5
  %218 = sext i32 %217 to i64
  call void @_ZNKSt6bitsetILm2001EElsEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset") align 8 %1, ptr noundef nonnull align 8 dereferenceable(256) %179, i64 noundef %218) #6
  %219 = call noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6bitsetILm2001EEoRERKS0_(ptr noundef nonnull align 8 dereferenceable(256) %177, ptr noundef nonnull align 8 dereferenceable(256) %1) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %1) #6
  %220 = icmp ugt i64 %indvars.iv99, 1
  br i1 %220, label %.lr.ph77, label %._crit_edge78, !llvm.loop !15

.backedge:                                        ; preds = %._crit_edge78, %._crit_edge81
  %.str.12.sink = phi ptr [ @buf, %._crit_edge81 ], [ @.str.12, %._crit_edge78 ]
  %221 = call i32 @puts(ptr noundef nonnull dereferenceable(1) %.str.12.sink)
  ret i32 0

.preheader:                                       ; preds = %.preheader.preheader, %.loopexit58
  %222 = phi i32 [ %.pre108, %.preheader.preheader ], [ %299, %.loopexit58 ]
  %indvars.iv105 = phi i64 [ 0, %.preheader.preheader ], [ %indvars.iv.next106, %.loopexit58 ]
  %indvars.iv.next106 = add nuw nsw i64 %indvars.iv105, 1
  %223 = getelementptr inbounds [2001 x %"class.std::bitset"], ptr @dp, i64 0, i64 %indvars.iv.next106
  %224 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvars.iv105, i64 9
  %225 = load i32, ptr %224, align 4, !tbaa !5
  %.not56 = icmp slt i32 %222, %225
  br i1 %.not56, label %._crit_edge109, label %227

._crit_edge81:                                    ; preds = %.loopexit58, %.preheader60.._crit_edge81_crit_edge
  %.pre-phi138 = phi i64 [ %.pre137, %.preheader60.._crit_edge81_crit_edge ], [ %301, %.loopexit58 ]
  %226 = getelementptr inbounds [2001 x i8], ptr @buf, i64 0, i64 %.pre-phi138
  store i8 0, ptr %226, align 1, !tbaa !9
  br label %.backedge

227:                                              ; preds = %.preheader
  %228 = sub nsw i32 %222, %225
  %229 = sext i32 %228 to i64
  %230 = call noundef zeroext i1 @_ZNKSt6bitsetILm2001EE4testEm(ptr noundef nonnull align 8 dereferenceable(256) %223, i64 noundef %229)
  %.pre135 = load i32, ptr @m, align 4, !tbaa !5
  br i1 %230, label %231, label %._crit_edge109

231:                                              ; preds = %295, %288, %281, %274, %267, %260, %253, %246, %239, %227
  %232 = phi i32 [ %.pre135, %227 ], [ %.pre134, %239 ], [ %.pre133, %246 ], [ %.pre132, %253 ], [ %.pre131, %260 ], [ %.pre130, %267 ], [ %.pre129, %274 ], [ %.pre128, %281 ], [ %.pre127, %288 ], [ %.pre, %295 ]
  %.079.lcssa.wide = phi i8 [ 57, %227 ], [ 56, %239 ], [ 55, %246 ], [ 54, %253 ], [ 53, %260 ], [ 52, %267 ], [ 51, %274 ], [ 50, %281 ], [ 49, %288 ], [ 48, %295 ]
  %.lcssa85 = phi ptr [ %224, %227 ], [ %237, %239 ], [ %244, %246 ], [ %251, %253 ], [ %258, %260 ], [ %265, %267 ], [ %272, %274 ], [ %279, %281 ], [ %286, %288 ], [ %293, %295 ]
  %233 = getelementptr inbounds [2001 x i8], ptr @buf, i64 0, i64 %indvars.iv105
  store i8 %.079.lcssa.wide, ptr %233, align 1, !tbaa !9
  %234 = load i32, ptr %.lcssa85, align 4, !tbaa !5
  %235 = sub nsw i32 %232, %234
  store i32 %235, ptr @m, align 4, !tbaa !5
  br label %.loopexit58

._crit_edge109:                                   ; preds = %227, %.preheader
  %236 = phi i32 [ %222, %.preheader ], [ %.pre135, %227 ]
  %237 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvars.iv105, i64 8
  %238 = load i32, ptr %237, align 4, !tbaa !5
  %.not56.1 = icmp slt i32 %236, %238
  br i1 %.not56.1, label %._crit_edge111, label %239

239:                                              ; preds = %._crit_edge109
  %240 = sub nsw i32 %236, %238
  %241 = sext i32 %240 to i64
  %242 = call noundef zeroext i1 @_ZNKSt6bitsetILm2001EE4testEm(ptr noundef nonnull align 8 dereferenceable(256) %223, i64 noundef %241)
  %.pre134 = load i32, ptr @m, align 4, !tbaa !5
  br i1 %242, label %231, label %._crit_edge111

._crit_edge111:                                   ; preds = %239, %._crit_edge109
  %243 = phi i32 [ %236, %._crit_edge109 ], [ %.pre134, %239 ]
  %244 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvars.iv105, i64 7
  %245 = load i32, ptr %244, align 4, !tbaa !5
  %.not56.2 = icmp slt i32 %243, %245
  br i1 %.not56.2, label %._crit_edge113, label %246

246:                                              ; preds = %._crit_edge111
  %247 = sub nsw i32 %243, %245
  %248 = sext i32 %247 to i64
  %249 = call noundef zeroext i1 @_ZNKSt6bitsetILm2001EE4testEm(ptr noundef nonnull align 8 dereferenceable(256) %223, i64 noundef %248)
  %.pre133 = load i32, ptr @m, align 4, !tbaa !5
  br i1 %249, label %231, label %._crit_edge113

._crit_edge113:                                   ; preds = %246, %._crit_edge111
  %250 = phi i32 [ %243, %._crit_edge111 ], [ %.pre133, %246 ]
  %251 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvars.iv105, i64 6
  %252 = load i32, ptr %251, align 4, !tbaa !5
  %.not56.3 = icmp slt i32 %250, %252
  br i1 %.not56.3, label %._crit_edge115, label %253

253:                                              ; preds = %._crit_edge113
  %254 = sub nsw i32 %250, %252
  %255 = sext i32 %254 to i64
  %256 = call noundef zeroext i1 @_ZNKSt6bitsetILm2001EE4testEm(ptr noundef nonnull align 8 dereferenceable(256) %223, i64 noundef %255)
  %.pre132 = load i32, ptr @m, align 4, !tbaa !5
  br i1 %256, label %231, label %._crit_edge115

._crit_edge115:                                   ; preds = %253, %._crit_edge113
  %257 = phi i32 [ %250, %._crit_edge113 ], [ %.pre132, %253 ]
  %258 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvars.iv105, i64 5
  %259 = load i32, ptr %258, align 4, !tbaa !5
  %.not56.4 = icmp slt i32 %257, %259
  br i1 %.not56.4, label %._crit_edge117, label %260

260:                                              ; preds = %._crit_edge115
  %261 = sub nsw i32 %257, %259
  %262 = sext i32 %261 to i64
  %263 = call noundef zeroext i1 @_ZNKSt6bitsetILm2001EE4testEm(ptr noundef nonnull align 8 dereferenceable(256) %223, i64 noundef %262)
  %.pre131 = load i32, ptr @m, align 4, !tbaa !5
  br i1 %263, label %231, label %._crit_edge117

._crit_edge117:                                   ; preds = %260, %._crit_edge115
  %264 = phi i32 [ %257, %._crit_edge115 ], [ %.pre131, %260 ]
  %265 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvars.iv105, i64 4
  %266 = load i32, ptr %265, align 4, !tbaa !5
  %.not56.5 = icmp slt i32 %264, %266
  br i1 %.not56.5, label %._crit_edge119, label %267

267:                                              ; preds = %._crit_edge117
  %268 = sub nsw i32 %264, %266
  %269 = sext i32 %268 to i64
  %270 = call noundef zeroext i1 @_ZNKSt6bitsetILm2001EE4testEm(ptr noundef nonnull align 8 dereferenceable(256) %223, i64 noundef %269)
  %.pre130 = load i32, ptr @m, align 4, !tbaa !5
  br i1 %270, label %231, label %._crit_edge119

._crit_edge119:                                   ; preds = %267, %._crit_edge117
  %271 = phi i32 [ %264, %._crit_edge117 ], [ %.pre130, %267 ]
  %272 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvars.iv105, i64 3
  %273 = load i32, ptr %272, align 4, !tbaa !5
  %.not56.6 = icmp slt i32 %271, %273
  br i1 %.not56.6, label %._crit_edge121, label %274

274:                                              ; preds = %._crit_edge119
  %275 = sub nsw i32 %271, %273
  %276 = sext i32 %275 to i64
  %277 = call noundef zeroext i1 @_ZNKSt6bitsetILm2001EE4testEm(ptr noundef nonnull align 8 dereferenceable(256) %223, i64 noundef %276)
  %.pre129 = load i32, ptr @m, align 4, !tbaa !5
  br i1 %277, label %231, label %._crit_edge121

._crit_edge121:                                   ; preds = %274, %._crit_edge119
  %278 = phi i32 [ %271, %._crit_edge119 ], [ %.pre129, %274 ]
  %279 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvars.iv105, i64 2
  %280 = load i32, ptr %279, align 4, !tbaa !5
  %.not56.7 = icmp slt i32 %278, %280
  br i1 %.not56.7, label %._crit_edge123, label %281

281:                                              ; preds = %._crit_edge121
  %282 = sub nsw i32 %278, %280
  %283 = sext i32 %282 to i64
  %284 = call noundef zeroext i1 @_ZNKSt6bitsetILm2001EE4testEm(ptr noundef nonnull align 8 dereferenceable(256) %223, i64 noundef %283)
  %.pre128 = load i32, ptr @m, align 4, !tbaa !5
  br i1 %284, label %231, label %._crit_edge123

._crit_edge123:                                   ; preds = %281, %._crit_edge121
  %285 = phi i32 [ %278, %._crit_edge121 ], [ %.pre128, %281 ]
  %286 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvars.iv105, i64 1
  %287 = load i32, ptr %286, align 4, !tbaa !5
  %.not56.8 = icmp slt i32 %285, %287
  br i1 %.not56.8, label %._crit_edge125, label %288

288:                                              ; preds = %._crit_edge123
  %289 = sub nsw i32 %285, %287
  %290 = sext i32 %289 to i64
  %291 = call noundef zeroext i1 @_ZNKSt6bitsetILm2001EE4testEm(ptr noundef nonnull align 8 dereferenceable(256) %223, i64 noundef %290)
  %.pre127 = load i32, ptr @m, align 4, !tbaa !5
  br i1 %291, label %231, label %._crit_edge125

._crit_edge125:                                   ; preds = %288, %._crit_edge123
  %292 = phi i32 [ %285, %._crit_edge123 ], [ %.pre127, %288 ]
  %293 = getelementptr inbounds [2001 x [11 x i32]], ptr @c, i64 0, i64 %indvars.iv105, i64 0
  %294 = load i32, ptr %293, align 4, !tbaa !5
  %.not56.9 = icmp slt i32 %292, %294
  br i1 %.not56.9, label %.loopexit58, label %295

295:                                              ; preds = %._crit_edge125
  %296 = sub nsw i32 %292, %294
  %297 = sext i32 %296 to i64
  %298 = call noundef zeroext i1 @_ZNKSt6bitsetILm2001EE4testEm(ptr noundef nonnull align 8 dereferenceable(256) %223, i64 noundef %297)
  %.pre = load i32, ptr @m, align 4, !tbaa !5
  br i1 %298, label %231, label %.loopexit58

.loopexit58:                                      ; preds = %._crit_edge125, %295, %231
  %299 = phi i32 [ %235, %231 ], [ %.pre, %295 ], [ %292, %._crit_edge125 ]
  %300 = load i32, ptr @n, align 4, !tbaa !5
  %301 = sext i32 %300 to i64
  %302 = icmp slt i64 %indvars.iv.next106, %301
  br i1 %302, label %.preheader, label %._crit_edge81, !llvm.loop !16
}

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

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

; 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 nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6bitsetILm2001EE5resetEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(256) ptr @_ZNSt6bitsetILm2001EE3setEmb(ptr noundef nonnull align 8 dereferenceable(256), i64 noundef, i1 noundef zeroext) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNKSt6bitsetILm2001EElsEm(ptr dead_on_unwind noalias writable sret(%"class.std::bitset") align 8, ptr noundef nonnull align 8 dereferenceable(256), i64 noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6bitsetILm2001EE4testEm(ptr noundef nonnull align 8 dereferenceable(256), i64 noundef) local_unnamed_addr #4 align 2

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

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

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress 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 = { 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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}


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