; LLVM IR from jgaeddert/liquid-dsp :: examples (eqlms_cccf_block_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.9 = external hidden unnamed_addr constant [16 x i8], align 1
@optarg = external global ptr, align 8
@stderr = external global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [25 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 i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca float, align 4
  %11 = alloca i32, align 4
  %12 = alloca float, 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 ptr, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i64, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store i32 2400, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store i32 5, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 2, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 3, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store float 0x3FD3333340000000, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 3, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  store float 0x3FC3333340000000, ptr %12, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 40, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  br label %28

28:                                               ; preds = %60, %2
  %29 = load i32, ptr %4, align 4, !tbaa !5
  %30 = load ptr, ptr %5, align 8, !tbaa !9
  %31 = call i32 @getopt(i32 noundef %29, ptr noundef %30, ptr noundef @.str.9) #7
  store i32 %31, ptr %14, align 4, !tbaa !5
  %32 = icmp ne i32 %31, -1
  br i1 %32, label %33, label %61

33:                                               ; preds = %28
  %34 = load i32, ptr %14, align 4, !tbaa !5
  switch i32 %34, label %59 [
    i32 104, label %35
    i32 110, label %36
    i32 99, label %39
    i32 107, label %42
    i32 109, label %45
    i32 98, label %48
    i32 112, label %52
    i32 117, label %55
  ]

35:                                               ; preds = %33
  call void @usage()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %15, align 4
  br label %357

36:                                               ; preds = %33
  %37 = load ptr, ptr @optarg, align 8, !tbaa !9
  %38 = call i32 @atoi(ptr noundef %37) #8
  store i32 %38, ptr %6, align 4, !tbaa !5
  br label %60

39:                                               ; preds = %33
  %40 = load ptr, ptr @optarg, align 8, !tbaa !9
  %41 = call i32 @atoi(ptr noundef %40) #8
  store i32 %41, ptr %7, align 4, !tbaa !5
  br label %60

42:                                               ; preds = %33
  %43 = load ptr, ptr @optarg, align 8, !tbaa !9
  %44 = call i32 @atoi(ptr noundef %43) #8
  store i32 %44, ptr %8, align 4, !tbaa !5
  br label %60

45:                                               ; preds = %33
  %46 = load ptr, ptr @optarg, align 8, !tbaa !9
  %47 = call i32 @atoi(ptr noundef %46) #8
  store i32 %47, ptr %9, align 4, !tbaa !5
  br label %60

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

52:                                               ; preds = %33
  %53 = load ptr, ptr @optarg, align 8, !tbaa !9
  %54 = call i32 @atoi(ptr noundef %53) #8
  store i32 %54, ptr %11, align 4, !tbaa !5
  br label %60

55:                                               ; preds = %33
  %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 %12, align 4, !tbaa !11
  br label %60

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

60:                                               ; preds = %55, %52, %48, %45, %42, %39, %36
  br label %28, !llvm.loop !13

61:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %62 = load i32, ptr %6, align 4, !tbaa !5
  %63 = icmp eq i32 %62, 0
  br i1 %63, label %64, label %70

64:                                               ; preds = %61
  %65 = load ptr, ptr @stderr, align 8, !tbaa !9
  %66 = load ptr, ptr %5, align 8, !tbaa !9
  %67 = getelementptr inbounds ptr, ptr %66, i64 0
  %68 = load ptr, ptr %67, align 8, !tbaa !9
  %69 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %65, ptr noundef @.str.10, ptr noundef %68) #7
  call void @exit(i32 noundef 1) #9
  unreachable

70:                                               ; preds = %61
  %71 = load i32, ptr %7, align 4, !tbaa !5
  %72 = icmp eq i32 %71, 0
  br i1 %72, label %73, label %79

73:                                               ; preds = %70
  %74 = load ptr, ptr @stderr, align 8, !tbaa !9
  %75 = load ptr, ptr %5, align 8, !tbaa !9
  %76 = getelementptr inbounds ptr, ptr %75, i64 0
  %77 = load ptr, ptr %76, align 8, !tbaa !9
  %78 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef @.str.11, ptr noundef %77) #7
  call void @exit(i32 noundef 1) #9
  unreachable

79:                                               ; preds = %70
  %80 = load i32, ptr %8, align 4, !tbaa !5
  %81 = icmp ult i32 %80, 2
  br i1 %81, label %82, label %88

82:                                               ; preds = %79
  %83 = load ptr, ptr @stderr, align 8, !tbaa !9
  %84 = load ptr, ptr %5, align 8, !tbaa !9
  %85 = getelementptr inbounds ptr, ptr %84, i64 0
  %86 = load ptr, ptr %85, align 8, !tbaa !9
  %87 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef @.str.12, ptr noundef %86) #7
  call void @exit(i32 noundef 1) #9
  unreachable

88:                                               ; preds = %79
  %89 = load i32, ptr %9, align 4, !tbaa !5
  %90 = icmp eq i32 %89, 0
  br i1 %90, label %91, label %97

91:                                               ; preds = %88
  %92 = load ptr, ptr @stderr, align 8, !tbaa !9
  %93 = load ptr, ptr %5, align 8, !tbaa !9
  %94 = getelementptr inbounds ptr, ptr %93, i64 0
  %95 = load ptr, ptr %94, align 8, !tbaa !9
  %96 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %92, ptr noundef @.str.13, ptr noundef %95) #7
  call void @exit(i32 noundef 1) #9
  unreachable

97:                                               ; preds = %88
  %98 = load float, ptr %10, align 4, !tbaa !11
  %99 = fcmp olt float %98, 0.000000e+00
  br i1 %99, label %103, label %100

100:                                              ; preds = %97
  %101 = load float, ptr %10, align 4, !tbaa !11
  %102 = fcmp ogt float %101, 1.000000e+00
  br i1 %102, label %103, label %109

103:                                              ; preds = %100, %97
  %104 = load ptr, ptr @stderr, align 8, !tbaa !9
  %105 = load ptr, ptr %5, align 8, !tbaa !9
  %106 = getelementptr inbounds ptr, ptr %105, i64 0
  %107 = load ptr, ptr %106, align 8, !tbaa !9
  %108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef @.str.14, ptr noundef %107) #7
  call void @exit(i32 noundef 1) #9
  unreachable

109:                                              ; preds = %100
  %110 = load i32, ptr %11, align 4, !tbaa !5
  %111 = icmp eq i32 %110, 0
  br i1 %111, label %112, label %118

112:                                              ; preds = %109
  %113 = load ptr, ptr @stderr, align 8, !tbaa !9
  %114 = load ptr, ptr %5, align 8, !tbaa !9
  %115 = getelementptr inbounds ptr, ptr %114, i64 0
  %116 = load ptr, ptr %115, align 8, !tbaa !9
  %117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %113, ptr noundef @.str.15, ptr noundef %116) #7
  call void @exit(i32 noundef 1) #9
  unreachable

118:                                              ; preds = %109
  %119 = load float, ptr %12, align 4, !tbaa !11
  %120 = fcmp olt float %119, 0.000000e+00
  br i1 %120, label %124, label %121

121:                                              ; preds = %118
  %122 = load float, ptr %12, align 4, !tbaa !11
  %123 = fcmp ogt float %122, 1.000000e+00
  br i1 %123, label %124, label %130

124:                                              ; preds = %121, %118
  %125 = load ptr, ptr @stderr, align 8, !tbaa !9
  %126 = load ptr, ptr %5, align 8, !tbaa !9
  %127 = getelementptr inbounds ptr, ptr %126, i64 0
  %128 = load ptr, ptr %127, align 8, !tbaa !9
  %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef @.str.16, ptr noundef %128) #7
  call void @exit(i32 noundef 1) #9
  unreachable

130:                                              ; preds = %121
  br label %131

131:                                              ; preds = %130
  br label %132

132:                                              ; preds = %131
  br label %133

133:                                              ; preds = %132
  br label %134

134:                                              ; preds = %133
  br label %135

135:                                              ; preds = %134
  br label %136

136:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 37, ptr %17, align 4, !tbaa !5
  %137 = load i32, ptr %17, align 4, !tbaa !5
  %138 = zext i32 %137 to i64
  %139 = call ptr @llvm.stacksave.p0()
  store ptr %139, ptr %18, align 8
  %140 = alloca { float, float }, i64 %138, align 16
  store i64 %138, ptr %19, align 8
  %141 = load i32, ptr %17, align 4, !tbaa !5
  %142 = zext i32 %141 to i64
  %143 = alloca { float, float }, i64 %142, align 16
  store i64 %142, ptr %20, align 8
  %144 = load i32, ptr %17, align 4, !tbaa !5
  %145 = zext i32 %144 to i64
  %146 = alloca { float, float }, i64 %145, align 16
  store i64 %145, ptr %21, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %147 = load i32, ptr %8, align 4, !tbaa !5
  %148 = load i32, ptr %9, align 4, !tbaa !5
  %149 = load float, ptr %10, align 4, !tbaa !11
  %150 = load i32, ptr %13, align 4, !tbaa !5
  %151 = call ptr @symstreamcf_create_linear(i32 noundef 7, i32 noundef %147, i32 noundef %148, float noundef %149, i32 noundef %150)
  store ptr %151, ptr %22, align 8, !tbaa !9
  %152 = load i32, ptr %7, align 4, !tbaa !5
  %153 = zext i32 %152 to i64
  %154 = alloca { float, float }, i64 %153, align 16
  store i64 %153, ptr %23, align 8
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %155

155:                                              ; preds = %179, %136
  %156 = load i32, ptr %16, align 4, !tbaa !5
  %157 = load i32, ptr %7, align 4, !tbaa !5
  %158 = icmp ult i32 %156, %157
  br i1 %158, label %159, label %182

159:                                              ; preds = %155
  %160 = load i32, ptr %16, align 4, !tbaa !5
  %161 = icmp eq i32 %160, 0
  br i1 %161, label %162, label %163

162:                                              ; preds = %159
  br label %171

163:                                              ; preds = %159
  %164 = call float (...) @randnf()
  %165 = call float (...) @randnf()
  %166 = fmul float 0.000000e+00, %165
  %167 = fmul float 1.000000e+00, %165
  %168 = fadd float %164, %166
  %169 = fmul float %168, 0x3FC99999A0000000
  %170 = fmul float %167, 0x3FC99999A0000000
  br label %171

171:                                              ; preds = %163, %162
  %172 = phi float [ 5.000000e-01, %162 ], [ %169, %163 ]
  %173 = phi float [ 0.000000e+00, %162 ], [ %170, %163 ]
  %174 = load i32, ptr %16, align 4, !tbaa !5
  %175 = zext i32 %174 to i64
  %176 = getelementptr inbounds { float, float }, ptr %154, i64 %175
  %177 = getelementptr inbounds { float, float }, ptr %176, i32 0, i32 0
  %178 = getelementptr inbounds { float, float }, ptr %176, i32 0, i32 1
  store float %172, ptr %177, align 8
  store float %173, ptr %178, align 4
  br label %179

179:                                              ; preds = %171
  %180 = load i32, ptr %16, align 4, !tbaa !5
  %181 = add i32 %180, 1
  store i32 %181, ptr %16, align 4, !tbaa !5
  br label %155, !llvm.loop !15

182:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %183 = load i32, ptr %7, align 4, !tbaa !5
  %184 = call ptr @firfilt_cccf_create(ptr noundef %154, i32 noundef %183)
  store ptr %184, ptr %24, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %185 = load i32, ptr %8, align 4, !tbaa !5
  %186 = load i32, ptr %11, align 4, !tbaa !5
  %187 = load float, ptr %10, align 4, !tbaa !11
  %188 = call ptr @eqlms_cccf_create_rnyquist(i32 noundef 9, i32 noundef %185, i32 noundef %186, float noundef %187, float noundef 0.000000e+00)
  store ptr %188, ptr %25, align 8, !tbaa !9
  %189 = load ptr, ptr %25, align 8, !tbaa !9
  %190 = load float, ptr %12, align 4, !tbaa !11
  %191 = call i32 @eqlms_cccf_set_bw(ptr noundef %189, float noundef %190)
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %192 = call noalias ptr @fopen(ptr noundef @.str.17, ptr noundef @.str.18)
  store ptr %192, ptr %26, align 8, !tbaa !9
  %193 = load ptr, ptr %26, align 8, !tbaa !9
  %194 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %193, ptr noundef @.str.19, ptr noundef @.str.17) #7
  %195 = load ptr, ptr %26, align 8, !tbaa !9
  %196 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %195, ptr noundef @.str.20) #7
  %197 = load ptr, ptr %26, align 8, !tbaa !9
  %198 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %197, ptr noundef @.str.21) #7
  %199 = load ptr, ptr %26, align 8, !tbaa !9
  %200 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %199, ptr noundef @.str.22) #7
  %201 = load ptr, ptr %26, align 8, !tbaa !9
  %202 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef @.str.23) #7
  %203 = load ptr, ptr %26, align 8, !tbaa !9
  %204 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef @.str.24) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  store i32 0, ptr %27, align 4, !tbaa !5
  br label %205

205:                                              ; preds = %282, %182
  %206 = load i32, ptr %27, align 4, !tbaa !5
  %207 = load i32, ptr %6, align 4, !tbaa !5
  %208 = icmp ult i32 %206, %207
  br i1 %208, label %209, label %286

209:                                              ; preds = %205
  %210 = load ptr, ptr %22, align 8, !tbaa !9
  %211 = load i32, ptr %17, align 4, !tbaa !5
  %212 = call i32 @symstreamcf_write_samples(ptr noundef %210, ptr noundef %140, i32 noundef %211)
  %213 = load ptr, ptr %24, align 8, !tbaa !9
  %214 = load i32, ptr %17, align 4, !tbaa !5
  %215 = call i32 @firfilt_cccf_execute_block(ptr noundef %213, ptr noundef %140, i32 noundef %214, ptr noundef %143)
  %216 = load ptr, ptr %25, align 8, !tbaa !9
  %217 = load i32, ptr %8, align 4, !tbaa !5
  %218 = load i32, ptr %17, align 4, !tbaa !5
  %219 = call i32 @eqlms_cccf_execute_block(ptr noundef %216, i32 noundef %217, ptr noundef %143, i32 noundef %218, ptr noundef %146)
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %220

220:                                              ; preds = %279, %209
  %221 = load i32, ptr %16, align 4, !tbaa !5
  %222 = load i32, ptr %17, align 4, !tbaa !5
  %223 = icmp ult i32 %221, %222
  br i1 %223, label %224, label %282

224:                                              ; preds = %220
  %225 = load ptr, ptr %26, align 8, !tbaa !9
  %226 = load i32, ptr %16, align 4, !tbaa !5
  %227 = zext i32 %226 to i64
  %228 = getelementptr inbounds { float, float }, ptr %140, i64 %227
  %229 = getelementptr inbounds { float, float }, ptr %228, i32 0, i32 0
  %230 = load float, ptr %229, align 8
  %231 = getelementptr inbounds { float, float }, ptr %228, i32 0, i32 1
  %232 = load float, ptr %231, align 4
  %233 = fpext float %230 to double
  %234 = load i32, ptr %16, align 4, !tbaa !5
  %235 = zext i32 %234 to i64
  %236 = getelementptr inbounds { float, float }, ptr %140, i64 %235
  %237 = getelementptr inbounds { float, float }, ptr %236, i32 0, i32 0
  %238 = load float, ptr %237, align 8
  %239 = getelementptr inbounds { float, float }, ptr %236, i32 0, i32 1
  %240 = load float, ptr %239, align 4
  %241 = fpext float %240 to double
  %242 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %225, ptr noundef @.str.25, double noundef %233, double noundef %241) #7
  %243 = load ptr, ptr %26, align 8, !tbaa !9
  %244 = load i32, ptr %16, align 4, !tbaa !5
  %245 = zext i32 %244 to i64
  %246 = getelementptr inbounds { float, float }, ptr %143, i64 %245
  %247 = getelementptr inbounds { float, float }, ptr %246, i32 0, i32 0
  %248 = load float, ptr %247, align 8
  %249 = getelementptr inbounds { float, float }, ptr %246, i32 0, i32 1
  %250 = load float, ptr %249, align 4
  %251 = fpext float %248 to double
  %252 = load i32, ptr %16, align 4, !tbaa !5
  %253 = zext i32 %252 to i64
  %254 = getelementptr inbounds { float, float }, ptr %143, i64 %253
  %255 = getelementptr inbounds { float, float }, ptr %254, i32 0, i32 0
  %256 = load float, ptr %255, align 8
  %257 = getelementptr inbounds { float, float }, ptr %254, i32 0, i32 1
  %258 = load float, ptr %257, align 4
  %259 = fpext float %258 to double
  %260 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %243, ptr noundef @.str.26, double noundef %251, double noundef %259) #7
  %261 = load ptr, ptr %26, align 8, !tbaa !9
  %262 = load i32, ptr %16, align 4, !tbaa !5
  %263 = zext i32 %262 to i64
  %264 = getelementptr inbounds { float, float }, ptr %146, i64 %263
  %265 = getelementptr inbounds { float, float }, ptr %264, i32 0, i32 0
  %266 = load float, ptr %265, align 8
  %267 = getelementptr inbounds { float, float }, ptr %264, i32 0, i32 1
  %268 = load float, ptr %267, align 4
  %269 = fpext float %266 to double
  %270 = load i32, ptr %16, align 4, !tbaa !5
  %271 = zext i32 %270 to i64
  %272 = getelementptr inbounds { float, float }, ptr %146, i64 %271
  %273 = getelementptr inbounds { float, float }, ptr %272, i32 0, i32 0
  %274 = load float, ptr %273, align 8
  %275 = getelementptr inbounds { float, float }, ptr %272, i32 0, i32 1
  %276 = load float, ptr %275, align 4
  %277 = fpext float %276 to double
  %278 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %261, ptr noundef @.str.27, double noundef %269, double noundef %277) #7
  br label %279

279:                                              ; preds = %224
  %280 = load i32, ptr %16, align 4, !tbaa !5
  %281 = add i32 %280, 1
  store i32 %281, ptr %16, align 4, !tbaa !5
  br label %220, !llvm.loop !16

282:                                              ; preds = %220
  %283 = load i32, ptr %17, align 4, !tbaa !5
  %284 = load i32, ptr %27, align 4, !tbaa !5
  %285 = add i32 %284, %283
  store i32 %285, ptr %27, align 4, !tbaa !5
  br label %205, !llvm.loop !17

286:                                              ; preds = %205
  %287 = load ptr, ptr %22, align 8, !tbaa !9
  %288 = call i32 @symstreamcf_destroy(ptr noundef %287)
  %289 = load ptr, ptr %24, align 8, !tbaa !9
  %290 = call i32 @firfilt_cccf_destroy(ptr noundef %289)
  %291 = load ptr, ptr %25, align 8, !tbaa !9
  %292 = call i32 @eqlms_cccf_destroy(ptr noundef %291)
  %293 = load ptr, ptr %26, align 8, !tbaa !9
  %294 = load i32, ptr %8, align 4, !tbaa !5
  %295 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %293, ptr noundef @.str.28, i32 noundef %294) #7
  %296 = load ptr, ptr %26, align 8, !tbaa !9
  %297 = load i32, ptr %9, align 4, !tbaa !5
  %298 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %296, ptr noundef @.str.29, i32 noundef %297) #7
  %299 = load ptr, ptr %26, align 8, !tbaa !9
  %300 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %299, ptr noundef @.str.30) #7
  %301 = load ptr, ptr %26, align 8, !tbaa !9
  %302 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %301, ptr noundef @.str.31) #7
  %303 = load ptr, ptr %26, align 8, !tbaa !9
  %304 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %303, ptr noundef @.str.32) #7
  %305 = load ptr, ptr %26, align 8, !tbaa !9
  %306 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %305, ptr noundef @.str.33) #7
  %307 = load ptr, ptr %26, align 8, !tbaa !9
  %308 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %307, ptr noundef @.str.34) #7
  %309 = load ptr, ptr %26, align 8, !tbaa !9
  %310 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %309, ptr noundef @.str.35) #7
  %311 = load ptr, ptr %26, align 8, !tbaa !9
  %312 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %311, ptr noundef @.str.36) #7
  %313 = load ptr, ptr %26, align 8, !tbaa !9
  %314 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef @.str.37) #7
  %315 = load ptr, ptr %26, align 8, !tbaa !9
  %316 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %315, ptr noundef @.str.38) #7
  %317 = load ptr, ptr %26, align 8, !tbaa !9
  %318 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %317, ptr noundef @.str.39) #7
  %319 = load ptr, ptr %26, align 8, !tbaa !9
  %320 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %319, ptr noundef @.str.40) #7
  %321 = load ptr, ptr %26, align 8, !tbaa !9
  %322 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %321, ptr noundef @.str.41) #7
  %323 = load ptr, ptr %26, align 8, !tbaa !9
  %324 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %323, ptr noundef @.str.42) #7
  %325 = load ptr, ptr %26, align 8, !tbaa !9
  %326 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %325, ptr noundef @.str.43) #7
  %327 = load ptr, ptr %26, align 8, !tbaa !9
  %328 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %327, ptr noundef @.str.44) #7
  %329 = load ptr, ptr %26, align 8, !tbaa !9
  %330 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %329, ptr noundef @.str.45) #7
  %331 = load ptr, ptr %26, align 8, !tbaa !9
  %332 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %331, ptr noundef @.str.46) #7
  %333 = load ptr, ptr %26, align 8, !tbaa !9
  %334 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %333, ptr noundef @.str.47) #7
  %335 = load ptr, ptr %26, align 8, !tbaa !9
  %336 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %335, ptr noundef @.str.48) #7
  %337 = load ptr, ptr %26, align 8, !tbaa !9
  %338 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %337, ptr noundef @.str.43) #7
  %339 = load ptr, ptr %26, align 8, !tbaa !9
  %340 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %339, ptr noundef @.str.49) #7
  %341 = load ptr, ptr %26, align 8, !tbaa !9
  %342 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %341, ptr noundef @.str.50) #7
  %343 = load ptr, ptr %26, align 8, !tbaa !9
  %344 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %343, ptr noundef @.str.51) #7
  %345 = load ptr, ptr %26, align 8, !tbaa !9
  %346 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %345, ptr noundef @.str.52) #7
  %347 = load ptr, ptr %26, align 8, !tbaa !9
  %348 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %347, ptr noundef @.str.48) #7
  %349 = load ptr, ptr %26, align 8, !tbaa !9
  %350 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %349, ptr noundef @.str.43) #7
  %351 = load ptr, ptr %26, align 8, !tbaa !9
  %352 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %351, ptr noundef @.str.53) #7
  %353 = load ptr, ptr %26, align 8, !tbaa !9
  %354 = call i32 @fclose(ptr noundef %353)
  %355 = call i32 (ptr, ...) @printf(ptr noundef @.str.54, ptr noundef @.str.17)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  %356 = load ptr, ptr %18, align 8
  call void @llvm.stackrestore.p0(ptr %356)
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %357

357:                                              ; preds = %286, %35
  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
  %358 = load i32, ptr %3, align 4
  ret i32 %358
}

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

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

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

; 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 i32 @fprintf(ptr noundef, ptr noundef, ...) #3

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

declare ptr @symstreamcf_create_linear(i32 noundef, i32 noundef, i32 noundef, float noundef, i32 noundef) #1

declare float @randnf(...) #1

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

declare ptr @eqlms_cccf_create_rnyquist(i32 noundef, i32 noundef, i32 noundef, float noundef, float noundef) #1

declare i32 @eqlms_cccf_set_bw(ptr noundef, float noundef) #1

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

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

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

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

declare i32 @symstreamcf_destroy(ptr noundef) #1

declare i32 @firfilt_cccf_destroy(ptr noundef) #1

declare i32 @eqlms_cccf_destroy(ptr noundef) #1

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) #2

; 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !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"

@.str.9 = external hidden unnamed_addr constant [16 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [25 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 {
  br label %.outer

.outer:                                           ; preds = %25, %2
  %.0118.ph = phi float [ %28, %25 ], [ 0x3FC3333340000000, %2 ]
  %.0116.ph = phi i32 [ %.0116.ph189, %25 ], [ 3, %2 ]
  %.0114.ph = phi float [ %.0114.ph196, %25 ], [ 0x3FD3333340000000, %2 ]
  %.0112.ph = phi i32 [ %.0112.ph202, %25 ], [ 3, %2 ]
  %.0110.ph = phi i32 [ %.0110.ph207, %25 ], [ 2, %2 ]
  %.0108.ph = phi i32 [ %.0108.ph211, %25 ], [ 5, %2 ]
  %.0107.ph = phi i32 [ %.0107, %25 ], [ 2400, %2 ]
  br label %.outer188

.outer188:                                        ; preds = %.outer, %22
  %.0116.ph189 = phi i32 [ %.0116.ph, %.outer ], [ %24, %22 ]
  %.0114.ph190 = phi float [ %.0114.ph, %.outer ], [ %.0114.ph196, %22 ]
  %.0112.ph191 = phi i32 [ %.0112.ph, %.outer ], [ %.0112.ph202, %22 ]
  %.0110.ph192 = phi i32 [ %.0110.ph, %.outer ], [ %.0110.ph207, %22 ]
  %.0108.ph193 = phi i32 [ %.0108.ph, %.outer ], [ %.0108.ph211, %22 ]
  %.0107.ph194 = phi i32 [ %.0107.ph, %.outer ], [ %.0107, %22 ]
  br label %.outer195

.outer195:                                        ; preds = %.outer188, %18
  %.0114.ph196 = phi float [ %.0114.ph190, %.outer188 ], [ %21, %18 ]
  %.0112.ph197 = phi i32 [ %.0112.ph191, %.outer188 ], [ %.0112.ph202, %18 ]
  %.0110.ph198 = phi i32 [ %.0110.ph192, %.outer188 ], [ %.0110.ph207, %18 ]
  %.0108.ph199 = phi i32 [ %.0108.ph193, %.outer188 ], [ %.0108.ph211, %18 ]
  %.0107.ph200 = phi i32 [ %.0107.ph194, %.outer188 ], [ %.0107, %18 ]
  br label %.outer201

.outer201:                                        ; preds = %.outer195, %15
  %.0112.ph202 = phi i32 [ %.0112.ph197, %.outer195 ], [ %17, %15 ]
  %.0110.ph203 = phi i32 [ %.0110.ph198, %.outer195 ], [ %.0110.ph207, %15 ]
  %.0108.ph204 = phi i32 [ %.0108.ph199, %.outer195 ], [ %.0108.ph211, %15 ]
  %.0107.ph205 = phi i32 [ %.0107.ph200, %.outer195 ], [ %.0107, %15 ]
  br label %.outer206

.outer206:                                        ; preds = %.outer201, %12
  %.0110.ph207 = phi i32 [ %.0110.ph203, %.outer201 ], [ %14, %12 ]
  %.0108.ph208 = phi i32 [ %.0108.ph204, %.outer201 ], [ %.0108.ph211, %12 ]
  %.0107.ph209 = phi i32 [ %.0107.ph205, %.outer201 ], [ %.0107, %12 ]
  br label %.outer210

.outer210:                                        ; preds = %.outer206, %9
  %.0108.ph211 = phi i32 [ %.0108.ph208, %.outer206 ], [ %11, %9 ]
  %.0107.ph212 = phi i32 [ %.0107.ph209, %.outer206 ], [ %.0107, %9 ]
  br label %3

3:                                                ; preds = %.outer210, %6
  %.0107 = phi i32 [ %8, %6 ], [ %.0107.ph212, %.outer210 ]
  %4 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.9) #7
  switch i32 %4, label %29 [
    i32 -1, label %30
    i32 104, label %5
    i32 110, label %6
    i32 99, label %9
    i32 107, label %12
    i32 109, label %15
    i32 98, label %18
    i32 112, label %22
    i32 117, label %25
  ]

5:                                                ; preds = %3
  tail call void @usage()
  br label %164

6:                                                ; preds = %3
  %7 = load ptr, ptr @optarg, align 8, !tbaa !5
  %8 = tail call i32 @atoi(ptr nocapture noundef %7) #8
  br label %3, !llvm.loop !9

9:                                                ; preds = %3
  %10 = load ptr, ptr @optarg, align 8, !tbaa !5
  %11 = tail call i32 @atoi(ptr nocapture noundef %10) #8
  br label %.outer210, !llvm.loop !9

12:                                               ; preds = %3
  %13 = load ptr, ptr @optarg, align 8, !tbaa !5
  %14 = tail call i32 @atoi(ptr nocapture noundef %13) #8
  br label %.outer206, !llvm.loop !9

15:                                               ; preds = %3
  %16 = load ptr, ptr @optarg, align 8, !tbaa !5
  %17 = tail call i32 @atoi(ptr nocapture noundef %16) #8
  br label %.outer201, !llvm.loop !9

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

22:                                               ; preds = %3
  %23 = load ptr, ptr @optarg, align 8, !tbaa !5
  %24 = tail call i32 @atoi(ptr nocapture noundef %23) #8
  br label %.outer188, !llvm.loop !9

25:                                               ; preds = %3
  %26 = load ptr, ptr @optarg, align 8, !tbaa !5
  %27 = tail call double @atof(ptr noundef %26) #8
  %28 = fptrunc double %27 to float
  br label %.outer, !llvm.loop !9

29:                                               ; preds = %3
  tail call void @exit(i32 noundef 1) #9
  unreachable

30:                                               ; preds = %3
  %31 = icmp eq i32 %.0107, 0
  br i1 %31, label %32, label %36

32:                                               ; preds = %30
  %33 = load ptr, ptr @stderr, align 8, !tbaa !5
  %34 = load ptr, ptr %1, align 8, !tbaa !5
  %35 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef nonnull @.str.10, ptr noundef %34) #10
  tail call void @exit(i32 noundef 1) #9
  unreachable

36:                                               ; preds = %30
  %37 = icmp eq i32 %.0108.ph211, 0
  br i1 %37, label %38, label %42

38:                                               ; preds = %36
  %39 = load ptr, ptr @stderr, align 8, !tbaa !5
  %40 = load ptr, ptr %1, align 8, !tbaa !5
  %41 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef nonnull @.str.11, ptr noundef %40) #10
  tail call void @exit(i32 noundef 1) #9
  unreachable

42:                                               ; preds = %36
  %43 = icmp ult i32 %.0110.ph207, 2
  br i1 %43, label %44, label %48

44:                                               ; preds = %42
  %45 = load ptr, ptr @stderr, align 8, !tbaa !5
  %46 = load ptr, ptr %1, align 8, !tbaa !5
  %47 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef nonnull @.str.12, ptr noundef %46) #10
  tail call void @exit(i32 noundef 1) #9
  unreachable

48:                                               ; preds = %42
  %49 = icmp eq i32 %.0112.ph202, 0
  br i1 %49, label %50, label %54

50:                                               ; preds = %48
  %51 = load ptr, ptr @stderr, align 8, !tbaa !5
  %52 = load ptr, ptr %1, align 8, !tbaa !5
  %53 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.13, ptr noundef %52) #10
  tail call void @exit(i32 noundef 1) #9
  unreachable

54:                                               ; preds = %48
  %55 = fcmp olt float %.0114.ph196, 0.000000e+00
  %56 = fcmp ogt float %.0114.ph196, 1.000000e+00
  %or.cond = or i1 %55, %56
  br i1 %or.cond, label %57, label %61

57:                                               ; preds = %54
  %58 = load ptr, ptr @stderr, align 8, !tbaa !5
  %59 = load ptr, ptr %1, align 8, !tbaa !5
  %60 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %58, ptr noundef nonnull @.str.14, ptr noundef %59) #10
  tail call void @exit(i32 noundef 1) #9
  unreachable

61:                                               ; preds = %54
  %62 = icmp eq i32 %.0116.ph189, 0
  br i1 %62, label %63, label %67

63:                                               ; preds = %61
  %64 = load ptr, ptr @stderr, align 8, !tbaa !5
  %65 = load ptr, ptr %1, align 8, !tbaa !5
  %66 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %64, ptr noundef nonnull @.str.15, ptr noundef %65) #10
  tail call void @exit(i32 noundef 1) #9
  unreachable

67:                                               ; preds = %61
  %68 = fcmp olt float %.0118.ph, 0.000000e+00
  %69 = fcmp ogt float %.0118.ph, 1.000000e+00
  %or.cond3 = or i1 %68, %69
  br i1 %or.cond3, label %70, label %74

70:                                               ; preds = %67
  %71 = load ptr, ptr @stderr, align 8, !tbaa !5
  %72 = load ptr, ptr %1, align 8, !tbaa !5
  %73 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef nonnull @.str.16, ptr noundef %72) #10
  tail call void @exit(i32 noundef 1) #9
  unreachable

74:                                               ; preds = %67
  %75 = tail call ptr @llvm.stacksave.p0()
  %76 = alloca [37 x { float, float }], align 16
  %77 = alloca [37 x { float, float }], align 16
  %78 = alloca [37 x { float, float }], align 16
  %79 = tail call ptr @symstreamcf_create_linear(i32 noundef 7, i32 noundef %.0110.ph207, i32 noundef %.0112.ph202, float noundef %.0114.ph196, i32 noundef 40) #7
  %80 = zext i32 %.0108.ph211 to i64
  %81 = alloca { float, float }, i64 %80, align 16
  store <2 x float> <float 5.000000e-01, float 0.000000e+00>, ptr %81, align 16
  %exitcond.peel.not = icmp eq i32 %.0108.ph211, 1
  br i1 %exitcond.peel.not, label %.loopexit, label %.peel.next

.peel.next:                                       ; preds = %74, %.peel.next
  %indvars.iv = phi i64 [ %indvars.iv.next, %.peel.next ], [ 1, %74 ]
  %82 = tail call float (...) @randnf() #7
  %83 = tail call float (...) @randnf() #7
  %84 = fmul float %83, 0.000000e+00
  %85 = fadd float %82, %84
  %86 = getelementptr inbounds { float, float }, ptr %81, i64 %indvars.iv
  %87 = insertelement <2 x float> poison, float %85, i64 0
  %88 = insertelement <2 x float> %87, float %83, i64 1
  %89 = fmul <2 x float> %88, <float 0x3FC99999A0000000, float 0x3FC99999A0000000>
  store <2 x float> %89, ptr %86, align 8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %80
  br i1 %exitcond.not, label %.loopexit, label %.peel.next, !llvm.loop !11

.loopexit:                                        ; preds = %.peel.next, %74
  %90 = call ptr @firfilt_cccf_create(ptr noundef nonnull %81, i32 noundef %.0108.ph211) #7
  %91 = call ptr @eqlms_cccf_create_rnyquist(i32 noundef 9, i32 noundef %.0110.ph207, i32 noundef %.0116.ph189, float noundef %.0114.ph196, float noundef 0.000000e+00) #7
  %92 = call i32 @eqlms_cccf_set_bw(ptr noundef %91, float noundef %.0118.ph) #7
  %93 = call noalias ptr @fopen(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.18)
  %94 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.17) #7
  %95 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.20) #7
  %96 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.21) #7
  %97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.22) #7
  %98 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.23) #7
  %99 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.24) #7
  br label %100

100:                                              ; preds = %.loopexit, %126
  %.0139 = phi i32 [ 0, %.loopexit ], [ %127, %126 ]
  %101 = call i32 @symstreamcf_write_samples(ptr noundef %79, ptr noundef nonnull %76, i32 noundef 37) #7
  %102 = call i32 @firfilt_cccf_execute_block(ptr noundef %90, ptr noundef nonnull %76, i32 noundef 37, ptr noundef nonnull %77) #7
  %103 = call i32 @eqlms_cccf_execute_block(ptr noundef %91, i32 noundef %.0110.ph207, ptr noundef nonnull %77, i32 noundef 37, ptr noundef nonnull %78) #7
  br label %104

104:                                              ; preds = %100, %104
  %indvars.iv156 = phi i64 [ 0, %100 ], [ %indvars.iv.next157, %104 ]
  %105 = getelementptr inbounds { float, float }, ptr %76, i64 %indvars.iv156
  %106 = load float, ptr %105, align 8
  %107 = getelementptr inbounds i8, ptr %105, i64 4
  %108 = fpext float %106 to double
  %109 = load float, ptr %107, align 4
  %110 = fpext float %109 to double
  %111 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.25, double noundef %108, double noundef %110) #7
  %112 = getelementptr inbounds { float, float }, ptr %77, i64 %indvars.iv156
  %113 = load float, ptr %112, align 8
  %114 = getelementptr inbounds i8, ptr %112, i64 4
  %115 = fpext float %113 to double
  %116 = load float, ptr %114, align 4
  %117 = fpext float %116 to double
  %118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.26, double noundef %115, double noundef %117) #7
  %119 = getelementptr inbounds { float, float }, ptr %78, i64 %indvars.iv156
  %120 = load float, ptr %119, align 8
  %121 = getelementptr inbounds i8, ptr %119, i64 4
  %122 = fpext float %120 to double
  %123 = load float, ptr %121, align 4
  %124 = fpext float %123 to double
  %125 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.27, double noundef %122, double noundef %124) #7
  %indvars.iv.next157 = add nuw nsw i64 %indvars.iv156, 1
  %exitcond159.not = icmp eq i64 %indvars.iv.next157, 37
  br i1 %exitcond159.not, label %126, label %104, !llvm.loop !13

126:                                              ; preds = %104
  %127 = add i32 %.0139, 37
  %128 = icmp ult i32 %127, %.0107
  br i1 %128, label %100, label %129, !llvm.loop !14

129:                                              ; preds = %126
  %130 = call i32 @symstreamcf_destroy(ptr noundef %79) #7
  %131 = call i32 @firfilt_cccf_destroy(ptr noundef %90) #7
  %132 = call i32 @eqlms_cccf_destroy(ptr noundef %91) #7
  %133 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.28, i32 noundef %.0110.ph207) #7
  %134 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.29, i32 noundef %.0112.ph202) #7
  %135 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.30) #7
  %136 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.31) #7
  %137 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.32) #7
  %138 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.33) #7
  %139 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.34) #7
  %140 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.35) #7
  %141 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.36) #7
  %142 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.37) #7
  %143 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.38) #7
  %144 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.39) #7
  %145 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.40) #7
  %146 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.41) #7
  %147 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.42) #7
  %148 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.43) #7
  %149 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.44) #7
  %150 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.45) #7
  %151 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.46) #7
  %152 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.47) #7
  %153 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.48) #7
  %154 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.43) #7
  %155 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.49) #7
  %156 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.50) #7
  %157 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.51) #7
  %158 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.52) #7
  %159 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.48) #7
  %160 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.43) #7
  %161 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef nonnull @.str.53) #7
  %162 = call i32 @fclose(ptr noundef %93)
  %163 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.54, ptr noundef nonnull @.str.17)
  call void @llvm.stackrestore.p0(ptr %75)
  br label %164

164:                                              ; preds = %129, %5
  ret i32 0
}

; 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 i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #3

; 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: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1

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

declare ptr @symstreamcf_create_linear(i32 noundef, i32 noundef, i32 noundef, float noundef, i32 noundef) local_unnamed_addr #6

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

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

declare ptr @eqlms_cccf_create_rnyquist(i32 noundef, i32 noundef, i32 noundef, float noundef, float noundef) local_unnamed_addr #6

declare i32 @eqlms_cccf_set_bw(ptr noundef, float 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

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

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

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

declare i32 @symstreamcf_destroy(ptr noundef) local_unnamed_addr #6

declare i32 @firfilt_cccf_destroy(ptr noundef) local_unnamed_addr #6

declare i32 @eqlms_cccf_destroy(ptr noundef) local_unnamed_addr #6

; 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) #5

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

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

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopFullUnrollPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass