; LLVM IR from jgaeddert/liquid-dsp :: sandbox (shadowing_test)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str = external hidden unnamed_addr constant [17 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [7 x i8], align 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 float, align 4
  %8 = alloca float, align 4
  %9 = alloca i32, align 4
  %10 = alloca float, align 4
  %11 = alloca [2 x float], align 4
  %12 = alloca [2 x float], align 4
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = 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
  %19 = call i64 @time(ptr noundef null) #5
  %20 = trunc i64 %19 to i32
  call void @srand(i32 noundef %20) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 80000, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store float 1.000000e+00, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store float 0x3F947AE140000000, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 2400, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %21 = load float, ptr %8, align 4, !tbaa !11
  store float %21, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  store float 1.000000e+00, ptr %11, align 4, !tbaa !11
  %22 = getelementptr inbounds float, ptr %11, i64 1
  %23 = load float, ptr %10, align 4, !tbaa !11
  %24 = fsub float %23, 1.000000e+00
  store float %24, ptr %22, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %25 = load float, ptr %10, align 4, !tbaa !11
  store float %25, ptr %12, align 4, !tbaa !11
  %26 = getelementptr inbounds float, ptr %12, i64 1
  store float 0.000000e+00, ptr %26, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %27 = getelementptr inbounds [2 x float], ptr %12, i64 0, i64 0
  %28 = getelementptr inbounds [2 x float], ptr %11, i64 0, i64 0
  %29 = call ptr @iirfilt_rrrf_create(ptr noundef %27, i32 noundef 2, ptr noundef %28, i32 noundef 2)
  store ptr %29, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %30 = load i32, ptr %6, align 4, !tbaa !5
  %31 = zext i32 %30 to i64
  %32 = call ptr @llvm.stacksave.p0()
  store ptr %32, ptr %15, align 8
  %33 = alloca float, i64 %31, align 16
  store i64 %31, ptr %16, align 8
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %34

34:                                               ; preds = %54, %2
  %35 = load i32, ptr %14, align 4, !tbaa !5
  %36 = load i32, ptr %6, align 4, !tbaa !5
  %37 = icmp ult i32 %35, %36
  br i1 %37, label %38, label %57

38:                                               ; preds = %34
  %39 = load ptr, ptr %13, align 8, !tbaa !9
  %40 = call float (...) @randnf()
  %41 = load float, ptr %7, align 4, !tbaa !11
  %42 = fmul float %40, %41
  %43 = load i32, ptr %14, align 4, !tbaa !5
  %44 = zext i32 %43 to i64
  %45 = getelementptr inbounds float, ptr %33, i64 %44
  %46 = call i32 @iirfilt_rrrf_execute(ptr noundef %39, float noundef %42, ptr noundef %45)
  %47 = load float, ptr %8, align 4, !tbaa !11
  %48 = fmul float %47, 0x401B9999A0000000
  %49 = load i32, ptr %14, align 4, !tbaa !5
  %50 = zext i32 %49 to i64
  %51 = getelementptr inbounds float, ptr %33, i64 %50
  %52 = load float, ptr %51, align 4, !tbaa !11
  %53 = fdiv float %52, %48
  store float %53, ptr %51, align 4, !tbaa !11
  br label %54

54:                                               ; preds = %38
  %55 = load i32, ptr %14, align 4, !tbaa !5
  %56 = add i32 %55, 1
  store i32 %56, ptr %14, align 4, !tbaa !5
  br label %34, !llvm.loop !13

57:                                               ; preds = %34
  %58 = load ptr, ptr %13, align 8, !tbaa !9
  %59 = call i32 @iirfilt_rrrf_destroy(ptr noundef %58)
  %60 = load i32, ptr %9, align 4, !tbaa !5
  %61 = zext i32 %60 to i64
  %62 = alloca float, i64 %61, align 16
  store i64 %61, ptr %17, align 8
  %63 = load i32, ptr %9, align 4, !tbaa !5
  %64 = load i32, ptr %6, align 4, !tbaa !5
  %65 = call i32 @spgramf_estimate_psd(i32 noundef %63, ptr noundef %33, i32 noundef %64, ptr noundef %62)
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %66 = call noalias ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
  store ptr %66, ptr %18, align 8, !tbaa !9
  %67 = load ptr, ptr %18, align 8, !tbaa !9
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %67, ptr noundef @.str.2, ptr noundef @.str) #5
  %69 = load ptr, ptr %18, align 8, !tbaa !9
  %70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef @.str.3) #5
  %71 = load ptr, ptr %18, align 8, !tbaa !9
  %72 = load i32, ptr %6, align 4, !tbaa !5
  %73 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef @.str.4, i32 noundef %72) #5
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %74

74:                                               ; preds = %88, %57
  %75 = load i32, ptr %14, align 4, !tbaa !5
  %76 = load i32, ptr %6, align 4, !tbaa !5
  %77 = icmp ult i32 %75, %76
  br i1 %77, label %78, label %91

78:                                               ; preds = %74
  %79 = load ptr, ptr %18, align 8, !tbaa !9
  %80 = load i32, ptr %14, align 4, !tbaa !5
  %81 = add i32 %80, 1
  %82 = load i32, ptr %14, align 4, !tbaa !5
  %83 = zext i32 %82 to i64
  %84 = getelementptr inbounds float, ptr %33, i64 %83
  %85 = load float, ptr %84, align 4, !tbaa !11
  %86 = fpext float %85 to double
  %87 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %79, ptr noundef @.str.5, i32 noundef %81, double noundef %86) #5
  br label %88

88:                                               ; preds = %78
  %89 = load i32, ptr %14, align 4, !tbaa !5
  %90 = add i32 %89, 1
  store i32 %90, ptr %14, align 4, !tbaa !5
  br label %74, !llvm.loop !15

91:                                               ; preds = %74
  %92 = load ptr, ptr %18, align 8, !tbaa !9
  %93 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %92, ptr noundef @.str.6) #5
  %94 = load ptr, ptr %18, align 8, !tbaa !9
  %95 = load i32, ptr %9, align 4, !tbaa !5
  %96 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %94, ptr noundef @.str.7, i32 noundef %95) #5
  %97 = load ptr, ptr %18, align 8, !tbaa !9
  %98 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %97, ptr noundef @.str.8) #5
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %99

99:                                               ; preds = %113, %91
  %100 = load i32, ptr %14, align 4, !tbaa !5
  %101 = load i32, ptr %9, align 4, !tbaa !5
  %102 = icmp ult i32 %100, %101
  br i1 %102, label %103, label %116

103:                                              ; preds = %99
  %104 = load ptr, ptr %18, align 8, !tbaa !9
  %105 = load i32, ptr %14, align 4, !tbaa !5
  %106 = add i32 %105, 1
  %107 = load i32, ptr %14, align 4, !tbaa !5
  %108 = zext i32 %107 to i64
  %109 = getelementptr inbounds float, ptr %62, i64 %108
  %110 = load float, ptr %109, align 4, !tbaa !11
  %111 = fpext float %110 to double
  %112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef @.str.9, i32 noundef %106, double noundef %111) #5
  br label %113

113:                                              ; preds = %103
  %114 = load i32, ptr %14, align 4, !tbaa !5
  %115 = add i32 %114, 1
  store i32 %115, ptr %14, align 4, !tbaa !5
  br label %99, !llvm.loop !16

116:                                              ; preds = %99
  %117 = load ptr, ptr %18, align 8, !tbaa !9
  %118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %117, ptr noundef @.str.10) #5
  %119 = load ptr, ptr %18, align 8, !tbaa !9
  %120 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %119, ptr noundef @.str.11) #5
  %121 = load ptr, ptr %18, align 8, !tbaa !9
  %122 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %121, ptr noundef @.str.12) #5
  %123 = load ptr, ptr %18, align 8, !tbaa !9
  %124 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %123, ptr noundef @.str.13) #5
  %125 = load ptr, ptr %18, align 8, !tbaa !9
  %126 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef @.str.14) #5
  %127 = load ptr, ptr %18, align 8, !tbaa !9
  %128 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef @.str.15) #5
  %129 = load ptr, ptr %18, align 8, !tbaa !9
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %129, ptr noundef @.str.16) #5
  %131 = load ptr, ptr %18, align 8, !tbaa !9
  %132 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %131, ptr noundef @.str.17) #5
  %133 = load ptr, ptr %18, align 8, !tbaa !9
  %134 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %133, ptr noundef @.str.18) #5
  %135 = load ptr, ptr %18, align 8, !tbaa !9
  %136 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %135, ptr noundef @.str.19) #5
  %137 = load ptr, ptr %18, align 8, !tbaa !9
  %138 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %137, ptr noundef @.str.13) #5
  %139 = load ptr, ptr %18, align 8, !tbaa !9
  %140 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %139, ptr noundef @.str.20) #5
  %141 = load ptr, ptr %18, align 8, !tbaa !9
  %142 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %141, ptr noundef @.str.21) #5
  %143 = load ptr, ptr %18, align 8, !tbaa !9
  %144 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %143, ptr noundef @.str.22) #5
  %145 = load ptr, ptr %18, align 8, !tbaa !9
  %146 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %145, ptr noundef @.str.13) #5
  %147 = load ptr, ptr %18, align 8, !tbaa !9
  %148 = call i32 @fclose(ptr noundef %147)
  %149 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, ptr noundef @.str)
  %150 = call i32 (ptr, ...) @printf(ptr noundef @.str.24)
  store i32 0, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  %151 = load ptr, ptr %15, align 8
  call void @llvm.stackrestore.p0(ptr %151)
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  %152 = load i32, ptr %3, align 4
  ret i32 %152
}

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

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

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

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

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

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

declare float @randnf(...) #3

declare i32 @iirfilt_rrrf_destroy(ptr noundef) #3

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

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

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

declare i32 @fclose(ptr noundef) #3

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!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}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str = external hidden unnamed_addr constant [17 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  %3 = alloca [2 x float], align 8
  %4 = alloca [2 x float], align 8
  %5 = tail call i64 @time(ptr noundef null) #6
  %6 = trunc i64 %5 to i32
  tail call void @srand(i32 noundef %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  store <2 x float> <float 1.000000e+00, float 0xBFEF5C2900000000>, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  store <2 x float> <float 0x3F947AE140000000, float 0.000000e+00>, ptr %4, align 8, !tbaa !5
  %7 = call ptr @iirfilt_rrrf_create(ptr noundef nonnull %4, i32 noundef 2, ptr noundef nonnull %3, i32 noundef 2) #6
  %8 = call ptr @llvm.stacksave.p0()
  %9 = alloca [80000 x float], align 16
  br label %10

10:                                               ; preds = %2, %10
  %indvars.iv = phi i64 [ 0, %2 ], [ %indvars.iv.next, %10 ]
  %11 = call float (...) @randnf() #6
  %12 = getelementptr inbounds float, ptr %9, i64 %indvars.iv
  %13 = call i32 @iirfilt_rrrf_execute(ptr noundef %7, float noundef %11, ptr noundef nonnull %12) #6
  %14 = load float, ptr %12, align 4, !tbaa !5
  %15 = fdiv float %14, 0x3FC1A9FBE0000000
  store float %15, ptr %12, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 80000
  br i1 %exitcond.not, label %16, label %10, !llvm.loop !9

16:                                               ; preds = %10
  %17 = call i32 @iirfilt_rrrf_destroy(ptr noundef %7) #6
  %18 = alloca [2400 x float], align 16
  %19 = call i32 @spgramf_estimate_psd(i32 noundef 2400, ptr noundef nonnull %9, i32 noundef 80000, ptr noundef nonnull %18) #6
  %20 = call noalias ptr @fopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1)
  %21 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str) #6
  %22 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.3) #6
  %23 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.4, i32 noundef 80000) #6
  br label %24

24:                                               ; preds = %16, %24
  %indvars.iv57 = phi i64 [ 0, %16 ], [ %indvars.iv.next58, %24 ]
  %indvars.iv.next58 = add nuw nsw i64 %indvars.iv57, 1
  %25 = getelementptr inbounds float, ptr %9, i64 %indvars.iv57
  %26 = load float, ptr %25, align 4, !tbaa !5
  %27 = fpext float %26 to double
  %28 = trunc nuw nsw i64 %indvars.iv.next58 to i32
  %29 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.5, i32 noundef %28, double noundef %27) #6
  %exitcond60.not = icmp eq i64 %indvars.iv.next58, 80000
  br i1 %exitcond60.not, label %30, label %24, !llvm.loop !11

30:                                               ; preds = %24
  %31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.6) #6
  %32 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.7, i32 noundef 2400) #6
  %33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.8) #6
  br label %34

34:                                               ; preds = %30, %34
  %indvars.iv61 = phi i64 [ 0, %30 ], [ %indvars.iv.next62, %34 ]
  %indvars.iv.next62 = add nuw nsw i64 %indvars.iv61, 1
  %35 = getelementptr inbounds float, ptr %18, i64 %indvars.iv61
  %36 = load float, ptr %35, align 4, !tbaa !5
  %37 = fpext float %36 to double
  %38 = trunc nuw nsw i64 %indvars.iv.next62 to i32
  %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.9, i32 noundef %38, double noundef %37) #6
  %exitcond64.not = icmp eq i64 %indvars.iv.next62, 2400
  br i1 %exitcond64.not, label %40, label %34, !llvm.loop !12

40:                                               ; preds = %34
  %41 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.10) #6
  %42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.11) #6
  %43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.12) #6
  %44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.13) #6
  %45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.14) #6
  %46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.15) #6
  %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.16) #6
  %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.17) #6
  %49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.18) #6
  %50 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.19) #6
  %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.13) #6
  %52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.20) #6
  %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.21) #6
  %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.22) #6
  %55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef nonnull @.str.13) #6
  %56 = call i32 @fclose(ptr noundef %20)
  %57 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.23, ptr noundef nonnull @.str)
  %58 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.24)
  call void @llvm.stackrestore.p0(ptr %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  ret i32 0
}

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

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

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

declare ptr @iirfilt_rrrf_create(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

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

declare i32 @iirfilt_rrrf_execute(ptr noundef, float noundef, ptr noundef) local_unnamed_addr #3

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

declare i32 @iirfilt_rrrf_destroy(ptr noundef) local_unnamed_addr #3

declare i32 @spgramf_estimate_psd(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

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

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

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

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

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

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

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 = { 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #5 = { 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 #6 = { 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 = !{!"float", !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}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass