; LLVM IR from jgaeddert/liquid-dsp :: examples (symsync_crcf_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.7 = external hidden unnamed_addr constant [14 x i8], align 1
@optarg = external global ptr, align 8
@stderr = external global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [7 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca float, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca float, align 4
  %16 = alloca float, 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 ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca ptr, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  %26 = call i64 @time(ptr noundef null) #7
  %27 = trunc i64 %26 to i32
  call void @srand(i32 noundef %27) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store i32 2, 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 float 5.000000e-01, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 32, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 400, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  br label %28

28:                                               ; preds = %53, %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.7) #7
  store i32 %31, ptr %11, align 4, !tbaa !5
  %32 = icmp ne i32 %31, -1
  br i1 %32, label %33, label %54

33:                                               ; preds = %28
  %34 = load i32, ptr %11, align 4, !tbaa !5
  switch i32 %34, label %52 [
    i32 104, label %35
    i32 107, label %36
    i32 109, label %39
    i32 98, label %42
    i32 66, label %46
    i32 110, label %49
  ]

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

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 %53

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 %53

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

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

49:                                               ; preds = %33
  %50 = load ptr, ptr @optarg, align 8, !tbaa !9
  %51 = call i32 @atoi(ptr noundef %50) #8
  store i32 %51, ptr %10, align 4, !tbaa !5
  br label %53

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

53:                                               ; preds = %49, %46, %42, %39, %36
  br label %28, !llvm.loop !13

54:                                               ; preds = %28
  %55 = load i32, ptr %6, align 4, !tbaa !5
  %56 = icmp ult i32 %55, 2
  br i1 %56, label %57, label %60

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

60:                                               ; preds = %54
  %61 = load i32, ptr %7, align 4, !tbaa !5
  %62 = icmp ult i32 %61, 1
  br i1 %62, label %63, label %66

63:                                               ; preds = %60
  %64 = load ptr, ptr @stderr, align 8, !tbaa !9
  %65 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %64, ptr noundef @.str.9) #7
  call void @exit(i32 noundef 1) #9
  unreachable

66:                                               ; preds = %60
  %67 = load float, ptr %8, align 4, !tbaa !11
  %68 = fcmp ole float %67, 0.000000e+00
  br i1 %68, label %72, label %69

69:                                               ; preds = %66
  %70 = load float, ptr %8, align 4, !tbaa !11
  %71 = fcmp ogt float %70, 1.000000e+00
  br i1 %71, label %72, label %75

72:                                               ; preds = %69, %66
  %73 = load ptr, ptr @stderr, align 8, !tbaa !9
  %74 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %73, ptr noundef @.str.10) #7
  call void @exit(i32 noundef 1) #9
  unreachable

75:                                               ; preds = %69
  %76 = load i32, ptr %9, align 4, !tbaa !5
  %77 = icmp eq i32 %76, 0
  br i1 %77, label %78, label %81

78:                                               ; preds = %75
  %79 = load ptr, ptr @stderr, align 8, !tbaa !9
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %79, ptr noundef @.str.11) #7
  call void @exit(i32 noundef 1) #9
  unreachable

81:                                               ; preds = %75
  %82 = load i32, ptr %10, align 4, !tbaa !5
  %83 = icmp eq i32 %82, 0
  br i1 %83, label %84, label %87

84:                                               ; preds = %81
  %85 = load ptr, ptr @stderr, align 8, !tbaa !9
  %86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %85, ptr noundef @.str.12) #7
  call void @exit(i32 noundef 1) #9
  unreachable

87:                                               ; preds = %81
  br label %88

88:                                               ; preds = %87
  br label %89

89:                                               ; preds = %88
  br label %90

90:                                               ; preds = %89
  br label %91

91:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 7, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store float 0x3F947AE140000000, ptr %15, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  store float -5.000000e-01, ptr %16, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %92 = load i32, ptr %6, align 4, !tbaa !5
  %93 = load i32, ptr %10, align 4, !tbaa !5
  %94 = mul i32 %92, %93
  store i32 %94, ptr %17, align 4, !tbaa !5
  %95 = load i32, ptr %10, align 4, !tbaa !5
  %96 = zext i32 %95 to i64
  %97 = call ptr @llvm.stacksave.p0()
  store ptr %97, ptr %18, align 8
  %98 = alloca { float, float }, i64 %96, align 16
  store i64 %96, ptr %19, align 8
  %99 = load i32, ptr %17, align 4, !tbaa !5
  %100 = zext i32 %99 to i64
  %101 = alloca { float, float }, i64 %100, align 16
  store i64 %100, ptr %20, align 8
  %102 = load i32, ptr %10, align 4, !tbaa !5
  %103 = add i32 %102, 64
  %104 = zext i32 %103 to i64
  %105 = alloca { float, float }, i64 %104, align 16
  store i64 %104, ptr %21, align 8
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %106

106:                                              ; preds = %131, %91
  %107 = load i32, ptr %13, align 4, !tbaa !5
  %108 = load i32, ptr %10, align 4, !tbaa !5
  %109 = icmp ult i32 %107, %108
  br i1 %109, label %110, label %134

110:                                              ; preds = %106
  %111 = call i32 @rand() #7
  %112 = srem i32 %111, 2
  %113 = icmp ne i32 %112, 0
  %114 = zext i1 %113 to i64
  %115 = select i1 %113, double 0xBFE6A09E667F3BCD, double 0x3FE6A09E667F3BCD
  %116 = call i32 @rand() #7
  %117 = srem i32 %116, 2
  %118 = icmp ne i32 %117, 0
  %119 = zext i1 %118 to i64
  %120 = select i1 %118, double 0xBFE6A09E667F3BCD, double 0x3FE6A09E667F3BCD
  %121 = fmul double %120, 0.000000e+00
  %122 = fmul double %120, 1.000000e+00
  %123 = fadd double %115, %121
  %124 = fptrunc double %123 to float
  %125 = fptrunc double %122 to float
  %126 = load i32, ptr %13, align 4, !tbaa !5
  %127 = zext i32 %126 to i64
  %128 = getelementptr inbounds { float, float }, ptr %98, i64 %127
  %129 = getelementptr inbounds { float, float }, ptr %128, i32 0, i32 0
  %130 = getelementptr inbounds { float, float }, ptr %128, i32 0, i32 1
  store float %124, ptr %129, align 8
  store float %125, ptr %130, align 4
  br label %131

131:                                              ; preds = %110
  %132 = load i32, ptr %13, align 4, !tbaa !5
  %133 = add i32 %132, 1
  store i32 %133, ptr %13, align 4, !tbaa !5
  br label %106, !llvm.loop !15

134:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %135 = load i32, ptr %14, align 4, !tbaa !5
  %136 = load i32, ptr %6, align 4, !tbaa !5
  %137 = load i32, ptr %7, align 4, !tbaa !5
  %138 = load float, ptr %8, align 4, !tbaa !11
  %139 = load float, ptr %16, align 4, !tbaa !11
  %140 = call ptr @firinterp_crcf_create_prototype(i32 noundef %135, i32 noundef %136, i32 noundef %137, float noundef %138, float noundef %139)
  store ptr %140, ptr %22, align 8, !tbaa !9
  %141 = load ptr, ptr %22, align 8, !tbaa !9
  %142 = load i32, ptr %10, align 4, !tbaa !5
  %143 = call i32 @firinterp_crcf_execute_block(ptr noundef %141, ptr noundef %98, i32 noundef %142, ptr noundef %101)
  %144 = load ptr, ptr %22, align 8, !tbaa !9
  %145 = call i32 @firinterp_crcf_destroy(ptr noundef %144)
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %146 = load i32, ptr %14, align 4, !tbaa !5
  %147 = load i32, ptr %6, align 4, !tbaa !5
  %148 = load i32, ptr %7, align 4, !tbaa !5
  %149 = load float, ptr %8, align 4, !tbaa !11
  %150 = load i32, ptr %9, align 4, !tbaa !5
  %151 = call ptr @symsync_crcf_create_rnyquist(i32 noundef %146, i32 noundef %147, i32 noundef %148, float noundef %149, i32 noundef %150)
  store ptr %151, ptr %23, align 8, !tbaa !9
  %152 = load ptr, ptr %23, align 8, !tbaa !9
  %153 = load float, ptr %15, align 4, !tbaa !11
  %154 = call i32 @symsync_crcf_set_lf_bw(ptr noundef %152, float noundef %153)
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  store i32 0, ptr %24, align 4, !tbaa !5
  %155 = load ptr, ptr %23, align 8, !tbaa !9
  %156 = load i32, ptr %17, align 4, !tbaa !5
  %157 = call i32 @symsync_crcf_execute(ptr noundef %155, ptr noundef %101, i32 noundef %156, ptr noundef %105, ptr noundef %24)
  %158 = load ptr, ptr %23, align 8, !tbaa !9
  %159 = call i32 @symsync_crcf_destroy(ptr noundef %158)
  %160 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  %161 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
  %162 = load i32, ptr %24, align 4, !tbaa !5
  %163 = sub i32 %162, 10
  store i32 %163, ptr %13, align 4, !tbaa !5
  br label %164

164:                                              ; preds = %188, %134
  %165 = load i32, ptr %13, align 4, !tbaa !5
  %166 = load i32, ptr %24, align 4, !tbaa !5
  %167 = icmp ult i32 %165, %166
  br i1 %167, label %168, label %191

168:                                              ; preds = %164
  %169 = load i32, ptr %13, align 4, !tbaa !5
  %170 = add i32 %169, 1
  %171 = load i32, ptr %13, align 4, !tbaa !5
  %172 = zext i32 %171 to i64
  %173 = getelementptr inbounds { float, float }, ptr %105, i64 %172
  %174 = getelementptr inbounds { float, float }, ptr %173, i32 0, i32 0
  %175 = load float, ptr %174, align 8
  %176 = getelementptr inbounds { float, float }, ptr %173, i32 0, i32 1
  %177 = load float, ptr %176, align 4
  %178 = fpext float %175 to double
  %179 = load i32, ptr %13, align 4, !tbaa !5
  %180 = zext i32 %179 to i64
  %181 = getelementptr inbounds { float, float }, ptr %105, i64 %180
  %182 = getelementptr inbounds { float, float }, ptr %181, i32 0, i32 0
  %183 = load float, ptr %182, align 8
  %184 = getelementptr inbounds { float, float }, ptr %181, i32 0, i32 1
  %185 = load float, ptr %184, align 4
  %186 = fpext float %185 to double
  %187 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %170, double noundef %178, double noundef %186)
  br label %188

188:                                              ; preds = %168
  %189 = load i32, ptr %13, align 4, !tbaa !5
  %190 = add i32 %189, 1
  store i32 %190, ptr %13, align 4, !tbaa !5
  br label %164, !llvm.loop !16

191:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %192 = call noalias ptr @fopen(ptr noundef @.str.16, ptr noundef @.str.17)
  store ptr %192, ptr %25, align 8, !tbaa !9
  %193 = load ptr, ptr %25, align 8, !tbaa !9
  %194 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %193, ptr noundef @.str.18, ptr noundef @.str.16) #7
  %195 = load ptr, ptr %25, align 8, !tbaa !9
  %196 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %195, ptr noundef @.str.19) #7
  %197 = load ptr, ptr %25, align 8, !tbaa !9
  %198 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %197, ptr noundef @.str.20) #7
  %199 = load ptr, ptr %25, align 8, !tbaa !9
  %200 = load i32, ptr %24, align 4, !tbaa !5
  %201 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %199, ptr noundef @.str.21, i32 noundef %200) #7
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %202

202:                                              ; preds = %227, %191
  %203 = load i32, ptr %13, align 4, !tbaa !5
  %204 = load i32, ptr %24, align 4, !tbaa !5
  %205 = icmp ult i32 %203, %204
  br i1 %205, label %206, label %230

206:                                              ; preds = %202
  %207 = load ptr, ptr %25, align 8, !tbaa !9
  %208 = load i32, ptr %13, align 4, !tbaa !5
  %209 = add i32 %208, 1
  %210 = load i32, ptr %13, align 4, !tbaa !5
  %211 = zext i32 %210 to i64
  %212 = getelementptr inbounds { float, float }, ptr %105, i64 %211
  %213 = getelementptr inbounds { float, float }, ptr %212, i32 0, i32 0
  %214 = load float, ptr %213, align 8
  %215 = getelementptr inbounds { float, float }, ptr %212, i32 0, i32 1
  %216 = load float, ptr %215, align 4
  %217 = fpext float %214 to double
  %218 = load i32, ptr %13, align 4, !tbaa !5
  %219 = zext i32 %218 to i64
  %220 = getelementptr inbounds { float, float }, ptr %105, i64 %219
  %221 = getelementptr inbounds { float, float }, ptr %220, i32 0, i32 0
  %222 = load float, ptr %221, align 8
  %223 = getelementptr inbounds { float, float }, ptr %220, i32 0, i32 1
  %224 = load float, ptr %223, align 4
  %225 = fpext float %224 to double
  %226 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %207, ptr noundef @.str.22, i32 noundef %209, double noundef %217, double noundef %225) #7
  br label %227

227:                                              ; preds = %206
  %228 = load i32, ptr %13, align 4, !tbaa !5
  %229 = add i32 %228, 1
  store i32 %229, ptr %13, align 4, !tbaa !5
  br label %202, !llvm.loop !17

230:                                              ; preds = %202
  %231 = load ptr, ptr %25, align 8, !tbaa !9
  %232 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef @.str.23) #7
  %233 = load ptr, ptr %25, align 8, !tbaa !9
  %234 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %233, ptr noundef @.str.24) #7
  %235 = load ptr, ptr %25, align 8, !tbaa !9
  %236 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %235, ptr noundef @.str.25) #7
  %237 = load ptr, ptr %25, align 8, !tbaa !9
  %238 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %237, ptr noundef @.str.26) #7
  %239 = load ptr, ptr %25, align 8, !tbaa !9
  %240 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %239, ptr noundef @.str.27) #7
  %241 = load ptr, ptr %25, align 8, !tbaa !9
  %242 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %241, ptr noundef @.str.28) #7
  %243 = load ptr, ptr %25, align 8, !tbaa !9
  %244 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %243, ptr noundef @.str.29) #7
  %245 = load ptr, ptr %25, align 8, !tbaa !9
  %246 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %245, ptr noundef @.str.30) #7
  %247 = load ptr, ptr %25, align 8, !tbaa !9
  %248 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %247, ptr noundef @.str.31) #7
  %249 = load ptr, ptr %25, align 8, !tbaa !9
  %250 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %249, ptr noundef @.str.32) #7
  %251 = load ptr, ptr %25, align 8, !tbaa !9
  %252 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %251, ptr noundef @.str.33) #7
  %253 = load ptr, ptr %25, align 8, !tbaa !9
  %254 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %253, ptr noundef @.str.34) #7
  %255 = load ptr, ptr %25, align 8, !tbaa !9
  %256 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %255, ptr noundef @.str.35) #7
  %257 = load ptr, ptr %25, align 8, !tbaa !9
  %258 = call i32 @fclose(ptr noundef %257)
  %259 = call i32 (ptr, ...) @printf(ptr noundef @.str.36, ptr noundef @.str.16)
  %260 = call i32 (ptr, ...) @printf(ptr noundef @.str.37)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  %261 = load ptr, ptr %18, align 8
  call void @llvm.stackrestore.p0(ptr %261)
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %262

262:                                              ; preds = %230, %35
  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
  %263 = load i32, ptr %3, align 4
  ret i32 %263
}

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

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

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

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

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare 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, ...) #2

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

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

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

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

declare i32 @firinterp_crcf_destroy(ptr noundef) #1

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

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

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

declare i32 @symsync_crcf_destroy(ptr noundef) #1

declare noalias ptr @fopen(ptr noundef, 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) #3

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = 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.7 = external hidden unnamed_addr constant [14 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [7 x i8], align 1

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

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

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

.outer:                                           ; preds = %22, %2
  %.074.ph = phi i32 [ %24, %22 ], [ 400, %2 ]
  %.072.ph = phi i32 [ %.072.ph134, %22 ], [ 32, %2 ]
  %.070.ph = phi float [ %.070.ph139, %22 ], [ 5.000000e-01, %2 ]
  %.068.ph = phi i32 [ %.068.ph143, %22 ], [ 5, %2 ]
  %.067.ph = phi i32 [ %.067, %22 ], [ 2, %2 ]
  br label %.outer133

.outer133:                                        ; preds = %.outer, %19
  %.072.ph134 = phi i32 [ %.072.ph, %.outer ], [ %21, %19 ]
  %.070.ph135 = phi float [ %.070.ph, %.outer ], [ %.070.ph139, %19 ]
  %.068.ph136 = phi i32 [ %.068.ph, %.outer ], [ %.068.ph143, %19 ]
  %.067.ph137 = phi i32 [ %.067.ph, %.outer ], [ %.067, %19 ]
  br label %.outer138

.outer138:                                        ; preds = %.outer133, %15
  %.070.ph139 = phi float [ %.070.ph135, %.outer133 ], [ %18, %15 ]
  %.068.ph140 = phi i32 [ %.068.ph136, %.outer133 ], [ %.068.ph143, %15 ]
  %.067.ph141 = phi i32 [ %.067.ph137, %.outer133 ], [ %.067, %15 ]
  br label %.outer142

.outer142:                                        ; preds = %.outer138, %12
  %.068.ph143 = phi i32 [ %.068.ph140, %.outer138 ], [ %14, %12 ]
  %.067.ph144 = phi i32 [ %.067.ph141, %.outer138 ], [ %.067, %12 ]
  br label %6

6:                                                ; preds = %.outer142, %9
  %.067 = phi i32 [ %11, %9 ], [ %.067.ph144, %.outer142 ]
  %7 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.7) #9
  switch i32 %7, label %25 [
    i32 -1, label %26
    i32 104, label %8
    i32 107, label %9
    i32 109, label %12
    i32 98, label %15
    i32 66, label %19
    i32 110, label %22
  ]

8:                                                ; preds = %6
  tail call void @usage()
  br label %134

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

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

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

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

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

25:                                               ; preds = %6
  tail call void @exit(i32 noundef 1) #11
  unreachable

26:                                               ; preds = %6
  %27 = icmp ult i32 %.067, 2
  br i1 %27, label %28, label %31

28:                                               ; preds = %26
  %29 = load ptr, ptr @stderr, align 8, !tbaa !5
  %30 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %29, ptr noundef nonnull @.str.8) #12
  tail call void @exit(i32 noundef 1) #11
  unreachable

31:                                               ; preds = %26
  %32 = icmp eq i32 %.068.ph143, 0
  br i1 %32, label %33, label %36

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

36:                                               ; preds = %31
  %37 = fcmp ole float %.070.ph139, 0.000000e+00
  %38 = fcmp ogt float %.070.ph139, 1.000000e+00
  %or.cond = or i1 %37, %38
  br i1 %or.cond, label %39, label %42

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

42:                                               ; preds = %36
  %43 = icmp eq i32 %.072.ph134, 0
  br i1 %43, label %44, label %47

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

47:                                               ; preds = %42
  %48 = icmp eq i32 %.074.ph, 0
  br i1 %48, label %49, label %52

49:                                               ; preds = %47
  %50 = load ptr, ptr @stderr, align 8, !tbaa !5
  %51 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef nonnull @.str.12) #12
  tail call void @exit(i32 noundef 1) #11
  unreachable

52:                                               ; preds = %47
  %53 = mul i32 %.067, %.074.ph
  %54 = zext i32 %.074.ph to i64
  %55 = tail call ptr @llvm.stacksave.p0()
  %56 = alloca { float, float }, i64 %54, align 16
  %57 = zext i32 %53 to i64
  %58 = alloca { float, float }, i64 %57, align 16
  %59 = add i32 %.074.ph, 64
  %60 = zext i32 %59 to i64
  %61 = alloca { float, float }, i64 %60, align 16
  br label %62

62:                                               ; preds = %52, %62
  %indvars.iv = phi i64 [ 0, %52 ], [ %indvars.iv.next, %62 ]
  %63 = tail call i32 @rand() #9
  %64 = and i32 %63, 1
  %.not78 = icmp eq i32 %64, 0
  %65 = select i1 %.not78, double 0x3FE6A09E667F3BCD, double 0xBFE6A09E667F3BCD
  %66 = tail call i32 @rand() #9
  %67 = and i32 %66, 1
  %.not79 = icmp eq i32 %67, 0
  %68 = select i1 %.not79, double 0x3FE6A09E667F3BCD, double 0xBFE6A09E667F3BCD
  %69 = tail call double @llvm.copysign.f64(double 0.000000e+00, double %68)
  %70 = fadd double %65, %69
  %71 = getelementptr inbounds { float, float }, ptr %56, i64 %indvars.iv
  %72 = insertelement <2 x double> poison, double %70, i64 0
  %73 = insertelement <2 x double> %72, double %68, i64 1
  %74 = fptrunc <2 x double> %73 to <2 x float>
  store <2 x float> %74, ptr %71, align 8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %54
  br i1 %exitcond.not, label %75, label %62, !llvm.loop !11

75:                                               ; preds = %62
  %76 = tail call ptr @firinterp_crcf_create_prototype(i32 noundef 7, i32 noundef %.067, i32 noundef %.068.ph143, float noundef %.070.ph139, float noundef -5.000000e-01) #9
  %77 = call i32 @firinterp_crcf_execute_block(ptr noundef %76, ptr noundef nonnull %56, i32 noundef %.074.ph, ptr noundef nonnull %58) #9
  %78 = call i32 @firinterp_crcf_destroy(ptr noundef %76) #9
  %79 = call ptr @symsync_crcf_create_rnyquist(i32 noundef 7, i32 noundef %.067, i32 noundef %.068.ph143, float noundef %.070.ph139, i32 noundef %.072.ph134) #9
  %80 = call i32 @symsync_crcf_set_lf_bw(ptr noundef %79, float noundef 0x3F947AE140000000) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #9
  store i32 0, ptr %3, align 4, !tbaa !12
  %81 = call i32 @symsync_crcf_execute(ptr noundef %79, ptr noundef nonnull %58, i32 noundef %53, ptr noundef nonnull %61, ptr noundef nonnull %3) #9
  %82 = call i32 @symsync_crcf_destroy(ptr noundef %79) #9
  %83 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  %84 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14)
  %85 = load i32, ptr %3, align 4, !tbaa !12
  %86 = icmp ugt i32 %85, 9
  br i1 %86, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %75
  %87 = add i32 %85, -10
  %88 = zext i32 %87 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv107 = phi i64 [ %88, %.lr.ph.preheader ], [ %indvars.iv.next108, %.lr.ph ]
  %indvars.iv.next108 = add nuw nsw i64 %indvars.iv107, 1
  %89 = getelementptr inbounds { float, float }, ptr %61, i64 %indvars.iv107
  %90 = load float, ptr %89, align 8
  %91 = getelementptr inbounds i8, ptr %89, i64 4
  %92 = fpext float %90 to double
  %93 = load float, ptr %91, align 4
  %94 = fpext float %93 to double
  %95 = trunc nuw i64 %indvars.iv.next108 to i32
  %96 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef %95, double noundef %92, double noundef %94)
  %97 = load i32, ptr %3, align 4, !tbaa !12
  %98 = zext i32 %97 to i64
  %99 = icmp ult i64 %indvars.iv.next108, %98
  br i1 %99, label %.lr.ph, label %._crit_edge, !llvm.loop !14

._crit_edge:                                      ; preds = %.lr.ph, %75
  %100 = call noalias ptr @fopen(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.17)
  %101 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.16) #9
  %102 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.19) #9
  %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.20) #9
  %104 = load i32, ptr %3, align 4, !tbaa !12
  %105 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.21, i32 noundef %104) #9
  %106 = load i32, ptr %3, align 4, !tbaa !12
  %.not = icmp eq i32 %106, 0
  br i1 %.not, label %._crit_edge95, label %.lr.ph94

.lr.ph94:                                         ; preds = %._crit_edge, %.lr.ph94
  %indvars.iv110 = phi i64 [ %indvars.iv.next111, %.lr.ph94 ], [ 0, %._crit_edge ]
  %indvars.iv.next111 = add nuw nsw i64 %indvars.iv110, 1
  %107 = getelementptr inbounds { float, float }, ptr %61, i64 %indvars.iv110
  %108 = load float, ptr %107, align 8
  %109 = getelementptr inbounds i8, ptr %107, i64 4
  %110 = fpext float %108 to double
  %111 = load float, ptr %109, align 4
  %112 = fpext float %111 to double
  %113 = trunc nuw i64 %indvars.iv.next111 to i32
  %114 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.22, i32 noundef %113, double noundef %110, double noundef %112) #9
  %115 = load i32, ptr %3, align 4, !tbaa !12
  %116 = zext i32 %115 to i64
  %117 = icmp ult i64 %indvars.iv.next111, %116
  br i1 %117, label %.lr.ph94, label %._crit_edge95, !llvm.loop !15

._crit_edge95:                                    ; preds = %.lr.ph94, %._crit_edge
  %118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.23) #9
  %119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.24) #9
  %120 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.25) #9
  %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.26) #9
  %122 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.27) #9
  %123 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.28) #9
  %124 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.29) #9
  %125 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.30) #9
  %126 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.31) #9
  %127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.32) #9
  %128 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.33) #9
  %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.34) #9
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.35) #9
  %131 = call i32 @fclose(ptr noundef %100)
  %132 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.36, ptr noundef nonnull @.str.16)
  %133 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.37)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #9
  call void @llvm.stackrestore.p0(ptr %55)
  br label %134

134:                                              ; preds = %._crit_edge95, %8
  ret i32 0
}

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

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

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

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

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

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

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

; 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() #6

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

declare ptr @firinterp_crcf_create_prototype(i32 noundef, i32 noundef, i32 noundef, float noundef, float noundef) local_unnamed_addr #7

declare i32 @firinterp_crcf_execute_block(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #7

declare i32 @firinterp_crcf_destroy(ptr noundef) local_unnamed_addr #7

declare ptr @symsync_crcf_create_rnyquist(i32 noundef, i32 noundef, i32 noundef, float noundef, i32 noundef) local_unnamed_addr #7

declare i32 @symsync_crcf_set_lf_bw(ptr noundef, float noundef) local_unnamed_addr #7

declare i32 @symsync_crcf_execute(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #7

declare i32 @symsync_crcf_destroy(ptr noundef) local_unnamed_addr #7

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.copysign.f64(double, double) #8

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #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 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #7 = { "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 #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { nounwind }
attributes #10 = { nounwind willreturn memory(read) }
attributes #11 = { noreturn nounwind }
attributes #12 = { 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 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}


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