; LLVM IR from jgaeddert/liquid-dsp :: examples (firpfbch_crcf_msource_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"

@.str = external hidden unnamed_addr constant [32 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca { float, float }, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 5, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 12, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 512000, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 1200, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %18 = load i32, ptr %2, align 4, !tbaa !5
  %19 = zext i32 %18 to i64
  %20 = call ptr @llvm.stacksave.p0()
  store ptr %20, ptr %7, align 8
  %21 = alloca { float, float }, i64 %19, align 16
  store i64 %19, ptr %8, align 8
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = zext i32 %22 to i64
  %24 = alloca { float, float }, i64 %23, align 16
  store i64 %23, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %25 = load i32, ptr %2, align 4, !tbaa !5
  %26 = load i32, ptr %3, align 4, !tbaa !5
  %27 = call ptr @firpfbch_crcf_create_rnyquist(i32 noundef 0, i32 noundef %25, i32 noundef %26, float noundef 5.000000e-01, i32 noundef 7)
  store ptr %27, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %28 = call ptr @msourcecf_create_default()
  store ptr %28, ptr %11, align 8, !tbaa !9
  %29 = load ptr, ptr %11, align 8, !tbaa !9
  %30 = call i32 @msourcecf_add_noise(ptr noundef %29, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef -4.000000e+01)
  %31 = load ptr, ptr %11, align 8, !tbaa !9
  %32 = call i32 @msourcecf_add_noise(ptr noundef %31, float noundef 0x3F947AE140000000, float noundef 0x3FA99999A0000000, float noundef 0.000000e+00)
  %33 = load ptr, ptr %11, align 8, !tbaa !9
  %34 = call i32 @msourcecf_add_tone(ptr noundef %33, float noundef 0xBFD99999A0000000, float noundef 0.000000e+00, float noundef 2.000000e+01)
  %35 = load ptr, ptr %11, align 8, !tbaa !9
  %36 = call i32 @msourcecf_add_modem(ptr noundef %35, float noundef 0x3FC99999A0000000, float noundef 0x3FB99999A0000000, float noundef 0.000000e+00, i32 noundef 40, i32 noundef 12, float noundef 0x3FC99999A0000000)
  %37 = load ptr, ptr %11, align 8, !tbaa !9
  %38 = call i32 @msourcecf_add_gmsk(ptr noundef %37, float noundef 0xBFC99999A0000000, float noundef 0x3FA99999A0000000, float noundef 0.000000e+00, i32 noundef 4, float noundef 0x3FD3333340000000)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %39 = load i32, ptr %5, align 4, !tbaa !5
  %40 = call ptr @spgramcf_create_default(i32 noundef %39)
  store ptr %40, ptr %12, align 8, !tbaa !9
  %41 = load i32, ptr %2, align 4, !tbaa !5
  %42 = zext i32 %41 to i64
  %43 = alloca ptr, i64 %42, align 16
  store i64 %42, ptr %13, align 8
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %44

44:                                               ; preds = %54, %0
  %45 = load i32, ptr %6, align 4, !tbaa !5
  %46 = load i32, ptr %2, align 4, !tbaa !5
  %47 = icmp ult i32 %45, %46
  br i1 %47, label %48, label %57

48:                                               ; preds = %44
  %49 = load i32, ptr %5, align 4, !tbaa !5
  %50 = call ptr @spgramcf_create_default(i32 noundef %49)
  %51 = load i32, ptr %6, align 4, !tbaa !5
  %52 = zext i32 %51 to i64
  %53 = getelementptr inbounds ptr, ptr %43, i64 %52
  store ptr %50, ptr %53, align 8, !tbaa !9
  br label %54

54:                                               ; preds = %48
  %55 = load i32, ptr %6, align 4, !tbaa !5
  %56 = add i32 %55, 1
  store i32 %56, ptr %6, align 4, !tbaa !5
  br label %44, !llvm.loop !11

57:                                               ; preds = %44
  br label %58

58:                                               ; preds = %96, %57
  %59 = load ptr, ptr %11, align 8, !tbaa !9
  %60 = call i64 @msourcecf_get_num_samples(ptr noundef %59)
  %61 = load i32, ptr %4, align 4, !tbaa !5
  %62 = zext i32 %61 to i64
  %63 = icmp ult i64 %60, %62
  br i1 %63, label %64, label %97

64:                                               ; preds = %58
  %65 = load ptr, ptr %11, align 8, !tbaa !9
  %66 = load i32, ptr %2, align 4, !tbaa !5
  %67 = call i32 @msourcecf_write_samples(ptr noundef %65, ptr noundef %21, i32 noundef %66)
  %68 = load ptr, ptr %10, align 8, !tbaa !9
  %69 = call i32 @firpfbch_crcf_analyzer_execute(ptr noundef %68, ptr noundef %21, ptr noundef %24)
  %70 = load ptr, ptr %12, align 8, !tbaa !9
  %71 = load i32, ptr %2, align 4, !tbaa !5
  %72 = call i32 @spgramcf_write(ptr noundef %70, ptr noundef %21, i32 noundef %71)
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %73

73:                                               ; preds = %93, %64
  %74 = load i32, ptr %6, align 4, !tbaa !5
  %75 = load i32, ptr %2, align 4, !tbaa !5
  %76 = icmp ult i32 %74, %75
  br i1 %76, label %77, label %96

77:                                               ; preds = %73
  %78 = load i32, ptr %6, align 4, !tbaa !5
  %79 = zext i32 %78 to i64
  %80 = getelementptr inbounds ptr, ptr %43, i64 %79
  %81 = load ptr, ptr %80, align 8, !tbaa !9
  %82 = load i32, ptr %6, align 4, !tbaa !5
  %83 = zext i32 %82 to i64
  %84 = getelementptr inbounds { float, float }, ptr %24, i64 %83
  %85 = getelementptr inbounds { float, float }, ptr %84, i32 0, i32 0
  %86 = load float, ptr %85, align 8
  %87 = getelementptr inbounds { float, float }, ptr %84, i32 0, i32 1
  %88 = load float, ptr %87, align 4
  %89 = getelementptr inbounds { float, float }, ptr %14, i32 0, i32 0
  %90 = getelementptr inbounds { float, float }, ptr %14, i32 0, i32 1
  store float %86, ptr %89, align 4
  store float %88, ptr %90, align 4
  %91 = load <2 x float>, ptr %14, align 4
  %92 = call i32 @spgramcf_push(ptr noundef %81, <2 x float> noundef %91)
  br label %93

93:                                               ; preds = %77
  %94 = load i32, ptr %6, align 4, !tbaa !5
  %95 = add i32 %94, 1
  store i32 %95, ptr %6, align 4, !tbaa !5
  br label %73, !llvm.loop !13

96:                                               ; preds = %73
  br label %58, !llvm.loop !14

97:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %98 = call noalias ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
  store ptr %98, ptr %15, align 8, !tbaa !9
  %99 = load ptr, ptr %15, align 8, !tbaa !9
  %100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %99, ptr noundef @.str.2, ptr noundef @.str) #5
  %101 = load ptr, ptr %15, align 8, !tbaa !9
  %102 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %101, ptr noundef @.str.3) #5
  %103 = load ptr, ptr %15, align 8, !tbaa !9
  %104 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %103, ptr noundef @.str.4) #5
  %105 = load ptr, ptr %15, align 8, !tbaa !9
  %106 = load i32, ptr %2, align 4, !tbaa !5
  %107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %105, ptr noundef @.str.5, i32 noundef %106) #5
  %108 = load ptr, ptr %15, align 8, !tbaa !9
  %109 = load i32, ptr %5, align 4, !tbaa !5
  %110 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %108, ptr noundef @.str.6, i32 noundef %109) #5
  %111 = load ptr, ptr %15, align 8, !tbaa !9
  %112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %111, ptr noundef @.str.7) #5
  %113 = load ptr, ptr %15, align 8, !tbaa !9
  %114 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %113, ptr noundef @.str.8) #5
  %115 = load i32, ptr %5, align 4, !tbaa !5
  %116 = zext i32 %115 to i64
  %117 = alloca float, i64 %116, align 16
  store i64 %116, ptr %16, align 8
  %118 = load ptr, ptr %12, align 8, !tbaa !9
  %119 = call i32 @spgramcf_get_psd(ptr noundef %118, ptr noundef %117)
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %120

120:                                              ; preds = %134, %97
  %121 = load i32, ptr %6, align 4, !tbaa !5
  %122 = load i32, ptr %5, align 4, !tbaa !5
  %123 = icmp ult i32 %121, %122
  br i1 %123, label %124, label %137

124:                                              ; preds = %120
  %125 = load ptr, ptr %15, align 8, !tbaa !9
  %126 = load i32, ptr %6, align 4, !tbaa !5
  %127 = add i32 %126, 1
  %128 = load i32, ptr %6, align 4, !tbaa !5
  %129 = zext i32 %128 to i64
  %130 = getelementptr inbounds float, ptr %117, i64 %129
  %131 = load float, ptr %130, align 4, !tbaa !15
  %132 = fpext float %131 to double
  %133 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef @.str.9, i32 noundef %127, double noundef %132) #5
  br label %134

134:                                              ; preds = %124
  %135 = load i32, ptr %6, align 4, !tbaa !5
  %136 = add i32 %135, 1
  store i32 %136, ptr %6, align 4, !tbaa !5
  br label %120, !llvm.loop !17

137:                                              ; preds = %120
  %138 = load ptr, ptr %15, align 8, !tbaa !9
  %139 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %138, ptr noundef @.str.10) #5
  %140 = load ptr, ptr %15, align 8, !tbaa !9
  %141 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %140, ptr noundef @.str.11) #5
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %142

142:                                              ; preds = %174, %137
  %143 = load i32, ptr %6, align 4, !tbaa !5
  %144 = load i32, ptr %2, align 4, !tbaa !5
  %145 = icmp ult i32 %143, %144
  br i1 %145, label %146, label %177

146:                                              ; preds = %142
  %147 = load i32, ptr %6, align 4, !tbaa !5
  %148 = zext i32 %147 to i64
  %149 = getelementptr inbounds ptr, ptr %43, i64 %148
  %150 = load ptr, ptr %149, align 8, !tbaa !9
  %151 = call i32 @spgramcf_get_psd(ptr noundef %150, ptr noundef %117)
  %152 = load ptr, ptr %15, align 8, !tbaa !9
  %153 = load i32, ptr %6, align 4, !tbaa !5
  %154 = add i32 %153, 1
  %155 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %152, ptr noundef @.str.12, i32 noundef %154) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %156

156:                                              ; preds = %168, %146
  %157 = load i32, ptr %17, align 4, !tbaa !5
  %158 = load i32, ptr %5, align 4, !tbaa !5
  %159 = icmp ult i32 %157, %158
  br i1 %159, label %160, label %171

160:                                              ; preds = %156
  %161 = load ptr, ptr %15, align 8, !tbaa !9
  %162 = load i32, ptr %17, align 4, !tbaa !5
  %163 = zext i32 %162 to i64
  %164 = getelementptr inbounds float, ptr %117, i64 %163
  %165 = load float, ptr %164, align 4, !tbaa !15
  %166 = fpext float %165 to double
  %167 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %161, ptr noundef @.str.13, double noundef %166) #5
  br label %168

168:                                              ; preds = %160
  %169 = load i32, ptr %17, align 4, !tbaa !5
  %170 = add i32 %169, 1
  store i32 %170, ptr %17, align 4, !tbaa !5
  br label %156, !llvm.loop !18

171:                                              ; preds = %156
  %172 = load ptr, ptr %15, align 8, !tbaa !9
  %173 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %172, ptr noundef @.str.14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %174

174:                                              ; preds = %171
  %175 = load i32, ptr %6, align 4, !tbaa !5
  %176 = add i32 %175, 1
  store i32 %176, ptr %6, align 4, !tbaa !5
  br label %142, !llvm.loop !19

177:                                              ; preds = %142
  %178 = load ptr, ptr %15, align 8, !tbaa !9
  %179 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %178, ptr noundef @.str.15) #5
  %180 = load ptr, ptr %15, align 8, !tbaa !9
  %181 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %180, ptr noundef @.str.16) #5
  %182 = load ptr, ptr %15, align 8, !tbaa !9
  %183 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %182, ptr noundef @.str.17) #5
  %184 = load ptr, ptr %15, align 8, !tbaa !9
  %185 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %184, ptr noundef @.str.18) #5
  %186 = load ptr, ptr %15, align 8, !tbaa !9
  %187 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %186, ptr noundef @.str.19) #5
  %188 = load ptr, ptr %15, align 8, !tbaa !9
  %189 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %188, ptr noundef @.str.20) #5
  %190 = load ptr, ptr %15, align 8, !tbaa !9
  %191 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %190, ptr noundef @.str.21) #5
  %192 = load ptr, ptr %15, align 8, !tbaa !9
  %193 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %192, ptr noundef @.str.22) #5
  %194 = load ptr, ptr %15, align 8, !tbaa !9
  %195 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %194, ptr noundef @.str.23) #5
  %196 = load ptr, ptr %15, align 8, !tbaa !9
  %197 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %196, ptr noundef @.str.24) #5
  %198 = load ptr, ptr %15, align 8, !tbaa !9
  %199 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %198, ptr noundef @.str.25) #5
  %200 = load ptr, ptr %15, align 8, !tbaa !9
  %201 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %200, ptr noundef @.str.26) #5
  %202 = load ptr, ptr %15, align 8, !tbaa !9
  %203 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %202, ptr noundef @.str.27) #5
  %204 = load ptr, ptr %15, align 8, !tbaa !9
  %205 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %204, ptr noundef @.str.28) #5
  %206 = load ptr, ptr %15, align 8, !tbaa !9
  %207 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %206, ptr noundef @.str.29) #5
  %208 = load ptr, ptr %15, align 8, !tbaa !9
  %209 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %208, ptr noundef @.str.30) #5
  %210 = load ptr, ptr %15, align 8, !tbaa !9
  %211 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %210, ptr noundef @.str.31) #5
  %212 = load ptr, ptr %15, align 8, !tbaa !9
  %213 = call i32 @fclose(ptr noundef %212)
  %214 = call i32 (ptr, ...) @printf(ptr noundef @.str.32, ptr noundef @.str)
  %215 = load ptr, ptr %11, align 8, !tbaa !9
  %216 = call i32 @msourcecf_destroy(ptr noundef %215)
  %217 = load ptr, ptr %10, align 8, !tbaa !9
  %218 = call i32 @firpfbch_crcf_destroy(ptr noundef %217)
  %219 = load ptr, ptr %12, align 8, !tbaa !9
  %220 = call i32 @spgramcf_destroy(ptr noundef %219)
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %221

221:                                              ; preds = %231, %177
  %222 = load i32, ptr %6, align 4, !tbaa !5
  %223 = load i32, ptr %2, align 4, !tbaa !5
  %224 = icmp ult i32 %222, %223
  br i1 %224, label %225, label %234

225:                                              ; preds = %221
  %226 = load i32, ptr %6, align 4, !tbaa !5
  %227 = zext i32 %226 to i64
  %228 = getelementptr inbounds ptr, ptr %43, i64 %227
  %229 = load ptr, ptr %228, align 8, !tbaa !9
  %230 = call i32 @spgramcf_destroy(ptr noundef %229)
  br label %231

231:                                              ; preds = %225
  %232 = load i32, ptr %6, align 4, !tbaa !5
  %233 = add i32 %232, 1
  store i32 %233, ptr %6, align 4, !tbaa !5
  br label %221, !llvm.loop !20

234:                                              ; preds = %221
  %235 = call i32 (ptr, ...) @printf(ptr noundef @.str.33)
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  %236 = load ptr, ptr %7, align 8
  call void @llvm.stackrestore.p0(ptr %236)
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  %237 = load i32, ptr %1, align 4
  ret i32 %237
}

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

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

declare ptr @firpfbch_crcf_create_rnyquist(i32 noundef, i32 noundef, i32 noundef, float noundef, i32 noundef) #3

declare ptr @msourcecf_create_default() #3

declare i32 @msourcecf_add_noise(ptr noundef, float noundef, float noundef, float noundef) #3

declare i32 @msourcecf_add_tone(ptr noundef, float noundef, float noundef, float noundef) #3

declare i32 @msourcecf_add_modem(ptr noundef, float noundef, float noundef, float noundef, i32 noundef, i32 noundef, float noundef) #3

declare i32 @msourcecf_add_gmsk(ptr noundef, float noundef, float noundef, float noundef, i32 noundef, float noundef) #3

declare ptr @spgramcf_create_default(i32 noundef) #3

declare i64 @msourcecf_get_num_samples(ptr noundef) #3

declare i32 @msourcecf_write_samples(ptr noundef, ptr noundef, i32 noundef) #3

declare i32 @firpfbch_crcf_analyzer_execute(ptr noundef, ptr noundef, ptr noundef) #3

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

declare i32 @spgramcf_push(ptr noundef, <2 x float> noundef) #3

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

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

declare i32 @spgramcf_get_psd(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

declare i32 @fclose(ptr noundef) #3

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

declare i32 @msourcecf_destroy(ptr noundef) #3

declare i32 @firpfbch_crcf_destroy(ptr noundef) #3

declare i32 @spgramcf_destroy(ptr noundef) #3

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
attributes #3 = { "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 = { 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 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}


; 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 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
.preheader:
  %0 = alloca [5 x { float, float }], align 16
  %1 = alloca [5 x { float, float }], align 16
  %2 = tail call ptr @firpfbch_crcf_create_rnyquist(i32 noundef 0, i32 noundef 5, i32 noundef 12, float noundef 5.000000e-01, i32 noundef 7) #3
  %3 = tail call ptr @msourcecf_create_default() #3
  %4 = tail call i32 @msourcecf_add_noise(ptr noundef %3, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef -4.000000e+01) #3
  %5 = tail call i32 @msourcecf_add_noise(ptr noundef %3, float noundef 0x3F947AE140000000, float noundef 0x3FA99999A0000000, float noundef 0.000000e+00) #3
  %6 = tail call i32 @msourcecf_add_tone(ptr noundef %3, float noundef 0xBFD99999A0000000, float noundef 0.000000e+00, float noundef 2.000000e+01) #3
  %7 = tail call i32 @msourcecf_add_modem(ptr noundef %3, float noundef 0x3FC99999A0000000, float noundef 0x3FB99999A0000000, float noundef 0.000000e+00, i32 noundef 40, i32 noundef 12, float noundef 0x3FC99999A0000000) #3
  %8 = tail call i32 @msourcecf_add_gmsk(ptr noundef %3, float noundef 0xBFC99999A0000000, float noundef 0x3FA99999A0000000, float noundef 0.000000e+00, i32 noundef 4, float noundef 0x3FD3333340000000) #3
  %9 = tail call ptr @spgramcf_create_default(i32 noundef 1200) #3
  %10 = tail call ptr @spgramcf_create_default(i32 noundef 1200) #3
  %11 = tail call ptr @spgramcf_create_default(i32 noundef 1200) #3
  %12 = tail call ptr @spgramcf_create_default(i32 noundef 1200) #3
  %13 = tail call ptr @spgramcf_create_default(i32 noundef 1200) #3
  %14 = tail call ptr @spgramcf_create_default(i32 noundef 1200) #3
  %15 = tail call i64 @msourcecf_get_num_samples(ptr noundef %3) #3
  %16 = icmp ult i64 %15, 512000
  br i1 %16, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %.preheader
  %17 = getelementptr inbounds i8, ptr %1, i64 8
  %18 = getelementptr inbounds i8, ptr %1, i64 16
  %19 = getelementptr inbounds i8, ptr %1, i64 24
  %20 = getelementptr inbounds i8, ptr %1, i64 32
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %21 = call i32 @msourcecf_write_samples(ptr noundef %3, ptr noundef nonnull %0, i32 noundef 5) #3
  %22 = call i32 @firpfbch_crcf_analyzer_execute(ptr noundef %2, ptr noundef nonnull %0, ptr noundef nonnull %1) #3
  %23 = call i32 @spgramcf_write(ptr noundef %9, ptr noundef nonnull %0, i32 noundef 5) #3
  %24 = load <4 x float>, ptr %1, align 16
  %.sroa.0.4.vec.insert = shufflevector <4 x float> %24, <4 x float> poison, <2 x i32> <i32 0, i32 1>
  %25 = call i32 @spgramcf_push(ptr noundef %10, <2 x float> noundef %.sroa.0.4.vec.insert) #3
  %26 = load <4 x float>, ptr %17, align 8
  %.sroa.0.4.vec.insert.1 = shufflevector <4 x float> %26, <4 x float> poison, <2 x i32> <i32 0, i32 1>
  %27 = call i32 @spgramcf_push(ptr noundef %11, <2 x float> noundef %.sroa.0.4.vec.insert.1) #3
  %28 = load <4 x float>, ptr %18, align 16
  %.sroa.0.4.vec.insert.2 = shufflevector <4 x float> %28, <4 x float> poison, <2 x i32> <i32 0, i32 1>
  %29 = call i32 @spgramcf_push(ptr noundef %12, <2 x float> noundef %.sroa.0.4.vec.insert.2) #3
  %30 = load <4 x float>, ptr %19, align 8
  %.sroa.0.4.vec.insert.3 = shufflevector <4 x float> %30, <4 x float> poison, <2 x i32> <i32 0, i32 1>
  %31 = call i32 @spgramcf_push(ptr noundef %13, <2 x float> noundef %.sroa.0.4.vec.insert.3) #3
  %32 = load <2 x float>, ptr %20, align 16
  %33 = call i32 @spgramcf_push(ptr noundef %14, <2 x float> noundef %32) #3
  %34 = call i64 @msourcecf_get_num_samples(ptr noundef %3) #3
  %35 = icmp ult i64 %34, 512000
  br i1 %35, label %.lr.ph, label %._crit_edge, !llvm.loop !5

._crit_edge:                                      ; preds = %.lr.ph, %.preheader
  %36 = call noalias ptr @fopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1)
  %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str) #3
  %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.3) #3
  %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.4) #3
  %40 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.5, i32 noundef 5) #3
  %41 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.6, i32 noundef 1200) #3
  %42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.7) #3
  %43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.8) #3
  %44 = alloca [1200 x float], align 16
  %45 = call i32 @spgramcf_get_psd(ptr noundef %9, ptr noundef nonnull %44) #3
  br label %46

46:                                               ; preds = %._crit_edge, %46
  %indvars.iv = phi i64 [ 0, %._crit_edge ], [ %indvars.iv.next, %46 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %47 = getelementptr inbounds float, ptr %44, i64 %indvars.iv
  %48 = load float, ptr %47, align 4, !tbaa !7
  %49 = fpext float %48 to double
  %50 = trunc nuw nsw i64 %indvars.iv.next to i32
  %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.9, i32 noundef %50, double noundef %49) #3
  %exitcond.not = icmp eq i64 %indvars.iv.next, 1200
  br i1 %exitcond.not, label %52, label %46, !llvm.loop !11

52:                                               ; preds = %46
  %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.10) #3
  %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.11) #3
  %55 = call i32 @spgramcf_get_psd(ptr noundef %10, ptr noundef nonnull %44) #3
  %56 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.12, i32 noundef 1) #3
  br label %57

57:                                               ; preds = %52, %57
  %indvars.iv96 = phi i64 [ 0, %52 ], [ %indvars.iv.next97, %57 ]
  %58 = getelementptr inbounds float, ptr %44, i64 %indvars.iv96
  %59 = load float, ptr %58, align 4, !tbaa !7
  %60 = fpext float %59 to double
  %61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.13, double noundef %60) #3
  %indvars.iv.next97 = add nuw nsw i64 %indvars.iv96, 1
  %exitcond99.not = icmp eq i64 %indvars.iv.next97, 1200
  br i1 %exitcond99.not, label %62, label %57, !llvm.loop !12

62:                                               ; preds = %57
  %63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.14) #3
  %64 = call i32 @spgramcf_get_psd(ptr noundef %11, ptr noundef nonnull %44) #3
  %65 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.12, i32 noundef 2) #3
  br label %66

66:                                               ; preds = %66, %62
  %indvars.iv96.1 = phi i64 [ 0, %62 ], [ %indvars.iv.next97.1, %66 ]
  %67 = getelementptr inbounds float, ptr %44, i64 %indvars.iv96.1
  %68 = load float, ptr %67, align 4, !tbaa !7
  %69 = fpext float %68 to double
  %70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.13, double noundef %69) #3
  %indvars.iv.next97.1 = add nuw nsw i64 %indvars.iv96.1, 1
  %exitcond99.1.not = icmp eq i64 %indvars.iv.next97.1, 1200
  br i1 %exitcond99.1.not, label %71, label %66, !llvm.loop !12

71:                                               ; preds = %66
  %72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.14) #3
  %73 = call i32 @spgramcf_get_psd(ptr noundef %12, ptr noundef nonnull %44) #3
  %74 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.12, i32 noundef 3) #3
  br label %75

75:                                               ; preds = %75, %71
  %indvars.iv96.2 = phi i64 [ 0, %71 ], [ %indvars.iv.next97.2, %75 ]
  %76 = getelementptr inbounds float, ptr %44, i64 %indvars.iv96.2
  %77 = load float, ptr %76, align 4, !tbaa !7
  %78 = fpext float %77 to double
  %79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.13, double noundef %78) #3
  %indvars.iv.next97.2 = add nuw nsw i64 %indvars.iv96.2, 1
  %exitcond99.2.not = icmp eq i64 %indvars.iv.next97.2, 1200
  br i1 %exitcond99.2.not, label %80, label %75, !llvm.loop !12

80:                                               ; preds = %75
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.14) #3
  %82 = call i32 @spgramcf_get_psd(ptr noundef %13, ptr noundef nonnull %44) #3
  %83 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.12, i32 noundef 4) #3
  br label %84

84:                                               ; preds = %84, %80
  %indvars.iv96.3 = phi i64 [ 0, %80 ], [ %indvars.iv.next97.3, %84 ]
  %85 = getelementptr inbounds float, ptr %44, i64 %indvars.iv96.3
  %86 = load float, ptr %85, align 4, !tbaa !7
  %87 = fpext float %86 to double
  %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.13, double noundef %87) #3
  %indvars.iv.next97.3 = add nuw nsw i64 %indvars.iv96.3, 1
  %exitcond99.3.not = icmp eq i64 %indvars.iv.next97.3, 1200
  br i1 %exitcond99.3.not, label %89, label %84, !llvm.loop !12

89:                                               ; preds = %84
  %90 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.14) #3
  %91 = call i32 @spgramcf_get_psd(ptr noundef %14, ptr noundef nonnull %44) #3
  %92 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.12, i32 noundef 5) #3
  br label %93

93:                                               ; preds = %93, %89
  %indvars.iv96.4 = phi i64 [ 0, %89 ], [ %indvars.iv.next97.4, %93 ]
  %94 = getelementptr inbounds float, ptr %44, i64 %indvars.iv96.4
  %95 = load float, ptr %94, align 4, !tbaa !7
  %96 = fpext float %95 to double
  %97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.13, double noundef %96) #3
  %indvars.iv.next97.4 = add nuw nsw i64 %indvars.iv96.4, 1
  %exitcond99.4.not = icmp eq i64 %indvars.iv.next97.4, 1200
  br i1 %exitcond99.4.not, label %98, label %93, !llvm.loop !12

98:                                               ; preds = %93
  %99 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.14) #3
  %100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.15) #3
  %101 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.16) #3
  %102 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.17) #3
  %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.18) #3
  %104 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.19) #3
  %105 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.20) #3
  %106 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.21) #3
  %107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.22) #3
  %108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.23) #3
  %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.24) #3
  %110 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.25) #3
  %111 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.26) #3
  %112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.27) #3
  %113 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.28) #3
  %114 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.29) #3
  %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.30) #3
  %116 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.31) #3
  %117 = call i32 @fclose(ptr noundef %36)
  %118 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.32, ptr noundef nonnull @.str)
  %119 = call i32 @msourcecf_destroy(ptr noundef %3) #3
  %120 = call i32 @firpfbch_crcf_destroy(ptr noundef %2) #3
  %121 = call i32 @spgramcf_destroy(ptr noundef %9) #3
  %122 = call i32 @spgramcf_destroy(ptr noundef %10) #3
  %123 = call i32 @spgramcf_destroy(ptr noundef %11) #3
  %124 = call i32 @spgramcf_destroy(ptr noundef %12) #3
  %125 = call i32 @spgramcf_destroy(ptr noundef %13) #3
  %126 = call i32 @spgramcf_destroy(ptr noundef %14) #3
  %127 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.33)
  ret i32 0
}

declare ptr @firpfbch_crcf_create_rnyquist(i32 noundef, i32 noundef, i32 noundef, float noundef, i32 noundef) local_unnamed_addr #1

declare ptr @msourcecf_create_default() local_unnamed_addr #1

declare i32 @msourcecf_add_noise(ptr noundef, float noundef, float noundef, float noundef) local_unnamed_addr #1

declare i32 @msourcecf_add_tone(ptr noundef, float noundef, float noundef, float noundef) local_unnamed_addr #1

declare i32 @msourcecf_add_modem(ptr noundef, float noundef, float noundef, float noundef, i32 noundef, i32 noundef, float noundef) local_unnamed_addr #1

declare i32 @msourcecf_add_gmsk(ptr noundef, float noundef, float noundef, float noundef, i32 noundef, float noundef) local_unnamed_addr #1

declare ptr @spgramcf_create_default(i32 noundef) local_unnamed_addr #1

declare i64 @msourcecf_get_num_samples(ptr noundef) local_unnamed_addr #1

declare i32 @msourcecf_write_samples(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare i32 @firpfbch_crcf_analyzer_execute(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

declare i32 @spgramcf_push(ptr noundef, <2 x float> noundef) local_unnamed_addr #1

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

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

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

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

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

declare i32 @msourcecf_destroy(ptr noundef) local_unnamed_addr #1

declare i32 @firpfbch_crcf_destroy(ptr noundef) local_unnamed_addr #1

declare i32 @spgramcf_destroy(ptr noundef) local_unnamed_addr #1

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "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 = { 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 #3 = { 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 = !{!"float", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = distinct !{!11, !6}
!12 = distinct !{!12, !6}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass