; LLVM IR from jgaeddert/liquid-dsp :: src/framing/src (flexframesync)

; 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.flexframesync_s = type { ptr, ptr, %struct.framesyncstats_s, %struct.framedatastats_s, i32, float, ptr, float, float, float, float, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, i32, ptr, i32, ptr, ptr, i32, ptr, i32, i32, ptr, i32, %struct.flexframegenprops_s, i32, ptr, ptr, i32, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, ptr }
%struct.framesyncstats_s = type { float, float, float, ptr, i32, i32, i32, i32, i32, i32 }
%struct.framedatastats_s = type { i32, i32, i32, i64 }
%struct.flexframegenprops_s = type { i32, i32, i32, i32 }

@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [44 x i8], align 1

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

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

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

declare i32 @liquid_error_fl(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @flexframesync_debug_print(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.flexframesync_s, ptr %10, i32 0, i32 43
  %12 = load i32, ptr %11, align 8, !tbaa !9
  %13 = icmp ne i32 %12, 0
  br i1 %13, label %16, label %14

14:                                               ; preds = %2
  %15 = call i32 (i32, ptr, i32, ptr, ...) @liquid_error_fl(i32 noundef 3, ptr noundef @.str.1, i32 noundef 869, ptr noundef @.str.12)
  store i32 %15, ptr %3, align 4
  br label %277

16:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = call noalias ptr @fopen(ptr noundef %17, ptr noundef @.str.13)
  store ptr %18, ptr %8, align 8, !tbaa !5
  %19 = load ptr, ptr %8, align 8, !tbaa !5
  %20 = icmp eq ptr %19, null
  br i1 %20, label %21, label %24

21:                                               ; preds = %16
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = call i32 (i32, ptr, i32, ptr, ...) @liquid_error_fl(i32 noundef 10, ptr noundef @.str.1, i32 noundef 875, ptr noundef @.str.14, ptr noundef %22)
  store i32 %23, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %276

24:                                               ; preds = %16
  %25 = load ptr, ptr %8, align 8, !tbaa !5
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef @.str.15, ptr noundef %26) #4
  %28 = load ptr, ptr %8, align 8, !tbaa !5
  %29 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef @.str.16) #4
  %30 = load ptr, ptr %8, align 8, !tbaa !5
  %31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef @.str.17) #4
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str.18) #4
  %34 = load ptr, ptr %8, align 8, !tbaa !5
  %35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef @.str.19, i32 noundef 2000) #4
  %36 = load ptr, ptr %8, align 8, !tbaa !5
  %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef @.str.20) #4
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef @.str.21) #4
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.flexframesync_s, ptr %40, i32 0, i32 45
  %42 = load ptr, ptr %41, align 8, !tbaa !17
  %43 = call i32 @windowcf_read(ptr noundef %42, ptr noundef %7)
  store i32 0, ptr %6, align 4, !tbaa !18
  br label %44

44:                                               ; preds = %70, %24
  %45 = load i32, ptr %6, align 4, !tbaa !18
  %46 = icmp ult i32 %45, 2000
  br i1 %46, label %47, label %73

47:                                               ; preds = %44
  %48 = load ptr, ptr %8, align 8, !tbaa !5
  %49 = load i32, ptr %6, align 4, !tbaa !18
  %50 = add i32 %49, 1
  %51 = load ptr, ptr %7, align 8, !tbaa !5
  %52 = load i32, ptr %6, align 4, !tbaa !18
  %53 = zext i32 %52 to i64
  %54 = getelementptr inbounds { float, float }, ptr %51, i64 %53
  %55 = getelementptr inbounds { float, float }, ptr %54, i32 0, i32 0
  %56 = load float, ptr %55, align 4
  %57 = getelementptr inbounds { float, float }, ptr %54, i32 0, i32 1
  %58 = load float, ptr %57, align 4
  %59 = fpext float %56 to double
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = load i32, ptr %6, align 4, !tbaa !18
  %62 = zext i32 %61 to i64
  %63 = getelementptr inbounds { float, float }, ptr %60, i64 %62
  %64 = getelementptr inbounds { float, float }, ptr %63, i32 0, i32 0
  %65 = load float, ptr %64, align 4
  %66 = getelementptr inbounds { float, float }, ptr %63, i32 0, i32 1
  %67 = load float, ptr %66, align 4
  %68 = fpext float %67 to double
  %69 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef @.str.22, i32 noundef %50, double noundef %59, double noundef %68) #4
  br label %70

70:                                               ; preds = %47
  %71 = load i32, ptr %6, align 4, !tbaa !18
  %72 = add i32 %71, 1
  store i32 %72, ptr %6, align 4, !tbaa !18
  br label %44, !llvm.loop !19

73:                                               ; preds = %44
  %74 = load ptr, ptr %8, align 8, !tbaa !5
  %75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef @.str.16) #4
  %76 = load ptr, ptr %8, align 8, !tbaa !5
  %77 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %76, ptr noundef @.str.23) #4
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  %79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef @.str.24) #4
  %80 = load ptr, ptr %8, align 8, !tbaa !5
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %80, ptr noundef @.str.25) #4
  %82 = load ptr, ptr %8, align 8, !tbaa !5
  %83 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %82, ptr noundef @.str.26) #4
  %84 = load ptr, ptr %8, align 8, !tbaa !5
  %85 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %84, ptr noundef @.str.27) #4
  %86 = load ptr, ptr %8, align 8, !tbaa !5
  %87 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %86, ptr noundef @.str.28) #4
  %88 = load ptr, ptr %4, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.flexframesync_s, ptr %88, i32 0, i32 17
  %90 = load ptr, ptr %89, align 8, !tbaa !21
  store ptr %90, ptr %7, align 8, !tbaa !5
  store i32 0, ptr %6, align 4, !tbaa !18
  br label %91

91:                                               ; preds = %117, %73
  %92 = load i32, ptr %6, align 4, !tbaa !18
  %93 = icmp ult i32 %92, 64
  br i1 %93, label %94, label %120

94:                                               ; preds = %91
  %95 = load ptr, ptr %8, align 8, !tbaa !5
  %96 = load i32, ptr %6, align 4, !tbaa !18
  %97 = add i32 %96, 1
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = load i32, ptr %6, align 4, !tbaa !18
  %100 = zext i32 %99 to i64
  %101 = getelementptr inbounds { float, float }, ptr %98, i64 %100
  %102 = getelementptr inbounds { float, float }, ptr %101, i32 0, i32 0
  %103 = load float, ptr %102, align 4
  %104 = getelementptr inbounds { float, float }, ptr %101, i32 0, i32 1
  %105 = load float, ptr %104, align 4
  %106 = fpext float %103 to double
  %107 = load ptr, ptr %7, align 8, !tbaa !5
  %108 = load i32, ptr %6, align 4, !tbaa !18
  %109 = zext i32 %108 to i64
  %110 = getelementptr inbounds { float, float }, ptr %107, i64 %109
  %111 = getelementptr inbounds { float, float }, ptr %110, i32 0, i32 0
  %112 = load float, ptr %111, align 4
  %113 = getelementptr inbounds { float, float }, ptr %110, i32 0, i32 1
  %114 = load float, ptr %113, align 4
  %115 = fpext float %114 to double
  %116 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %95, ptr noundef @.str.29, i32 noundef %97, double noundef %106, double noundef %115) #4
  br label %117

117:                                              ; preds = %94
  %118 = load i32, ptr %6, align 4, !tbaa !18
  %119 = add i32 %118, 1
  store i32 %119, ptr %6, align 4, !tbaa !18
  br label %91, !llvm.loop !22

120:                                              ; preds = %91
  %121 = load ptr, ptr %8, align 8, !tbaa !5
  %122 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %121, ptr noundef @.str.30) #4
  %123 = load ptr, ptr %4, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.flexframesync_s, ptr %123, i32 0, i32 18
  %125 = load ptr, ptr %124, align 8, !tbaa !23
  store ptr %125, ptr %7, align 8, !tbaa !5
  store i32 0, ptr %6, align 4, !tbaa !18
  br label %126

126:                                              ; preds = %152, %120
  %127 = load i32, ptr %6, align 4, !tbaa !18
  %128 = icmp ult i32 %127, 64
  br i1 %128, label %129, label %155

129:                                              ; preds = %126
  %130 = load ptr, ptr %8, align 8, !tbaa !5
  %131 = load i32, ptr %6, align 4, !tbaa !18
  %132 = add i32 %131, 1
  %133 = load ptr, ptr %7, align 8, !tbaa !5
  %134 = load i32, ptr %6, align 4, !tbaa !18
  %135 = zext i32 %134 to i64
  %136 = getelementptr inbounds { float, float }, ptr %133, i64 %135
  %137 = getelementptr inbounds { float, float }, ptr %136, i32 0, i32 0
  %138 = load float, ptr %137, align 4
  %139 = getelementptr inbounds { float, float }, ptr %136, i32 0, i32 1
  %140 = load float, ptr %139, align 4
  %141 = fpext float %138 to double
  %142 = load ptr, ptr %7, align 8, !tbaa !5
  %143 = load i32, ptr %6, align 4, !tbaa !18
  %144 = zext i32 %143 to i64
  %145 = getelementptr inbounds { float, float }, ptr %142, i64 %144
  %146 = getelementptr inbounds { float, float }, ptr %145, i32 0, i32 0
  %147 = load float, ptr %146, align 4
  %148 = getelementptr inbounds { float, float }, ptr %145, i32 0, i32 1
  %149 = load float, ptr %148, align 4
  %150 = fpext float %149 to double
  %151 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %130, ptr noundef @.str.31, i32 noundef %132, double noundef %141, double noundef %150) #4
  br label %152

152:                                              ; preds = %129
  %153 = load i32, ptr %6, align 4, !tbaa !18
  %154 = add i32 %153, 1
  store i32 %154, ptr %6, align 4, !tbaa !18
  br label %126, !llvm.loop !24

155:                                              ; preds = %126
  %156 = load ptr, ptr %8, align 8, !tbaa !5
  %157 = load ptr, ptr %4, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.flexframesync_s, ptr %157, i32 0, i32 24
  %159 = load i32, ptr %158, align 8, !tbaa !25
  %160 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %156, ptr noundef @.str.32, i32 noundef %159) #4
  %161 = load ptr, ptr %4, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.flexframesync_s, ptr %161, i32 0, i32 23
  %163 = load ptr, ptr %162, align 8, !tbaa !26
  store ptr %163, ptr %7, align 8, !tbaa !5
  store i32 0, ptr %6, align 4, !tbaa !18
  br label %164

164:                                              ; preds = %193, %155
  %165 = load i32, ptr %6, align 4, !tbaa !18
  %166 = load ptr, ptr %4, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.flexframesync_s, ptr %166, i32 0, i32 24
  %168 = load i32, ptr %167, align 8, !tbaa !25
  %169 = icmp ult i32 %165, %168
  br i1 %169, label %170, label %196

170:                                              ; preds = %164
  %171 = load ptr, ptr %8, align 8, !tbaa !5
  %172 = load i32, ptr %6, align 4, !tbaa !18
  %173 = add i32 %172, 1
  %174 = load ptr, ptr %7, align 8, !tbaa !5
  %175 = load i32, ptr %6, align 4, !tbaa !18
  %176 = zext i32 %175 to i64
  %177 = getelementptr inbounds { float, float }, ptr %174, i64 %176
  %178 = getelementptr inbounds { float, float }, ptr %177, i32 0, i32 0
  %179 = load float, ptr %178, align 4
  %180 = getelementptr inbounds { float, float }, ptr %177, i32 0, i32 1
  %181 = load float, ptr %180, align 4
  %182 = fpext float %179 to double
  %183 = load ptr, ptr %7, align 8, !tbaa !5
  %184 = load i32, ptr %6, align 4, !tbaa !18
  %185 = zext i32 %184 to i64
  %186 = getelementptr inbounds { float, float }, ptr %183, i64 %185
  %187 = getelementptr inbounds { float, float }, ptr %186, i32 0, i32 0
  %188 = load float, ptr %187, align 4
  %189 = getelementptr inbounds { float, float }, ptr %186, i32 0, i32 1
  %190 = load float, ptr %189, align 4
  %191 = fpext float %190 to double
  %192 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %171, ptr noundef @.str.33, i32 noundef %173, double noundef %182, double noundef %191) #4
  br label %193

193:                                              ; preds = %170
  %194 = load i32, ptr %6, align 4, !tbaa !18
  %195 = add i32 %194, 1
  store i32 %195, ptr %6, align 4, !tbaa !18
  br label %164, !llvm.loop !27

196:                                              ; preds = %164
  %197 = load ptr, ptr %8, align 8, !tbaa !5
  %198 = load ptr, ptr %4, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.flexframesync_s, ptr %198, i32 0, i32 34
  %200 = load i32, ptr %199, align 8, !tbaa !28
  %201 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %197, ptr noundef @.str.34, i32 noundef %200) #4
  %202 = load ptr, ptr %4, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.flexframesync_s, ptr %202, i32 0, i32 33
  %204 = load ptr, ptr %203, align 8, !tbaa !29
  store ptr %204, ptr %7, align 8, !tbaa !5
  store i32 0, ptr %6, align 4, !tbaa !18
  br label %205

205:                                              ; preds = %234, %196
  %206 = load i32, ptr %6, align 4, !tbaa !18
  %207 = load ptr, ptr %4, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.flexframesync_s, ptr %207, i32 0, i32 34
  %209 = load i32, ptr %208, align 8, !tbaa !28
  %210 = icmp ult i32 %206, %209
  br i1 %210, label %211, label %237

211:                                              ; preds = %205
  %212 = load ptr, ptr %8, align 8, !tbaa !5
  %213 = load i32, ptr %6, align 4, !tbaa !18
  %214 = add i32 %213, 1
  %215 = load ptr, ptr %7, align 8, !tbaa !5
  %216 = load i32, ptr %6, align 4, !tbaa !18
  %217 = zext i32 %216 to i64
  %218 = getelementptr inbounds { float, float }, ptr %215, i64 %217
  %219 = getelementptr inbounds { float, float }, ptr %218, i32 0, i32 0
  %220 = load float, ptr %219, align 4
  %221 = getelementptr inbounds { float, float }, ptr %218, i32 0, i32 1
  %222 = load float, ptr %221, align 4
  %223 = fpext float %220 to double
  %224 = load ptr, ptr %7, align 8, !tbaa !5
  %225 = load i32, ptr %6, align 4, !tbaa !18
  %226 = zext i32 %225 to i64
  %227 = getelementptr inbounds { float, float }, ptr %224, i64 %226
  %228 = getelementptr inbounds { float, float }, ptr %227, i32 0, i32 0
  %229 = load float, ptr %228, align 4
  %230 = getelementptr inbounds { float, float }, ptr %227, i32 0, i32 1
  %231 = load float, ptr %230, align 4
  %232 = fpext float %231 to double
  %233 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %212, ptr noundef @.str.35, i32 noundef %214, double noundef %223, double noundef %232) #4
  br label %234

234:                                              ; preds = %211
  %235 = load i32, ptr %6, align 4, !tbaa !18
  %236 = add i32 %235, 1
  store i32 %236, ptr %6, align 4, !tbaa !18
  br label %205, !llvm.loop !30

237:                                              ; preds = %205
  %238 = load ptr, ptr %8, align 8, !tbaa !5
  %239 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %238, ptr noundef @.str.36) #4
  %240 = load ptr, ptr %8, align 8, !tbaa !5
  %241 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %240, ptr noundef @.str.37) #4
  %242 = load ptr, ptr %8, align 8, !tbaa !5
  %243 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %242, ptr noundef @.str.38) #4
  %244 = load ptr, ptr %8, align 8, !tbaa !5
  %245 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %244, ptr noundef @.str.39) #4
  %246 = load ptr, ptr %8, align 8, !tbaa !5
  %247 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %246, ptr noundef @.str.25) #4
  %248 = load ptr, ptr %8, align 8, !tbaa !5
  %249 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %248, ptr noundef @.str.40) #4
  %250 = load ptr, ptr %8, align 8, !tbaa !5
  %251 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %250, ptr noundef @.str.41) #4
  %252 = load ptr, ptr %8, align 8, !tbaa !5
  %253 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %252, ptr noundef @.str.42) #4
  %254 = load ptr, ptr %8, align 8, !tbaa !5
  %255 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %254, ptr noundef @.str.43) #4
  %256 = load ptr, ptr %8, align 8, !tbaa !5
  %257 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %256, ptr noundef @.str.44) #4
  %258 = load ptr, ptr %8, align 8, !tbaa !5
  %259 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %258, ptr noundef @.str.38) #4
  %260 = load ptr, ptr %8, align 8, !tbaa !5
  %261 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %260, ptr noundef @.str.39) #4
  %262 = load ptr, ptr %8, align 8, !tbaa !5
  %263 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %262, ptr noundef @.str.25) #4
  %264 = load ptr, ptr %8, align 8, !tbaa !5
  %265 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %264, ptr noundef @.str.40) #4
  %266 = load ptr, ptr %8, align 8, !tbaa !5
  %267 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %266, ptr noundef @.str.41) #4
  %268 = load ptr, ptr %8, align 8, !tbaa !5
  %269 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %268, ptr noundef @.str.45) #4
  %270 = load ptr, ptr %8, align 8, !tbaa !5
  %271 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %270, ptr noundef @.str.16) #4
  %272 = load ptr, ptr %8, align 8, !tbaa !5
  %273 = call i32 @fclose(ptr noundef %272)
  %274 = load ptr, ptr %5, align 8, !tbaa !5
  %275 = call i32 (ptr, ...) @printf(ptr noundef @.str.46, ptr noundef %274)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %9, align 4
  br label %276

276:                                              ; preds = %237, %21
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %277

277:                                              ; preds = %276, %14
  %278 = load i32, ptr %3, align 4
  ret i32 %278
}

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

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

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

declare i32 @fclose(ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !13, i64 336}
!10 = !{!"flexframesync_s", !6, i64 0, !6, i64 8, !11, i64 16, !14, i64 64, !13, i64 88, !12, i64 92, !6, i64 96, !12, i64 104, !12, i64 108, !12, i64 112, !12, i64 116, !6, i64 120, !6, i64 128, !6, i64 136, !13, i64 144, !13, i64 148, !13, i64 152, !6, i64 160, !6, i64 168, !13, i64 176, !6, i64 184, !13, i64 192, !6, i64 200, !6, i64 208, !13, i64 216, !6, i64 224, !13, i64 232, !13, i64 236, !6, i64 240, !13, i64 248, !16, i64 252, !13, i64 268, !6, i64 272, !6, i64 280, !13, i64 288, !6, i64 296, !6, i64 304, !13, i64 312, !13, i64 316, !13, i64 320, !13, i64 324, !13, i64 328, !13, i64 332, !13, i64 336, !13, i64 340, !6, i64 344}
!11 = !{!"", !12, i64 0, !12, i64 4, !12, i64 8, !6, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 40, !13, i64 44}
!12 = !{!"float", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!"", !13, i64 0, !13, i64 4, !13, i64 8, !15, i64 16}
!15 = !{!"long", !7, i64 0}
!16 = !{!"", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!17 = !{!10, !6, i64 344}
!18 = !{!13, !13, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!10, !6, i64 160}
!22 = distinct !{!22, !20}
!23 = !{!10, !6, i64 168}
!24 = distinct !{!24, !20}
!25 = !{!10, !13, i64 216}
!26 = !{!10, !6, i64 208}
!27 = distinct !{!27, !20}
!28 = !{!10, !13, i64 288}
!29 = !{!10, !6, i64 280}
!30 = distinct !{!30, !20}


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

@.str.1 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [44 x i8], align 1

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

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

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

declare i32 @liquid_error_fl(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local i32 @flexframesync_debug_print(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #3 {
  %3 = alloca ptr, align 8
  %4 = getelementptr inbounds i8, ptr %0, i64 336
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %.not = icmp eq i32 %5, 0
  br i1 %.not, label %6, label %8

6:                                                ; preds = %2
  %7 = tail call i32 (i32, ptr, i32, ptr, ...) @liquid_error_fl(i32 noundef 3, ptr noundef nonnull @.str.1, i32 noundef 869, ptr noundef nonnull @.str.12) #4
  br label %125

8:                                                ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  %9 = tail call noalias ptr @fopen(ptr noundef %1, ptr noundef nonnull @.str.13)
  %10 = icmp eq ptr %9, null
  br i1 %10, label %11, label %13

11:                                               ; preds = %8
  %12 = tail call i32 (i32, ptr, i32, ptr, ...) @liquid_error_fl(i32 noundef 10, ptr noundef nonnull @.str.1, i32 noundef 875, ptr noundef nonnull @.str.14, ptr noundef %1) #4
  br label %124

13:                                               ; preds = %8
  %14 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %9, ptr noundef nonnull @.str.15, ptr noundef %1) #4
  %15 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %9, ptr noundef nonnull @.str.16) #4
  %16 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %9, ptr noundef nonnull @.str.17) #4
  %17 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %9, ptr noundef nonnull @.str.18) #4
  %18 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %9, ptr noundef nonnull @.str.19, i32 noundef 2000) #4
  %19 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %9, ptr noundef nonnull @.str.20) #4
  %20 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef nonnull %9, ptr noundef nonnull @.str.21) #4
  %21 = getelementptr inbounds i8, ptr %0, i64 344
  %22 = load ptr, ptr %21, align 8, !tbaa !16
  %23 = call i32 @windowcf_read(ptr noundef %22, ptr noundef nonnull %3) #4
  br label %24

24:                                               ; preds = %13, %24
  %indvars.iv = phi i64 [ 0, %13 ], [ %indvars.iv.next, %24 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %25 = load ptr, ptr %3, align 8, !tbaa !17
  %26 = getelementptr inbounds { float, float }, ptr %25, i64 %indvars.iv
  %27 = load float, ptr %26, align 4
  %28 = getelementptr inbounds i8, ptr %26, i64 4
  %29 = fpext float %27 to double
  %30 = load float, ptr %28, align 4
  %31 = fpext float %30 to double
  %32 = trunc nuw nsw i64 %indvars.iv.next to i32
  %33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.22, i32 noundef %32, double noundef %29, double noundef %31) #4
  %exitcond.not = icmp eq i64 %indvars.iv.next, 2000
  br i1 %exitcond.not, label %34, label %24, !llvm.loop !18

34:                                               ; preds = %24
  %35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.16) #4
  %36 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.23) #4
  %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.24) #4
  %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.25) #4
  %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.26) #4
  %40 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.27) #4
  %41 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.28) #4
  %42 = getelementptr inbounds i8, ptr %0, i64 160
  %43 = load ptr, ptr %42, align 8, !tbaa !20
  store ptr %43, ptr %3, align 8, !tbaa !17
  br label %44

44:                                               ; preds = %34, %44
  %indvars.iv94 = phi i64 [ 0, %34 ], [ %indvars.iv.next95, %44 ]
  %indvars.iv.next95 = add nuw nsw i64 %indvars.iv94, 1
  %45 = load ptr, ptr %3, align 8, !tbaa !17
  %46 = getelementptr inbounds { float, float }, ptr %45, i64 %indvars.iv94
  %47 = load float, ptr %46, align 4
  %48 = getelementptr inbounds i8, ptr %46, i64 4
  %49 = fpext float %47 to double
  %50 = load float, ptr %48, align 4
  %51 = fpext float %50 to double
  %52 = trunc nuw nsw i64 %indvars.iv.next95 to i32
  %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.29, i32 noundef %52, double noundef %49, double noundef %51) #4
  %exitcond97.not = icmp eq i64 %indvars.iv.next95, 64
  br i1 %exitcond97.not, label %54, label %44, !llvm.loop !21

54:                                               ; preds = %44
  %55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.30) #4
  %56 = getelementptr inbounds i8, ptr %0, i64 168
  %57 = load ptr, ptr %56, align 8, !tbaa !22
  store ptr %57, ptr %3, align 8, !tbaa !17
  br label %58

58:                                               ; preds = %54, %58
  %indvars.iv98 = phi i64 [ 0, %54 ], [ %indvars.iv.next99, %58 ]
  %indvars.iv.next99 = add nuw nsw i64 %indvars.iv98, 1
  %59 = load ptr, ptr %3, align 8, !tbaa !17
  %60 = getelementptr inbounds { float, float }, ptr %59, i64 %indvars.iv98
  %61 = load float, ptr %60, align 4
  %62 = getelementptr inbounds i8, ptr %60, i64 4
  %63 = fpext float %61 to double
  %64 = load float, ptr %62, align 4
  %65 = fpext float %64 to double
  %66 = trunc nuw nsw i64 %indvars.iv.next99 to i32
  %67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.31, i32 noundef %66, double noundef %63, double noundef %65) #4
  %exitcond101.not = icmp eq i64 %indvars.iv.next99, 64
  br i1 %exitcond101.not, label %68, label %58, !llvm.loop !23

68:                                               ; preds = %58
  %69 = getelementptr inbounds i8, ptr %0, i64 216
  %70 = load i32, ptr %69, align 8, !tbaa !24
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.32, i32 noundef %70) #4
  %72 = getelementptr inbounds i8, ptr %0, i64 208
  %73 = load ptr, ptr %72, align 8, !tbaa !25
  store ptr %73, ptr %3, align 8, !tbaa !17
  %74 = load i32, ptr %69, align 8, !tbaa !24
  %.not91 = icmp eq i32 %74, 0
  br i1 %.not91, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %68, %.lr.ph
  %indvars.iv102 = phi i64 [ %indvars.iv.next103, %.lr.ph ], [ 0, %68 ]
  %indvars.iv.next103 = add nuw nsw i64 %indvars.iv102, 1
  %75 = load ptr, ptr %3, align 8, !tbaa !17
  %76 = getelementptr inbounds { float, float }, ptr %75, i64 %indvars.iv102
  %77 = load float, ptr %76, align 4
  %78 = getelementptr inbounds i8, ptr %76, i64 4
  %79 = fpext float %77 to double
  %80 = load float, ptr %78, align 4
  %81 = fpext float %80 to double
  %82 = trunc nuw i64 %indvars.iv.next103 to i32
  %83 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.33, i32 noundef %82, double noundef %79, double noundef %81) #4
  %84 = load i32, ptr %69, align 8, !tbaa !24
  %85 = zext i32 %84 to i64
  %86 = icmp ult i64 %indvars.iv.next103, %85
  br i1 %86, label %.lr.ph, label %._crit_edge, !llvm.loop !26

._crit_edge:                                      ; preds = %.lr.ph, %68
  %87 = getelementptr inbounds i8, ptr %0, i64 288
  %88 = load i32, ptr %87, align 8, !tbaa !27
  %89 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.34, i32 noundef %88) #4
  %90 = getelementptr inbounds i8, ptr %0, i64 280
  %91 = load ptr, ptr %90, align 8, !tbaa !28
  store ptr %91, ptr %3, align 8, !tbaa !17
  %92 = load i32, ptr %87, align 8, !tbaa !27
  %.not92 = icmp eq i32 %92, 0
  br i1 %.not92, label %._crit_edge90, label %.lr.ph89

.lr.ph89:                                         ; preds = %._crit_edge, %.lr.ph89
  %indvars.iv105 = phi i64 [ %indvars.iv.next106, %.lr.ph89 ], [ 0, %._crit_edge ]
  %indvars.iv.next106 = add nuw nsw i64 %indvars.iv105, 1
  %93 = load ptr, ptr %3, align 8, !tbaa !17
  %94 = getelementptr inbounds { float, float }, ptr %93, i64 %indvars.iv105
  %95 = load float, ptr %94, align 4
  %96 = getelementptr inbounds i8, ptr %94, i64 4
  %97 = fpext float %95 to double
  %98 = load float, ptr %96, align 4
  %99 = fpext float %98 to double
  %100 = trunc nuw i64 %indvars.iv.next106 to i32
  %101 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.35, i32 noundef %100, double noundef %97, double noundef %99) #4
  %102 = load i32, ptr %87, align 8, !tbaa !27
  %103 = zext i32 %102 to i64
  %104 = icmp ult i64 %indvars.iv.next106, %103
  br i1 %104, label %.lr.ph89, label %._crit_edge90, !llvm.loop !29

._crit_edge90:                                    ; preds = %.lr.ph89, %._crit_edge
  %105 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.36) #4
  %106 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.37) #4
  %107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.38) #4
  %108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.39) #4
  %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.25) #4
  %110 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.40) #4
  %111 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.41) #4
  %112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.42) #4
  %113 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.43) #4
  %114 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.44) #4
  %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.38) #4
  %116 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.39) #4
  %117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.25) #4
  %118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.40) #4
  %119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.41) #4
  %120 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.45) #4
  %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.16) #4
  %122 = call i32 @fclose(ptr noundef %9)
  %123 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.46, ptr noundef %1)
  br label %124

124:                                              ; preds = %._crit_edge90, %11
  %.0 = phi i32 [ %12, %11 ], [ 0, %._crit_edge90 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  br label %125

125:                                              ; preds = %124, %6
  %.1 = phi i32 [ %.0, %124 ], [ %7, %6 ]
  ret i32 %.1
}

; 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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "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 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 = { 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, !12, i64 336}
!6 = !{!"flexframesync_s", !7, i64 0, !7, i64 8, !10, i64 16, !13, i64 64, !12, i64 88, !11, i64 92, !7, i64 96, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !7, i64 120, !7, i64 128, !7, i64 136, !12, i64 144, !12, i64 148, !12, i64 152, !7, i64 160, !7, i64 168, !12, i64 176, !7, i64 184, !12, i64 192, !7, i64 200, !7, i64 208, !12, i64 216, !7, i64 224, !12, i64 232, !12, i64 236, !7, i64 240, !12, i64 248, !15, i64 252, !12, i64 268, !7, i64 272, !7, i64 280, !12, i64 288, !7, i64 296, !7, i64 304, !12, i64 312, !12, i64 316, !12, i64 320, !12, i64 324, !12, i64 328, !12, i64 332, !12, i64 336, !12, i64 340, !7, i64 344}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44}
!11 = !{!"float", !8, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!"", !12, i64 0, !12, i64 4, !12, i64 8, !14, i64 16}
!14 = !{!"long", !8, i64 0}
!15 = !{!"", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!16 = !{!6, !7, i64 344}
!17 = !{!7, !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!6, !7, i64 160}
!21 = distinct !{!21, !19}
!22 = !{!6, !7, i64 168}
!23 = distinct !{!23, !19}
!24 = !{!6, !12, i64 216}
!25 = !{!6, !7, i64 208}
!26 = distinct !{!26, !19}
!27 = !{!6, !12, i64 288}
!28 = !{!6, !7, i64 280}
!29 = distinct !{!29, !19}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass