; LLVM IR from jgaeddert/liquid-dsp :: sandbox (firdespm_halfband_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 [25 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [7 x i8], align 1

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

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

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

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

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

; 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 float, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca i32, align 4
  %16 = alloca float, align 4
  %17 = alloca i32, align 4
  %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
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 4, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store float 0x3FD99999A0000000, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %19 = load i32, ptr %6, align 4, !tbaa !5
  %20 = mul i32 4, %19
  %21 = add i32 %20, 1
  store i32 %21, ptr %8, align 4, !tbaa !5
  %22 = load i32, ptr %8, align 4, !tbaa !5
  %23 = zext i32 %22 to i64
  %24 = call ptr @llvm.stacksave.p0()
  store ptr %24, ptr %9, align 8
  %25 = alloca float, i64 %23, align 16
  store i64 %23, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store float 0.000000e+00, ptr %11, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store float 0.000000e+00, ptr %12, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store float 1.000000e+00, ptr %13, align 4, !tbaa !11
  br label %26

26:                                               ; preds = %53, %2
  %27 = load float, ptr %13, align 4, !tbaa !11
  %28 = fcmp ogt float %27, 0x3FEFAE1480000000
  br i1 %28, label %29, label %54

29:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %30 = load i32, ptr %6, align 4, !tbaa !5
  %31 = load float, ptr %7, align 4, !tbaa !11
  %32 = load float, ptr %13, align 4, !tbaa !11
  %33 = call float @firdespm_halfband(i32 noundef %30, ptr noundef %25, float noundef %31, float noundef %32)
  store float %33, ptr %14, align 4, !tbaa !11
  %34 = load float, ptr %13, align 4, !tbaa !11
  %35 = fpext float %34 to double
  %36 = load float, ptr %14, align 4, !tbaa !11
  %37 = fpext float %36 to double
  %38 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %35, double noundef %37)
  %39 = load float, ptr %14, align 4, !tbaa !11
  %40 = load float, ptr %12, align 4, !tbaa !11
  %41 = fcmp olt float %39, %40
  br i1 %41, label %42, label %46

42:                                               ; preds = %29
  %43 = load float, ptr %14, align 4, !tbaa !11
  store float %43, ptr %12, align 4, !tbaa !11
  %44 = load float, ptr %13, align 4, !tbaa !11
  store float %44, ptr %11, align 4, !tbaa !11
  %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  br label %48

46:                                               ; preds = %29
  %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  store i32 3, ptr %15, align 4
  br label %51

48:                                               ; preds = %42
  %49 = load float, ptr %13, align 4, !tbaa !11
  %50 = fmul float %49, 0x3FEFFFFDE0000000
  store float %50, ptr %13, align 4, !tbaa !11
  store i32 0, ptr %15, align 4
  br label %51

51:                                               ; preds = %48, %46
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  %52 = load i32, ptr %15, align 4
  switch i32 %52, label %144 [
    i32 0, label %53
    i32 3, label %54
  ]

53:                                               ; preds = %51
  br label %26, !llvm.loop !13

54:                                               ; preds = %51, %26
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %55 = load i32, ptr %6, align 4, !tbaa !5
  %56 = load float, ptr %7, align 4, !tbaa !11
  %57 = load float, ptr %11, align 4, !tbaa !11
  %58 = call float @firdespm_halfband(i32 noundef %55, ptr noundef %25, float noundef %56, float noundef %57)
  store float %58, ptr %16, align 4, !tbaa !11
  %59 = load float, ptr %11, align 4, !tbaa !11
  %60 = fpext float %59 to double
  %61 = load float, ptr %16, align 4, !tbaa !11
  %62 = fpext float %61 to double
  %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %60, double noundef %62)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %64

64:                                               ; preds = %77, %54
  %65 = load i32, ptr %17, align 4, !tbaa !5
  %66 = load i32, ptr %8, align 4, !tbaa !5
  %67 = icmp ult i32 %65, %66
  br i1 %67, label %68, label %80

68:                                               ; preds = %64
  %69 = load i32, ptr %17, align 4, !tbaa !5
  %70 = add i32 %69, 1
  %71 = load i32, ptr %17, align 4, !tbaa !5
  %72 = zext i32 %71 to i64
  %73 = getelementptr inbounds float, ptr %25, i64 %72
  %74 = load float, ptr %73, align 4, !tbaa !11
  %75 = fpext float %74 to double
  %76 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %70, double noundef %75)
  br label %77

77:                                               ; preds = %68
  %78 = load i32, ptr %17, align 4, !tbaa !5
  %79 = add i32 %78, 1
  store i32 %79, ptr %17, align 4, !tbaa !5
  br label %64, !llvm.loop !15

80:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %81 = call noalias ptr @fopen(ptr noundef @.str.5, ptr noundef @.str.6)
  store ptr %81, ptr %18, align 8, !tbaa !9
  %82 = load ptr, ptr %18, align 8, !tbaa !9
  %83 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %82, ptr noundef @.str.7, ptr noundef @.str.5) #5
  %84 = load ptr, ptr %18, align 8, !tbaa !9
  %85 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %84, ptr noundef @.str.8) #5
  %86 = load ptr, ptr %18, align 8, !tbaa !9
  %87 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %86, ptr noundef @.str.9) #5
  %88 = load ptr, ptr %18, align 8, !tbaa !9
  %89 = load i32, ptr %8, align 4, !tbaa !5
  %90 = load i32, ptr %6, align 4, !tbaa !5
  %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %88, ptr noundef @.str.10, i32 noundef %89, i32 noundef %90) #5
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %92

92:                                               ; preds = %106, %80
  %93 = load i32, ptr %17, align 4, !tbaa !5
  %94 = load i32, ptr %8, align 4, !tbaa !5
  %95 = icmp ult i32 %93, %94
  br i1 %95, label %96, label %109

96:                                               ; preds = %92
  %97 = load ptr, ptr %18, align 8, !tbaa !9
  %98 = load i32, ptr %17, align 4, !tbaa !5
  %99 = add i32 %98, 1
  %100 = load i32, ptr %17, align 4, !tbaa !5
  %101 = zext i32 %100 to i64
  %102 = getelementptr inbounds float, ptr %25, i64 %101
  %103 = load float, ptr %102, align 4, !tbaa !11
  %104 = fpext float %103 to double
  %105 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %97, ptr noundef @.str.11, i32 noundef %99, double noundef %104) #5
  br label %106

106:                                              ; preds = %96
  %107 = load i32, ptr %17, align 4, !tbaa !5
  %108 = add i32 %107, 1
  store i32 %108, ptr %17, align 4, !tbaa !5
  br label %92, !llvm.loop !16

109:                                              ; preds = %92
  %110 = load ptr, ptr %18, align 8, !tbaa !9
  %111 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %110, ptr noundef @.str.12) #5
  %112 = load ptr, ptr %18, align 8, !tbaa !9
  %113 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %112, ptr noundef @.str.13) #5
  %114 = load ptr, ptr %18, align 8, !tbaa !9
  %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %114, ptr noundef @.str.14) #5
  %116 = load ptr, ptr %18, align 8, !tbaa !9
  %117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %116, ptr noundef @.str.15) #5
  %118 = load ptr, ptr %18, align 8, !tbaa !9
  %119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %118, ptr noundef @.str.16) #5
  %120 = load ptr, ptr %18, align 8, !tbaa !9
  %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %120, ptr noundef @.str.17) #5
  %122 = load ptr, ptr %18, align 8, !tbaa !9
  %123 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %122, ptr noundef @.str.18) #5
  %124 = load ptr, ptr %18, align 8, !tbaa !9
  %125 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %124, ptr noundef @.str.19) #5
  %126 = load ptr, ptr %18, align 8, !tbaa !9
  %127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %126, ptr noundef @.str.20) #5
  %128 = load ptr, ptr %18, align 8, !tbaa !9
  %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef @.str.21) #5
  %130 = load ptr, ptr %18, align 8, !tbaa !9
  %131 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %130, ptr noundef @.str.22) #5
  %132 = load ptr, ptr %18, align 8, !tbaa !9
  %133 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %132, ptr noundef @.str.23) #5
  %134 = load ptr, ptr %18, align 8, !tbaa !9
  %135 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef @.str.24) #5
  %136 = load ptr, ptr %18, align 8, !tbaa !9
  %137 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %136, ptr noundef @.str.25) #5
  %138 = load ptr, ptr %18, align 8, !tbaa !9
  %139 = call i32 @fclose(ptr noundef %138)
  %140 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, ptr noundef @.str.5)
  %141 = call i32 (ptr, ...) @printf(ptr noundef @.str.27)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  %142 = load ptr, ptr %9, align 8
  call void @llvm.stackrestore.p0(ptr %142)
  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
  %143 = load i32, ptr %3, align 4
  ret i32 %143

144:                                              ; preds = %51
  unreachable
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { 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 #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}


; 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 [25 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [7 x i8], align 1

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  %3 = alloca [17 x float], align 16
  %4 = call float @firdespm_halfband(i32 noundef 4, ptr noundef nonnull %3, float noundef 0x3FD99999A0000000, float noundef 1.000000e+00)
  %5 = fpext float %4 to double
  %6 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, double noundef 1.000000e+00, double noundef %5)
  %7 = fcmp olt float %4, 0.000000e+00
  br i1 %7, label %.lr.ph, label %.thread

8:                                                ; preds = %.lr.ph
  %9 = call float @firdespm_halfband(i32 noundef 4, ptr noundef nonnull %3, float noundef 0x3FD99999A0000000, float noundef %18)
  %10 = fpext float %18 to double
  %11 = fpext float %9 to double
  %12 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, double noundef %10, double noundef %11)
  %13 = fcmp olt float %9, %16
  br i1 %13, label %.lr.ph, label %.thread

.thread:                                          ; preds = %8, %2
  %.05269.lcssa = phi float [ 0.000000e+00, %2 ], [ %.0576782, %8 ]
  %14 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %.pre = fpext float %.05269.lcssa to double
  br label %.loopexit

.lr.ph:                                           ; preds = %2, %8
  %15 = phi double [ %10, %8 ], [ 1.000000e+00, %2 ]
  %16 = phi float [ %9, %8 ], [ %4, %2 ]
  %.0576782 = phi float [ %18, %8 ], [ 1.000000e+00, %2 ]
  %17 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %18 = fmul float %.0576782, 0x3FEFFFFDE0000000
  %19 = fcmp ogt float %18, 0x3FEFAE1480000000
  br i1 %19, label %8, label %.loopexit

.loopexit:                                        ; preds = %.lr.ph, %.thread
  %.pre-phi = phi double [ %.pre, %.thread ], [ %15, %.lr.ph ]
  %.05266 = phi float [ %.05269.lcssa, %.thread ], [ %.0576782, %.lr.ph ]
  %20 = call float @firdespm_halfband(i32 noundef 4, ptr noundef nonnull %3, float noundef 0x3FD99999A0000000, float noundef %.05266)
  %21 = fpext float %20 to double
  %22 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, double noundef %.pre-phi, double noundef %21)
  %23 = load float, ptr %3, align 16, !tbaa !5
  %24 = fpext float %23 to double
  %25 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef 1, double noundef %24)
  %26 = getelementptr inbounds i8, ptr %3, i64 4
  %27 = load float, ptr %26, align 4, !tbaa !5
  %28 = fpext float %27 to double
  %29 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef 2, double noundef %28)
  %30 = getelementptr inbounds i8, ptr %3, i64 8
  %31 = load float, ptr %30, align 8, !tbaa !5
  %32 = fpext float %31 to double
  %33 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef 3, double noundef %32)
  %34 = getelementptr inbounds i8, ptr %3, i64 12
  %35 = load float, ptr %34, align 4, !tbaa !5
  %36 = fpext float %35 to double
  %37 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef 4, double noundef %36)
  %38 = getelementptr inbounds i8, ptr %3, i64 16
  %39 = load float, ptr %38, align 16, !tbaa !5
  %40 = fpext float %39 to double
  %41 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef 5, double noundef %40)
  %42 = getelementptr inbounds i8, ptr %3, i64 20
  %43 = load float, ptr %42, align 4, !tbaa !5
  %44 = fpext float %43 to double
  %45 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef 6, double noundef %44)
  %46 = getelementptr inbounds i8, ptr %3, i64 24
  %47 = load float, ptr %46, align 8, !tbaa !5
  %48 = fpext float %47 to double
  %49 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef 7, double noundef %48)
  %50 = getelementptr inbounds i8, ptr %3, i64 28
  %51 = load float, ptr %50, align 4, !tbaa !5
  %52 = fpext float %51 to double
  %53 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef 8, double noundef %52)
  %54 = getelementptr inbounds i8, ptr %3, i64 32
  %55 = load float, ptr %54, align 16, !tbaa !5
  %56 = fpext float %55 to double
  %57 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef 9, double noundef %56)
  %58 = getelementptr inbounds i8, ptr %3, i64 36
  %59 = load float, ptr %58, align 4, !tbaa !5
  %60 = fpext float %59 to double
  %61 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef 10, double noundef %60)
  %62 = getelementptr inbounds i8, ptr %3, i64 40
  %63 = load float, ptr %62, align 8, !tbaa !5
  %64 = fpext float %63 to double
  %65 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef 11, double noundef %64)
  %66 = getelementptr inbounds i8, ptr %3, i64 44
  %67 = load float, ptr %66, align 4, !tbaa !5
  %68 = fpext float %67 to double
  %69 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef 12, double noundef %68)
  %70 = getelementptr inbounds i8, ptr %3, i64 48
  %71 = load float, ptr %70, align 16, !tbaa !5
  %72 = fpext float %71 to double
  %73 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef 13, double noundef %72)
  %74 = getelementptr inbounds i8, ptr %3, i64 52
  %75 = load float, ptr %74, align 4, !tbaa !5
  %76 = fpext float %75 to double
  %77 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef 14, double noundef %76)
  %78 = getelementptr inbounds i8, ptr %3, i64 56
  %79 = load float, ptr %78, align 8, !tbaa !5
  %80 = fpext float %79 to double
  %81 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef 15, double noundef %80)
  %82 = getelementptr inbounds i8, ptr %3, i64 60
  %83 = load float, ptr %82, align 4, !tbaa !5
  %84 = fpext float %83 to double
  %85 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef 16, double noundef %84)
  %86 = getelementptr inbounds i8, ptr %3, i64 64
  %87 = load float, ptr %86, align 16, !tbaa !5
  %88 = fpext float %87 to double
  %89 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef 17, double noundef %88)
  %90 = call noalias ptr @fopen(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.6)
  %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.5) #2
  %92 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.8) #2
  %93 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.9) #2
  %94 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.10, i32 noundef 17, i32 noundef 4) #2
  %95 = load float, ptr %3, align 16, !tbaa !5
  %96 = fpext float %95 to double
  %97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.11, i32 noundef 1, double noundef %96) #2
  %98 = load float, ptr %26, align 4, !tbaa !5
  %99 = fpext float %98 to double
  %100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.11, i32 noundef 2, double noundef %99) #2
  %101 = load float, ptr %30, align 8, !tbaa !5
  %102 = fpext float %101 to double
  %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.11, i32 noundef 3, double noundef %102) #2
  %104 = load float, ptr %34, align 4, !tbaa !5
  %105 = fpext float %104 to double
  %106 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.11, i32 noundef 4, double noundef %105) #2
  %107 = load float, ptr %38, align 16, !tbaa !5
  %108 = fpext float %107 to double
  %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.11, i32 noundef 5, double noundef %108) #2
  %110 = load float, ptr %42, align 4, !tbaa !5
  %111 = fpext float %110 to double
  %112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.11, i32 noundef 6, double noundef %111) #2
  %113 = load float, ptr %46, align 8, !tbaa !5
  %114 = fpext float %113 to double
  %115 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.11, i32 noundef 7, double noundef %114) #2
  %116 = load float, ptr %50, align 4, !tbaa !5
  %117 = fpext float %116 to double
  %118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.11, i32 noundef 8, double noundef %117) #2
  %119 = load float, ptr %54, align 16, !tbaa !5
  %120 = fpext float %119 to double
  %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.11, i32 noundef 9, double noundef %120) #2
  %122 = load float, ptr %58, align 4, !tbaa !5
  %123 = fpext float %122 to double
  %124 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.11, i32 noundef 10, double noundef %123) #2
  %125 = load float, ptr %62, align 8, !tbaa !5
  %126 = fpext float %125 to double
  %127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.11, i32 noundef 11, double noundef %126) #2
  %128 = load float, ptr %66, align 4, !tbaa !5
  %129 = fpext float %128 to double
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.11, i32 noundef 12, double noundef %129) #2
  %131 = load float, ptr %70, align 16, !tbaa !5
  %132 = fpext float %131 to double
  %133 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.11, i32 noundef 13, double noundef %132) #2
  %134 = load float, ptr %74, align 4, !tbaa !5
  %135 = fpext float %134 to double
  %136 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.11, i32 noundef 14, double noundef %135) #2
  %137 = load float, ptr %78, align 8, !tbaa !5
  %138 = fpext float %137 to double
  %139 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.11, i32 noundef 15, double noundef %138) #2
  %140 = load float, ptr %82, align 4, !tbaa !5
  %141 = fpext float %140 to double
  %142 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.11, i32 noundef 16, double noundef %141) #2
  %143 = load float, ptr %86, align 16, !tbaa !5
  %144 = fpext float %143 to double
  %145 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.11, i32 noundef 17, double noundef %144) #2
  %146 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.12) #2
  %147 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.13) #2
  %148 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.14) #2
  %149 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.15) #2
  %150 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.16) #2
  %151 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.17) #2
  %152 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.18) #2
  %153 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.19) #2
  %154 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.20) #2
  %155 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.21) #2
  %156 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.22) #2
  %157 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.23) #2
  %158 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.24) #2
  %159 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef nonnull @.str.25) #2
  %160 = call i32 @fclose(ptr noundef %90)
  %161 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.26, ptr noundef nonnull @.str.5)
  %162 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.27)
  ret i32 0
}

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

; 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 = { 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,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass