; LLVM IR from jgaeddert/liquid-dsp :: examples (firinterp_rrrf_window_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 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.28 = 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 i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = 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) #5
  store i32 8, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 1, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 16, ptr %8, align 4, !tbaa !5
  %15 = load i32, ptr %8, align 4, !tbaa !5
  %16 = zext i32 %15 to i64
  %17 = call ptr @llvm.stacksave.p0()
  store ptr %17, ptr %9, align 8
  %18 = alloca float, i64 %16, align 16
  store i64 %16, ptr %10, align 8
  %19 = load i32, ptr %6, align 4, !tbaa !5
  %20 = load i32, ptr %8, align 4, !tbaa !5
  %21 = mul i32 %19, %20
  %22 = zext i32 %21 to i64
  %23 = alloca float, i64 %22, align 16
  store i64 %22, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %24

24:                                               ; preds = %33, %2
  %25 = load i32, ptr %12, align 4, !tbaa !5
  %26 = load i32, ptr %8, align 4, !tbaa !5
  %27 = icmp ult i32 %25, %26
  br i1 %27, label %28, label %36

28:                                               ; preds = %24
  %29 = call float (...) @randnf()
  %30 = load i32, ptr %12, align 4, !tbaa !5
  %31 = zext i32 %30 to i64
  %32 = getelementptr inbounds float, ptr %18, i64 %31
  store float %29, ptr %32, align 4, !tbaa !11
  br label %33

33:                                               ; preds = %28
  %34 = load i32, ptr %12, align 4, !tbaa !5
  %35 = add i32 %34, 1
  store i32 %35, ptr %12, align 4, !tbaa !5
  br label %24, !llvm.loop !13

36:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %37 = load i32, ptr %6, align 4, !tbaa !5
  %38 = load i32, ptr %7, align 4, !tbaa !5
  %39 = call ptr @firinterp_rrrf_create_window(i32 noundef %37, i32 noundef %38)
  store ptr %39, ptr %13, align 8, !tbaa !9
  %40 = load ptr, ptr %13, align 8, !tbaa !9
  %41 = load i32, ptr %8, align 4, !tbaa !5
  %42 = call i32 @firinterp_rrrf_execute_block(ptr noundef %40, ptr noundef %18, i32 noundef %41, ptr noundef %23)
  %43 = load ptr, ptr %13, align 8, !tbaa !9
  %44 = call i32 @firinterp_rrrf_destroy(ptr noundef %43)
  %45 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %46

46:                                               ; preds = %58, %36
  %47 = load i32, ptr %12, align 4, !tbaa !5
  %48 = load i32, ptr %8, align 4, !tbaa !5
  %49 = icmp ult i32 %47, %48
  br i1 %49, label %50, label %61

50:                                               ; preds = %46
  %51 = load i32, ptr %12, align 4, !tbaa !5
  %52 = load i32, ptr %12, align 4, !tbaa !5
  %53 = zext i32 %52 to i64
  %54 = getelementptr inbounds float, ptr %18, i64 %53
  %55 = load float, ptr %54, align 4, !tbaa !11
  %56 = fpext float %55 to double
  %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %51, double noundef %56)
  br label %58

58:                                               ; preds = %50
  %59 = load i32, ptr %12, align 4, !tbaa !5
  %60 = add i32 %59, 1
  store i32 %60, ptr %12, align 4, !tbaa !5
  br label %46, !llvm.loop !15

61:                                               ; preds = %46
  %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %63

63:                                               ; preds = %89, %61
  %64 = load i32, ptr %12, align 4, !tbaa !5
  %65 = load i32, ptr %6, align 4, !tbaa !5
  %66 = load i32, ptr %8, align 4, !tbaa !5
  %67 = mul i32 %65, %66
  %68 = icmp ult i32 %64, %67
  br i1 %68, label %69, label %92

69:                                               ; preds = %63
  %70 = load i32, ptr %12, align 4, !tbaa !5
  %71 = load i32, ptr %12, align 4, !tbaa !5
  %72 = zext i32 %71 to i64
  %73 = getelementptr inbounds float, ptr %23, i64 %72
  %74 = load float, ptr %73, align 4, !tbaa !11
  %75 = fpext float %74 to double
  %76 = load i32, ptr %12, align 4, !tbaa !5
  %77 = load i32, ptr %6, align 4, !tbaa !5
  %78 = icmp uge i32 %76, %77
  br i1 %78, label %79, label %84

79:                                               ; preds = %69
  %80 = load i32, ptr %12, align 4, !tbaa !5
  %81 = load i32, ptr %6, align 4, !tbaa !5
  %82 = urem i32 %80, %81
  %83 = icmp eq i32 %82, 0
  br label %84

84:                                               ; preds = %79, %69
  %85 = phi i1 [ false, %69 ], [ %83, %79 ]
  %86 = zext i1 %85 to i64
  %87 = select i1 %85, ptr @.str.4, ptr @.str.5
  %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %70, double noundef %75, ptr noundef %87)
  br label %89

89:                                               ; preds = %84
  %90 = load i32, ptr %12, align 4, !tbaa !5
  %91 = add i32 %90, 1
  store i32 %91, ptr %12, align 4, !tbaa !5
  br label %63, !llvm.loop !16

92:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %93 = call noalias ptr @fopen(ptr noundef @.str.6, ptr noundef @.str.7)
  store ptr %93, ptr %14, align 8, !tbaa !9
  %94 = load ptr, ptr %14, align 8, !tbaa !9
  %95 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %94, ptr noundef @.str.8, ptr noundef @.str.6) #5
  %96 = load ptr, ptr %14, align 8, !tbaa !9
  %97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %96, ptr noundef @.str.9) #5
  %98 = load ptr, ptr %14, align 8, !tbaa !9
  %99 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %98, ptr noundef @.str.10) #5
  %100 = load ptr, ptr %14, align 8, !tbaa !9
  %101 = load i32, ptr %6, align 4, !tbaa !5
  %102 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef @.str.11, i32 noundef %101) #5
  %103 = load ptr, ptr %14, align 8, !tbaa !9
  %104 = load i32, ptr %7, align 4, !tbaa !5
  %105 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %103, ptr noundef @.str.12, i32 noundef %104) #5
  %106 = load ptr, ptr %14, align 8, !tbaa !9
  %107 = load i32, ptr %8, align 4, !tbaa !5
  %108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef @.str.13, i32 noundef %107) #5
  %109 = load ptr, ptr %14, align 8, !tbaa !9
  %110 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef @.str.14) #5
  %111 = load ptr, ptr %14, align 8, !tbaa !9
  %112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %111, ptr noundef @.str.15) #5
  %113 = load ptr, ptr %14, align 8, !tbaa !9
  %114 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %113, ptr noundef @.str.16) #5
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %115

115:                                              ; preds = %129, %92
  %116 = load i32, ptr %12, align 4, !tbaa !5
  %117 = load i32, ptr %8, align 4, !tbaa !5
  %118 = icmp ult i32 %116, %117
  br i1 %118, label %119, label %132

119:                                              ; preds = %115
  %120 = load ptr, ptr %14, align 8, !tbaa !9
  %121 = load i32, ptr %12, align 4, !tbaa !5
  %122 = add i32 %121, 1
  %123 = load i32, ptr %12, align 4, !tbaa !5
  %124 = zext i32 %123 to i64
  %125 = getelementptr inbounds float, ptr %18, i64 %124
  %126 = load float, ptr %125, align 4, !tbaa !11
  %127 = fpext float %126 to double
  %128 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %120, ptr noundef @.str.17, i32 noundef %122, double noundef %127) #5
  br label %129

129:                                              ; preds = %119
  %130 = load i32, ptr %12, align 4, !tbaa !5
  %131 = add i32 %130, 1
  store i32 %131, ptr %12, align 4, !tbaa !5
  br label %115, !llvm.loop !17

132:                                              ; preds = %115
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %133

133:                                              ; preds = %149, %132
  %134 = load i32, ptr %12, align 4, !tbaa !5
  %135 = load i32, ptr %6, align 4, !tbaa !5
  %136 = load i32, ptr %8, align 4, !tbaa !5
  %137 = mul i32 %135, %136
  %138 = icmp ult i32 %134, %137
  br i1 %138, label %139, label %152

139:                                              ; preds = %133
  %140 = load ptr, ptr %14, align 8, !tbaa !9
  %141 = load i32, ptr %12, align 4, !tbaa !5
  %142 = add i32 %141, 1
  %143 = load i32, ptr %12, align 4, !tbaa !5
  %144 = zext i32 %143 to i64
  %145 = getelementptr inbounds float, ptr %23, i64 %144
  %146 = load float, ptr %145, align 4, !tbaa !11
  %147 = fpext float %146 to double
  %148 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %140, ptr noundef @.str.18, i32 noundef %142, double noundef %147) #5
  br label %149

