; LLVM IR from QiaoLiuHit/LSOTB-TIR :: vlfeat-0.9.19/vl (covdet)

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

%union.anon = type { i64 }
%struct._VlCovDetExtremum2 = type { i64, i64, float, float, float, float }

@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [34 x i8], align 1
@vl_infinity_d = external hidden constant %union.anon, align 8
@__PRETTY_FUNCTION__.vl_refine_local_extreum_2 = external hidden unnamed_addr constant [108 x i8], align 1

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

; Function Attrs: nounwind
declare double @sqrt(double noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @vl_abs_d(double noundef) #4

; Function Attrs: nounwind uwtable
define dso_local i32 @vl_refine_local_extreum_2(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5) #5 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca [4 x double], align 16
  %21 = alloca [2 x double], align 16
  %22 = alloca ptr, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i32, align 4
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store i64 %2, ptr %9, align 8, !tbaa !9
  store i64 %3, ptr %10, align 8, !tbaa !9
  store i64 %4, ptr %11, align 8, !tbaa !9
  store i64 %5, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  store i64 1, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %30 = load i64, ptr %9, align 8, !tbaa !9
  store i64 %30, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  store double 0.000000e+00, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  store double 0.000000e+00, ptr %16, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  store double 0.000000e+00, ptr %17, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  store double 0.000000e+00, ptr %18, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  store double 0.000000e+00, ptr %19, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  store i64 0, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  store i64 0, ptr %24, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  %31 = load ptr, ptr %8, align 8, !tbaa !5
  %32 = icmp ne ptr %31, null
  br i1 %32, label %33, label %34

33:                                               ; preds = %6
  br label %35

34:                                               ; preds = %6
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1352, ptr noundef @__PRETTY_FUNCTION__.vl_refine_local_extreum_2) #8
  unreachable

35:                                               ; preds = %33
  %36 = load i64, ptr %11, align 8, !tbaa !9
  %37 = icmp sle i64 1, %36
  br i1 %37, label %38, label %46

38:                                               ; preds = %35
  %39 = load i64, ptr %11, align 8, !tbaa !9
  %40 = load i64, ptr %9, align 8, !tbaa !9
  %41 = trunc i64 %40 to i32
  %42 = sub nsw i32 %41, 2
  %43 = sext i32 %42 to i64
  %44 = icmp sle i64 %39, %43
  br i1 %44, label %45, label %46

45:                                               ; preds = %38
  br label %47

46:                                               ; preds = %38, %35
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 1353, ptr noundef @__PRETTY_FUNCTION__.vl_refine_local_extreum_2) #8
  unreachable

47:                                               ; preds = %45
  %48 = load i64, ptr %12, align 8, !tbaa !9
  %49 = icmp sle i64 1, %48
  br i1 %49, label %50, label %58

50:                                               ; preds = %47
  %51 = load i64, ptr %12, align 8, !tbaa !9
  %52 = load i64, ptr %10, align 8, !tbaa !9
  %53 = trunc i64 %52 to i32
  %54 = sub nsw i32 %53, 2
  %55 = sext i32 %54 to i64
  %56 = icmp sle i64 %51, %55
  br i1 %56, label %57, label %58

57:                                               ; preds = %50
  br label %59

58:                                               ; preds = %50, %47
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 1354, ptr noundef @__PRETTY_FUNCTION__.vl_refine_local_extreum_2) #8
  unreachable

59:                                               ; preds = %57
  store i64 0, ptr %25, align 8, !tbaa !9
  br label %60

60:                                               ; preds = %263, %59
  %61 = load i64, ptr %25, align 8, !tbaa !9
  %62 = icmp slt i64 %61, 5
  br i1 %62, label %63, label %266

63:                                               ; preds = %60
  %64 = load i64, ptr %23, align 8, !tbaa !9
  %65 = load i64, ptr %11, align 8, !tbaa !9
  %66 = add nsw i64 %65, %64
  store i64 %66, ptr %11, align 8, !tbaa !9
  %67 = load i64, ptr %24, align 8, !tbaa !9
  %68 = load i64, ptr %12, align 8, !tbaa !9
  %69 = add nsw i64 %68, %67
  store i64 %69, ptr %12, align 8, !tbaa !9
  %70 = load ptr, ptr %8, align 8, !tbaa !5
  %71 = load i64, ptr %11, align 8, !tbaa !9
  %72 = mul i64 %71, 1
  %73 = getelementptr inbounds float, ptr %70, i64 %72
  %74 = load i64, ptr %12, align 8, !tbaa !9
  %75 = load i64, ptr %14, align 8, !tbaa !9
  %76 = mul i64 %74, %75
  %77 = getelementptr inbounds float, ptr %73, i64 %76
  store ptr %77, ptr %22, align 8, !tbaa !5
  %78 = load ptr, ptr %22, align 8, !tbaa !5
  %79 = getelementptr inbounds float, ptr %78, i64 1
  %80 = load i64, ptr %14, align 8, !tbaa !9
  %81 = mul i64 0, %80
  %82 = getelementptr inbounds float, ptr %79, i64 %81
  %83 = load float, ptr %82, align 4, !tbaa !13
  %84 = load ptr, ptr %22, align 8, !tbaa !5
  %85 = getelementptr inbounds float, ptr %84, i64 -1
  %86 = load i64, ptr %14, align 8, !tbaa !9
  %87 = mul i64 0, %86
  %88 = getelementptr inbounds float, ptr %85, i64 %87
  %89 = load float, ptr %88, align 4, !tbaa !13
  %90 = fsub float %83, %89
  %91 = fpext float %90 to double
  %92 = fmul double 5.000000e-01, %91
  store double %92, ptr %15, align 8, !tbaa !11
  %93 = load ptr, ptr %22, align 8, !tbaa !5
  %94 = getelementptr inbounds float, ptr %93, i64 0
  %95 = load i64, ptr %14, align 8, !tbaa !9
  %96 = mul i64 1, %95
  %97 = getelementptr inbounds float, ptr %94, i64 %96
  %98 = load float, ptr %97, align 4, !tbaa !13
  %99 = load ptr, ptr %22, align 8, !tbaa !5
  %100 = getelementptr inbounds float, ptr %99, i64 0
  %101 = load i64, ptr %14, align 8, !tbaa !9
  %102 = mul i64 -1, %101
  %103 = getelementptr inbounds float, ptr %100, i64 %102
  %104 = load float, ptr %103, align 4, !tbaa !13
  %105 = fsub float %98, %104
  %106 = fpext float %105 to double
  %107 = fmul double 5.000000e-01, %106
  store double %107, ptr %16, align 8, !tbaa !11
  %108 = load ptr, ptr %22, align 8, !tbaa !5
  %109 = getelementptr inbounds float, ptr %108, i64 1
  %110 = load i64, ptr %14, align 8, !tbaa !9
  %111 = mul i64 0, %110
  %112 = getelementptr inbounds float, ptr %109, i64 %111
  %113 = load float, ptr %112, align 4, !tbaa !13
  %114 = load ptr, ptr %22, align 8, !tbaa !5
  %115 = getelementptr inbounds float, ptr %114, i64 -1
  %116 = load i64, ptr %14, align 8, !tbaa !9
  %117 = mul i64 0, %116
  %118 = getelementptr inbounds float, ptr %115, i64 %117
  %119 = load float, ptr %118, align 4, !tbaa !13
  %120 = fadd float %113, %119
  %121 = fpext float %120 to double
  %122 = load ptr, ptr %22, align 8, !tbaa !5
  %123 = getelementptr inbounds float, ptr %122, i64 0
  %124 = load i64, ptr %14, align 8, !tbaa !9
  %125 = mul i64 0, %124
  %126 = getelementptr inbounds float, ptr %123, i64 %125
  %127 = load float, ptr %126, align 4, !tbaa !13
  %128 = fpext float %127 to double
  %129 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %128, double %121)
  store double %129, ptr %17, align 8, !tbaa !11
  %130 = load ptr, ptr %22, align 8, !tbaa !5
  %131 = getelementptr inbounds float, ptr %130, i64 0
  %132 = load i64, ptr %14, align 8, !tbaa !9
  %133 = mul i64 1, %132
  %134 = getelementptr inbounds float, ptr %131, i64 %133
  %135 = load float, ptr %134, align 4, !tbaa !13
  %136 = load ptr, ptr %22, align 8, !tbaa !5
  %137 = getelementptr inbounds float, ptr %136, i64 0
  %138 = load i64, ptr %14, align 8, !tbaa !9
  %139 = mul i64 -1, %138
  %140 = getelementptr inbounds float, ptr %137, i64 %139
  %141 = load float, ptr %140, align 4, !tbaa !13
  %142 = fadd float %135, %141
  %143 = fpext float %142 to double
  %144 = load ptr, ptr %22, align 8, !tbaa !5
  %145 = getelementptr inbounds float, ptr %144, i64 0
  %146 = load i64, ptr %14, align 8, !tbaa !9
  %147 = mul i64 0, %146
  %148 = getelementptr inbounds float, ptr %145, i64 %147
  %149 = load float, ptr %148, align 4, !tbaa !13
  %150 = fpext float %149 to double
  %151 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %150, double %143)
  store double %151, ptr %18, align 8, !tbaa !11
  %152 = load ptr, ptr %22, align 8, !tbaa !5
  %153 = getelementptr inbounds float, ptr %152, i64 1
  %154 = load i64, ptr %14, align 8, !tbaa !9
  %155 = mul i64 1, %154
  %156 = getelementptr inbounds float, ptr %153, i64 %155
  %157 = load float, ptr %156, align 4, !tbaa !13
  %158 = load ptr, ptr %22, align 8, !tbaa !5
  %159 = getelementptr inbounds float, ptr %158, i64 -1
  %160 = load i64, ptr %14, align 8, !tbaa !9
  %161 = mul i64 -1, %160
  %162 = getelementptr inbounds float, ptr %159, i64 %161
  %163 = load float, ptr %162, align 4, !tbaa !13
  %164 = fadd float %157, %163
  %165 = load ptr, ptr %22, align 8, !tbaa !5
  %166 = getelementptr inbounds float, ptr %165, i64 -1
  %167 = load i64, ptr %14, align 8, !tbaa !9
  %168 = mul i64 1, %167
  %169 = getelementptr inbounds float, ptr %166, i64 %168
  %170 = load float, ptr %169, align 4, !tbaa !13
  %171 = fsub float %164, %170
  %172 = load ptr, ptr %22, align 8, !tbaa !5
  %173 = getelementptr inbounds float, ptr %172, i64 1
  %174 = load i64, ptr %14, align 8, !tbaa !9
  %175 = mul i64 -1, %174
  %176 = getelementptr inbounds float, ptr %173, i64 %175
  %177 = load float, ptr %176, align 4, !tbaa !13
  %178 = fsub float %171, %177
  %179 = fpext float %178 to double
  %180 = fmul double 2.500000e-01, %179
  store double %180, ptr %19, align 8, !tbaa !11
  %181 = load double, ptr %17, align 8, !tbaa !11
  %182 = getelementptr inbounds [4 x double], ptr %20, i64 0, i64 0
  store double %181, ptr %182, align 16, !tbaa !11
  %183 = load double, ptr %18, align 8, !tbaa !11
  %184 = getelementptr inbounds [4 x double], ptr %20, i64 0, i64 3
  store double %183, ptr %184, align 8, !tbaa !11
  %185 = load double, ptr %19, align 8, !tbaa !11
  %186 = getelementptr inbounds [4 x double], ptr %20, i64 0, i64 1
  store double %185, ptr %186, align 8, !tbaa !11
  %187 = getelementptr inbounds [4 x double], ptr %20, i64 0, i64 2
  store double %185, ptr %187, align 16, !tbaa !11
  %188 = load double, ptr %15, align 8, !tbaa !11
  %189 = fneg double %188
  %190 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 0
  store double %189, ptr %190, align 16, !tbaa !11
  %191 = load double, ptr %16, align 8, !tbaa !11
  %192 = fneg double %191
  %193 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 1
  store double %192, ptr %193, align 8, !tbaa !11
  %194 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 0
  %195 = getelementptr inbounds [4 x double], ptr %20, i64 0, i64 0
  %196 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 0
  %197 = call i32 @vl_solve_linear_system_2(ptr noundef %194, ptr noundef %195, ptr noundef %196)
  store i32 %197, ptr %26, align 4, !tbaa !15
  %198 = load i32, ptr %26, align 4, !tbaa !15
  %199 = icmp ne i32 %198, 0
  br i1 %199, label %200, label %203

200:                                              ; preds = %63
  %201 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 0
  store double 0.000000e+00, ptr %201, align 16, !tbaa !11
  %202 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 1
  store double 0.000000e+00, ptr %202, align 8, !tbaa !11
  br label %266

203:                                              ; preds = %63
  %204 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 0
  %205 = load double, ptr %204, align 16, !tbaa !11
  %206 = fcmp ogt double %205, 6.000000e-01
  br i1 %206, label %207, label %214

207:                                              ; preds = %203
  %208 = load i64, ptr %11, align 8, !tbaa !9
  %209 = load i64, ptr %9, align 8, !tbaa !9
  %210 = trunc i64 %209 to i32
  %211 = sub nsw i32 %210, 2
  %212 = sext i32 %211 to i64
  %213 = icmp slt i64 %208, %212
  br label %214

214:                                              ; preds = %207, %203
  %215 = phi i1 [ false, %203 ], [ %213, %207 ]
  %216 = zext i1 %215 to i64
  %217 = select i1 %215, i32 1, i32 0
  %218 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 0
  %219 = load double, ptr %218, align 16, !tbaa !11
  %220 = fcmp olt double %219, -6.000000e-01
  br i1 %220, label %221, label %224

221:                                              ; preds = %214
  %222 = load i64, ptr %11, align 8, !tbaa !9
  %223 = icmp sgt i64 %222, 1
  br label %224

224:                                              ; preds = %221, %214
  %225 = phi i1 [ false, %214 ], [ %223, %221 ]
  %226 = zext i1 %225 to i64
  %227 = select i1 %225, i32 -1, i32 0
  %228 = add nsw i32 %217, %227
  %229 = sext i32 %228 to i64
  store i64 %229, ptr %23, align 8, !tbaa !9
  %230 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 1
  %231 = load double, ptr %230, align 8, !tbaa !11
  %232 = fcmp ogt double %231, 6.000000e-01
  br i1 %232, label %233, label %240

233:                                              ; preds = %224
  %234 = load i64, ptr %12, align 8, !tbaa !9
  %235 = load i64, ptr %10, align 8, !tbaa !9
  %236 = trunc i64 %235 to i32
  %237 = sub nsw i32 %236, 2
  %238 = sext i32 %237 to i64
  %239 = icmp slt i64 %234, %238
  br label %240

240:                                              ; preds = %233, %224
  %241 = phi i1 [ false, %224 ], [ %239, %233 ]
  %242 = zext i1 %241 to i64
  %243 = select i1 %241, i32 1, i32 0
  %244 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 1
  %245 = load double, ptr %244, align 8, !tbaa !11
  %246 = fcmp olt double %245, -6.000000e-01
  br i1 %246, label %247, label %250

247:                                              ; preds = %240
  %248 = load i64, ptr %12, align 8, !tbaa !9
  %249 = icmp sgt i64 %248, 1
  br label %250

250:                                              ; preds = %247, %240
  %251 = phi i1 [ false, %240 ], [ %249, %247 ]
  %252 = zext i1 %251 to i64
  %253 = select i1 %251, i32 -1, i32 0
  %254 = add nsw i32 %243, %253
  %255 = sext i32 %254 to i64
  store i64 %255, ptr %24, align 8, !tbaa !9
  %256 = load i64, ptr %23, align 8, !tbaa !9
  %257 = icmp eq i64 %256, 0
  br i1 %257, label %258, label %262

258:                                              ; preds = %250
  %259 = load i64, ptr %24, align 8, !tbaa !9
  %260 = icmp eq i64 %259, 0
  br i1 %260, label %261, label %262

261:                                              ; preds = %258
  br label %266

262:                                              ; preds = %258, %250
  br label %263

263:                                              ; preds = %262
  %264 = load i64, ptr %25, align 8, !tbaa !9
  %265 = add nsw i64 %264, 1
  store i64 %265, ptr %25, align 8, !tbaa !9
  br label %60, !llvm.loop !17

266:                                              ; preds = %261, %200, %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  %267 = load ptr, ptr %22, align 8, !tbaa !5
  %268 = getelementptr inbounds float, ptr %267, i64 0
  %269 = load i64, ptr %14, align 8, !tbaa !9
  %270 = mul i64 0, %269
  %271 = getelementptr inbounds float, ptr %268, i64 %270
  %272 = load float, ptr %271, align 4, !tbaa !13
  %273 = fpext float %272 to double
  %274 = load double, ptr %15, align 8, !tbaa !11
  %275 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 0
  %276 = load double, ptr %275, align 16, !tbaa !11
  %277 = load double, ptr %16, align 8, !tbaa !11
  %278 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 1
  %279 = load double, ptr %278, align 8, !tbaa !11
  %280 = fmul double %277, %279
  %281 = call double @llvm.fmuladd.f64(double %274, double %276, double %280)
  %282 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %281, double %273)
  store double %282, ptr %27, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %283 = load double, ptr %17, align 8, !tbaa !11
  %284 = load double, ptr %18, align 8, !tbaa !11
  %285 = fadd double %283, %284
  %286 = load double, ptr %17, align 8, !tbaa !11
  %287 = load double, ptr %18, align 8, !tbaa !11
  %288 = fadd double %286, %287
  %289 = fmul double %285, %288
  %290 = load double, ptr %17, align 8, !tbaa !11
  %291 = load double, ptr %18, align 8, !tbaa !11
  %292 = load double, ptr %19, align 8, !tbaa !11
  %293 = load double, ptr %19, align 8, !tbaa !11
  %294 = fmul double %292, %293
  %295 = fneg double %294
  %296 = call double @llvm.fmuladd.f64(double %290, double %291, double %295)
  %297 = fdiv double %289, %296
  store double %297, ptr %28, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %298 = load double, ptr %28, align 8, !tbaa !11
  %299 = fcmp olt double %298, 0.000000e+00
  br i1 %299, label %300, label %302

300:                                              ; preds = %266
  %301 = load double, ptr @vl_infinity_d, align 8, !tbaa !19
  store double %301, ptr %29, align 8, !tbaa !11
  br label %318

302:                                              ; preds = %266
  %303 = load double, ptr %28, align 8, !tbaa !11
  %304 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %303, double -1.000000e+00)
  %305 = load double, ptr %28, align 8, !tbaa !11
  %306 = call double @llvm.fmuladd.f64(double 2.500000e-01, double %305, double -1.000000e+00)
  %307 = fcmp ogt double %306, 0.000000e+00
  br i1 %307, label %308, label %311

308:                                              ; preds = %302
  %309 = load double, ptr %28, align 8, !tbaa !11
  %310 = call double @llvm.fmuladd.f64(double 2.500000e-01, double %309, double -1.000000e+00)
  br label %312

311:                                              ; preds = %302
  br label %312

312:                                              ; preds = %311, %308
  %313 = phi double [ %310, %308 ], [ 0.000000e+00, %311 ]
  %314 = load double, ptr %28, align 8, !tbaa !11
  %315 = fmul double %313, %314
  %316 = call double @sqrt(double noundef %315) #7
  %317 = fadd double %304, %316
  store double %317, ptr %29, align 8, !tbaa !11
  br label %318

318:                                              ; preds = %312, %300
  %319 = load i64, ptr %11, align 8, !tbaa !9
  %320 = load ptr, ptr %7, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct._VlCovDetExtremum2, ptr %320, i32 0, i32 0
  store i64 %319, ptr %321, align 8, !tbaa !20
  %322 = load i64, ptr %12, align 8, !tbaa !9
  %323 = load ptr, ptr %7, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct._VlCovDetExtremum2, ptr %323, i32 0, i32 1
  store i64 %322, ptr %324, align 8, !tbaa !22
  %325 = load i64, ptr %11, align 8, !tbaa !9
  %326 = sitofp i64 %325 to double
  %327 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 0
  %328 = load double, ptr %327, align 16, !tbaa !11
  %329 = fadd double %326, %328
  %330 = fptrunc double %329 to float
  %331 = load ptr, ptr %7, align 8, !tbaa !5
  %332 = getelementptr inbounds %struct._VlCovDetExtremum2, ptr %331, i32 0, i32 2
  store float %330, ptr %332, align 8, !tbaa !23
  %333 = load i64, ptr %12, align 8, !tbaa !9
  %334 = sitofp i64 %333 to double
  %335 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 1
  %336 = load double, ptr %335, align 8, !tbaa !11
  %337 = fadd double %334, %336
  %338 = fptrunc double %337 to float
  %339 = load ptr, ptr %7, align 8, !tbaa !5
  %340 = getelementptr inbounds %struct._VlCovDetExtremum2, ptr %339, i32 0, i32 3
  store float %338, ptr %340, align 4, !tbaa !24
  %341 = load double, ptr %27, align 8, !tbaa !11
  %342 = fptrunc double %341 to float
  %343 = load ptr, ptr %7, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct._VlCovDetExtremum2, ptr %343, i32 0, i32 4
  store float %342, ptr %344, align 8, !tbaa !25
  %345 = load double, ptr %29, align 8, !tbaa !11
  %346 = fptrunc double %345 to float
  %347 = load ptr, ptr %7, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct._VlCovDetExtremum2, ptr %347, i32 0, i32 5
  store float %346, ptr %348, align 4, !tbaa !26
  %349 = load i32, ptr %26, align 4, !tbaa !15
  %350 = icmp eq i32 %349, 0
  br i1 %350, label %351, label %389

351:                                              ; preds = %318
  %352 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 0
  %353 = load double, ptr %352, align 16, !tbaa !11
  %354 = call double @vl_abs_d(double noundef %353)
  %355 = fcmp olt double %354, 1.500000e+00
  br i1 %355, label %356, label %389

356:                                              ; preds = %351
  %357 = getelementptr inbounds [2 x double], ptr %21, i64 0, i64 1
  %358 = load double, ptr %357, align 8, !tbaa !11
  %359 = call double @vl_abs_d(double noundef %358)
  %360 = fcmp olt double %359, 1.500000e+00
  br i1 %360, label %361, label %389

361:                                              ; preds = %356
  %362 = load ptr, ptr %7, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct._VlCovDetExtremum2, ptr %362, i32 0, i32 2
  %364 = load float, ptr %363, align 8, !tbaa !23
  %365 = fcmp ole float 0.000000e+00, %364
  br i1 %365, label %366, label %389

366:                                              ; preds = %361
  %367 = load ptr, ptr %7, align 8, !tbaa !5
  %368 = getelementptr inbounds %struct._VlCovDetExtremum2, ptr %367, i32 0, i32 2
  %369 = load float, ptr %368, align 8, !tbaa !23
  %370 = load i64, ptr %9, align 8, !tbaa !9
  %371 = trunc i64 %370 to i32
  %372 = sub nsw i32 %371, 1
  %373 = sitofp i32 %372 to float
  %374 = fcmp ole float %369, %373
  br i1 %374, label %375, label %389

375:                                              ; preds = %366
  %376 = load ptr, ptr %7, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct._VlCovDetExtremum2, ptr %376, i32 0, i32 3
  %378 = load float, ptr %377, align 4, !tbaa !24
  %379 = fcmp ole float 0.000000e+00, %378
  br i1 %379, label %380, label %389

380:                                              ; preds = %375
  %381 = load ptr, ptr %7, align 8, !tbaa !5
  %382 = getelementptr inbounds %struct._VlCovDetExtremum2, ptr %381, i32 0, i32 3
  %383 = load float, ptr %382, align 4, !tbaa !24
  %384 = load i64, ptr %10, align 8, !tbaa !9
  %385 = trunc i64 %384 to i32
  %386 = sub nsw i32 %385, 1
  %387 = sitofp i32 %386 to float
  %388 = fcmp ole float %383, %387
  br label %389

389:                                              ; preds = %380, %375, %366, %361, %356, %351, %318
  %390 = phi i1 [ false, %375 ], [ false, %366 ], [ false, %361 ], [ false, %356 ], [ false, %351 ], [ false, %318 ], [ %388, %380 ]
  %391 = zext i1 %390 to i32
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  ret i32 %391
}

declare i32 @vl_solve_linear_system_2(ptr noundef, ptr noundef, ptr noundef) #6

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 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 = { 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 = { "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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!7, !7, i64 0}
!20 = !{!21, !10, i64 0}
!21 = !{!"_VlCovDetExtremum2", !10, i64 0, !10, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28}
!22 = !{!21, !10, i64 8}
!23 = !{!21, !14, i64 16}
!24 = !{!21, !14, i64 20}
!25 = !{!21, !14, i64 24}
!26 = !{!21, !14, i64 28}


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

%union.anon = type { i64 }

@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [34 x i8], align 1
@vl_infinity_d = external hidden local_unnamed_addr constant %union.anon, align 8
@__PRETTY_FUNCTION__.vl_refine_local_extreum_2 = external hidden unnamed_addr constant [108 x i8], align 1

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

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @vl_abs_d(double noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @vl_refine_local_extreum_2(ptr nocapture noundef %0, ptr noundef readonly %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5) local_unnamed_addr #5 {
  %7 = alloca [4 x double], align 16
  %8 = alloca [2 x double], align 16
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #8
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %9, label %10

9:                                                ; preds = %6
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 1352, ptr noundef nonnull @__PRETTY_FUNCTION__.vl_refine_local_extreum_2) #9
  unreachable

10:                                               ; preds = %6
  %11 = icmp sgt i64 %4, 0
  br i1 %11, label %12, label %16

12:                                               ; preds = %10
  %13 = trunc i64 %2 to i32
  %14 = shl i64 %2, 32
  %sext = add i64 %14, -8589934592
  %15 = ashr exact i64 %sext, 32
  %.not126 = icmp slt i64 %15, %4
  br i1 %.not126, label %16, label %17

16:                                               ; preds = %12, %10
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 1353, ptr noundef nonnull @__PRETTY_FUNCTION__.vl_refine_local_extreum_2) #9
  unreachable

17:                                               ; preds = %12
  %18 = icmp sgt i64 %5, 0
  br i1 %18, label %19, label %28

19:                                               ; preds = %17
  %20 = trunc i64 %3 to i32
  %21 = shl i64 %3, 32
  %sext127 = add i64 %21, -8589934592
  %22 = ashr exact i64 %sext127, 32
  %.not128 = icmp slt i64 %22, %5
  br i1 %.not128, label %28, label %.preheader

.preheader:                                       ; preds = %19
  %23 = sub i64 0, %2
  %24 = getelementptr inbounds i8, ptr %7, i64 24
  %25 = getelementptr inbounds i8, ptr %7, i64 8
  %26 = getelementptr inbounds i8, ptr %7, i64 16
  %27 = getelementptr inbounds i8, ptr %8, i64 8
  br label %29

28:                                               ; preds = %19, %17
  tail call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 1354, ptr noundef nonnull @__PRETTY_FUNCTION__.vl_refine_local_extreum_2) #9
  unreachable

29:                                               ; preds = %74, %.preheader
  %.096142 = phi i64 [ %4, %.preheader ], [ %30, %74 ]
  %.097141 = phi i64 [ %5, %.preheader ], [ %31, %74 ]
  %.0101140 = phi i64 [ 0, %.preheader ], [ %97, %74 ]
  %.0102139 = phi i64 [ 0, %.preheader ], [ %94, %74 ]
  %.0103138 = phi i64 [ 0, %.preheader ], [ %84, %74 ]
  %30 = add nsw i64 %.096142, %.0103138
  %31 = add nsw i64 %.097141, %.0102139
  %32 = getelementptr inbounds float, ptr %1, i64 %30
  %33 = mul i64 %31, %2
  %34 = getelementptr inbounds float, ptr %32, i64 %33
  %35 = getelementptr inbounds i8, ptr %34, i64 4
  %36 = load float, ptr %35, align 4, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %34, i64 -4
  %38 = load float, ptr %37, align 4, !tbaa !5
  %39 = getelementptr inbounds float, ptr %34, i64 %2
  %40 = load float, ptr %39, align 4, !tbaa !5
  %41 = getelementptr inbounds float, ptr %34, i64 %23
  %42 = load float, ptr %41, align 4, !tbaa !5
  %43 = fadd float %36, %38
  %44 = fpext float %43 to double
  %45 = load float, ptr %34, align 4, !tbaa !5
  %46 = fpext float %45 to double
  %47 = call double @llvm.fmuladd.f64(double %46, double -2.000000e+00, double %44)
  %48 = fadd float %40, %42
  %49 = fpext float %48 to double
  %50 = call double @llvm.fmuladd.f64(double %46, double -2.000000e+00, double %49)
  %51 = getelementptr inbounds float, ptr %35, i64 %2
  %52 = load float, ptr %51, align 4, !tbaa !5
  %53 = getelementptr inbounds float, ptr %37, i64 %23
  %54 = load float, ptr %53, align 4, !tbaa !5
  %55 = fadd float %52, %54
  %56 = getelementptr inbounds float, ptr %37, i64 %2
  %57 = load float, ptr %56, align 4, !tbaa !5
  %58 = fsub float %55, %57
  %59 = getelementptr inbounds float, ptr %35, i64 %23
  %60 = load float, ptr %59, align 4, !tbaa !5
  %61 = fsub float %58, %60
  %62 = fpext float %61 to double
  %63 = fmul double %62, 2.500000e-01
  store double %47, ptr %7, align 16, !tbaa !9
  store double %50, ptr %24, align 8, !tbaa !9
  store double %63, ptr %25, align 8, !tbaa !9
  store double %63, ptr %26, align 16, !tbaa !9
  %64 = insertelement <2 x float> poison, float %36, i64 0
  %65 = insertelement <2 x float> %64, float %40, i64 1
  %66 = insertelement <2 x float> poison, float %38, i64 0
  %67 = insertelement <2 x float> %66, float %42, i64 1
  %68 = fsub <2 x float> %65, %67
  %69 = fpext <2 x float> %68 to <2 x double>
  %70 = fmul <2 x double> %69, <double 5.000000e-01, double 5.000000e-01>
  %71 = fneg <2 x double> %70
  store <2 x double> %71, ptr %8, align 16, !tbaa !9
  %72 = call i32 @vl_solve_linear_system_2(ptr noundef nonnull %8, ptr noundef nonnull %7, ptr noundef nonnull %8) #8
  %.not129 = icmp eq i32 %72, 0
  br i1 %.not129, label %74, label %73

73:                                               ; preds = %29
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %8, i8 0, i64 16, i1 false)
  br label %.loopexit

74:                                               ; preds = %29
  %75 = load double, ptr %8, align 16, !tbaa !9
  %76 = fcmp ogt double %75, 6.000000e-01
  %77 = icmp slt i64 %30, %15
  %78 = and i1 %77, %76
  %79 = zext i1 %78 to i64
  %80 = fcmp olt double %75, -6.000000e-01
  %81 = icmp sgt i64 %30, 1
  %82 = and i1 %81, %80
  %83 = sext i1 %82 to i64
  %84 = add nsw i64 %79, %83
  %85 = load double, ptr %27, align 8, !tbaa !9
  %86 = fcmp ogt double %85, 6.000000e-01
  %87 = icmp slt i64 %31, %22
  %88 = and i1 %87, %86
  %89 = zext i1 %88 to i64
  %90 = fcmp olt double %85, -6.000000e-01
  %91 = icmp sgt i64 %31, 1
  %92 = and i1 %91, %90
  %93 = sext i1 %92 to i64
  %94 = add nsw i64 %89, %93
  %95 = icmp eq i64 %84, 0
  %96 = icmp eq i64 %94, 0
  %or.cond = select i1 %95, i1 %96, i1 false
  %97 = add nuw nsw i64 %.0101140, 1
  %exitcond.not = icmp eq i64 %97, 5
  %or.cond180 = select i1 %or.cond, i1 true, i1 %exitcond.not
  br i1 %or.cond180, label %.loopexit, label %29, !llvm.loop !11

.loopexit:                                        ; preds = %74, %73
  %98 = phi double [ 0.000000e+00, %73 ], [ %85, %74 ]
  %99 = phi double [ 0.000000e+00, %73 ], [ %75, %74 ]
  %100 = load float, ptr %34, align 4, !tbaa !5
  %101 = fpext float %100 to double
  %102 = extractelement <2 x double> %70, i64 1
  %103 = fmul double %102, %98
  %104 = extractelement <2 x double> %70, i64 0
  %105 = call double @llvm.fmuladd.f64(double %104, double %99, double %103)
  %106 = call double @llvm.fmuladd.f64(double %105, double 5.000000e-01, double %101)
  %107 = fadd double %47, %50
  %108 = fmul double %107, %107
  %109 = fneg double %63
  %110 = fmul double %63, %109
  %111 = call double @llvm.fmuladd.f64(double %47, double %50, double %110)
  %112 = fdiv double %108, %111
  %113 = fcmp olt double %112, 0.000000e+00
  br i1 %113, label %114, label %116

114:                                              ; preds = %.loopexit
  %115 = load double, ptr @vl_infinity_d, align 8, !tbaa !13
  br label %124

116:                                              ; preds = %.loopexit
  %117 = call double @llvm.fmuladd.f64(double %112, double 5.000000e-01, double -1.000000e+00)
  %118 = call double @llvm.fmuladd.f64(double %112, double 2.500000e-01, double -1.000000e+00)
  %119 = fcmp ogt double %118, 0.000000e+00
  %120 = select i1 %119, double %118, double 0.000000e+00
  %121 = fmul double %112, %120
  %122 = call double @sqrt(double noundef %121) #8
  %123 = fadd double %117, %122
  %.pre = load double, ptr %8, align 16, !tbaa !9
  %.pre160 = load double, ptr %27, align 8, !tbaa !9
  br label %124

124:                                              ; preds = %116, %114
  %125 = phi double [ %98, %114 ], [ %.pre160, %116 ]
  %126 = phi double [ %99, %114 ], [ %.pre, %116 ]
  %.0 = phi double [ %115, %114 ], [ %123, %116 ]
  store i64 %30, ptr %0, align 8, !tbaa !14
  %127 = getelementptr inbounds i8, ptr %0, i64 8
  store i64 %31, ptr %127, align 8, !tbaa !17
  %128 = sitofp i64 %30 to double
  %129 = fadd double %126, %128
  %130 = getelementptr inbounds i8, ptr %0, i64 16
  %131 = sitofp i64 %31 to double
  %132 = fadd double %125, %131
  %133 = getelementptr inbounds i8, ptr %0, i64 20
  %134 = insertelement <4 x double> poison, double %129, i64 0
  %135 = insertelement <4 x double> %134, double %132, i64 1
  %136 = insertelement <4 x double> %135, double %106, i64 2
  %137 = insertelement <4 x double> %136, double %.0, i64 3
  %138 = fptrunc <4 x double> %137 to <4 x float>
  store <4 x float> %138, ptr %130, align 8, !tbaa !5
  br i1 %.not129, label %139, label %161

139:                                              ; preds = %124
  %140 = call double @vl_abs_d(double noundef %126)
  %141 = fcmp olt double %140, 1.500000e+00
  br i1 %141, label %142, label %161

142:                                              ; preds = %139
  %143 = load double, ptr %27, align 8, !tbaa !9
  %144 = call double @vl_abs_d(double noundef %143)
  %145 = fcmp olt double %144, 1.500000e+00
  br i1 %145, label %146, label %161

146:                                              ; preds = %142
  %147 = load float, ptr %130, align 8, !tbaa !18
  %148 = fcmp ult float %147, 0.000000e+00
  br i1 %148, label %161, label %149

149:                                              ; preds = %146
  %150 = add nsw i32 %13, -1
  %151 = sitofp i32 %150 to float
  %152 = fcmp ugt float %147, %151
  br i1 %152, label %161, label %153

153:                                              ; preds = %149
  %154 = load float, ptr %133, align 4, !tbaa !19
  %155 = fcmp ult float %154, 0.000000e+00
  br i1 %155, label %161, label %156

156:                                              ; preds = %153
  %157 = add nsw i32 %20, -1
  %158 = sitofp i32 %157 to float
  %159 = fcmp ole float %154, %158
  %160 = zext i1 %159 to i32
  br label %161

161:                                              ; preds = %156, %153, %149, %146, %142, %139, %124
  %162 = phi i32 [ 0, %153 ], [ 0, %149 ], [ 0, %146 ], [ 0, %142 ], [ 0, %139 ], [ 0, %124 ], [ %160, %156 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #8
  ret i32 %162
}

declare i32 @vl_solve_linear_system_2(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #6

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { mustprogress nofree nounwind willreturn memory(write) "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 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 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { nounwind }
attributes #9 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"_VlCovDetExtremum2", !16, i64 0, !16, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28}
!16 = !{!"long long", !7, i64 0}
!17 = !{!15, !16, i64 8}
!18 = !{!15, !6, i64 16}
!19 = !{!15, !6, i64 20}


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