; LLVM IR from VastoLorde95/Competitive-Programming :: CodeChef/SHORT/COOK73/Problem C (C)

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

@fa = external dso_local global [400010 x i64], align 16
@fi = external dso_local global [400010 x i64], align 16
@maxi = external dso_local global [20 x [400010 x i32]], align 16
@mini = external dso_local global [20 x [400010 x i32]], align 16
@.str = external hidden unnamed_addr constant [6 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [107 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [6 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z3fxpxx(i64 noundef, i64 noundef) #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z4qmaxii(i32 noundef, i32 noundef) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z4qminii(i32 noundef, i32 noundef) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #4 {
  %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 i64, align 8
  store i32 0, ptr %1, align 4
  store i64 1, ptr @fi, align 16, !tbaa !5
  store i64 1, ptr @fa, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  store i32 1, ptr %2, align 4, !tbaa !9
  br label %16

16:                                               ; preds = %41, %0
  %17 = load i32, ptr %2, align 4, !tbaa !9
  %18 = icmp slt i32 %17, 400010
  br i1 %18, label %20, label %19

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

20:                                               ; preds = %16
  %21 = load i32, ptr %2, align 4, !tbaa !9
  %22 = sub nsw i32 %21, 1
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds [400010 x i64], ptr @fa, i64 0, i64 %23
  %25 = load i64, ptr %24, align 8, !tbaa !5
  %26 = load i32, ptr %2, align 4, !tbaa !9
  %27 = sext i32 %26 to i64
  %28 = mul nsw i64 %25, %27
  %29 = srem i64 %28, 1000000007
  %30 = load i32, ptr %2, align 4, !tbaa !9
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [400010 x i64], ptr @fa, i64 0, i64 %31
  store i64 %29, ptr %32, align 8, !tbaa !5
  %33 = load i32, ptr %2, align 4, !tbaa !9
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [400010 x i64], ptr @fa, i64 0, i64 %34
  %36 = load i64, ptr %35, align 8, !tbaa !5
  %37 = call noundef i64 @_Z3fxpxx(i64 noundef %36, i64 noundef 1000000005)
  %38 = load i32, ptr %2, align 4, !tbaa !9
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [400010 x i64], ptr @fi, i64 0, i64 %39
  store i64 %37, ptr %40, align 8, !tbaa !5
  br label %41

41:                                               ; preds = %20
  %42 = load i32, ptr %2, align 4, !tbaa !9
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr %2, align 4, !tbaa !9
  br label %16, !llvm.loop !11

44:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  %45 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4)
  %46 = load i32, ptr %4, align 4, !tbaa !9
  %47 = icmp sle i32 1, %46
  br i1 %47, label %48, label %52

48:                                               ; preds = %44
  %49 = load i32, ptr %4, align 4, !tbaa !9
  %50 = sitofp i32 %49 to double
  %51 = fcmp ole double %50, 1.000000e+05
  br label %52

52:                                               ; preds = %48, %44
  %53 = phi i1 [ false, %44 ], [ %51, %48 ]
  br i1 %53, label %54, label %55

54:                                               ; preds = %52
  br label %57

55:                                               ; preds = %52
  call void @__assert_fail(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 35, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

56:                                               ; No predecessors!
  br label %57

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

58:                                               ; preds = %96, %57
  %59 = load i32, ptr %7, align 4, !tbaa !9
  %60 = load i32, ptr %3, align 4, !tbaa !9
  %61 = icmp slt i32 %59, %60
  br i1 %61, label %63, label %62

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

63:                                               ; preds = %58
  %64 = load i32, ptr %7, align 4, !tbaa !9
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [400010 x i32], ptr @maxi, i64 0, i64 %65
  %67 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.3, ptr noundef %66)
  %68 = load i32, ptr %7, align 4, !tbaa !9
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [400010 x i32], ptr @maxi, i64 0, i64 %69
  %71 = load i32, ptr %70, align 4, !tbaa !9
  %72 = srem i32 %71, 2
  %73 = icmp eq i32 %72, 0
  br i1 %73, label %74, label %75

74:                                               ; preds = %63
  br label %77

75:                                               ; preds = %63
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.2, i32 noundef 38, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

76:                                               ; No predecessors!
  br label %77

77:                                               ; preds = %76, %74
  %78 = load i32, ptr %7, align 4, !tbaa !9
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds [400010 x i32], ptr @maxi, i64 0, i64 %79
  %81 = load i32, ptr %80, align 4, !tbaa !9
  %82 = icmp sle i32 0, %81
  br i1 %82, label %83, label %90

83:                                               ; preds = %77
  %84 = load i32, ptr %7, align 4, !tbaa !9
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [400010 x i32], ptr @maxi, i64 0, i64 %85
  %87 = load i32, ptr %86, align 4, !tbaa !9
  %88 = sitofp i32 %87 to double
  %89 = fcmp ole double %88, 2.000000e+05
  br label %90

90:                                               ; preds = %83, %77
  %91 = phi i1 [ false, %77 ], [ %89, %83 ]
  br i1 %91, label %92, label %93

92:                                               ; preds = %90
  br label %95

93:                                               ; preds = %90
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.2, i32 noundef 39, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

94:                                               ; No predecessors!
  br label %95

95:                                               ; preds = %94, %92
  br label %96

96:                                               ; preds = %95
  %97 = load i32, ptr %7, align 4, !tbaa !9
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr %7, align 4, !tbaa !9
  br label %58, !llvm.loop !13

99:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %100

100:                                              ; preds = %128, %99
  %101 = load i32, ptr %8, align 4, !tbaa !9
  %102 = load i32, ptr %3, align 4, !tbaa !9
  %103 = icmp slt i32 %101, %102
  br i1 %103, label %105, label %104

104:                                              ; preds = %100
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %131

105:                                              ; preds = %100
  %106 = load i32, ptr %8, align 4, !tbaa !9
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds [400010 x i32], ptr @mini, i64 0, i64 %107
  %109 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.3, ptr noundef %108)
  %110 = load i32, ptr %8, align 4, !tbaa !9
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [400010 x i32], ptr @mini, i64 0, i64 %111
  %113 = load i32, ptr %112, align 4, !tbaa !9
  %114 = icmp sle i32 0, %113
  br i1 %114, label %115, label %122

115:                                              ; preds = %105
  %116 = load i32, ptr %8, align 4, !tbaa !9
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds [400010 x i32], ptr @mini, i64 0, i64 %117
  %119 = load i32, ptr %118, align 4, !tbaa !9
  %120 = sitofp i32 %119 to double
  %121 = fcmp ole double %120, 2.000000e+05
  br label %122

122:                                              ; preds = %115, %105
  %123 = phi i1 [ false, %105 ], [ %121, %115 ]
  br i1 %123, label %124, label %125

124:                                              ; preds = %122
  br label %127

125:                                              ; preds = %122
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.2, i32 noundef 43, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

126:                                              ; No predecessors!
  br label %127

127:                                              ; preds = %126, %124
  br label %128

128:                                              ; preds = %127
  %129 = load i32, ptr %8, align 4, !tbaa !9
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr %8, align 4, !tbaa !9
  br label %100, !llvm.loop !14

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

132:                                              ; preds = %229, %131
  %133 = load i32, ptr %9, align 4, !tbaa !9
  %134 = icmp slt i32 %133, 20
  br i1 %134, label %136, label %135

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

136:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %137

137:                                              ; preds = %225, %136
  %138 = load i32, ptr %11, align 4, !tbaa !9
  %139 = load i32, ptr %3, align 4, !tbaa !9
  %140 = icmp slt i32 %138, %139
  br i1 %140, label %142, label %141

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

142:                                              ; preds = %137
  %143 = load i32, ptr %9, align 4, !tbaa !9
  %144 = sub nsw i32 %143, 1
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds [20 x [400010 x i32]], ptr @maxi, i64 0, i64 %145
  %147 = load i32, ptr %11, align 4, !tbaa !9
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds [400010 x i32], ptr %146, i64 0, i64 %148
  %150 = load i32, ptr %149, align 4, !tbaa !9
  %151 = load i32, ptr %9, align 4, !tbaa !9
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds [20 x [400010 x i32]], ptr @maxi, i64 0, i64 %152
  %154 = load i32, ptr %11, align 4, !tbaa !9
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds [400010 x i32], ptr %153, i64 0, i64 %155
  store i32 %150, ptr %156, align 4, !tbaa !9
  %157 = load i32, ptr %9, align 4, !tbaa !9
  %158 = sub nsw i32 %157, 1
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds [20 x [400010 x i32]], ptr @mini, i64 0, i64 %159
  %161 = load i32, ptr %11, align 4, !tbaa !9
  %162 = sext i32 %161 to i64
  %163 = getelementptr inbounds [400010 x i32], ptr %160, i64 0, i64 %162
  %164 = load i32, ptr %163, align 4, !tbaa !9
  %165 = load i32, ptr %9, align 4, !tbaa !9
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds [20 x [400010 x i32]], ptr @mini, i64 0, i64 %166
  %168 = load i32, ptr %11, align 4, !tbaa !9
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds [400010 x i32], ptr %167, i64 0, i64 %169
  store i32 %164, ptr %170, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %171 = load i32, ptr %11, align 4, !tbaa !9
  %172 = load i32, ptr %9, align 4, !tbaa !9
  %173 = sub nsw i32 %172, 1
  %174 = shl i32 1, %173
  %175 = add nsw i32 %171, %174
  store i32 %175, ptr %12, align 4, !tbaa !9
  %176 = load i32, ptr %12, align 4, !tbaa !9
  %177 = load i32, ptr %3, align 4, !tbaa !9
  %178 = icmp slt i32 %176, %177
  br i1 %178, label %179, label %224

179:                                              ; preds = %142
  %180 = load i32, ptr %9, align 4, !tbaa !9
  %181 = sub nsw i32 %180, 1
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds [20 x [400010 x i32]], ptr @maxi, i64 0, i64 %182
  %184 = load i32, ptr %11, align 4, !tbaa !9
  %185 = sext i32 %184 to i64
  %186 = getelementptr inbounds [400010 x i32], ptr %183, i64 0, i64 %185
  %187 = load i32, ptr %9, align 4, !tbaa !9
  %188 = sub nsw i32 %187, 1
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds [20 x [400010 x i32]], ptr @maxi, i64 0, i64 %189
  %191 = load i32, ptr %12, align 4, !tbaa !9
  %192 = sext i32 %191 to i64
  %193 = getelementptr inbounds [400010 x i32], ptr %190, i64 0, i64 %192
  %194 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %186, ptr noundef nonnull align 4 dereferenceable(4) %193)
  %195 = load i32, ptr %194, align 4, !tbaa !9
  %196 = load i32, ptr %9, align 4, !tbaa !9
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds [20 x [400010 x i32]], ptr @maxi, i64 0, i64 %197
  %199 = load i32, ptr %11, align 4, !tbaa !9
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds [400010 x i32], ptr %198, i64 0, i64 %200
  store i32 %195, ptr %201, align 4, !tbaa !9
  %202 = load i32, ptr %9, align 4, !tbaa !9
  %203 = sub nsw i32 %202, 1
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds [20 x [400010 x i32]], ptr @mini, i64 0, i64 %204
  %206 = load i32, ptr %11, align 4, !tbaa !9
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds [400010 x i32], ptr %205, i64 0, i64 %207
  %209 = load i32, ptr %9, align 4, !tbaa !9
  %210 = sub nsw i32 %209, 1
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds [20 x [400010 x i32]], ptr @mini, i64 0, i64 %211
  %213 = load i32, ptr %12, align 4, !tbaa !9
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds [400010 x i32], ptr %212, i64 0, i64 %214
  %216 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %208, ptr noundef nonnull align 4 dereferenceable(4) %215)
  %217 = load i32, ptr %216, align 4, !tbaa !9
  %218 = load i32, ptr %9, align 4, !tbaa !9
  %219 = sext i32 %218 to i64
  %220 = getelementptr inbounds [20 x [400010 x i32]], ptr @mini, i64 0, i64 %219
  %221 = load i32, ptr %11, align 4, !tbaa !9
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds [400010 x i32], ptr %220, i64 0, i64 %222
  store i32 %217, ptr %223, align 4, !tbaa !9
  br label %224

224:                                              ; preds = %179, %142
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %225

225:                                              ; preds = %224
  %226 = load i32, ptr %11, align 4, !tbaa !9
  %227 = add nsw i32 %226, 1
  store i32 %227, ptr %11, align 4, !tbaa !9
  br label %137, !llvm.loop !15

228:                                              ; preds = %141
  br label %229

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

232:                                              ; preds = %135
  br label %233

233:                                              ; preds = %303, %301, %232
  %234 = load i32, ptr %4, align 4, !tbaa !9
  %235 = add nsw i32 %234, -1
  store i32 %235, ptr %4, align 4, !tbaa !9
  %236 = icmp ne i32 %234, 0
  br i1 %236, label %237, label %304

237:                                              ; preds = %233
  %238 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %5, ptr noundef %6)
  %239 = load i32, ptr %5, align 4, !tbaa !9
  %240 = icmp sle i32 1, %239
  br i1 %240, label %241, label %253

241:                                              ; preds = %237
  %242 = load i32, ptr %5, align 4, !tbaa !9
  %243 = load i32, ptr %3, align 4, !tbaa !9
  %244 = icmp sle i32 %242, %243
  br i1 %244, label %245, label %253

245:                                              ; preds = %241
  %246 = load i32, ptr %5, align 4, !tbaa !9
  %247 = load i32, ptr %6, align 4, !tbaa !9
  %248 = icmp sle i32 %246, %247
  br i1 %248, label %249, label %253

249:                                              ; preds = %245
  %250 = load i32, ptr %6, align 4, !tbaa !9
  %251 = load i32, ptr %3, align 4, !tbaa !9
  %252 = icmp sle i32 %250, %251
  br label %253

253:                                              ; preds = %249, %245, %241, %237
  %254 = phi i1 [ false, %245 ], [ false, %241 ], [ false, %237 ], [ %252, %249 ]
  br i1 %254, label %255, label %256

255:                                              ; preds = %253
  br label %258

256:                                              ; preds = %253
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.2, i32 noundef 58, ptr noundef @__PRETTY_FUNCTION__.main) #8
  unreachable

257:                                              ; No predecessors!
  br label %258

258:                                              ; preds = %257, %255
  %259 = load i32, ptr %5, align 4, !tbaa !9
  %260 = add nsw i32 %259, -1
  store i32 %260, ptr %5, align 4, !tbaa !9
  %261 = load i32, ptr %6, align 4, !tbaa !9
  %262 = add nsw i32 %261, -1
  store i32 %262, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  %263 = load i32, ptr %5, align 4, !tbaa !9
  %264 = load i32, ptr %6, align 4, !tbaa !9
  %265 = call noundef i32 @_Z4qmaxii(i32 noundef %263, i32 noundef %264)
  %266 = sdiv i32 %265, 2
  store i32 %266, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  %267 = load i32, ptr %5, align 4, !tbaa !9
  %268 = load i32, ptr %6, align 4, !tbaa !9
  %269 = call noundef i32 @_Z4qminii(i32 noundef %267, i32 noundef %268)
  store i32 %269, ptr %14, align 4, !tbaa !9
  %270 = load i32, ptr %14, align 4, !tbaa !9
  %271 = load i32, ptr %13, align 4, !tbaa !9
  %272 = icmp sgt i32 %270, %271
  br i1 %272, label %273, label %275

273:                                              ; preds = %258
  %274 = call i32 @puts(ptr noundef @.str.8)
  store i32 17, ptr %10, align 4
  br label %301, !llvm.loop !17

275:                                              ; preds = %258
  %276 = load i32, ptr %14, align 4, !tbaa !9
  %277 = add nsw i32 %276, -1
  store i32 %277, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %278 = load i32, ptr %13, align 4, !tbaa !9
  %279 = load i32, ptr %13, align 4, !tbaa !9
  %280 = add nsw i32 %278, %279
  %281 = load i32, ptr %14, align 4, !tbaa !9
  %282 = sub nsw i32 %280, %281
  %283 = sub nsw i32 %282, 2
  %284 = load i32, ptr %13, align 4, !tbaa !9
  %285 = load i32, ptr %14, align 4, !tbaa !9
  %286 = sub nsw i32 %284, %285
  %287 = sub nsw i32 %286, 1
  %288 = call noundef i64 @_Z3cmbii(i32 noundef %283, i32 noundef %287)
  %289 = load i32, ptr %14, align 4, !tbaa !9
  %290 = add nsw i32 %289, 1
  %291 = sext i32 %290 to i64
  %292 = mul nsw i64 %288, %291
  %293 = srem i64 %292, 1000000007
  %294 = load i32, ptr %13, align 4, !tbaa !9
  %295 = sext i32 %294 to i64
  %296 = call noundef i64 @_Z3fxpxx(i64 noundef %295, i64 noundef 1000000005)
  %297 = mul nsw i64 %293, %296
  %298 = srem i64 %297, 1000000007
  store i64 %298, ptr %15, align 8, !tbaa !5
  %299 = load i64, ptr %15, align 8, !tbaa !5
  %300 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef %299)
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  store i32 0, ptr %10, align 4
  br label %301

301:                                              ; preds = %275, %273
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  %302 = load i32, ptr %10, align 4
  switch i32 %302, label %306 [
    i32 0, label %303
    i32 17, label %233
  ]

303:                                              ; preds = %301
  br label %233, !llvm.loop !17

304:                                              ; preds = %233
  store i32 0, ptr %1, align 4
  store i32 1, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  %305 = load i32, ptr %1, align 4
  ret i32 %305

306:                                              ; preds = %301
  unreachable
}

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #6

declare i32 @puts(ptr noundef) #5

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

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { 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 #5 = { "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 = { noreturn 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 #7 = { nounwind }
attributes #8 = { noreturn 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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}


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

@fa = external dso_local local_unnamed_addr global [400010 x i64], align 16
@fi = external dso_local local_unnamed_addr global [400010 x i64], align 16
@maxi = external dso_local global [20 x [400010 x i32]], align 16
@mini = external dso_local global [20 x [400010 x i32]], align 16
@.str = external hidden unnamed_addr constant [6 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [107 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [11 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [6 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z3fxpxx(i64 noundef, i64 noundef) local_unnamed_addr #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z4qmaxii(i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z4qminii(i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #4 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  store i64 1, ptr @fi, align 16, !tbaa !5
  store i64 1, ptr @fa, align 16, !tbaa !5
  br label %12

5:                                                ; preds = %12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  %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
  %8 = add i32 %7, -1
  %9 = icmp ult i32 %8, 100000
  br i1 %9, label %.preheader82, label %21

.preheader82:                                     ; preds = %5
  %10 = load i32, ptr %1, align 4, !tbaa !9
  %11 = icmp sgt i32 %10, 0
  br i1 %11, label %.lr.ph, label %.preheader

12:                                               ; preds = %0, %12
  %indvars.iv = phi i64 [ 1, %0 ], [ %indvars.iv.next, %12 ]
  %13 = add nsw i64 %indvars.iv, -1
  %14 = getelementptr inbounds [400010 x i64], ptr @fa, i64 0, i64 %13
  %15 = load i64, ptr %14, align 8, !tbaa !5
  %16 = mul nsw i64 %15, %indvars.iv
  %17 = srem i64 %16, 1000000007
  %18 = getelementptr inbounds [400010 x i64], ptr @fa, i64 0, i64 %indvars.iv
  store i64 %17, ptr %18, align 8, !tbaa !5
  %19 = tail call noundef i64 @_Z3fxpxx(i64 noundef %17, i64 noundef 1000000005)
  %20 = getelementptr inbounds [400010 x i64], ptr @fi, i64 0, i64 %indvars.iv
  store i64 %19, ptr %20, align 8, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 400010
  br i1 %exitcond.not, label %5, label %12, !llvm.loop !11

21:                                               ; preds = %5
  call void @__assert_fail(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 35, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #8
  unreachable

22:                                               ; preds = %33
  %indvars.iv.next96 = add nuw nsw i64 %indvars.iv95, 1
  %23 = load i32, ptr %1, align 4, !tbaa !9
  %24 = sext i32 %23 to i64
  %25 = icmp slt i64 %indvars.iv.next96, %24
  br i1 %25, label %.lr.ph, label %.preheader81, !llvm.loop !13

.preheader81:                                     ; preds = %22
  %26 = icmp sgt i32 %23, 0
  br i1 %26, label %.lr.ph86, label %.preheader

.lr.ph:                                           ; preds = %.preheader82, %22
  %indvars.iv95 = phi i64 [ %indvars.iv.next96, %22 ], [ 0, %.preheader82 ]
  %27 = getelementptr inbounds [400010 x i32], ptr @maxi, i64 0, i64 %indvars.iv95
  %28 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.3, ptr noundef nonnull %27)
  %29 = load i32, ptr %27, align 4, !tbaa !9
  %30 = and i32 %29, 1
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %33, label %32

32:                                               ; preds = %.lr.ph
  call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.2, i32 noundef 38, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #8
  unreachable

33:                                               ; preds = %.lr.ph
  %34 = icmp ult i32 %29, 200001
  br i1 %34, label %22, label %.critedge

.critedge:                                        ; preds = %33
  call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.2, i32 noundef 39, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #8
  unreachable

35:                                               ; preds = %.lr.ph86
  %indvars.iv.next99 = add nuw nsw i64 %indvars.iv98, 1
  %36 = load i32, ptr %1, align 4, !tbaa !9
  %37 = sext i32 %36 to i64
  %38 = icmp slt i64 %indvars.iv.next99, %37
  br i1 %38, label %.lr.ph86, label %.preheader80, !llvm.loop !14

.preheader80:                                     ; preds = %35
  %39 = icmp sgt i32 %36, 0
  br i1 %39, label %.preheader79, label %.preheader

.lr.ph86:                                         ; preds = %.preheader81, %35
  %indvars.iv98 = phi i64 [ %indvars.iv.next99, %35 ], [ 0, %.preheader81 ]
  %40 = getelementptr inbounds [400010 x i32], ptr @mini, i64 0, i64 %indvars.iv98
  %41 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.3, ptr noundef nonnull %40)
  %42 = load i32, ptr %40, align 4, !tbaa !9
  %43 = icmp ult i32 %42, 200001
  br i1 %43, label %35, label %.critedge2

.critedge2:                                       ; preds = %.lr.ph86
  call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.2, i32 noundef 43, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #8
  unreachable

.preheader79:                                     ; preds = %.preheader80, %._crit_edge
  %44 = phi i32 [ %53, %._crit_edge ], [ %36, %.preheader80 ]
  %45 = phi i32 [ %54, %._crit_edge ], [ %36, %.preheader80 ]
  %indvars.iv104 = phi i64 [ %indvars.iv.next105, %._crit_edge ], [ 1, %.preheader80 ]
  %46 = icmp sgt i32 %45, 0
  br i1 %46, label %.lr.ph88, label %._crit_edge

.lr.ph88:                                         ; preds = %.preheader79
  %47 = add nsw i64 %indvars.iv104, -1
  %48 = trunc nuw nsw i64 %47 to i32
  %49 = shl nuw nsw i32 1, %48
  %50 = zext nneg i32 %49 to i64
  br label %55

.preheader:                                       ; preds = %._crit_edge, %.preheader82, %.preheader81, %.preheader80
  %51 = load i32, ptr %2, align 4, !tbaa !9
  %52 = add nsw i32 %51, -1
  store i32 %52, ptr %2, align 4, !tbaa !9
  %.not90 = icmp eq i32 %51, 0
  br i1 %.not90, label %._crit_edge92, label %.lr.ph91

._crit_edge:                                      ; preds = %74, %.preheader79
  %53 = phi i32 [ %44, %.preheader79 ], [ %75, %74 ]
  %54 = phi i32 [ %45, %.preheader79 ], [ %75, %74 ]
  %indvars.iv.next105 = add nuw nsw i64 %indvars.iv104, 1
  %exitcond107.not = icmp eq i64 %indvars.iv.next105, 20
  br i1 %exitcond107.not, label %.preheader, label %.preheader79, !llvm.loop !15

55:                                               ; preds = %.lr.ph88, %74
  %56 = phi i32 [ %44, %.lr.ph88 ], [ %75, %74 ]
  %indvars.iv101 = phi i64 [ 0, %.lr.ph88 ], [ %indvars.iv.next102, %74 ]
  %57 = phi i32 [ %45, %.lr.ph88 ], [ %75, %74 ]
  %58 = getelementptr inbounds [20 x [400010 x i32]], ptr @maxi, i64 0, i64 %47, i64 %indvars.iv101
  %59 = load i32, ptr %58, align 4, !tbaa !9
  %60 = getelementptr inbounds [20 x [400010 x i32]], ptr @maxi, i64 0, i64 %indvars.iv104, i64 %indvars.iv101
  store i32 %59, ptr %60, align 4, !tbaa !9
  %61 = getelementptr inbounds [20 x [400010 x i32]], ptr @mini, i64 0, i64 %47, i64 %indvars.iv101
  %62 = load i32, ptr %61, align 4, !tbaa !9
  %63 = getelementptr inbounds [20 x [400010 x i32]], ptr @mini, i64 0, i64 %indvars.iv104, i64 %indvars.iv101
  store i32 %62, ptr %63, align 4, !tbaa !9
  %64 = add nuw nsw i64 %indvars.iv101, %50
  %65 = sext i32 %57 to i64
  %66 = icmp slt i64 %64, %65
  br i1 %66, label %67, label %74

67:                                               ; preds = %55
  %68 = getelementptr inbounds [20 x [400010 x i32]], ptr @maxi, i64 0, i64 %47, i64 %64
  %69 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %58, ptr noundef nonnull align 4 dereferenceable(4) %68)
  %70 = load i32, ptr %69, align 4, !tbaa !9
  store i32 %70, ptr %60, align 4, !tbaa !9
  %71 = getelementptr inbounds [20 x [400010 x i32]], ptr @mini, i64 0, i64 %47, i64 %64
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %61, ptr noundef nonnull align 4 dereferenceable(4) %71)
  %73 = load i32, ptr %72, align 4, !tbaa !9
  store i32 %73, ptr %63, align 4, !tbaa !9
  %.pre = load i32, ptr %1, align 4, !tbaa !9
  br label %74

74:                                               ; preds = %67, %55
  %75 = phi i32 [ %.pre, %67 ], [ %56, %55 ]
  %indvars.iv.next102 = add nuw nsw i64 %indvars.iv101, 1
  %76 = sext i32 %75 to i64
  %77 = icmp slt i64 %indvars.iv.next102, %76
  br i1 %77, label %55, label %._crit_edge, !llvm.loop !17

.lr.ph91:                                         ; preds = %.preheader, %110
  %78 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %3, ptr noundef nonnull %4)
  %79 = load i32, ptr %3, align 4, !tbaa !9
  %80 = icmp sgt i32 %79, 0
  br i1 %80, label %81, label %.critedge4

81:                                               ; preds = %.lr.ph91
  %82 = load i32, ptr %1, align 4, !tbaa !9
  %.not73 = icmp sgt i32 %79, %82
  br i1 %.not73, label %.critedge4, label %83

83:                                               ; preds = %81
  %84 = load i32, ptr %4, align 4, !tbaa !9
  %.not74 = icmp sgt i32 %79, %84
  %.not75 = icmp sgt i32 %84, %82
  %or.cond77 = or i1 %.not74, %.not75
  br i1 %or.cond77, label %.critedge4, label %85

.critedge4:                                       ; preds = %83, %81, %.lr.ph91
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.2, i32 noundef 58, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #8
  unreachable

85:                                               ; preds = %83
  %86 = add nsw i32 %79, -1
  store i32 %86, ptr %3, align 4, !tbaa !9
  %87 = add nsw i32 %84, -1
  store i32 %87, ptr %4, align 4, !tbaa !9
  %88 = call noundef i32 @_Z4qmaxii(i32 noundef %86, i32 noundef %87)
  %89 = sdiv i32 %88, 2
  %90 = load i32, ptr %3, align 4, !tbaa !9
  %91 = load i32, ptr %4, align 4, !tbaa !9
  %92 = call noundef i32 @_Z4qminii(i32 noundef %90, i32 noundef %91)
  %93 = icmp sgt i32 %92, %89
  br i1 %93, label %94, label %96

94:                                               ; preds = %85
  %95 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.8)
  br label %110, !llvm.loop !18

96:                                               ; preds = %85
  %97 = shl nsw i32 %89, 1
  %98 = xor i32 %92, -1
  %99 = add i32 %97, %98
  %100 = sub i32 %89, %92
  %101 = call noundef i64 @_Z3cmbii(i32 noundef %99, i32 noundef %100)
  %102 = sext i32 %92 to i64
  %103 = mul nsw i64 %101, %102
  %104 = srem i64 %103, 1000000007
  %105 = sext i32 %89 to i64
  %106 = call noundef i64 @_Z3fxpxx(i64 noundef %105, i64 noundef 1000000005)
  %107 = mul nsw i64 %104, %106
  %108 = srem i64 %107, 1000000007
  %109 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef %108)
  br label %110

110:                                              ; preds = %96, %94
  %111 = load i32, ptr %2, align 4, !tbaa !9
  %112 = add nsw i32 %111, -1
  store i32 %112, ptr %2, align 4, !tbaa !9
  %.not = icmp eq i32 %111, 0
  br i1 %.not, label %._crit_edge92, label %.lr.ph91

._crit_edge92:                                    ; preds = %110, %.preheader
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  ret i32 0
}

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #6

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

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

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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { 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 #5 = { 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 #6 = { noreturn 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 #7 = { nounwind }
attributes #8 = { noreturn 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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12, !16}
!16 = !{!"llvm.loop.unswitch.partial.disable"}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}


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