; LLVM IR from QiaoLiuHit/LSOTB-TIR :: vlfeat-0.9.19/src (sift)

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

%struct.option = type { ptr, i32, ptr, i32 }
%struct._VlFileMeta = type { i32, [1024 x i8], i32, [1024 x i8], ptr }
%struct._VlPgmImage = type { i64, i64, i64, i32 }
%struct._VlSiftKeypoint = type { i32, i32, i32, i32, float, float, float, float }

@help_message = external dso_local constant [700 x i8], align 16
@opts = external dso_local constant [9 x i8], align 1
@longopts = external dso_local constant [16 x %struct.option], align 16
@__const.main.out = external hidden unnamed_addr constant %struct._VlFileMeta, align 8
@__const.main.frm = external hidden unnamed_addr constant %struct._VlFileMeta, align 8
@__const.main.dsc = external hidden unnamed_addr constant %struct._VlFileMeta, align 8
@__const.main.met = external hidden unnamed_addr constant %struct._VlFileMeta, align 8
@__const.main.ifr = external hidden unnamed_addr constant %struct._VlFileMeta, align 8
@optind = external global i32, align 4
@.str.15 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [4 x i8], align 1
@optarg = external global ptr, align 8
@.str.25 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [51 x i8], align 1
@stderr = external global ptr, align 8
@.str.33 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @korder(ptr noundef, ptr 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: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %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
  %13 = alloca [1024 x i8], align 16
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %struct._VlFileMeta, align 8
  %20 = alloca %struct._VlFileMeta, align 8
  %21 = alloca %struct._VlFileMeta, align 8
  %22 = alloca %struct._VlFileMeta, align 8
  %23 = alloca %struct._VlFileMeta, align 8
  %24 = alloca %struct._VlFileMeta, align 8
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca [1024 x i8], align 16
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca %struct._VlPgmImage, align 8
  %33 = alloca ptr, align 8
  %34 = alloca i64, align 8
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca ptr, align 8
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca double, align 8
  %41 = alloca double, align 8
  %42 = alloca double, align 8
  %43 = alloca double, align 8
  %44 = alloca ptr, align 8
  %45 = alloca i32, align 4
  %46 = alloca [4 x double], align 16
  %47 = alloca i32, align 4
  %48 = alloca %struct._VlSiftKeypoint, align 4
  %49 = alloca ptr, align 8
  %50 = alloca [128 x float], align 16
  %51 = alloca i32, align 4
  %52 = alloca i32, align 4
  %53 = alloca double, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #10
  store double -1.000000e+00, ptr %6, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #10
  store double -1.000000e+00, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #10
  store double -1.000000e+00, ptr %8, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #10
  store i32 -1, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #10
  store i32 3, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #10
  store i32 -1, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #10
  store i32 0, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1024, ptr %13) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #10
  store i32 0, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #10
  store i32 0, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #10
  store i32 0, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #10
  store i32 0, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2064, ptr %19) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %19, ptr align 8 @__const.main.out, i64 2064, i1 false)
  call void @llvm.lifetime.start.p0(i64 2064, ptr %20) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 @__const.main.frm, i64 2064, i1 false)
  call void @llvm.lifetime.start.p0(i64 2064, ptr %21) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 @__const.main.dsc, i64 2064, i1 false)
  call void @llvm.lifetime.start.p0(i64 2064, ptr %22) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %22, ptr align 8 @__const.main.met, i64 2064, i1 false)
  call void @llvm.lifetime.start.p0(i64 2064, ptr %23) #10
  call void @llvm.memset.p0.i64(ptr align 8 %23, i8 0, i64 2064, i1 false)
  %54 = getelementptr inbounds %struct._VlFileMeta, ptr %23, i32 0, i32 1
  %55 = getelementptr inbounds [1024 x i8], ptr %54, i32 0, i32 0
  store i8 37, ptr %55, align 4
  %56 = getelementptr inbounds [1024 x i8], ptr %54, i32 0, i32 1
  store i8 46, ptr %56, align 1
  %57 = getelementptr inbounds [1024 x i8], ptr %54, i32 0, i32 2
  store i8 112, ptr %57, align 2
  %58 = getelementptr inbounds [1024 x i8], ptr %54, i32 0, i32 3
  store i8 103, ptr %58, align 1
  %59 = getelementptr inbounds [1024 x i8], ptr %54, i32 0, i32 4
  store i8 109, ptr %59, align 4
  %60 = getelementptr inbounds %struct._VlFileMeta, ptr %23, i32 0, i32 2
  store i32 1, ptr %60, align 4
  call void @llvm.lifetime.start.p0(i64 2064, ptr %24) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %24, ptr align 8 @__const.main.ifr, i64 2064, i1 false)
  br label %61

61:                                               ; preds = %337, %2
  %62 = load i32, ptr %12, align 4, !tbaa !5
  %63 = icmp ne i32 %62, 0
  %64 = xor i1 %63, true
  br i1 %64, label %65, label %338

65:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #10
  %66 = load i32, ptr %4, align 4, !tbaa !5
  %67 = load ptr, ptr %5, align 8, !tbaa !9
  %68 = call i32 @getopt_long(i32 noundef %66, ptr noundef %67, ptr noundef @opts, ptr noundef @longopts, ptr noundef null)
  store i32 %68, ptr %25, align 4, !tbaa !5
  %69 = load i32, ptr %25, align 4, !tbaa !5
  %70 = icmp eq i32 %69, -1
  br i1 %70, label %71, label %77

71:                                               ; preds = %65
  %72 = load i32, ptr %4, align 4, !tbaa !5
  %73 = load i32, ptr @optind, align 4, !tbaa !5
  %74 = sub nsw i32 %72, %73
  %75 = icmp eq i32 %74, 0
  br i1 %75, label %76, label %77

76:                                               ; preds = %71
  store i32 104, ptr %25, align 4, !tbaa !5
  br label %77

77:                                               ; preds = %76, %71, %65
  %78 = load i32, ptr %25, align 4, !tbaa !5
  %79 = icmp eq i32 %78, -1
  br i1 %79, label %80, label %81

80:                                               ; preds = %77
  store i32 3, ptr %26, align 4
  br label %335

81:                                               ; preds = %77
  %82 = load i32, ptr %25, align 4, !tbaa !5
  switch i32 %82, label %333 [
    i32 63, label %83
    i32 58, label %92
    i32 104, label %101
    i32 118, label %126
    i32 111, label %129
    i32 1001, label %144
    i32 1002, label %159
    i32 1000, label %174
    i32 1008, label %196
    i32 1003, label %211
    i32 79, label %226
    i32 83, label %244
    i32 1004, label %262
    i32 1005, label %277
    i32 1006, label %295
    i32 1007, label %313
    i32 1009, label %331
    i32 0, label %332
  ]

83:                                               ; preds = %81
  store i32 3, ptr %12, align 4, !tbaa !5
  %84 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %85 = load ptr, ptr %5, align 8, !tbaa !9
  %86 = load i32, ptr @optind, align 4, !tbaa !5
  %87 = sub nsw i32 %86, 1
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds ptr, ptr %85, i64 %88
  %90 = load ptr, ptr %89, align 8, !tbaa !9
  %91 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %84, i64 noundef 1024, ptr noundef @.str.15, ptr noundef %90) #10
  br label %334

92:                                               ; preds = %81
  store i32 3, ptr %12, align 4, !tbaa !5
  %93 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %94 = load ptr, ptr %5, align 8, !tbaa !9
  %95 = load i32, ptr @optind, align 4, !tbaa !5
  %96 = sub nsw i32 %95, 1
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds ptr, ptr %94, i64 %97
  %99 = load ptr, ptr %98, align 8, !tbaa !9
  %100 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %93, i64 noundef 1024, ptr noundef @.str.16, ptr noundef %99) #10
  br label %334

101:                                              ; preds = %81
  %102 = load ptr, ptr %5, align 8, !tbaa !9
  %103 = getelementptr inbounds ptr, ptr %102, i64 0
  %104 = load ptr, ptr %103, align 8, !tbaa !9
  %105 = call i32 (ptr, ...) @printf(ptr noundef @help_message, ptr noundef %104)
  %106 = getelementptr inbounds %struct._VlFileMeta, ptr %19, i32 0, i32 1
  %107 = getelementptr inbounds [1024 x i8], ptr %106, i64 0, i64 0
  %108 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, ptr noundef %107)
  %109 = getelementptr inbounds %struct._VlFileMeta, ptr %20, i32 0, i32 1
  %110 = getelementptr inbounds [1024 x i8], ptr %109, i64 0, i64 0
  %111 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %110)
  %112 = getelementptr inbounds %struct._VlFileMeta, ptr %21, i32 0, i32 1
  %113 = getelementptr inbounds [1024 x i8], ptr %112, i64 0, i64 0
  %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, ptr noundef %113)
  %115 = getelementptr inbounds %struct._VlFileMeta, ptr %22, i32 0, i32 1
  %116 = getelementptr inbounds [1024 x i8], ptr %115, i64 0, i64 0
  %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, ptr noundef %116)
  %118 = getelementptr inbounds %struct._VlFileMeta, ptr %23, i32 0, i32 1
  %119 = getelementptr inbounds [1024 x i8], ptr %118, i64 0, i64 0
  %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, ptr noundef %119)
  %121 = getelementptr inbounds %struct._VlFileMeta, ptr %24, i32 0, i32 1
  %122 = getelementptr inbounds [1024 x i8], ptr %121, i64 0, i64 0
  %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.22, ptr noundef %122)
  %124 = call ptr @vl_get_version_string()
  %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, ptr noundef @.str.24, ptr noundef %124)
  call void @exit(i32 noundef 0) #11
  unreachable

126:                                              ; preds = %81
  %127 = load i32, ptr %16, align 4, !tbaa !5
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr %16, align 4, !tbaa !5
  br label %334

129:                                              ; preds = %81
  %130 = load ptr, ptr @optarg, align 8, !tbaa !9
  %131 = call i32 @vl_file_meta_parse(ptr noundef %19, ptr noundef %130)
  store i32 %131, ptr %12, align 4, !tbaa !5
  %132 = load i32, ptr %12, align 4, !tbaa !5
  %133 = icmp ne i32 %132, 0
  br i1 %133, label %134, label %143

134:                                              ; preds = %129
  store i32 3, ptr %12, align 4, !tbaa !5
  %135 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %136 = load ptr, ptr %5, align 8, !tbaa !9
  %137 = load i32, ptr @optind, align 4, !tbaa !5
  %138 = sub nsw i32 %137, 1
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds ptr, ptr %136, i64 %139
  %141 = load ptr, ptr %140, align 8, !tbaa !9
  %142 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %135, i64 noundef 1024, ptr noundef @.str.25, ptr noundef %141) #10
  br label %334

143:                                              ; preds = %129
  store i32 1, ptr %17, align 4, !tbaa !5
  br label %334

144:                                              ; preds = %81
  %145 = load ptr, ptr @optarg, align 8, !tbaa !9
  %146 = call i32 @vl_file_meta_parse(ptr noundef %20, ptr noundef %145)
  store i32 %146, ptr %12, align 4, !tbaa !5
  %147 = load i32, ptr %12, align 4, !tbaa !5
  %148 = icmp ne i32 %147, 0
  br i1 %148, label %149, label %158

149:                                              ; preds = %144
  store i32 3, ptr %12, align 4, !tbaa !5
  %150 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %151 = load ptr, ptr %5, align 8, !tbaa !9
  %152 = load i32, ptr @optind, align 4, !tbaa !5
  %153 = sub nsw i32 %152, 1
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds ptr, ptr %151, i64 %154
  %156 = load ptr, ptr %155, align 8, !tbaa !9
  %157 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %150, i64 noundef 1024, ptr noundef @.str.25, ptr noundef %156) #10
  br label %334

158:                                              ; preds = %144
  br label %334

159:                                              ; preds = %81
  %160 = load ptr, ptr @optarg, align 8, !tbaa !9
  %161 = call i32 @vl_file_meta_parse(ptr noundef %21, ptr noundef %160)
  store i32 %161, ptr %12, align 4, !tbaa !5
  %162 = load i32, ptr %12, align 4, !tbaa !5
  %163 = icmp ne i32 %162, 0
  br i1 %163, label %164, label %173

164:                                              ; preds = %159
  store i32 3, ptr %12, align 4, !tbaa !5
  %165 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %166 = load ptr, ptr %5, align 8, !tbaa !9
  %167 = load i32, ptr @optind, align 4, !tbaa !5
  %168 = sub nsw i32 %167, 1
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds ptr, ptr %166, i64 %169
  %171 = load ptr, ptr %170, align 8, !tbaa !9
  %172 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %165, i64 noundef 1024, ptr noundef @.str.25, ptr noundef %171) #10
  br label %334

173:                                              ; preds = %159
  br label %334

174:                                              ; preds = %81
  %175 = load ptr, ptr @optarg, align 8, !tbaa !9
  %176 = call i32 @vl_file_meta_parse(ptr noundef %22, ptr noundef %175)
  store i32 %176, ptr %12, align 4, !tbaa !5
  %177 = load i32, ptr %12, align 4, !tbaa !5
  %178 = icmp ne i32 %177, 0
  br i1 %178, label %179, label %188

179:                                              ; preds = %174
  store i32 3, ptr %12, align 4, !tbaa !5
  %180 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %181 = load ptr, ptr %5, align 8, !tbaa !9
  %182 = load i32, ptr @optind, align 4, !tbaa !5
  %183 = sub nsw i32 %182, 1
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds ptr, ptr %181, i64 %184
  %186 = load ptr, ptr %185, align 8, !tbaa !9
  %187 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %180, i64 noundef 1024, ptr noundef @.str.25, ptr noundef %186) #10
  br label %334

188:                                              ; preds = %174
  %189 = getelementptr inbounds %struct._VlFileMeta, ptr %22, i32 0, i32 2
  %190 = load i32, ptr %189, align 4, !tbaa !13
  %191 = icmp ne i32 %190, 1
  br i1 %191, label %192, label %195

192:                                              ; preds = %188
  store i32 3, ptr %12, align 4, !tbaa !5
  %193 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %194 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %193, i64 noundef 1024, ptr noundef @.str.26) #10
  br label %334

195:                                              ; preds = %188
  br label %334

196:                                              ; preds = %81
  %197 = load ptr, ptr @optarg, align 8, !tbaa !9
  %198 = call i32 @vl_file_meta_parse(ptr noundef %24, ptr noundef %197)
  store i32 %198, ptr %12, align 4, !tbaa !5
  %199 = load i32, ptr %12, align 4, !tbaa !5
  %200 = icmp ne i32 %199, 0
  br i1 %200, label %201, label %210

201:                                              ; preds = %196
  store i32 3, ptr %12, align 4, !tbaa !5
  %202 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %203 = load ptr, ptr %5, align 8, !tbaa !9
  %204 = load i32, ptr @optind, align 4, !tbaa !5
  %205 = sub nsw i32 %204, 1
  %206 = sext i32 %205 to i64
  %207 = getelementptr inbounds ptr, ptr %203, i64 %206
  %208 = load ptr, ptr %207, align 8, !tbaa !9
  %209 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %202, i64 noundef 1024, ptr noundef @.str.25, ptr noundef %208) #10
  br label %334

210:                                              ; preds = %196
  br label %334

211:                                              ; preds = %81
  %212 = load ptr, ptr @optarg, align 8, !tbaa !9
  %213 = call i32 @vl_file_meta_parse(ptr noundef %23, ptr noundef %212)
  store i32 %213, ptr %12, align 4, !tbaa !5
  %214 = load i32, ptr %12, align 4, !tbaa !5
  %215 = icmp ne i32 %214, 0
  br i1 %215, label %216, label %225

216:                                              ; preds = %211
  store i32 3, ptr %12, align 4, !tbaa !5
  %217 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %218 = load ptr, ptr %5, align 8, !tbaa !9
  %219 = load i32, ptr @optind, align 4, !tbaa !5
  %220 = sub nsw i32 %219, 1
  %221 = sext i32 %220 to i64
  %222 = getelementptr inbounds ptr, ptr %218, i64 %221
  %223 = load ptr, ptr %222, align 8, !tbaa !9
  %224 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %217, i64 noundef 1024, ptr noundef @.str.25, ptr noundef %223) #10
  br label %334

225:                                              ; preds = %211
  br label %334

226:                                              ; preds = %81
  %227 = load ptr, ptr @optarg, align 8, !tbaa !9
  %228 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %227, ptr noundef @.str.27, ptr noundef %9) #10
  store i32 %228, ptr %14, align 4, !tbaa !5
  %229 = load i32, ptr %14, align 4, !tbaa !5
  %230 = icmp eq i32 %229, 0
  br i1 %230, label %234, label %231

231:                                              ; preds = %226
  %232 = load i32, ptr %9, align 4, !tbaa !5
  %233 = icmp slt i32 %232, 0
  br i1 %233, label %234, label %243

234:                                              ; preds = %231, %226
  store i32 3, ptr %12, align 4, !tbaa !5
  %235 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %236 = load ptr, ptr %5, align 8, !tbaa !9
  %237 = load i32, ptr @optind, align 4, !tbaa !5
  %238 = sub nsw i32 %237, 1
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds ptr, ptr %236, i64 %239
  %241 = load ptr, ptr %240, align 8, !tbaa !9
  %242 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %235, i64 noundef 1024, ptr noundef @.str.28, ptr noundef %241) #10
  br label %334

243:                                              ; preds = %231
  br label %334

244:                                              ; preds = %81
  %245 = load ptr, ptr @optarg, align 8, !tbaa !9
  %246 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %245, ptr noundef @.str.27, ptr noundef %10) #10
  store i32 %246, ptr %14, align 4, !tbaa !5
  %247 = load i32, ptr %14, align 4, !tbaa !5
  %248 = icmp eq i32 %247, 0
  br i1 %248, label %252, label %249

249:                                              ; preds = %244
  %250 = load i32, ptr %10, align 4, !tbaa !5
  %251 = icmp slt i32 %250, 0
  br i1 %251, label %252, label %261

252:                                              ; preds = %249, %244
  store i32 3, ptr %12, align 4, !tbaa !5
  %253 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %254 = load ptr, ptr %5, align 8, !tbaa !9
  %255 = load i32, ptr @optind, align 4, !tbaa !5
  %256 = sub nsw i32 %255, 1
  %257 = sext i32 %256 to i64
  %258 = getelementptr inbounds ptr, ptr %254, i64 %257
  %259 = load ptr, ptr %258, align 8, !tbaa !9
  %260 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %253, i64 noundef 1024, ptr noundef @.str.28, ptr noundef %259) #10
  br label %334

261:                                              ; preds = %249
  br label %334

262:                                              ; preds = %81
  %263 = load ptr, ptr @optarg, align 8, !tbaa !9
  %264 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %263, ptr noundef @.str.27, ptr noundef %11) #10
  store i32 %264, ptr %14, align 4, !tbaa !5
  %265 = load i32, ptr %14, align 4, !tbaa !5
  %266 = icmp eq i32 %265, 0
  br i1 %266, label %267, label %276

267:                                              ; preds = %262
  store i32 3, ptr %12, align 4, !tbaa !5
  %268 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %269 = load ptr, ptr %5, align 8, !tbaa !9
  %270 = load i32, ptr @optind, align 4, !tbaa !5
  %271 = sub nsw i32 %270, 1
  %272 = sext i32 %271 to i64
  %273 = getelementptr inbounds ptr, ptr %269, i64 %272
  %274 = load ptr, ptr %273, align 8, !tbaa !9
  %275 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %268, i64 noundef 1024, ptr noundef @.str.29, ptr noundef %274) #10
  br label %334

276:                                              ; preds = %262
  br label %334

277:                                              ; preds = %81
  %278 = load ptr, ptr @optarg, align 8, !tbaa !9
  %279 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %278, ptr noundef @.str.30, ptr noundef %6) #10
  store i32 %279, ptr %14, align 4, !tbaa !5
  %280 = load i32, ptr %14, align 4, !tbaa !5
  %281 = icmp eq i32 %280, 0
  br i1 %281, label %285, label %282

282:                                              ; preds = %277
  %283 = load double, ptr %6, align 8, !tbaa !11
  %284 = fcmp olt double %283, 1.000000e+00
  br i1 %284, label %285, label %294

285:                                              ; preds = %282, %277
  store i32 3, ptr %12, align 4, !tbaa !5
  %286 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %287 = load ptr, ptr %5, align 8, !tbaa !9
  %288 = load i32, ptr @optind, align 4, !tbaa !5
  %289 = sub nsw i32 %288, 1
  %290 = sext i32 %289 to i64
  %291 = getelementptr inbounds ptr, ptr %287, i64 %290
  %292 = load ptr, ptr %291, align 8, !tbaa !9
  %293 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %286, i64 noundef 1024, ptr noundef @.str.31, ptr noundef %292) #10
  br label %334

294:                                              ; preds = %282
  br label %334

295:                                              ; preds = %81
  %296 = load ptr, ptr @optarg, align 8, !tbaa !9
  %297 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %296, ptr noundef @.str.30, ptr noundef %7) #10
  store i32 %297, ptr %14, align 4, !tbaa !5
  %298 = load i32, ptr %14, align 4, !tbaa !5
  %299 = icmp eq i32 %298, 0
  br i1 %299, label %303, label %300

300:                                              ; preds = %295
  %301 = load double, ptr %7, align 8, !tbaa !11
  %302 = fcmp olt double %301, 0.000000e+00
  br i1 %302, label %303, label %312

303:                                              ; preds = %300, %295
  store i32 3, ptr %12, align 4, !tbaa !5
  %304 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %305 = load ptr, ptr %5, align 8, !tbaa !9
  %306 = load i32, ptr @optind, align 4, !tbaa !5
  %307 = sub nsw i32 %306, 1
  %308 = sext i32 %307 to i64
  %309 = getelementptr inbounds ptr, ptr %305, i64 %308
  %310 = load ptr, ptr %309, align 8, !tbaa !9
  %311 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %304, i64 noundef 1024, ptr noundef @.str.32, ptr noundef %310) #10
  br label %334

312:                                              ; preds = %300
  br label %334

313:                                              ; preds = %81
  %314 = load ptr, ptr @optarg, align 8, !tbaa !9
  %315 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %314, ptr noundef @.str.30, ptr noundef %8) #10
  store i32 %315, ptr %14, align 4, !tbaa !5
  %316 = load i32, ptr %14, align 4, !tbaa !5
  %317 = icmp eq i32 %316, 0
  br i1 %317, label %321, label %318

318:                                              ; preds = %313
  %319 = load double, ptr %8, align 8, !tbaa !11
  %320 = fcmp olt double %319, 1.000000e+00
  br i1 %320, label %321, label %330

321:                                              ; preds = %318, %313
  store i32 3, ptr %12, align 4, !tbaa !5
  %322 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %323 = load ptr, ptr %5, align 8, !tbaa !9
  %324 = load i32, ptr @optind, align 4, !tbaa !5
  %325 = sub nsw i32 %324, 1
  %326 = sext i32 %325 to i64
  %327 = getelementptr inbounds ptr, ptr %323, i64 %326
  %328 = load ptr, ptr %327, align 8, !tbaa !9
  %329 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %322, i64 noundef 1024, ptr noundef @.str.32, ptr noundef %328) #10
  br label %334

330:                                              ; preds = %318
  br label %334

331:                                              ; preds = %81
  store i32 1, ptr %18, align 4, !tbaa !5
  br label %334

332:                                              ; preds = %81
  br label %333

333:                                              ; preds = %332, %81
  call void @abort() #11
  unreachable

334:                                              ; preds = %331, %330, %321, %312, %303, %294, %285, %276, %267, %261, %252, %243, %234, %225, %216, %210, %201, %195, %192, %179, %173, %164, %158, %149, %143, %134, %126, %92, %83
  store i32 0, ptr %26, align 4
  br label %335

335:                                              ; preds = %334, %80
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #10
  %336 = load i32, ptr %26, align 4
  switch i32 %336, label %1225 [
    i32 0, label %337
    i32 3, label %338
  ]

337:                                              ; preds = %335
  br label %61, !llvm.loop !15

338:                                              ; preds = %335, %61
  %339 = load i32, ptr %12, align 4, !tbaa !5
  %340 = icmp ne i32 %339, 0
  br i1 %340, label %341, label %349

341:                                              ; preds = %338
  %342 = load ptr, ptr @stderr, align 8, !tbaa !9
  %343 = load ptr, ptr %5, align 8, !tbaa !9
  %344 = getelementptr inbounds ptr, ptr %343, i64 0
  %345 = load ptr, ptr %344, align 8, !tbaa !9
  %346 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %347 = load i32, ptr %12, align 4, !tbaa !5
  %348 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %342, ptr noundef @.str.33, ptr noundef %345, ptr noundef %346, i32 noundef %347) #10
  call void @exit(i32 noundef 1) #11
  unreachable

349:                                              ; preds = %338
  %350 = load i32, ptr @optind, align 4, !tbaa !5
  %351 = load i32, ptr %4, align 4, !tbaa !5
  %352 = sub nsw i32 %351, %350
  store i32 %352, ptr %4, align 4, !tbaa !5
  %353 = load i32, ptr @optind, align 4, !tbaa !5
  %354 = load ptr, ptr %5, align 8, !tbaa !9
  %355 = sext i32 %353 to i64
  %356 = getelementptr inbounds ptr, ptr %354, i64 %355
  store ptr %356, ptr %5, align 8, !tbaa !9
  %357 = load i32, ptr %17, align 4, !tbaa !5
  %358 = icmp ne i32 %357, 0
  br i1 %358, label %369, label %359

359:                                              ; preds = %349
  %360 = getelementptr inbounds %struct._VlFileMeta, ptr %20, i32 0, i32 0
  %361 = load i32, ptr %360, align 8, !tbaa !17
  %362 = icmp ne i32 %361, 0
  br i1 %362, label %367, label %363

363:                                              ; preds = %359
  %364 = getelementptr inbounds %struct._VlFileMeta, ptr %21, i32 0, i32 0
  %365 = load i32, ptr %364, align 8, !tbaa !17
  %366 = icmp ne i32 %365, 0
  br i1 %366, label %367, label %369

367:                                              ; preds = %363, %359
  %368 = getelementptr inbounds %struct._VlFileMeta, ptr %19, i32 0, i32 0
  store i32 0, ptr %368, align 8, !tbaa !17
  br label %369

369:                                              ; preds = %367, %363, %349
  %370 = load i32, ptr %16, align 4, !tbaa !5
  %371 = icmp sgt i32 %370, 1
  br i1 %371, label %372, label %462

372:                                              ; preds = %369
  %373 = call i32 (ptr, ...) @printf(ptr noundef @.str.34)
  %374 = getelementptr inbounds %struct._VlFileMeta, ptr %19, i32 0, i32 0
  %375 = load i32, ptr %374, align 8, !tbaa !17
  %376 = icmp ne i32 %375, 0
  %377 = zext i1 %376 to i64
  %378 = select i1 %376, ptr @.str.36, ptr @.str.37
  %379 = call i32 (ptr, ...) @printf(ptr noundef @.str.35, ptr noundef %378)
  %380 = getelementptr inbounds %struct._VlFileMeta, ptr %19, i32 0, i32 2
  %381 = load i32, ptr %380, align 4, !tbaa !13
  %382 = call ptr @vl_string_protocol_name(i32 noundef %381)
  %383 = call i32 (ptr, ...) @printf(ptr noundef @.str.38, ptr noundef %382)
  %384 = getelementptr inbounds %struct._VlFileMeta, ptr %19, i32 0, i32 1
  %385 = getelementptr inbounds [1024 x i8], ptr %384, i64 0, i64 0
  %386 = call i32 (ptr, ...) @printf(ptr noundef @.str.39, ptr noundef %385)
  %387 = call i32 (ptr, ...) @printf(ptr noundef @.str.40)
  %388 = getelementptr inbounds %struct._VlFileMeta, ptr %20, i32 0, i32 0
  %389 = load i32, ptr %388, align 8, !tbaa !17
  %390 = icmp ne i32 %389, 0
  %391 = zext i1 %390 to i64
  %392 = select i1 %390, ptr @.str.36, ptr @.str.37
  %393 = call i32 (ptr, ...) @printf(ptr noundef @.str.35, ptr noundef %392)
  %394 = getelementptr inbounds %struct._VlFileMeta, ptr %20, i32 0, i32 2
  %395 = load i32, ptr %394, align 4, !tbaa !13
  %396 = call ptr @vl_string_protocol_name(i32 noundef %395)
  %397 = call i32 (ptr, ...) @printf(ptr noundef @.str.38, ptr noundef %396)
  %398 = getelementptr inbounds %struct._VlFileMeta, ptr %20, i32 0, i32 1
  %399 = getelementptr inbounds [1024 x i8], ptr %398, i64 0, i64 0
  %400 = call i32 (ptr, ...) @printf(ptr noundef @.str.39, ptr noundef %399)
  %401 = call i32 (ptr, ...) @printf(ptr noundef @.str.41)
  %402 = getelementptr inbounds %struct._VlFileMeta, ptr %21, i32 0, i32 0
  %403 = load i32, ptr %402, align 8, !tbaa !17
  %404 = icmp ne i32 %403, 0
  %405 = zext i1 %404 to i64
  %406 = select i1 %404, ptr @.str.36, ptr @.str.37
  %407 = call i32 (ptr, ...) @printf(ptr noundef @.str.35, ptr noundef %406)
  %408 = getelementptr inbounds %struct._VlFileMeta, ptr %21, i32 0, i32 2
  %409 = load i32, ptr %408, align 4, !tbaa !13
  %410 = call ptr @vl_string_protocol_name(i32 noundef %409)
  %411 = call i32 (ptr, ...) @printf(ptr noundef @.str.38, ptr noundef %410)
  %412 = getelementptr inbounds %struct._VlFileMeta, ptr %21, i32 0, i32 1
  %413 = getelementptr inbounds [1024 x i8], ptr %412, i64 0, i64 0
  %414 = call i32 (ptr, ...) @printf(ptr noundef @.str.39, ptr noundef %413)
  %415 = call i32 (ptr, ...) @printf(ptr noundef @.str.42)
  %416 = getelementptr inbounds %struct._VlFileMeta, ptr %22, i32 0, i32 0
  %417 = load i32, ptr %416, align 8, !tbaa !17
  %418 = icmp ne i32 %417, 0
  %419 = zext i1 %418 to i64
  %420 = select i1 %418, ptr @.str.36, ptr @.str.37
  %421 = call i32 (ptr, ...) @printf(ptr noundef @.str.35, ptr noundef %420)
  %422 = getelementptr inbounds %struct._VlFileMeta, ptr %22, i32 0, i32 2
  %423 = load i32, ptr %422, align 4, !tbaa !13
  %424 = call ptr @vl_string_protocol_name(i32 noundef %423)
  %425 = call i32 (ptr, ...) @printf(ptr noundef @.str.38, ptr noundef %424)
  %426 = getelementptr inbounds %struct._VlFileMeta, ptr %22, i32 0, i32 1
  %427 = getelementptr inbounds [1024 x i8], ptr %426, i64 0, i64 0
  %428 = call i32 (ptr, ...) @printf(ptr noundef @.str.39, ptr noundef %427)
  %429 = call i32 (ptr, ...) @printf(ptr noundef @.str.43)
  %430 = getelementptr inbounds %struct._VlFileMeta, ptr %23, i32 0, i32 0
  %431 = load i32, ptr %430, align 8, !tbaa !17
  %432 = icmp ne i32 %431, 0
  %433 = zext i1 %432 to i64
  %434 = select i1 %432, ptr @.str.36, ptr @.str.37
  %435 = call i32 (ptr, ...) @printf(ptr noundef @.str.35, ptr noundef %434)
  %436 = getelementptr inbounds %struct._VlFileMeta, ptr %23, i32 0, i32 2
  %437 = load i32, ptr %436, align 4, !tbaa !13
  %438 = call ptr @vl_string_protocol_name(i32 noundef %437)
  %439 = call i32 (ptr, ...) @printf(ptr noundef @.str.38, ptr noundef %438)
  %440 = getelementptr inbounds %struct._VlFileMeta, ptr %23, i32 0, i32 1
  %441 = getelementptr inbounds [1024 x i8], ptr %440, i64 0, i64 0
  %442 = call i32 (ptr, ...) @printf(ptr noundef @.str.39, ptr noundef %441)
  %443 = call i32 (ptr, ...) @printf(ptr noundef @.str.44)
  %444 = getelementptr inbounds %struct._VlFileMeta, ptr %24, i32 0, i32 0
  %445 = load i32, ptr %444, align 8, !tbaa !17
  %446 = icmp ne i32 %445, 0
  %447 = zext i1 %446 to i64
  %448 = select i1 %446, ptr @.str.36, ptr @.str.37
  %449 = call i32 (ptr, ...) @printf(ptr noundef @.str.35, ptr noundef %448)
  %450 = getelementptr inbounds %struct._VlFileMeta, ptr %24, i32 0, i32 2
  %451 = load i32, ptr %450, align 4, !tbaa !13
  %452 = call ptr @vl_string_protocol_name(i32 noundef %451)
  %453 = call i32 (ptr, ...) @printf(ptr noundef @.str.38, ptr noundef %452)
  %454 = getelementptr inbounds %struct._VlFileMeta, ptr %24, i32 0, i32 1
  %455 = getelementptr inbounds [1024 x i8], ptr %454, i64 0, i64 0
  %456 = call i32 (ptr, ...) @printf(ptr noundef @.str.39, ptr noundef %455)
  %457 = load i32, ptr %18, align 4, !tbaa !5
  %458 = icmp ne i32 %457, 0
  br i1 %458, label %459, label %461

459:                                              ; preds = %372
  %460 = call i32 (ptr, ...) @printf(ptr noundef @.str.45)
  br label %461

461:                                              ; preds = %459, %372
  br label %462

462:                                              ; preds = %461, %369
  br label %463

463:                                              ; preds = %1221, %462
  %464 = load i32, ptr %4, align 4, !tbaa !5
  %465 = add nsw i32 %464, -1
  store i32 %465, ptr %4, align 4, !tbaa !5
  %466 = icmp ne i32 %464, 0
  br i1 %466, label %467, label %1222

467:                                              ; preds = %463
  call void @llvm.lifetime.start.p0(i64 1024, ptr %27) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #10
  %468 = load ptr, ptr %5, align 8, !tbaa !9
  %469 = getelementptr inbounds ptr, ptr %468, i32 1
  store ptr %469, ptr %5, align 8, !tbaa !9
  %470 = load ptr, ptr %468, align 8, !tbaa !9
  store ptr %470, ptr %28, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #10
  store ptr null, ptr %29, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #10
  store ptr null, ptr %30, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #10
  store ptr null, ptr %31, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #10
  store ptr null, ptr %33, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #10
  store ptr null, ptr %37, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #10
  store i32 0, ptr %38, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #10
  store i32 0, ptr %39, align 4, !tbaa !5
  %471 = getelementptr inbounds [1024 x i8], ptr %27, i64 0, i64 0
  %472 = load ptr, ptr %28, align 8, !tbaa !9
  %473 = call i64 @vl_string_basename(ptr noundef %471, i64 noundef 1024, ptr noundef %472, i64 noundef 1)
  store i64 %473, ptr %34, align 8, !tbaa !18
  %474 = load i64, ptr %34, align 8, !tbaa !18
  %475 = icmp uge i64 %474, 1024
  %476 = zext i1 %475 to i32
  store i32 %476, ptr %12, align 4, !tbaa !5
  %477 = load i32, ptr %12, align 4, !tbaa !5
  %478 = icmp ne i32 %477, 0
  br i1 %478, label %479, label %483

479:                                              ; preds = %467
  %480 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %481 = load ptr, ptr %28, align 8, !tbaa !9
  %482 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %480, i64 noundef 1024, ptr noundef @.str.46, ptr noundef %481) #10
  store i32 1, ptr %12, align 4, !tbaa !5
  br label %1187

483:                                              ; preds = %467
  %484 = load i32, ptr %16, align 4, !tbaa !5
  %485 = icmp ne i32 %484, 0
  br i1 %485, label %486, label %489

486:                                              ; preds = %483
  %487 = load ptr, ptr %28, align 8, !tbaa !9
  %488 = call i32 (ptr, ...) @printf(ptr noundef @.str.47, ptr noundef %487)
  br label %489

489:                                              ; preds = %486, %483
  %490 = load i32, ptr %16, align 4, !tbaa !5
  %491 = icmp sgt i32 %490, 1
  br i1 %491, label %492, label %495

492:                                              ; preds = %489
  %493 = getelementptr inbounds [1024 x i8], ptr %27, i64 0, i64 0
  %494 = call i32 (ptr, ...) @printf(ptr noundef @.str.48, ptr noundef %493)
  br label %495

495:                                              ; preds = %492, %489
  %496 = load ptr, ptr %28, align 8, !tbaa !9
  %497 = call noalias ptr @fopen(ptr noundef %496, ptr noundef @.str.49)
  store ptr %497, ptr %29, align 8, !tbaa !9
  %498 = load ptr, ptr %29, align 8, !tbaa !9
  %499 = icmp ne ptr %498, null
  br i1 %499, label %504, label %500

500:                                              ; preds = %495
  store i32 4, ptr %12, align 4, !tbaa !5
  %501 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %502 = load ptr, ptr %28, align 8, !tbaa !9
  %503 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %501, i64 noundef 1024, ptr noundef @.str.50, ptr noundef %502) #10
  br label %1187

504:                                              ; preds = %495
  %505 = load ptr, ptr %29, align 8, !tbaa !9
  %506 = call i32 @vl_pgm_extract_head(ptr noundef %505, ptr noundef %32)
  store i32 %506, ptr %12, align 4, !tbaa !5
  %507 = load i32, ptr %12, align 4, !tbaa !5
  %508 = icmp ne i32 %507, 0
  br i1 %508, label %509, label %520

509:                                              ; preds = %504
  %510 = call i32 @vl_get_last_error()
  switch i32 %510, label %519 [
    i32 104, label %511
    i32 101, label %515
  ]

511:                                              ; preds = %509
  %512 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %513 = load ptr, ptr %28, align 8, !tbaa !9
  %514 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %512, i64 noundef 1024, ptr noundef @.str.51, ptr noundef %513) #10
  store i32 4, ptr %12, align 4, !tbaa !5
  br label %519

515:                                              ; preds = %509
  %516 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %517 = load ptr, ptr %28, align 8, !tbaa !9
  %518 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %516, i64 noundef 1024, ptr noundef @.str.52, ptr noundef %517) #10
  store i32 4, ptr %12, align 4, !tbaa !5
  br label %1187

519:                                              ; preds = %511, %509
  br label %520

520:                                              ; preds = %519, %504
  %521 = load i32, ptr %16, align 4, !tbaa !5
  %522 = icmp ne i32 %521, 0
  br i1 %522, label %523, label %529

523:                                              ; preds = %520
  %524 = getelementptr inbounds %struct._VlPgmImage, ptr %32, i32 0, i32 0
  %525 = load i64, ptr %524, align 8, !tbaa !20
  %526 = getelementptr inbounds %struct._VlPgmImage, ptr %32, i32 0, i32 1
  %527 = load i64, ptr %526, align 8, !tbaa !22
  %528 = call i32 (ptr, ...) @printf(ptr noundef @.str.53, i64 noundef %525, i64 noundef %527)
  br label %529

529:                                              ; preds = %523, %520
  %530 = call i64 @vl_pgm_get_npixels(ptr noundef %32)
  %531 = call i64 @vl_pgm_get_bpp(ptr noundef %32)
  %532 = mul i64 %530, %531
  %533 = mul i64 %532, 1
  %534 = call noalias ptr @malloc(i64 noundef %533) #12
  store ptr %534, ptr %30, align 8, !tbaa !9
  %535 = call i64 @vl_pgm_get_npixels(ptr noundef %32)
  %536 = call i64 @vl_pgm_get_bpp(ptr noundef %32)
  %537 = mul i64 %535, %536
  %538 = mul i64 %537, 4
  %539 = call noalias ptr @malloc(i64 noundef %538) #12
  store ptr %539, ptr %31, align 8, !tbaa !9
  %540 = load ptr, ptr %30, align 8, !tbaa !9
  %541 = icmp ne ptr %540, null
  br i1 %541, label %542, label %545

542:                                              ; preds = %529
  %543 = load ptr, ptr %31, align 8, !tbaa !9
  %544 = icmp ne ptr %543, null
  br i1 %544, label %548, label %545

545:                                              ; preds = %542, %529
  store i32 2, ptr %12, align 4, !tbaa !5
  %546 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %547 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %546, i64 noundef 1024, ptr noundef @.str.54) #10
  br label %1187

548:                                              ; preds = %542
  %549 = load ptr, ptr %29, align 8, !tbaa !9
  %550 = load ptr, ptr %30, align 8, !tbaa !9
  %551 = call i32 @vl_pgm_extract_data(ptr noundef %549, ptr noundef %32, ptr noundef %550)
  store i32 %551, ptr %12, align 4, !tbaa !5
  %552 = load i32, ptr %12, align 4, !tbaa !5
  %553 = icmp ne i32 %552, 0
  br i1 %553, label %554, label %557

554:                                              ; preds = %548
  %555 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %556 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %555, i64 noundef 1024, ptr noundef @.str.55) #10
  store i32 4, ptr %12, align 4, !tbaa !5
  br label %1187

557:                                              ; preds = %548
  store i64 0, ptr %34, align 8, !tbaa !18
  br label %558

558:                                              ; preds = %577, %557
  %559 = load i64, ptr %34, align 8, !tbaa !18
  %560 = getelementptr inbounds %struct._VlPgmImage, ptr %32, i32 0, i32 0
  %561 = load i64, ptr %560, align 8, !tbaa !20
  %562 = getelementptr inbounds %struct._VlPgmImage, ptr %32, i32 0, i32 1
  %563 = load i64, ptr %562, align 8, !tbaa !22
  %564 = mul i64 %561, %563
  %565 = trunc i64 %564 to i32
  %566 = zext i32 %565 to i64
  %567 = icmp ult i64 %559, %566
  br i1 %567, label %568, label %580

568:                                              ; preds = %558
  %569 = load ptr, ptr %30, align 8, !tbaa !9
  %570 = load i64, ptr %34, align 8, !tbaa !18
  %571 = getelementptr inbounds i8, ptr %569, i64 %570
  %572 = load i8, ptr %571, align 1, !tbaa !23
  %573 = uitofp i8 %572 to float
  %574 = load ptr, ptr %31, align 8, !tbaa !9
  %575 = load i64, ptr %34, align 8, !tbaa !18
  %576 = getelementptr inbounds float, ptr %574, i64 %575
  store float %573, ptr %576, align 4, !tbaa !24
  br label %577

577:                                              ; preds = %568
  %578 = load i64, ptr %34, align 8, !tbaa !18
  %579 = add i64 %578, 1
  store i64 %579, ptr %34, align 8, !tbaa !18
  br label %558, !llvm.loop !26

580:                                              ; preds = %558
  %581 = getelementptr inbounds %struct._VlFileMeta, ptr %24, i32 0, i32 0
  %582 = load i32, ptr %581, align 8, !tbaa !17
  %583 = icmp ne i32 %582, 0
  br i1 %583, label %584, label %708

584:                                              ; preds = %580
  %585 = getelementptr inbounds [1024 x i8], ptr %27, i64 0, i64 0
  %586 = call i32 @vl_file_meta_open(ptr noundef %24, ptr noundef %585, ptr noundef @.str.49)
  store i32 %586, ptr %12, align 4, !tbaa !5
  %587 = load i32, ptr %12, align 4, !tbaa !5
  %588 = icmp eq i32 %587, 1
  br i1 %588, label %589, label %592

589:                                              ; preds = %584
  %590 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %591 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %590, i64 noundef 1024, ptr noundef @.str.56) #10
  br label %1187

592:                                              ; preds = %584
  %593 = load i32, ptr %12, align 4, !tbaa !5
  %594 = icmp ne i32 %593, 0
  br i1 %594, label %595, label %600

595:                                              ; preds = %592
  %596 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %597 = getelementptr inbounds %struct._VlFileMeta, ptr %24, i32 0, i32 3
  %598 = getelementptr inbounds [1024 x i8], ptr %597, i64 0, i64 0
  %599 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %596, i64 noundef 1024, ptr noundef @.str.57, ptr noundef %598) #10
  br label %1187

600:                                              ; preds = %592
  br label %601

601:                                              ; preds = %600
  br label %602

602:                                              ; preds = %695, %601
  br label %603

603:                                              ; preds = %602
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #10
  %604 = call i32 @vl_file_meta_get_double(ptr noundef %24, ptr noundef %40)
  store i32 %604, ptr %12, align 4, !tbaa !5
  %605 = load i32, ptr %12, align 4, !tbaa !5
  %606 = icmp eq i32 %605, 5
  br i1 %606, label %607, label %608

607:                                              ; preds = %603
  store i32 13, ptr %26, align 4
  br label %693

608:                                              ; preds = %603
  %609 = load i32, ptr %12, align 4, !tbaa !5
  %610 = icmp ne i32 %609, 0
  br i1 %610, label %611, label %616

611:                                              ; preds = %608
  %612 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %613 = getelementptr inbounds %struct._VlFileMeta, ptr %24, i32 0, i32 3
  %614 = getelementptr inbounds [1024 x i8], ptr %613, i64 0, i64 0
  %615 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %612, i64 noundef 1024, ptr noundef @.str.58, ptr noundef %614) #10
  store i32 4, ptr %12, align 4, !tbaa !5
  store i32 7, ptr %26, align 4
  br label %693

616:                                              ; preds = %608
  br label %617

617:                                              ; preds = %616
  %618 = call i32 @vl_file_meta_get_double(ptr noundef %24, ptr noundef %41)
  store i32 %618, ptr %12, align 4, !tbaa !5
  %619 = load i32, ptr %12, align 4, !tbaa !5
  %620 = icmp ne i32 %619, 0
  br i1 %620, label %621, label %626

621:                                              ; preds = %617
  %622 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %623 = getelementptr inbounds %struct._VlFileMeta, ptr %24, i32 0, i32 3
  %624 = getelementptr inbounds [1024 x i8], ptr %623, i64 0, i64 0
  %625 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %622, i64 noundef 1024, ptr noundef @.str.58, ptr noundef %624) #10
  store i32 4, ptr %12, align 4, !tbaa !5
  store i32 7, ptr %26, align 4
  br label %693

626:                                              ; preds = %617
  %627 = call i32 @vl_file_meta_get_double(ptr noundef %24, ptr noundef %42)
  store i32 %627, ptr %12, align 4, !tbaa !5
  %628 = load i32, ptr %12, align 4, !tbaa !5
  %629 = icmp ne i32 %628, 0
  br i1 %629, label %630, label %635

630:                                              ; preds = %626
  %631 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %632 = getelementptr inbounds %struct._VlFileMeta, ptr %24, i32 0, i32 3
  %633 = getelementptr inbounds [1024 x i8], ptr %632, i64 0, i64 0
  %634 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %631, i64 noundef 1024, ptr noundef @.str.58, ptr noundef %633) #10
  store i32 4, ptr %12, align 4, !tbaa !5
  store i32 7, ptr %26, align 4
  br label %693

635:                                              ; preds = %626
  %636 = call i32 @vl_file_meta_get_double(ptr noundef %24, ptr noundef %43)
  store i32 %636, ptr %12, align 4, !tbaa !5
  %637 = load i32, ptr %12, align 4, !tbaa !5
  %638 = icmp eq i32 %637, 5
  br i1 %638, label %639, label %640

639:                                              ; preds = %635
  store i32 13, ptr %26, align 4
  br label %693

640:                                              ; preds = %635
  %641 = load i32, ptr %12, align 4, !tbaa !5
  %642 = icmp ne i32 %641, 0
  br i1 %642, label %643, label %648

643:                                              ; preds = %640
  %644 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %645 = getelementptr inbounds %struct._VlFileMeta, ptr %24, i32 0, i32 3
  %646 = getelementptr inbounds [1024 x i8], ptr %645, i64 0, i64 0
  %647 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %644, i64 noundef 1024, ptr noundef @.str.58, ptr noundef %646) #10
  store i32 4, ptr %12, align 4, !tbaa !5
  store i32 7, ptr %26, align 4
  br label %693

648:                                              ; preds = %640
  br label %649

649:                                              ; preds = %648
  %650 = load i32, ptr %39, align 4, !tbaa !5
  %651 = load i32, ptr %38, align 4, !tbaa !5
  %652 = add nsw i32 %651, 1
  %653 = icmp slt i32 %650, %652
  br i1 %653, label %654, label %662

654:                                              ; preds = %649
  %655 = load i32, ptr %39, align 4, !tbaa !5
  %656 = add nsw i32 %655, 10000
  store i32 %656, ptr %39, align 4, !tbaa !5
  %657 = load ptr, ptr %37, align 8, !tbaa !9
  %658 = load i32, ptr %39, align 4, !tbaa !5
  %659 = sext i32 %658 to i64
  %660 = mul i64 32, %659
  %661 = call ptr @realloc(ptr noundef %657, i64 noundef %660) #13
  store ptr %661, ptr %37, align 8, !tbaa !9
  br label %662

662:                                              ; preds = %654, %649
  %663 = load double, ptr %40, align 8, !tbaa !11
  %664 = load ptr, ptr %37, align 8, !tbaa !9
  %665 = load i32, ptr %38, align 4, !tbaa !5
  %666 = mul nsw i32 4, %665
  %667 = add nsw i32 %666, 0
  %668 = sext i32 %667 to i64
  %669 = getelementptr inbounds double, ptr %664, i64 %668
  store double %663, ptr %669, align 8, !tbaa !11
  %670 = load double, ptr %41, align 8, !tbaa !11
  %671 = load ptr, ptr %37, align 8, !tbaa !9
  %672 = load i32, ptr %38, align 4, !tbaa !5
  %673 = mul nsw i32 4, %672
  %674 = add nsw i32 %673, 1
  %675 = sext i32 %674 to i64
  %676 = getelementptr inbounds double, ptr %671, i64 %675
  store double %670, ptr %676, align 8, !tbaa !11
  %677 = load double, ptr %42, align 8, !tbaa !11
  %678 = load ptr, ptr %37, align 8, !tbaa !9
  %679 = load i32, ptr %38, align 4, !tbaa !5
  %680 = mul nsw i32 4, %679
  %681 = add nsw i32 %680, 2
  %682 = sext i32 %681 to i64
  %683 = getelementptr inbounds double, ptr %678, i64 %682
  store double %677, ptr %683, align 8, !tbaa !11
  %684 = load double, ptr %43, align 8, !tbaa !11
  %685 = load ptr, ptr %37, align 8, !tbaa !9
  %686 = load i32, ptr %38, align 4, !tbaa !5
  %687 = mul nsw i32 4, %686
  %688 = add nsw i32 %687, 3
  %689 = sext i32 %688 to i64
  %690 = getelementptr inbounds double, ptr %685, i64 %689
  store double %684, ptr %690, align 8, !tbaa !11
  %691 = load i32, ptr %38, align 4, !tbaa !5
  %692 = add nsw i32 %691, 1
  store i32 %692, ptr %38, align 4, !tbaa !5
  store i32 0, ptr %26, align 4
  br label %693

693:                                              ; preds = %662, %643, %639, %630, %621, %611, %607
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #10
  %694 = load i32, ptr %26, align 4
  switch i32 %694, label %1225 [
    i32 0, label %695
    i32 13, label %696
    i32 7, label %1187
  ]

695:                                              ; preds = %693
  br label %602

696:                                              ; preds = %693
  %697 = load ptr, ptr %37, align 8, !tbaa !9
  %698 = load i32, ptr %38, align 4, !tbaa !5
  %699 = sext i32 %698 to i64
  call void @qsort(ptr noundef %697, i64 noundef %699, i64 noundef 32, ptr noundef @korder)
  %700 = load i32, ptr %16, align 4, !tbaa !5
  %701 = icmp ne i32 %700, 0
  br i1 %701, label %702, label %707

702:                                              ; preds = %696
  %703 = load i32, ptr %38, align 4, !tbaa !5
  %704 = getelementptr inbounds %struct._VlFileMeta, ptr %24, i32 0, i32 3
  %705 = getelementptr inbounds [1024 x i8], ptr %704, i64 0, i64 0
  %706 = call i32 (ptr, ...) @printf(ptr noundef @.str.59, i32 noundef %703, ptr noundef %705)
  br label %707

707:                                              ; preds = %702, %696
  call void @vl_file_meta_close(ptr noundef %24)
  br label %708

708:                                              ; preds = %707, %580
  %709 = getelementptr inbounds [1024 x i8], ptr %27, i64 0, i64 0
  %710 = call i32 @vl_file_meta_open(ptr noundef %19, ptr noundef %709, ptr noundef @.str.60)
  store i32 %710, ptr %12, align 4, !tbaa !5
  %711 = load i32, ptr %12, align 4, !tbaa !5
  %712 = icmp eq i32 %711, 1
  br i1 %712, label %713, label %716

713:                                              ; preds = %708
  %714 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %715 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %714, i64 noundef 1024, ptr noundef @.str.56) #10
  br label %1187

716:                                              ; preds = %708
  %717 = load i32, ptr %12, align 4, !tbaa !5
  %718 = icmp ne i32 %717, 0
  br i1 %718, label %719, label %724

719:                                              ; preds = %716
  %720 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %721 = getelementptr inbounds %struct._VlFileMeta, ptr %19, i32 0, i32 3
  %722 = getelementptr inbounds [1024 x i8], ptr %721, i64 0, i64 0
  %723 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %720, i64 noundef 1024, ptr noundef @.str.61, ptr noundef %722) #10
  br label %1187

724:                                              ; preds = %716
  br label %725

725:                                              ; preds = %724
  %726 = getelementptr inbounds [1024 x i8], ptr %27, i64 0, i64 0
  %727 = call i32 @vl_file_meta_open(ptr noundef %21, ptr noundef %726, ptr noundef @.str.60)
  store i32 %727, ptr %12, align 4, !tbaa !5
  %728 = load i32, ptr %12, align 4, !tbaa !5
  %729 = icmp eq i32 %728, 1
  br i1 %729, label %730, label %733

730:                                              ; preds = %725
  %731 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %732 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %731, i64 noundef 1024, ptr noundef @.str.56) #10
  br label %1187

733:                                              ; preds = %725
  %734 = load i32, ptr %12, align 4, !tbaa !5
  %735 = icmp ne i32 %734, 0
  br i1 %735, label %736, label %741

736:                                              ; preds = %733
  %737 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %738 = getelementptr inbounds %struct._VlFileMeta, ptr %21, i32 0, i32 3
  %739 = getelementptr inbounds [1024 x i8], ptr %738, i64 0, i64 0
  %740 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %737, i64 noundef 1024, ptr noundef @.str.61, ptr noundef %739) #10
  br label %1187

741:                                              ; preds = %733
  br label %742

742:                                              ; preds = %741
  %743 = getelementptr inbounds [1024 x i8], ptr %27, i64 0, i64 0
  %744 = call i32 @vl_file_meta_open(ptr noundef %20, ptr noundef %743, ptr noundef @.str.60)
  store i32 %744, ptr %12, align 4, !tbaa !5
  %745 = load i32, ptr %12, align 4, !tbaa !5
  %746 = icmp eq i32 %745, 1
  br i1 %746, label %747, label %750

747:                                              ; preds = %742
  %748 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %749 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %748, i64 noundef 1024, ptr noundef @.str.56) #10
  br label %1187

750:                                              ; preds = %742
  %751 = load i32, ptr %12, align 4, !tbaa !5
  %752 = icmp ne i32 %751, 0
  br i1 %752, label %753, label %758

753:                                              ; preds = %750
  %754 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %755 = getelementptr inbounds %struct._VlFileMeta, ptr %20, i32 0, i32 3
  %756 = getelementptr inbounds [1024 x i8], ptr %755, i64 0, i64 0
  %757 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %754, i64 noundef 1024, ptr noundef @.str.61, ptr noundef %756) #10
  br label %1187

758:                                              ; preds = %750
  br label %759

759:                                              ; preds = %758
  %760 = getelementptr inbounds [1024 x i8], ptr %27, i64 0, i64 0
  %761 = call i32 @vl_file_meta_open(ptr noundef %22, ptr noundef %760, ptr noundef @.str.60)
  store i32 %761, ptr %12, align 4, !tbaa !5
  %762 = load i32, ptr %12, align 4, !tbaa !5
  %763 = icmp eq i32 %762, 1
  br i1 %763, label %764, label %767

764:                                              ; preds = %759
  %765 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %766 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %765, i64 noundef 1024, ptr noundef @.str.56) #10
  br label %1187

767:                                              ; preds = %759
  %768 = load i32, ptr %12, align 4, !tbaa !5
  %769 = icmp ne i32 %768, 0
  br i1 %769, label %770, label %775

770:                                              ; preds = %767
  %771 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %772 = getelementptr inbounds %struct._VlFileMeta, ptr %22, i32 0, i32 3
  %773 = getelementptr inbounds [1024 x i8], ptr %772, i64 0, i64 0
  %774 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %771, i64 noundef 1024, ptr noundef @.str.61, ptr noundef %773) #10
  br label %1187

775:                                              ; preds = %767
  br label %776

776:                                              ; preds = %775
  %777 = load i32, ptr %16, align 4, !tbaa !5
  %778 = icmp sgt i32 %777, 1
  br i1 %778, label %779, label %812

779:                                              ; preds = %776
  %780 = getelementptr inbounds %struct._VlFileMeta, ptr %19, i32 0, i32 0
  %781 = load i32, ptr %780, align 8, !tbaa !17
  %782 = icmp ne i32 %781, 0
  br i1 %782, label %783, label %787

783:                                              ; preds = %779
  %784 = getelementptr inbounds %struct._VlFileMeta, ptr %19, i32 0, i32 3
  %785 = getelementptr inbounds [1024 x i8], ptr %784, i64 0, i64 0
  %786 = call i32 (ptr, ...) @printf(ptr noundef @.str.62, ptr noundef %785)
  br label %787

787:                                              ; preds = %783, %779
  %788 = getelementptr inbounds %struct._VlFileMeta, ptr %20, i32 0, i32 0
  %789 = load i32, ptr %788, align 8, !tbaa !17
  %790 = icmp ne i32 %789, 0
  br i1 %790, label %791, label %795

791:                                              ; preds = %787
  %792 = getelementptr inbounds %struct._VlFileMeta, ptr %20, i32 0, i32 3
  %793 = getelementptr inbounds [1024 x i8], ptr %792, i64 0, i64 0
  %794 = call i32 (ptr, ...) @printf(ptr noundef @.str.63, ptr noundef %793)
  br label %795

795:                                              ; preds = %791, %787
  %796 = getelementptr inbounds %struct._VlFileMeta, ptr %21, i32 0, i32 0
  %797 = load i32, ptr %796, align 8, !tbaa !17
  %798 = icmp ne i32 %797, 0
  br i1 %798, label %799, label %803

799:                                              ; preds = %795
  %800 = getelementptr inbounds %struct._VlFileMeta, ptr %21, i32 0, i32 3
  %801 = getelementptr inbounds [1024 x i8], ptr %800, i64 0, i64 0
  %802 = call i32 (ptr, ...) @printf(ptr noundef @.str.64, ptr noundef %801)
  br label %803

803:                                              ; preds = %799, %795
  %804 = getelementptr inbounds %struct._VlFileMeta, ptr %22, i32 0, i32 0
  %805 = load i32, ptr %804, align 8, !tbaa !17
  %806 = icmp ne i32 %805, 0
  br i1 %806, label %807, label %811

807:                                              ; preds = %803
  %808 = getelementptr inbounds %struct._VlFileMeta, ptr %22, i32 0, i32 3
  %809 = getelementptr inbounds [1024 x i8], ptr %808, i64 0, i64 0
  %810 = call i32 (ptr, ...) @printf(ptr noundef @.str.65, ptr noundef %809)
  br label %811

811:                                              ; preds = %807, %803
  br label %812

812:                                              ; preds = %811, %776
  %813 = getelementptr inbounds %struct._VlPgmImage, ptr %32, i32 0, i32 0
  %814 = load i64, ptr %813, align 8, !tbaa !20
  %815 = trunc i64 %814 to i32
  %816 = getelementptr inbounds %struct._VlPgmImage, ptr %32, i32 0, i32 1
  %817 = load i64, ptr %816, align 8, !tbaa !22
  %818 = trunc i64 %817 to i32
  %819 = load i32, ptr %9, align 4, !tbaa !5
  %820 = load i32, ptr %10, align 4, !tbaa !5
  %821 = load i32, ptr %11, align 4, !tbaa !5
  %822 = call ptr @vl_sift_new(i32 noundef %815, i32 noundef %818, i32 noundef %819, i32 noundef %820, i32 noundef %821)
  store ptr %822, ptr %33, align 8, !tbaa !9
  %823 = load double, ptr %6, align 8, !tbaa !11
  %824 = fcmp oge double %823, 0.000000e+00
  br i1 %824, label %825, label %828

825:                                              ; preds = %812
  %826 = load ptr, ptr %33, align 8, !tbaa !9
  %827 = load double, ptr %6, align 8, !tbaa !11
  call void @vl_sift_set_edge_thresh(ptr noundef %826, double noundef %827)
  br label %828

828:                                              ; preds = %825, %812
  %829 = load double, ptr %7, align 8, !tbaa !11
  %830 = fcmp oge double %829, 0.000000e+00
  br i1 %830, label %831, label %834

831:                                              ; preds = %828
  %832 = load ptr, ptr %33, align 8, !tbaa !9
  %833 = load double, ptr %7, align 8, !tbaa !11
  call void @vl_sift_set_peak_thresh(ptr noundef %832, double noundef %833)
  br label %834

834:                                              ; preds = %831, %828
  %835 = load double, ptr %8, align 8, !tbaa !11
  %836 = fcmp oge double %835, 0.000000e+00
  br i1 %836, label %837, label %840

837:                                              ; preds = %834
  %838 = load ptr, ptr %33, align 8, !tbaa !9
  %839 = load double, ptr %8, align 8, !tbaa !11
  call void @vl_sift_set_magnif(ptr noundef %838, double noundef %839)
  br label %840

840:                                              ; preds = %837, %834
  %841 = load ptr, ptr %33, align 8, !tbaa !9
  %842 = icmp ne ptr %841, null
  br i1 %842, label %846, label %843

843:                                              ; preds = %840
  %844 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %845 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %844, i64 noundef 1024, ptr noundef @.str.66) #10
  store i32 2, ptr %12, align 4, !tbaa !5
  br label %1187

846:                                              ; preds = %840
  %847 = load i32, ptr %16, align 4, !tbaa !5
  %848 = icmp sgt i32 %847, 1
  br i1 %848, label %849, label %879

849:                                              ; preds = %846
  %850 = call i32 (ptr, ...) @printf(ptr noundef @.str.67)
  %851 = load ptr, ptr %33, align 8, !tbaa !9
  %852 = call i32 @vl_sift_get_noctaves(ptr noundef %851)
  %853 = call i32 (ptr, ...) @printf(ptr noundef @.str.68, i32 noundef %852)
  %854 = load ptr, ptr %33, align 8, !tbaa !9
  %855 = call i32 @vl_sift_get_nlevels(ptr noundef %854)
  %856 = call i32 (ptr, ...) @printf(ptr noundef @.str.69, i32 noundef %855)
  %857 = load ptr, ptr %33, align 8, !tbaa !9
  %858 = call i32 @vl_sift_get_octave_first(ptr noundef %857)
  %859 = call i32 (ptr, ...) @printf(ptr noundef @.str.70, i32 noundef %858)
  %860 = load ptr, ptr %33, align 8, !tbaa !9
  %861 = call double @vl_sift_get_edge_thresh(ptr noundef %860)
  %862 = call i32 (ptr, ...) @printf(ptr noundef @.str.71, double noundef %861)
  %863 = load ptr, ptr %33, align 8, !tbaa !9
  %864 = call double @vl_sift_get_peak_thresh(ptr noundef %863)
  %865 = call i32 (ptr, ...) @printf(ptr noundef @.str.72, double noundef %864)
  %866 = load ptr, ptr %33, align 8, !tbaa !9
  %867 = call double @vl_sift_get_magnif(ptr noundef %866)
  %868 = call i32 (ptr, ...) @printf(ptr noundef @.str.73, double noundef %867)
  %869 = load ptr, ptr %37, align 8, !tbaa !9
  %870 = icmp ne ptr %869, null
  %871 = zext i1 %870 to i64
  %872 = select i1 %870, ptr @.str.36, ptr @.str.37
  %873 = call i32 (ptr, ...) @printf(ptr noundef @.str.74, ptr noundef %872)
  %874 = load i32, ptr %18, align 4, !tbaa !5
  %875 = icmp ne i32 %874, 0
  %876 = zext i1 %875 to i64
  %877 = select i1 %875, ptr @.str.36, ptr @.str.37
  %878 = call i32 (ptr, ...) @printf(ptr noundef @.str.75, ptr noundef %877)
  br label %879

879:                                              ; preds = %849, %846
  store i32 0, ptr %35, align 4, !tbaa !5
  store i32 1, ptr %36, align 4, !tbaa !5
  br label %880

880:                                              ; preds = %1150, %879
  br label %881

881:                                              ; preds = %880
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #10
  store ptr null, ptr %44, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #10
  %882 = load i32, ptr %36, align 4, !tbaa !5
  %883 = icmp ne i32 %882, 0
  br i1 %883, label %884, label %888

884:                                              ; preds = %881
  store i32 0, ptr %36, align 4, !tbaa !5
  %885 = load ptr, ptr %33, align 8, !tbaa !9
  %886 = load ptr, ptr %31, align 8, !tbaa !9
  %887 = call i32 @vl_sift_process_first_octave(ptr noundef %885, ptr noundef %886)
  store i32 %887, ptr %12, align 4, !tbaa !5
  br label %891

888:                                              ; preds = %881
  %889 = load ptr, ptr %33, align 8, !tbaa !9
  %890 = call i32 @vl_sift_process_next_octave(ptr noundef %889)
  store i32 %890, ptr %12, align 4, !tbaa !5
  br label %891

891:                                              ; preds = %888, %884
  %892 = load i32, ptr %12, align 4, !tbaa !5
  %893 = icmp ne i32 %892, 0
  br i1 %893, label %894, label %895

894:                                              ; preds = %891
  store i32 0, ptr %12, align 4, !tbaa !5
  store i32 15, ptr %26, align 4
  br label %1148

895:                                              ; preds = %891
  %896 = load i32, ptr %16, align 4, !tbaa !5
  %897 = icmp sgt i32 %896, 1
  br i1 %897, label %898, label %902

898:                                              ; preds = %895
  %899 = load ptr, ptr %33, align 8, !tbaa !9
  %900 = call i32 @vl_sift_get_octave_index(ptr noundef %899)
  %901 = call i32 (ptr, ...) @printf(ptr noundef @.str.76, i32 noundef %900)
  br label %902

902:                                              ; preds = %898, %895
  %903 = getelementptr inbounds %struct._VlFileMeta, ptr %23, i32 0, i32 0
  %904 = load i32, ptr %903, align 8, !tbaa !17
  %905 = icmp ne i32 %904, 0
  br i1 %905, label %906, label %917

906:                                              ; preds = %902
  %907 = load ptr, ptr %33, align 8, !tbaa !9
  %908 = getelementptr inbounds [1024 x i8], ptr %27, i64 0, i64 0
  %909 = load i32, ptr %16, align 4, !tbaa !5
  %910 = call i32 @save_gss(ptr noundef %907, ptr noundef %23, ptr noundef %908, i32 noundef %909)
  store i32 %910, ptr %12, align 4, !tbaa !5
  %911 = load i32, ptr %12, align 4, !tbaa !5
  %912 = icmp ne i32 %911, 0
  br i1 %912, label %913, label %916

913:                                              ; preds = %906
  %914 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %915 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %914, i64 noundef 1024, ptr noundef @.str.77) #10
  store i32 7, ptr %26, align 4
  br label %1148

916:                                              ; preds = %906
  br label %917

917:                                              ; preds = %916, %902
  %918 = load ptr, ptr %37, align 8, !tbaa !9
  %919 = icmp eq ptr %918, null
  br i1 %919, label %920, label %932

920:                                              ; preds = %917
  %921 = load ptr, ptr %33, align 8, !tbaa !9
  call void @vl_sift_detect(ptr noundef %921)
  %922 = load ptr, ptr %33, align 8, !tbaa !9
  %923 = call ptr @vl_sift_get_keypoints(ptr noundef %922)
  store ptr %923, ptr %44, align 8, !tbaa !9
  %924 = load ptr, ptr %33, align 8, !tbaa !9
  %925 = call i32 @vl_sift_get_nkeypoints(ptr noundef %924)
  store i32 %925, ptr %45, align 4, !tbaa !5
  store i32 0, ptr %35, align 4, !tbaa !5
  %926 = load i32, ptr %16, align 4, !tbaa !5
  %927 = icmp sgt i32 %926, 1
  br i1 %927, label %928, label %931

928:                                              ; preds = %920
  %929 = load i32, ptr %45, align 4, !tbaa !5
  %930 = call i32 (ptr, ...) @printf(ptr noundef @.str.78, i32 noundef %929)
  br label %931

931:                                              ; preds = %928, %920
  br label %934

932:                                              ; preds = %917
  %933 = load i32, ptr %38, align 4, !tbaa !5
  store i32 %933, ptr %45, align 4, !tbaa !5
  br label %934

934:                                              ; preds = %932, %931
  br label %935

935:                                              ; preds = %1144, %934
  %936 = load i32, ptr %35, align 4, !tbaa !5
  %937 = load i32, ptr %45, align 4, !tbaa !5
  %938 = icmp slt i32 %936, %937
  br i1 %938, label %939, label %1147

939:                                              ; preds = %935
  call void @llvm.lifetime.start.p0(i64 32, ptr %46) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %48) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #10
  %940 = load ptr, ptr %37, align 8, !tbaa !9
  %941 = icmp ne ptr %940, null
  br i1 %941, label %942, label %989

942:                                              ; preds = %939
  %943 = load ptr, ptr %33, align 8, !tbaa !9
  %944 = load ptr, ptr %37, align 8, !tbaa !9
  %945 = load i32, ptr %35, align 4, !tbaa !5
  %946 = mul nsw i32 4, %945
  %947 = add nsw i32 %946, 0
  %948 = sext i32 %947 to i64
  %949 = getelementptr inbounds double, ptr %944, i64 %948
  %950 = load double, ptr %949, align 8, !tbaa !11
  %951 = load ptr, ptr %37, align 8, !tbaa !9
  %952 = load i32, ptr %35, align 4, !tbaa !5
  %953 = mul nsw i32 4, %952
  %954 = add nsw i32 %953, 1
  %955 = sext i32 %954 to i64
  %956 = getelementptr inbounds double, ptr %951, i64 %955
  %957 = load double, ptr %956, align 8, !tbaa !11
  %958 = load ptr, ptr %37, align 8, !tbaa !9
  %959 = load i32, ptr %35, align 4, !tbaa !5
  %960 = mul nsw i32 4, %959
  %961 = add nsw i32 %960, 2
  %962 = sext i32 %961 to i64
  %963 = getelementptr inbounds double, ptr %958, i64 %962
  %964 = load double, ptr %963, align 8, !tbaa !11
  call void @vl_sift_keypoint_init(ptr noundef %943, ptr noundef %48, double noundef %950, double noundef %957, double noundef %964)
  %965 = getelementptr inbounds %struct._VlSiftKeypoint, ptr %48, i32 0, i32 0
  %966 = load i32, ptr %965, align 4, !tbaa !27
  %967 = load ptr, ptr %33, align 8, !tbaa !9
  %968 = call i32 @vl_sift_get_octave_index(ptr noundef %967)
  %969 = icmp ne i32 %966, %968
  br i1 %969, label %970, label %971

970:                                              ; preds = %942
  store i32 16, ptr %26, align 4
  br label %1141

971:                                              ; preds = %942
  store ptr %48, ptr %49, align 8, !tbaa !9
  %972 = load i32, ptr %18, align 4, !tbaa !5
  %973 = icmp ne i32 %972, 0
  br i1 %973, label %974, label %979

974:                                              ; preds = %971
  %975 = load ptr, ptr %33, align 8, !tbaa !9
  %976 = getelementptr inbounds [4 x double], ptr %46, i64 0, i64 0
  %977 = load ptr, ptr %49, align 8, !tbaa !9
  %978 = call i32 @vl_sift_calc_keypoint_orientations(ptr noundef %975, ptr noundef %976, ptr noundef %977)
  store i32 %978, ptr %47, align 4, !tbaa !5
  br label %988

979:                                              ; preds = %971
  %980 = load ptr, ptr %37, align 8, !tbaa !9
  %981 = load i32, ptr %35, align 4, !tbaa !5
  %982 = mul nsw i32 4, %981
  %983 = add nsw i32 %982, 3
  %984 = sext i32 %983 to i64
  %985 = getelementptr inbounds double, ptr %980, i64 %984
  %986 = load double, ptr %985, align 8, !tbaa !11
  %987 = getelementptr inbounds [4 x double], ptr %46, i64 0, i64 0
  store double %986, ptr %987, align 16, !tbaa !11
  store i32 1, ptr %47, align 4, !tbaa !5
  br label %988

988:                                              ; preds = %979, %974
  br label %998

989:                                              ; preds = %939
  %990 = load ptr, ptr %44, align 8, !tbaa !9
  %991 = load i32, ptr %35, align 4, !tbaa !5
  %992 = sext i32 %991 to i64
  %993 = getelementptr inbounds %struct._VlSiftKeypoint, ptr %990, i64 %992
  store ptr %993, ptr %49, align 8, !tbaa !9
  %994 = load ptr, ptr %33, align 8, !tbaa !9
  %995 = getelementptr inbounds [4 x double], ptr %46, i64 0, i64 0
  %996 = load ptr, ptr %49, align 8, !tbaa !9
  %997 = call i32 @vl_sift_calc_keypoint_orientations(ptr noundef %994, ptr noundef %995, ptr noundef %996)
  store i32 %997, ptr %47, align 4, !tbaa !5
  br label %998

998:                                              ; preds = %989, %988
  store i64 0, ptr %34, align 8, !tbaa !18
  br label %999

999:                                              ; preds = %1137, %998
  %1000 = load i64, ptr %34, align 8, !tbaa !18
  %1001 = load i32, ptr %47, align 4, !tbaa !5
  %1002 = zext i32 %1001 to i64
  %1003 = icmp ult i64 %1000, %1002
  br i1 %1003, label %1004, label %1140

1004:                                             ; preds = %999
  call void @llvm.lifetime.start.p0(i64 512, ptr %50) #10
  %1005 = getelementptr inbounds %struct._VlFileMeta, ptr %19, i32 0, i32 0
  %1006 = load i32, ptr %1005, align 8, !tbaa !17
  %1007 = icmp ne i32 %1006, 0
  br i1 %1007, label %1012, label %1008

1008:                                             ; preds = %1004
  %1009 = getelementptr inbounds %struct._VlFileMeta, ptr %21, i32 0, i32 0
  %1010 = load i32, ptr %1009, align 8, !tbaa !17
  %1011 = icmp ne i32 %1010, 0
  br i1 %1011, label %1012, label %1019

1012:                                             ; preds = %1008, %1004
  %1013 = load ptr, ptr %33, align 8, !tbaa !9
  %1014 = getelementptr inbounds [128 x float], ptr %50, i64 0, i64 0
  %1015 = load ptr, ptr %49, align 8, !tbaa !9
  %1016 = load i64, ptr %34, align 8, !tbaa !18
  %1017 = getelementptr inbounds [4 x double], ptr %46, i64 0, i64 %1016
  %1018 = load double, ptr %1017, align 8, !tbaa !11
  call void @vl_sift_calc_keypoint_descriptor(ptr noundef %1013, ptr noundef %1014, ptr noundef %1015, double noundef %1018)
  br label %1019

1019:                                             ; preds = %1012, %1008
  %1020 = getelementptr inbounds %struct._VlFileMeta, ptr %19, i32 0, i32 0
  %1021 = load i32, ptr %1020, align 8, !tbaa !17
  %1022 = icmp ne i32 %1021, 0
  br i1 %1022, label %1023, label %1067

1023:                                             ; preds = %1019
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #10
  %1024 = load ptr, ptr %49, align 8, !tbaa !9
  %1025 = getelementptr inbounds %struct._VlSiftKeypoint, ptr %1024, i32 0, i32 4
  %1026 = load float, ptr %1025, align 4, !tbaa !29
  %1027 = fpext float %1026 to double
  %1028 = call i32 @vl_file_meta_put_double(ptr noundef %19, double noundef %1027)
  %1029 = load ptr, ptr %49, align 8, !tbaa !9
  %1030 = getelementptr inbounds %struct._VlSiftKeypoint, ptr %1029, i32 0, i32 5
  %1031 = load float, ptr %1030, align 4, !tbaa !30
  %1032 = fpext float %1031 to double
  %1033 = call i32 @vl_file_meta_put_double(ptr noundef %19, double noundef %1032)
  %1034 = load ptr, ptr %49, align 8, !tbaa !9
  %1035 = getelementptr inbounds %struct._VlSiftKeypoint, ptr %1034, i32 0, i32 7
  %1036 = load float, ptr %1035, align 4, !tbaa !31
  %1037 = fpext float %1036 to double
  %1038 = call i32 @vl_file_meta_put_double(ptr noundef %19, double noundef %1037)
  %1039 = load i64, ptr %34, align 8, !tbaa !18
  %1040 = getelementptr inbounds [4 x double], ptr %46, i64 0, i64 %1039
  %1041 = load double, ptr %1040, align 8, !tbaa !11
  %1042 = call i32 @vl_file_meta_put_double(ptr noundef %19, double noundef %1041)
  store i32 0, ptr %51, align 4, !tbaa !5
  br label %1043

1043:                                             ; preds = %1055, %1023
  %1044 = load i32, ptr %51, align 4, !tbaa !5
  %1045 = icmp slt i32 %1044, 128
  br i1 %1045, label %1046, label %1058

1046:                                             ; preds = %1043
  %1047 = load i32, ptr %51, align 4, !tbaa !5
  %1048 = sext i32 %1047 to i64
  %1049 = getelementptr inbounds [128 x float], ptr %50, i64 0, i64 %1048
  %1050 = load float, ptr %1049, align 4, !tbaa !24
  %1051 = fpext float %1050 to double
  %1052 = fmul double 5.120000e+02, %1051
  %1053 = fptoui double %1052 to i8
  %1054 = call i32 @vl_file_meta_put_uint8(ptr noundef %19, i8 noundef zeroext %1053)
  br label %1055

1055:                                             ; preds = %1046
  %1056 = load i32, ptr %51, align 4, !tbaa !5
  %1057 = add nsw i32 %1056, 1
  store i32 %1057, ptr %51, align 4, !tbaa !5
  br label %1043, !llvm.loop !32

1058:                                             ; preds = %1043
  %1059 = getelementptr inbounds %struct._VlFileMeta, ptr %19, i32 0, i32 2
  %1060 = load i32, ptr %1059, align 4, !tbaa !13
  %1061 = icmp eq i32 %1060, 1
  br i1 %1061, label %1062, label %1066

1062:                                             ; preds = %1058
  %1063 = getelementptr inbounds %struct._VlFileMeta, ptr %19, i32 0, i32 4
  %1064 = load ptr, ptr %1063, align 8, !tbaa !33
  %1065 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1064, ptr noundef @.str.79) #10
  br label %1066

1066:                                             ; preds = %1062, %1058
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #10
  br label %1067

1067:                                             ; preds = %1066, %1019
  %1068 = getelementptr inbounds %struct._VlFileMeta, ptr %20, i32 0, i32 0
  %1069 = load i32, ptr %1068, align 8, !tbaa !17
  %1070 = icmp ne i32 %1069, 0
  br i1 %1070, label %1071, label %1099

1071:                                             ; preds = %1067
  %1072 = load ptr, ptr %49, align 8, !tbaa !9
  %1073 = getelementptr inbounds %struct._VlSiftKeypoint, ptr %1072, i32 0, i32 4
  %1074 = load float, ptr %1073, align 4, !tbaa !29
  %1075 = fpext float %1074 to double
  %1076 = call i32 @vl_file_meta_put_double(ptr noundef %20, double noundef %1075)
  %1077 = load ptr, ptr %49, align 8, !tbaa !9
  %1078 = getelementptr inbounds %struct._VlSiftKeypoint, ptr %1077, i32 0, i32 5
  %1079 = load float, ptr %1078, align 4, !tbaa !30
  %1080 = fpext float %1079 to double
  %1081 = call i32 @vl_file_meta_put_double(ptr noundef %20, double noundef %1080)
  %1082 = load ptr, ptr %49, align 8, !tbaa !9
  %1083 = getelementptr inbounds %struct._VlSiftKeypoint, ptr %1082, i32 0, i32 7
  %1084 = load float, ptr %1083, align 4, !tbaa !31
  %1085 = fpext float %1084 to double
  %1086 = call i32 @vl_file_meta_put_double(ptr noundef %20, double noundef %1085)
  %1087 = load i64, ptr %34, align 8, !tbaa !18
  %1088 = getelementptr inbounds [4 x double], ptr %46, i64 0, i64 %1087
  %1089 = load double, ptr %1088, align 8, !tbaa !11
  %1090 = call i32 @vl_file_meta_put_double(ptr noundef %20, double noundef %1089)
  %1091 = getelementptr inbounds %struct._VlFileMeta, ptr %20, i32 0, i32 2
  %1092 = load i32, ptr %1091, align 4, !tbaa !13
  %1093 = icmp eq i32 %1092, 1
  br i1 %1093, label %1094, label %1098

1094:                                             ; preds = %1071
  %1095 = getelementptr inbounds %struct._VlFileMeta, ptr %20, i32 0, i32 4
  %1096 = load ptr, ptr %1095, align 8, !tbaa !33
  %1097 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1096, ptr noundef @.str.79) #10
  br label %1098

1098:                                             ; preds = %1094, %1071
  br label %1099

1099:                                             ; preds = %1098, %1067
  %1100 = getelementptr inbounds %struct._VlFileMeta, ptr %21, i32 0, i32 0
  %1101 = load i32, ptr %1100, align 8, !tbaa !17
  %1102 = icmp ne i32 %1101, 0
  br i1 %1102, label %1103, label %1136

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

1104:                                             ; preds = %1124, %1103
  %1105 = load i32, ptr %52, align 4, !tbaa !5
  %1106 = icmp slt i32 %1105, 128
  br i1 %1106, label %1107, label %1127

1107:                                             ; preds = %1104
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #10
  %1108 = load i32, ptr %52, align 4, !tbaa !5
  %1109 = sext i32 %1108 to i64
  %1110 = getelementptr inbounds [128 x float], ptr %50, i64 0, i64 %1109
  %1111 = load float, ptr %1110, align 4, !tbaa !24
  %1112 = fpext float %1111 to double
  %1113 = fmul double 5.120000e+02, %1112
  store double %1113, ptr %53, align 8, !tbaa !11
  %1114 = load double, ptr %53, align 8, !tbaa !11
  %1115 = fcmp olt double %1114, 2.550000e+02
  br i1 %1115, label %1116, label %1118

1116:                                             ; preds = %1107
  %1117 = load double, ptr %53, align 8, !tbaa !11
  br label %1119

1118:                                             ; preds = %1107
  br label %1119

1119:                                             ; preds = %1118, %1116
  %1120 = phi double [ %1117, %1116 ], [ 2.550000e+02, %1118 ]
  store double %1120, ptr %53, align 8, !tbaa !11
  %1121 = load double, ptr %53, align 8, !tbaa !11
  %1122 = fptoui double %1121 to i8
  %1123 = call i32 @vl_file_meta_put_uint8(ptr noundef %21, i8 noundef zeroext %1122)
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #10
  br label %1124

1124:                                             ; preds = %1119
  %1125 = load i32, ptr %52, align 4, !tbaa !5
  %1126 = add nsw i32 %1125, 1
  store i32 %1126, ptr %52, align 4, !tbaa !5
  br label %1104, !llvm.loop !34

1127:                                             ; preds = %1104
  %1128 = getelementptr inbounds %struct._VlFileMeta, ptr %21, i32 0, i32 2
  %1129 = load i32, ptr %1128, align 4, !tbaa !13
  %1130 = icmp eq i32 %1129, 1
  br i1 %1130, label %1131, label %1135

1131:                                             ; preds = %1127
  %1132 = getelementptr inbounds %struct._VlFileMeta, ptr %21, i32 0, i32 4
  %1133 = load ptr, ptr %1132, align 8, !tbaa !33
  %1134 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1133, ptr noundef @.str.79) #10
  br label %1135

1135:                                             ; preds = %1131, %1127
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #10
  br label %1136

1136:                                             ; preds = %1135, %1099
  call void @llvm.lifetime.end.p0(i64 512, ptr %50) #10
  br label %1137

1137:                                             ; preds = %1136
  %1138 = load i64, ptr %34, align 8, !tbaa !18
  %1139 = add i64 %1138, 1
  store i64 %1139, ptr %34, align 8, !tbaa !18
  br label %999, !llvm.loop !35

1140:                                             ; preds = %999
  store i32 0, ptr %26, align 4
  br label %1141

1141:                                             ; preds = %1140, %970
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #10
  %1142 = load i32, ptr %26, align 4
  switch i32 %1142, label %1225 [
    i32 0, label %1143
    i32 16, label %1147
  ]

1143:                                             ; preds = %1141
  br label %1144

1144:                                             ; preds = %1143
  %1145 = load i32, ptr %35, align 4, !tbaa !5
  %1146 = add nsw i32 %1145, 1
  store i32 %1146, ptr %35, align 4, !tbaa !5
  br label %935, !llvm.loop !36

1147:                                             ; preds = %1141, %935
  store i32 0, ptr %26, align 4
  br label %1148

1148:                                             ; preds = %1147, %913, %894
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #10
  %1149 = load i32, ptr %26, align 4
  switch i32 %1149, label %1225 [
    i32 0, label %1150
    i32 15, label %1151
    i32 7, label %1187
  ]

1150:                                             ; preds = %1148
  br label %880

1151:                                             ; preds = %1148
  %1152 = getelementptr inbounds %struct._VlFileMeta, ptr %22, i32 0, i32 0
  %1153 = load i32, ptr %1152, align 8, !tbaa !17
  %1154 = icmp ne i32 %1153, 0
  br i1 %1154, label %1155, label %1186

1155:                                             ; preds = %1151
  %1156 = getelementptr inbounds %struct._VlFileMeta, ptr %22, i32 0, i32 4
  %1157 = load ptr, ptr %1156, align 8, !tbaa !33
  %1158 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1157, ptr noundef @.str.80) #10
  %1159 = getelementptr inbounds %struct._VlFileMeta, ptr %22, i32 0, i32 4
  %1160 = load ptr, ptr %1159, align 8, !tbaa !33
  %1161 = load ptr, ptr %28, align 8, !tbaa !9
  %1162 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1160, ptr noundef @.str.81, ptr noundef %1161) #10
  %1163 = getelementptr inbounds %struct._VlFileMeta, ptr %21, i32 0, i32 0
  %1164 = load i32, ptr %1163, align 8, !tbaa !17
  %1165 = icmp ne i32 %1164, 0
  br i1 %1165, label %1166, label %1172

1166:                                             ; preds = %1155
  %1167 = getelementptr inbounds %struct._VlFileMeta, ptr %22, i32 0, i32 4
  %1168 = load ptr, ptr %1167, align 8, !tbaa !33
  %1169 = getelementptr inbounds %struct._VlFileMeta, ptr %21, i32 0, i32 3
  %1170 = getelementptr inbounds [1024 x i8], ptr %1169, i64 0, i64 0
  %1171 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1168, ptr noundef @.str.82, ptr noundef %1170) #10
  br label %1172

1172:                                             ; preds = %1166, %1155
  %1173 = getelementptr inbounds %struct._VlFileMeta, ptr %20, i32 0, i32 0
  %1174 = load i32, ptr %1173, align 8, !tbaa !17
  %1175 = icmp ne i32 %1174, 0
  br i1 %1175, label %1176, label %1182

1176:                                             ; preds = %1172
  %1177 = getelementptr inbounds %struct._VlFileMeta, ptr %22, i32 0, i32 4
  %1178 = load ptr, ptr %1177, align 8, !tbaa !33
  %1179 = getelementptr inbounds %struct._VlFileMeta, ptr %20, i32 0, i32 3
  %1180 = getelementptr inbounds [1024 x i8], ptr %1179, i64 0, i64 0
  %1181 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1178, ptr noundef @.str.83, ptr noundef %1180) #10
  br label %1182

1182:                                             ; preds = %1176, %1172
  %1183 = getelementptr inbounds %struct._VlFileMeta, ptr %22, i32 0, i32 4
  %1184 = load ptr, ptr %1183, align 8, !tbaa !33
  %1185 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1184, ptr noundef @.str.84) #10
  br label %1186

1186:                                             ; preds = %1182, %1151
  br label %1187

1187:                                             ; preds = %1186, %1148, %843, %770, %764, %753, %747, %736, %730, %719, %713, %693, %595, %589, %554, %545, %515, %500, %479
  %1188 = load ptr, ptr %37, align 8, !tbaa !9
  %1189 = icmp ne ptr %1188, null
  br i1 %1189, label %1190, label %1192

1190:                                             ; preds = %1187
  %1191 = load ptr, ptr %37, align 8, !tbaa !9
  call void @free(ptr noundef %1191) #10
  store i32 0, ptr %38, align 4, !tbaa !5
  store i32 0, ptr %39, align 4, !tbaa !5
  store ptr null, ptr %37, align 8, !tbaa !9
  br label %1192

1192:                                             ; preds = %1190, %1187
  %1193 = load ptr, ptr %33, align 8, !tbaa !9
  %1194 = icmp ne ptr %1193, null
  br i1 %1194, label %1195, label %1197

1195:                                             ; preds = %1192
  %1196 = load ptr, ptr %33, align 8, !tbaa !9
  call void @vl_sift_delete(ptr noundef %1196)
  store ptr null, ptr %33, align 8, !tbaa !9
  br label %1197

1197:                                             ; preds = %1195, %1192
  %1198 = load ptr, ptr %31, align 8, !tbaa !9
  %1199 = icmp ne ptr %1198, null
  br i1 %1199, label %1200, label %1202

1200:                                             ; preds = %1197
  %1201 = load ptr, ptr %31, align 8, !tbaa !9
  call void @free(ptr noundef %1201) #10
  store ptr null, ptr %31, align 8, !tbaa !9
  br label %1202

1202:                                             ; preds = %1200, %1197
  %1203 = load ptr, ptr %30, align 8, !tbaa !9
  %1204 = icmp ne ptr %1203, null
  br i1 %1204, label %1205, label %1207

1205:                                             ; preds = %1202
  %1206 = load ptr, ptr %30, align 8, !tbaa !9
  call void @free(ptr noundef %1206) #10
  store ptr null, ptr %30, align 8, !tbaa !9
  br label %1207

1207:                                             ; preds = %1205, %1202
  %1208 = load ptr, ptr %29, align 8, !tbaa !9
  %1209 = icmp ne ptr %1208, null
  br i1 %1209, label %1210, label %1213

1210:                                             ; preds = %1207
  %1211 = load ptr, ptr %29, align 8, !tbaa !9
  %1212 = call i32 @fclose(ptr noundef %1211)
  store ptr null, ptr %29, align 8, !tbaa !9
  br label %1213

1213:                                             ; preds = %1210, %1207
  call void @vl_file_meta_close(ptr noundef %19)
  call void @vl_file_meta_close(ptr noundef %20)
  call void @vl_file_meta_close(ptr noundef %21)
  call void @vl_file_meta_close(ptr noundef %22)
  call void @vl_file_meta_close(ptr noundef %23)
  call void @vl_file_meta_close(ptr noundef %24)
  %1214 = load i32, ptr %12, align 4, !tbaa !5
  %1215 = icmp ne i32 %1214, 0
  br i1 %1215, label %1216, label %1221

1216:                                             ; preds = %1213
  %1217 = load ptr, ptr @stderr, align 8, !tbaa !9
  %1218 = getelementptr inbounds [1024 x i8], ptr %13, i64 0, i64 0
  %1219 = load i32, ptr %12, align 4, !tbaa !5
  %1220 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1217, ptr noundef @.str.85, ptr noundef %1218, i32 noundef %1219) #10
  store i32 1, ptr %15, align 4, !tbaa !5
  br label %1221

1221:                                             ; preds = %1216, %1213
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 1024, ptr %27) #10
  br label %463, !llvm.loop !37

1222:                                             ; preds = %463
  %1223 = load i32, ptr %15, align 4, !tbaa !5
  store i32 %1223, ptr %3, align 4
  store i32 1, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 2064, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 2064, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 2064, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 2064, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 2064, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 2064, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 1024, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #10
  %1224 = load i32, ptr %3, align 4
  ret i32 %1224

1225:                                             ; preds = %1148, %1141, %693, %335
  unreachable
}

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

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

declare i32 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

; Function Attrs: nounwind
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ...) #5

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

declare ptr @vl_get_version_string() #4

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #6

; Function Attrs: nounwind uwtable
declare hidden i32 @vl_file_meta_parse(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind
declare i32 @__isoc99_sscanf(ptr noundef, ptr noundef, ...) #5

; Function Attrs: noreturn nounwind
declare void @abort() #6

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #5

declare ptr @vl_string_protocol_name(i32 noundef) #4

declare i64 @vl_string_basename(ptr noundef, i64 noundef, ptr noundef, i64 noundef) #4

declare noalias ptr @fopen(ptr noundef, ptr noundef) #4

declare i32 @vl_pgm_extract_head(ptr noundef, ptr noundef) #4

declare i32 @vl_get_last_error() #4

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #7

declare i64 @vl_pgm_get_npixels(ptr noundef) #4

declare i64 @vl_pgm_get_bpp(ptr noundef) #4

declare i32 @vl_pgm_extract_data(ptr noundef, ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
declare hidden i32 @vl_file_meta_open(ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @vl_file_meta_get_double(ptr noundef, ptr noundef) #8

; Function Attrs: nounwind allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #9

declare void @qsort(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
declare hidden void @vl_file_meta_close(ptr noundef) #0

declare ptr @vl_sift_new(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @vl_sift_set_edge_thresh(ptr noundef, double noundef) #8

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @vl_sift_set_peak_thresh(ptr noundef, double noundef) #8

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @vl_sift_set_magnif(ptr noundef, double noundef) #8

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @vl_sift_get_noctaves(ptr noundef) #8

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @vl_sift_get_nlevels(ptr noundef) #8

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @vl_sift_get_octave_first(ptr noundef) #8

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @vl_sift_get_edge_thresh(ptr noundef) #8

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @vl_sift_get_peak_thresh(ptr noundef) #8

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @vl_sift_get_magnif(ptr noundef) #8

declare i32 @vl_sift_process_first_octave(ptr noundef, ptr noundef) #4

declare i32 @vl_sift_process_next_octave(ptr noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @vl_sift_get_octave_index(ptr noundef) #8

; Function Attrs: nounwind uwtable
declare hidden i32 @save_gss(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #0

declare void @vl_sift_detect(ptr noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @vl_sift_get_keypoints(ptr noundef) #8

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @vl_sift_get_nkeypoints(ptr noundef) #8

declare void @vl_sift_keypoint_init(ptr noundef, ptr noundef, double noundef, double noundef, double noundef) #4

declare i32 @vl_sift_calc_keypoint_orientations(ptr noundef, ptr noundef, ptr noundef) #4

declare void @vl_sift_calc_keypoint_descriptor(ptr noundef, ptr noundef, ptr noundef, double noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @vl_file_meta_put_double(ptr noundef, double noundef) #8

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @vl_file_meta_put_uint8(ptr noundef, i8 noundef zeroext) #8

; Function Attrs: nounwind
declare void @free(ptr noundef) #5

declare void @vl_sift_delete(ptr noundef) #4

declare i32 @fclose(ptr noundef) #4

attributes #0 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { 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 allocsize(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 #8 = { 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 #9 = { nounwind allocsize(1) "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 #10 = { nounwind }
attributes #11 = { noreturn nounwind }
attributes #12 = { nounwind allocsize(0) }
attributes #13 = { nounwind allocsize(1) }

!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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !6, i64 1028}
!14 = !{!"_VlFileMeta", !6, i64 0, !7, i64 4, !6, i64 1028, !7, i64 1032, !10, i64 2056}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!14, !6, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"long long", !7, i64 0}
!20 = !{!21, !19, i64 0}
!21 = !{!"_VlPgmImage", !19, i64 0, !19, i64 8, !19, i64 16, !6, i64 24}
!22 = !{!21, !19, i64 8}
!23 = !{!7, !7, i64 0}
!24 = !{!25, !25, i64 0}
!25 = !{!"float", !7, i64 0}
!26 = distinct !{!26, !16}
!27 = !{!28, !6, i64 0}
!28 = !{!"_VlSiftKeypoint", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !25, i64 16, !25, i64 20, !25, i64 24, !25, i64 28}
!29 = !{!28, !25, i64 16}
!30 = !{!28, !25, i64 20}
!31 = !{!28, !25, i64 28}
!32 = distinct !{!32, !16}
!33 = !{!14, !10, i64 2056}
!34 = distinct !{!34, !16}
!35 = distinct !{!35, !16}
!36 = distinct !{!36, !16}
!37 = distinct !{!37, !16}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.option = type { ptr, i32, ptr, i32 }
%struct._VlFileMeta = type { i32, [1024 x i8], i32, [1024 x i8], ptr }
%struct._VlPgmImage = type { i64, i64, i64, i32 }
%struct._VlSiftKeypoint = type { i32, i32, i32, i32, float, float, float, float }

@help_message = external dso_local constant [700 x i8], align 16
@opts = external dso_local constant [9 x i8], align 1
@longopts = external dso_local constant [16 x %struct.option], align 16
@__const.main.out = external hidden unnamed_addr constant %struct._VlFileMeta, align 8
@__const.main.frm = external hidden unnamed_addr constant %struct._VlFileMeta, align 8
@__const.main.dsc = external hidden unnamed_addr constant %struct._VlFileMeta, align 8
@__const.main.met = external hidden unnamed_addr constant %struct._VlFileMeta, align 8
@__const.main.ifr = external hidden unnamed_addr constant %struct._VlFileMeta, align 8
@optind = external local_unnamed_addr global i32, align 4
@.str.15 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [4 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@.str.25 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [51 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.33 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @korder(ptr noundef, ptr noundef) #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: nounwind uwtable
define dso_local range(i32 0, 2) i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca double, align 8
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca [1024 x i8], align 16
  %10 = alloca %struct._VlFileMeta, align 8
  %11 = alloca %struct._VlFileMeta, align 8
  %12 = alloca %struct._VlFileMeta, align 8
  %13 = alloca %struct._VlFileMeta, align 8
  %14 = alloca %struct._VlFileMeta, align 8
  %15 = alloca %struct._VlFileMeta, align 8
  %16 = alloca [1024 x i8], align 16
  %17 = alloca %struct._VlPgmImage, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca [4 x double], align 16
  %23 = alloca %struct._VlSiftKeypoint, align 4
  %24 = alloca [128 x float], align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #12
  store double -1.000000e+00, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #12
  store double -1.000000e+00, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #12
  store double -1.000000e+00, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #12
  store i32 -1, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #12
  store i32 3, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #12
  store i32 -1, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %9) #12
  call void @llvm.lifetime.start.p0(i64 2064, ptr nonnull %10) #12
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(2064) %10, ptr noundef nonnull align 8 dereferenceable(2064) @__const.main.out, i64 2064, i1 false)
  call void @llvm.lifetime.start.p0(i64 2064, ptr nonnull %11) #12
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(2064) %11, ptr noundef nonnull align 8 dereferenceable(2064) @__const.main.frm, i64 2064, i1 false)
  call void @llvm.lifetime.start.p0(i64 2064, ptr nonnull %12) #12
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(2064) %12, ptr noundef nonnull align 8 dereferenceable(2064) @__const.main.dsc, i64 2064, i1 false)
  call void @llvm.lifetime.start.p0(i64 2064, ptr nonnull %13) #12
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(2064) %13, ptr noundef nonnull align 8 dereferenceable(2064) @__const.main.met, i64 2064, i1 false)
  call void @llvm.lifetime.start.p0(i64 2064, ptr nonnull %14) #12
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(2064) %14, i8 0, i64 2064, i1 false)
  %25 = getelementptr inbounds i8, ptr %14, i64 4
  store <4 x i8> <i8 37, i8 46, i8 112, i8 103>, ptr %25, align 4
  %26 = getelementptr inbounds i8, ptr %14, i64 8
  store i8 109, ptr %26, align 8
  %27 = getelementptr inbounds i8, ptr %14, i64 1028
  store i32 1, ptr %27, align 4
  call void @llvm.lifetime.start.p0(i64 2064, ptr nonnull %15) #12
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(2064) %15, ptr noundef nonnull align 8 dereferenceable(2064) @__const.main.ifr, i64 2064, i1 false)
  %invariant.gep = getelementptr i8, ptr %1, i64 -8
  %28 = getelementptr inbounds i8, ptr %13, i64 1028
  br label %29

29:                                               ; preds = %.backedge, %2
  %.0245512 = phi i32 [ 0, %2 ], [ %.0245512.be, %.backedge ]
  %.0249511 = phi i32 [ 0, %2 ], [ %.0249511.be, %.backedge ]
  %.0253510 = phi i32 [ 0, %2 ], [ %.0253510.be, %.backedge ]
  %30 = call i32 @getopt_long(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @opts, ptr noundef nonnull @longopts, ptr noundef null) #12
  %31 = icmp eq i32 %30, -1
  %32 = load i32, ptr @optind, align 4
  %33 = icmp eq i32 %32, %0
  %spec.select = select i1 %33, i32 104, i32 -1
  %.0244 = select i1 %31, i32 %spec.select, i32 %30
  switch i32 %.0244, label %176 [
    i32 -1, label %181
    i32 63, label %34
    i32 58, label %38
    i32 104, label %42
    i32 118, label %58
    i32 111, label %60
    i32 1001, label %68
    i32 1002, label %76
    i32 1000, label %84
    i32 1008, label %96
    i32 1003, label %104
    i32 79, label %112
    i32 83, label %123
    i32 1004, label %134
    i32 1005, label %143
    i32 1006, label %154
    i32 1007, label %165
    i32 1009, label %.backedge
  ]

.backedge:                                        ; preds = %29, %58, %68, %76, %92, %96, %104, %112, %123, %134, %143, %154, %165, %60
  %.0245512.be = phi i32 [ %.0245512, %165 ], [ %.0245512, %154 ], [ %.0245512, %143 ], [ %.0245512, %134 ], [ %.0245512, %123 ], [ %.0245512, %112 ], [ %.0245512, %104 ], [ %.0245512, %96 ], [ %.0245512, %92 ], [ %.0245512, %76 ], [ %.0245512, %68 ], [ %.0245512, %58 ], [ %.0245512, %60 ], [ 1, %29 ]
  %.0249511.be = phi i32 [ %.0249511, %165 ], [ %.0249511, %154 ], [ %.0249511, %143 ], [ %.0249511, %134 ], [ %.0249511, %123 ], [ %.0249511, %112 ], [ %.0249511, %104 ], [ %.0249511, %96 ], [ %.0249511, %92 ], [ %.0249511, %76 ], [ %.0249511, %68 ], [ %.0249511, %58 ], [ 1, %60 ], [ %.0249511, %29 ]
  %.0253510.be = phi i32 [ %.0253510, %165 ], [ %.0253510, %154 ], [ %.0253510, %143 ], [ %.0253510, %134 ], [ %.0253510, %123 ], [ %.0253510, %112 ], [ %.0253510, %104 ], [ %.0253510, %96 ], [ %.0253510, %92 ], [ %.0253510, %76 ], [ %.0253510, %68 ], [ %59, %58 ], [ %.0253510, %60 ], [ %.0253510, %29 ]
  br label %29

34:                                               ; preds = %29
  %35 = sext i32 %32 to i64
  %gep509 = getelementptr ptr, ptr %invariant.gep, i64 %35
  %36 = load ptr, ptr %gep509, align 8, !tbaa !11
  %37 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.15, ptr noundef %36) #12
  br label %177

38:                                               ; preds = %29
  %39 = sext i32 %32 to i64
  %gep507 = getelementptr ptr, ptr %invariant.gep, i64 %39
  %40 = load ptr, ptr %gep507, align 8, !tbaa !11
  %41 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.16, ptr noundef %40) #12
  br label %177

42:                                               ; preds = %29
  %43 = load ptr, ptr %1, align 8, !tbaa !11
  %44 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @help_message, ptr noundef %43)
  %45 = getelementptr inbounds i8, ptr %10, i64 4
  %46 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17, ptr noundef nonnull %45)
  %47 = getelementptr inbounds i8, ptr %11, i64 4
  %48 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, ptr noundef nonnull %47)
  %49 = getelementptr inbounds i8, ptr %12, i64 4
  %50 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.19, ptr noundef nonnull %49)
  %51 = getelementptr inbounds i8, ptr %13, i64 4
  %52 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.20, ptr noundef nonnull %51)
  %53 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.21, ptr noundef nonnull %25)
  %54 = getelementptr inbounds i8, ptr %15, i64 4
  %55 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.22, ptr noundef nonnull %54)
  %56 = call ptr @vl_get_version_string() #12
  %57 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.23, ptr noundef nonnull @.str.24, ptr noundef %56)
  call void @exit(i32 noundef 0) #13
  unreachable

58:                                               ; preds = %29
  %59 = add nsw i32 %.0253510, 1
  br label %.backedge

60:                                               ; preds = %29
  %61 = load ptr, ptr @optarg, align 8, !tbaa !11
  %62 = call i32 @vl_file_meta_parse(ptr noundef nonnull %10, ptr noundef %61)
  %.not304 = icmp eq i32 %62, 0
  br i1 %.not304, label %.backedge, label %63

63:                                               ; preds = %60
  %64 = load i32, ptr @optind, align 4, !tbaa !9
  %65 = sext i32 %64 to i64
  %gep505 = getelementptr ptr, ptr %invariant.gep, i64 %65
  %66 = load ptr, ptr %gep505, align 8, !tbaa !11
  %67 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.25, ptr noundef %66) #12
  br label %177

68:                                               ; preds = %29
  %69 = load ptr, ptr @optarg, align 8, !tbaa !11
  %70 = call i32 @vl_file_meta_parse(ptr noundef nonnull %11, ptr noundef %69)
  %.not303 = icmp eq i32 %70, 0
  br i1 %.not303, label %.backedge, label %71

71:                                               ; preds = %68
  %72 = load i32, ptr @optind, align 4, !tbaa !9
  %73 = sext i32 %72 to i64
  %gep503 = getelementptr ptr, ptr %invariant.gep, i64 %73
  %74 = load ptr, ptr %gep503, align 8, !tbaa !11
  %75 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.25, ptr noundef %74) #12
  br label %177

76:                                               ; preds = %29
  %77 = load ptr, ptr @optarg, align 8, !tbaa !11
  %78 = call i32 @vl_file_meta_parse(ptr noundef nonnull %12, ptr noundef %77)
  %.not302 = icmp eq i32 %78, 0
  br i1 %.not302, label %.backedge, label %79

79:                                               ; preds = %76
  %80 = load i32, ptr @optind, align 4, !tbaa !9
  %81 = sext i32 %80 to i64
  %gep501 = getelementptr ptr, ptr %invariant.gep, i64 %81
  %82 = load ptr, ptr %gep501, align 8, !tbaa !11
  %83 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.25, ptr noundef %82) #12
  br label %177

84:                                               ; preds = %29
  %85 = load ptr, ptr @optarg, align 8, !tbaa !11
  %86 = call i32 @vl_file_meta_parse(ptr noundef nonnull %13, ptr noundef %85)
  %.not300 = icmp eq i32 %86, 0
  br i1 %.not300, label %92, label %87

87:                                               ; preds = %84
  %88 = load i32, ptr @optind, align 4, !tbaa !9
  %89 = sext i32 %88 to i64
  %gep499 = getelementptr ptr, ptr %invariant.gep, i64 %89
  %90 = load ptr, ptr %gep499, align 8, !tbaa !11
  %91 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.25, ptr noundef %90) #12
  br label %177

92:                                               ; preds = %84
  %93 = load i32, ptr %28, align 4, !tbaa !13
  %.not301 = icmp eq i32 %93, 1
  br i1 %.not301, label %.backedge, label %94

94:                                               ; preds = %92
  %95 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.26) #12
  br label %177

96:                                               ; preds = %29
  %97 = load ptr, ptr @optarg, align 8, !tbaa !11
  %98 = call i32 @vl_file_meta_parse(ptr noundef nonnull %15, ptr noundef %97)
  %.not299 = icmp eq i32 %98, 0
  br i1 %.not299, label %.backedge, label %99

99:                                               ; preds = %96
  %100 = load i32, ptr @optind, align 4, !tbaa !9
  %101 = sext i32 %100 to i64
  %gep497 = getelementptr ptr, ptr %invariant.gep, i64 %101
  %102 = load ptr, ptr %gep497, align 8, !tbaa !11
  %103 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.25, ptr noundef %102) #12
  br label %177

104:                                              ; preds = %29
  %105 = load ptr, ptr @optarg, align 8, !tbaa !11
  %106 = call i32 @vl_file_meta_parse(ptr noundef nonnull %14, ptr noundef %105)
  %.not298 = icmp eq i32 %106, 0
  br i1 %.not298, label %.backedge, label %107

107:                                              ; preds = %104
  %108 = load i32, ptr @optind, align 4, !tbaa !9
  %109 = sext i32 %108 to i64
  %gep495 = getelementptr ptr, ptr %invariant.gep, i64 %109
  %110 = load ptr, ptr %gep495, align 8, !tbaa !11
  %111 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.25, ptr noundef %110) #12
  br label %177

112:                                              ; preds = %29
  %113 = load ptr, ptr @optarg, align 8, !tbaa !11
  %114 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %113, ptr noundef nonnull @.str.27, ptr noundef nonnull %6) #12
  %115 = icmp eq i32 %114, 0
  %116 = load i32, ptr %6, align 4
  %117 = icmp slt i32 %116, 0
  %or.cond = select i1 %115, i1 true, i1 %117
  br i1 %or.cond, label %118, label %.backedge

118:                                              ; preds = %112
  %119 = load i32, ptr @optind, align 4, !tbaa !9
  %120 = sext i32 %119 to i64
  %gep493 = getelementptr ptr, ptr %invariant.gep, i64 %120
  %121 = load ptr, ptr %gep493, align 8, !tbaa !11
  %122 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.28, ptr noundef %121) #12
  br label %177

123:                                              ; preds = %29
  %124 = load ptr, ptr @optarg, align 8, !tbaa !11
  %125 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %124, ptr noundef nonnull @.str.27, ptr noundef nonnull %7) #12
  %126 = icmp eq i32 %125, 0
  %127 = load i32, ptr %7, align 4
  %128 = icmp slt i32 %127, 0
  %or.cond3 = select i1 %126, i1 true, i1 %128
  br i1 %or.cond3, label %129, label %.backedge

129:                                              ; preds = %123
  %130 = load i32, ptr @optind, align 4, !tbaa !9
  %131 = sext i32 %130 to i64
  %gep491 = getelementptr ptr, ptr %invariant.gep, i64 %131
  %132 = load ptr, ptr %gep491, align 8, !tbaa !11
  %133 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.28, ptr noundef %132) #12
  br label %177

134:                                              ; preds = %29
  %135 = load ptr, ptr @optarg, align 8, !tbaa !11
  %136 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %135, ptr noundef nonnull @.str.27, ptr noundef nonnull %8) #12
  %137 = icmp eq i32 %136, 0
  br i1 %137, label %138, label %.backedge

138:                                              ; preds = %134
  %139 = load i32, ptr @optind, align 4, !tbaa !9
  %140 = sext i32 %139 to i64
  %gep489 = getelementptr ptr, ptr %invariant.gep, i64 %140
  %141 = load ptr, ptr %gep489, align 8, !tbaa !11
  %142 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.29, ptr noundef %141) #12
  br label %177

143:                                              ; preds = %29
  %144 = load ptr, ptr @optarg, align 8, !tbaa !11
  %145 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %144, ptr noundef nonnull @.str.30, ptr noundef nonnull %3) #12
  %146 = icmp eq i32 %145, 0
  %147 = load double, ptr %3, align 8
  %148 = fcmp olt double %147, 1.000000e+00
  %or.cond5 = select i1 %146, i1 true, i1 %148
  br i1 %or.cond5, label %149, label %.backedge

149:                                              ; preds = %143
  %150 = load i32, ptr @optind, align 4, !tbaa !9
  %151 = sext i32 %150 to i64
  %gep487 = getelementptr ptr, ptr %invariant.gep, i64 %151
  %152 = load ptr, ptr %gep487, align 8, !tbaa !11
  %153 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.31, ptr noundef %152) #12
  br label %177

154:                                              ; preds = %29
  %155 = load ptr, ptr @optarg, align 8, !tbaa !11
  %156 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %155, ptr noundef nonnull @.str.30, ptr noundef nonnull %4) #12
  %157 = icmp eq i32 %156, 0
  %158 = load double, ptr %4, align 8
  %159 = fcmp olt double %158, 0.000000e+00
  %or.cond7 = select i1 %157, i1 true, i1 %159
  br i1 %or.cond7, label %160, label %.backedge

160:                                              ; preds = %154
  %161 = load i32, ptr @optind, align 4, !tbaa !9
  %162 = sext i32 %161 to i64
  %gep485 = getelementptr ptr, ptr %invariant.gep, i64 %162
  %163 = load ptr, ptr %gep485, align 8, !tbaa !11
  %164 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.32, ptr noundef %163) #12
  br label %177

165:                                              ; preds = %29
  %166 = load ptr, ptr @optarg, align 8, !tbaa !11
  %167 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %166, ptr noundef nonnull @.str.30, ptr noundef nonnull %5) #12
  %168 = icmp eq i32 %167, 0
  %169 = load double, ptr %5, align 8
  %170 = fcmp olt double %169, 1.000000e+00
  %or.cond9 = select i1 %168, i1 true, i1 %170
  br i1 %or.cond9, label %171, label %.backedge

171:                                              ; preds = %165
  %172 = load i32, ptr @optind, align 4, !tbaa !9
  %173 = sext i32 %172 to i64
  %gep = getelementptr ptr, ptr %invariant.gep, i64 %173
  %174 = load ptr, ptr %gep, align 8, !tbaa !11
  %175 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.32, ptr noundef %174) #12
  br label %177

176:                                              ; preds = %29
  call void @abort() #13
  unreachable

177:                                              ; preds = %171, %160, %149, %138, %129, %118, %107, %99, %87, %94, %79, %71, %63, %38, %34
  %178 = load ptr, ptr @stderr, align 8, !tbaa !11
  %179 = load ptr, ptr %1, align 8, !tbaa !11
  %180 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %178, ptr noundef nonnull @.str.33, ptr noundef %179, ptr noundef nonnull %9, i32 noundef 3) #14
  call void @exit(i32 noundef 1) #13
  unreachable

181:                                              ; preds = %29
  %182 = sext i32 %32 to i64
  %183 = getelementptr inbounds ptr, ptr %1, i64 %182
  %.not306 = icmp eq i32 %.0249511, 0
  br i1 %.not306, label %184, label %190

184:                                              ; preds = %181
  %185 = load i32, ptr %11, align 8, !tbaa !15
  %186 = icmp ne i32 %185, 0
  %187 = load i32, ptr %12, align 8
  %188 = icmp ne i32 %187, 0
  %or.cond12 = select i1 %186, i1 true, i1 %188
  br i1 %or.cond12, label %189, label %190

189:                                              ; preds = %184
  store i32 0, ptr %10, align 8, !tbaa !15
  br label %190

190:                                              ; preds = %184, %189, %181
  %191 = icmp sgt i32 %.0253510, 1
  br i1 %191, label %192, label %252

192:                                              ; preds = %190
  %193 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.34)
  %194 = load i32, ptr %10, align 8, !tbaa !15
  %.not307 = icmp eq i32 %194, 0
  %195 = select i1 %.not307, ptr @.str.37, ptr @.str.36
  %196 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.35, ptr noundef nonnull %195)
  %197 = getelementptr inbounds i8, ptr %10, i64 1028
  %198 = load i32, ptr %197, align 4, !tbaa !13
  %199 = call ptr @vl_string_protocol_name(i32 noundef %198) #12
  %200 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.38, ptr noundef %199)
  %201 = getelementptr inbounds i8, ptr %10, i64 4
  %202 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.39, ptr noundef nonnull %201)
  %203 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.40)
  %204 = load i32, ptr %11, align 8, !tbaa !15
  %.not308 = icmp eq i32 %204, 0
  %205 = select i1 %.not308, ptr @.str.37, ptr @.str.36
  %206 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.35, ptr noundef nonnull %205)
  %207 = getelementptr inbounds i8, ptr %11, i64 1028
  %208 = load i32, ptr %207, align 4, !tbaa !13
  %209 = call ptr @vl_string_protocol_name(i32 noundef %208) #12
  %210 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.38, ptr noundef %209)
  %211 = getelementptr inbounds i8, ptr %11, i64 4
  %212 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.39, ptr noundef nonnull %211)
  %213 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.41)
  %214 = load i32, ptr %12, align 8, !tbaa !15
  %.not309 = icmp eq i32 %214, 0
  %215 = select i1 %.not309, ptr @.str.37, ptr @.str.36
  %216 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.35, ptr noundef nonnull %215)
  %217 = getelementptr inbounds i8, ptr %12, i64 1028
  %218 = load i32, ptr %217, align 4, !tbaa !13
  %219 = call ptr @vl_string_protocol_name(i32 noundef %218) #12
  %220 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.38, ptr noundef %219)
  %221 = getelementptr inbounds i8, ptr %12, i64 4
  %222 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.39, ptr noundef nonnull %221)
  %223 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.42)
  %224 = load i32, ptr %13, align 8, !tbaa !15
  %.not310 = icmp eq i32 %224, 0
  %225 = select i1 %.not310, ptr @.str.37, ptr @.str.36
  %226 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.35, ptr noundef nonnull %225)
  %227 = load i32, ptr %28, align 4, !tbaa !13
  %228 = call ptr @vl_string_protocol_name(i32 noundef %227) #12
  %229 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.38, ptr noundef %228)
  %230 = getelementptr inbounds i8, ptr %13, i64 4
  %231 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.39, ptr noundef nonnull %230)
  %232 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.43)
  %233 = load i32, ptr %14, align 8, !tbaa !15
  %.not311 = icmp eq i32 %233, 0
  %234 = select i1 %.not311, ptr @.str.37, ptr @.str.36
  %235 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.35, ptr noundef nonnull %234)
  %236 = load i32, ptr %27, align 4, !tbaa !13
  %237 = call ptr @vl_string_protocol_name(i32 noundef %236) #12
  %238 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.38, ptr noundef %237)
  %239 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.39, ptr noundef nonnull %25)
  %240 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.44)
  %241 = load i32, ptr %15, align 8, !tbaa !15
  %.not312 = icmp eq i32 %241, 0
  %242 = select i1 %.not312, ptr @.str.37, ptr @.str.36
  %243 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.35, ptr noundef nonnull %242)
  %244 = getelementptr inbounds i8, ptr %15, i64 1028
  %245 = load i32, ptr %244, align 4, !tbaa !13
  %246 = call ptr @vl_string_protocol_name(i32 noundef %245) #12
  %247 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.38, ptr noundef %246)
  %248 = getelementptr inbounds i8, ptr %15, i64 4
  %249 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.39, ptr noundef nonnull %248)
  %.not313 = icmp eq i32 %.0245512, 0
  br i1 %.not313, label %252, label %250

250:                                              ; preds = %192
  %251 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.45)
  br label %252

252:                                              ; preds = %192, %250, %190
  br i1 %33, label %._crit_edge528, label %.lr.ph527

.lr.ph527:                                        ; preds = %252
  %253 = xor i32 %32, -1
  %254 = add i32 %253, %0
  %.not315 = icmp eq i32 %.0253510, 0
  %255 = getelementptr inbounds i8, ptr %17, i64 8
  %256 = getelementptr inbounds i8, ptr %15, i64 1032
  %257 = getelementptr inbounds i8, ptr %10, i64 1032
  %258 = getelementptr inbounds i8, ptr %11, i64 1032
  %259 = getelementptr inbounds i8, ptr %12, i64 1032
  %260 = getelementptr inbounds i8, ptr %13, i64 1032
  %.not336 = icmp eq i32 %.0245512, 0
  %261 = select i1 %.not336, ptr @.str.37, ptr @.str.36
  %262 = getelementptr inbounds i8, ptr %10, i64 1028
  %263 = getelementptr inbounds i8, ptr %10, i64 2056
  %264 = getelementptr inbounds i8, ptr %11, i64 1028
  %265 = getelementptr inbounds i8, ptr %11, i64 2056
  %266 = getelementptr inbounds i8, ptr %12, i64 1028
  %267 = getelementptr inbounds i8, ptr %12, i64 2056
  %268 = getelementptr inbounds i8, ptr %13, i64 2056
  br label %269

269:                                              ; preds = %.lr.ph527, %608
  %270 = phi i32 [ %254, %.lr.ph527 ], [ %609, %608 ]
  %.0257525 = phi i32 [ 0, %.lr.ph527 ], [ %.1258, %608 ]
  %.0264524 = phi ptr [ %183, %.lr.ph527 ], [ %271, %608 ]
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %16) #12
  %271 = getelementptr inbounds i8, ptr %.0264524, i64 8
  %272 = load ptr, ptr %.0264524, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #12
  %273 = call i64 @vl_string_basename(ptr noundef nonnull %16, i64 noundef 1024, ptr noundef %272, i64 noundef 1) #12
  %274 = icmp ugt i64 %273, 1023
  br i1 %274, label %275, label %277

275:                                              ; preds = %269
  %276 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.46, ptr noundef %272) #12
  br label %.thread441.thread

277:                                              ; preds = %269
  br i1 %.not315, label %.thread366, label %278

278:                                              ; preds = %277
  %279 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.47, ptr noundef %272)
  br i1 %191, label %280, label %.thread366

280:                                              ; preds = %278
  %281 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.48, ptr noundef nonnull %16)
  br label %.thread366

.thread366:                                       ; preds = %277, %280, %278
  %282 = call noalias ptr @fopen(ptr noundef %272, ptr noundef nonnull @.str.49)
  %.not316 = icmp eq ptr %282, null
  br i1 %.not316, label %283, label %285

283:                                              ; preds = %.thread366
  %284 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.50, ptr noundef %272) #12
  br label %.thread441.thread

285:                                              ; preds = %.thread366
  %286 = call i32 @vl_pgm_extract_head(ptr noundef nonnull %282, ptr noundef nonnull %17) #12
  %.not317 = icmp eq i32 %286, 0
  br i1 %.not317, label %292, label %287

287:                                              ; preds = %285
  %288 = call i32 @vl_get_last_error() #12
  switch i32 %288, label %292 [
    i32 104, label %289
    i32 101, label %.thread441.thread452
  ]

289:                                              ; preds = %287
  %290 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.51, ptr noundef %272) #12
  br label %292

.thread441.thread452:                             ; preds = %287
  %291 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.52, ptr noundef %272) #12
  br label %.thread441

292:                                              ; preds = %287, %289, %285
  br i1 %.not315, label %297, label %293

293:                                              ; preds = %292
  %294 = load i64, ptr %17, align 8, !tbaa !16
  %295 = load i64, ptr %255, align 8, !tbaa !19
  %296 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.53, i64 noundef %294, i64 noundef %295)
  br label %297

297:                                              ; preds = %293, %292
  %298 = call i64 @vl_pgm_get_npixels(ptr noundef nonnull %17) #12
  %299 = call i64 @vl_pgm_get_bpp(ptr noundef nonnull %17) #12
  %300 = mul i64 %299, %298
  %301 = call noalias ptr @malloc(i64 noundef %300) #15
  %302 = call i64 @vl_pgm_get_npixels(ptr noundef nonnull %17) #12
  %303 = call i64 @vl_pgm_get_bpp(ptr noundef nonnull %17) #12
  %304 = shl i64 %302, 2
  %305 = mul i64 %304, %303
  %306 = call noalias ptr @malloc(i64 noundef %305) #15
  %307 = icmp ne ptr %301, null
  %308 = icmp ne ptr %306, null
  %or.cond14 = and i1 %307, %308
  br i1 %or.cond14, label %311, label %309

309:                                              ; preds = %297
  %310 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.54) #12
  br label %.thread410

311:                                              ; preds = %297
  %312 = call i32 @vl_pgm_extract_data(ptr noundef nonnull %282, ptr noundef nonnull %17, ptr noundef nonnull %301) #12
  %.not318 = icmp eq i32 %312, 0
  br i1 %.not318, label %.preheader459, label %324

.preheader459:                                    ; preds = %311
  %313 = load i64, ptr %17, align 8, !tbaa !16
  %314 = load i64, ptr %255, align 8, !tbaa !19
  %315 = mul i64 %314, %313
  %316 = and i64 %315, 4294967295
  %.not530 = icmp eq i64 %316, 0
  br i1 %.not530, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.preheader459
  %min.iters.check = icmp ult i64 %316, 8
  br i1 %min.iters.check, label %.lr.ph.preheader769, label %vector.ph

.lr.ph.preheader769:                              ; preds = %middle.block, %.lr.ph.preheader
  %.0233513.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.mod.vf = and i64 %315, 7
  %n.vec = sub nsw i64 %316, %n.mod.vf
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %317 = getelementptr inbounds i8, ptr %301, i64 %index
  %318 = getelementptr inbounds i8, ptr %317, i64 4
  %wide.load = load <4 x i8>, ptr %317, align 1, !tbaa !20
  %wide.load768 = load <4 x i8>, ptr %318, align 1, !tbaa !20
  %319 = uitofp <4 x i8> %wide.load to <4 x float>
  %320 = uitofp <4 x i8> %wide.load768 to <4 x float>
  %321 = getelementptr inbounds float, ptr %306, i64 %index
  %322 = getelementptr inbounds i8, ptr %321, i64 16
  store <4 x float> %319, ptr %321, align 4, !tbaa !21
  store <4 x float> %320, ptr %322, align 4, !tbaa !21
  %index.next = add nuw i64 %index, 8
  %323 = icmp eq i64 %index.next, %n.vec
  br i1 %323, label %middle.block, label %vector.body, !llvm.loop !23

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.mod.vf, 0
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader769

324:                                              ; preds = %311
  %325 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.55) #12
  br label %.thread410.thread431

.lr.ph:                                           ; preds = %.lr.ph.preheader769, %.lr.ph
  %.0233513 = phi i64 [ %330, %.lr.ph ], [ %.0233513.ph, %.lr.ph.preheader769 ]
  %326 = getelementptr inbounds i8, ptr %301, i64 %.0233513
  %327 = load i8, ptr %326, align 1, !tbaa !20
  %328 = uitofp i8 %327 to float
  %329 = getelementptr inbounds float, ptr %306, i64 %.0233513
  store float %328, ptr %329, align 4, !tbaa !21
  %330 = add nuw nsw i64 %.0233513, 1
  %exitcond.not = icmp eq i64 %330, %316
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !27

._crit_edge:                                      ; preds = %.lr.ph, %middle.block, %.preheader459
  %331 = load i32, ptr %15, align 8, !tbaa !15
  %.not319 = icmp eq i32 %331, 0
  br i1 %.not319, label %372, label %332

332:                                              ; preds = %._crit_edge
  %333 = call i32 @vl_file_meta_open(ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef nonnull @.str.49)
  switch i32 %333, label %336 [
    i32 1, label %334
    i32 0, label %.preheader458
  ]

334:                                              ; preds = %332
  %335 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.56) #12
  br label %.thread410.thread431

336:                                              ; preds = %332
  %337 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.57, ptr noundef nonnull %256) #12
  br label %.thread410.thread431

.preheader458:                                    ; preds = %332, %353
  %indvars.iv = phi i64 [ %indvars.iv.next, %353 ], [ 0, %332 ]
  %.0224 = phi ptr [ %.1225, %353 ], [ null, %332 ]
  %.0220 = phi i32 [ %.1, %353 ], [ %333, %332 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #12
  %338 = call i32 @vl_file_meta_get_double(ptr noundef nonnull %15, ptr noundef nonnull %18)
  switch i32 %338, label %.thread367 [
    i32 5, label %366
    i32 0, label %339
  ]

339:                                              ; preds = %.preheader458
  %340 = call i32 @vl_file_meta_get_double(ptr noundef nonnull %15, ptr noundef nonnull %19)
  %.not322 = icmp eq i32 %340, 0
  br i1 %.not322, label %341, label %.thread367

341:                                              ; preds = %339
  %342 = call i32 @vl_file_meta_get_double(ptr noundef nonnull %15, ptr noundef nonnull %20)
  %.not323 = icmp eq i32 %342, 0
  br i1 %.not323, label %343, label %.thread367

343:                                              ; preds = %341
  %344 = call i32 @vl_file_meta_get_double(ptr noundef nonnull %15, ptr noundef nonnull %21)
  switch i32 %344, label %.thread367 [
    i32 5, label %366
    i32 0, label %345
  ]

345:                                              ; preds = %343
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %346 = sext i32 %.0220 to i64
  %.not325 = icmp slt i64 %indvars.iv, %346
  br i1 %.not325, label %353, label %347

347:                                              ; preds = %345
  %348 = add nsw i32 %.0220, 10000
  %349 = sext i32 %348 to i64
  %350 = shl nsw i64 %349, 5
  %351 = call ptr @realloc(ptr noundef %.0224, i64 noundef %350) #16
  br label %353

.thread367:                                       ; preds = %343, %341, %339, %.preheader458
  %352 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.58, ptr noundef nonnull %256) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #12
  br label %598

353:                                              ; preds = %345, %347
  %.1225 = phi ptr [ %351, %347 ], [ %.0224, %345 ]
  %.1 = phi i32 [ %348, %347 ], [ %.0220, %345 ]
  %354 = load double, ptr %18, align 8, !tbaa !5
  %355 = shl nsw i64 %indvars.iv, 2
  %356 = getelementptr inbounds double, ptr %.1225, i64 %355
  store double %354, ptr %356, align 8, !tbaa !5
  %357 = load double, ptr %19, align 8, !tbaa !5
  %358 = or disjoint i64 %355, 1
  %359 = getelementptr inbounds double, ptr %.1225, i64 %358
  store double %357, ptr %359, align 8, !tbaa !5
  %360 = load double, ptr %20, align 8, !tbaa !5
  %361 = or disjoint i64 %355, 2
  %362 = getelementptr inbounds double, ptr %.1225, i64 %361
  store double %360, ptr %362, align 8, !tbaa !5
  %363 = load double, ptr %21, align 8, !tbaa !5
  %364 = or disjoint i64 %355, 3
  %365 = getelementptr inbounds double, ptr %.1225, i64 %364
  store double %363, ptr %365, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #12
  br label %.preheader458

366:                                              ; preds = %.preheader458, %343
  %367 = trunc nuw nsw i64 %indvars.iv to i32
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #12
  %368 = and i64 %indvars.iv, 4294967295
  call void @qsort(ptr noundef %.0224, i64 noundef %368, i64 noundef 32, ptr noundef nonnull @korder) #12
  br i1 %.not315, label %371, label %369

369:                                              ; preds = %366
  %370 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.59, i32 noundef %367, ptr noundef nonnull %256)
  br label %371

371:                                              ; preds = %369, %366
  call void @vl_file_meta_close(ptr noundef nonnull %15)
  br label %372

372:                                              ; preds = %371, %._crit_edge
  %.3 = phi ptr [ %.0224, %371 ], [ null, %._crit_edge ]
  %.2223 = phi i32 [ %367, %371 ], [ 0, %._crit_edge ]
  %373 = call i32 @vl_file_meta_open(ptr noundef nonnull %10, ptr noundef nonnull %16, ptr noundef nonnull @.str.60)
  switch i32 %373, label %376 [
    i32 1, label %374
    i32 0, label %378
  ]

374:                                              ; preds = %372
  %375 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.56) #12
  br label %598

376:                                              ; preds = %372
  %377 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.61, ptr noundef nonnull %257) #12
  br label %598

378:                                              ; preds = %372
  %379 = call i32 @vl_file_meta_open(ptr noundef nonnull %12, ptr noundef nonnull %16, ptr noundef nonnull @.str.60)
  switch i32 %379, label %382 [
    i32 1, label %380
    i32 0, label %384
  ]

380:                                              ; preds = %378
  %381 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.56) #12
  br label %598

382:                                              ; preds = %378
  %383 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.61, ptr noundef nonnull %259) #12
  br label %598

384:                                              ; preds = %378
  %385 = call i32 @vl_file_meta_open(ptr noundef nonnull %11, ptr noundef nonnull %16, ptr noundef nonnull @.str.60)
  switch i32 %385, label %388 [
    i32 1, label %386
    i32 0, label %390
  ]

386:                                              ; preds = %384
  %387 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.56) #12
  br label %598

388:                                              ; preds = %384
  %389 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.61, ptr noundef nonnull %258) #12
  br label %598

390:                                              ; preds = %384
  %391 = call i32 @vl_file_meta_open(ptr noundef nonnull %13, ptr noundef nonnull %16, ptr noundef nonnull @.str.60)
  switch i32 %391, label %394 [
    i32 1, label %392
    i32 0, label %396
  ]

392:                                              ; preds = %390
  %393 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.56) #12
  br label %598

394:                                              ; preds = %390
  %395 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.61, ptr noundef nonnull %260) #12
  br label %598

396:                                              ; preds = %390
  br i1 %191, label %397, label %413

397:                                              ; preds = %396
  %398 = load i32, ptr %10, align 8, !tbaa !15
  %.not330 = icmp eq i32 %398, 0
  br i1 %.not330, label %401, label %399

399:                                              ; preds = %397
  %400 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.62, ptr noundef nonnull %257)
  br label %401

401:                                              ; preds = %399, %397
  %402 = load i32, ptr %11, align 8, !tbaa !15
  %.not331 = icmp eq i32 %402, 0
  br i1 %.not331, label %405, label %403

403:                                              ; preds = %401
  %404 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.63, ptr noundef nonnull %258)
  br label %405

405:                                              ; preds = %403, %401
  %406 = load i32, ptr %12, align 8, !tbaa !15
  %.not332 = icmp eq i32 %406, 0
  br i1 %.not332, label %409, label %407

407:                                              ; preds = %405
  %408 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.64, ptr noundef nonnull %259)
  br label %409

409:                                              ; preds = %407, %405
  %410 = load i32, ptr %13, align 8, !tbaa !15
  %.not333 = icmp eq i32 %410, 0
  br i1 %.not333, label %413, label %411

411:                                              ; preds = %409
  %412 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.65, ptr noundef nonnull %260)
  br label %413

413:                                              ; preds = %409, %411, %396
  %414 = load i64, ptr %17, align 8, !tbaa !16
  %415 = trunc i64 %414 to i32
  %416 = load i64, ptr %255, align 8, !tbaa !19
  %417 = trunc i64 %416 to i32
  %418 = load i32, ptr %6, align 4, !tbaa !9
  %419 = load i32, ptr %7, align 4, !tbaa !9
  %420 = load i32, ptr %8, align 4, !tbaa !9
  %421 = call ptr @vl_sift_new(i32 noundef %415, i32 noundef %417, i32 noundef %418, i32 noundef %419, i32 noundef %420) #12
  %422 = load double, ptr %3, align 8, !tbaa !5
  %423 = fcmp ult double %422, 0.000000e+00
  br i1 %423, label %425, label %424

424:                                              ; preds = %413
  call void @vl_sift_set_edge_thresh(ptr noundef %421, double noundef %422)
  br label %425

425:                                              ; preds = %424, %413
  %426 = load double, ptr %4, align 8, !tbaa !5
  %427 = fcmp ult double %426, 0.000000e+00
  br i1 %427, label %429, label %428

428:                                              ; preds = %425
  call void @vl_sift_set_peak_thresh(ptr noundef %421, double noundef %426)
  br label %429

429:                                              ; preds = %428, %425
  %430 = load double, ptr %5, align 8, !tbaa !5
  %431 = fcmp ult double %430, 0.000000e+00
  br i1 %431, label %433, label %432

432:                                              ; preds = %429
  call void @vl_sift_set_magnif(ptr noundef %421, double noundef %430)
  br label %433

433:                                              ; preds = %432, %429
  %.not334 = icmp eq ptr %421, null
  br i1 %.not334, label %434, label %436

434:                                              ; preds = %433
  %435 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.66) #12
  br label %598

436:                                              ; preds = %433
  br i1 %191, label %437, label %454

437:                                              ; preds = %436
  %438 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.67)
  %439 = call i32 @vl_sift_get_noctaves(ptr noundef nonnull %421)
  %440 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.68, i32 noundef %439)
  %441 = call i32 @vl_sift_get_nlevels(ptr noundef nonnull %421)
  %442 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.69, i32 noundef %441)
  %443 = call i32 @vl_sift_get_octave_first(ptr noundef nonnull %421)
  %444 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.70, i32 noundef %443)
  %445 = call double @vl_sift_get_edge_thresh(ptr noundef nonnull %421)
  %446 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.71, double noundef %445)
  %447 = call double @vl_sift_get_peak_thresh(ptr noundef nonnull %421)
  %448 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.72, double noundef %447)
  %449 = call double @vl_sift_get_magnif(ptr noundef nonnull %421)
  %450 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.73, double noundef %449)
  %.not335 = icmp eq ptr %.3, null
  %451 = select i1 %.not335, ptr @.str.37, ptr @.str.36
  %452 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.74, ptr noundef nonnull %451)
  %453 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.75, ptr noundef nonnull %261)
  br label %454

454:                                              ; preds = %437, %436
  %455 = icmp eq ptr %.3, null
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.backedge, %454
  %.0229 = phi i32 [ 0, %454 ], [ %.0229.be, %.loopexit.backedge ]
  %.not337 = phi i1 [ false, %454 ], [ true, %.loopexit.backedge ]
  br i1 %.not337, label %458, label %456

456:                                              ; preds = %.loopexit
  %457 = call i32 @vl_sift_process_first_octave(ptr noundef %421, ptr noundef nonnull %306) #12
  br label %460

458:                                              ; preds = %.loopexit
  %459 = call i32 @vl_sift_process_next_octave(ptr noundef %421) #12
  br label %460

460:                                              ; preds = %458, %456
  %.5 = phi i32 [ %457, %456 ], [ %459, %458 ]
  %.not338 = icmp eq i32 %.5, 0
  br i1 %.not338, label %461, label %579

461:                                              ; preds = %460
  br i1 %191, label %462, label %465

462:                                              ; preds = %461
  %463 = call i32 @vl_sift_get_octave_index(ptr noundef %421)
  %464 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.76, i32 noundef %463)
  br label %465

465:                                              ; preds = %462, %461
  %466 = load i32, ptr %14, align 8, !tbaa !15
  %.not339 = icmp eq i32 %466, 0
  br i1 %.not339, label %470, label %467

467:                                              ; preds = %465
  %468 = call i32 @save_gss(ptr noundef %421, ptr noundef nonnull %14, ptr noundef nonnull %16, i32 noundef %.0253510)
  %.not340 = icmp eq i32 %468, 0
  br i1 %.not340, label %470, label %.thread392

.thread392:                                       ; preds = %467
  %469 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %9, i64 noundef 1024, ptr noundef nonnull @.str.77) #12
  br label %598

470:                                              ; preds = %467, %465
  br i1 %455, label %471, label %476

471:                                              ; preds = %470
  call void @vl_sift_detect(ptr noundef %421) #12
  %472 = call ptr @vl_sift_get_keypoints(ptr noundef %421)
  %473 = call i32 @vl_sift_get_nkeypoints(ptr noundef %421)
  br i1 %191, label %474, label %476

474:                                              ; preds = %471
  %475 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.78, i32 noundef %473)
  br label %476

476:                                              ; preds = %470, %471, %474
  %.1230 = phi i32 [ 0, %474 ], [ 0, %471 ], [ %.0229, %470 ]
  %.0219 = phi ptr [ %472, %474 ], [ %472, %471 ], [ null, %470 ]
  %.0218 = phi i32 [ %473, %474 ], [ %473, %471 ], [ %.2223, %470 ]
  %477 = icmp slt i32 %.1230, %.0218
  br i1 %477, label %.lr.ph522.preheader, label %.loopexit.backedge

.loopexit.backedge:                               ; preds = %._crit_edge519, %476, %577
  %.0229.be = phi i32 [ %578, %577 ], [ %.1230, %476 ], [ %.0218, %._crit_edge519 ]
  br label %.loopexit

.lr.ph522.preheader:                              ; preds = %476
  %478 = sext i32 %.1230 to i64
  %479 = sext i32 %.0218 to i64
  br label %.lr.ph522

.lr.ph522:                                        ; preds = %.lr.ph522.preheader, %._crit_edge519
  %indvars.iv562 = phi i64 [ %478, %.lr.ph522.preheader ], [ %indvars.iv.next563, %._crit_edge519 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #12
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #12
  br i1 %455, label %498, label %480

480:                                              ; preds = %.lr.ph522
  %481 = shl nsw i64 %indvars.iv562, 2
  %482 = getelementptr inbounds double, ptr %.3, i64 %481
  %483 = load double, ptr %482, align 8, !tbaa !5
  %484 = or disjoint i64 %481, 1
  %485 = getelementptr inbounds double, ptr %.3, i64 %484
  %486 = load double, ptr %485, align 8, !tbaa !5
  %487 = or disjoint i64 %481, 2
  %488 = getelementptr inbounds double, ptr %.3, i64 %487
  %489 = load double, ptr %488, align 8, !tbaa !5
  call void @vl_sift_keypoint_init(ptr noundef %421, ptr noundef nonnull %23, double noundef %483, double noundef %486, double noundef %489) #12
  %490 = load i32, ptr %23, align 4, !tbaa !28
  %491 = call i32 @vl_sift_get_octave_index(ptr noundef %421)
  %.not342 = icmp eq i32 %490, %491
  br i1 %.not342, label %492, label %577

492:                                              ; preds = %480
  br i1 %.not336, label %.thread572, label %493

493:                                              ; preds = %492
  %494 = call i32 @vl_sift_calc_keypoint_orientations(ptr noundef %421, ptr noundef nonnull %22, ptr noundef nonnull %23) #12
  br label %501

.thread572:                                       ; preds = %492
  %495 = or disjoint i64 %481, 3
  %496 = getelementptr inbounds double, ptr %.3, i64 %495
  %497 = load double, ptr %496, align 8, !tbaa !5
  store double %497, ptr %22, align 16, !tbaa !5
  br label %.lr.ph518

498:                                              ; preds = %.lr.ph522
  %499 = getelementptr inbounds %struct._VlSiftKeypoint, ptr %.0219, i64 %indvars.iv562
  %500 = call i32 @vl_sift_calc_keypoint_orientations(ptr noundef %421, ptr noundef nonnull %22, ptr noundef %499) #12
  br label %501

501:                                              ; preds = %493, %498
  %.0217 = phi i32 [ %494, %493 ], [ %500, %498 ]
  %.0216 = phi ptr [ %23, %493 ], [ %499, %498 ]
  %502 = zext i32 %.0217 to i64
  %.not531 = icmp eq i32 %.0217, 0
  br i1 %.not531, label %._crit_edge519, label %.lr.ph518

.lr.ph518:                                        ; preds = %.thread572, %501
  %503 = phi i64 [ 1, %.thread572 ], [ %502, %501 ]
  %.0216576 = phi ptr [ %23, %.thread572 ], [ %.0216, %501 ]
  %504 = getelementptr inbounds i8, ptr %.0216576, i64 16
  %505 = getelementptr inbounds i8, ptr %.0216576, i64 20
  %506 = getelementptr inbounds i8, ptr %.0216576, i64 28
  br label %507

507:                                              ; preds = %.lr.ph518, %575
  %.1234516 = phi i64 [ 0, %.lr.ph518 ], [ %576, %575 ]
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %24) #12
  %508 = load i32, ptr %10, align 8, !tbaa !15
  %509 = icmp ne i32 %508, 0
  %510 = load i32, ptr %12, align 8
  %511 = icmp ne i32 %510, 0
  %or.cond17 = select i1 %509, i1 true, i1 %511
  br i1 %or.cond17, label %512, label %.thread382

512:                                              ; preds = %507
  %513 = getelementptr inbounds [4 x double], ptr %22, i64 0, i64 %.1234516
  %514 = load double, ptr %513, align 8, !tbaa !5
  call void @vl_sift_calc_keypoint_descriptor(ptr noundef %421, ptr noundef nonnull %24, ptr noundef %.0216576, double noundef %514) #12
  %.pr = load i32, ptr %10, align 8, !tbaa !15
  %.not344 = icmp eq i32 %.pr, 0
  br i1 %.not344, label %.thread382, label %515

515:                                              ; preds = %512
  %516 = load float, ptr %504, align 4, !tbaa !30
  %517 = fpext float %516 to double
  %518 = call i32 @vl_file_meta_put_double(ptr noundef nonnull %10, double noundef %517)
  %519 = load float, ptr %505, align 4, !tbaa !31
  %520 = fpext float %519 to double
  %521 = call i32 @vl_file_meta_put_double(ptr noundef nonnull %10, double noundef %520)
  %522 = load float, ptr %506, align 4, !tbaa !32
  %523 = fpext float %522 to double
  %524 = call i32 @vl_file_meta_put_double(ptr noundef nonnull %10, double noundef %523)
  %525 = load double, ptr %513, align 8, !tbaa !5
  %526 = call i32 @vl_file_meta_put_double(ptr noundef nonnull %10, double noundef %525)
  br label %527

527:                                              ; preds = %515, %527
  %indvars.iv553 = phi i64 [ 0, %515 ], [ %indvars.iv.next554, %527 ]
  %528 = getelementptr inbounds [128 x float], ptr %24, i64 0, i64 %indvars.iv553
  %529 = load float, ptr %528, align 4, !tbaa !21
  %530 = fpext float %529 to double
  %531 = fmul double %530, 5.120000e+02
  %532 = fptoui double %531 to i8
  %533 = call i32 @vl_file_meta_put_uint8(ptr noundef nonnull %10, i8 noundef zeroext %532)
  %indvars.iv.next554 = add nuw nsw i64 %indvars.iv553, 1
  %exitcond556.not = icmp eq i64 %indvars.iv.next554, 128
  br i1 %exitcond556.not, label %534, label %527, !llvm.loop !33

534:                                              ; preds = %527
  %535 = load i32, ptr %262, align 4, !tbaa !13
  %536 = icmp eq i32 %535, 1
  br i1 %536, label %537, label %.thread382

537:                                              ; preds = %534
  %538 = load ptr, ptr %263, align 8, !tbaa !34
  %539 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %538, ptr noundef nonnull @.str.79) #12
  br label %.thread382

.thread382:                                       ; preds = %507, %534, %537, %512
  %540 = load i32, ptr %11, align 8, !tbaa !15
  %.not345 = icmp eq i32 %540, 0
  br i1 %.not345, label %559, label %541

541:                                              ; preds = %.thread382
  %542 = load float, ptr %504, align 4, !tbaa !30
  %543 = fpext float %542 to double
  %544 = call i32 @vl_file_meta_put_double(ptr noundef nonnull %11, double noundef %543)
  %545 = load float, ptr %505, align 4, !tbaa !31
  %546 = fpext float %545 to double
  %547 = call i32 @vl_file_meta_put_double(ptr noundef nonnull %11, double noundef %546)
  %548 = load float, ptr %506, align 4, !tbaa !32
  %549 = fpext float %548 to double
  %550 = call i32 @vl_file_meta_put_double(ptr noundef nonnull %11, double noundef %549)
  %551 = getelementptr inbounds [4 x double], ptr %22, i64 0, i64 %.1234516
  %552 = load double, ptr %551, align 8, !tbaa !5
  %553 = call i32 @vl_file_meta_put_double(ptr noundef nonnull %11, double noundef %552)
  %554 = load i32, ptr %264, align 4, !tbaa !13
  %555 = icmp eq i32 %554, 1
  br i1 %555, label %556, label %559

556:                                              ; preds = %541
  %557 = load ptr, ptr %265, align 8, !tbaa !34
  %558 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %557, ptr noundef nonnull @.str.79) #12
  br label %559

559:                                              ; preds = %541, %556, %.thread382
  %560 = load i32, ptr %12, align 8, !tbaa !15
  %.not346 = icmp eq i32 %560, 0
  br i1 %.not346, label %575, label %.preheader

.preheader:                                       ; preds = %559, %.preheader
  %indvars.iv557 = phi i64 [ %indvars.iv.next558, %.preheader ], [ 0, %559 ]
  %561 = getelementptr inbounds [128 x float], ptr %24, i64 0, i64 %indvars.iv557
  %562 = load float, ptr %561, align 4, !tbaa !21
  %563 = fpext float %562 to double
  %564 = fmul double %563, 5.120000e+02
  %565 = fcmp olt double %564, 2.550000e+02
  %566 = select i1 %565, double %564, double 2.550000e+02
  %567 = fptoui double %566 to i8
  %568 = call i32 @vl_file_meta_put_uint8(ptr noundef nonnull %12, i8 noundef zeroext %567)
  %indvars.iv.next558 = add nuw nsw i64 %indvars.iv557, 1
  %exitcond560.not = icmp eq i64 %indvars.iv.next558, 128
  br i1 %exitcond560.not, label %569, label %.preheader, !llvm.loop !35

569:                                              ; preds = %.preheader
  %570 = load i32, ptr %266, align 4, !tbaa !13
  %571 = icmp eq i32 %570, 1
  br i1 %571, label %572, label %575

572:                                              ; preds = %569
  %573 = load ptr, ptr %267, align 8, !tbaa !34
  %574 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %573, ptr noundef nonnull @.str.79) #12
  br label %575

575:                                              ; preds = %569, %572, %559
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %24) #12
  %576 = add nuw nsw i64 %.1234516, 1
  %exitcond561.not = icmp eq i64 %576, %503
  br i1 %exitcond561.not, label %._crit_edge519, label %507, !llvm.loop !36

577:                                              ; preds = %480
  %578 = trunc nsw i64 %indvars.iv562 to i32
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #12
  br label %.loopexit.backedge

._crit_edge519:                                   ; preds = %575, %501
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #12
  %indvars.iv.next563 = add nsw i64 %indvars.iv562, 1
  %exitcond565.not = icmp eq i64 %indvars.iv.next563, %479
  br i1 %exitcond565.not, label %.loopexit.backedge, label %.lr.ph522, !llvm.loop !37

579:                                              ; preds = %460
  %580 = load i32, ptr %13, align 8, !tbaa !15
  %.not347 = icmp eq i32 %580, 0
  br i1 %.not347, label %598, label %581

581:                                              ; preds = %579
  %582 = load ptr, ptr %268, align 8, !tbaa !34
  %583 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %582, ptr noundef nonnull @.str.80) #12
  %584 = load ptr, ptr %268, align 8, !tbaa !34
  %585 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %584, ptr noundef nonnull @.str.81, ptr noundef %272) #12
  %586 = load i32, ptr %12, align 8, !tbaa !15
  %.not348 = icmp eq i32 %586, 0
  br i1 %.not348, label %590, label %587

587:                                              ; preds = %581
  %588 = load ptr, ptr %268, align 8, !tbaa !34
  %589 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %588, ptr noundef nonnull @.str.82, ptr noundef nonnull %259) #12
  br label %590

590:                                              ; preds = %587, %581
  %591 = load i32, ptr %11, align 8, !tbaa !15
  %.not349 = icmp eq i32 %591, 0
  br i1 %.not349, label %595, label %592

592:                                              ; preds = %590
  %593 = load ptr, ptr %268, align 8, !tbaa !34
  %594 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %593, ptr noundef nonnull @.str.83, ptr noundef nonnull %258) #12
  br label %595

595:                                              ; preds = %592, %590
  %596 = load ptr, ptr %268, align 8, !tbaa !34
  %597 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %596, ptr noundef nonnull @.str.84) #12
  br label %598

598:                                              ; preds = %.thread392, %.thread367, %579, %595, %434, %394, %392, %388, %386, %382, %380, %376, %374
  %.8 = phi i32 [ 1, %374 ], [ %373, %376 ], [ 1, %380 ], [ %379, %382 ], [ 1, %386 ], [ %385, %388 ], [ 1, %392 ], [ %391, %394 ], [ 0, %595 ], [ 0, %579 ], [ 2, %434 ], [ 4, %.thread367 ], [ %468, %.thread392 ]
  %.0235 = phi ptr [ null, %374 ], [ null, %376 ], [ null, %380 ], [ null, %382 ], [ null, %386 ], [ null, %388 ], [ null, %392 ], [ null, %394 ], [ %421, %595 ], [ %421, %579 ], [ null, %434 ], [ null, %.thread367 ], [ %421, %.thread392 ]
  %.4 = phi ptr [ %.3, %374 ], [ %.3, %376 ], [ %.3, %380 ], [ %.3, %382 ], [ %.3, %386 ], [ %.3, %388 ], [ %.3, %392 ], [ %.3, %394 ], [ %.3, %595 ], [ %.3, %579 ], [ %.3, %434 ], [ %.0224, %.thread367 ], [ %.3, %.thread392 ]
  %.not350 = icmp eq ptr %.4, null
  br i1 %.not350, label %600, label %599

599:                                              ; preds = %598
  call void @free(ptr noundef nonnull %.4) #12
  br label %600

600:                                              ; preds = %599, %598
  %.not351 = icmp eq ptr %.0235, null
  br i1 %.not351, label %.thread410, label %601

601:                                              ; preds = %600
  call void @vl_sift_delete(ptr noundef nonnull %.0235) #12
  br label %.thread410

.thread410:                                       ; preds = %309, %601, %600
  %.8405420 = phi i32 [ %.8, %601 ], [ %.8, %600 ], [ 2, %309 ]
  %.not352 = icmp eq ptr %306, null
  br i1 %.not352, label %602, label %.thread410.thread431

.thread410.thread431:                             ; preds = %324, %334, %336, %.thread410
  %.8405420437 = phi i32 [ %.8405420, %.thread410 ], [ 4, %324 ], [ 1, %334 ], [ %333, %336 ]
  call void @free(ptr noundef nonnull %306) #12
  br label %602

602:                                              ; preds = %.thread410.thread431, %.thread410
  %.8405420426 = phi i32 [ %.8405420437, %.thread410.thread431 ], [ %.8405420, %.thread410 ]
  %.not353 = icmp eq ptr %301, null
  br i1 %.not353, label %.thread441, label %603

603:                                              ; preds = %602
  call void @free(ptr noundef nonnull %301) #12
  br label %.thread441

.thread441:                                       ; preds = %602, %603, %.thread441.thread452
  %.8405420426447456 = phi i32 [ 4, %.thread441.thread452 ], [ %.8405420426, %603 ], [ %.8405420426, %602 ]
  %604 = call i32 @fclose(ptr noundef nonnull %282)
  br label %.thread441.thread

.thread441.thread:                                ; preds = %283, %275, %.thread441
  %.8405420426447451 = phi i32 [ %.8405420426447456, %.thread441 ], [ 4, %283 ], [ 1, %275 ]
  call void @vl_file_meta_close(ptr noundef nonnull %10)
  call void @vl_file_meta_close(ptr noundef nonnull %11)
  call void @vl_file_meta_close(ptr noundef nonnull %12)
  call void @vl_file_meta_close(ptr noundef nonnull %13)
  call void @vl_file_meta_close(ptr noundef nonnull %14)
  call void @vl_file_meta_close(ptr noundef nonnull %15)
  %.not355 = icmp eq i32 %.8405420426447451, 0
  br i1 %.not355, label %608, label %605

605:                                              ; preds = %.thread441.thread
  %606 = load ptr, ptr @stderr, align 8, !tbaa !11
  %607 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %606, ptr noundef nonnull @.str.85, ptr noundef nonnull %9, i32 noundef %.8405420426447451) #14
  br label %608

608:                                              ; preds = %605, %.thread441.thread
  %.1258 = phi i32 [ 1, %605 ], [ %.0257525, %.thread441.thread ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #12
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %16) #12
  %609 = add nsw i32 %270, -1
  %.not314 = icmp eq i32 %270, 0
  br i1 %.not314, label %._crit_edge528, label %269, !llvm.loop !38

._crit_edge528:                                   ; preds = %608, %252
  %.0257.lcssa = phi i32 [ 0, %252 ], [ %.1258, %608 ]
  call void @llvm.lifetime.end.p0(i64 2064, ptr nonnull %15) #12
  call void @llvm.lifetime.end.p0(i64 2064, ptr nonnull %14) #12
  call void @llvm.lifetime.end.p0(i64 2064, ptr nonnull %13) #12
  call void @llvm.lifetime.end.p0(i64 2064, ptr nonnull %12) #12
  call void @llvm.lifetime.end.p0(i64 2064, ptr nonnull %11) #12
  call void @llvm.lifetime.end.p0(i64 2064, ptr nonnull %10) #12
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %9) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #12
  ret i32 %.0257.lcssa
}

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

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

declare i32 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

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

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

declare ptr @vl_get_version_string() local_unnamed_addr #4

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

; Function Attrs: nounwind uwtable
declare hidden i32 @vl_file_meta_parse(ptr noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: noreturn nounwind
declare void @abort() local_unnamed_addr #6

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

declare ptr @vl_string_protocol_name(i32 noundef) local_unnamed_addr #4

declare i64 @vl_string_basename(ptr noundef, i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #5

declare i32 @vl_pgm_extract_head(ptr noundef, ptr noundef) local_unnamed_addr #4

declare i32 @vl_get_last_error() local_unnamed_addr #4

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #7

declare i64 @vl_pgm_get_npixels(ptr noundef) local_unnamed_addr #4

declare i64 @vl_pgm_get_bpp(ptr noundef) local_unnamed_addr #4

declare i32 @vl_pgm_extract_data(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare hidden i32 @vl_file_meta_open(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @vl_file_meta_get_double(ptr noundef, ptr noundef) local_unnamed_addr #8

; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #9

; Function Attrs: nofree
declare void @qsort(ptr noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #10

; Function Attrs: nounwind uwtable
declare hidden void @vl_file_meta_close(ptr noundef) local_unnamed_addr #0

declare ptr @vl_sift_new(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @vl_sift_set_edge_thresh(ptr noundef, double noundef) local_unnamed_addr #8

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @vl_sift_set_peak_thresh(ptr noundef, double noundef) local_unnamed_addr #8

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @vl_sift_set_magnif(ptr noundef, double noundef) local_unnamed_addr #8

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @vl_sift_get_noctaves(ptr noundef) local_unnamed_addr #8

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @vl_sift_get_nlevels(ptr noundef) local_unnamed_addr #8

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @vl_sift_get_octave_first(ptr noundef) local_unnamed_addr #8

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @vl_sift_get_edge_thresh(ptr noundef) local_unnamed_addr #8

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @vl_sift_get_peak_thresh(ptr noundef) local_unnamed_addr #8

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @vl_sift_get_magnif(ptr noundef) local_unnamed_addr #8

declare i32 @vl_sift_process_first_octave(ptr noundef, ptr noundef) local_unnamed_addr #4

declare i32 @vl_sift_process_next_octave(ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @vl_sift_get_octave_index(ptr noundef) local_unnamed_addr #8

; Function Attrs: nounwind uwtable
declare hidden i32 @save_gss(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

declare void @vl_sift_detect(ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @vl_sift_get_keypoints(ptr noundef) local_unnamed_addr #8

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @vl_sift_get_nkeypoints(ptr noundef) local_unnamed_addr #8

declare void @vl_sift_keypoint_init(ptr noundef, ptr noundef, double noundef, double noundef, double noundef) local_unnamed_addr #4

declare i32 @vl_sift_calc_keypoint_orientations(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare void @vl_sift_calc_keypoint_descriptor(ptr noundef, ptr noundef, ptr noundef, double noundef) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @vl_file_meta_put_double(ptr noundef, double noundef) local_unnamed_addr #8

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @vl_file_meta_put_uint8(ptr noundef, i8 noundef zeroext) local_unnamed_addr #8

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #11

declare void @vl_sift_delete(ptr noundef) local_unnamed_addr #4

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

attributes #0 = { 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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { 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 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #8 = { 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 #9 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #10 = { nofree "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 #11 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #12 = { nounwind }
attributes #13 = { noreturn nounwind }
attributes #14 = { cold nounwind }
attributes #15 = { nounwind allocsize(0) }
attributes #16 = { nounwind allocsize(1) }

!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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !10, i64 1028}
!14 = !{!"_VlFileMeta", !10, i64 0, !7, i64 4, !10, i64 1028, !7, i64 1032, !12, i64 2056}
!15 = !{!14, !10, i64 0}
!16 = !{!17, !18, i64 0}
!17 = !{!"_VlPgmImage", !18, i64 0, !18, i64 8, !18, i64 16, !10, i64 24}
!18 = !{!"long long", !7, i64 0}
!19 = !{!17, !18, i64 8}
!20 = !{!7, !7, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"float", !7, i64 0}
!23 = distinct !{!23, !24, !25, !26}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!"llvm.loop.isvectorized", i32 1}
!26 = !{!"llvm.loop.unroll.runtime.disable"}
!27 = distinct !{!27, !24, !26, !25}
!28 = !{!29, !10, i64 0}
!29 = !{!"_VlSiftKeypoint", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !22, i64 16, !22, i64 20, !22, i64 24, !22, i64 28}
!30 = !{!29, !22, i64 16}
!31 = !{!29, !22, i64 20}
!32 = !{!29, !22, i64 28}
!33 = distinct !{!33, !24}
!34 = !{!14, !12, i64 2056}
!35 = distinct !{!35, !24}
!36 = distinct !{!36, !24}
!37 = distinct !{!37, !24}
!38 = distinct !{!38, !24}


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