; LLVM IR from tangjz/acm-icpc :: TDL_training/2015-10-05 (A - Ants - tjz)

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

@n = external dso_local global i32, align 4
@a = external dso_local global [105 x [2 x i32]], align 16
@b = external dso_local global [105 x [2 x i32]], align 16
@match = external dso_local global [105 x i32], align 16
@g = external dso_local global [105 x [105 x double]], align 16
@lx = external dso_local global [105 x double], align 16
@ly = external dso_local global [105 x double], align 16
@sx = external dso_local global [105 x i8], align 16
@sy = external dso_local global [105 x i8], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z4pathi(i32 noundef) #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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #3 {
  %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 double, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  br label %13

13:                                               ; preds = %281, %0
  %14 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n)
  %15 = icmp eq i32 %14, 1
  br i1 %15, label %16, label %282

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

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

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

22:                                               ; preds = %17
  %23 = load i32, ptr %2, align 4, !tbaa !5
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds [105 x [2 x i32]], ptr @b, i64 0, i64 %24
  %26 = getelementptr inbounds [2 x i32], ptr %25, i64 0, i64 0
  %27 = getelementptr inbounds i32, ptr %26, i64 0
  %28 = load i32, ptr %2, align 4, !tbaa !5
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [105 x [2 x i32]], ptr @b, i64 0, i64 %29
  %31 = getelementptr inbounds [2 x i32], ptr %30, i64 0, i64 0
  %32 = getelementptr inbounds i32, ptr %31, i64 1
  %33 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %27, ptr noundef %32)
  br label %34

34:                                               ; preds = %22
  %35 = load i32, ptr %2, align 4, !tbaa !5
  %36 = add nsw i32 %35, 1
  store i32 %36, ptr %2, align 4, !tbaa !5
  br label %17, !llvm.loop !9

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

38:                                               ; preds = %55, %37
  %39 = load i32, ptr %3, align 4, !tbaa !5
  %40 = load i32, ptr @n, align 4, !tbaa !5
  %41 = icmp slt i32 %39, %40
  br i1 %41, label %43, label %42

42:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  br label %58

43:                                               ; preds = %38
  %44 = load i32, ptr %3, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [105 x [2 x i32]], ptr @a, i64 0, i64 %45
  %47 = getelementptr inbounds [2 x i32], ptr %46, i64 0, i64 0
  %48 = getelementptr inbounds i32, ptr %47, i64 0
  %49 = load i32, ptr %3, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [105 x [2 x i32]], ptr @a, i64 0, i64 %50
  %52 = getelementptr inbounds [2 x i32], ptr %51, i64 0, i64 0
  %53 = getelementptr inbounds i32, ptr %52, i64 1
  %54 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %48, ptr noundef %53)
  br label %55

55:                                               ; preds = %43
  %56 = load i32, ptr %3, align 4, !tbaa !5
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %3, align 4, !tbaa !5
  br label %38, !llvm.loop !11

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

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

63:                                               ; preds = %59
  store i32 10, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  br label %141

64:                                               ; preds = %59
  %65 = load i32, ptr %4, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [105 x double], ptr @ly, i64 0, i64 %66
  store double 0.000000e+00, ptr %67, align 8, !tbaa !12
  %68 = load i32, ptr %4, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [105 x double], ptr @lx, i64 0, i64 %69
  store double 0.000000e+00, ptr %70, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %71

71:                                               ; preds = %134, %64
  %72 = load i32, ptr %6, align 4, !tbaa !5
  %73 = load i32, ptr @n, align 4, !tbaa !5
  %74 = icmp slt i32 %72, %73
  br i1 %74, label %76, label %75

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

76:                                               ; preds = %71
  %77 = load i32, ptr %4, align 4, !tbaa !5
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [105 x [2 x i32]], ptr @a, i64 0, i64 %78
  %80 = getelementptr inbounds [2 x i32], ptr %79, i64 0, i64 0
  %81 = load i32, ptr %80, align 8, !tbaa !5
  %82 = load i32, ptr %6, align 4, !tbaa !5
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [105 x [2 x i32]], ptr @b, i64 0, i64 %83
  %85 = getelementptr inbounds [2 x i32], ptr %84, i64 0, i64 0
  %86 = load i32, ptr %85, align 8, !tbaa !5
  %87 = sub nsw i32 %81, %86
  %88 = call noundef i32 @_Z3sqri(i32 noundef %87)
  %89 = load i32, ptr %4, align 4, !tbaa !5
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds [105 x [2 x i32]], ptr @a, i64 0, i64 %90
  %92 = getelementptr inbounds [2 x i32], ptr %91, i64 0, i64 1
  %93 = load i32, ptr %92, align 4, !tbaa !5
  %94 = load i32, ptr %6, align 4, !tbaa !5
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [105 x [2 x i32]], ptr @b, i64 0, i64 %95
  %97 = getelementptr inbounds [2 x i32], ptr %96, i64 0, i64 1
  %98 = load i32, ptr %97, align 4, !tbaa !5
  %99 = sub nsw i32 %93, %98
  %100 = call noundef i32 @_Z3sqri(i32 noundef %99)
  %101 = add nsw i32 %88, %100
  %102 = call noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %101)
  %103 = fsub double 2.900000e+04, %102
  %104 = load i32, ptr %4, align 4, !tbaa !5
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [105 x [105 x double]], ptr @g, i64 0, i64 %105
  %107 = load i32, ptr %6, align 4, !tbaa !5
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds [105 x double], ptr %106, i64 0, i64 %108
  store double %103, ptr %109, align 8, !tbaa !12
  %110 = load i32, ptr %4, align 4, !tbaa !5
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [105 x double], ptr @lx, i64 0, i64 %111
  %113 = load double, ptr %112, align 8, !tbaa !12
  %114 = load i32, ptr %4, align 4, !tbaa !5
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds [105 x [105 x double]], ptr @g, i64 0, i64 %115
  %117 = load i32, ptr %6, align 4, !tbaa !5
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [105 x double], ptr %116, i64 0, i64 %118
  %120 = load double, ptr %119, align 8, !tbaa !12
  %121 = fcmp olt double %113, %120
  br i1 %121, label %122, label %133

122:                                              ; preds = %76
  %123 = load i32, ptr %4, align 4, !tbaa !5
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds [105 x [105 x double]], ptr @g, i64 0, i64 %124
  %126 = load i32, ptr %6, align 4, !tbaa !5
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [105 x double], ptr %125, i64 0, i64 %127
  %129 = load double, ptr %128, align 8, !tbaa !12
  %130 = load i32, ptr %4, align 4, !tbaa !5
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds [105 x double], ptr @lx, i64 0, i64 %131
  store double %129, ptr %132, align 8, !tbaa !12
  br label %133

133:                                              ; preds = %122, %76
  br label %134

134:                                              ; preds = %133
  %135 = load i32, ptr %6, align 4, !tbaa !5
  %136 = add nsw i32 %135, 1
  store i32 %136, ptr %6, align 4, !tbaa !5
  br label %71, !llvm.loop !14

137:                                              ; preds = %75
  br label %138

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

141:                                              ; preds = %63
  call void @llvm.memset.p0.i64(ptr align 16 @match, i8 -1, i64 420, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %142

142:                                              ; preds = %262, %141
  %143 = load i32, ptr %7, align 4, !tbaa !5
  %144 = load i32, ptr @n, align 4, !tbaa !5
  %145 = icmp slt i32 %143, %144
  br i1 %145, label %147, label %146

146:                                              ; preds = %142
  store i32 16, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  br label %265

147:                                              ; preds = %142
  br label %148

148:                                              ; preds = %260, %147
  br label %149

149:                                              ; preds = %148
  call void @llvm.memset.p0.i64(ptr align 16 @sx, i8 0, i64 105, i1 false)
  call void @llvm.memset.p0.i64(ptr align 16 @sy, i8 0, i64 105, i1 false)
  %150 = load i32, ptr %7, align 4, !tbaa !5
  %151 = call noundef zeroext i1 @_Z4pathi(i32 noundef %150)
  br i1 %151, label %152, label %153

152:                                              ; preds = %149
  br label %261

153:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  store double 1.000000e+10, ptr %8, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %154

154:                                              ; preds = %221, %153
  %155 = load i32, ptr %9, align 4, !tbaa !5
  %156 = load i32, ptr @n, align 4, !tbaa !5
  %157 = icmp slt i32 %155, %156
  br i1 %157, label %159, label %158

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

159:                                              ; preds = %154
  %160 = load i32, ptr %9, align 4, !tbaa !5
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds [105 x i8], ptr @sx, i64 0, i64 %161
  %163 = load i8, ptr %162, align 1, !tbaa !16, !range !18, !noundef !19
  %164 = trunc i8 %163 to i1
  br i1 %164, label %166, label %165

165:                                              ; preds = %159
  br label %221

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

167:                                              ; preds = %217, %166
  %168 = load i32, ptr %10, align 4, !tbaa !5
  %169 = load i32, ptr @n, align 4, !tbaa !5
  %170 = icmp slt i32 %168, %169
  br i1 %170, label %172, label %171

171:                                              ; preds = %167
  store i32 24, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %220

172:                                              ; preds = %167
  %173 = load i32, ptr %10, align 4, !tbaa !5
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds [105 x i8], ptr @sy, i64 0, i64 %174
  %176 = load i8, ptr %175, align 1, !tbaa !16, !range !18, !noundef !19
  %177 = trunc i8 %176 to i1
  br i1 %177, label %216, label %178

178:                                              ; preds = %172
  %179 = load double, ptr %8, align 8, !tbaa !12
  %180 = load i32, ptr %9, align 4, !tbaa !5
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds [105 x double], ptr @lx, i64 0, i64 %181
  %183 = load double, ptr %182, align 8, !tbaa !12
  %184 = load i32, ptr %10, align 4, !tbaa !5
  %185 = sext i32 %184 to i64
  %186 = getelementptr inbounds [105 x double], ptr @ly, i64 0, i64 %185
  %187 = load double, ptr %186, align 8, !tbaa !12
  %188 = fadd double %183, %187
  %189 = load i32, ptr %9, align 4, !tbaa !5
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds [105 x [105 x double]], ptr @g, i64 0, i64 %190
  %192 = load i32, ptr %10, align 4, !tbaa !5
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds [105 x double], ptr %191, i64 0, i64 %193
  %195 = load double, ptr %194, align 8, !tbaa !12
  %196 = fsub double %188, %195
  %197 = fcmp ogt double %179, %196
  br i1 %197, label %198, label %216

198:                                              ; preds = %178
  %199 = load i32, ptr %9, align 4, !tbaa !5
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds [105 x double], ptr @lx, i64 0, i64 %200
  %202 = load double, ptr %201, align 8, !tbaa !12
  %203 = load i32, ptr %10, align 4, !tbaa !5
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds [105 x double], ptr @ly, i64 0, i64 %204
  %206 = load double, ptr %205, align 8, !tbaa !12
  %207 = fadd double %202, %206
  %208 = load i32, ptr %9, align 4, !tbaa !5
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds [105 x [105 x double]], ptr @g, i64 0, i64 %209
  %211 = load i32, ptr %10, align 4, !tbaa !5
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds [105 x double], ptr %210, i64 0, i64 %212
  %214 = load double, ptr %213, align 8, !tbaa !12
  %215 = fsub double %207, %214
  store double %215, ptr %8, align 8, !tbaa !12
  br label %216

216:                                              ; preds = %198, %178, %172
  br label %217

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

220:                                              ; preds = %171
  br label %221

221:                                              ; preds = %220, %165
  %222 = load i32, ptr %9, align 4, !tbaa !5
  %223 = add nsw i32 %222, 1
  store i32 %223, ptr %9, align 4, !tbaa !5
  br label %154, !llvm.loop !21

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

225:                                              ; preds = %257, %224
  %226 = load i32, ptr %11, align 4, !tbaa !5
  %227 = load i32, ptr @n, align 4, !tbaa !5
  %228 = icmp slt i32 %226, %227
  br i1 %228, label %230, label %229

229:                                              ; preds = %225
  store i32 27, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %260

230:                                              ; preds = %225
  %231 = load i32, ptr %11, align 4, !tbaa !5
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds [105 x i8], ptr @sx, i64 0, i64 %232
  %234 = load i8, ptr %233, align 1, !tbaa !16, !range !18, !noundef !19
  %235 = trunc i8 %234 to i1
  br i1 %235, label %236, label %243

236:                                              ; preds = %230
  %237 = load double, ptr %8, align 8, !tbaa !12
  %238 = load i32, ptr %11, align 4, !tbaa !5
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds [105 x double], ptr @lx, i64 0, i64 %239
  %241 = load double, ptr %240, align 8, !tbaa !12
  %242 = fsub double %241, %237
  store double %242, ptr %240, align 8, !tbaa !12
  br label %243

243:                                              ; preds = %236, %230
  %244 = load i32, ptr %11, align 4, !tbaa !5
  %245 = sext i32 %244 to i64
  %246 = getelementptr inbounds [105 x i8], ptr @sy, i64 0, i64 %245
  %247 = load i8, ptr %246, align 1, !tbaa !16, !range !18, !noundef !19
  %248 = trunc i8 %247 to i1
  br i1 %248, label %249, label %256

249:                                              ; preds = %243
  %250 = load double, ptr %8, align 8, !tbaa !12
  %251 = load i32, ptr %11, align 4, !tbaa !5
  %252 = sext i32 %251 to i64
  %253 = getelementptr inbounds [105 x double], ptr @ly, i64 0, i64 %252
  %254 = load double, ptr %253, align 8, !tbaa !12
  %255 = fadd double %254, %250
  store double %255, ptr %253, align 8, !tbaa !12
  br label %256

256:                                              ; preds = %249, %243
  br label %257

257:                                              ; preds = %256
  %258 = load i32, ptr %11, align 4, !tbaa !5
  %259 = add nsw i32 %258, 1
  store i32 %259, ptr %11, align 4, !tbaa !5
  br label %225, !llvm.loop !22

260:                                              ; preds = %229
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %148, !llvm.loop !23

261:                                              ; preds = %152
  br label %262

262:                                              ; preds = %261
  %263 = load i32, ptr %7, align 4, !tbaa !5
  %264 = add nsw i32 %263, 1
  store i32 %264, ptr %7, align 4, !tbaa !5
  br label %142, !llvm.loop !24

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

266:                                              ; preds = %278, %265
  %267 = load i32, ptr %12, align 4, !tbaa !5
  %268 = load i32, ptr @n, align 4, !tbaa !5
  %269 = icmp slt i32 %267, %268
  br i1 %269, label %271, label %270

270:                                              ; preds = %266
  store i32 30, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %281

271:                                              ; preds = %266
  %272 = load i32, ptr %12, align 4, !tbaa !5
  %273 = sext i32 %272 to i64
  %274 = getelementptr inbounds [105 x i32], ptr @match, i64 0, i64 %273
  %275 = load i32, ptr %274, align 4, !tbaa !5
  %276 = add nsw i32 %275, 1
  %277 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %276)
  br label %278

278:                                              ; preds = %271
  %279 = load i32, ptr %12, align 4, !tbaa !5
  %280 = add nsw i32 %279, 1
  store i32 %280, ptr %12, align 4, !tbaa !5
  br label %266, !llvm.loop !25

281:                                              ; preds = %270
  br label %13, !llvm.loop !26

282:                                              ; preds = %13
  ret i32 0
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef) #5

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{!13, !13, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = !{!17, !17, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}
!26 = distinct !{!26, !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"

@n = external dso_local global i32, align 4
@a = external dso_local global [105 x [2 x i32]], align 16
@b = external dso_local global [105 x [2 x i32]], align 16
@match = external dso_local local_unnamed_addr global [105 x i32], align 16
@g = external dso_local local_unnamed_addr global [105 x [105 x double]], align 16
@lx = external dso_local local_unnamed_addr global [105 x double], align 16
@ly = external dso_local local_unnamed_addr global [105 x double], align 16
@sx = external dso_local local_unnamed_addr global [105 x i8], align 16
@sy = external dso_local local_unnamed_addr global [105 x i8], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 {
  %1 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n)
  %2 = icmp eq i32 %1, 1
  br i1 %2, label %.preheader73, label %._crit_edge97

.loopexit70:                                      ; preds = %.lr.ph96, %._crit_edge81.thread, %._crit_edge81, %.preheader69
  %3 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n)
  %4 = icmp eq i32 %3, 1
  br i1 %4, label %.preheader73, label %._crit_edge97, !llvm.loop !5

.preheader73:                                     ; preds = %0, %.loopexit70
  %5 = load i32, ptr @n, align 4, !tbaa !7
  %6 = icmp sgt i32 %5, 0
  br i1 %6, label %.lr.ph, label %._crit_edge81.thread

.preheader72:                                     ; preds = %.lr.ph
  %7 = icmp sgt i32 %11, 0
  br i1 %7, label %.lr.ph76, label %._crit_edge81.thread

.lr.ph:                                           ; preds = %.preheader73, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.preheader73 ]
  %8 = getelementptr inbounds [105 x [2 x i32]], ptr @b, i64 0, i64 %indvars.iv
  %9 = getelementptr inbounds i8, ptr %8, i64 4
  %10 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %8, ptr noundef nonnull %9)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %11 = load i32, ptr @n, align 4, !tbaa !7
  %12 = sext i32 %11 to i64
  %13 = icmp slt i64 %indvars.iv.next, %12
  br i1 %13, label %.lr.ph, label %.preheader72, !llvm.loop !11

.preheader71:                                     ; preds = %.lr.ph76
  %14 = icmp sgt i32 %18, 0
  br i1 %14, label %.lr.ph80, label %._crit_edge81.thread

.lr.ph76:                                         ; preds = %.preheader72, %.lr.ph76
  %indvars.iv99 = phi i64 [ %indvars.iv.next100, %.lr.ph76 ], [ 0, %.preheader72 ]
  %15 = getelementptr inbounds [105 x [2 x i32]], ptr @a, i64 0, i64 %indvars.iv99
  %16 = getelementptr inbounds i8, ptr %15, i64 4
  %17 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %15, ptr noundef nonnull %16)
  %indvars.iv.next100 = add nuw nsw i64 %indvars.iv99, 1
  %18 = load i32, ptr @n, align 4, !tbaa !7
  %19 = sext i32 %18 to i64
  %20 = icmp slt i64 %indvars.iv.next100, %19
  br i1 %20, label %.lr.ph76, label %.preheader71, !llvm.loop !12

._crit_edge81.thread:                             ; preds = %.preheader71, %.preheader72, %.preheader73
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(420) @match, i8 -1, i64 420, i1 false)
  br label %.loopexit70

._crit_edge81:                                    ; preds = %._crit_edge
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(420) @match, i8 -1, i64 420, i1 false)
  %21 = icmp sgt i32 %28, 0
  br i1 %21, label %.preheader68, label %.loopexit70

.lr.ph80:                                         ; preds = %.preheader71, %._crit_edge
  %22 = phi i32 [ %28, %._crit_edge ], [ %18, %.preheader71 ]
  %indvars.iv105 = phi i64 [ %indvars.iv.next106, %._crit_edge ], [ 0, %.preheader71 ]
  %23 = getelementptr inbounds [105 x double], ptr @ly, i64 0, i64 %indvars.iv105
  store double 0.000000e+00, ptr %23, align 8, !tbaa !13
  %24 = getelementptr inbounds [105 x double], ptr @lx, i64 0, i64 %indvars.iv105
  store double 0.000000e+00, ptr %24, align 8, !tbaa !13
  %25 = icmp sgt i32 %22, 0
  br i1 %25, label %.lr.ph78, label %.lr.ph80.._crit_edge_crit_edge

.lr.ph80.._crit_edge_crit_edge:                   ; preds = %.lr.ph80
  %.pre = sext i32 %22 to i64
  br label %._crit_edge

.lr.ph78:                                         ; preds = %.lr.ph80
  %26 = getelementptr inbounds [105 x [2 x i32]], ptr @a, i64 0, i64 %indvars.iv105
  %27 = getelementptr inbounds i8, ptr %26, i64 4
  br label %30

._crit_edge:                                      ; preds = %48, %.lr.ph80.._crit_edge_crit_edge
  %.pre-phi = phi i64 [ %.pre, %.lr.ph80.._crit_edge_crit_edge ], [ %50, %48 ]
  %28 = phi i32 [ %22, %.lr.ph80.._crit_edge_crit_edge ], [ %49, %48 ]
  %indvars.iv.next106 = add nuw nsw i64 %indvars.iv105, 1
  %29 = icmp slt i64 %indvars.iv.next106, %.pre-phi
  br i1 %29, label %.lr.ph80, label %._crit_edge81, !llvm.loop !15

30:                                               ; preds = %.lr.ph78, %48
  %indvars.iv102 = phi i64 [ 0, %.lr.ph78 ], [ %indvars.iv.next103, %48 ]
  %31 = load i32, ptr %26, align 8, !tbaa !7
  %32 = getelementptr inbounds [105 x [2 x i32]], ptr @b, i64 0, i64 %indvars.iv102
  %33 = load i32, ptr %32, align 8, !tbaa !7
  %34 = sub nsw i32 %31, %33
  %35 = tail call noundef i32 @_Z3sqri(i32 noundef %34)
  %36 = load i32, ptr %27, align 4, !tbaa !7
  %37 = getelementptr inbounds i8, ptr %32, i64 4
  %38 = load i32, ptr %37, align 4, !tbaa !7
  %39 = sub nsw i32 %36, %38
  %40 = tail call noundef i32 @_Z3sqri(i32 noundef %39)
  %41 = add nsw i32 %40, %35
  %42 = tail call noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %41)
  %43 = fsub double 2.900000e+04, %42
  %44 = getelementptr inbounds [105 x [105 x double]], ptr @g, i64 0, i64 %indvars.iv105, i64 %indvars.iv102
  store double %43, ptr %44, align 8, !tbaa !13
  %45 = load double, ptr %24, align 8, !tbaa !13
  %46 = fcmp olt double %45, %43
  br i1 %46, label %47, label %48

47:                                               ; preds = %30
  store double %43, ptr %24, align 8, !tbaa !13
  br label %48

48:                                               ; preds = %30, %47
  %indvars.iv.next103 = add nuw nsw i64 %indvars.iv102, 1
  %49 = load i32, ptr @n, align 4, !tbaa !7
  %50 = sext i32 %49 to i64
  %51 = icmp slt i64 %indvars.iv.next103, %50
  br i1 %51, label %30, label %._crit_edge, !llvm.loop !16

.preheader69:                                     ; preds = %._crit_edge93
  %52 = icmp sgt i32 %120, 0
  br i1 %52, label %.lr.ph96, label %.loopexit70

.preheader68:                                     ; preds = %._crit_edge81, %._crit_edge93
  %.05894 = phi i32 [ %119, %._crit_edge93 ], [ 0, %._crit_edge81 ]
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(105) @sx, i8 0, i64 105, i1 false)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(105) @sy, i8 0, i64 105, i1 false)
  %53 = tail call noundef zeroext i1 @_Z4pathi(i32 noundef %.05894)
  br i1 %53, label %._crit_edge93, label %.preheader67

.loopexit66:                                      ; preds = %118, %.preheader67, %.preheader65
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(105) @sx, i8 0, i64 105, i1 false)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(105) @sy, i8 0, i64 105, i1 false)
  %54 = tail call noundef zeroext i1 @_Z4pathi(i32 noundef %.05894)
  br i1 %54, label %._crit_edge93, label %.preheader67, !llvm.loop !17

.preheader67:                                     ; preds = %.preheader68, %.loopexit66
  %55 = load i32, ptr @n, align 4, !tbaa !7
  %56 = icmp sgt i32 %55, 0
  br i1 %56, label %.lr.ph87.preheader, label %.loopexit66

.lr.ph87.preheader:                               ; preds = %.preheader67
  %wide.trip.count114 = zext nneg i32 %55 to i64
  %xtraiter = and i64 %wide.trip.count114, 1
  %57 = icmp eq i32 %55, 1
  %unroll_iter = and i64 %wide.trip.count114, 2147483646
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.lr.ph87

.lr.ph87:                                         ; preds = %.lr.ph87.preheader, %..loopexit_crit_edge.us
  %indvars.iv111 = phi i64 [ 0, %.lr.ph87.preheader ], [ %indvars.iv.next112, %..loopexit_crit_edge.us ]
  %.05785.us = phi double [ 1.000000e+10, %.lr.ph87.preheader ], [ %.3.us, %..loopexit_crit_edge.us ]
  %58 = getelementptr inbounds [105 x i8], ptr @sx, i64 0, i64 %indvars.iv111
  %59 = load i8, ptr %58, align 1, !tbaa !18, !range !20, !noundef !21
  %60 = trunc nuw i8 %59 to i1
  br i1 %60, label %.preheader.us, label %..loopexit_crit_edge.us

..loopexit_crit_edge.us.loopexit.unr-lcssa:       ; preds = %101, %.preheader.us
  %.2.us.lcssa.ph = phi double [ poison, %.preheader.us ], [ %.2.us.1, %101 ]
  %indvars.iv108.unr = phi i64 [ 0, %.preheader.us ], [ %indvars.iv.next109.1, %101 ]
  %.182.us.unr = phi double [ %.05785.us, %.preheader.us ], [ %.2.us.1, %101 ]
  br i1 %lcmp.mod.not, label %..loopexit_crit_edge.us, label %.epil.preheader

.epil.preheader:                                  ; preds = %..loopexit_crit_edge.us.loopexit.unr-lcssa
  %61 = getelementptr inbounds [105 x i8], ptr @sy, i64 0, i64 %indvars.iv108.unr
  %62 = load i8, ptr %61, align 1, !tbaa !18, !range !20, !noundef !21
  %63 = trunc nuw i8 %62 to i1
  br i1 %63, label %..loopexit_crit_edge.us, label %64

64:                                               ; preds = %.epil.preheader
  %65 = load double, ptr %102, align 8, !tbaa !13
  %66 = getelementptr inbounds [105 x double], ptr @ly, i64 0, i64 %indvars.iv108.unr
  %67 = load double, ptr %66, align 8, !tbaa !13
  %68 = fadd double %65, %67
  %69 = getelementptr inbounds [105 x [105 x double]], ptr @g, i64 0, i64 %indvars.iv111, i64 %indvars.iv108.unr
  %70 = load double, ptr %69, align 8, !tbaa !13
  %71 = fsub double %68, %70
  %72 = fcmp ogt double %.182.us.unr, %71
  br i1 %72, label %73, label %..loopexit_crit_edge.us

73:                                               ; preds = %64
  br label %..loopexit_crit_edge.us

..loopexit_crit_edge.us:                          ; preds = %..loopexit_crit_edge.us.loopexit.unr-lcssa, %73, %64, %.epil.preheader, %.lr.ph87
  %.3.us = phi double [ %.05785.us, %.lr.ph87 ], [ %.2.us.lcssa.ph, %..loopexit_crit_edge.us.loopexit.unr-lcssa ], [ %.182.us.unr, %.epil.preheader ], [ %71, %73 ], [ %.182.us.unr, %64 ]
  %indvars.iv.next112 = add nuw nsw i64 %indvars.iv111, 1
  %exitcond115.not = icmp eq i64 %indvars.iv.next112, %wide.trip.count114
  br i1 %exitcond115.not, label %.preheader65, label %.lr.ph87, !llvm.loop !22

.preheader.us.new:                                ; preds = %.preheader.us, %101
  %indvars.iv108 = phi i64 [ %indvars.iv.next109.1, %101 ], [ 0, %.preheader.us ]
  %.182.us = phi double [ %.2.us.1, %101 ], [ %.05785.us, %.preheader.us ]
  %niter = phi i64 [ %niter.next.1, %101 ], [ 0, %.preheader.us ]
  %74 = getelementptr inbounds [105 x i8], ptr @sy, i64 0, i64 %indvars.iv108
  %75 = load i8, ptr %74, align 2, !tbaa !18, !range !20, !noundef !21
  %76 = trunc nuw i8 %75 to i1
  br i1 %76, label %87, label %77

77:                                               ; preds = %.preheader.us.new
  %78 = load double, ptr %102, align 8, !tbaa !13
  %79 = getelementptr inbounds [105 x double], ptr @ly, i64 0, i64 %indvars.iv108
  %80 = load double, ptr %79, align 16, !tbaa !13
  %81 = fadd double %78, %80
  %82 = getelementptr inbounds [105 x [105 x double]], ptr @g, i64 0, i64 %indvars.iv111, i64 %indvars.iv108
  %83 = load double, ptr %82, align 8, !tbaa !13
  %84 = fsub double %81, %83
  %85 = fcmp ogt double %.182.us, %84
  br i1 %85, label %86, label %87

86:                                               ; preds = %77
  br label %87

87:                                               ; preds = %86, %77, %.preheader.us.new
  %.2.us = phi double [ %.182.us, %.preheader.us.new ], [ %84, %86 ], [ %.182.us, %77 ]
  %indvars.iv.next109 = or disjoint i64 %indvars.iv108, 1
  %88 = getelementptr inbounds [105 x i8], ptr @sy, i64 0, i64 %indvars.iv.next109
  %89 = load i8, ptr %88, align 1, !tbaa !18, !range !20, !noundef !21
  %90 = trunc nuw i8 %89 to i1
  br i1 %90, label %101, label %91

91:                                               ; preds = %87
  %92 = load double, ptr %102, align 8, !tbaa !13
  %93 = getelementptr inbounds [105 x double], ptr @ly, i64 0, i64 %indvars.iv.next109
  %94 = load double, ptr %93, align 8, !tbaa !13
  %95 = fadd double %92, %94
  %96 = getelementptr inbounds [105 x [105 x double]], ptr @g, i64 0, i64 %indvars.iv111, i64 %indvars.iv.next109
  %97 = load double, ptr %96, align 8, !tbaa !13
  %98 = fsub double %95, %97
  %99 = fcmp ogt double %.2.us, %98
  br i1 %99, label %100, label %101

100:                                              ; preds = %91
  br label %101

101:                                              ; preds = %100, %91, %87
  %.2.us.1 = phi double [ %.2.us, %87 ], [ %98, %100 ], [ %.2.us, %91 ]
  %indvars.iv.next109.1 = add nuw nsw i64 %indvars.iv108, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %..loopexit_crit_edge.us.loopexit.unr-lcssa, label %.preheader.us.new, !llvm.loop !23

.preheader.us:                                    ; preds = %.lr.ph87
  %102 = getelementptr inbounds [105 x double], ptr @lx, i64 0, i64 %indvars.iv111
  br i1 %57, label %..loopexit_crit_edge.us.loopexit.unr-lcssa, label %.preheader.us.new

.preheader65:                                     ; preds = %..loopexit_crit_edge.us
  br i1 %56, label %.lr.ph92.preheader, label %.loopexit66

.lr.ph92.preheader:                               ; preds = %.preheader65
  %wide.trip.count119 = zext nneg i32 %55 to i64
  br label %.lr.ph92

.lr.ph92:                                         ; preds = %.lr.ph92.preheader, %118
  %indvars.iv116 = phi i64 [ 0, %.lr.ph92.preheader ], [ %indvars.iv.next117, %118 ]
  %103 = getelementptr inbounds [105 x i8], ptr @sx, i64 0, i64 %indvars.iv116
  %104 = load i8, ptr %103, align 1, !tbaa !18, !range !20, !noundef !21
  %105 = trunc nuw i8 %104 to i1
  br i1 %105, label %106, label %110

106:                                              ; preds = %.lr.ph92
  %107 = getelementptr inbounds [105 x double], ptr @lx, i64 0, i64 %indvars.iv116
  %108 = load double, ptr %107, align 8, !tbaa !13
  %109 = fsub double %108, %.3.us
  store double %109, ptr %107, align 8, !tbaa !13
  br label %110

110:                                              ; preds = %106, %.lr.ph92
  %111 = getelementptr inbounds [105 x i8], ptr @sy, i64 0, i64 %indvars.iv116
  %112 = load i8, ptr %111, align 1, !tbaa !18, !range !20, !noundef !21
  %113 = trunc nuw i8 %112 to i1
  br i1 %113, label %114, label %118

114:                                              ; preds = %110
  %115 = getelementptr inbounds [105 x double], ptr @ly, i64 0, i64 %indvars.iv116
  %116 = load double, ptr %115, align 8, !tbaa !13
  %117 = fadd double %.3.us, %116
  store double %117, ptr %115, align 8, !tbaa !13
  br label %118

118:                                              ; preds = %110, %114
  %indvars.iv.next117 = add nuw nsw i64 %indvars.iv116, 1
  %exitcond120.not = icmp eq i64 %indvars.iv.next117, %wide.trip.count119
  br i1 %exitcond120.not, label %.loopexit66, label %.lr.ph92, !llvm.loop !24

._crit_edge93:                                    ; preds = %.loopexit66, %.preheader68
  %119 = add nuw nsw i32 %.05894, 1
  %120 = load i32, ptr @n, align 4, !tbaa !7
  %121 = icmp slt i32 %119, %120
  br i1 %121, label %.preheader68, label %.preheader69, !llvm.loop !25

.lr.ph96:                                         ; preds = %.preheader69, %.lr.ph96
  %indvars.iv121 = phi i64 [ %indvars.iv.next122, %.lr.ph96 ], [ 0, %.preheader69 ]
  %122 = getelementptr inbounds [105 x i32], ptr @match, i64 0, i64 %indvars.iv121
  %123 = load i32, ptr %122, align 4, !tbaa !7
  %124 = add nsw i32 %123, 1
  %125 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %124)
  %indvars.iv.next122 = add nuw nsw i64 %indvars.iv121, 1
  %126 = load i32, ptr @n, align 4, !tbaa !7
  %127 = sext i32 %126 to i64
  %128 = icmp slt i64 %indvars.iv.next122, %127
  br i1 %128, label %.lr.ph96, label %.loopexit70, !llvm.loop !26

._crit_edge97:                                    ; preds = %.loopexit70, %0
  ret i32 0
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef) local_unnamed_addr #4

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

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

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

!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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = distinct !{!11, !6}
!12 = distinct !{!12, !6}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !9, i64 0}
!15 = distinct !{!15, !6}
!16 = distinct !{!16, !6}
!17 = distinct !{!17, !6}
!18 = !{!19, !19, i64 0}
!19 = !{!"bool", !9, i64 0}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = distinct !{!22, !6}
!23 = distinct !{!23, !6}
!24 = distinct !{!24, !6}
!25 = distinct !{!25, !6}
!26 = distinct !{!26, !6}


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