149:                                              ; preds = %139
  %150 = load i32, ptr %12, align 4, !tbaa !5
  %151 = add i32 %150, 1
  store i32 %151, ptr %12, align 4, !tbaa !5
  br label %133, !llvm.loop !18

152:                                              ; preds = %133
  %153 = load ptr, ptr %14, align 8, !tbaa !9
  %154 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %153, ptr noundef @.str.19) #5
  %155 = load ptr, ptr %14, align 8, !tbaa !9
  %156 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %155, ptr noundef @.str.20) #5
  %157 = load ptr, ptr %14, align 8, !tbaa !9
  %158 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %157, ptr noundef @.str.21) #5
  %159 = load ptr, ptr %14, align 8, !tbaa !9
  %160 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %159, ptr noundef @.str.22) #5
  %161 = load ptr, ptr %14, align 8, !tbaa !9
  %162 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %161, ptr noundef @.str.23) #5
  %163 = load ptr, ptr %14, align 8, !tbaa !9
  %164 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %163, ptr noundef @.str.24) #5
  %165 = load ptr, ptr %14, align 8, !tbaa !9
  %166 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %165, ptr noundef @.str.25) #5
  %167 = load ptr, ptr %14, align 8, !tbaa !9
  %168 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %167, ptr noundef @.str.26) #5
  %169 = load ptr, ptr %14, align 8, !tbaa !9
  %170 = call i32 @fclose(ptr noundef %169)
  %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.27, ptr noundef @.str.6)
  %172 = call i32 (ptr, ...) @printf(ptr noundef @.str.28)
  store i32 0, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  %173 = load ptr, ptr %9, align 8
  call void @llvm.stackrestore.p0(ptr %173)
  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
  %174 = load i32, ptr %3, align 4
  ret i32 %174
}

; 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

declare float @randnf(...) #3

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

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

declare i32 @firinterp_rrrf_destroy(ptr noundef) #3

declare i32 @printf(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 = !{!"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}


; 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 [8 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.28 = 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 [16 x float], align 16
  %4 = alloca [128 x float], align 16
  %5 = tail call float (...) @randnf() #3
  store float %5, ptr %3, align 16, !tbaa !5
  %6 = tail call float (...) @randnf() #3
  %7 = getelementptr inbounds i8, ptr %3, i64 4
  store float %6, ptr %7, align 4, !tbaa !5
  %8 = tail call float (...) @randnf() #3
  %9 = getelementptr inbounds i8, ptr %3, i64 8
  store float %8, ptr %9, align 8, !tbaa !5
  %10 = tail call float (...) @randnf() #3
  %11 = getelementptr inbounds i8, ptr %3, i64 12
  store float %10, ptr %11, align 4, !tbaa !5
  %12 = tail call float (...) @randnf() #3
  %13 = getelementptr inbounds i8, ptr %3, i64 16
  store float %12, ptr %13, align 16, !tbaa !5
  %14 = tail call float (...) @randnf() #3
  %15 = getelementptr inbounds i8, ptr %3, i64 20
  store float %14, ptr %15, align 4, !tbaa !5
  %16 = tail call float (...) @randnf() #3
  %17 = getelementptr inbounds i8, ptr %3, i64 24
  store float %16, ptr %17, align 8, !tbaa !5
  %18 = tail call float (...) @randnf() #3
  %19 = getelementptr inbounds i8, ptr %3, i64 28
  store float %18, ptr %19, align 4, !tbaa !5
  %20 = tail call float (...) @randnf() #3
  %21 = getelementptr inbounds i8, ptr %3, i64 32
  store float %20, ptr %21, align 16, !tbaa !5
  %22 = tail call float (...) @randnf() #3
  %23 = getelementptr inbounds i8, ptr %3, i64 36
  store float %22, ptr %23, align 4, !tbaa !5
  %24 = tail call float (...) @randnf() #3
  %25 = getelementptr inbounds i8, ptr %3, i64 40
  store float %24, ptr %25, align 8, !tbaa !5
  %26 = tail call float (...) @randnf() #3
  %27 = getelementptr inbounds i8, ptr %3, i64 44
  store float %26, ptr %27, align 4, !tbaa !5
  %28 = tail call float (...) @randnf() #3
  %29 = getelementptr inbounds i8, ptr %3, i64 48
  store float %28, ptr %29, align 16, !tbaa !5
  %30 = tail call float (...) @randnf() #3
  %31 = getelementptr inbounds i8, ptr %3, i64 52
  store float %30, ptr %31, align 4, !tbaa !5
  %32 = tail call float (...) @randnf() #3
  %33 = getelementptr inbounds i8, ptr %3, i64 56
  store float %32, ptr %33, align 8, !tbaa !5
  %34 = tail call float (...) @randnf() #3
  %35 = getelementptr inbounds i8, ptr %3, i64 60
  store float %34, ptr %35, align 4, !tbaa !5
  %36 = tail call ptr @firinterp_rrrf_create_window(i32 noundef 8, i32 noundef 1) #3
  %37 = call i32 @firinterp_rrrf_execute_block(ptr noundef %36, ptr noundef nonnull %3, i32 noundef 16, ptr noundef nonnull %4) #3
  %38 = call i32 @firinterp_rrrf_destroy(ptr noundef %36) #3
  %39 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %40 = load float, ptr %3, align 16, !tbaa !5
  %41 = fpext float %40 to double
  %42 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 0, double noundef %41)
  %43 = load float, ptr %7, align 4, !tbaa !5
  %44 = fpext float %43 to double
  %45 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 1, double noundef %44)
  %46 = load float, ptr %9, align 8, !tbaa !5
  %47 = fpext float %46 to double
  %48 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 2, double noundef %47)
  %49 = load float, ptr %11, align 4, !tbaa !5
  %50 = fpext float %49 to double
  %51 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 3, double noundef %50)
  %52 = load float, ptr %13, align 16, !tbaa !5
  %53 = fpext float %52 to double
  %54 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 4, double noundef %53)
  %55 = load float, ptr %15, align 4, !tbaa !5
  %56 = fpext float %55 to double
  %57 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 5, double noundef %56)
  %58 = load float, ptr %17, align 8, !tbaa !5
  %59 = fpext float %58 to double
  %60 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 6, double noundef %59)
  %61 = load float, ptr %19, align 4, !tbaa !5
  %62 = fpext float %61 to double
  %63 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 7, double noundef %62)
  %64 = load float, ptr %21, align 16, !tbaa !5
  %65 = fpext float %64 to double
  %66 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 8, double noundef %65)
  %67 = load float, ptr %23, align 4, !tbaa !5
  %68 = fpext float %67 to double
  %69 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 9, double noundef %68)
  %70 = load float, ptr %25, align 8, !tbaa !5
  %71 = fpext float %70 to double
  %72 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 10, double noundef %71)
  %73 = load float, ptr %27, align 4, !tbaa !5
  %74 = fpext float %73 to double
  %75 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 11, double noundef %74)
  %76 = load float, ptr %29, align 16, !tbaa !5
  %77 = fpext float %76 to double
  %78 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 12, double noundef %77)
  %79 = load float, ptr %31, align 4, !tbaa !5
  %80 = fpext float %79 to double
  %81 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 13, double noundef %80)
  %82 = load float, ptr %33, align 8, !tbaa !5
  %83 = fpext float %82 to double
  %84 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 14, double noundef %83)
  %85 = load float, ptr %35, align 4, !tbaa !5
  %86 = fpext float %85 to double
  %87 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef 15, double noundef %86)
  %88 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  br label %89

89:                                               ; preds = %2, %89
  %indvars.iv = phi i64 [ 0, %2 ], [ %indvars.iv.next, %89 ]
  %90 = getelementptr inbounds float, ptr %4, i64 %indvars.iv
  %91 = load float, ptr %90, align 4, !tbaa !5
  %92 = fpext float %91 to double
  %93 = icmp ugt i64 %indvars.iv, 7
  %94 = trunc nuw nsw i64 %indvars.iv to i32
  %95 = and i32 %94, 7
  %96 = icmp eq i32 %95, 0
  %97 = and i1 %93, %96
  %98 = select i1 %97, ptr @.str.4, ptr @.str.5
  %99 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %94, double noundef %92, ptr noundef nonnull %98)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 128
  br i1 %exitcond.not, label %.preheader.preheader, label %89, !llvm.loop !9

.preheader.preheader:                             ; preds = %89
  %100 = call noalias ptr @fopen(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.7)
  %101 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.6) #3
  %102 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.9) #3
  %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.10) #3
  %104 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.11, i32 noundef 8) #3
  %105 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.12, i32 noundef 1) #3
  %106 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.13, i32 noundef 16) #3
  %107 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.14) #3
  %108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.15) #3
  %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.16) #3
  %110 = load float, ptr %3, align 16, !tbaa !5
  %111 = fpext float %110 to double
  %112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.17, i32 noundef 1, double noundef %111) #3
  %113 = load float, ptr %7, align 4, !tbaa !5
  %114 = fpext float %113 to double
  %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.17, i32 noundef 2, double noundef %114) #3
  %116 = load float, ptr %9, align 8, !tbaa !5
  %117 = fpext float %116 to double
  %118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.17, i32 noundef 3, double noundef %117) #3
  %119 = load float, ptr %11, align 4, !tbaa !5
  %120 = fpext float %119 to double
  %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.17, i32 noundef 4, double noundef %120) #3
  %122 = load float, ptr %13, align 16, !tbaa !5
  %123 = fpext float %122 to double
  %124 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.17, i32 noundef 5, double noundef %123) #3
  %125 = load float, ptr %15, align 4, !tbaa !5
  %126 = fpext float %125 to double
  %127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.17, i32 noundef 6, double noundef %126) #3
  %128 = load float, ptr %17, align 8, !tbaa !5
  %129 = fpext float %128 to double
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.17, i32 noundef 7, double noundef %129) #3
  %131 = load float, ptr %19, align 4, !tbaa !5
  %132 = fpext float %131 to double
  %133 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.17, i32 noundef 8, double noundef %132) #3
  %134 = load float, ptr %21, align 16, !tbaa !5
  %135 = fpext float %134 to double
  %136 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.17, i32 noundef 9, double noundef %135) #3
  %137 = load float, ptr %23, align 4, !tbaa !5
  %138 = fpext float %137 to double
  %139 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.17, i32 noundef 10, double noundef %138) #3
  %140 = load float, ptr %25, align 8, !tbaa !5
  %141 = fpext float %140 to double
  %142 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.17, i32 noundef 11, double noundef %141) #3
  %143 = load float, ptr %27, align 4, !tbaa !5
  %144 = fpext float %143 to double
  %145 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.17, i32 noundef 12, double noundef %144) #3
  %146 = load float, ptr %29, align 16, !tbaa !5
  %147 = fpext float %146 to double
  %148 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.17, i32 noundef 13, double noundef %147) #3
  %149 = load float, ptr %31, align 4, !tbaa !5
  %150 = fpext float %149 to double
  %151 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.17, i32 noundef 14, double noundef %150) #3
  %152 = load float, ptr %33, align 8, !tbaa !5
  %153 = fpext float %152 to double
  %154 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.17, i32 noundef 15, double noundef %153) #3
  %155 = load float, ptr %35, align 4, !tbaa !5
  %156 = fpext float %155 to double
  %157 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.17, i32 noundef 16, double noundef %156) #3
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %.preheader
  %indvars.iv74 = phi i64 [ 0, %.preheader.preheader ], [ %indvars.iv.next75, %.preheader ]
  %indvars.iv.next75 = add nuw nsw i64 %indvars.iv74, 1
  %158 = getelementptr inbounds float, ptr %4, i64 %indvars.iv74
  %159 = load float, ptr %158, align 4, !tbaa !5
  %160 = fpext float %159 to double
  %161 = trunc nuw nsw i64 %indvars.iv.next75 to i32
  %162 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.18, i32 noundef %161, double noundef %160) #3
  %exitcond77.not = icmp eq i64 %indvars.iv.next75, 128
  br i1 %exitcond77.not, label %163, label %.preheader, !llvm.loop !11

163:                                              ; preds = %.preheader
  %164 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.19) #3
  %165 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.20) #3
  %166 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.21) #3
  %167 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.22) #3
  %168 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.23) #3
  %169 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.24) #3
  %170 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.25) #3
  %171 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.26) #3
  %172 = call i32 @fclose(ptr noundef %100)
  %173 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.27, ptr noundef nonnull @.str.6)
  %174 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.28)
  ret i32 0
}

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

declare ptr @firinterp_rrrf_create_window(i32 noundef, i32 noundef) local_unnamed_addr #1

declare i32 @firinterp_rrrf_execute_block(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

declare i32 @firinterp_rrrf_destroy(ptr noundef) local_unnamed_addr #1

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

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #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 = { "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 = { 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 #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"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}


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