; LLVM IR from tangjz/acm-icpc :: lydsy (1015)

; 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"

%struct.Line = type { i32, i32 }

@line = external dso_local global [400002 x %struct.Line], align 16
@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@p = external dso_local global i32, align 4
@head = external dso_local global [400001 x i32], align 16
@tot = external dso_local global i32, align 4
@fa = external dso_local global [400001 x i32], align 16
@kill = external dso_local global [400001 x i32], align 16
@ans = external dso_local global [400001 x i32], align 16
@vis = external dso_local global [400001 x i8], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z4findi(i32 noundef) #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #1 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store i32 0, ptr %4, align 4, !tbaa !5
  %16 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n, ptr noundef @m)
  br label %17

17:                                               ; preds = %21, %0
  %18 = load i32, ptr @m, align 4, !tbaa !5
  %19 = add nsw i32 %18, -1
  store i32 %19, ptr @m, align 4, !tbaa !5
  %20 = icmp ne i32 %18, 0
  br i1 %20, label %21, label %59

21:                                               ; preds = %17
  %22 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
  %23 = load i32, ptr %3, align 4, !tbaa !5
  %24 = load i32, ptr @tot, align 4, !tbaa !5
  %25 = add nsw i32 %24, 1
  store i32 %25, ptr @tot, align 4, !tbaa !5
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %26
  %28 = getelementptr inbounds %struct.Line, ptr %27, i32 0, i32 0
  store i32 %23, ptr %28, align 8, !tbaa !9
  %29 = load i32, ptr %2, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [400001 x i32], ptr @head, i64 0, i64 %30
  %32 = load i32, ptr %31, align 4, !tbaa !5
  %33 = load i32, ptr @tot, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %34
  %36 = getelementptr inbounds %struct.Line, ptr %35, i32 0, i32 1
  store i32 %32, ptr %36, align 4, !tbaa !11
  %37 = load i32, ptr @tot, align 4, !tbaa !5
  %38 = load i32, ptr %2, align 4, !tbaa !5
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [400001 x i32], ptr @head, i64 0, i64 %39
  store i32 %37, ptr %40, align 4, !tbaa !5
  %41 = load i32, ptr %2, align 4, !tbaa !5
  %42 = load i32, ptr @tot, align 4, !tbaa !5
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr @tot, align 4, !tbaa !5
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %44
  %46 = getelementptr inbounds %struct.Line, ptr %45, i32 0, i32 0
  store i32 %41, ptr %46, align 8, !tbaa !9
  %47 = load i32, ptr %3, align 4, !tbaa !5
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [400001 x i32], ptr @head, i64 0, i64 %48
  %50 = load i32, ptr %49, align 4, !tbaa !5
  %51 = load i32, ptr @tot, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %52
  %54 = getelementptr inbounds %struct.Line, ptr %53, i32 0, i32 1
  store i32 %50, ptr %54, align 4, !tbaa !11
  %55 = load i32, ptr @tot, align 4, !tbaa !5
  %56 = load i32, ptr %3, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [400001 x i32], ptr @head, i64 0, i64 %57
  store i32 %55, ptr %58, align 4, !tbaa !5
  br label %17, !llvm.loop !12

59:                                               ; preds = %17
  %60 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef @p)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %61

61:                                               ; preds = %71, %59
  %62 = load i32, ptr %5, align 4, !tbaa !5
  %63 = load i32, ptr @n, align 4, !tbaa !5
  %64 = icmp slt i32 %62, %63
  br i1 %64, label %66, label %65

65:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %74

66:                                               ; preds = %61
  %67 = load i32, ptr %5, align 4, !tbaa !5
  %68 = load i32, ptr %5, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %69
  store i32 %67, ptr %70, align 4, !tbaa !5
  br label %71

71:                                               ; preds = %66
  %72 = load i32, ptr %5, align 4, !tbaa !5
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %5, align 4, !tbaa !5
  br label %61, !llvm.loop !14

74:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %75

75:                                               ; preds = %91, %74
  %76 = load i32, ptr %6, align 4, !tbaa !5
  %77 = load i32, ptr @p, align 4, !tbaa !5
  %78 = icmp slt i32 %76, %77
  br i1 %78, label %80, label %79

79:                                               ; preds = %75
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %94

80:                                               ; preds = %75
  %81 = load i32, ptr %6, align 4, !tbaa !5
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [400001 x i32], ptr @kill, i64 0, i64 %82
  %84 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %83)
  %85 = load i32, ptr %6, align 4, !tbaa !5
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds [400001 x i32], ptr @kill, i64 0, i64 %86
  %88 = load i32, ptr %87, align 4, !tbaa !5
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [400001 x i8], ptr @vis, i64 0, i64 %89
  store i8 1, ptr %90, align 1, !tbaa !15
  br label %91

91:                                               ; preds = %80
  %92 = load i32, ptr %6, align 4, !tbaa !5
  %93 = add nsw i32 %92, 1
  store i32 %93, ptr %6, align 4, !tbaa !5
  br label %75, !llvm.loop !17

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

95:                                               ; preds = %145, %94
  %96 = load i32, ptr %7, align 4, !tbaa !5
  %97 = load i32, ptr @n, align 4, !tbaa !5
  %98 = icmp slt i32 %96, %97
  br i1 %98, label %100, label %99

99:                                               ; preds = %95
  store i32 10, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %148

100:                                              ; preds = %95
  %101 = load i32, ptr %7, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [400001 x i8], ptr @vis, i64 0, i64 %102
  %104 = load i8, ptr %103, align 1, !tbaa !15, !range !18, !noundef !19
  %105 = trunc i8 %104 to i1
  br i1 %105, label %144, label %106

106:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %107 = load i32, ptr %7, align 4, !tbaa !5
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds [400001 x i32], ptr @head, i64 0, i64 %108
  %110 = load i32, ptr %109, align 4, !tbaa !5
  store i32 %110, ptr %9, align 4, !tbaa !5
  br label %111

111:                                              ; preds = %137, %106
  %112 = load i32, ptr %9, align 4, !tbaa !5
  %113 = icmp ne i32 %112, 0
  br i1 %113, label %115, label %114

114:                                              ; preds = %111
  store i32 13, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %143

115:                                              ; preds = %111
  %116 = load i32, ptr %9, align 4, !tbaa !5
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %117
  %119 = getelementptr inbounds %struct.Line, ptr %118, i32 0, i32 0
  %120 = load i32, ptr %119, align 8, !tbaa !9
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds [400001 x i8], ptr @vis, i64 0, i64 %121
  %123 = load i8, ptr %122, align 1, !tbaa !15, !range !18, !noundef !19
  %124 = trunc i8 %123 to i1
  br i1 %124, label %136, label %125

125:                                              ; preds = %115
  %126 = load i32, ptr %9, align 4, !tbaa !5
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %127
  %129 = getelementptr inbounds %struct.Line, ptr %128, i32 0, i32 0
  %130 = load i32, ptr %129, align 8, !tbaa !9
  %131 = call noundef i32 @_Z4findi(i32 noundef %130)
  %132 = load i32, ptr %7, align 4, !tbaa !5
  %133 = call noundef i32 @_Z4findi(i32 noundef %132)
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %134
  store i32 %131, ptr %135, align 4, !tbaa !5
  br label %136

136:                                              ; preds = %125, %115
  br label %137

137:                                              ; preds = %136
  %138 = load i32, ptr %9, align 4, !tbaa !5
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %139
  %141 = getelementptr inbounds %struct.Line, ptr %140, i32 0, i32 1
  %142 = load i32, ptr %141, align 4, !tbaa !11
  store i32 %142, ptr %9, align 4, !tbaa !5
  br label %111, !llvm.loop !20

143:                                              ; preds = %114
  br label %144

144:                                              ; preds = %143, %100
  br label %145

145:                                              ; preds = %144
  %146 = load i32, ptr %7, align 4, !tbaa !5
  %147 = add nsw i32 %146, 1
  store i32 %147, ptr %7, align 4, !tbaa !5
  br label %95, !llvm.loop !21

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

149:                                              ; preds = %169, %148
  %150 = load i32, ptr %10, align 4, !tbaa !5
  %151 = load i32, ptr @n, align 4, !tbaa !5
  %152 = icmp slt i32 %150, %151
  br i1 %152, label %154, label %153

153:                                              ; preds = %149
  store i32 16, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %172

154:                                              ; preds = %149
  %155 = load i32, ptr %10, align 4, !tbaa !5
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds [400001 x i8], ptr @vis, i64 0, i64 %156
  %158 = load i8, ptr %157, align 1, !tbaa !15, !range !18, !noundef !19
  %159 = trunc i8 %158 to i1
  br i1 %159, label %168, label %160

160:                                              ; preds = %154
  %161 = load i32, ptr %10, align 4, !tbaa !5
  %162 = load i32, ptr %10, align 4, !tbaa !5
  %163 = call noundef i32 @_Z4findi(i32 noundef %162)
  %164 = icmp eq i32 %161, %163
  br i1 %164, label %165, label %168

165:                                              ; preds = %160
  %166 = load i32, ptr %4, align 4, !tbaa !5
  %167 = add nsw i32 %166, 1
  store i32 %167, ptr %4, align 4, !tbaa !5
  br label %168

168:                                              ; preds = %165, %160, %154
  br label %169

169:                                              ; preds = %168
  %170 = load i32, ptr %10, align 4, !tbaa !5
  %171 = add nsw i32 %170, 1
  store i32 %171, ptr %10, align 4, !tbaa !5
  br label %149, !llvm.loop !22

172:                                              ; preds = %153
  %173 = load i32, ptr %4, align 4, !tbaa !5
  %174 = load i32, ptr @p, align 4, !tbaa !5
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds [400001 x i32], ptr @ans, i64 0, i64 %175
  store i32 %173, ptr %176, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %177 = load i32, ptr @p, align 4, !tbaa !5
  %178 = sub nsw i32 %177, 1
  store i32 %178, ptr %11, align 4, !tbaa !5
  br label %179

179:                                              ; preds = %248, %172
  %180 = load i32, ptr %11, align 4, !tbaa !5
  %181 = icmp sge i32 %180, 0
  br i1 %181, label %183, label %182

182:                                              ; preds = %179
  store i32 19, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %251

183:                                              ; preds = %179
  %184 = load i32, ptr %4, align 4, !tbaa !5
  %185 = add nsw i32 %184, 1
  store i32 %185, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %186 = load i32, ptr %11, align 4, !tbaa !5
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds [400001 x i32], ptr @kill, i64 0, i64 %187
  %189 = load i32, ptr %188, align 4, !tbaa !5
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds [400001 x i32], ptr @head, i64 0, i64 %190
  %192 = load i32, ptr %191, align 4, !tbaa !5
  store i32 %192, ptr %12, align 4, !tbaa !5
  br label %193

193:                                              ; preds = %231, %183
  %194 = load i32, ptr %12, align 4, !tbaa !5
  %195 = icmp ne i32 %194, 0
  br i1 %195, label %197, label %196

196:                                              ; preds = %193
  store i32 22, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %237

197:                                              ; preds = %193
  %198 = load i32, ptr %12, align 4, !tbaa !5
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %199
  %201 = getelementptr inbounds %struct.Line, ptr %200, i32 0, i32 0
  %202 = load i32, ptr %201, align 8, !tbaa !9
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds [400001 x i8], ptr @vis, i64 0, i64 %203
  %205 = load i8, ptr %204, align 1, !tbaa !15, !range !18, !noundef !19
  %206 = trunc i8 %205 to i1
  br i1 %206, label %230, label %207

207:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %208 = load i32, ptr %11, align 4, !tbaa !5
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds [400001 x i32], ptr @kill, i64 0, i64 %209
  %211 = load i32, ptr %210, align 4, !tbaa !5
  %212 = call noundef i32 @_Z4findi(i32 noundef %211)
  store i32 %212, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %213 = load i32, ptr %12, align 4, !tbaa !5
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %214
  %216 = getelementptr inbounds %struct.Line, ptr %215, i32 0, i32 0
  %217 = load i32, ptr %216, align 8, !tbaa !9
  %218 = call noundef i32 @_Z4findi(i32 noundef %217)
  store i32 %218, ptr %14, align 4, !tbaa !5
  %219 = load i32, ptr %13, align 4, !tbaa !5
  %220 = load i32, ptr %14, align 4, !tbaa !5
  %221 = icmp ne i32 %219, %220
  br i1 %221, label %222, label %229

222:                                              ; preds = %207
  %223 = load i32, ptr %14, align 4, !tbaa !5
  %224 = load i32, ptr %13, align 4, !tbaa !5
  %225 = sext i32 %224 to i64
  %226 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %225
  store i32 %223, ptr %226, align 4, !tbaa !5
  %227 = load i32, ptr %4, align 4, !tbaa !5
  %228 = add nsw i32 %227, -1
  store i32 %228, ptr %4, align 4, !tbaa !5
  br label %229

229:                                              ; preds = %222, %207
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %230

230:                                              ; preds = %229, %197
  br label %231

231:                                              ; preds = %230
  %232 = load i32, ptr %12, align 4, !tbaa !5
  %233 = sext i32 %232 to i64
  %234 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %233
  %235 = getelementptr inbounds %struct.Line, ptr %234, i32 0, i32 1
  %236 = load i32, ptr %235, align 4, !tbaa !11
  store i32 %236, ptr %12, align 4, !tbaa !5
  br label %193, !llvm.loop !23

237:                                              ; preds = %196
  %238 = load i32, ptr %4, align 4, !tbaa !5
  %239 = load i32, ptr %11, align 4, !tbaa !5
  %240 = sext i32 %239 to i64
  %241 = getelementptr inbounds [400001 x i32], ptr @ans, i64 0, i64 %240
  store i32 %238, ptr %241, align 4, !tbaa !5
  %242 = load i32, ptr %11, align 4, !tbaa !5
  %243 = sext i32 %242 to i64
  %244 = getelementptr inbounds [400001 x i32], ptr @kill, i64 0, i64 %243
  %245 = load i32, ptr %244, align 4, !tbaa !5
  %246 = sext i32 %245 to i64
  %247 = getelementptr inbounds [400001 x i8], ptr @vis, i64 0, i64 %246
  store i8 0, ptr %247, align 1, !tbaa !15
  br label %248

248:                                              ; preds = %237
  %249 = load i32, ptr %11, align 4, !tbaa !5
  %250 = add nsw i32 %249, -1
  store i32 %250, ptr %11, align 4, !tbaa !5
  br label %179, !llvm.loop !24

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

252:                                              ; preds = %263, %251
  %253 = load i32, ptr %15, align 4, !tbaa !5
  %254 = load i32, ptr @p, align 4, !tbaa !5
  %255 = icmp sle i32 %253, %254
  br i1 %255, label %257, label %256

256:                                              ; preds = %252
  store i32 25, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %266

257:                                              ; preds = %252
  %258 = load i32, ptr %15, align 4, !tbaa !5
  %259 = sext i32 %258 to i64
  %260 = getelementptr inbounds [400001 x i32], ptr @ans, i64 0, i64 %259
  %261 = load i32, ptr %260, align 4, !tbaa !5
  %262 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %261)
  br label %263

263:                                              ; preds = %257
  %264 = load i32, ptr %15, align 4, !tbaa !5
  %265 = add nsw i32 %264, 1
  store i32 %265, ptr %15, align 4, !tbaa !5
  br label %252, !llvm.loop !25

266:                                              ; preds = %256
  store i32 0, ptr %1, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  %267 = load i32, ptr %1, align 4
  ret i32 %267
}

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

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

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

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

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

%struct.Line = type { i32, i32 }

@line = external dso_local local_unnamed_addr global [400002 x %struct.Line], align 16
@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@p = external dso_local global i32, align 4
@head = external dso_local local_unnamed_addr global [400001 x i32], align 16
@tot = external dso_local local_unnamed_addr global i32, align 4
@fa = external dso_local local_unnamed_addr global [400001 x i32], align 16
@kill = external dso_local global [400001 x i32], align 16
@ans = external dso_local local_unnamed_addr global [400001 x i32], align 16
@vis = external dso_local local_unnamed_addr global [400001 x i8], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
  %3 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n, ptr noundef nonnull @m)
  %4 = load i32, ptr @m, align 4, !tbaa !5
  %5 = add nsw i32 %4, -1
  store i32 %5, ptr @m, align 4, !tbaa !5
  %.not62 = icmp eq i32 %4, 0
  br i1 %.not62, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %0, %.lr.ph
  %6 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2)
  %7 = load i32, ptr %2, align 4, !tbaa !5
  %8 = load i32, ptr @tot, align 4, !tbaa !5
  %9 = add nsw i32 %8, 1
  %10 = sext i32 %9 to i64
  %11 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %10
  store i32 %7, ptr %11, align 8, !tbaa !9
  %12 = load i32, ptr %1, align 4, !tbaa !5
  %13 = sext i32 %12 to i64
  %14 = getelementptr inbounds [400001 x i32], ptr @head, i64 0, i64 %13
  %15 = load i32, ptr %14, align 4, !tbaa !5
  %16 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %10, i32 1
  store i32 %15, ptr %16, align 4, !tbaa !11
  store i32 %9, ptr %14, align 4, !tbaa !5
  %17 = add nsw i32 %8, 2
  store i32 %17, ptr @tot, align 4, !tbaa !5
  %18 = sext i32 %17 to i64
  %19 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %18
  store i32 %12, ptr %19, align 8, !tbaa !9
  %20 = sext i32 %7 to i64
  %21 = getelementptr inbounds [400001 x i32], ptr @head, i64 0, i64 %20
  %22 = load i32, ptr %21, align 4, !tbaa !5
  %23 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %18, i32 1
  store i32 %22, ptr %23, align 4, !tbaa !11
  store i32 %17, ptr %21, align 4, !tbaa !5
  %24 = load i32, ptr @m, align 4, !tbaa !5
  %25 = add nsw i32 %24, -1
  store i32 %25, ptr @m, align 4, !tbaa !5
  %.not = icmp eq i32 %24, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !12

._crit_edge:                                      ; preds = %.lr.ph, %0
  %26 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull @p)
  %27 = load i32, ptr @n, align 4, !tbaa !5
  %28 = icmp sgt i32 %27, 0
  br i1 %28, label %.lr.ph65.preheader, label %.preheader61

.lr.ph65.preheader:                               ; preds = %._crit_edge
  %wide.trip.count = zext nneg i32 %27 to i64
  %min.iters.check = icmp ult i32 %27, 8
  br i1 %min.iters.check, label %.lr.ph65.preheader118, label %vector.ph

.lr.ph65.preheader118:                            ; preds = %middle.block, %.lr.ph65.preheader
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph65.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph65

vector.ph:                                        ; preds = %.lr.ph65.preheader
  %n.vec = and i64 %wide.trip.count, 2147483640
  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>
  %29 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %index
  %30 = getelementptr inbounds i8, ptr %29, i64 16
  store <4 x i32> %vec.ind, ptr %29, align 16, !tbaa !5
  store <4 x i32> %step.add, ptr %30, 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>
  %31 = icmp eq i64 %index.next, %n.vec
  br i1 %31, 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 %.preheader61, label %.lr.ph65.preheader118

.preheader61:                                     ; preds = %.lr.ph65, %middle.block, %._crit_edge
  %32 = load i32, ptr @p, align 4, !tbaa !5
  %33 = icmp sgt i32 %32, 0
  br i1 %33, label %.lr.ph67, label %.preheader60

.lr.ph65:                                         ; preds = %.lr.ph65.preheader118, %.lr.ph65
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph65 ], [ %indvars.iv.ph, %.lr.ph65.preheader118 ]
  %34 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %indvars.iv
  %35 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %35, ptr %34, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.preheader61, label %.lr.ph65, !llvm.loop !17

.preheader60.loopexit:                            ; preds = %.lr.ph67
  %.pre = load i32, ptr @n, align 4, !tbaa !5
  br label %.preheader60

.preheader60:                                     ; preds = %.preheader60.loopexit, %.preheader61
  %36 = phi i32 [ %.pre, %.preheader60.loopexit ], [ %27, %.preheader61 ]
  %37 = icmp sgt i32 %36, 0
  br i1 %37, label %.lr.ph74, label %._crit_edge78

.lr.ph67:                                         ; preds = %.preheader61, %.lr.ph67
  %indvars.iv97 = phi i64 [ %indvars.iv.next98, %.lr.ph67 ], [ 0, %.preheader61 ]
  %38 = getelementptr inbounds [400001 x i32], ptr @kill, i64 0, i64 %indvars.iv97
  %39 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %38)
  %40 = load i32, ptr %38, align 4, !tbaa !5
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [400001 x i8], ptr @vis, i64 0, i64 %41
  store i8 1, ptr %42, align 1, !tbaa !18
  %indvars.iv.next98 = add nuw nsw i64 %indvars.iv97, 1
  %43 = load i32, ptr @p, align 4, !tbaa !5
  %44 = sext i32 %43 to i64
  %45 = icmp slt i64 %indvars.iv.next98, %44
  br i1 %45, label %.lr.ph67, label %.preheader60.loopexit, !llvm.loop !20

.preheader59:                                     ; preds = %.loopexit
  %46 = icmp sgt i32 %68, 0
  br i1 %46, label %.lr.ph77, label %._crit_edge78

.lr.ph74:                                         ; preds = %.preheader60, %.loopexit
  %47 = phi i32 [ %68, %.loopexit ], [ %36, %.preheader60 ]
  %indvars.iv100 = phi i64 [ %indvars.iv.next101, %.loopexit ], [ 0, %.preheader60 ]
  %48 = getelementptr inbounds [400001 x i8], ptr @vis, i64 0, i64 %indvars.iv100
  %49 = load i8, ptr %48, align 1, !tbaa !18, !range !21, !noundef !22
  %50 = trunc nuw i8 %49 to i1
  br i1 %50, label %.loopexit, label %51

51:                                               ; preds = %.lr.ph74
  %52 = getelementptr inbounds [400001 x i32], ptr @head, i64 0, i64 %indvars.iv100
  %.04968 = load i32, ptr %52, align 4, !tbaa !5
  %.not5869 = icmp eq i32 %.04968, 0
  br i1 %.not5869, label %.loopexit, label %.lr.ph72.preheader

.lr.ph72.preheader:                               ; preds = %51
  %53 = trunc nuw nsw i64 %indvars.iv100 to i32
  br label %.lr.ph72

.lr.ph72:                                         ; preds = %.lr.ph72.preheader, %66
  %.04970 = phi i32 [ %.049, %66 ], [ %.04968, %.lr.ph72.preheader ]
  %54 = sext i32 %.04970 to i64
  %55 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %54
  %56 = load i32, ptr %55, align 8, !tbaa !9
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [400001 x i8], ptr @vis, i64 0, i64 %57
  %59 = load i8, ptr %58, align 1, !tbaa !18, !range !21, !noundef !22
  %60 = trunc nuw i8 %59 to i1
  br i1 %60, label %66, label %61

61:                                               ; preds = %.lr.ph72
  %62 = call noundef i32 @_Z4findi(i32 noundef %56)
  %63 = call noundef i32 @_Z4findi(i32 noundef %53)
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %64
  store i32 %62, ptr %65, align 4, !tbaa !5
  br label %66

66:                                               ; preds = %.lr.ph72, %61
  %67 = getelementptr inbounds i8, ptr %55, i64 4
  %.049 = load i32, ptr %67, align 4, !tbaa !5
  %.not58 = icmp eq i32 %.049, 0
  br i1 %.not58, label %.loopexit.loopexit, label %.lr.ph72, !llvm.loop !23

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

.loopexit:                                        ; preds = %.loopexit.loopexit, %51, %.lr.ph74
  %68 = phi i32 [ %.pre112, %.loopexit.loopexit ], [ %47, %51 ], [ %47, %.lr.ph74 ]
  %indvars.iv.next101 = add nuw nsw i64 %indvars.iv100, 1
  %69 = sext i32 %68 to i64
  %70 = icmp slt i64 %indvars.iv.next101, %69
  br i1 %70, label %.lr.ph74, label %.preheader59, !llvm.loop !24

._crit_edge78:                                    ; preds = %86, %.preheader60, %.preheader59
  %.045.lcssa = phi i32 [ 0, %.preheader59 ], [ 0, %.preheader60 ], [ %.1, %86 ]
  %71 = load i32, ptr @p, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [400001 x i32], ptr @ans, i64 0, i64 %72
  store i32 %.045.lcssa, ptr %73, align 4, !tbaa !5
  %74 = icmp sgt i32 %71, 0
  br i1 %74, label %.lr.ph91.preheader, label %.preheader

.lr.ph91.preheader:                               ; preds = %._crit_edge78
  %75 = zext nneg i32 %71 to i64
  br label %.lr.ph91

.lr.ph77:                                         ; preds = %.preheader59, %86
  %76 = phi i32 [ %87, %86 ], [ %68, %.preheader59 ]
  %indvars.iv103 = phi i64 [ %indvars.iv.next104, %86 ], [ 0, %.preheader59 ]
  %.04576 = phi i32 [ %.1, %86 ], [ 0, %.preheader59 ]
  %77 = getelementptr inbounds [400001 x i8], ptr @vis, i64 0, i64 %indvars.iv103
  %78 = load i8, ptr %77, align 1, !tbaa !18, !range !21, !noundef !22
  %79 = trunc nuw i8 %78 to i1
  br i1 %79, label %86, label %80

80:                                               ; preds = %.lr.ph77
  %81 = trunc nuw nsw i64 %indvars.iv103 to i32
  %82 = call noundef i32 @_Z4findi(i32 noundef %81)
  %83 = zext i32 %82 to i64
  %84 = icmp eq i64 %indvars.iv103, %83
  %85 = zext i1 %84 to i32
  %spec.select = add nsw i32 %.04576, %85
  %.pre113 = load i32, ptr @n, align 4, !tbaa !5
  br label %86

86:                                               ; preds = %80, %.lr.ph77
  %87 = phi i32 [ %76, %.lr.ph77 ], [ %.pre113, %80 ]
  %.1 = phi i32 [ %.04576, %.lr.ph77 ], [ %spec.select, %80 ]
  %indvars.iv.next104 = add nuw nsw i64 %indvars.iv103, 1
  %88 = sext i32 %87 to i64
  %89 = icmp slt i64 %indvars.iv.next104, %88
  br i1 %89, label %.lr.ph77, label %._crit_edge78, !llvm.loop !25

.preheader.loopexit:                              ; preds = %._crit_edge85
  %.pre115 = load i32, ptr @p, align 4, !tbaa !5
  br label %.preheader

.preheader:                                       ; preds = %.preheader.loopexit, %._crit_edge78
  %90 = phi i32 [ %.pre115, %.preheader.loopexit ], [ %71, %._crit_edge78 ]
  %.not5592 = icmp slt i32 %90, 0
  br i1 %.not5592, label %._crit_edge95, label %.lr.ph94

.lr.ph91:                                         ; preds = %.lr.ph91.preheader, %._crit_edge85
  %indvars.iv106 = phi i64 [ %75, %.lr.ph91.preheader ], [ %indvars.iv.next107, %._crit_edge85 ]
  %.288 = phi i32 [ %.045.lcssa, %.lr.ph91.preheader ], [ %.3.lcssa, %._crit_edge85 ]
  %indvars.iv.next107 = add nsw i64 %indvars.iv106, -1
  %91 = add nsw i32 %.288, 1
  %92 = getelementptr inbounds [400001 x i32], ptr @kill, i64 0, i64 %indvars.iv.next107
  %93 = load i32, ptr %92, align 4, !tbaa !5
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [400001 x i32], ptr @head, i64 0, i64 %94
  %.04679 = load i32, ptr %95, align 4, !tbaa !5
  %.not5680 = icmp eq i32 %.04679, 0
  br i1 %.not5680, label %._crit_edge85, label %.lr.ph84

._crit_edge85.loopexit:                           ; preds = %115
  %.pre114 = load i32, ptr %92, align 4, !tbaa !5
  %.pre116 = sext i32 %.pre114 to i64
  br label %._crit_edge85

._crit_edge85:                                    ; preds = %._crit_edge85.loopexit, %.lr.ph91
  %.pre-phi = phi i64 [ %.pre116, %._crit_edge85.loopexit ], [ %94, %.lr.ph91 ]
  %.3.lcssa = phi i32 [ %.5, %._crit_edge85.loopexit ], [ %91, %.lr.ph91 ]
  %96 = getelementptr inbounds [400001 x i32], ptr @ans, i64 0, i64 %indvars.iv.next107
  store i32 %.3.lcssa, ptr %96, align 4, !tbaa !5
  %97 = getelementptr inbounds [400001 x i8], ptr @vis, i64 0, i64 %.pre-phi
  store i8 0, ptr %97, align 1, !tbaa !18
  %98 = icmp sgt i64 %indvars.iv106, 1
  br i1 %98, label %.lr.ph91, label %.preheader.loopexit, !llvm.loop !26

.lr.ph84:                                         ; preds = %.lr.ph91, %115
  %.04682 = phi i32 [ %.046, %115 ], [ %.04679, %.lr.ph91 ]
  %.381 = phi i32 [ %.5, %115 ], [ %91, %.lr.ph91 ]
  %99 = sext i32 %.04682 to i64
  %100 = getelementptr inbounds [400002 x %struct.Line], ptr @line, i64 0, i64 %99
  %101 = load i32, ptr %100, align 8, !tbaa !9
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [400001 x i8], ptr @vis, i64 0, i64 %102
  %104 = load i8, ptr %103, align 1, !tbaa !18, !range !21, !noundef !22
  %105 = trunc nuw i8 %104 to i1
  br i1 %105, label %115, label %106

106:                                              ; preds = %.lr.ph84
  %107 = load i32, ptr %92, align 4, !tbaa !5
  %108 = call noundef i32 @_Z4findi(i32 noundef %107)
  %109 = load i32, ptr %100, align 8, !tbaa !9
  %110 = call noundef i32 @_Z4findi(i32 noundef %109)
  %.not57 = icmp eq i32 %108, %110
  br i1 %.not57, label %115, label %111

111:                                              ; preds = %106
  %112 = sext i32 %108 to i64
  %113 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %112
  store i32 %110, ptr %113, align 4, !tbaa !5
  %114 = add nsw i32 %.381, -1
  br label %115

115:                                              ; preds = %106, %111, %.lr.ph84
  %.5 = phi i32 [ %.381, %.lr.ph84 ], [ %114, %111 ], [ %.381, %106 ]
  %116 = getelementptr inbounds i8, ptr %100, i64 4
  %.046 = load i32, ptr %116, align 4, !tbaa !5
  %.not56 = icmp eq i32 %.046, 0
  br i1 %.not56, label %._crit_edge85.loopexit, label %.lr.ph84, !llvm.loop !27

._crit_edge95:                                    ; preds = %.lr.ph94, %.preheader
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4
  ret i32 0

.lr.ph94:                                         ; preds = %.preheader, %.lr.ph94
  %indvars.iv109 = phi i64 [ %indvars.iv.next110, %.lr.ph94 ], [ 0, %.preheader ]
  %117 = getelementptr inbounds [400001 x i32], ptr @ans, i64 0, i64 %indvars.iv109
  %118 = load i32, ptr %117, align 4, !tbaa !5
  %119 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %118)
  %indvars.iv.next110 = add nuw nsw i64 %indvars.iv109, 1
  %120 = load i32, ptr @p, align 4, !tbaa !5
  %121 = sext i32 %120 to i64
  %.not55.not = icmp slt i64 %indvars.iv109, %121
  br i1 %.not55.not, label %.lr.ph94, label %._crit_edge95, !llvm.loop !28
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.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: 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 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

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


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