; LLVM IR from jgaeddert/liquid-dsp :: sandbox (rhamming_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 [29 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca float, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca float, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 2, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 12, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 1, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store float 0.000000e+00, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 1, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %13 = load i32, ptr %2, align 4, !tbaa !5
  %14 = mul i32 2, %13
  %15 = load i32, ptr %3, align 4, !tbaa !5
  %16 = mul i32 %14, %15
  %17 = add i32 %16, 1
  store i32 %17, ptr %7, align 4, !tbaa !5
  %18 = load i32, ptr %7, align 4, !tbaa !5
  %19 = zext i32 %18 to i64
  %20 = call ptr @llvm.stacksave.p0()
  store ptr %20, ptr %8, align 8
  %21 = alloca float, i64 %19, align 16
  store i64 %19, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %22 = load i32, ptr %4, align 4, !tbaa !5
  %23 = load i32, ptr %2, align 4, !tbaa !5
  %24 = load i32, ptr %3, align 4, !tbaa !5
  %25 = load float, ptr %5, align 4, !tbaa !9
  %26 = load i32, ptr %6, align 4, !tbaa !5
  %27 = call float @bisect_search(i32 noundef %22, i32 noundef %23, i32 noundef %24, float noundef %25, ptr noundef %21, i32 noundef %26)
  store float %27, ptr %10, align 4, !tbaa !9
  %28 = load i32, ptr %2, align 4, !tbaa !5
  %29 = load i32, ptr %3, align 4, !tbaa !5
  %30 = load float, ptr %10, align 4, !tbaa !9
  %31 = fpext float %30 to double
  %32 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %28, i32 noundef %29, double noundef %31)
  %33 = load i32, ptr %4, align 4, !tbaa !5
  %34 = load i32, ptr %7, align 4, !tbaa !5
  %35 = load float, ptr %10, align 4, !tbaa !9
  %36 = fmul float %35, 5.000000e-01
  %37 = load i32, ptr %2, align 4, !tbaa !5
  %38 = uitofp i32 %37 to float
  %39 = fdiv float %36, %38
  %40 = load float, ptr %5, align 4, !tbaa !9
  %41 = call i32 @liquid_firdes_windowf(i32 noundef %33, i32 noundef %34, float noundef %39, float noundef %40, ptr noundef %21)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %42 = call noalias ptr @fopen(ptr noundef @.str.1, ptr noundef @.str.2)
  store ptr %42, ptr %11, align 8, !tbaa !11
  %43 = load ptr, ptr %11, align 8, !tbaa !11
  %44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef @.str.3) #5
  %45 = load ptr, ptr %11, align 8, !tbaa !11
  %46 = load i32, ptr %2, align 4, !tbaa !5
  %47 = load i32, ptr %3, align 4, !tbaa !5
  %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef @.str.4, i32 noundef %46, i32 noundef %47) #5
  %49 = load ptr, ptr %11, align 8, !tbaa !11
  %50 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %49, ptr noundef @.str.5) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %51

51:                                               ; preds = %63, %0
  %52 = load i32, ptr %12, align 4, !tbaa !5
  %53 = load i32, ptr %7, align 4, !tbaa !5
  %54 = icmp ult i32 %52, %53
  br i1 %54, label %55, label %66

55:                                               ; preds = %51
  %56 = load ptr, ptr %11, align 8, !tbaa !11
  %57 = load i32, ptr %12, align 4, !tbaa !5
  %58 = zext i32 %57 to i64
  %59 = getelementptr inbounds float, ptr %21, i64 %58
  %60 = load float, ptr %59, align 4, !tbaa !9
  %61 = fpext float %60 to double
  %62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef @.str.6, double noundef %61) #5
  br label %63

63:                                               ; preds = %55
  %64 = load i32, ptr %12, align 4, !tbaa !5
  %65 = add i32 %64, 1
  store i32 %65, ptr %12, align 4, !tbaa !5
  br label %51, !llvm.loop !13

66:                                               ; preds = %51
  %67 = load ptr, ptr %11, align 8, !tbaa !11
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %67, ptr noundef @.str.7) #5
  %69 = load ptr, ptr %11, align 8, !tbaa !11
  %70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef @.str.8) #5
  %71 = load ptr, ptr %11, align 8, !tbaa !11
  %72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef @.str.9) #5
  %73 = load ptr, ptr %11, align 8, !tbaa !11
  %74 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %73, ptr noundef @.str.10) #5
  %75 = load ptr, ptr %11, align 8, !tbaa !11
  %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef @.str.11) #5
  %77 = load ptr, ptr %11, align 8, !tbaa !11
  %78 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef @.str.12) #5
  %79 = load ptr, ptr %11, align 8, !tbaa !11
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %79, ptr noundef @.str.13) #5
  %81 = load ptr, ptr %11, align 8, !tbaa !11
  %82 = call i32 @fclose(ptr noundef %81)
  %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, ptr noundef @.str.1)
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.end.p0(i64 4, 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
  %84 = load ptr, ptr %8, align 8
  call void @llvm.stackrestore.p0(ptr %84)
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  %85 = load i32, ptr %1, align 4
  ret i32 %85
}

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

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

; Function Attrs: nounwind uwtable
declare dso_local float @bisect_search(i32 noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, i32 noundef) #0

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

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

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

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

declare i32 @fclose(ptr noundef) #3

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

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

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

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

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


; 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 [29 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca [49 x float], align 16
  %2 = call float @bisect_search(i32 noundef 1, i32 noundef 2, i32 noundef 12, float noundef 0.000000e+00, ptr noundef nonnull %1, i32 noundef 1)
  %3 = fpext float %2 to double
  %4 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef 2, i32 noundef 12, double noundef %3)
  %5 = fmul float %2, 5.000000e-01
  %6 = fmul float %5, 5.000000e-01
  %7 = call i32 @liquid_firdes_windowf(i32 noundef 1, i32 noundef 49, float noundef %6, float noundef 0.000000e+00, ptr noundef nonnull %1) #3
  %8 = call noalias ptr @fopen(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2)
  %9 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.3) #3
  %10 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.4, i32 noundef 2, i32 noundef 12) #3
  %11 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.5) #3
  %12 = load float, ptr %1, align 16, !tbaa !5
  %13 = fpext float %12 to double
  %14 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %13) #3
  %15 = getelementptr inbounds i8, ptr %1, i64 4
  %16 = load float, ptr %15, align 4, !tbaa !5
  %17 = fpext float %16 to double
  %18 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %17) #3
  %19 = getelementptr inbounds i8, ptr %1, i64 8
  %20 = load float, ptr %19, align 8, !tbaa !5
  %21 = fpext float %20 to double
  %22 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %21) #3
  %23 = getelementptr inbounds i8, ptr %1, i64 12
  %24 = load float, ptr %23, align 4, !tbaa !5
  %25 = fpext float %24 to double
  %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %25) #3
  %27 = getelementptr inbounds i8, ptr %1, i64 16
  %28 = load float, ptr %27, align 16, !tbaa !5
  %29 = fpext float %28 to double
  %30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %29) #3
  %31 = getelementptr inbounds i8, ptr %1, i64 20
  %32 = load float, ptr %31, align 4, !tbaa !5
  %33 = fpext float %32 to double
  %34 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %33) #3
  %35 = getelementptr inbounds i8, ptr %1, i64 24
  %36 = load float, ptr %35, align 8, !tbaa !5
  %37 = fpext float %36 to double
  %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %37) #3
  %39 = getelementptr inbounds i8, ptr %1, i64 28
  %40 = load float, ptr %39, align 4, !tbaa !5
  %41 = fpext float %40 to double
  %42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %41) #3
  %43 = getelementptr inbounds i8, ptr %1, i64 32
  %44 = load float, ptr %43, align 16, !tbaa !5
  %45 = fpext float %44 to double
  %46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %45) #3
  %47 = getelementptr inbounds i8, ptr %1, i64 36
  %48 = load float, ptr %47, align 4, !tbaa !5
  %49 = fpext float %48 to double
  %50 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %49) #3
  %51 = getelementptr inbounds i8, ptr %1, i64 40
  %52 = load float, ptr %51, align 8, !tbaa !5
  %53 = fpext float %52 to double
  %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %53) #3
  %55 = getelementptr inbounds i8, ptr %1, i64 44
  %56 = load float, ptr %55, align 4, !tbaa !5
  %57 = fpext float %56 to double
  %58 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %57) #3
  %59 = getelementptr inbounds i8, ptr %1, i64 48
  %60 = load float, ptr %59, align 16, !tbaa !5
  %61 = fpext float %60 to double
  %62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %61) #3
  %63 = getelementptr inbounds i8, ptr %1, i64 52
  %64 = load float, ptr %63, align 4, !tbaa !5
  %65 = fpext float %64 to double
  %66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %65) #3
  %67 = getelementptr inbounds i8, ptr %1, i64 56
  %68 = load float, ptr %67, align 8, !tbaa !5
  %69 = fpext float %68 to double
  %70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %69) #3
  %71 = getelementptr inbounds i8, ptr %1, i64 60
  %72 = load float, ptr %71, align 4, !tbaa !5
  %73 = fpext float %72 to double
  %74 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %73) #3
  %75 = getelementptr inbounds i8, ptr %1, i64 64
  %76 = load float, ptr %75, align 16, !tbaa !5
  %77 = fpext float %76 to double
  %78 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %77) #3
  %79 = getelementptr inbounds i8, ptr %1, i64 68
  %80 = load float, ptr %79, align 4, !tbaa !5
  %81 = fpext float %80 to double
  %82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %81) #3
  %83 = getelementptr inbounds i8, ptr %1, i64 72
  %84 = load float, ptr %83, align 8, !tbaa !5
  %85 = fpext float %84 to double
  %86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %85) #3
  %87 = getelementptr inbounds i8, ptr %1, i64 76
  %88 = load float, ptr %87, align 4, !tbaa !5
  %89 = fpext float %88 to double
  %90 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %89) #3
  %91 = getelementptr inbounds i8, ptr %1, i64 80
  %92 = load float, ptr %91, align 16, !tbaa !5
  %93 = fpext float %92 to double
  %94 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %93) #3
  %95 = getelementptr inbounds i8, ptr %1, i64 84
  %96 = load float, ptr %95, align 4, !tbaa !5
  %97 = fpext float %96 to double
  %98 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %97) #3
  %99 = getelementptr inbounds i8, ptr %1, i64 88
  %100 = load float, ptr %99, align 8, !tbaa !5
  %101 = fpext float %100 to double
  %102 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %101) #3
  %103 = getelementptr inbounds i8, ptr %1, i64 92
  %104 = load float, ptr %103, align 4, !tbaa !5
  %105 = fpext float %104 to double
  %106 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %105) #3
  %107 = getelementptr inbounds i8, ptr %1, i64 96
  %108 = load float, ptr %107, align 16, !tbaa !5
  %109 = fpext float %108 to double
  %110 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %109) #3
  %111 = getelementptr inbounds i8, ptr %1, i64 100
  %112 = load float, ptr %111, align 4, !tbaa !5
  %113 = fpext float %112 to double
  %114 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %113) #3
  %115 = getelementptr inbounds i8, ptr %1, i64 104
  %116 = load float, ptr %115, align 8, !tbaa !5
  %117 = fpext float %116 to double
  %118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %117) #3
  %119 = getelementptr inbounds i8, ptr %1, i64 108
  %120 = load float, ptr %119, align 4, !tbaa !5
  %121 = fpext float %120 to double
  %122 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %121) #3
  %123 = getelementptr inbounds i8, ptr %1, i64 112
  %124 = load float, ptr %123, align 16, !tbaa !5
  %125 = fpext float %124 to double
  %126 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %125) #3
  %127 = getelementptr inbounds i8, ptr %1, i64 116
  %128 = load float, ptr %127, align 4, !tbaa !5
  %129 = fpext float %128 to double
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %129) #3
  %131 = getelementptr inbounds i8, ptr %1, i64 120
  %132 = load float, ptr %131, align 8, !tbaa !5
  %133 = fpext float %132 to double
  %134 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %133) #3
  %135 = getelementptr inbounds i8, ptr %1, i64 124
  %136 = load float, ptr %135, align 4, !tbaa !5
  %137 = fpext float %136 to double
  %138 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %137) #3
  %139 = getelementptr inbounds i8, ptr %1, i64 128
  %140 = load float, ptr %139, align 16, !tbaa !5
  %141 = fpext float %140 to double
  %142 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %141) #3
  %143 = getelementptr inbounds i8, ptr %1, i64 132
  %144 = load float, ptr %143, align 4, !tbaa !5
  %145 = fpext float %144 to double
  %146 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %145) #3
  %147 = getelementptr inbounds i8, ptr %1, i64 136
  %148 = load float, ptr %147, align 8, !tbaa !5
  %149 = fpext float %148 to double
  %150 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %149) #3
  %151 = getelementptr inbounds i8, ptr %1, i64 140
  %152 = load float, ptr %151, align 4, !tbaa !5
  %153 = fpext float %152 to double
  %154 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %153) #3
  %155 = getelementptr inbounds i8, ptr %1, i64 144
  %156 = load float, ptr %155, align 16, !tbaa !5
  %157 = fpext float %156 to double
  %158 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %157) #3
  %159 = getelementptr inbounds i8, ptr %1, i64 148
  %160 = load float, ptr %159, align 4, !tbaa !5
  %161 = fpext float %160 to double
  %162 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %161) #3
  %163 = getelementptr inbounds i8, ptr %1, i64 152
  %164 = load float, ptr %163, align 8, !tbaa !5
  %165 = fpext float %164 to double
  %166 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %165) #3
  %167 = getelementptr inbounds i8, ptr %1, i64 156
  %168 = load float, ptr %167, align 4, !tbaa !5
  %169 = fpext float %168 to double
  %170 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %169) #3
  %171 = getelementptr inbounds i8, ptr %1, i64 160
  %172 = load float, ptr %171, align 16, !tbaa !5
  %173 = fpext float %172 to double
  %174 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %173) #3
  %175 = getelementptr inbounds i8, ptr %1, i64 164
  %176 = load float, ptr %175, align 4, !tbaa !5
  %177 = fpext float %176 to double
  %178 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %177) #3
  %179 = getelementptr inbounds i8, ptr %1, i64 168
  %180 = load float, ptr %179, align 8, !tbaa !5
  %181 = fpext float %180 to double
  %182 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %181) #3
  %183 = getelementptr inbounds i8, ptr %1, i64 172
  %184 = load float, ptr %183, align 4, !tbaa !5
  %185 = fpext float %184 to double
  %186 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %185) #3
  %187 = getelementptr inbounds i8, ptr %1, i64 176
  %188 = load float, ptr %187, align 16, !tbaa !5
  %189 = fpext float %188 to double
  %190 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %189) #3
  %191 = getelementptr inbounds i8, ptr %1, i64 180
  %192 = load float, ptr %191, align 4, !tbaa !5
  %193 = fpext float %192 to double
  %194 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %193) #3
  %195 = getelementptr inbounds i8, ptr %1, i64 184
  %196 = load float, ptr %195, align 8, !tbaa !5
  %197 = fpext float %196 to double
  %198 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %197) #3
  %199 = getelementptr inbounds i8, ptr %1, i64 188
  %200 = load float, ptr %199, align 4, !tbaa !5
  %201 = fpext float %200 to double
  %202 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %201) #3
  %203 = getelementptr inbounds i8, ptr %1, i64 192
  %204 = load float, ptr %203, align 16, !tbaa !5
  %205 = fpext float %204 to double
  %206 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.6, double noundef %205) #3
  %207 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.7) #3
  %208 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.8) #3
  %209 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.9) #3
  %210 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.10) #3
  %211 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.11) #3
  %212 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.12) #3
  %213 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %8, ptr noundef nonnull @.str.13) #3
  %214 = call i32 @fclose(ptr noundef %8)
  %215 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, ptr noundef nonnull @.str.1)
  ret i32 0
}

; Function Attrs: nounwind uwtable
declare dso_local float @bisect_search(i32 noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

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

declare i32 @liquid_firdes_windowf(i32 noundef, i32 noundef, float noundef, float noundef, ptr noundef) local_unnamed_addr #2

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

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

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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}


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