; LLVM IR from jgaeddert/liquid-dsp :: examples (firinterp_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.6 = external hidden unnamed_addr constant [11 x i8], align 1
@optarg = external global ptr, align 8
@stderr = external global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [25 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 [9 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.42 = 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) #2 {
  %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 ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i32, align 4
  %19 = alloca { float, float }, align 4
  %20 = 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
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  store i32 4, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store i32 3, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store float 6.000000e+01, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 16, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  br label %21

21:                                               ; preds = %43, %2
  %22 = load i32, ptr %4, align 4, !tbaa !5
  %23 = load ptr, ptr %5, align 8, !tbaa !9
  %24 = call i32 @getopt(i32 noundef %22, ptr noundef %23, ptr noundef @.str.6) #8
  store i32 %24, ptr %10, align 4, !tbaa !5
  %25 = icmp ne i32 %24, -1
  br i1 %25, label %26, label %44

26:                                               ; preds = %21
  %27 = load i32, ptr %10, align 4, !tbaa !5
  switch i32 %27, label %42 [
    i32 117, label %28
    i32 104, label %28
    i32 107, label %29
    i32 109, label %32
    i32 115, label %35
    i32 110, label %39
  ]

28:                                               ; preds = %26, %26
  call void @usage()
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %346

29:                                               ; preds = %26
  %30 = load ptr, ptr @optarg, align 8, !tbaa !9
  %31 = call i32 @atoi(ptr noundef %30) #9
  store i32 %31, ptr %6, align 4, !tbaa !5
  br label %43

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

35:                                               ; preds = %26
  %36 = load ptr, ptr @optarg, align 8, !tbaa !9
  %37 = call double @atof(ptr noundef %36) #9
  %38 = fptrunc double %37 to float
  store float %38, ptr %8, align 4, !tbaa !11
  br label %43

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

42:                                               ; preds = %26
  call void @exit(i32 noundef 1) #10
  unreachable

43:                                               ; preds = %39, %35, %32, %29
  br label %21, !llvm.loop !13

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

47:                                               ; preds = %44
  %48 = load ptr, ptr @stderr, align 8, !tbaa !9
  %49 = load ptr, ptr %5, align 8, !tbaa !9
  %50 = getelementptr inbounds ptr, ptr %49, i64 0
  %51 = load ptr, ptr %50, align 8, !tbaa !9
  %52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef @.str.7, ptr noundef %51) #8
  call void @exit(i32 noundef 1) #10
  unreachable

53:                                               ; preds = %44
  %54 = load i32, ptr %7, align 4, !tbaa !5
  %55 = icmp ult i32 %54, 1
  br i1 %55, label %56, label %62

56:                                               ; preds = %53
  %57 = load ptr, ptr @stderr, align 8, !tbaa !9
  %58 = load ptr, ptr %5, align 8, !tbaa !9
  %59 = getelementptr inbounds ptr, ptr %58, i64 0
  %60 = load ptr, ptr %59, align 8, !tbaa !9
  %61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %57, ptr noundef @.str.8, ptr noundef %60) #8
  call void @exit(i32 noundef 1) #10
  unreachable

62:                                               ; preds = %53
  %63 = load i32, ptr %9, align 4, !tbaa !5
  %64 = icmp ult i32 %63, 1
  br i1 %64, label %65, label %71

65:                                               ; preds = %62
  %66 = load ptr, ptr @stderr, align 8, !tbaa !9
  %67 = load ptr, ptr %5, align 8, !tbaa !9
  %68 = getelementptr inbounds ptr, ptr %67, i64 0
  %69 = load ptr, ptr %68, align 8, !tbaa !9
  %70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef @.str.9, ptr noundef %69) #8
  call void @usage()
  store i32 1, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %346

71:                                               ; preds = %62
  br label %72

72:                                               ; preds = %71
  br label %73

73:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  %74 = load i32, ptr %9, align 4, !tbaa !5
  %75 = load i32, ptr %7, align 4, !tbaa !5
  %76 = mul i32 2, %75
  %77 = add i32 %74, %76
  store i32 %77, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %78 = load i32, ptr %6, align 4, !tbaa !5
  %79 = load i32, ptr %12, align 4, !tbaa !5
  %80 = mul i32 %78, %79
  store i32 %80, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %81 = load i32, ptr %6, align 4, !tbaa !5
  %82 = load i32, ptr %7, align 4, !tbaa !5
  %83 = load float, ptr %8, align 4, !tbaa !11
  %84 = call ptr @firinterp_crcf_create_kaiser(i32 noundef %81, i32 noundef %82, float noundef %83)
  store ptr %84, ptr %14, align 8, !tbaa !9
  %85 = load i32, ptr %12, align 4, !tbaa !5
  %86 = zext i32 %85 to i64
  %87 = call ptr @llvm.stacksave.p0()
  store ptr %87, ptr %15, align 8
  %88 = alloca { float, float }, i64 %86, align 16
  store i64 %86, ptr %16, align 8
  %89 = load i32, ptr %13, align 4, !tbaa !5
  %90 = zext i32 %89 to i64
  %91 = alloca { float, float }, i64 %90, align 16
  store i64 %90, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %92

92:                                               ; preds = %115, %73
  %93 = load i32, ptr %18, align 4, !tbaa !5
  %94 = load i32, ptr %9, align 4, !tbaa !5
  %95 = icmp ult i32 %93, %94
  br i1 %95, label %96, label %118

96:                                               ; preds = %92
  %97 = call i32 @rand() #8
  %98 = srem i32 %97, 2
  %99 = icmp ne i32 %98, 0
  %100 = zext i1 %99 to i64
  %101 = select i1 %99, float 1.000000e+00, float -1.000000e+00
  %102 = call i32 @rand() #8
  %103 = srem i32 %102, 2
  %104 = icmp ne i32 %103, 0
  %105 = zext i1 %104 to i64
  %106 = select i1 %104, float 1.000000e+00, float -1.000000e+00
  %107 = fmul float %106, 0.000000e+00
  %108 = fmul float %106, 1.000000e+00
  %109 = fadd float %101, %107
  %110 = load i32, ptr %18, align 4, !tbaa !5
  %111 = zext i32 %110 to i64
  %112 = getelementptr inbounds { float, float }, ptr %88, i64 %111
  %113 = getelementptr inbounds { float, float }, ptr %112, i32 0, i32 0
  %114 = getelementptr inbounds { float, float }, ptr %112, i32 0, i32 1
  store float %109, ptr %113, align 8
  store float %108, ptr %114, align 4
  br label %115

115:                                              ; preds = %96
  %116 = load i32, ptr %18, align 4, !tbaa !5
  %117 = add i32 %116, 1
  store i32 %117, ptr %18, align 4, !tbaa !5
  br label %92, !llvm.loop !15

118:                                              ; preds = %92
  %119 = load i32, ptr %9, align 4, !tbaa !5
  store i32 %119, ptr %18, align 4, !tbaa !5
  br label %120

120:                                              ; preds = %130, %118
  %121 = load i32, ptr %18, align 4, !tbaa !5
  %122 = load i32, ptr %12, align 4, !tbaa !5
  %123 = icmp ult i32 %121, %122
  br i1 %123, label %124, label %133

124:                                              ; preds = %120
  %125 = load i32, ptr %18, align 4, !tbaa !5
  %126 = zext i32 %125 to i64
  %127 = getelementptr inbounds { float, float }, ptr %88, i64 %126
  %128 = getelementptr inbounds { float, float }, ptr %127, i32 0, i32 0
  %129 = getelementptr inbounds { float, float }, ptr %127, i32 0, i32 1
  store float 0.000000e+00, ptr %128, align 8
  store float 0.000000e+00, ptr %129, align 4
  br label %130

130:                                              ; preds = %124
  %131 = load i32, ptr %18, align 4, !tbaa !5
  %132 = add i32 %131, 1
  store i32 %132, ptr %18, align 4, !tbaa !5
  br label %120, !llvm.loop !16

133:                                              ; preds = %120
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %134

134:                                              ; preds = %156, %133
  %135 = load i32, ptr %18, align 4, !tbaa !5
  %136 = load i32, ptr %12, align 4, !tbaa !5
  %137 = icmp ult i32 %135, %136
  br i1 %137, label %138, label %159

138:                                              ; preds = %134
  %139 = load ptr, ptr %14, align 8, !tbaa !9
  %140 = load i32, ptr %18, align 4, !tbaa !5
  %141 = zext i32 %140 to i64
  %142 = getelementptr inbounds { float, float }, ptr %88, i64 %141
  %143 = getelementptr inbounds { float, float }, ptr %142, i32 0, i32 0
  %144 = load float, ptr %143, align 8
  %145 = getelementptr inbounds { float, float }, ptr %142, i32 0, i32 1
  %146 = load float, ptr %145, align 4
  %147 = load i32, ptr %6, align 4, !tbaa !5
  %148 = load i32, ptr %18, align 4, !tbaa !5
  %149 = mul i32 %147, %148
  %150 = zext i32 %149 to i64
  %151 = getelementptr inbounds { float, float }, ptr %91, i64 %150
  %152 = getelementptr inbounds { float, float }, ptr %19, i32 0, i32 0
  %153 = getelementptr inbounds { float, float }, ptr %19, i32 0, i32 1
  store float %144, ptr %152, align 4
  store float %146, ptr %153, align 4
  %154 = load <2 x float>, ptr %19, align 4
  %155 = call i32 @firinterp_crcf_execute(ptr noundef %139, <2 x float> noundef %154, ptr noundef %151)
  br label %156

156:                                              ; preds = %138
  %157 = load i32, ptr %18, align 4, !tbaa !5
  %158 = add i32 %157, 1
  store i32 %158, ptr %18, align 4, !tbaa !5
  br label %134, !llvm.loop !17

159:                                              ; preds = %134
  %160 = load ptr, ptr %14, align 8, !tbaa !9
  %161 = call i32 @firinterp_crcf_destroy(ptr noundef %160)
  %162 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %163

163:                                              ; preds = %186, %159
  %164 = load i32, ptr %18, align 4, !tbaa !5
  %165 = load i32, ptr %12, align 4, !tbaa !5
  %166 = icmp ult i32 %164, %165
  br i1 %166, label %167, label %189

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

186:                                              ; preds = %167
  %187 = load i32, ptr %18, align 4, !tbaa !5
  %188 = add i32 %187, 1
  store i32 %188, ptr %18, align 4, !tbaa !5
  br label %163, !llvm.loop !18

189:                                              ; preds = %163
  %190 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %191

191:                                              ; preds = %229, %189
  %192 = load i32, ptr %18, align 4, !tbaa !5
  %193 = load i32, ptr %13, align 4, !tbaa !5
  %194 = icmp ult i32 %192, %193
  br i1 %194, label %195, label %232

195:                                              ; preds = %191
  %196 = load i32, ptr %18, align 4, !tbaa !5
  %197 = load i32, ptr %18, align 4, !tbaa !5
  %198 = zext i32 %197 to i64
  %199 = getelementptr inbounds { float, float }, ptr %91, i64 %198
  %200 = getelementptr inbounds { float, float }, ptr %199, i32 0, i32 0
  %201 = load float, ptr %200, align 8
  %202 = getelementptr inbounds { float, float }, ptr %199, i32 0, i32 1
  %203 = load float, ptr %202, align 4
  %204 = fpext float %201 to double
  %205 = load i32, ptr %18, align 4, !tbaa !5
  %206 = zext i32 %205 to i64
  %207 = getelementptr inbounds { float, float }, ptr %91, i64 %206
  %208 = getelementptr inbounds { float, float }, ptr %207, i32 0, i32 0
  %209 = load float, ptr %208, align 8
  %210 = getelementptr inbounds { float, float }, ptr %207, i32 0, i32 1
  %211 = load float, ptr %210, align 4
  %212 = fpext float %211 to double
  %213 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %196, double noundef %204, double noundef %212)
  %214 = load i32, ptr %18, align 4, !tbaa !5
  %215 = load i32, ptr %6, align 4, !tbaa !5
  %216 = load i32, ptr %7, align 4, !tbaa !5
  %217 = mul i32 %215, %216
  %218 = icmp uge i32 %214, %217
  br i1 %218, label %219, label %226

219:                                              ; preds = %195
  %220 = load i32, ptr %18, align 4, !tbaa !5
  %221 = load i32, ptr %6, align 4, !tbaa !5
  %222 = urem i32 %220, %221
  %223 = icmp eq i32 %222, 0
  br i1 %223, label %224, label %226

224:                                              ; preds = %219
  %225 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
  br label %228

226:                                              ; preds = %219, %195
  %227 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
  br label %228

228:                                              ; preds = %226, %224
  br label %229

229:                                              ; preds = %228
  %230 = load i32, ptr %18, align 4, !tbaa !5
  %231 = add i32 %230, 1
  store i32 %231, ptr %18, align 4, !tbaa !5
  br label %191, !llvm.loop !19

232:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %233 = call noalias ptr @fopen(ptr noundef @.str.16, ptr noundef @.str.17)
  store ptr %233, ptr %20, align 8, !tbaa !9
  %234 = load ptr, ptr %20, align 8, !tbaa !9
  %235 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %234, ptr noundef @.str.18, ptr noundef @.str.16) #8
  %236 = load ptr, ptr %20, align 8, !tbaa !9
  %237 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %236, ptr noundef @.str.19) #8
  %238 = load ptr, ptr %20, align 8, !tbaa !9
  %239 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %238, ptr noundef @.str.20) #8
  %240 = load ptr, ptr %20, align 8, !tbaa !9
  %241 = load i32, ptr %6, align 4, !tbaa !5
  %242 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %240, ptr noundef @.str.21, i32 noundef %241) #8
  %243 = load ptr, ptr %20, align 8, !tbaa !9
  %244 = load i32, ptr %7, align 4, !tbaa !5
  %245 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %243, ptr noundef @.str.22, i32 noundef %244) #8
  %246 = load ptr, ptr %20, align 8, !tbaa !9
  %247 = load i32, ptr %12, align 4, !tbaa !5
  %248 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %246, ptr noundef @.str.23, i32 noundef %247) #8
  %249 = load ptr, ptr %20, align 8, !tbaa !9
  %250 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %249, ptr noundef @.str.24) #8
  %251 = load ptr, ptr %20, align 8, !tbaa !9
  %252 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %251, ptr noundef @.str.25) #8
  %253 = load ptr, ptr %20, align 8, !tbaa !9
  %254 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %253, ptr noundef @.str.26) #8
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %255

255:                                              ; preds = %280, %232
  %256 = load i32, ptr %18, align 4, !tbaa !5
  %257 = load i32, ptr %12, align 4, !tbaa !5
  %258 = icmp ult i32 %256, %257
  br i1 %258, label %259, label %283

259:                                              ; preds = %255
  %260 = load ptr, ptr %20, align 8, !tbaa !9
  %261 = load i32, ptr %18, align 4, !tbaa !5
  %262 = add i32 %261, 1
  %263 = load i32, ptr %18, align 4, !tbaa !5
  %264 = zext i32 %263 to i64
  %265 = getelementptr inbounds { float, float }, ptr %88, i64 %264
  %266 = getelementptr inbounds { float, float }, ptr %265, i32 0, i32 0
  %267 = load float, ptr %266, align 8
  %268 = getelementptr inbounds { float, float }, ptr %265, i32 0, i32 1
  %269 = load float, ptr %268, align 4
  %270 = fpext float %267 to double
  %271 = load i32, ptr %18, align 4, !tbaa !5
  %272 = zext i32 %271 to i64
  %273 = getelementptr inbounds { float, float }, ptr %88, i64 %272
  %274 = getelementptr inbounds { float, float }, ptr %273, i32 0, i32 0
  %275 = load float, ptr %274, align 8
  %276 = getelementptr inbounds { float, float }, ptr %273, i32 0, i32 1
  %277 = load float, ptr %276, align 4
  %278 = fpext float %277 to double
  %279 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %260, ptr noundef @.str.27, i32 noundef %262, double noundef %270, double noundef %278) #8
  br label %280

280:                                              ; preds = %259
  %281 = load i32, ptr %18, align 4, !tbaa !5
  %282 = add i32 %281, 1
  store i32 %282, ptr %18, align 4, !tbaa !5
  br label %255, !llvm.loop !20

283:                                              ; preds = %255
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %284

284:                                              ; preds = %309, %283
  %285 = load i32, ptr %18, align 4, !tbaa !5
  %286 = load i32, ptr %13, align 4, !tbaa !5
  %287 = icmp ult i32 %285, %286
  br i1 %287, label %288, label %312

288:                                              ; preds = %284
  %289 = load ptr, ptr %20, align 8, !tbaa !9
  %290 = load i32, ptr %18, align 4, !tbaa !5
  %291 = add i32 %290, 1
  %292 = load i32, ptr %18, align 4, !tbaa !5
  %293 = zext i32 %292 to i64
  %294 = getelementptr inbounds { float, float }, ptr %91, i64 %293
  %295 = getelementptr inbounds { float, float }, ptr %294, i32 0, i32 0
  %296 = load float, ptr %295, align 8
  %297 = getelementptr inbounds { float, float }, ptr %294, i32 0, i32 1
  %298 = load float, ptr %297, align 4
  %299 = fpext float %296 to double
  %300 = load i32, ptr %18, align 4, !tbaa !5
  %301 = zext i32 %300 to i64
  %302 = getelementptr inbounds { float, float }, ptr %91, i64 %301
  %303 = getelementptr inbounds { float, float }, ptr %302, i32 0, i32 0
  %304 = load float, ptr %303, align 8
  %305 = getelementptr inbounds { float, float }, ptr %302, i32 0, i32 1
  %306 = load float, ptr %305, align 4
  %307 = fpext float %306 to double
  %308 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %289, ptr noundef @.str.28, i32 noundef %291, double noundef %299, double noundef %307) #8
  br label %309

309:                                              ; preds = %288
  %310 = load i32, ptr %18, align 4, !tbaa !5
  %311 = add i32 %310, 1
  store i32 %311, ptr %18, align 4, !tbaa !5
  br label %284, !llvm.loop !21

312:                                              ; preds = %284
  %313 = load ptr, ptr %20, align 8, !tbaa !9
  %314 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %313, ptr noundef @.str.29) #8
  %315 = load ptr, ptr %20, align 8, !tbaa !9
  %316 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %315, ptr noundef @.str.30) #8
  %317 = load ptr, ptr %20, align 8, !tbaa !9
  %318 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %317, ptr noundef @.str.31) #8
  %319 = load ptr, ptr %20, align 8, !tbaa !9
  %320 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %319, ptr noundef @.str.32) #8
  %321 = load ptr, ptr %20, align 8, !tbaa !9
  %322 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %321, ptr noundef @.str.33) #8
  %323 = load ptr, ptr %20, align 8, !tbaa !9
  %324 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %323, ptr noundef @.str.34) #8
  %325 = load ptr, ptr %20, align 8, !tbaa !9
  %326 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %325, ptr noundef @.str.35) #8
  %327 = load ptr, ptr %20, align 8, !tbaa !9
  %328 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %327, ptr noundef @.str.36) #8
  %329 = load ptr, ptr %20, align 8, !tbaa !9
  %330 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %329, ptr noundef @.str.37) #8
  %331 = load ptr, ptr %20, align 8, !tbaa !9
  %332 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %331, ptr noundef @.str.38) #8
  %333 = load ptr, ptr %20, align 8, !tbaa !9
  %334 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %333, ptr noundef @.str.39) #8
  %335 = load ptr, ptr %20, align 8, !tbaa !9
  %336 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %335, ptr noundef @.str.35) #8
  %337 = load ptr, ptr %20, align 8, !tbaa !9
  %338 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %337, ptr noundef @.str.40) #8
  %339 = load ptr, ptr %20, align 8, !tbaa !9
  %340 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %339, ptr noundef @.str.37) #8
  %341 = load ptr, ptr %20, align 8, !tbaa !9
  %342 = call i32 @fclose(ptr noundef %341)
  %343 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.16)
  %344 = call i32 (ptr, ...) @printf(ptr noundef @.str.42)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  %345 = load ptr, ptr %15, align 8
  call void @llvm.stackrestore.p0(ptr %345)
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  br label %346

346:                                              ; preds = %312, %65, %28
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  %347 = load i32, ptr %3, align 4
  ret i32 %347
}

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

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

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

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

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

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

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

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

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

declare i32 @firinterp_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) #7

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!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}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !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.6 = external hidden unnamed_addr constant [11 x i8], align 1
@optarg = external local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [25 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 [9 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.42 = 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 range(i32 0, 2) i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #2 {
  br label %.outer

.outer:                                           ; preds = %16, %2
  %.0102.ph = phi i32 [ %18, %16 ], [ 16, %2 ]
  %.0100.ph = phi float [ %.0100.ph200, %16 ], [ 6.000000e+01, %2 ]
  %.098.ph = phi i32 [ %.098.ph204, %16 ], [ 3, %2 ]
  %.096.ph = phi i32 [ %.096, %16 ], [ 4, %2 ]
  br label %.outer199

.outer199:                                        ; preds = %.outer, %12
  %.0100.ph200 = phi float [ %.0100.ph, %.outer ], [ %15, %12 ]
  %.098.ph201 = phi i32 [ %.098.ph, %.outer ], [ %.098.ph204, %12 ]
  %.096.ph202 = phi i32 [ %.096.ph, %.outer ], [ %.096, %12 ]
  br label %.outer203

.outer203:                                        ; preds = %.outer199, %9
  %.098.ph204 = phi i32 [ %.098.ph201, %.outer199 ], [ %11, %9 ]
  %.096.ph205 = phi i32 [ %.096.ph202, %.outer199 ], [ %.096, %9 ]
  br label %3

3:                                                ; preds = %.outer203, %6
  %.096 = phi i32 [ %8, %6 ], [ %.096.ph205, %.outer203 ]
  %4 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.6) #10
  switch i32 %4, label %19 [
    i32 -1, label %20
    i32 117, label %5
    i32 104, label %5
    i32 107, label %6
    i32 109, label %9
    i32 115, label %12
    i32 110, label %16
  ]

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

6:                                                ; preds = %3
  %7 = load ptr, ptr @optarg, align 8, !tbaa !5
  %8 = tail call i32 @atoi(ptr nocapture noundef %7) #11
  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) #11
  br label %.outer203, !llvm.loop !9

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

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

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

20:                                               ; preds = %3
  %21 = icmp ult i32 %.096, 2
  br i1 %21, label %22, label %26

22:                                               ; preds = %20
  %23 = load ptr, ptr @stderr, align 8, !tbaa !5
  %24 = load ptr, ptr %1, align 8, !tbaa !5
  %25 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef nonnull @.str.7, ptr noundef %24) #13
  tail call void @exit(i32 noundef 1) #12
  unreachable

26:                                               ; preds = %20
  %27 = icmp eq i32 %.098.ph204, 0
  br i1 %27, label %28, label %32

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

32:                                               ; preds = %26
  %33 = icmp eq i32 %.0102.ph, 0
  br i1 %33, label %34, label %38

34:                                               ; preds = %32
  %35 = load ptr, ptr @stderr, align 8, !tbaa !5
  %36 = load ptr, ptr %1, align 8, !tbaa !5
  %37 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.9, ptr noundef %36) #13
  tail call void @usage()
  br label %143

38:                                               ; preds = %32
  %39 = shl i32 %.098.ph204, 1
  %40 = add i32 %39, %.0102.ph
  %41 = mul i32 %40, %.096
  %42 = tail call ptr @firinterp_crcf_create_kaiser(i32 noundef %.096, i32 noundef %.098.ph204, float noundef %.0100.ph200) #10
  %43 = zext i32 %40 to i64
  %44 = tail call ptr @llvm.stacksave.p0()
  %45 = alloca { float, float }, i64 %43, align 16
  %46 = zext i32 %41 to i64
  %47 = alloca { float, float }, i64 %46, align 16
  %wide.trip.count = zext i32 %.0102.ph to i64
  br label %54

.preheader111:                                    ; preds = %54
  %48 = icmp ult i32 %.0102.ph, %40
  br i1 %48, label %.preheader110.thread, label %.preheader110

.preheader110.thread:                             ; preds = %.preheader111
  %49 = shl nuw nsw i64 %wide.trip.count, 3
  %scevgep = getelementptr i8, ptr %45, i64 %49
  %50 = add i32 %39, -2
  %51 = zext i32 %50 to i64
  %52 = shl nuw nsw i64 %51, 3
  %53 = add nuw nsw i64 %52, 16
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(1) %scevgep, i8 0, i64 %53, i1 false)
  br label %.lr.ph123.preheader

54:                                               ; preds = %38, %54
  %indvars.iv = phi i64 [ 0, %38 ], [ %indvars.iv.next, %54 ]
  %55 = tail call i32 @rand() #10
  %56 = and i32 %55, 1
  %.not108 = icmp eq i32 %56, 0
  %57 = select i1 %.not108, float -1.000000e+00, float 1.000000e+00
  %58 = tail call i32 @rand() #10
  %59 = and i32 %58, 1
  %.not109 = icmp eq i32 %59, 0
  %60 = select i1 %.not109, float -1.000000e+00, float 1.000000e+00
  %61 = tail call float @llvm.copysign.f32(float 0.000000e+00, float %60)
  %62 = fadd float %57, %61
  %63 = getelementptr inbounds { float, float }, ptr %45, i64 %indvars.iv
  %64 = getelementptr inbounds i8, ptr %63, i64 4
  store float %62, ptr %63, align 8
  store float %60, ptr %64, align 4
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.preheader111, label %54, !llvm.loop !11

.preheader110:                                    ; preds = %.preheader111
  %.not = icmp eq i32 %40, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph123.preheader

.lr.ph123.preheader:                              ; preds = %.preheader110.thread, %.preheader110
  br label %.lr.ph123

.lr.ph123:                                        ; preds = %.lr.ph123.preheader, %.lr.ph123
  %indvars.iv155 = phi i64 [ %indvars.iv.next156, %.lr.ph123 ], [ 0, %.lr.ph123.preheader ]
  %65 = getelementptr inbounds { float, float }, ptr %45, i64 %indvars.iv155
  %66 = load <2 x float>, ptr %65, align 8
  %67 = trunc nuw i64 %indvars.iv155 to i32
  %68 = mul i32 %.096, %67
  %69 = zext i32 %68 to i64
  %70 = getelementptr inbounds { float, float }, ptr %47, i64 %69
  %71 = call i32 @firinterp_crcf_execute(ptr noundef %42, <2 x float> noundef %66, ptr noundef nonnull %70) #10
  %indvars.iv.next156 = add nuw nsw i64 %indvars.iv155, 1
  %exitcond159.not = icmp eq i64 %indvars.iv.next156, %43
  br i1 %exitcond159.not, label %._crit_edge, label %.lr.ph123, !llvm.loop !12

._crit_edge:                                      ; preds = %.lr.ph123, %.preheader110
  %.not182 = phi i1 [ true, %.preheader110 ], [ false, %.lr.ph123 ]
  %72 = call i32 @firinterp_crcf_destroy(ptr noundef %42) #10
  %73 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  br i1 %.not182, label %._crit_edge127, label %.lr.ph126

.lr.ph126:                                        ; preds = %._crit_edge, %.lr.ph126
  %indvars.iv160 = phi i64 [ %indvars.iv.next161, %.lr.ph126 ], [ 0, %._crit_edge ]
  %74 = getelementptr inbounds { float, float }, ptr %45, i64 %indvars.iv160
  %75 = load float, ptr %74, align 8
  %76 = getelementptr inbounds i8, ptr %74, i64 4
  %77 = fpext float %75 to double
  %78 = load float, ptr %76, align 4
  %79 = fpext float %78 to double
  %80 = trunc nuw i64 %indvars.iv160 to i32
  %81 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, i32 noundef %80, double noundef %77, double noundef %79)
  %indvars.iv.next161 = add nuw nsw i64 %indvars.iv160, 1
  %exitcond164.not = icmp eq i64 %indvars.iv.next161, %43
  br i1 %exitcond164.not, label %._crit_edge127, label %.lr.ph126, !llvm.loop !13

._crit_edge127:                                   ; preds = %.lr.ph126, %._crit_edge
  %82 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  %.not140 = icmp eq i32 %41, 0
  br i1 %.not140, label %._crit_edge132, label %.lr.ph131

.lr.ph131:                                        ; preds = %._crit_edge127
  %83 = mul i32 %.096, %.098.ph204
  %84 = zext i32 %83 to i64
  br label %85

85:                                               ; preds = %.lr.ph131, %98
  %indvars.iv165 = phi i64 [ 0, %.lr.ph131 ], [ %indvars.iv.next166, %98 ]
  %86 = getelementptr inbounds { float, float }, ptr %47, i64 %indvars.iv165
  %87 = load float, ptr %86, align 8
  %88 = getelementptr inbounds i8, ptr %86, i64 4
  %89 = fpext float %87 to double
  %90 = load float, ptr %88, align 4
  %91 = fpext float %90 to double
  %92 = trunc nuw i64 %indvars.iv165 to i32
  %93 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, i32 noundef %92, double noundef %89, double noundef %91)
  %.not107 = icmp ult i64 %indvars.iv165, %84
  br i1 %.not107, label %97, label %94

94:                                               ; preds = %85
  %95 = urem i32 %92, %.096
  %96 = icmp eq i32 %95, 0
  br i1 %96, label %98, label %97

97:                                               ; preds = %94, %85
  br label %98

98:                                               ; preds = %94, %97
  %.str.14.sink = phi ptr [ @.str.15, %97 ], [ @.str.14, %94 ]
  %99 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) %.str.14.sink)
  %indvars.iv.next166 = add nuw nsw i64 %indvars.iv165, 1
  %exitcond169.not = icmp eq i64 %indvars.iv.next166, %46
  br i1 %exitcond169.not, label %._crit_edge132, label %85, !llvm.loop !14

._crit_edge132:                                   ; preds = %98, %._crit_edge127
  %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) #10
  %102 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.19) #10
  %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.20) #10
  %104 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.21, i32 noundef %.096) #10
  %105 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.22, i32 noundef %.098.ph204) #10
  %106 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.23, i32 noundef %40) #10
  %107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.24) #10
  %108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.25) #10
  %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.26) #10
  br i1 %.not182, label %.preheader, label %.lr.ph135

.preheader:                                       ; preds = %.lr.ph135, %._crit_edge132
  br i1 %.not140, label %._crit_edge138, label %.lr.ph137

.lr.ph135:                                        ; preds = %._crit_edge132, %.lr.ph135
  %indvars.iv170 = phi i64 [ %indvars.iv.next171, %.lr.ph135 ], [ 0, %._crit_edge132 ]
  %indvars.iv.next171 = add nuw nsw i64 %indvars.iv170, 1
  %110 = getelementptr inbounds { float, float }, ptr %45, i64 %indvars.iv170
  %111 = load float, ptr %110, align 8
  %112 = getelementptr inbounds i8, ptr %110, i64 4
  %113 = fpext float %111 to double
  %114 = load float, ptr %112, align 4
  %115 = fpext float %114 to double
  %116 = trunc nuw i64 %indvars.iv.next171 to i32
  %117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.27, i32 noundef %116, double noundef %113, double noundef %115) #10
  %exitcond174.not = icmp eq i64 %indvars.iv.next171, %43
  br i1 %exitcond174.not, label %.preheader, label %.lr.ph135, !llvm.loop !15

.lr.ph137:                                        ; preds = %.preheader, %.lr.ph137
  %indvars.iv175 = phi i64 [ %indvars.iv.next176, %.lr.ph137 ], [ 0, %.preheader ]
  %indvars.iv.next176 = add nuw nsw i64 %indvars.iv175, 1
  %118 = getelementptr inbounds { float, float }, ptr %47, i64 %indvars.iv175
  %119 = load float, ptr %118, align 8
  %120 = getelementptr inbounds i8, ptr %118, i64 4
  %121 = fpext float %119 to double
  %122 = load float, ptr %120, align 4
  %123 = fpext float %122 to double
  %124 = trunc nuw i64 %indvars.iv.next176 to i32
  %125 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.28, i32 noundef %124, double noundef %121, double noundef %123) #10
  %exitcond179.not = icmp eq i64 %indvars.iv.next176, %46
  br i1 %exitcond179.not, label %._crit_edge138, label %.lr.ph137, !llvm.loop !16

._crit_edge138:                                   ; preds = %.lr.ph137, %.preheader
  %126 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.29) #10
  %127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.30) #10
  %128 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.31) #10
  %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.32) #10
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.33) #10
  %131 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.34) #10
  %132 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.35) #10
  %133 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.36) #10
  %134 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.37) #10
  %135 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.38) #10
  %136 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.39) #10
  %137 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.35) #10
  %138 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.40) #10
  %139 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.37) #10
  %140 = call i32 @fclose(ptr noundef %100)
  %141 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.41, ptr noundef nonnull @.str.16)
  %142 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.42)
  call void @llvm.stackrestore.p0(ptr %44)
  br label %143

143:                                              ; preds = %._crit_edge138, %34, %5
  %.0 = phi i32 [ 0, %5 ], [ 1, %34 ], [ 0, %._crit_edge138 ]
  ret i32 %.0
}

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

; 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

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

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

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

declare i32 @firinterp_crcf_execute(ptr noundef, <2 x float> noundef, ptr noundef) local_unnamed_addr #6

declare i32 @firinterp_crcf_destroy(ptr noundef) local_unnamed_addr #6

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #9

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 uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #10 = { nounwind }
attributes #11 = { nounwind willreturn memory(read) }
attributes #12 = { noreturn nounwind }
attributes #13 = { 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 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}


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