; LLVM IR from jgaeddert/liquid-dsp :: examples (fskframesync_example)

; 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.framesyncstats_s = type { float, float, float, ptr, i32, i32, i32, i32, i32, i32 }

@.str.7 = external hidden unnamed_addr constant [11 x i8], align 1
@optarg = external global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [49 x i8], align 1
@header = external dso_local global [8 x i8], align 1
@payload = external dso_local global [200 x i8], align 16
@.str.9 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @usage() #0

declare i32 @printf(ptr noundef, ...) #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 float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca i32, align 4
  %28 = alloca ptr, align 8
  %29 = alloca i32, align 4
  %30 = alloca i64, align 8
  %31 = alloca ptr, 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
  %32 = call i64 @time(ptr noundef null) #7
  %33 = trunc i64 %32 to i32
  call void @srand(i32 noundef %33) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store float 2.000000e+01, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store float -2.000000e+01, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store float 0x3F847AE140000000, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store float 0.000000e+00, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store float 0xBFC99999A0000000, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 6, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  store i32 1, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 1, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 200, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store i32 0, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  br label %34

34:                                               ; preds = %60, %2
  %35 = load i32, ptr %4, align 4, !tbaa !5
  %36 = load ptr, ptr %5, align 8, !tbaa !9
  %37 = call i32 @getopt(i32 noundef %35, ptr noundef %36, ptr noundef @.str.7) #7
  store i32 %37, ptr %16, align 4, !tbaa !5
  %38 = icmp ne i32 %37, -1
  br i1 %38, label %39, label %61

39:                                               ; preds = %34
  %40 = load i32, ptr %16, align 4, !tbaa !5
  switch i32 %40, label %59 [
    i32 104, label %41
    i32 100, label %42
    i32 83, label %43
    i32 70, label %47
    i32 80, label %51
    i32 84, label %55
  ]

41:                                               ; preds = %39
  call void @usage()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %17, align 4
  br label %248

42:                                               ; preds = %39
  store i32 1, ptr %15, align 4, !tbaa !5
  br label %60

43:                                               ; preds = %39
  %44 = load ptr, ptr @optarg, align 8, !tbaa !9
  %45 = call double @atof(ptr noundef %44) #8
  %46 = fptrunc double %45 to float
  store float %46, ptr %6, align 4, !tbaa !11
  br label %60

47:                                               ; preds = %39
  %48 = load ptr, ptr @optarg, align 8, !tbaa !9
  %49 = call double @atof(ptr noundef %48) #8
  %50 = fptrunc double %49 to float
  store float %50, ptr %8, align 4, !tbaa !11
  br label %60

51:                                               ; preds = %39
  %52 = load ptr, ptr @optarg, align 8, !tbaa !9
  %53 = call double @atof(ptr noundef %52) #8
  %54 = fptrunc double %53 to float
  store float %54, ptr %9, align 4, !tbaa !11
  br label %60

55:                                               ; preds = %39
  %56 = load ptr, ptr @optarg, align 8, !tbaa !9
  %57 = call double @atof(ptr noundef %56) #8
  %58 = fptrunc double %57 to float
  store float %58, ptr %10, align 4, !tbaa !11
  br label %60

59:                                               ; preds = %39
  call void @exit(i32 noundef -1) #9
  unreachable

60:                                               ; preds = %55, %51, %47, %43, %42
  br label %34, !llvm.loop !13

61:                                               ; preds = %34
  %62 = load float, ptr %10, align 4, !tbaa !11
  %63 = fpext float %62 to double
  %64 = load float, ptr %8, align 4, !tbaa !11
  %65 = fpext float %64 to double
  %66 = load float, ptr %9, align 4, !tbaa !11
  %67 = fpext float %66 to double
  %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %63, double noundef %65, double noundef %67)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %69 = load float, ptr %7, align 4, !tbaa !11
  %70 = fdiv float %69, 2.000000e+01
  %71 = call float @powf(float noundef 1.000000e+01, float noundef %70) #7
  store float %71, ptr %18, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %72 = load float, ptr %6, align 4, !tbaa !11
  %73 = load float, ptr %7, align 4, !tbaa !11
  %74 = fadd float %72, %73
  %75 = fdiv float %74, 2.000000e+01
  %76 = call float @powf(float noundef 1.000000e+01, float noundef %75) #7
  store float %76, ptr %19, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %77 = call ptr (...) @fskframegen_create()
  store ptr %77, ptr %20, align 8, !tbaa !9
  %78 = load ptr, ptr %20, align 8, !tbaa !9
  %79 = call i32 @fskframegen_print(ptr noundef %78)
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %80 = call ptr @fskframesync_create(ptr noundef @callback, ptr noundef null)
  store ptr %80, ptr %21, align 8, !tbaa !9
  %81 = load ptr, ptr %21, align 8, !tbaa !9
  %82 = call i32 @fskframesync_print(ptr noundef %81)
  %83 = load i32, ptr %15, align 4, !tbaa !5
  %84 = icmp ne i32 %83, 0
  br i1 %84, label %85, label %88

85:                                               ; preds = %61
  %86 = load ptr, ptr %21, align 8, !tbaa !9
  %87 = call i32 @fskframesync_debug_enable(ptr noundef %86)
  br label %88

88:                                               ; preds = %85, %61
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %89

89:                                               ; preds = %98, %88
  %90 = load i32, ptr %22, align 4, !tbaa !5
  %91 = icmp ult i32 %90, 8
  br i1 %91, label %92, label %101

92:                                               ; preds = %89
  %93 = load i32, ptr %22, align 4, !tbaa !5
  %94 = trunc i32 %93 to i8
  %95 = load i32, ptr %22, align 4, !tbaa !5
  %96 = zext i32 %95 to i64
  %97 = getelementptr inbounds [8 x i8], ptr @header, i64 0, i64 %96
  store i8 %94, ptr %97, align 1, !tbaa !15
  br label %98

98:                                               ; preds = %92
  %99 = load i32, ptr %22, align 4, !tbaa !5
  %100 = add i32 %99, 1
  store i32 %100, ptr %22, align 4, !tbaa !5
  br label %89, !llvm.loop !16

101:                                              ; preds = %89
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %102

102:                                              ; preds = %112, %101
  %103 = load i32, ptr %22, align 4, !tbaa !5
  %104 = icmp ult i32 %103, 200
  br i1 %104, label %105, label %115

105:                                              ; preds = %102
  %106 = call i32 @rand() #7
  %107 = and i32 %106, 255
  %108 = trunc i32 %107 to i8
  %109 = load i32, ptr %22, align 4, !tbaa !5
  %110 = zext i32 %109 to i64
  %111 = getelementptr inbounds [200 x i8], ptr @payload, i64 0, i64 %110
  store i8 %108, ptr %111, align 1, !tbaa !15
  br label %112

112:                                              ; preds = %105
  %113 = load i32, ptr %22, align 4, !tbaa !5
  %114 = add i32 %113, 1
  store i32 %114, ptr %22, align 4, !tbaa !5
  br label %102, !llvm.loop !17

115:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  store i32 64, ptr %23, align 4, !tbaa !5
  %116 = load i32, ptr %23, align 4, !tbaa !5
  %117 = zext i32 %116 to i64
  %118 = call ptr @llvm.stacksave.p0()
  store ptr %118, ptr %24, align 8
  %119 = alloca { float, float }, i64 %117, align 16
  store i64 %117, ptr %25, align 8
  %120 = load i32, ptr %23, align 4, !tbaa !5
  %121 = zext i32 %120 to i64
  %122 = alloca { float, float }, i64 %121, align 16
  store i64 %121, ptr %26, align 8
  %123 = load ptr, ptr %20, align 8, !tbaa !9
  %124 = load i32, ptr %14, align 4, !tbaa !5
  %125 = load i32, ptr %11, align 4, !tbaa !5
  %126 = load i32, ptr %12, align 4, !tbaa !5
  %127 = load i32, ptr %13, align 4, !tbaa !5
  %128 = call i32 @fskframegen_assemble(ptr noundef %123, ptr noundef @header, ptr noundef @payload, i32 noundef %124, i32 noundef %125, i32 noundef %126, i32 noundef %127)
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  store i32 4200, ptr %27, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %129 = load i32, ptr %27, align 4, !tbaa !5
  %130 = call ptr @spgramcf_create_default(i32 noundef %129)
  store ptr %130, ptr %28, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  store i32 0, ptr %29, align 4, !tbaa !5
  br label %131

131:                                              ; preds = %180, %115
  %132 = load i32, ptr %29, align 4, !tbaa !5
  %133 = icmp ne i32 %132, 0
  %134 = xor i1 %133, true
  br i1 %134, label %135, label %187

135:                                              ; preds = %131
  %136 = load ptr, ptr %20, align 8, !tbaa !9
  %137 = load i32, ptr %23, align 4, !tbaa !5
  %138 = call i32 @fskframegen_write_samples(ptr noundef %136, ptr noundef %119, i32 noundef %137)
  store i32 %138, ptr %29, align 4, !tbaa !5
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %139

139:                                              ; preds = %177, %135
  %140 = load i32, ptr %22, align 4, !tbaa !5
  %141 = load i32, ptr %23, align 4, !tbaa !5
  %142 = icmp ult i32 %140, %141
  br i1 %142, label %143, label %180

143:                                              ; preds = %139
  %144 = load i32, ptr %22, align 4, !tbaa !5
  %145 = zext i32 %144 to i64
  %146 = getelementptr inbounds { float, float }, ptr %119, i64 %145
  %147 = getelementptr inbounds { float, float }, ptr %146, i32 0, i32 0
  %148 = load float, ptr %147, align 8
  %149 = getelementptr inbounds { float, float }, ptr %146, i32 0, i32 1
  %150 = load float, ptr %149, align 4
  %151 = load float, ptr %19, align 4, !tbaa !11
  %152 = fmul float %148, %151
  %153 = fmul float %150, %151
  %154 = fpext float %152 to double
  %155 = fpext float %153 to double
  %156 = load float, ptr %18, align 4, !tbaa !11
  %157 = call float (...) @randnf()
  %158 = call float (...) @randnf()
  %159 = fmul float %158, 0.000000e+00
  %160 = fmul float %158, 1.000000e+00
  %161 = fadd float %157, %159
  %162 = fmul float %156, %161
  %163 = fmul float %156, %160
  %164 = fpext float %162 to double
  %165 = fpext float %163 to double
  %166 = fmul double %164, 0x3FE6A09E667F3BCD
  %167 = fmul double %165, 0x3FE6A09E667F3BCD
  %168 = fadd double %154, %166
  %169 = fadd double %155, %167
  %170 = fptrunc double %168 to float
  %171 = fptrunc double %169 to float
  %172 = load i32, ptr %22, align 4, !tbaa !5
  %173 = zext i32 %172 to i64
  %174 = getelementptr inbounds { float, float }, ptr %122, i64 %173
  %175 = getelementptr inbounds { float, float }, ptr %174, i32 0, i32 0
  %176 = getelementptr inbounds { float, float }, ptr %174, i32 0, i32 1
  store float %170, ptr %175, align 8
  store float %171, ptr %176, align 4
  br label %177

177:                                              ; preds = %143
  %178 = load i32, ptr %22, align 4, !tbaa !5
  %179 = add i32 %178, 1
  store i32 %179, ptr %22, align 4, !tbaa !5
  br label %139, !llvm.loop !18

180:                                              ; preds = %139
  %181 = load ptr, ptr %21, align 8, !tbaa !9
  %182 = load i32, ptr %23, align 4, !tbaa !5
  %183 = call i32 @fskframesync_execute_block(ptr noundef %181, ptr noundef %122, i32 noundef %182)
  %184 = load ptr, ptr %28, align 8, !tbaa !9
  %185 = load i32, ptr %23, align 4, !tbaa !5
  %186 = call i32 @spgramcf_write(ptr noundef %184, ptr noundef %122, i32 noundef %185)
  br label %131, !llvm.loop !19

187:                                              ; preds = %131
  %188 = load i32, ptr %27, align 4, !tbaa !5
  %189 = zext i32 %188 to i64
  %190 = alloca float, i64 %189, align 16
  store i64 %189, ptr %30, align 8
  %191 = load ptr, ptr %28, align 8, !tbaa !9
  %192 = call i32 @spgramcf_get_psd(ptr noundef %191, ptr noundef %190)
  %193 = load ptr, ptr %28, align 8, !tbaa !9
  %194 = call i32 @spgramcf_destroy(ptr noundef %193)
  %195 = load ptr, ptr %20, align 8, !tbaa !9
  %196 = call i32 @fskframegen_destroy(ptr noundef %195)
  %197 = load ptr, ptr %21, align 8, !tbaa !9
  %198 = call i32 @fskframesync_destroy(ptr noundef %197)
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %199 = call noalias ptr @fopen(ptr noundef @.str.9, ptr noundef @.str.10)
  store ptr %199, ptr %31, align 8, !tbaa !9
  %200 = load ptr, ptr %31, align 8, !tbaa !9
  %201 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef @.str.11, ptr noundef @.str.9) #7
  %202 = load ptr, ptr %31, align 8, !tbaa !9
  %203 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %202, ptr noundef @.str.12) #7
  %204 = load ptr, ptr %31, align 8, !tbaa !9
  %205 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %204, ptr noundef @.str.13) #7
  %206 = load ptr, ptr %31, align 8, !tbaa !9
  %207 = load i32, ptr %27, align 4, !tbaa !5
  %208 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %206, ptr noundef @.str.14, i32 noundef %207) #7
  %209 = load ptr, ptr %31, align 8, !tbaa !9
  %210 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %209, ptr noundef @.str.15) #7
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %211

211:                                              ; preds = %225, %187
  %212 = load i32, ptr %22, align 4, !tbaa !5
  %213 = load i32, ptr %27, align 4, !tbaa !5
  %214 = icmp ult i32 %212, %213
  br i1 %214, label %215, label %228

215:                                              ; preds = %211
  %216 = load ptr, ptr %31, align 8, !tbaa !9
  %217 = load i32, ptr %22, align 4, !tbaa !5
  %218 = add i32 %217, 1
  %219 = load i32, ptr %22, align 4, !tbaa !5
  %220 = zext i32 %219 to i64
  %221 = getelementptr inbounds float, ptr %190, i64 %220
  %222 = load float, ptr %221, align 4, !tbaa !11
  %223 = fpext float %222 to double
  %224 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %216, ptr noundef @.str.16, i32 noundef %218, double noundef %223) #7
  br label %225

225:                                              ; preds = %215
  %226 = load i32, ptr %22, align 4, !tbaa !5
  %227 = add i32 %226, 1
  store i32 %227, ptr %22, align 4, !tbaa !5
  br label %211, !llvm.loop !20

228:                                              ; preds = %211
  %229 = load ptr, ptr %31, align 8, !tbaa !9
  %230 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %229, ptr noundef @.str.17) #7
  %231 = load ptr, ptr %31, align 8, !tbaa !9
  %232 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef @.str.18) #7
  %233 = load ptr, ptr %31, align 8, !tbaa !9
  %234 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %233, ptr noundef @.str.19) #7
  %235 = load ptr, ptr %31, align 8, !tbaa !9
  %236 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %235, ptr noundef @.str.20) #7
  %237 = load ptr, ptr %31, align 8, !tbaa !9
  %238 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %237, ptr noundef @.str.21) #7
  %239 = load ptr, ptr %31, align 8, !tbaa !9
  %240 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %239, ptr noundef @.str.22) #7
  %241 = load ptr, ptr %31, align 8, !tbaa !9
  %242 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %241, ptr noundef @.str.23) #7
  %243 = load ptr, ptr %31, align 8, !tbaa !9
  %244 = call i32 @fclose(ptr noundef %243)
  %245 = call i32 (ptr, ...) @printf(ptr noundef @.str.24, ptr noundef @.str.9)
  %246 = call i32 (ptr, ...) @printf(ptr noundef @.str.25)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  %247 = load ptr, ptr %24, align 8
  call void @llvm.stackrestore.p0(ptr %247)
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %248

248:                                              ; preds = %228, %41
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  %249 = load i32, ptr %3, align 4
  ret i32 %249
}

; Function Attrs: nounwind
declare void @srand(i32 noundef) #2

; Function Attrs: nounwind
declare i64 @time(ptr noundef) #2

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

; Function Attrs: nounwind
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #2

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare double @atof(ptr noundef nonnull) #4

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

; Function Attrs: nounwind
declare float @powf(float noundef, float noundef) #2

declare ptr @fskframegen_create(...) #1

declare i32 @fskframegen_print(ptr noundef) #1

declare ptr @fskframesync_create(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @callback(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef byval(%struct.framesyncstats_s) align 8, ptr noundef) #0

declare i32 @fskframesync_print(ptr noundef) #1

declare i32 @fskframesync_debug_enable(ptr noundef) #1

; Function Attrs: nounwind
declare i32 @rand() #2

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #6

declare i32 @fskframegen_assemble(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

declare ptr @spgramcf_create_default(i32 noundef) #1

declare i32 @fskframegen_write_samples(ptr noundef, ptr noundef, i32 noundef) #1

declare float @randnf(...) #1

declare i32 @fskframesync_execute_block(ptr noundef, ptr noundef, i32 noundef) #1

declare i32 @spgramcf_write(ptr noundef, ptr noundef, i32 noundef) #1

declare i32 @spgramcf_get_psd(ptr noundef, ptr noundef) #1

declare i32 @spgramcf_destroy(ptr noundef) #1

declare i32 @fskframegen_destroy(ptr noundef) #1

declare i32 @fskframesync_destroy(ptr noundef) #1

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

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

declare i32 @fclose(ptr noundef) #1

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #6

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}


; 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.framesyncstats_s = type { float, float, float, ptr, i32, i32, i32, i32, i32, i32 }

@.str.7 = external hidden unnamed_addr constant [11 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [49 x i8], align 1
@header = external dso_local global [8 x i8], align 1
@payload = external dso_local global [200 x i8], align 16
@.str.9 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @usage() local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = tail call i64 @time(ptr noundef null) #8
  %4 = trunc i64 %3 to i32
  tail call void @srand(i32 noundef %4) #8
  br label %.outer

.outer:                                           ; preds = %5, %2
  %.not80 = phi i1 [ true, %2 ], [ false, %5 ]
  %.074.ph = phi float [ 0xBFC99999A0000000, %2 ], [ %.074.ph137, %5 ]
  %.072.ph = phi float [ 0.000000e+00, %2 ], [ %.072.ph142, %5 ]
  %.070.ph = phi float [ 0x3F847AE140000000, %2 ], [ %.070.ph146, %5 ]
  %.068.ph = phi float [ 2.000000e+01, %2 ], [ %.068, %5 ]
  br label %.outer136

.outer136:                                        ; preds = %.outer, %20
  %.074.ph137 = phi float [ %.074.ph, %.outer ], [ %23, %20 ]
  %.072.ph138 = phi float [ %.072.ph, %.outer ], [ %.072.ph142, %20 ]
  %.070.ph139 = phi float [ %.070.ph, %.outer ], [ %.070.ph146, %20 ]
  %.068.ph140 = phi float [ %.068.ph, %.outer ], [ %.068, %20 ]
  br label %.outer141

.outer141:                                        ; preds = %.outer136, %16
  %.072.ph142 = phi float [ %.072.ph138, %.outer136 ], [ %19, %16 ]
  %.070.ph143 = phi float [ %.070.ph139, %.outer136 ], [ %.070.ph146, %16 ]
  %.068.ph144 = phi float [ %.068.ph140, %.outer136 ], [ %.068, %16 ]
  br label %.outer145

.outer145:                                        ; preds = %.outer141, %12
  %.070.ph146 = phi float [ %.070.ph143, %.outer141 ], [ %15, %12 ]
  %.068.ph147 = phi float [ %.068.ph144, %.outer141 ], [ %.068, %12 ]
  br label %5

5:                                                ; preds = %.outer145, %8
  %.068 = phi float [ %11, %8 ], [ %.068.ph147, %.outer145 ]
  %6 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.7) #8
  switch i32 %6, label %24 [
    i32 -1, label %25
    i32 104, label %7
    i32 100, label %.outer
    i32 83, label %8
    i32 70, label %12
    i32 80, label %16
    i32 84, label %20
  ], !llvm.loop !5

7:                                                ; preds = %5
  tail call void @usage()
  br label %101

8:                                                ; preds = %5
  %9 = load ptr, ptr @optarg, align 8, !tbaa !7
  %10 = tail call double @atof(ptr noundef %9) #9
  %11 = fptrunc double %10 to float
  br label %5, !llvm.loop !5

12:                                               ; preds = %5
  %13 = load ptr, ptr @optarg, align 8, !tbaa !7
  %14 = tail call double @atof(ptr noundef %13) #9
  %15 = fptrunc double %14 to float
  br label %.outer145, !llvm.loop !5

16:                                               ; preds = %5
  %17 = load ptr, ptr @optarg, align 8, !tbaa !7
  %18 = tail call double @atof(ptr noundef %17) #9
  %19 = fptrunc double %18 to float
  br label %.outer141, !llvm.loop !5

20:                                               ; preds = %5
  %21 = load ptr, ptr @optarg, align 8, !tbaa !7
  %22 = tail call double @atof(ptr noundef %21) #9
  %23 = fptrunc double %22 to float
  br label %.outer136, !llvm.loop !5

24:                                               ; preds = %5
  tail call void @exit(i32 noundef -1) #10
  unreachable

25:                                               ; preds = %5
  %26 = fpext float %.074.ph137 to double
  %27 = fpext float %.070.ph146 to double
  %28 = fpext float %.072.ph142 to double
  %29 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, double noundef %26, double noundef %27, double noundef %28)
  %30 = fadd float %.068, -2.000000e+01
  %31 = fdiv float %30, 2.000000e+01
  %32 = tail call float @powf(float noundef 1.000000e+01, float noundef %31) #8
  %33 = tail call ptr (...) @fskframegen_create() #8
  %34 = tail call i32 @fskframegen_print(ptr noundef %33) #8
  %35 = tail call ptr @fskframesync_create(ptr noundef nonnull @callback, ptr noundef null) #8
  %36 = tail call i32 @fskframesync_print(ptr noundef %35) #8
  br i1 %.not80, label %.preheader.preheader, label %37

37:                                               ; preds = %25
  %38 = tail call i32 @fskframesync_debug_enable(ptr noundef %35) #8
  br label %.preheader.preheader

.preheader.preheader:                             ; preds = %37, %25
  store <8 x i8> <i8 0, i8 1, i8 2, i8 3, i8 4, i8 5, i8 6, i8 7>, ptr @header, align 1, !tbaa !11
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %.preheader
  %indvars.iv = phi i64 [ 0, %.preheader.preheader ], [ %indvars.iv.next, %.preheader ]
  %39 = tail call i32 @rand() #8
  %40 = trunc i32 %39 to i8
  %41 = getelementptr inbounds [200 x i8], ptr @payload, i64 0, i64 %indvars.iv
  store i8 %40, ptr %41, align 1, !tbaa !11
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 200
  br i1 %exitcond.not, label %42, label %.preheader, !llvm.loop !12

42:                                               ; preds = %.preheader
  %43 = tail call ptr @llvm.stacksave.p0()
  %44 = alloca [64 x { float, float }], align 16
  %45 = alloca [64 x { float, float }], align 16
  %46 = tail call i32 @fskframegen_assemble(ptr noundef %33, ptr noundef nonnull @header, ptr noundef nonnull @payload, i32 noundef 200, i32 noundef 6, i32 noundef 1, i32 noundef 1) #8
  %47 = tail call ptr @spgramcf_create_default(i32 noundef 4200) #8
  %48 = insertelement <2 x float> poison, float %32, i64 0
  %49 = shufflevector <2 x float> %48, <2 x float> poison, <2 x i32> zeroinitializer
  br label %50

50:                                               ; preds = %42, %69
  %51 = call i32 @fskframegen_write_samples(ptr noundef %33, ptr noundef nonnull %44, i32 noundef 64) #8
  br label %52

52:                                               ; preds = %50, %52
  %indvars.iv108 = phi i64 [ 0, %50 ], [ %indvars.iv.next109, %52 ]
  %53 = getelementptr inbounds { float, float }, ptr %44, i64 %indvars.iv108
  %54 = getelementptr inbounds { float, float }, ptr %45, i64 %indvars.iv108
  %55 = load <2 x float>, ptr %53, align 8
  %56 = fmul <2 x float> %49, %55
  %57 = fpext <2 x float> %56 to <2 x double>
  %58 = call float (...) @randnf() #8
  %59 = call float (...) @randnf() #8
  %60 = fmul float %59, 0.000000e+00
  %61 = fadd float %58, %60
  %62 = insertelement <2 x float> poison, float %61, i64 0
  %63 = insertelement <2 x float> %62, float %59, i64 1
  %64 = fmul <2 x float> %63, <float 0x3FB99999A0000000, float 0x3FB99999A0000000>
  %65 = fpext <2 x float> %64 to <2 x double>
  %66 = fmul <2 x double> %65, <double 0x3FE6A09E667F3BCD, double 0x3FE6A09E667F3BCD>
  %67 = fadd <2 x double> %66, %57
  %68 = fptrunc <2 x double> %67 to <2 x float>
  store <2 x float> %68, ptr %54, align 8
  %indvars.iv.next109 = add nuw nsw i64 %indvars.iv108, 1
  %exitcond111.not = icmp eq i64 %indvars.iv.next109, 64
  br i1 %exitcond111.not, label %69, label %52, !llvm.loop !13

69:                                               ; preds = %52
  %70 = call i32 @fskframesync_execute_block(ptr noundef %35, ptr noundef nonnull %45, i32 noundef 64) #8
  %71 = call i32 @spgramcf_write(ptr noundef %47, ptr noundef nonnull %45, i32 noundef 64) #8
  %.not81 = icmp eq i32 %51, 0
  br i1 %.not81, label %50, label %72, !llvm.loop !14

72:                                               ; preds = %69
  %73 = alloca [4200 x float], align 16
  %74 = call i32 @spgramcf_get_psd(ptr noundef %47, ptr noundef nonnull %73) #8
  %75 = call i32 @spgramcf_destroy(ptr noundef %47) #8
  %76 = call i32 @fskframegen_destroy(ptr noundef %33) #8
  %77 = call i32 @fskframesync_destroy(ptr noundef %35) #8
  %78 = call noalias ptr @fopen(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.10)
  %79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.9) #8
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.12) #8
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.13) #8
  %82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.14, i32 noundef 4200) #8
  %83 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.15) #8
  br label %84

84:                                               ; preds = %72, %84
  %indvars.iv112 = phi i64 [ 0, %72 ], [ %indvars.iv.next113, %84 ]
  %indvars.iv.next113 = add nuw nsw i64 %indvars.iv112, 1
  %85 = getelementptr inbounds float, ptr %73, i64 %indvars.iv112
  %86 = load float, ptr %85, align 4, !tbaa !15
  %87 = fpext float %86 to double
  %88 = trunc nuw nsw i64 %indvars.iv.next113 to i32
  %89 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.16, i32 noundef %88, double noundef %87) #8
  %exitcond115.not = icmp eq i64 %indvars.iv.next113, 4200
  br i1 %exitcond115.not, label %90, label %84, !llvm.loop !17

90:                                               ; preds = %84
  %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.17) #8
  %92 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.18) #8
  %93 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.19) #8
  %94 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.20) #8
  %95 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.21) #8
  %96 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.22) #8
  %97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef nonnull @.str.23) #8
  %98 = call i32 @fclose(ptr noundef %78)
  %99 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.24, ptr noundef nonnull @.str.9)
  %100 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.25)
  call void @llvm.stackrestore.p0(ptr %43)
  br label %101

101:                                              ; preds = %90, %7
  ret i32 0
}

; Function Attrs: nounwind
declare void @srand(i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare i64 @time(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare double @atof(ptr nocapture noundef nonnull) local_unnamed_addr #3

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @powf(float noundef, float noundef) local_unnamed_addr #5

declare ptr @fskframegen_create(...) local_unnamed_addr #6

declare i32 @fskframegen_print(ptr noundef) local_unnamed_addr #6

declare ptr @fskframesync_create(ptr noundef, ptr noundef) local_unnamed_addr #6

; Function Attrs: nounwind uwtable
declare hidden i32 @callback(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef byval(%struct.framesyncstats_s) align 8, ptr noundef) #0

declare i32 @fskframesync_print(ptr noundef) local_unnamed_addr #6

declare i32 @fskframesync_debug_enable(ptr noundef) local_unnamed_addr #6

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #7

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

declare ptr @spgramcf_create_default(i32 noundef) local_unnamed_addr #6

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

declare float @randnf(...) local_unnamed_addr #6

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

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

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

declare i32 @spgramcf_destroy(ptr noundef) local_unnamed_addr #6

declare i32 @fskframegen_destroy(ptr noundef) local_unnamed_addr #6

declare i32 @fskframesync_destroy(ptr noundef) local_unnamed_addr #6

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

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #7

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!9, !9, i64 0}
!12 = distinct !{!12, !6}
!13 = distinct !{!13, !6}
!14 = distinct !{!14, !6}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !9, i64 0}
!17 = distinct !{!17, !6}


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