; LLVM IR from jgaeddert/liquid-dsp :: src/filter/src (bessel)

; 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 [78 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [46 x i8], align 1

declare i32 @liquid_error_fl(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) #0

; 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 memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @fpoly_bessel_roots_orchard_recursion(i32 noundef %0, float noundef %1, float noundef %2, ptr noundef %3, ptr noundef %4) #2 {
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca x86_fp80, align 16
  %13 = alloca x86_fp80, align 16
  %14 = alloca x86_fp80, align 16
  %15 = alloca x86_fp80, align 16
  %16 = alloca x86_fp80, align 16
  %17 = alloca x86_fp80, align 16
  %18 = alloca x86_fp80, align 16
  %19 = alloca x86_fp80, align 16
  %20 = alloca x86_fp80, align 16
  %21 = alloca x86_fp80, align 16
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca x86_fp80, align 16
  %26 = alloca i32, align 4
  %27 = alloca x86_fp80, align 16
  %28 = alloca x86_fp80, align 16
  store i32 %0, ptr %7, align 4, !tbaa !5
  store float %1, ptr %8, align 4, !tbaa !9
  store float %2, ptr %9, align 4, !tbaa !9
  store ptr %3, ptr %10, align 8, !tbaa !11
  store ptr %4, ptr %11, align 8, !tbaa !11
  %29 = load i32, ptr %7, align 4, !tbaa !5
  %30 = icmp ult i32 %29, 2
  br i1 %30, label %31, label %33

31:                                               ; preds = %5
  %32 = call i32 (i32, ptr, i32, ptr, ...) @liquid_error_fl(i32 noundef 3, ptr noundef @.str, i32 noundef 220, ptr noundef @.str.2)
  store i32 %32, ptr %6, align 4
  br label %172

33:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #4
  store x86_fp80 0xK00000000000000000000, ptr %14, align 16, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #4
  store x86_fp80 0xK00000000000000000000, ptr %15, align 16, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #4
  store x86_fp80 0xK00000000000000000000, ptr %18, align 16, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #4
  store x86_fp80 0xK00000000000000000000, ptr %19, align 16, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #4
  %34 = load float, ptr %8, align 4, !tbaa !9
  %35 = fpext float %34 to x86_fp80
  store x86_fp80 %35, ptr %20, align 16, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #4
  %36 = load float, ptr %9, align 4, !tbaa !9
  %37 = fpext float %36 to x86_fp80
  store x86_fp80 %37, ptr %21, align 16, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  store i32 50, ptr %24, align 4, !tbaa !5
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %38

38:                                               ; preds = %162, %33
  %39 = load i32, ptr %22, align 4, !tbaa !5
  %40 = load i32, ptr %24, align 4, !tbaa !5
  %41 = icmp ult i32 %39, %40
  br i1 %41, label %42, label %165

42:                                               ; preds = %38
  store x86_fp80 0xK3FFF8000000000000000, ptr %12, align 16, !tbaa !13
  %43 = load x86_fp80, ptr %20, align 16, !tbaa !13
  %44 = fadd x86_fp80 0xK3FFF8000000000000000, %43
  store x86_fp80 %44, ptr %13, align 16, !tbaa !13
  store x86_fp80 0xK00000000000000000000, ptr %16, align 16, !tbaa !13
  %45 = load x86_fp80, ptr %21, align 16, !tbaa !13
  store x86_fp80 %45, ptr %17, align 16, !tbaa !13
  store i32 2, ptr %23, align 4, !tbaa !5
  br label %46

46:                                               ; preds = %103, %42
  %47 = load i32, ptr %23, align 4, !tbaa !5
  %48 = load i32, ptr %7, align 4, !tbaa !5
  %49 = icmp ule i32 %47, %48
  br i1 %49, label %50, label %106

50:                                               ; preds = %46
  %51 = load i32, ptr %23, align 4, !tbaa !5
  %52 = mul i32 2, %51
  %53 = sub i32 %52, 1
  %54 = uitofp i32 %53 to x86_fp80
  %55 = load x86_fp80, ptr %13, align 16, !tbaa !13
  %56 = load x86_fp80, ptr %20, align 16, !tbaa !13
  %57 = load x86_fp80, ptr %20, align 16, !tbaa !13
  %58 = load x86_fp80, ptr %21, align 16, !tbaa !13
  %59 = load x86_fp80, ptr %21, align 16, !tbaa !13
  %60 = fmul x86_fp80 %58, %59
  %61 = fneg x86_fp80 %60
  %62 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %56, x86_fp80 %57, x86_fp80 %61)
  %63 = load x86_fp80, ptr %12, align 16, !tbaa !13
  %64 = fmul x86_fp80 %62, %63
  %65 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %54, x86_fp80 %55, x86_fp80 %64)
  %66 = load x86_fp80, ptr %20, align 16, !tbaa !13
  %67 = fmul x86_fp80 0xK40008000000000000000, %66
  %68 = load x86_fp80, ptr %21, align 16, !tbaa !13
  %69 = fmul x86_fp80 %67, %68
  %70 = load x86_fp80, ptr %16, align 16, !tbaa !13
  %71 = fneg x86_fp80 %69
  %72 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %71, x86_fp80 %70, x86_fp80 %65)
  store x86_fp80 %72, ptr %14, align 16, !tbaa !13
  %73 = load i32, ptr %23, align 4, !tbaa !5
  %74 = mul i32 2, %73
  %75 = sub i32 %74, 1
  %76 = uitofp i32 %75 to x86_fp80
  %77 = load x86_fp80, ptr %17, align 16, !tbaa !13
  %78 = load x86_fp80, ptr %20, align 16, !tbaa !13
  %79 = load x86_fp80, ptr %20, align 16, !tbaa !13
  %80 = load x86_fp80, ptr %21, align 16, !tbaa !13
  %81 = load x86_fp80, ptr %21, align 16, !tbaa !13
  %82 = fmul x86_fp80 %80, %81
  %83 = fneg x86_fp80 %82
  %84 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %78, x86_fp80 %79, x86_fp80 %83)
  %85 = load x86_fp80, ptr %16, align 16, !tbaa !13
  %86 = fmul x86_fp80 %84, %85
  %87 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %76, x86_fp80 %77, x86_fp80 %86)
  %88 = load x86_fp80, ptr %20, align 16, !tbaa !13
  %89 = fmul x86_fp80 0xK40008000000000000000, %88
  %90 = load x86_fp80, ptr %21, align 16, !tbaa !13
  %91 = fmul x86_fp80 %89, %90
  %92 = load x86_fp80, ptr %12, align 16, !tbaa !13
  %93 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %91, x86_fp80 %92, x86_fp80 %87)
  store x86_fp80 %93, ptr %18, align 16, !tbaa !13
  %94 = load i32, ptr %23, align 4, !tbaa !5
  %95 = load i32, ptr %7, align 4, !tbaa !5
  %96 = icmp ult i32 %94, %95
  br i1 %96, label %97, label %102

97:                                               ; preds = %50
  %98 = load x86_fp80, ptr %13, align 16, !tbaa !13
  store x86_fp80 %98, ptr %12, align 16, !tbaa !13
  %99 = load x86_fp80, ptr %17, align 16, !tbaa !13
  store x86_fp80 %99, ptr %16, align 16, !tbaa !13
  %100 = load x86_fp80, ptr %14, align 16, !tbaa !13
  store x86_fp80 %100, ptr %13, align 16, !tbaa !13
  %101 = load x86_fp80, ptr %18, align 16, !tbaa !13
  store x86_fp80 %101, ptr %17, align 16, !tbaa !13
  br label %102

102:                                              ; preds = %97, %50
  br label %103

103:                                              ; preds = %102
  %104 = load i32, ptr %23, align 4, !tbaa !5
  %105 = add i32 %104, 1
  store i32 %105, ptr %23, align 4, !tbaa !5
  br label %46, !llvm.loop !15

106:                                              ; preds = %46
  %107 = load x86_fp80, ptr %14, align 16, !tbaa !13
  %108 = load x86_fp80, ptr %20, align 16, !tbaa !13
  %109 = load x86_fp80, ptr %13, align 16, !tbaa !13
  %110 = fneg x86_fp80 %108
  %111 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %110, x86_fp80 %109, x86_fp80 %107)
  %112 = load x86_fp80, ptr %21, align 16, !tbaa !13
  %113 = load x86_fp80, ptr %17, align 16, !tbaa !13
  %114 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %112, x86_fp80 %113, x86_fp80 %111)
  store x86_fp80 %114, ptr %15, align 16, !tbaa !13
  %115 = load x86_fp80, ptr %18, align 16, !tbaa !13
  %116 = load x86_fp80, ptr %20, align 16, !tbaa !13
  %117 = load x86_fp80, ptr %17, align 16, !tbaa !13
  %118 = fneg x86_fp80 %116
  %119 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %118, x86_fp80 %117, x86_fp80 %115)
  %120 = load x86_fp80, ptr %21, align 16, !tbaa !13
  %121 = load x86_fp80, ptr %13, align 16, !tbaa !13
  %122 = fneg x86_fp80 %120
  %123 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %122, x86_fp80 %121, x86_fp80 %119)
  store x86_fp80 %123, ptr %19, align 16, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #4
  %124 = load x86_fp80, ptr %15, align 16, !tbaa !13
  %125 = load x86_fp80, ptr %15, align 16, !tbaa !13
  %126 = load x86_fp80, ptr %19, align 16, !tbaa !13
  %127 = load x86_fp80, ptr %19, align 16, !tbaa !13
  %128 = fmul x86_fp80 %126, %127
  %129 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %124, x86_fp80 %125, x86_fp80 %128)
  store x86_fp80 %129, ptr %25, align 16, !tbaa !13
  %130 = load x86_fp80, ptr %25, align 16, !tbaa !13
  %131 = fcmp oeq x86_fp80 %130, 0xK00000000000000000000
  br i1 %131, label %132, label %133

132:                                              ; preds = %106
  store i32 2, ptr %26, align 4
  br label %159

133:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #4
  %134 = load x86_fp80, ptr %15, align 16, !tbaa !13
  %135 = load x86_fp80, ptr %14, align 16, !tbaa !13
  %136 = load x86_fp80, ptr %19, align 16, !tbaa !13
  %137 = load x86_fp80, ptr %18, align 16, !tbaa !13
  %138 = fmul x86_fp80 %136, %137
  %139 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %134, x86_fp80 %135, x86_fp80 %138)
  %140 = fneg x86_fp80 %139
  %141 = load x86_fp80, ptr %25, align 16, !tbaa !13
  %142 = fdiv x86_fp80 %140, %141
  store x86_fp80 %142, ptr %27, align 16, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #4
  %143 = load x86_fp80, ptr %15, align 16, !tbaa !13
  %144 = load x86_fp80, ptr %18, align 16, !tbaa !13
  %145 = load x86_fp80, ptr %19, align 16, !tbaa !13
  %146 = load x86_fp80, ptr %14, align 16, !tbaa !13
  %147 = fmul x86_fp80 %145, %146
  %148 = fneg x86_fp80 %147
  %149 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %143, x86_fp80 %144, x86_fp80 %148)
  %150 = fneg x86_fp80 %149
  %151 = load x86_fp80, ptr %25, align 16, !tbaa !13
  %152 = fdiv x86_fp80 %150, %151
  store x86_fp80 %152, ptr %28, align 16, !tbaa !13
  %153 = load x86_fp80, ptr %27, align 16, !tbaa !13
  %154 = load x86_fp80, ptr %20, align 16, !tbaa !13
  %155 = fadd x86_fp80 %154, %153
  store x86_fp80 %155, ptr %20, align 16, !tbaa !13
  %156 = load x86_fp80, ptr %28, align 16, !tbaa !13
  %157 = load x86_fp80, ptr %21, align 16, !tbaa !13
  %158 = fadd x86_fp80 %157, %156
  store x86_fp80 %158, ptr %21, align 16, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #4
  store i32 0, ptr %26, align 4
  br label %159

159:                                              ; preds = %133, %132
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #4
  %160 = load i32, ptr %26, align 4
  switch i32 %160, label %174 [
    i32 0, label %161
    i32 2, label %165
  ]

161:                                              ; preds = %159
  br label %162

162:                                              ; preds = %161
  %163 = load i32, ptr %22, align 4, !tbaa !5
  %164 = add i32 %163, 1
  store i32 %164, ptr %22, align 4, !tbaa !5
  br label %38, !llvm.loop !17

165:                                              ; preds = %159, %38
  %166 = load x86_fp80, ptr %20, align 16, !tbaa !13
  %167 = fptrunc x86_fp80 %166 to float
  %168 = load ptr, ptr %10, align 8, !tbaa !11
  store float %167, ptr %168, align 4, !tbaa !9
  %169 = load x86_fp80, ptr %21, align 16, !tbaa !13
  %170 = fptrunc x86_fp80 %169 to float
  %171 = load ptr, ptr %11, align 8, !tbaa !11
  store float %170, ptr %171, align 4, !tbaa !9
  store i32 0, ptr %6, align 4
  store i32 1, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #4
  br label %172

172:                                              ; preds = %165, %31
  %173 = load i32, ptr %6, align 4
  ret i32 %173

174:                                              ; preds = %159
  unreachable
}

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

attributes #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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 = !{!14, !14, i64 0}
!14 = !{!"long double", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}


; 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 [78 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [46 x i8], align 1

declare i32 @liquid_error_fl(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local i32 @fpoly_bessel_roots_orchard_recursion(i32 noundef %0, float noundef %1, float noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #1 {
  %6 = icmp ult i32 %0, 2
  br i1 %6, label %7, label %.split

7:                                                ; preds = %5
  %8 = tail call i32 (i32, ptr, i32, ptr, ...) @liquid_error_fl(i32 noundef 3, ptr noundef nonnull @.str, i32 noundef 220, ptr noundef nonnull @.str.2) #4
  br label %54

.split:                                           ; preds = %5
  %9 = fpext float %1 to x86_fp80
  %10 = fpext float %2 to x86_fp80
  %11 = add i32 %0, 1
  %umax = tail call i32 @llvm.umax.i32(i32 %11, i32 3)
  br label %.lr.ph

.lr.ph:                                           ; preds = %.split, %41
  %.091119 = phi i32 [ 0, %.split ], [ %51, %41 ]
  %.092118 = phi x86_fp80 [ %10, %.split ], [ %50, %41 ]
  %.096116 = phi x86_fp80 [ %9, %.split ], [ %48, %41 ]
  %12 = fadd x86_fp80 %.096116, 0xK3FFF8000000000000000
  %13 = fneg x86_fp80 %.092118
  %14 = fmul x86_fp80 %.092118, %13
  %15 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %.096116, x86_fp80 %.096116, x86_fp80 %14)
  %16 = fmul x86_fp80 %.096116, 0xK40008000000000000000
  %17 = fmul x86_fp80 %16, %.092118
  %18 = fneg x86_fp80 %17
  br label %19

19:                                               ; preds = %.lr.ph, %31
  %.080112 = phi x86_fp80 [ 0xK3FFF8000000000000000, %.lr.ph ], [ %.1, %31 ]
  %.081111 = phi x86_fp80 [ %12, %.lr.ph ], [ %.182, %31 ]
  %.086110 = phi x86_fp80 [ 0xK00000000000000000000, %.lr.ph ], [ %.187, %31 ]
  %.088109 = phi x86_fp80 [ %.092118, %.lr.ph ], [ %.189, %31 ]
  %.090108 = phi i32 [ 2, %.lr.ph ], [ %32, %31 ]
  %20 = shl i32 %.090108, 1
  %21 = add i32 %20, -1
  %22 = uitofp i32 %21 to x86_fp80
  %23 = fmul x86_fp80 %15, %.080112
  %24 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %22, x86_fp80 %.081111, x86_fp80 %23)
  %25 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %18, x86_fp80 %.086110, x86_fp80 %24)
  %26 = fmul x86_fp80 %15, %.086110
  %27 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %22, x86_fp80 %.088109, x86_fp80 %26)
  %28 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %17, x86_fp80 %.080112, x86_fp80 %27)
  %29 = icmp ult i32 %.090108, %0
  br i1 %29, label %30, label %31

30:                                               ; preds = %19
  br label %31

31:                                               ; preds = %19, %30
  %.189 = phi x86_fp80 [ %28, %30 ], [ %.088109, %19 ]
  %.187 = phi x86_fp80 [ %.088109, %30 ], [ %.086110, %19 ]
  %.182 = phi x86_fp80 [ %25, %30 ], [ %.081111, %19 ]
  %.1 = phi x86_fp80 [ %.081111, %30 ], [ %.080112, %19 ]
  %32 = add nuw i32 %.090108, 1
  %exitcond = icmp eq i32 %32, %umax
  br i1 %exitcond, label %._crit_edge, label %19, !llvm.loop !5

._crit_edge:                                      ; preds = %31
  %33 = fneg x86_fp80 %.096116
  %34 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %33, x86_fp80 %.182, x86_fp80 %25)
  %35 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %.092118, x86_fp80 %.189, x86_fp80 %34)
  %36 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %33, x86_fp80 %.189, x86_fp80 %28)
  %37 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %13, x86_fp80 %.182, x86_fp80 %36)
  %38 = fmul x86_fp80 %37, %37
  %39 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %35, x86_fp80 %35, x86_fp80 %38)
  %40 = fcmp oeq x86_fp80 %39, 0xK00000000000000000000
  br i1 %40, label %.split122.us, label %41

41:                                               ; preds = %._crit_edge
  %42 = fmul x86_fp80 %28, %37
  %43 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %35, x86_fp80 %25, x86_fp80 %42)
  %44 = fneg x86_fp80 %37
  %45 = fmul x86_fp80 %25, %44
  %46 = tail call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %35, x86_fp80 %28, x86_fp80 %45)
  %47 = fdiv x86_fp80 %43, %39
  %48 = fsub x86_fp80 %.096116, %47
  %49 = fdiv x86_fp80 %46, %39
  %50 = fsub x86_fp80 %.092118, %49
  %51 = add nuw nsw i32 %.091119, 1
  %exitcond125.not = icmp eq i32 %51, 50
  br i1 %exitcond125.not, label %.split122.us, label %.lr.ph, !llvm.loop !7

.split122.us:                                     ; preds = %41, %._crit_edge
  %.us-phi = phi x86_fp80 [ %.096116, %._crit_edge ], [ %48, %41 ]
  %.us-phi123 = phi x86_fp80 [ %.092118, %._crit_edge ], [ %50, %41 ]
  %52 = fptrunc x86_fp80 %.us-phi to float
  store float %52, ptr %3, align 4, !tbaa !8
  %53 = fptrunc x86_fp80 %.us-phi123 to float
  store float %53, ptr %4, align 4, !tbaa !8
  br label %54

54:                                               ; preds = %.split122.us, %7
  %.0 = phi i32 [ %8, %7 ], [ 0, %.split122.us ]
  ret i32 %.0
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #3

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind 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 #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = !{!9, !9, i64 0}
!9 = !{!"float", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass