; LLVM IR from tangjz/acm-icpc :: projecteuler (619)

; 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 { [3 x i64] }
%class.anon = type { i8 }

@tot = external dso_local global i32, align 4
@pr = external dso_local global [1234569 x i32], align 16
@d = external dso_local global [1234569 x i32], align 16
@f = external dso_local global [1234569 x i32], align 16
@g = external dso_local global [1234569 x i32], align 16
@ord = external dso_local global [1234569 x i32], align 16
@btot = external dso_local global i32, align 4
@msk = external dso_local global [234569 x %"class.std::bitset"], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 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 i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %class.anon, align 1
  %13 = alloca %"class.std::bitset", align 8
  %14 = alloca %"class.std::bitset", align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca %"class.std::bitset", align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.memset.p0.i64(ptr align 16 @d, i8 -1, i64 4938276, i1 false)
  store i32 -1, ptr getelementptr inbounds ([1234569 x i32], ptr @f, i64 0, i64 1), align 4, !tbaa !5
  store i32 1, ptr getelementptr inbounds ([1234569 x i32], ptr @g, i64 0, i64 1), align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #9
  store i32 2, ptr %2, align 4, !tbaa !5
  br label %28

28:                                               ; preds = %113, %0
  %29 = load i32, ptr %2, align 4, !tbaa !5
  %30 = icmp slt i32 %29, 1234569
  br i1 %30, label %32, label %31

31:                                               ; preds = %28
  store i32 2, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #9
  br label %116

32:                                               ; preds = %28
  %33 = load i32, ptr %2, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [1234569 x i32], ptr @d, i64 0, i64 %34
  %36 = load i32, ptr %35, align 4, !tbaa !5
  %37 = icmp eq i32 %36, -1
  br i1 %37, label %38, label %54

38:                                               ; preds = %32
  %39 = load i32, ptr @tot, align 4, !tbaa !5
  %40 = load i32, ptr %2, align 4, !tbaa !5
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [1234569 x i32], ptr @f, i64 0, i64 %41
  store i32 %39, ptr %42, align 4, !tbaa !5
  %43 = load i32, ptr %2, align 4, !tbaa !5
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [1234569 x i32], ptr @d, i64 0, i64 %44
  store i32 %39, ptr %45, align 4, !tbaa !5
  %46 = load i32, ptr %2, align 4, !tbaa !5
  %47 = load i32, ptr %2, align 4, !tbaa !5
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [1234569 x i32], ptr @g, i64 0, i64 %48
  store i32 %46, ptr %49, align 4, !tbaa !5
  %50 = load i32, ptr @tot, align 4, !tbaa !5
  %51 = add nsw i32 %50, 1
  store i32 %51, ptr @tot, align 4, !tbaa !5
  %52 = sext i32 %50 to i64
  %53 = getelementptr inbounds [1234569 x i32], ptr @pr, i64 0, i64 %52
  store i32 %46, ptr %53, align 4, !tbaa !5
  br label %54

54:                                               ; preds = %38, %32
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #9
  store i32 0, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #9
  br label %55

55:                                               ; preds = %108, %54
  %56 = load i32, ptr %2, align 4, !tbaa !5
  %57 = load i32, ptr %4, align 4, !tbaa !5
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [1234569 x i32], ptr @pr, i64 0, i64 %58
  %60 = load i32, ptr %59, align 4, !tbaa !5
  %61 = mul nsw i32 %56, %60
  store i32 %61, ptr %5, align 4, !tbaa !5
  %62 = icmp slt i32 %61, 1234569
  br i1 %62, label %64, label %63

63:                                               ; preds = %55
  store i32 5, ptr %3, align 4
  br label %111

64:                                               ; preds = %55
  %65 = load i32, ptr %4, align 4, !tbaa !5
  %66 = load i32, ptr %5, align 4, !tbaa !5
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [1234569 x i32], ptr @d, i64 0, i64 %67
  store i32 %65, ptr %68, align 4, !tbaa !5
  %69 = load i32, ptr %2, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [1234569 x i32], ptr @f, i64 0, i64 %70
  %72 = load i32, ptr %71, align 4, !tbaa !5
  %73 = load i32, ptr %5, align 4, !tbaa !5
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds [1234569 x i32], ptr @f, i64 0, i64 %74
  store i32 %72, ptr %75, align 4, !tbaa !5
  %76 = load i32, ptr %2, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [1234569 x i32], ptr @d, i64 0, i64 %77
  %79 = load i32, ptr %78, align 4, !tbaa !5
  %80 = load i32, ptr %4, align 4, !tbaa !5
  %81 = icmp eq i32 %79, %80
  br i1 %81, label %82, label %95

82:                                               ; preds = %64
  %83 = load i32, ptr %2, align 4, !tbaa !5
  %84 = load i32, ptr %4, align 4, !tbaa !5
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [1234569 x i32], ptr @pr, i64 0, i64 %85
  %87 = load i32, ptr %86, align 4, !tbaa !5
  %88 = sdiv i32 %83, %87
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [1234569 x i32], ptr @g, i64 0, i64 %89
  %91 = load i32, ptr %90, align 4, !tbaa !5
  %92 = load i32, ptr %5, align 4, !tbaa !5
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [1234569 x i32], ptr @g, i64 0, i64 %93
  store i32 %91, ptr %94, align 4, !tbaa !5
  store i32 5, ptr %3, align 4
  br label %111

95:                                               ; preds = %64
  %96 = load i32, ptr %2, align 4, !tbaa !5
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds [1234569 x i32], ptr @g, i64 0, i64 %97
  %99 = load i32, ptr %98, align 4, !tbaa !5
  %100 = load i32, ptr %4, align 4, !tbaa !5
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [1234569 x i32], ptr @pr, i64 0, i64 %101
  %103 = load i32, ptr %102, align 4, !tbaa !5
  %104 = mul nsw i32 %99, %103
  %105 = load i32, ptr %5, align 4, !tbaa !5
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [1234569 x i32], ptr @g, i64 0, i64 %106
  store i32 %104, ptr %107, align 4, !tbaa !5
  br label %108

108:                                              ; preds = %95
  %109 = load i32, ptr %4, align 4, !tbaa !5
  %110 = add nsw i32 %109, 1
  store i32 %110, ptr %4, align 4, !tbaa !5
  br label %55, !llvm.loop !9

111:                                              ; preds = %82, %63
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #9
  br label %112

112:                                              ; preds = %111
  br label %113

113:                                              ; preds = %112
  %114 = load i32, ptr %2, align 4, !tbaa !5
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %2, align 4, !tbaa !5
  br label %28, !llvm.loop !11

116:                                              ; preds = %31
  %117 = load i32, ptr @tot, align 4, !tbaa !5
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [1234569 x i32], ptr @pr, i64 0, i64 %118
  store i32 1234569, ptr %119, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #9
  br label %120

120:                                              ; preds = %351, %116
  %121 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7)
  %122 = icmp eq i32 %121, 2
  br i1 %122, label %123, label %355

123:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #9
  %124 = load i32, ptr %7, align 4, !tbaa !5
  %125 = load i32, ptr %6, align 4, !tbaa !5
  %126 = sub nsw i32 %124, %125
  %127 = add nsw i32 %126, 1
  store i32 %127, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  store i32 1, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %128

128:                                              ; preds = %138, %123
  %129 = load i32, ptr %9, align 4, !tbaa !5
  %130 = sext i32 %129 to i64
  %131 = load i32, ptr %9, align 4, !tbaa !5
  %132 = sext i32 %131 to i64
  %133 = mul nsw i64 %130, %132
  %134 = load i32, ptr %7, align 4, !tbaa !5
  %135 = sext i32 %134 to i64
  %136 = icmp sle i64 %133, %135
  br i1 %136, label %137, label %141

137:                                              ; preds = %128
  br label %138

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

141:                                              ; preds = %128
  br label %142

142:                                              ; preds = %150, %141
  %143 = load i32, ptr %10, align 4, !tbaa !5
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds [1234569 x i32], ptr @pr, i64 0, i64 %144
  %146 = load i32, ptr %145, align 4, !tbaa !5
  %147 = load i32, ptr %9, align 4, !tbaa !5
  %148 = icmp slt i32 %146, %147
  br i1 %148, label %149, label %153

149:                                              ; preds = %142
  br label %150

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

153:                                              ; preds = %142
  %154 = load i32, ptr %8, align 4, !tbaa !5
  %155 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %154)
  %156 = load i32, ptr %10, align 4, !tbaa !5
  %157 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %156)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %158

158:                                              ; preds = %170, %153
  %159 = load i32, ptr %11, align 4, !tbaa !5
  %160 = load i32, ptr %8, align 4, !tbaa !5
  %161 = icmp slt i32 %159, %160
  br i1 %161, label %163, label %162

162:                                              ; preds = %158
  store i32 16, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  br label %173

163:                                              ; preds = %158
  %164 = load i32, ptr %6, align 4, !tbaa !5
  %165 = load i32, ptr %11, align 4, !tbaa !5
  %166 = add nsw i32 %164, %165
  %167 = load i32, ptr %11, align 4, !tbaa !5
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds [1234569 x i32], ptr @ord, i64 0, i64 %168
  store i32 %166, ptr %169, align 4, !tbaa !5
  br label %170

170:                                              ; preds = %163
  %171 = load i32, ptr %11, align 4, !tbaa !5
  %172 = add nsw i32 %171, 1
  store i32 %172, ptr %11, align 4, !tbaa !5
  br label %158, !llvm.loop !14

173:                                              ; preds = %162
  %174 = load i32, ptr %8, align 4, !tbaa !5
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds i32, ptr @ord, i64 %175
  call void @"_ZSt4sortIPiZ4mainE3$_0EvT_S2_T0_"(ptr noundef @ord, ptr noundef %176)
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #9
  call void @_ZNSt6bitsetILm187EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #9
  call void @_ZNSt6bitsetILm187EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  store i32 0, ptr @btot, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  store i32 0, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  store i32 0, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  store i32 -1, ptr %17, align 4, !tbaa !5
  br label %177

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

181:                                              ; preds = %177
  store i32 19, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  br label %250

182:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  %183 = load i32, ptr %16, align 4, !tbaa !5
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds [1234569 x i32], ptr @ord, i64 0, i64 %184
  %186 = load i32, ptr %185, align 4, !tbaa !5
  store i32 %186, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  %187 = load i32, ptr %18, align 4, !tbaa !5
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds [1234569 x i32], ptr @g, i64 0, i64 %188
  %190 = load i32, ptr %189, align 4, !tbaa !5
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds [1234569 x i32], ptr @f, i64 0, i64 %191
  %193 = load i32, ptr %192, align 4, !tbaa !5
  store i32 %193, ptr %19, align 4, !tbaa !5
  %194 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6bitsetILm187EE5resetEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  br label %195

195:                                              ; preds = %213, %182
  %196 = load i32, ptr %18, align 4, !tbaa !5
  %197 = icmp sgt i32 %196, 1
  br i1 %197, label %198, label %223

198:                                              ; preds = %195
  %199 = load i32, ptr %18, align 4, !tbaa !5
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds [1234569 x i32], ptr @d, i64 0, i64 %200
  %202 = load i32, ptr %201, align 4, !tbaa !5
  %203 = load i32, ptr %10, align 4, !tbaa !5
  %204 = icmp slt i32 %202, %203
  br i1 %204, label %205, label %212

205:                                              ; preds = %198
  %206 = load i32, ptr %18, align 4, !tbaa !5
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds [1234569 x i32], ptr @d, i64 0, i64 %207
  %209 = load i32, ptr %208, align 4, !tbaa !5
  %210 = sext i32 %209 to i64
  %211 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6bitsetILm187EE4flipEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %210)
  br label %212

212:                                              ; preds = %205, %198
  br label %213

213:                                              ; preds = %212
  %214 = load i32, ptr %18, align 4, !tbaa !5
  %215 = sext i32 %214 to i64
  %216 = getelementptr inbounds [1234569 x i32], ptr @d, i64 0, i64 %215
  %217 = load i32, ptr %216, align 4, !tbaa !5
  %218 = sext i32 %217 to i64
  %219 = getelementptr inbounds [1234569 x i32], ptr @pr, i64 0, i64 %218
  %220 = load i32, ptr %219, align 4, !tbaa !5
  %221 = load i32, ptr %18, align 4, !tbaa !5
  %222 = sdiv i32 %221, %220
  store i32 %222, ptr %18, align 4, !tbaa !5
  br label %195, !llvm.loop !15

223:                                              ; preds = %195
  %224 = load i32, ptr %19, align 4, !tbaa !5
  %225 = load i32, ptr %10, align 4, !tbaa !5
  %226 = icmp slt i32 %224, %225
  br i1 %226, label %227, label %232

227:                                              ; preds = %223
  %228 = load i32, ptr @btot, align 4, !tbaa !5
  %229 = add nsw i32 %228, 1
  store i32 %229, ptr @btot, align 4, !tbaa !5
  %230 = sext i32 %228 to i64
  %231 = getelementptr inbounds [234569 x %"class.std::bitset"], ptr @msk, i64 0, i64 %230
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %231, ptr align 8 %14, i64 24, i1 false)
  br label %246

232:                                              ; preds = %223
  %233 = load i32, ptr %17, align 4, !tbaa !5
  %234 = load i32, ptr %19, align 4, !tbaa !5
  %235 = icmp ne i32 %233, %234
  br i1 %235, label %236, label %240

236:                                              ; preds = %232
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %14, i64 24, i1 false)
  %237 = load i32, ptr %19, align 4, !tbaa !5
  store i32 %237, ptr %17, align 4, !tbaa !5
  %238 = load i32, ptr %15, align 4, !tbaa !5
  %239 = add nsw i32 %238, 1
  store i32 %239, ptr %15, align 4, !tbaa !5
  br label %245

240:                                              ; preds = %232
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #9
  call void @_ZSteoILm187EESt6bitsetIXT_EERKS1_S3_(ptr dead_on_unwind writable sret(%"class.std::bitset") align 8 %20, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %14) #9
  %241 = load i32, ptr @btot, align 4, !tbaa !5
  %242 = add nsw i32 %241, 1
  store i32 %242, ptr @btot, align 4, !tbaa !5
  %243 = sext i32 %241 to i64
  %244 = getelementptr inbounds [234569 x %"class.std::bitset"], ptr @msk, i64 0, i64 %243
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %244, ptr align 8 %20, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #9
  br label %245

245:                                              ; preds = %240, %236
  br label %246

246:                                              ; preds = %245, %227
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  br label %247

247:                                              ; preds = %246
  %248 = load i32, ptr %16, align 4, !tbaa !5
  %249 = add nsw i32 %248, 1
  store i32 %249, ptr %16, align 4, !tbaa !5
  br label %177, !llvm.loop !16

250:                                              ; preds = %181
  %251 = load i32, ptr @btot, align 4, !tbaa !5
  %252 = load i32, ptr %10, align 4, !tbaa !5
  %253 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %251, i32 noundef %252)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  store i32 0, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %254

254:                                              ; preds = %323, %250
  %255 = load i32, ptr %22, align 4, !tbaa !5
  %256 = load i32, ptr %10, align 4, !tbaa !5
  %257 = icmp slt i32 %255, %256
  br i1 %257, label %259, label %258

258:                                              ; preds = %254
  store i32 25, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  br label %326

259:                                              ; preds = %254
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  store i32 -1, ptr %23, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  %260 = load i32, ptr %21, align 4, !tbaa !5
  store i32 %260, ptr %24, align 4, !tbaa !5
  br label %261

261:                                              ; preds = %276, %259
  %262 = load i32, ptr %24, align 4, !tbaa !5
  %263 = load i32, ptr @btot, align 4, !tbaa !5
  %264 = icmp slt i32 %262, %263
  br i1 %264, label %266, label %265

265:                                              ; preds = %261
  store i32 28, ptr %3, align 4
  br label %279

266:                                              ; preds = %261
  %267 = load i32, ptr %24, align 4, !tbaa !5
  %268 = sext i32 %267 to i64
  %269 = getelementptr inbounds [234569 x %"class.std::bitset"], ptr @msk, i64 0, i64 %268
  %270 = load i32, ptr %22, align 4, !tbaa !5
  %271 = sext i32 %270 to i64
  %272 = call noundef zeroext i1 @_ZNKSt6bitsetILm187EE4testEm(ptr noundef nonnull align 8 dereferenceable(24) %269, i64 noundef %271)
  br i1 %272, label %273, label %275

273:                                              ; preds = %266
  %274 = load i32, ptr %24, align 4, !tbaa !5
  store i32 %274, ptr %23, align 4, !tbaa !5
  store i32 28, ptr %3, align 4
  br label %279

275:                                              ; preds = %266
  br label %276

276:                                              ; preds = %275
  %277 = load i32, ptr %24, align 4, !tbaa !5
  %278 = add nsw i32 %277, 1
  store i32 %278, ptr %24, align 4, !tbaa !5
  br label %261, !llvm.loop !17

279:                                              ; preds = %273, %265
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  br label %280

280:                                              ; preds = %279
  %281 = load i32, ptr %23, align 4, !tbaa !5
  %282 = icmp eq i32 %281, -1
  br i1 %282, label %283, label %284

283:                                              ; preds = %280
  store i32 27, ptr %3, align 4
  br label %320

284:                                              ; preds = %280
  %285 = load i32, ptr %21, align 4, !tbaa !5
  %286 = sext i32 %285 to i64
  %287 = getelementptr inbounds [234569 x %"class.std::bitset"], ptr @msk, i64 0, i64 %286
  %288 = load i32, ptr %23, align 4, !tbaa !5
  %289 = sext i32 %288 to i64
  %290 = getelementptr inbounds [234569 x %"class.std::bitset"], ptr @msk, i64 0, i64 %289
  call void @_ZSt4swapISt6bitsetILm187EEENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS5_ESt18is_move_assignableIS5_EEE5valueEvE4typeERS5_SE_(ptr noundef nonnull align 8 dereferenceable(24) %287, ptr noundef nonnull align 8 dereferenceable(24) %290) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #9
  %291 = load i32, ptr %21, align 4, !tbaa !5
  %292 = add nsw i32 %291, 1
  store i32 %292, ptr %25, align 4, !tbaa !5
  br label %293

293:                                              ; preds = %314, %284
  %294 = load i32, ptr %25, align 4, !tbaa !5
  %295 = load i32, ptr @btot, align 4, !tbaa !5
  %296 = icmp slt i32 %294, %295
  br i1 %296, label %298, label %297

297:                                              ; preds = %293
  store i32 31, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  br label %317

298:                                              ; preds = %293
  %299 = load i32, ptr %25, align 4, !tbaa !5
  %300 = sext i32 %299 to i64
  %301 = getelementptr inbounds [234569 x %"class.std::bitset"], ptr @msk, i64 0, i64 %300
  %302 = load i32, ptr %22, align 4, !tbaa !5
  %303 = sext i32 %302 to i64
  %304 = call noundef zeroext i1 @_ZNKSt6bitsetILm187EE4testEm(ptr noundef nonnull align 8 dereferenceable(24) %301, i64 noundef %303)
  br i1 %304, label %305, label %313

305:                                              ; preds = %298
  %306 = load i32, ptr %21, align 4, !tbaa !5
  %307 = sext i32 %306 to i64
  %308 = getelementptr inbounds [234569 x %"class.std::bitset"], ptr @msk, i64 0, i64 %307
  %309 = load i32, ptr %25, align 4, !tbaa !5
  %310 = sext i32 %309 to i64
  %311 = getelementptr inbounds [234569 x %"class.std::bitset"], ptr @msk, i64 0, i64 %310
  %312 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6bitsetILm187EEeOERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %311, ptr noundef nonnull align 8 dereferenceable(24) %308) #9
  br label %313

313:                                              ; preds = %305, %298
  br label %314

314:                                              ; preds = %313
  %315 = load i32, ptr %25, align 4, !tbaa !5
  %316 = add nsw i32 %315, 1
  store i32 %316, ptr %25, align 4, !tbaa !5
  br label %293, !llvm.loop !18

317:                                              ; preds = %297
  %318 = load i32, ptr %21, align 4, !tbaa !5
  %319 = add nsw i32 %318, 1
  store i32 %319, ptr %21, align 4, !tbaa !5
  store i32 0, ptr %3, align 4
  br label %320

320:                                              ; preds = %317, %283
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  %321 = load i32, ptr %3, align 4
  switch i32 %321, label %357 [
    i32 0, label %322
    i32 27, label %323
  ]

322:                                              ; preds = %320
  br label %323

323:                                              ; preds = %322, %320
  %324 = load i32, ptr %22, align 4, !tbaa !5
  %325 = add nsw i32 %324, 1
  store i32 %325, ptr %22, align 4, !tbaa !5
  br label %254, !llvm.loop !19

326:                                              ; preds = %258
  %327 = load i32, ptr %15, align 4, !tbaa !5
  %328 = load i32, ptr %21, align 4, !tbaa !5
  %329 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %327, i32 noundef %328)
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #9
  store i32 1, ptr %26, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #9
  %330 = load i32, ptr %21, align 4, !tbaa !5
  %331 = load i32, ptr %15, align 4, !tbaa !5
  %332 = add nsw i32 %330, %331
  store i32 %332, ptr %27, align 4, !tbaa !5
  br label %333

333:                                              ; preds = %348, %326
  %334 = load i32, ptr %27, align 4, !tbaa !5
  %335 = load i32, ptr %8, align 4, !tbaa !5
  %336 = icmp slt i32 %334, %335
  br i1 %336, label %338, label %337

337:                                              ; preds = %333
  store i32 34, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #9
  br label %351

338:                                              ; preds = %333
  %339 = load i32, ptr %26, align 4, !tbaa !5
  %340 = shl i32 %339, 1
  store i32 %340, ptr %26, align 4, !tbaa !5
  %341 = icmp sge i32 %340, 1000000007
  br i1 %341, label %342, label %346

342:                                              ; preds = %338
  %343 = load i32, ptr %26, align 4, !tbaa !5
  %344 = sub nsw i32 %343, 1000000007
  store i32 %344, ptr %26, align 4, !tbaa !5
  %345 = icmp ne i32 %344, 0
  br label %346

346:                                              ; preds = %342, %338
  %347 = phi i1 [ false, %338 ], [ %345, %342 ]
  br label %348

348:                                              ; preds = %346
  %349 = load i32, ptr %27, align 4, !tbaa !5
  %350 = add nsw i32 %349, 1
  store i32 %350, ptr %27, align 4, !tbaa !5
  br label %333, !llvm.loop !20

351:                                              ; preds = %337
  %352 = load i32, ptr %26, align 4, !tbaa !5
  %353 = sub nsw i32 %352, 1
  %354 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %353)
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  br label %120, !llvm.loop !21

355:                                              ; preds = %120
  store i32 0, ptr %1, align 4
  store i32 1, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  %356 = load i32, ptr %1, align 4
  ret i32 %356

