; LLVM IR from jgaeddert/liquid-dsp :: sandbox (pll_3rd_order_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 [23 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [49 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca float, align 4
  %3 = alloca float, align 4
  %4 = alloca float, align 4
  %5 = alloca i32, align 4
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca { float, float }, align 4
  %15 = alloca { float, float }, align 4
  %16 = alloca { float, float }, align 4
  %17 = alloca { float, float }, align 4
  %18 = alloca { float, float }, align 4
  %19 = alloca { float, float }, align 4
  %20 = alloca float, align 4
  %21 = alloca { float, float }, align 4
  %22 = alloca { float, float }, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store float 3.000000e+00, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store float 0xBFC99999A0000000, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store float 0x3FB47AE140000000, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  store i32 1200, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  %23 = load i32, ptr %5, align 4, !tbaa !9
  %24 = uitofp i32 %23 to float
  %25 = fpext float %24 to double
  %26 = fdiv double 3.000000e-01, %25
  %27 = fptrunc double %26 to float
  store float %27, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  %28 = load float, ptr %4, align 4, !tbaa !5
  %29 = fpext float %28 to double
  %30 = fmul double 5.000000e-01, %29
  %31 = load float, ptr %4, align 4, !tbaa !5
  %32 = fpext float %31 to double
  %33 = fmul double %30, %32
  %34 = fptrunc double %33 to float
  store float %34, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  %35 = load float, ptr %4, align 4, !tbaa !5
  %36 = call float @powf(float noundef %35, float noundef 4.000000e+00) #6
  %37 = fmul float 2.000000e+00, %36
  store float %37, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store float 0.000000e+00, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store float 0.000000e+00, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store float 0.000000e+00, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %38 = call noalias ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
  store ptr %38, ptr %13, align 8, !tbaa !11
  %39 = load ptr, ptr %13, align 8, !tbaa !11
  %40 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef @.str.6, ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.10, ptr noundef @.str.11, ptr noundef @.str.12, ptr noundef @.str.13) #6
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %41

41:                                               ; preds = %163, %0
  %42 = load i32, ptr %12, align 4, !tbaa !9
  %43 = load i32, ptr %5, align 4, !tbaa !9
  %44 = icmp ult i32 %42, %43
  br i1 %44, label %45, label %166

45:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %46 = load float, ptr %2, align 4, !tbaa !5
  %47 = fmul float 0.000000e+00, %46
  %48 = fmul float 1.000000e+00, %46
  %49 = getelementptr inbounds { float, float }, ptr %15, i32 0, i32 0
  %50 = getelementptr inbounds { float, float }, ptr %15, i32 0, i32 1
  store float %47, ptr %49, align 4
  store float %48, ptr %50, align 4
  %51 = load <2 x float>, ptr %15, align 4
  %52 = call <2 x float> @cexpf(<2 x float> noundef %51) #6
  store <2 x float> %52, ptr %16, align 4
  %53 = getelementptr inbounds { float, float }, ptr %16, i32 0, i32 0
  %54 = load float, ptr %53, align 4
  %55 = getelementptr inbounds { float, float }, ptr %16, i32 0, i32 1
  %56 = load float, ptr %55, align 4
  %57 = getelementptr inbounds { float, float }, ptr %14, i32 0, i32 0
  %58 = getelementptr inbounds { float, float }, ptr %14, i32 0, i32 1
  store float %54, ptr %57, align 4
  store float %56, ptr %58, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %59 = load float, ptr %9, align 4, !tbaa !5
  %60 = fmul float 0.000000e+00, %59
  %61 = fmul float 1.000000e+00, %59
  %62 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 0
  %63 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 1
  store float %60, ptr %62, align 4
  store float %61, ptr %63, align 4
  %64 = load <2 x float>, ptr %18, align 4
  %65 = call <2 x float> @cexpf(<2 x float> noundef %64) #6
  store <2 x float> %65, ptr %19, align 4
  %66 = getelementptr inbounds { float, float }, ptr %19, i32 0, i32 0
  %67 = load float, ptr %66, align 4
  %68 = getelementptr inbounds { float, float }, ptr %19, i32 0, i32 1
  %69 = load float, ptr %68, align 4
  %70 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 0
  %71 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 1
  store float %67, ptr %70, align 4
  store float %69, ptr %71, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %72 = getelementptr inbounds { float, float }, ptr %14, i32 0, i32 0
  %73 = load float, ptr %72, align 4
  %74 = getelementptr inbounds { float, float }, ptr %14, i32 0, i32 1
  %75 = load float, ptr %74, align 4
  %76 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 0
  %77 = load float, ptr %76, align 4
  %78 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 1
  %79 = load float, ptr %78, align 4
  %80 = fneg float %79
  %81 = fmul float %73, %77
  %82 = fmul float %75, %80
  %83 = fmul float %73, %80
  %84 = fmul float %75, %77
  %85 = fsub float %81, %82
  %86 = fadd float %83, %84
  %87 = fcmp uno float %85, %85
  br i1 %87, label %88, label %96, !prof !13

88:                                               ; preds = %45
  %89 = fcmp uno float %86, %86
  br i1 %89, label %90, label %96, !prof !13

90:                                               ; preds = %88
  %91 = call <2 x float> @__mulsc3(float noundef %73, float noundef %75, float noundef %77, float noundef %80) #6
  store <2 x float> %91, ptr %21, align 4
  %92 = getelementptr inbounds { float, float }, ptr %21, i32 0, i32 0
  %93 = load float, ptr %92, align 4
  %94 = getelementptr inbounds { float, float }, ptr %21, i32 0, i32 1
  %95 = load float, ptr %94, align 4
  br label %96

96:                                               ; preds = %90, %88, %45
  %97 = phi float [ %85, %45 ], [ %85, %88 ], [ %93, %90 ]
  %98 = phi float [ %86, %45 ], [ %86, %88 ], [ %95, %90 ]
  %99 = getelementptr inbounds { float, float }, ptr %22, i32 0, i32 0
  %100 = getelementptr inbounds { float, float }, ptr %22, i32 0, i32 1
  store float %97, ptr %99, align 4
  store float %98, ptr %100, align 4
  %101 = load <2 x float>, ptr %22, align 4
  %102 = call float @cargf(<2 x float> noundef %101) #6
  store float %102, ptr %20, align 4, !tbaa !5
  %103 = load ptr, ptr %13, align 8, !tbaa !11
  %104 = getelementptr inbounds { float, float }, ptr %14, i32 0, i32 0
  %105 = load float, ptr %104, align 4
  %106 = getelementptr inbounds { float, float }, ptr %14, i32 0, i32 1
  %107 = load float, ptr %106, align 4
  %108 = fpext float %105 to double
  %109 = getelementptr inbounds { float, float }, ptr %14, i32 0, i32 0
  %110 = load float, ptr %109, align 4
  %111 = getelementptr inbounds { float, float }, ptr %14, i32 0, i32 1
  %112 = load float, ptr %111, align 4
  %113 = fpext float %112 to double
  %114 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 0
  %115 = load float, ptr %114, align 4
  %116 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 1
  %117 = load float, ptr %116, align 4
  %118 = fpext float %115 to double
  %119 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 0
  %120 = load float, ptr %119, align 4
  %121 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 1
  %122 = load float, ptr %121, align 4
  %123 = fpext float %122 to double
  %124 = load float, ptr %2, align 4, !tbaa !5
  %125 = fpext float %124 to double
  %126 = load float, ptr %9, align 4, !tbaa !5
  %127 = fpext float %126 to double
  %128 = load float, ptr %3, align 4, !tbaa !5
  %129 = fpext float %128 to double
  %130 = load float, ptr %10, align 4, !tbaa !5
  %131 = fpext float %130 to double
  %132 = load float, ptr %6, align 4, !tbaa !5
  %133 = fpext float %132 to double
  %134 = load float, ptr %11, align 4, !tbaa !5
  %135 = fpext float %134 to double
  %136 = load float, ptr %20, align 4, !tbaa !5
  %137 = fpext float %136 to double
  %138 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %103, ptr noundef @.str.14, double noundef %108, double noundef %113, double noundef %118, double noundef %123, double noundef %125, double noundef %127, double noundef %129, double noundef %131, double noundef %133, double noundef %135, double noundef %137) #6
  %139 = load float, ptr %4, align 4, !tbaa !5
  %140 = load float, ptr %20, align 4, !tbaa !5
  %141 = load float, ptr %9, align 4, !tbaa !5
  %142 = call float @llvm.fmuladd.f32(float %139, float %140, float %141)
  store float %142, ptr %9, align 4, !tbaa !5
  %143 = load float, ptr %7, align 4, !tbaa !5
  %144 = load float, ptr %20, align 4, !tbaa !5
  %145 = load float, ptr %10, align 4, !tbaa !5
  %146 = call float @llvm.fmuladd.f32(float %143, float %144, float %145)
  store float %146, ptr %10, align 4, !tbaa !5
  %147 = load float, ptr %8, align 4, !tbaa !5
  %148 = load float, ptr %20, align 4, !tbaa !5
  %149 = load float, ptr %11, align 4, !tbaa !5
  %150 = call float @llvm.fmuladd.f32(float %147, float %148, float %149)
  store float %150, ptr %11, align 4, !tbaa !5
  %151 = load float, ptr %6, align 4, !tbaa !5
  %152 = load float, ptr %3, align 4, !tbaa !5
  %153 = fadd float %152, %151
  store float %153, ptr %3, align 4, !tbaa !5
  %154 = load float, ptr %11, align 4, !tbaa !5
  %155 = load float, ptr %10, align 4, !tbaa !5
  %156 = fadd float %155, %154
  store float %156, ptr %10, align 4, !tbaa !5
  %157 = load float, ptr %3, align 4, !tbaa !5
  %158 = load float, ptr %2, align 4, !tbaa !5
  %159 = fadd float %158, %157
  store float %159, ptr %2, align 4, !tbaa !5
  %160 = load float, ptr %10, align 4, !tbaa !5
  %161 = load float, ptr %9, align 4, !tbaa !5
  %162 = fadd float %161, %160
  store float %162, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %163

163:                                              ; preds = %96
  %164 = load i32, ptr %12, align 4, !tbaa !9
  %165 = add nsw i32 %164, 1
  store i32 %165, ptr %12, align 4, !tbaa !9
  br label %41, !llvm.loop !14

166:                                              ; preds = %41
  %167 = load ptr, ptr %13, align 8, !tbaa !11
  %168 = call i32 @fclose(ptr noundef %167)
  call void @export_octave()
  %169 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  ret i32 0
}

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

; Function Attrs: nounwind
declare float @powf(float noundef, float noundef) #2

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

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

; Function Attrs: nounwind
declare <2 x float> @cexpf(<2 x float> noundef) #2

; Function Attrs: nounwind
declare float @cargf(<2 x float> noundef) #2

declare <2 x float> @__mulsc3(float, float, float, float)

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

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

declare i32 @fclose(ptr noundef) #3

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

; Function Attrs: nounwind uwtable
declare dso_local void @export_octave() #5

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { "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 speculatable willreturn memory(none) }
attributes #5 = { 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 #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 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!"branch_weights", i32 1, i32 1048575}
!14 = distinct !{!14, !15}
!15 = !{!"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 [23 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [49 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = tail call noalias ptr @fopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1)
  %2 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.13) #5
  br label %3

3:                                                ; preds = %0, %25
  %.064 = phi float [ 3.000000e+00, %0 ], [ %48, %25 ]
  %.05463 = phi float [ 0xBFC99999A0000000, %0 ], [ %46, %25 ]
  %.05562 = phi float [ 0.000000e+00, %0 ], [ %49, %25 ]
  %.05661 = phi float [ 0.000000e+00, %0 ], [ %47, %25 ]
  %.05760 = phi float [ 0.000000e+00, %0 ], [ %45, %25 ]
  %.05859 = phi i32 [ 0, %0 ], [ %50, %25 ]
  %4 = fmul float %.064, 0.000000e+00
  %.sroa.015.0.vec.insert = insertelement <2 x float> poison, float %4, i64 0
  %.sroa.015.4.vec.insert = insertelement <2 x float> %.sroa.015.0.vec.insert, float %.064, i64 1
  %5 = tail call <2 x float> @cexpf(<2 x float> noundef %.sroa.015.4.vec.insert) #5
  %6 = fmul float %.05562, 0.000000e+00
  %.sroa.07.0.vec.insert = insertelement <2 x float> poison, float %6, i64 0
  %.sroa.07.4.vec.insert = insertelement <2 x float> %.sroa.07.0.vec.insert, float %.05562, i64 1
  %7 = tail call <2 x float> @cexpf(<2 x float> noundef %.sroa.07.4.vec.insert) #5
  %8 = extractelement <2 x float> %7, i64 1
  %9 = fneg float %8
  %10 = shufflevector <2 x float> %5, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %11 = fmul <2 x float> %5, %7
  %shift = shufflevector <2 x float> %11, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %12 = fadd <2 x float> %11, %shift
  %13 = extractelement <2 x float> %12, i64 0
  %14 = fmul <2 x float> %10, %7
  %shift65 = shufflevector <2 x float> %14, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %15 = fsub <2 x float> %14, %shift65
  %16 = extractelement <2 x float> %15, i64 0
  %17 = fcmp uno float %13, 0.000000e+00
  br i1 %17, label %18, label %25, !prof !5

18:                                               ; preds = %3
  %19 = fcmp uno float %16, 0.000000e+00
  br i1 %19, label %20, label %25, !prof !5

20:                                               ; preds = %18
  %21 = extractelement <2 x float> %5, i64 0
  %22 = extractelement <2 x float> %5, i64 1
  %23 = extractelement <2 x float> %7, i64 0
  %24 = tail call <2 x float> @__mulsc3(float noundef %21, float noundef %22, float noundef %23, float noundef %9) #5
  %.sroa.02.0.vec.extract = extractelement <2 x float> %24, i64 0
  %.sroa.02.4.vec.extract = extractelement <2 x float> %24, i64 1
  br label %25

25:                                               ; preds = %20, %18, %3
  %26 = phi float [ %13, %3 ], [ %13, %18 ], [ %.sroa.02.0.vec.extract, %20 ]
  %27 = phi float [ %16, %3 ], [ %16, %18 ], [ %.sroa.02.4.vec.extract, %20 ]
  %.sroa.0.0.vec.insert = insertelement <2 x float> poison, float %26, i64 0
  %.sroa.0.4.vec.insert = insertelement <2 x float> %.sroa.0.0.vec.insert, float %27, i64 1
  %28 = tail call float @cargf(<2 x float> noundef %.sroa.0.4.vec.insert) #5
  %29 = extractelement <2 x float> %5, i64 0
  %30 = fpext float %29 to double
  %31 = extractelement <2 x float> %5, i64 1
  %32 = fpext float %31 to double
  %33 = extractelement <2 x float> %7, i64 0
  %34 = fpext float %33 to double
  %35 = fpext float %8 to double
  %36 = fpext float %.064 to double
  %37 = fpext float %.05562 to double
  %38 = fpext float %.05463 to double
  %39 = fpext float %.05661 to double
  %40 = fpext float %.05760 to double
  %41 = fpext float %28 to double
  %42 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.14, double noundef %30, double noundef %32, double noundef %34, double noundef %35, double noundef %36, double noundef %37, double noundef %38, double noundef %39, double noundef 0x3F30624DE0000000, double noundef %40, double noundef %41) #5
  %43 = tail call float @llvm.fmuladd.f32(float %28, float 0x3FB47AE140000000, float %.05562)
  %44 = tail call float @llvm.fmuladd.f32(float %28, float 0x3F6A36E2E0000000, float %.05661)
  %45 = tail call float @llvm.fmuladd.f32(float %28, float 0x3F15798EC0000000, float %.05760)
  %46 = fadd float %.05463, 0x3F30624DE0000000
  %47 = fadd float %44, %45
  %48 = fadd float %.064, %46
  %49 = fadd float %43, %47
  %50 = add nuw nsw i32 %.05859, 1
  %exitcond.not = icmp eq i32 %50, 1200
  br i1 %exitcond.not, label %51, label %3, !llvm.loop !6

51:                                               ; preds = %25
  %52 = tail call i32 @fclose(ptr noundef %1)
  tail call void @export_octave()
  %53 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15)
  ret i32 0
}

; 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: nounwind
declare <2 x float> @cexpf(<2 x float> noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare float @cargf(<2 x float> noundef) local_unnamed_addr #2

declare <2 x float> @__mulsc3(float, float, float, float) local_unnamed_addr

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @export_octave() local_unnamed_addr #4

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 "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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #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 = !{!"branch_weights", i32 1, i32 1048575}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}


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