; LLVM IR from Discngine/fpocket :: src (mdparams)

; 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.s_mdparams = type { ptr, [2000 x i8], ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, i32, i32, [3 x float], float, i16, [3 x i16] }
%struct.s_fparams = type { [2000 x i8], [2000 x i8], [2000 x i8], [8000 x i8], ptr, ptr, ptr, i32, i32, ptr, ptr, ptr, i8, i8, i32, i32, i16, i32, i32, i32, i16, i32, i32, i32, i16, float, float, float, float, float, [20 x ptr], i16, i16, [20 x ptr], i32, [10 x i8] }

@optind = external global i32, align 4
@opterr = external global i32, align 4
@get_mdpocket_args.long_options_mdpocket = external hidden global [10 x %struct.option], align 16
@.str.20 = external hidden unnamed_addr constant [17 x i8], align 1
@optarg = external global ptr, align 8
@.str.21 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [15 x i8], align 1
@stdout = external global ptr, align 8
@.str.32 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [48 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @init_def_mdparams() #0

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

declare ptr @my_malloc(i64 noundef) #2

; Function Attrs: nounwind
declare ptr @strcpy(ptr noundef, ptr noundef) #3

; 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 ptr @get_mdpocket_args(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store i32 %0, ptr %3, align 4, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  store ptr null, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %17 = load i32, ptr %3, align 4, !tbaa !5
  %18 = sext i32 %17 to i64
  %19 = mul i64 8, %18
  %20 = call ptr @my_malloc(i64 noundef %19)
  store ptr %20, ptr %12, align 8, !tbaa !9
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %21

21:                                               ; preds = %42, %2
  %22 = load i32, ptr %5, align 4, !tbaa !5
  %23 = load i32, ptr %3, align 4, !tbaa !5
  %24 = icmp slt i32 %22, %23
  br i1 %24, label %25, label %45

25:                                               ; preds = %21
  %26 = call ptr @my_malloc(i64 noundef 8)
  %27 = load ptr, ptr %12, align 8, !tbaa !9
  %28 = load i32, ptr %5, align 4, !tbaa !5
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds ptr, ptr %27, i64 %29
  store ptr %26, ptr %30, align 8, !tbaa !9
  %31 = load ptr, ptr %12, align 8, !tbaa !9
  %32 = load i32, ptr %5, align 4, !tbaa !5
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds ptr, ptr %31, i64 %33
  %35 = load ptr, ptr %34, align 8, !tbaa !9
  %36 = load ptr, ptr %4, align 8, !tbaa !9
  %37 = load i32, ptr %5, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds ptr, ptr %36, i64 %38
  %40 = load ptr, ptr %39, align 8, !tbaa !9
  %41 = call ptr @strcpy(ptr noundef %35, ptr noundef %40) #4
  br label %42

42:                                               ; preds = %25
  %43 = load i32, ptr %5, align 4, !tbaa !5
  %44 = add nsw i32 %43, 1
  store i32 %44, ptr %5, align 4, !tbaa !5
  br label %21, !llvm.loop !11

45:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %46 = call ptr @init_def_mdparams()
  store ptr %46, ptr %13, align 8, !tbaa !9
  %47 = call ptr @init_def_fparams()
  %48 = load ptr, ptr %13, align 8, !tbaa !9
  %49 = getelementptr inbounds %struct.s_mdparams, ptr %48, i32 0, i32 18
  store ptr %47, ptr %49, align 8, !tbaa !13
  %50 = load i32, ptr %3, align 4, !tbaa !5
  %51 = load ptr, ptr %12, align 8, !tbaa !9
  %52 = call ptr @get_fpocket_args(i32 noundef %50, ptr noundef %51)
  %53 = load ptr, ptr %13, align 8, !tbaa !9
  %54 = getelementptr inbounds %struct.s_mdparams, ptr %53, i32 0, i32 18
  store ptr %52, ptr %54, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !5
  store i32 0, ptr @optind, align 4, !tbaa !5
  store i32 0, ptr @opterr, align 4, !tbaa !5
  br label %55

55:                                               ; preds = %191, %45
  %56 = load i32, ptr %14, align 4, !tbaa !5
  %57 = icmp ne i32 %56, -1
  br i1 %57, label %58, label %192

58:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !5
  %59 = load i32, ptr %3, align 4, !tbaa !5
  %60 = load ptr, ptr %4, align 8, !tbaa !9
  %61 = call i32 @getopt_long(i32 noundef %59, ptr noundef %60, ptr noundef @.str.20, ptr noundef @get_mdpocket_args.long_options_mdpocket, ptr noundef %15) #4
  store i32 %61, ptr %14, align 4, !tbaa !5
  %62 = load i32, ptr %14, align 4, !tbaa !5
  switch i32 %62, label %191 [
    i32 116, label %63
    i32 79, label %75
    i32 80, label %85
    i32 84, label %102
    i32 121, label %112
    i32 76, label %122
    i32 111, label %126
    i32 119, label %182
    i32 83, label %188
  ]

63:                                               ; preds = %58
  %64 = load i32, ptr %6, align 4, !tbaa !5
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %6, align 4, !tbaa !5
  %66 = load ptr, ptr %13, align 8, !tbaa !9
  %67 = getelementptr inbounds %struct.s_mdparams, ptr %66, i32 0, i32 23
  store i16 1, ptr %67, align 8, !tbaa !17
  %68 = load ptr, ptr %13, align 8, !tbaa !9
  %69 = getelementptr inbounds %struct.s_mdparams, ptr %68, i32 0, i32 13
  %70 = load ptr, ptr %69, align 8, !tbaa !18
  %71 = load ptr, ptr @optarg, align 8, !tbaa !9
  %72 = call ptr @strcpy(ptr noundef %70, ptr noundef %71) #4
  %73 = load i32, ptr %7, align 4, !tbaa !5
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %7, align 4, !tbaa !5
  br label %191

75:                                               ; preds = %58
  %76 = load ptr, ptr %13, align 8, !tbaa !9
  %77 = getelementptr inbounds %struct.s_mdparams, ptr %76, i32 0, i32 2
  %78 = load ptr, ptr %77, align 8, !tbaa !19
  %79 = load ptr, ptr @optarg, align 8, !tbaa !9
  %80 = call ptr @strcpy(ptr noundef %78, ptr noundef %79) #4
  %81 = load i32, ptr %8, align 4, !tbaa !5
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %8, align 4, !tbaa !5
  %83 = load i32, ptr %6, align 4, !tbaa !5
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr %6, align 4, !tbaa !5
  br label %191

85:                                               ; preds = %58
  %86 = load ptr, ptr %13, align 8, !tbaa !9
  %87 = getelementptr inbounds %struct.s_mdparams, ptr %86, i32 0, i32 14
  %88 = load ptr, ptr %87, align 8, !tbaa !20
  %89 = load ptr, ptr @optarg, align 8, !tbaa !9
  %90 = call ptr @strcpy(ptr noundef %88, ptr noundef %89) #4
  %91 = load ptr, ptr %13, align 8, !tbaa !9
  %92 = getelementptr inbounds %struct.s_mdparams, ptr %91, i32 0, i32 18
  %93 = load ptr, ptr %92, align 8, !tbaa !13
  %94 = getelementptr inbounds %struct.s_fparams, ptr %93, i32 0, i32 1
  %95 = getelementptr inbounds [2000 x i8], ptr %94, i64 0, i64 0
  %96 = load ptr, ptr @optarg, align 8, !tbaa !9
  %97 = call ptr @strcpy(ptr noundef %95, ptr noundef %96) #4
  %98 = load i32, ptr %6, align 4, !tbaa !5
  %99 = add nsw i32 %98, 1
  store i32 %99, ptr %6, align 4, !tbaa !5
  %100 = load i32, ptr %9, align 4, !tbaa !5
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr %9, align 4, !tbaa !5
  br label %191

102:                                              ; preds = %58
  %103 = load ptr, ptr %13, align 8, !tbaa !9
  %104 = getelementptr inbounds %struct.s_mdparams, ptr %103, i32 0, i32 3
  %105 = load ptr, ptr %104, align 8, !tbaa !21
  %106 = load ptr, ptr @optarg, align 8, !tbaa !9
  %107 = call ptr @strcpy(ptr noundef %105, ptr noundef %106) #4
  %108 = load i32, ptr %10, align 4, !tbaa !5
  %109 = add nsw i32 %108, 1
  store i32 %109, ptr %10, align 4, !tbaa !5
  %110 = load i32, ptr %6, align 4, !tbaa !5
  %111 = add nsw i32 %110, 1
  store i32 %111, ptr %6, align 4, !tbaa !5
  br label %191

112:                                              ; preds = %58
  %113 = load ptr, ptr %13, align 8, !tbaa !9
  %114 = getelementptr inbounds %struct.s_mdparams, ptr %113, i32 0, i32 18
  %115 = load ptr, ptr %114, align 8, !tbaa !13
  %116 = getelementptr inbounds %struct.s_fparams, ptr %115, i32 0, i32 1
  %117 = getelementptr inbounds [2000 x i8], ptr %116, i64 0, i64 0
  %118 = load ptr, ptr @optarg, align 8, !tbaa !9
  %119 = call ptr @strcpy(ptr noundef %117, ptr noundef %118) #4
  %120 = load i32, ptr %9, align 4, !tbaa !5
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr %9, align 4, !tbaa !5
  br label %191

122:                                              ; preds = %58
  %123 = load ptr, ptr @optarg, align 8, !tbaa !9
  store ptr %123, ptr %11, align 8, !tbaa !9
  %124 = load i32, ptr %6, align 4, !tbaa !5
  %125 = add nsw i32 %124, 1
  store i32 %125, ptr %6, align 4, !tbaa !5
  br label %191

126:                                              ; preds = %58
  %127 = load ptr, ptr %13, align 8, !tbaa !9
  %128 = getelementptr inbounds %struct.s_mdparams, ptr %127, i32 0, i32 4
  %129 = load ptr, ptr %128, align 8, !tbaa !22
  %130 = load ptr, ptr @optarg, align 8, !tbaa !9
  %131 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %129, ptr noundef @.str.21, ptr noundef %130) #4
  %132 = load ptr, ptr %13, align 8, !tbaa !9
  %133 = getelementptr inbounds %struct.s_mdparams, ptr %132, i32 0, i32 6
  %134 = load ptr, ptr %133, align 8, !tbaa !23
  %135 = load ptr, ptr @optarg, align 8, !tbaa !9
  %136 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %134, ptr noundef @.str.22, ptr noundef %135) #4
  %137 = load ptr, ptr %13, align 8, !tbaa !9
  %138 = getelementptr inbounds %struct.s_mdparams, ptr %137, i32 0, i32 5
  %139 = load ptr, ptr %138, align 8, !tbaa !24
  %140 = load ptr, ptr @optarg, align 8, !tbaa !9
  %141 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %139, ptr noundef @.str.23, ptr noundef %140) #4
  %142 = load ptr, ptr %13, align 8, !tbaa !9
  %143 = getelementptr inbounds %struct.s_mdparams, ptr %142, i32 0, i32 8
  %144 = load ptr, ptr %143, align 8, !tbaa !25
  %145 = load ptr, ptr @optarg, align 8, !tbaa !9
  %146 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %144, ptr noundef @.str.24, ptr noundef %145) #4
  %147 = load ptr, ptr %13, align 8, !tbaa !9
  %148 = getelementptr inbounds %struct.s_mdparams, ptr %147, i32 0, i32 7
  %149 = load ptr, ptr %148, align 8, !tbaa !26
  %150 = load ptr, ptr @optarg, align 8, !tbaa !9
  %151 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %149, ptr noundef @.str.25, ptr noundef %150) #4
  %152 = load ptr, ptr %13, align 8, !tbaa !9
  %153 = getelementptr inbounds %struct.s_mdparams, ptr %152, i32 0, i32 9
  %154 = load ptr, ptr %153, align 8, !tbaa !27
  %155 = load ptr, ptr @optarg, align 8, !tbaa !9
  %156 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %154, ptr noundef @.str.26, ptr noundef %155) #4
  %157 = load ptr, ptr %13, align 8, !tbaa !9
  %158 = getelementptr inbounds %struct.s_mdparams, ptr %157, i32 0, i32 10
  %159 = load ptr, ptr %158, align 8, !tbaa !28
  %160 = load ptr, ptr @optarg, align 8, !tbaa !9
  %161 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %159, ptr noundef @.str.27, ptr noundef %160) #4
  %162 = load ptr, ptr %13, align 8, !tbaa !9
  %163 = getelementptr inbounds %struct.s_mdparams, ptr %162, i32 0, i32 11
  %164 = load ptr, ptr %163, align 8, !tbaa !29
  %165 = load ptr, ptr @optarg, align 8, !tbaa !9
  %166 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %164, ptr noundef @.str.28, ptr noundef %165) #4
  %167 = load ptr, ptr %13, align 8, !tbaa !9
  %168 = getelementptr inbounds %struct.s_mdparams, ptr %167, i32 0, i32 12
  %169 = load ptr, ptr %168, align 8, !tbaa !30
  %170 = load ptr, ptr @optarg, align 8, !tbaa !9
  %171 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %169, ptr noundef @.str.29, ptr noundef %170) #4
  %172 = load ptr, ptr %13, align 8, !tbaa !9
  %173 = getelementptr inbounds %struct.s_mdparams, ptr %172, i32 0, i32 15
  %174 = load ptr, ptr %173, align 8, !tbaa !31
  %175 = load ptr, ptr @optarg, align 8, !tbaa !9
  %176 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %174, ptr noundef @.str.30, ptr noundef %175) #4
  %177 = load ptr, ptr %13, align 8, !tbaa !9
  %178 = getelementptr inbounds %struct.s_mdparams, ptr %177, i32 0, i32 16
  %179 = load ptr, ptr %178, align 8, !tbaa !32
  %180 = load ptr, ptr @optarg, align 8, !tbaa !9
  %181 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %179, ptr noundef @.str.31, ptr noundef %180) #4
  br label %191

182:                                              ; preds = %58
  %183 = load ptr, ptr %13, align 8, !tbaa !9
  %184 = getelementptr inbounds %struct.s_mdparams, ptr %183, i32 0, i32 1
  %185 = getelementptr inbounds [2000 x i8], ptr %184, i64 0, i64 0
  %186 = load ptr, ptr @optarg, align 8, !tbaa !9
  %187 = call ptr @strcpy(ptr noundef %185, ptr noundef %186) #4
  br label %191

188:                                              ; preds = %58
  %189 = load ptr, ptr %13, align 8, !tbaa !9
  %190 = getelementptr inbounds %struct.s_mdparams, ptr %189, i32 0, i32 19
  store i32 1, ptr %190, align 8, !tbaa !33
  br label %191

191:                                              ; preds = %188, %182, %126, %122, %112, %102, %85, %75, %63, %58
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %55, !llvm.loop !34

192:                                              ; preds = %55
  %193 = load i32, ptr %6, align 4, !tbaa !5
  %194 = icmp eq i32 %193, 0
  br i1 %194, label %195, label %198

195:                                              ; preds = %192
  %196 = load ptr, ptr %13, align 8, !tbaa !9
  call void @free_mdparams(ptr noundef %196)
  store ptr null, ptr %13, align 8, !tbaa !9
  %197 = load ptr, ptr @stdout, align 8, !tbaa !9
  call void @print_mdpocket_usage(ptr noundef %197)
  br label %241

198:                                              ; preds = %192
  %199 = load ptr, ptr %11, align 8, !tbaa !9
  %200 = icmp ne ptr %199, null
  br i1 %200, label %201, label %213

201:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %202 = load ptr, ptr %11, align 8, !tbaa !9
  %203 = load ptr, ptr %13, align 8, !tbaa !9
  %204 = call i32 @add_list_snapshots(ptr noundef %202, ptr noundef %203)
  store i32 %204, ptr %16, align 4, !tbaa !5
  %205 = load i32, ptr %16, align 4, !tbaa !5
  %206 = icmp sle i32 %205, 0
  br i1 %206, label %207, label %212

207:                                              ; preds = %201
  %208 = load ptr, ptr @stdout, align 8, !tbaa !9
  %209 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %208, ptr noundef @.str.32) #4
  %210 = load ptr, ptr %13, align 8, !tbaa !9
  call void @free_mdparams(ptr noundef %210)
  store ptr null, ptr %13, align 8, !tbaa !9
  %211 = load ptr, ptr @stdout, align 8, !tbaa !9
  call void @print_mdpocket_usage(ptr noundef %211)
  br label %212

212:                                              ; preds = %207, %201
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %240

213:                                              ; preds = %198
  %214 = load i32, ptr %7, align 4, !tbaa !5
  %215 = icmp ne i32 %214, 0
  br i1 %215, label %216, label %227

216:                                              ; preds = %213
  %217 = load i32, ptr %8, align 4, !tbaa !5
  %218 = icmp ne i32 %217, 0
  br i1 %218, label %219, label %227

219:                                              ; preds = %216
  %220 = load ptr, ptr %13, align 8, !tbaa !9
  %221 = getelementptr inbounds %struct.s_mdparams, ptr %220, i32 0, i32 18
  %222 = load ptr, ptr %221, align 8, !tbaa !13
  %223 = getelementptr inbounds %struct.s_fparams, ptr %222, i32 0, i32 0
  %224 = getelementptr inbounds [2000 x i8], ptr %223, i64 0, i64 0
  %225 = load i8, ptr %224, align 8, !tbaa !35
  %226 = icmp ne i8 %225, 0
  br i1 %226, label %239, label %227

227:                                              ; preds = %219, %216, %213
  %228 = load ptr, ptr @stdout, align 8, !tbaa !9
  %229 = load i32, ptr %7, align 4, !tbaa !5
  %230 = load i32, ptr %8, align 4, !tbaa !5
  %231 = load ptr, ptr %13, align 8, !tbaa !9
  %232 = getelementptr inbounds %struct.s_mdparams, ptr %231, i32 0, i32 18
  %233 = load ptr, ptr %232, align 8, !tbaa !13
  %234 = getelementptr inbounds %struct.s_fparams, ptr %233, i32 0, i32 0
  %235 = getelementptr inbounds [2000 x i8], ptr %234, i64 0, i64 0
  %236 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %228, ptr noundef @.str.33, i32 noundef %229, i32 noundef %230, ptr noundef %235) #4
  %237 = load ptr, ptr %13, align 8, !tbaa !9
  call void @free_mdparams(ptr noundef %237)
  store ptr null, ptr %13, align 8, !tbaa !9
  %238 = load ptr, ptr @stdout, align 8, !tbaa !9
  call void @print_mdpocket_usage(ptr noundef %238)
  br label %239

239:                                              ; preds = %227, %219
  br label %240

240:                                              ; preds = %239, %212
  br label %241

241:                                              ; preds = %240, %195
  %242 = load ptr, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  ret ptr %242
}

declare ptr @init_def_fparams() #2

declare ptr @get_fpocket_args(i32 noundef, ptr noundef) #2

; Function Attrs: nounwind
declare i32 @getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: nounwind
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #3

; Function Attrs: nounwind uwtable
declare dso_local void @free_mdparams(ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @print_mdpocket_usage(ptr noundef) #0

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

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

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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !10, i64 2136}
!14 = !{!"s_mdparams", !10, i64 0, !7, i64 8, !10, i64 2008, !10, i64 2016, !10, i64 2024, !10, i64 2032, !10, i64 2040, !10, i64 2048, !10, i64 2056, !10, i64 2064, !10, i64 2072, !10, i64 2080, !10, i64 2088, !10, i64 2096, !10, i64 2104, !10, i64 2112, !10, i64 2120, !6, i64 2128, !10, i64 2136, !6, i64 2144, !6, i64 2148, !7, i64 2152, !15, i64 2164, !16, i64 2168, !7, i64 2170}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!14, !16, i64 2168}
!18 = !{!14, !10, i64 2096}
!19 = !{!14, !10, i64 2008}
!20 = !{!14, !10, i64 2104}
!21 = !{!14, !10, i64 2016}
!22 = !{!14, !10, i64 2024}
!23 = !{!14, !10, i64 2040}
!24 = !{!14, !10, i64 2032}
!25 = !{!14, !10, i64 2056}
!26 = !{!14, !10, i64 2048}
!27 = !{!14, !10, i64 2064}
!28 = !{!14, !10, i64 2072}
!29 = !{!14, !10, i64 2080}
!30 = !{!14, !10, i64 2088}
!31 = !{!14, !10, i64 2112}
!32 = !{!14, !10, i64 2120}
!33 = !{!14, !6, i64 2144}
!34 = distinct !{!34, !12}
!35 = !{!7, !7, i64 0}


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

@optind = external local_unnamed_addr global i32, align 4
@opterr = external local_unnamed_addr global i32, align 4
@get_mdpocket_args.long_options_mdpocket = external hidden global [10 x %struct.option], align 16
@.str.20 = external hidden unnamed_addr constant [17 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@.str.21 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [15 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.32 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [48 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @init_def_mdparams() local_unnamed_addr #0

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

declare ptr @my_malloc(i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #3

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

; Function Attrs: nounwind uwtable
define dso_local ptr @get_mdpocket_args(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca i32, align 4
  %4 = sext i32 %0 to i64
  %5 = shl nsw i64 %4, 3
  %6 = tail call ptr @my_malloc(i64 noundef %5) #6
  %7 = icmp sgt i32 %0, 0
  br i1 %7, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %2
  %wide.trip.count = zext nneg i32 %0 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %8 = tail call ptr @my_malloc(i64 noundef 8) #6
  %9 = getelementptr inbounds ptr, ptr %6, i64 %indvars.iv
  store ptr %8, ptr %9, align 8, !tbaa !5
  %10 = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv
  %11 = load ptr, ptr %10, align 8, !tbaa !5
  %12 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %8, ptr noundef nonnull dereferenceable(1) %11) #6
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !9

._crit_edge:                                      ; preds = %.lr.ph, %2
  %13 = tail call ptr @init_def_mdparams()
  %14 = tail call ptr @init_def_fparams() #6
  %15 = getelementptr inbounds i8, ptr %13, i64 2136
  store ptr %14, ptr %15, align 8, !tbaa !11
  %16 = tail call ptr @get_fpocket_args(i32 noundef %0, ptr noundef %6) #6
  store ptr %16, ptr %15, align 8, !tbaa !11
  store i32 0, ptr @optind, align 4, !tbaa !16
  store i32 0, ptr @opterr, align 4, !tbaa !16
  %17 = getelementptr inbounds i8, ptr %13, i64 2144
  %18 = getelementptr inbounds i8, ptr %13, i64 8
  %19 = getelementptr inbounds i8, ptr %13, i64 2024
  %20 = getelementptr inbounds i8, ptr %13, i64 2040
  %21 = getelementptr inbounds i8, ptr %13, i64 2032
  %22 = getelementptr inbounds i8, ptr %13, i64 2056
  %23 = getelementptr inbounds i8, ptr %13, i64 2048
  %24 = getelementptr inbounds i8, ptr %13, i64 2064
  %25 = getelementptr inbounds i8, ptr %13, i64 2072
  %26 = getelementptr inbounds i8, ptr %13, i64 2080
  %27 = getelementptr inbounds i8, ptr %13, i64 2088
  %28 = getelementptr inbounds i8, ptr %13, i64 2112
  %29 = getelementptr inbounds i8, ptr %13, i64 2120
  %30 = getelementptr inbounds i8, ptr %13, i64 2016
  %31 = getelementptr inbounds i8, ptr %13, i64 2104
  %32 = getelementptr inbounds i8, ptr %13, i64 2008
  %33 = getelementptr inbounds i8, ptr %13, i64 2168
  %34 = getelementptr inbounds i8, ptr %13, i64 2096
  br label %35

35:                                               ; preds = %._crit_edge, %109
  %.06586 = phi i32 [ 0, %._crit_edge ], [ %.166, %109 ]
  %.06785 = phi ptr [ null, %._crit_edge ], [ %.168, %109 ]
  %.07382 = phi i32 [ 0, %._crit_edge ], [ %.174, %109 ]
  %.07581 = phi i32 [ 0, %._crit_edge ], [ %.176, %109 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  store i32 0, ptr %3, align 4, !tbaa !16
  %36 = call i32 @getopt_long(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.20, ptr noundef nonnull @get_mdpocket_args.long_options_mdpocket, ptr noundef nonnull %3) #6
  switch i32 %36, label %109 [
    i32 116, label %37
    i32 79, label %43
    i32 80, label %49
    i32 84, label %58
    i32 121, label %63
    i32 76, label %68
    i32 111, label %71
    i32 119, label %105
    i32 83, label %108
  ]

37:                                               ; preds = %35
  %38 = add nsw i32 %.06586, 1
  store i16 1, ptr %33, align 8, !tbaa !17
  %39 = load ptr, ptr %34, align 8, !tbaa !18
  %40 = load ptr, ptr @optarg, align 8, !tbaa !5
  %41 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %39, ptr noundef nonnull dereferenceable(1) %40) #6
  %42 = add nsw i32 %.07581, 1
  br label %109

43:                                               ; preds = %35
  %44 = load ptr, ptr %32, align 8, !tbaa !19
  %45 = load ptr, ptr @optarg, align 8, !tbaa !5
  %46 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %44, ptr noundef nonnull dereferenceable(1) %45) #6
  %47 = add nsw i32 %.07382, 1
  %48 = add nsw i32 %.06586, 1
  br label %109

49:                                               ; preds = %35
  %50 = load ptr, ptr %31, align 8, !tbaa !20
  %51 = load ptr, ptr @optarg, align 8, !tbaa !5
  %52 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %50, ptr noundef nonnull dereferenceable(1) %51) #6
  %53 = load ptr, ptr %15, align 8, !tbaa !11
  %54 = getelementptr inbounds i8, ptr %53, i64 2000
  %55 = load ptr, ptr @optarg, align 8, !tbaa !5
  %56 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) %55) #6
  %57 = add nsw i32 %.06586, 1
  br label %109

58:                                               ; preds = %35
  %59 = load ptr, ptr %30, align 8, !tbaa !21
  %60 = load ptr, ptr @optarg, align 8, !tbaa !5
  %61 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %59, ptr noundef nonnull dereferenceable(1) %60) #6
  %62 = add nsw i32 %.06586, 1
  br label %109

63:                                               ; preds = %35
  %64 = load ptr, ptr %15, align 8, !tbaa !11
  %65 = getelementptr inbounds i8, ptr %64, i64 2000
  %66 = load ptr, ptr @optarg, align 8, !tbaa !5
  %67 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %65, ptr noundef nonnull dereferenceable(1) %66) #6
  br label %109

68:                                               ; preds = %35
  %69 = load ptr, ptr @optarg, align 8, !tbaa !5
  %70 = add nsw i32 %.06586, 1
  br label %109

71:                                               ; preds = %35
  %72 = load ptr, ptr %19, align 8, !tbaa !22
  %73 = load ptr, ptr @optarg, align 8, !tbaa !5
  %74 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %72, ptr noundef nonnull dereferenceable(1) @.str.21, ptr noundef %73) #6
  %75 = load ptr, ptr %20, align 8, !tbaa !23
  %76 = load ptr, ptr @optarg, align 8, !tbaa !5
  %77 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %75, ptr noundef nonnull dereferenceable(1) @.str.22, ptr noundef %76) #6
  %78 = load ptr, ptr %21, align 8, !tbaa !24
  %79 = load ptr, ptr @optarg, align 8, !tbaa !5
  %80 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %78, ptr noundef nonnull dereferenceable(1) @.str.23, ptr noundef %79) #6
  %81 = load ptr, ptr %22, align 8, !tbaa !25
  %82 = load ptr, ptr @optarg, align 8, !tbaa !5
  %83 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %81, ptr noundef nonnull dereferenceable(1) @.str.24, ptr noundef %82) #6
  %84 = load ptr, ptr %23, align 8, !tbaa !26
  %85 = load ptr, ptr @optarg, align 8, !tbaa !5
  %86 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %84, ptr noundef nonnull dereferenceable(1) @.str.25, ptr noundef %85) #6
  %87 = load ptr, ptr %24, align 8, !tbaa !27
  %88 = load ptr, ptr @optarg, align 8, !tbaa !5
  %89 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %87, ptr noundef nonnull dereferenceable(1) @.str.26, ptr noundef %88) #6
  %90 = load ptr, ptr %25, align 8, !tbaa !28
  %91 = load ptr, ptr @optarg, align 8, !tbaa !5
  %92 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %90, ptr noundef nonnull dereferenceable(1) @.str.27, ptr noundef %91) #6
  %93 = load ptr, ptr %26, align 8, !tbaa !29
  %94 = load ptr, ptr @optarg, align 8, !tbaa !5
  %95 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %93, ptr noundef nonnull dereferenceable(1) @.str.28, ptr noundef %94) #6
  %96 = load ptr, ptr %27, align 8, !tbaa !30
  %97 = load ptr, ptr @optarg, align 8, !tbaa !5
  %98 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %96, ptr noundef nonnull dereferenceable(1) @.str.29, ptr noundef %97) #6
  %99 = load ptr, ptr %28, align 8, !tbaa !31
  %100 = load ptr, ptr @optarg, align 8, !tbaa !5
  %101 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %99, ptr noundef nonnull dereferenceable(1) @.str.30, ptr noundef %100) #6
  %102 = load ptr, ptr %29, align 8, !tbaa !32
  %103 = load ptr, ptr @optarg, align 8, !tbaa !5
  %104 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %102, ptr noundef nonnull dereferenceable(1) @.str.31, ptr noundef %103) #6
  br label %109

105:                                              ; preds = %35
  %106 = load ptr, ptr @optarg, align 8, !tbaa !5
  %107 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %18, ptr noundef nonnull dereferenceable(1) %106) #6
  br label %109

108:                                              ; preds = %35
  store i32 1, ptr %17, align 8, !tbaa !33
  br label %109

109:                                              ; preds = %108, %105, %71, %68, %63, %58, %49, %43, %37, %35
  %.176 = phi i32 [ %.07581, %35 ], [ %.07581, %108 ], [ %.07581, %105 ], [ %.07581, %71 ], [ %.07581, %68 ], [ %.07581, %63 ], [ %.07581, %58 ], [ %.07581, %49 ], [ %.07581, %43 ], [ %42, %37 ]
  %.174 = phi i32 [ %.07382, %35 ], [ %.07382, %108 ], [ %.07382, %105 ], [ %.07382, %71 ], [ %.07382, %68 ], [ %.07382, %63 ], [ %.07382, %58 ], [ %.07382, %49 ], [ %47, %43 ], [ %.07382, %37 ]
  %.168 = phi ptr [ %.06785, %35 ], [ %.06785, %108 ], [ %.06785, %105 ], [ %.06785, %71 ], [ %69, %68 ], [ %.06785, %63 ], [ %.06785, %58 ], [ %.06785, %49 ], [ %.06785, %43 ], [ %.06785, %37 ]
  %.166 = phi i32 [ %.06586, %35 ], [ %.06586, %108 ], [ %.06586, %105 ], [ %.06586, %71 ], [ %70, %68 ], [ %.06586, %63 ], [ %62, %58 ], [ %57, %49 ], [ %48, %43 ], [ %38, %37 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  %.not = icmp eq i32 %36, -1
  br i1 %.not, label %110, label %35, !llvm.loop !34

110:                                              ; preds = %109
  %111 = icmp eq i32 %.166, 0
  br i1 %111, label %112, label %113

112:                                              ; preds = %110
  call void @free_mdparams(ptr noundef %13)
  br label %.sink.split

113:                                              ; preds = %110
  %.not78 = icmp eq ptr %.168, null
  br i1 %.not78, label %120, label %114

114:                                              ; preds = %113
  %115 = call i32 @add_list_snapshots(ptr noundef nonnull %.168, ptr noundef %13)
  %116 = icmp slt i32 %115, 1
  br i1 %116, label %117, label %129

117:                                              ; preds = %114
  %118 = load ptr, ptr @stdout, align 8, !tbaa !5
  %119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %118, ptr noundef nonnull @.str.32) #6
  call void @free_mdparams(ptr noundef %13)
  br label %.sink.split

120:                                              ; preds = %113
  %121 = icmp ne i32 %.176, 0
  %122 = icmp ne i32 %.174, 0
  %or.cond = select i1 %121, i1 %122, i1 false
  %.pre = load ptr, ptr %15, align 8, !tbaa !11
  br i1 %or.cond, label %123, label %125

123:                                              ; preds = %120
  %124 = load i8, ptr %.pre, align 8, !tbaa !35
  %.not79 = icmp eq i8 %124, 0
  br i1 %.not79, label %125, label %129

125:                                              ; preds = %123, %120
  %126 = load ptr, ptr @stdout, align 8, !tbaa !5
  %127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %126, ptr noundef nonnull @.str.33, i32 noundef %.176, i32 noundef %.174, ptr noundef %.pre) #6
  call void @free_mdparams(ptr noundef nonnull %13)
  br label %.sink.split

.sink.split:                                      ; preds = %112, %125, %117
  %128 = load ptr, ptr @stdout, align 8, !tbaa !5
  call void @print_mdpocket_usage(ptr noundef %128)
  br label %129

129:                                              ; preds = %.sink.split, %114, %123
  %.1 = phi ptr [ %13, %123 ], [ %13, %114 ], [ null, %.sink.split ]
  ret ptr %.1
}

declare ptr @init_def_fparams() local_unnamed_addr #2

declare ptr @get_fpocket_args(i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind
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 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #5

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

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "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 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !6, i64 2136}
!12 = !{!"s_mdparams", !6, i64 0, !7, i64 8, !6, i64 2008, !6, i64 2016, !6, i64 2024, !6, i64 2032, !6, i64 2040, !6, i64 2048, !6, i64 2056, !6, i64 2064, !6, i64 2072, !6, i64 2080, !6, i64 2088, !6, i64 2096, !6, i64 2104, !6, i64 2112, !6, i64 2120, !13, i64 2128, !6, i64 2136, !13, i64 2144, !13, i64 2148, !7, i64 2152, !14, i64 2164, !15, i64 2168, !7, i64 2170}
!13 = !{!"int", !7, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!"short", !7, i64 0}
!16 = !{!13, !13, i64 0}
!17 = !{!12, !15, i64 2168}
!18 = !{!12, !6, i64 2096}
!19 = !{!12, !6, i64 2008}
!20 = !{!12, !6, i64 2104}
!21 = !{!12, !6, i64 2016}
!22 = !{!12, !6, i64 2024}
!23 = !{!12, !6, i64 2040}
!24 = !{!12, !6, i64 2032}
!25 = !{!12, !6, i64 2056}
!26 = !{!12, !6, i64 2048}
!27 = !{!12, !6, i64 2064}
!28 = !{!12, !6, i64 2072}
!29 = !{!12, !6, i64 2080}
!30 = !{!12, !6, i64 2088}
!31 = !{!12, !6, i64 2112}
!32 = !{!12, !6, i64 2120}
!33 = !{!12, !13, i64 2144}
!34 = distinct !{!34, !10}
!35 = !{!7, !7, i64 0}


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