357:                                              ; preds = %320
  unreachable
}

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIPiZ4mainE3$_0EvT_S2_T0_"(ptr noundef, ptr noundef) #4

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSteoILm187EESt6bitsetIXT_EERKS1_S3_(ptr dead_on_unwind noalias writable sret(%"class.std::bitset") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #8

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6bitsetILm187EE4testEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #6 align 2

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !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::bitset" = type { %"struct.std::_Base_bitset" }
%"struct.std::_Base_bitset" = type { [3 x i64] }

@tot = external dso_local local_unnamed_addr global i32, align 4
@pr = external dso_local local_unnamed_addr global [1234569 x i32], align 16
@d = external dso_local local_unnamed_addr global [1234569 x i32], align 16
@f = external dso_local local_unnamed_addr global [1234569 x i32], align 16
@g = external dso_local local_unnamed_addr global [1234569 x i32], align 16
@ord = external dso_local global [1234569 x i32], align 16
@btot = external dso_local local_unnamed_addr global i32, align 4
@msk = external dso_local global [234569 x %"class.std::bitset"], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca %"class.std::bitset", align 8
  %4 = alloca %"class.std::bitset", align 8
  %5 = alloca %"class.std::bitset", align 8
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(4938276) @d, i8 -1, i64 4938276, i1 false)
  store i32 -1, ptr getelementptr inbounds (i8, ptr @f, i64 4), align 4, !tbaa !5
  store i32 1, ptr getelementptr inbounds (i8, ptr @g, i64 4), align 4, !tbaa !5
  %tot.promoted = load i32, ptr @tot, align 4, !tbaa !5
  br label %11

6:                                                ; preds = %.loopexit
  %7 = sext i32 %24 to i64
  %8 = getelementptr inbounds [1234569 x i32], ptr @pr, i64 0, i64 %7
  store i32 1234569, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #9
  %9 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2)
  %10 = icmp eq i32 %9, 2
  br i1 %10, label %.lr.ph154, label %._crit_edge155

11:                                               ; preds = %0, %.loopexit
  %indvars.iv163 = phi i64 [ 2, %0 ], [ %indvars.iv.next164, %.loopexit ]
  %12 = phi i32 [ %tot.promoted, %0 ], [ %24, %.loopexit ]
  %13 = getelementptr inbounds [1234569 x i32], ptr @d, i64 0, i64 %indvars.iv163
  %14 = load i32, ptr %13, align 4, !tbaa !5
  %15 = icmp eq i32 %14, -1
  br i1 %15, label %16, label %._crit_edge197

._crit_edge197:                                   ; preds = %11
  %.pre198 = trunc nuw nsw i64 %indvars.iv163 to i32
  br label %23

16:                                               ; preds = %11
  %17 = getelementptr inbounds [1234569 x i32], ptr @f, i64 0, i64 %indvars.iv163
  store i32 %12, ptr %17, align 4, !tbaa !5
  store i32 %12, ptr %13, align 4, !tbaa !5
  %18 = getelementptr inbounds [1234569 x i32], ptr @g, i64 0, i64 %indvars.iv163
  %19 = trunc nuw nsw i64 %indvars.iv163 to i32
  store i32 %19, ptr %18, align 4, !tbaa !5
  %20 = add nsw i32 %12, 1
  store i32 %20, ptr @tot, align 4, !tbaa !5
  %21 = sext i32 %12 to i64
  %22 = getelementptr inbounds [1234569 x i32], ptr @pr, i64 0, i64 %21
  store i32 %19, ptr %22, align 4, !tbaa !5
  br label %23

23:                                               ; preds = %._crit_edge197, %16
  %.pre-phi = phi i32 [ %.pre198, %._crit_edge197 ], [ %19, %16 ]
  %24 = phi i32 [ %12, %._crit_edge197 ], [ %20, %16 ]
  %25 = load i32, ptr @pr, align 16, !tbaa !5
  %26 = mul nsw i32 %25, %.pre-phi
  %27 = icmp slt i32 %26, 1234569
  br i1 %27, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %23
  %28 = getelementptr inbounds [1234569 x i32], ptr @f, i64 0, i64 %indvars.iv163
  %29 = getelementptr inbounds [1234569 x i32], ptr @g, i64 0, i64 %indvars.iv163
  %.pre = load i32, ptr %28, align 4, !tbaa !5
  br label %30

30:                                               ; preds = %.lr.ph, %46
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %46 ]
  %31 = phi i32 [ %26, %.lr.ph ], [ %52, %46 ]
  %32 = phi i32 [ %25, %.lr.ph ], [ %51, %46 ]
  %33 = sext i32 %31 to i64
  %34 = getelementptr inbounds [1234569 x i32], ptr @d, i64 0, i64 %33
  %35 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %35, ptr %34, align 4, !tbaa !5
  %36 = getelementptr inbounds [1234569 x i32], ptr @f, i64 0, i64 %33
  store i32 %.pre, ptr %36, align 4, !tbaa !5
  %37 = load i32, ptr %13, align 4, !tbaa !5
  %38 = zext i32 %37 to i64
  %39 = icmp eq i64 %indvars.iv, %38
  br i1 %39, label %40, label %46

40:                                               ; preds = %30
  %41 = sdiv i32 %.pre-phi, %32
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [1234569 x i32], ptr @g, i64 0, i64 %42
  %44 = load i32, ptr %43, align 4, !tbaa !5
  %45 = getelementptr inbounds [1234569 x i32], ptr @g, i64 0, i64 %33
  store i32 %44, ptr %45, align 4, !tbaa !5
  br label %.loopexit

46:                                               ; preds = %30
  %47 = load i32, ptr %29, align 4, !tbaa !5
  %48 = mul nsw i32 %47, %32
  %49 = getelementptr inbounds [1234569 x i32], ptr @g, i64 0, i64 %33
  store i32 %48, ptr %49, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %50 = getelementptr inbounds [1234569 x i32], ptr @pr, i64 0, i64 %indvars.iv.next
  %51 = load i32, ptr %50, align 4, !tbaa !5
  %52 = mul nsw i32 %51, %.pre-phi
  %53 = icmp slt i32 %52, 1234569
  br i1 %53, label %30, label %.loopexit, !llvm.loop !9

.loopexit:                                        ; preds = %46, %23, %40
  %indvars.iv.next164 = add nuw nsw i64 %indvars.iv163, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next164, 1234569
  br i1 %exitcond.not, label %6, label %11, !llvm.loop !11

.lr.ph154:                                        ; preds = %6, %._crit_edge151
  %54 = load i32, ptr %2, align 4, !tbaa !5
  %55 = load i32, ptr %1, align 4, !tbaa !5
  %56 = sub nsw i32 %54, %55
  %57 = sext i32 %54 to i64
  br label %58

58:                                               ; preds = %58, %.lr.ph154
  %indvars.iv166 = phi i64 [ %indvars.iv.next167, %58 ], [ 1, %.lr.ph154 ]
  %59 = mul nuw nsw i64 %indvars.iv166, %indvars.iv166
  %.not = icmp sgt i64 %59, %57
  %indvars.iv.next167 = add nuw nsw i64 %indvars.iv166, 1
  br i1 %.not, label %.preheader115, label %58, !llvm.loop !12

.preheader115:                                    ; preds = %58
  %60 = trunc nuw nsw i64 %indvars.iv166 to i32
  br label %61

61:                                               ; preds = %61, %.preheader115
  %indvars.iv190 = phi i32 [ %indvars.iv.next191, %61 ], [ 0, %.preheader115 ]
  %indvars.iv169 = phi i64 [ %indvars.iv.next170, %61 ], [ 0, %.preheader115 ]
  %62 = getelementptr inbounds [1234569 x i32], ptr @pr, i64 0, i64 %indvars.iv169
  %63 = load i32, ptr %62, align 4, !tbaa !5
  %64 = icmp slt i32 %63, %60
  %indvars.iv.next170 = add nuw nsw i64 %indvars.iv169, 1
  %indvars.iv.next191 = add nuw i32 %indvars.iv190, 1
  br i1 %64, label %61, label %65, !llvm.loop !13

65:                                               ; preds = %61
  %66 = add nsw i32 %56, 1
  %67 = trunc nuw nsw i64 %indvars.iv169 to i32
  %68 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %66)
  %69 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %67)
  %.not109122 = icmp slt i32 %56, 0
  br i1 %.not109122, label %._crit_edge135.critedge, label %.lr.ph124

.lr.ph124:                                        ; preds = %65
  %70 = load i32, ptr %1, align 4, !tbaa !5
  %71 = add i32 %54, 1
  %72 = sub i32 %71, %55
  %wide.trip.count = zext i32 %72 to i64
  %min.iters.check = icmp ult i32 %72, 8
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph124
  %indvars.iv172.ph = phi i64 [ 0, %.lr.ph124 ], [ %n.vec, %middle.block ]
  br label %scalar.ph

vector.ph:                                        ; preds = %.lr.ph124
  %n.vec = and i64 %wide.trip.count, 4294967288
  %broadcast.splatinsert = insertelement <4 x i32> poison, i32 %70, i64 0
  %broadcast.splat = shufflevector <4 x i32> %broadcast.splatinsert, <4 x i32> poison, <4 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.ind = phi <4 x i32> [ <i32 0, i32 1, i32 2, i32 3>, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %step.add = add <4 x i32> %vec.ind, <i32 4, i32 4, i32 4, i32 4>
  %73 = getelementptr inbounds [1234569 x i32], ptr @ord, i64 0, i64 %index
  %74 = add <4 x i32> %broadcast.splat, %vec.ind
  %75 = add <4 x i32> %broadcast.splat, %step.add
  %76 = getelementptr inbounds i8, ptr %73, i64 16
  store <4 x i32> %74, ptr %73, align 16, !tbaa !5
  store <4 x i32> %75, ptr %76, align 16, !tbaa !5
  %index.next = add nuw i64 %index, 8
  %vec.ind.next = add <4 x i32> %vec.ind, <i32 8, i32 8, i32 8, i32 8>
  %77 = icmp eq i64 %index.next, %n.vec
  br i1 %77, label %middle.block, label %vector.body, !llvm.loop !14

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %._crit_edge, label %scalar.ph.preheader

._crit_edge:                                      ; preds = %scalar.ph, %middle.block
  %78 = zext nneg i32 %66 to i64
  %79 = getelementptr inbounds i32, ptr @ord, i64 %78
  call void @"_ZSt4sortIPiZ4mainE3$_0EvT_S2_T0_"(ptr noundef nonnull @ord, ptr noundef nonnull %79)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #9
  call void @_ZNSt6bitsetILm187EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #9
  call void @_ZNSt6bitsetILm187EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  store i32 0, ptr @btot, align 4, !tbaa !5
  br i1 %.not109122, label %._crit_edge135, label %.lr.ph134.preheader

.lr.ph134.preheader:                              ; preds = %._crit_edge
  %80 = add i32 %54, 1
  %81 = sub i32 %80, %55
  %wide.trip.count179 = zext i32 %81 to i64
  br label %.lr.ph134

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv172 = phi i64 [ %indvars.iv.next173, %scalar.ph ], [ %indvars.iv172.ph, %scalar.ph.preheader ]
  %82 = getelementptr inbounds [1234569 x i32], ptr @ord, i64 0, i64 %indvars.iv172
  %83 = trunc i64 %indvars.iv172 to i32
  %84 = add i32 %70, %83
  store i32 %84, ptr %82, align 4, !tbaa !5
  %indvars.iv.next173 = add nuw nsw i64 %indvars.iv172, 1
  %exitcond175.not = icmp eq i64 %indvars.iv.next173, %wide.trip.count
  br i1 %exitcond175.not, label %._crit_edge, label %scalar.ph, !llvm.loop !17

._crit_edge135.loopexit:                          ; preds = %127
  %.pre196 = load i32, ptr @btot, align 4, !tbaa !5
  br label %._crit_edge135

._crit_edge135.critedge:                          ; preds = %65
  %85 = sext i32 %66 to i64
  %86 = getelementptr inbounds i32, ptr @ord, i64 %85
  call void @"_ZSt4sortIPiZ4mainE3$_0EvT_S2_T0_"(ptr noundef nonnull @ord, ptr noundef nonnull %86)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #9
  call void @_ZNSt6bitsetILm187EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #9
  call void @_ZNSt6bitsetILm187EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  store i32 0, ptr @btot, align 4, !tbaa !5
  br label %._crit_edge135

._crit_edge135:                                   ; preds = %._crit_edge135.critedge, %._crit_edge135.loopexit, %._crit_edge
  %87 = phi i32 [ 0, %._crit_edge ], [ %.pre196, %._crit_edge135.loopexit ], [ 0, %._crit_edge135.critedge ]
  %.096.lcssa = phi i32 [ 0, %._crit_edge ], [ %.197, %._crit_edge135.loopexit ], [ 0, %._crit_edge135.critedge ]
  %88 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %87, i32 noundef %67)
  %.not156 = icmp eq i64 %indvars.iv169, 0
  br i1 %.not156, label %._crit_edge144, label %.preheader.preheader

.preheader.preheader:                             ; preds = %._crit_edge135
  %wide.trip.count192 = zext i32 %indvars.iv190 to i64
  br label %.preheader

.lr.ph134:                                        ; preds = %.lr.ph134.preheader, %127
  %indvars.iv176 = phi i64 [ 0, %.lr.ph134.preheader ], [ %indvars.iv.next177, %127 ]
  %.093132 = phi i32 [ -1, %.lr.ph134.preheader ], [ %.194, %127 ]
  %.096130 = phi i32 [ 0, %.lr.ph134.preheader ], [ %.197, %127 ]
  %89 = getelementptr inbounds [1234569 x i32], ptr @ord, i64 0, i64 %indvars.iv176
  %90 = load i32, ptr %89, align 4, !tbaa !5
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [1234569 x i32], ptr @g, i64 0, i64 %91
  %93 = load i32, ptr %92, align 4, !tbaa !5
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [1234569 x i32], ptr @f, i64 0, i64 %94
  %96 = load i32, ptr %95, align 4, !tbaa !5
  %97 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6bitsetILm187EE5resetEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  %98 = icmp sgt i32 %90, 1
  br i1 %98, label %.lr.ph127, label %._crit_edge128

.lr.ph127:                                        ; preds = %.lr.ph134, %106
  %.092125 = phi i32 [ %111, %106 ], [ %90, %.lr.ph134 ]
  %99 = zext nneg i32 %.092125 to i64
  %100 = getelementptr inbounds [1234569 x i32], ptr @d, i64 0, i64 %99
  %101 = load i32, ptr %100, align 4, !tbaa !5
  %102 = icmp slt i32 %101, %67
  br i1 %102, label %103, label %106

103:                                              ; preds = %.lr.ph127
  %104 = sext i32 %101 to i64
  %105 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6bitsetILm187EE4flipEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %104)
  %.pre195 = load i32, ptr %100, align 4, !tbaa !5
  br label %106

106:                                              ; preds = %.lr.ph127, %103
  %107 = phi i32 [ %101, %.lr.ph127 ], [ %.pre195, %103 ]
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds [1234569 x i32], ptr @pr, i64 0, i64 %108
  %110 = load i32, ptr %109, align 4, !tbaa !5
  %111 = sdiv i32 %.092125, %110
  %112 = icmp sgt i32 %111, 1
  br i1 %112, label %.lr.ph127, label %._crit_edge128, !llvm.loop !18

._crit_edge128:                                   ; preds = %106, %.lr.ph134
  %113 = icmp slt i32 %96, %67
  br i1 %113, label %114, label %119

114:                                              ; preds = %._crit_edge128
  %115 = load i32, ptr @btot, align 4, !tbaa !5
  %116 = add nsw i32 %115, 1
  store i32 %116, ptr @btot, align 4, !tbaa !5
  %117 = sext i32 %115 to i64
  %118 = getelementptr inbounds [234569 x %"class.std::bitset"], ptr @msk, i64 0, i64 %117
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %118, ptr noundef nonnull align 8 dereferenceable(24) %4, i64 24, i1 false)
  br label %127

119:                                              ; preds = %._crit_edge128
  %.not112 = icmp eq i32 %.093132, %96
  br i1 %.not112, label %122, label %120

120:                                              ; preds = %119
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, i64 24, i1 false)
  %121 = add nsw i32 %.096130, 1
  br label %127

122:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #9
  call void @_ZSteoILm187EESt6bitsetIXT_EERKS1_S3_(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset") align 8 %5, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  %123 = load i32, ptr @btot, align 4, !tbaa !5
  %124 = add nsw i32 %123, 1
  store i32 %124, ptr @btot, align 4, !tbaa !5
  %125 = sext i32 %123 to i64
  %126 = getelementptr inbounds [234569 x %"class.std::bitset"], ptr @msk, i64 0, i64 %125
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %126, ptr noundef nonnull align 8 dereferenceable(24) %5, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #9
  br label %127

127:                                              ; preds = %120, %122, %114
  %.197 = phi i32 [ %.096130, %114 ], [ %121, %120 ], [ %.096130, %122 ]
  %.194 = phi i32 [ %.093132, %114 ], [ %96, %120 ], [ %.093132, %122 ]
  %indvars.iv.next177 = add nuw nsw i64 %indvars.iv176, 1
  %exitcond180.not = icmp eq i64 %indvars.iv.next177, %wide.trip.count179
  br i1 %exitcond180.not, label %._crit_edge135.loopexit, label %.lr.ph134, !llvm.loop !19

.preheader:                                       ; preds = %.preheader.preheader, %.thread
  %indvars.iv187 = phi i64 [ 0, %.preheader.preheader ], [ %indvars.iv.next188, %.thread ]
  %.090141 = phi i32 [ 0, %.preheader.preheader ], [ %.191, %.thread ]
  %128 = load i32, ptr @btot, align 4, !tbaa !5
  %129 = icmp slt i32 %.090141, %128
  br i1 %129, label %.lr.ph137, label %.thread

.lr.ph137:                                        ; preds = %.preheader
  %130 = sext i32 %.090141 to i64
  br label %135

._crit_edge144:                                   ; preds = %.thread, %._crit_edge135
  %.090.lcssa = phi i32 [ 0, %._crit_edge135 ], [ %.191, %.thread ]
  %131 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %.096.lcssa, i32 noundef %.090.lcssa)
  %132 = add nsw i32 %.090.lcssa, %.096.lcssa
  %.not111146 = icmp sgt i32 %132, %56
  br i1 %.not111146, label %._crit_edge151, label %.lr.ph150.preheader

.lr.ph150.preheader:                              ; preds = %._crit_edge144
  %133 = add i32 %54, 1
  %134 = sub i32 %133, %55
  br label %.lr.ph150

135:                                              ; preds = %.lr.ph137, %138
  %indvars.iv181 = phi i64 [ %130, %.lr.ph137 ], [ %indvars.iv.next182, %138 ]
  %136 = getelementptr inbounds [234569 x %"class.std::bitset"], ptr @msk, i64 0, i64 %indvars.iv181
  %137 = call noundef zeroext i1 @_ZNKSt6bitsetILm187EE4testEm(ptr noundef nonnull align 8 dereferenceable(24) %136, i64 noundef %indvars.iv187)
  br i1 %137, label %142, label %138

138:                                              ; preds = %135
  %indvars.iv.next182 = add nsw i64 %indvars.iv181, 1
  %139 = load i32, ptr @btot, align 4, !tbaa !5
  %140 = sext i32 %139 to i64
  %141 = icmp slt i64 %indvars.iv.next182, %140
  br i1 %141, label %135, label %.thread, !llvm.loop !20

142:                                              ; preds = %135
  %143 = icmp eq i64 %indvars.iv181, -1
  br i1 %143, label %.thread, label %144

144:                                              ; preds = %142
  %145 = getelementptr inbounds [234569 x %"class.std::bitset"], ptr @msk, i64 0, i64 %130
  %sext = shl i64 %indvars.iv181, 32
  %146 = ashr exact i64 %sext, 32
  %147 = getelementptr inbounds [234569 x %"class.std::bitset"], ptr @msk, i64 0, i64 %146
  call void @_ZSt4swapISt6bitsetILm187EEENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS5_ESt18is_move_assignableIS5_EEE5valueEvE4typeERS5_SE_(ptr noundef nonnull align 8 dereferenceable(24) %145, ptr noundef nonnull align 8 dereferenceable(24) %147) #9
  %148 = add nsw i32 %.090141, 1
  %149 = load i32, ptr @btot, align 4, !tbaa !5
  %150 = icmp slt i32 %148, %149
  br i1 %150, label %.lr.ph140, label %.thread

.lr.ph140:                                        ; preds = %144
  %151 = add nsw i64 %130, 1
  br label %152

152:                                              ; preds = %.lr.ph140, %157
  %indvars.iv184 = phi i64 [ %151, %.lr.ph140 ], [ %indvars.iv.next185, %157 ]
  %153 = getelementptr inbounds [234569 x %"class.std::bitset"], ptr @msk, i64 0, i64 %indvars.iv184
  %154 = call noundef zeroext i1 @_ZNKSt6bitsetILm187EE4testEm(ptr noundef nonnull align 8 dereferenceable(24) %153, i64 noundef %indvars.iv187)
  br i1 %154, label %155, label %157

155:                                              ; preds = %152
  %156 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6bitsetILm187EEeOERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %153, ptr noundef nonnull align 8 dereferenceable(24) %145) #9
  br label %157

157:                                              ; preds = %152, %155
  %indvars.iv.next185 = add nsw i64 %indvars.iv184, 1
  %158 = load i32, ptr @btot, align 4, !tbaa !5
  %159 = sext i32 %158 to i64
  %160 = icmp slt i64 %indvars.iv.next185, %159
  br i1 %160, label %152, label %.thread, !llvm.loop !21

.thread:                                          ; preds = %138, %157, %.preheader, %144, %142
  %.191 = phi i32 [ %.090141, %142 ], [ %148, %144 ], [ %.090141, %.preheader ], [ %148, %157 ], [ %.090141, %138 ]
  %indvars.iv.next188 = add nuw nsw i64 %indvars.iv187, 1
  %exitcond193.not = icmp eq i64 %indvars.iv.next188, %wide.trip.count192
  br i1 %exitcond193.not, label %._crit_edge144, label %.preheader, !llvm.loop !22

._crit_edge151:                                   ; preds = %.lr.ph150, %._crit_edge144
  %.085.lcssa = phi i32 [ 1, %._crit_edge144 ], [ %spec.select, %.lr.ph150 ]
  %161 = add nsw i32 %.085.lcssa, -1
  %162 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %161)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #9
  %163 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2)
  %164 = icmp eq i32 %163, 2
  br i1 %164, label %.lr.ph154, label %._crit_edge155, !llvm.loop !23

.lr.ph150:                                        ; preds = %.lr.ph150.preheader, %.lr.ph150
  %.0148 = phi i32 [ %168, %.lr.ph150 ], [ %132, %.lr.ph150.preheader ]
  %.085147 = phi i32 [ %spec.select, %.lr.ph150 ], [ 1, %.lr.ph150.preheader ]
  %165 = shl i32 %.085147, 1
  %166 = icmp sgt i32 %165, 1000000006
  %167 = add nsw i32 %165, -1000000007
  %spec.select = select i1 %166, i32 %167, i32 %165
  %168 = add i32 %.0148, 1
  %exitcond194.not = icmp eq i32 %168, %134
  br i1 %exitcond194.not, label %._crit_edge151, label %.lr.ph150, !llvm.loop !24

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIPiZ4mainE3$_0EvT_S2_T0_"(ptr noundef, ptr noundef) local_unnamed_addr #4

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { 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 #9 = { 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, !16}
!15 = !{!"llvm.loop.isvectorized", i32 1}
!16 = !{!"llvm.loop.unroll.runtime.disable"}
!17 = distinct !{!17, !10, !16, !15}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10}
!24 = distinct !{!24, !10}


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