; LLVM IR from jgaeddert/liquid-dsp :: src/dotprod/src/dotprod_crcf.sse (dotprod_crcf_execute_sse4)

; 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"

%struct.dotprod_crcf_s = type { i32, ptr }

; 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: nounwind uwtable
define dso_local i32 @dotprod_crcf_execute_sse4(ptr noundef %0, ptr noundef %1, ptr noundef %2) #1 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca <4 x float>, align 16
  %10 = alloca <4 x float>, align 16
  %11 = alloca <4 x float>, align 16
  %12 = alloca <4 x float>, align 16
  %13 = alloca <4 x float>, align 16
  %14 = alloca <4 x float>, align 16
  %15 = alloca <4 x float>, align 16
  %16 = alloca <4 x float>, align 16
  %17 = alloca <4 x float>, align 16
  %18 = alloca <4 x float>, align 16
  %19 = alloca <4 x float>, align 16
  %20 = alloca <4 x float>, align 16
  %21 = alloca <4 x float>, align 16
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca [4 x float], align 16
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %25, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.dotprod_crcf_s, ptr %26, i32 0, i32 0
  %28 = load i32, ptr %27, align 8, !tbaa !9
  %29 = mul i32 2, %28
  store i32 %29, ptr %8, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #4
  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
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #4
  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
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #4
  %30 = call <4 x float> @_mm_setzero_ps()
  store <4 x float> %30, ptr %21, align 16, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  %31 = load i32, ptr %8, align 4, !tbaa !12
  %32 = lshr i32 %31, 4
  %33 = shl i32 %32, 2
  store i32 %33, ptr %22, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  store i32 0, ptr %23, align 4, !tbaa !12
  br label %34

34:                                               ; preds = %127, %3
  %35 = load i32, ptr %23, align 4, !tbaa !12
  %36 = load i32, ptr %22, align 4, !tbaa !12
  %37 = icmp ult i32 %35, %36
  br i1 %37, label %38, label %130

38:                                               ; preds = %34
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  %40 = load i32, ptr %23, align 4, !tbaa !12
  %41 = mul i32 4, %40
  %42 = add i32 %41, 0
  %43 = zext i32 %42 to i64
  %44 = getelementptr inbounds float, ptr %39, i64 %43
  %45 = call <4 x float> @_mm_loadu_ps(ptr noundef %44)
  store <4 x float> %45, ptr %9, align 16, !tbaa !13
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = load i32, ptr %23, align 4, !tbaa !12
  %48 = mul i32 4, %47
  %49 = add i32 %48, 4
  %50 = zext i32 %49 to i64
  %51 = getelementptr inbounds float, ptr %46, i64 %50
  %52 = call <4 x float> @_mm_loadu_ps(ptr noundef %51)
  store <4 x float> %52, ptr %10, align 16, !tbaa !13
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = load i32, ptr %23, align 4, !tbaa !12
  %55 = mul i32 4, %54
  %56 = add i32 %55, 8
  %57 = zext i32 %56 to i64
  %58 = getelementptr inbounds float, ptr %53, i64 %57
  %59 = call <4 x float> @_mm_loadu_ps(ptr noundef %58)
  store <4 x float> %59, ptr %11, align 16, !tbaa !13
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = load i32, ptr %23, align 4, !tbaa !12
  %62 = mul i32 4, %61
  %63 = add i32 %62, 12
  %64 = zext i32 %63 to i64
  %65 = getelementptr inbounds float, ptr %60, i64 %64
  %66 = call <4 x float> @_mm_loadu_ps(ptr noundef %65)
  store <4 x float> %66, ptr %12, align 16, !tbaa !13
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.dotprod_crcf_s, ptr %67, i32 0, i32 1
  %69 = load ptr, ptr %68, align 8, !tbaa !14
  %70 = load i32, ptr %23, align 4, !tbaa !12
  %71 = mul i32 4, %70
  %72 = add i32 %71, 0
  %73 = zext i32 %72 to i64
  %74 = getelementptr inbounds float, ptr %69, i64 %73
  %75 = call <4 x float> @_mm_load_ps(ptr noundef %74)
  store <4 x float> %75, ptr %13, align 16, !tbaa !13
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.dotprod_crcf_s, ptr %76, i32 0, i32 1
  %78 = load ptr, ptr %77, align 8, !tbaa !14
  %79 = load i32, ptr %23, align 4, !tbaa !12
  %80 = mul i32 4, %79
  %81 = add i32 %80, 4
  %82 = zext i32 %81 to i64
  %83 = getelementptr inbounds float, ptr %78, i64 %82
  %84 = call <4 x float> @_mm_load_ps(ptr noundef %83)
  store <4 x float> %84, ptr %14, align 16, !tbaa !13
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.dotprod_crcf_s, ptr %85, i32 0, i32 1
  %87 = load ptr, ptr %86, align 8, !tbaa !14
  %88 = load i32, ptr %23, align 4, !tbaa !12
  %89 = mul i32 4, %88
  %90 = add i32 %89, 8
  %91 = zext i32 %90 to i64
  %92 = getelementptr inbounds float, ptr %87, i64 %91
  %93 = call <4 x float> @_mm_load_ps(ptr noundef %92)
  store <4 x float> %93, ptr %15, align 16, !tbaa !13
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.dotprod_crcf_s, ptr %94, i32 0, i32 1
  %96 = load ptr, ptr %95, align 8, !tbaa !14
  %97 = load i32, ptr %23, align 4, !tbaa !12
  %98 = mul i32 4, %97
  %99 = add i32 %98, 12
  %100 = zext i32 %99 to i64
  %101 = getelementptr inbounds float, ptr %96, i64 %100
  %102 = call <4 x float> @_mm_load_ps(ptr noundef %101)
  store <4 x float> %102, ptr %16, align 16, !tbaa !13
  %103 = load <4 x float>, ptr %9, align 16, !tbaa !13
  %104 = load <4 x float>, ptr %13, align 16, !tbaa !13
  %105 = call <4 x float> @_mm_mul_ps(<4 x float> noundef %103, <4 x float> noundef %104)
  store <4 x float> %105, ptr %17, align 16, !tbaa !13
  %106 = load <4 x float>, ptr %10, align 16, !tbaa !13
  %107 = load <4 x float>, ptr %14, align 16, !tbaa !13
  %108 = call <4 x float> @_mm_mul_ps(<4 x float> noundef %106, <4 x float> noundef %107)
  store <4 x float> %108, ptr %18, align 16, !tbaa !13
  %109 = load <4 x float>, ptr %11, align 16, !tbaa !13
  %110 = load <4 x float>, ptr %15, align 16, !tbaa !13
  %111 = call <4 x float> @_mm_mul_ps(<4 x float> noundef %109, <4 x float> noundef %110)
  store <4 x float> %111, ptr %19, align 16, !tbaa !13
  %112 = load <4 x float>, ptr %12, align 16, !tbaa !13
  %113 = load <4 x float>, ptr %16, align 16, !tbaa !13
  %114 = call <4 x float> @_mm_mul_ps(<4 x float> noundef %112, <4 x float> noundef %113)
  store <4 x float> %114, ptr %20, align 16, !tbaa !13
  %115 = load <4 x float>, ptr %21, align 16, !tbaa !13
  %116 = load <4 x float>, ptr %17, align 16, !tbaa !13
  %117 = call <4 x float> @_mm_add_ps(<4 x float> noundef %115, <4 x float> noundef %116)
  store <4 x float> %117, ptr %21, align 16, !tbaa !13
  %118 = load <4 x float>, ptr %21, align 16, !tbaa !13
  %119 = load <4 x float>, ptr %18, align 16, !tbaa !13
  %120 = call <4 x float> @_mm_add_ps(<4 x float> noundef %118, <4 x float> noundef %119)
  store <4 x float> %120, ptr %21, align 16, !tbaa !13
  %121 = load <4 x float>, ptr %21, align 16, !tbaa !13
  %122 = load <4 x float>, ptr %19, align 16, !tbaa !13
  %123 = call <4 x float> @_mm_add_ps(<4 x float> noundef %121, <4 x float> noundef %122)
  store <4 x float> %123, ptr %21, align 16, !tbaa !13
  %124 = load <4 x float>, ptr %21, align 16, !tbaa !13
  %125 = load <4 x float>, ptr %20, align 16, !tbaa !13
  %126 = call <4 x float> @_mm_add_ps(<4 x float> noundef %124, <4 x float> noundef %125)
  store <4 x float> %126, ptr %21, align 16, !tbaa !13
  br label %127

127:                                              ; preds = %38
  %128 = load i32, ptr %23, align 4, !tbaa !12
  %129 = add i32 %128, 4
  store i32 %129, ptr %23, align 4, !tbaa !12
  br label %34, !llvm.loop !15

130:                                              ; preds = %34
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #4
  %131 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 0
  %132 = load <4 x float>, ptr %21, align 16, !tbaa !13
  call void @_mm_store_ps(ptr noundef %131, <4 x float> noundef %132)
  %133 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 2
  %134 = load float, ptr %133, align 8, !tbaa !17
  %135 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 0
  %136 = load float, ptr %135, align 16, !tbaa !17
  %137 = fadd float %136, %134
  store float %137, ptr %135, align 16, !tbaa !17
  %138 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 3
  %139 = load float, ptr %138, align 4, !tbaa !17
  %140 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 1
  %141 = load float, ptr %140, align 4, !tbaa !17
  %142 = fadd float %141, %139
  store float %142, ptr %140, align 4, !tbaa !17
  %143 = load i32, ptr %22, align 4, !tbaa !12
  %144 = mul i32 4, %143
  store i32 %144, ptr %23, align 4, !tbaa !12
  br label %145

145:                                              ; preds = %182, %130
  %146 = load i32, ptr %23, align 4, !tbaa !12
  %147 = load i32, ptr %8, align 4, !tbaa !12
  %148 = icmp ult i32 %146, %147
  br i1 %148, label %149, label %185

149:                                              ; preds = %145
  %150 = load ptr, ptr %7, align 8, !tbaa !5
  %151 = load i32, ptr %23, align 4, !tbaa !12
  %152 = zext i32 %151 to i64
  %153 = getelementptr inbounds float, ptr %150, i64 %152
  %154 = load float, ptr %153, align 4, !tbaa !17
  %155 = load ptr, ptr %4, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.dotprod_crcf_s, ptr %155, i32 0, i32 1
  %157 = load ptr, ptr %156, align 8, !tbaa !14
  %158 = load i32, ptr %23, align 4, !tbaa !12
  %159 = zext i32 %158 to i64
  %160 = getelementptr inbounds float, ptr %157, i64 %159
  %161 = load float, ptr %160, align 4, !tbaa !17
  %162 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 0
  %163 = load float, ptr %162, align 16, !tbaa !17
  %164 = call float @llvm.fmuladd.f32(float %154, float %161, float %163)
  store float %164, ptr %162, align 16, !tbaa !17
  %165 = load ptr, ptr %7, align 8, !tbaa !5
  %166 = load i32, ptr %23, align 4, !tbaa !12
  %167 = add i32 %166, 1
  %168 = zext i32 %167 to i64
  %169 = getelementptr inbounds float, ptr %165, i64 %168
  %170 = load float, ptr %169, align 4, !tbaa !17
  %171 = load ptr, ptr %4, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.dotprod_crcf_s, ptr %171, i32 0, i32 1
  %173 = load ptr, ptr %172, align 8, !tbaa !14
  %174 = load i32, ptr %23, align 4, !tbaa !12
  %175 = add i32 %174, 1
  %176 = zext i32 %175 to i64
  %177 = getelementptr inbounds float, ptr %173, i64 %176
  %178 = load float, ptr %177, align 4, !tbaa !17
  %179 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 1
  %180 = load float, ptr %179, align 4, !tbaa !17
  %181 = call float @llvm.fmuladd.f32(float %170, float %178, float %180)
  store float %181, ptr %179, align 4, !tbaa !17
  br label %182

182:                                              ; preds = %149
  %183 = load i32, ptr %23, align 4, !tbaa !12
  %184 = add i32 %183, 2
  store i32 %184, ptr %23, align 4, !tbaa !12
  br label %145, !llvm.loop !19

185:                                              ; preds = %145
  %186 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 0
  %187 = load float, ptr %186, align 16, !tbaa !17
  %188 = getelementptr inbounds [4 x float], ptr %24, i64 0, i64 1
  %189 = load float, ptr %188, align 4, !tbaa !17
  %190 = fmul float %189, 0.000000e+00
  %191 = fmul float %189, 1.000000e+00
  %192 = fadd float %187, %190
  %193 = load ptr, ptr %6, align 8, !tbaa !5
  %194 = getelementptr inbounds { float, float }, ptr %193, i32 0, i32 0
  %195 = getelementptr inbounds { float, float }, ptr %193, i32 0, i32 1
  store float %192, ptr %194, align 4
  store float %191, ptr %195, align 4
  call void @llvm.lifetime.end.p0(i64 16, 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
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  ret i32 0
}

; Function Attrs: alwaysinline nounwind uwtable
declare hidden <4 x float> @_mm_setzero_ps() #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden <4 x float> @_mm_loadu_ps(ptr noundef) #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden <4 x float> @_mm_load_ps(ptr noundef) #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden <4 x float> @_mm_mul_ps(<4 x float> noundef, <4 x float> noundef) #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden <4 x float> @_mm_add_ps(<4 x float> noundef, <4 x float> noundef) #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @_mm_store_ps(ptr noundef, <4 x float> noundef) #2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="128" "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 = { alwaysinline nounwind uwtable "min-legal-vector-width"="128" "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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"dotprod_crcf_s", !11, i64 0, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!10, !6, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !18, i64 0}
!18 = !{!"float", !7, i64 0}
!19 = distinct !{!19, !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"

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @dotprod_crcf_execute_sse4(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #1 {
  %4 = alloca [4 x float], align 16
  %5 = load i32, ptr %0, align 8, !tbaa !5
  %6 = shl i32 %5, 1
  %7 = tail call <4 x float> @_mm_setzero_ps()
  %8 = lshr i32 %6, 2
  %9 = and i32 %8, 1073741820
  %.not = icmp eq i32 %9, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %3
  %10 = getelementptr inbounds i8, ptr %0, i64 8
  %11 = zext nneg i32 %9 to i64
  br label %12

12:                                               ; preds = %.lr.ph, %12
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %12 ]
  %.05153 = phi <4 x float> [ %7, %.lr.ph ], [ %44, %12 ]
  %13 = shl nuw i64 %indvars.iv, 2
  %14 = getelementptr inbounds float, ptr %1, i64 %13
  %15 = tail call <4 x float> @_mm_loadu_ps(ptr noundef %14)
  %16 = or disjoint i64 %13, 4
  %17 = getelementptr inbounds float, ptr %1, i64 %16
  %18 = tail call <4 x float> @_mm_loadu_ps(ptr noundef nonnull %17)
  %19 = or disjoint i64 %13, 8
  %20 = getelementptr inbounds float, ptr %1, i64 %19
  %21 = tail call <4 x float> @_mm_loadu_ps(ptr noundef nonnull %20)
  %22 = or disjoint i64 %13, 12
  %23 = getelementptr inbounds float, ptr %1, i64 %22
  %24 = tail call <4 x float> @_mm_loadu_ps(ptr noundef nonnull %23)
  %25 = load ptr, ptr %10, align 8, !tbaa !11
  %26 = getelementptr inbounds float, ptr %25, i64 %13
  %27 = tail call <4 x float> @_mm_load_ps(ptr noundef %26)
  %28 = load ptr, ptr %10, align 8, !tbaa !11
  %29 = getelementptr inbounds float, ptr %28, i64 %16
  %30 = tail call <4 x float> @_mm_load_ps(ptr noundef nonnull %29)
  %31 = load ptr, ptr %10, align 8, !tbaa !11
  %32 = getelementptr inbounds float, ptr %31, i64 %19
  %33 = tail call <4 x float> @_mm_load_ps(ptr noundef nonnull %32)
  %34 = load ptr, ptr %10, align 8, !tbaa !11
  %35 = getelementptr inbounds float, ptr %34, i64 %22
  %36 = tail call <4 x float> @_mm_load_ps(ptr noundef nonnull %35)
  %37 = tail call <4 x float> @_mm_mul_ps(<4 x float> noundef %15, <4 x float> noundef %27)
  %38 = tail call <4 x float> @_mm_mul_ps(<4 x float> noundef %18, <4 x float> noundef %30)
  %39 = tail call <4 x float> @_mm_mul_ps(<4 x float> noundef %21, <4 x float> noundef %33)
  %40 = tail call <4 x float> @_mm_mul_ps(<4 x float> noundef %24, <4 x float> noundef %36)
  %41 = tail call <4 x float> @_mm_add_ps(<4 x float> noundef %.05153, <4 x float> noundef %37)
  %42 = tail call <4 x float> @_mm_add_ps(<4 x float> noundef %41, <4 x float> noundef %38)
  %43 = tail call <4 x float> @_mm_add_ps(<4 x float> noundef %42, <4 x float> noundef %39)
  %44 = tail call <4 x float> @_mm_add_ps(<4 x float> noundef %43, <4 x float> noundef %40)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 4
  %45 = icmp ult i64 %indvars.iv.next, %11
  br i1 %45, label %12, label %._crit_edge, !llvm.loop !12

._crit_edge:                                      ; preds = %12, %3
  %.051.lcssa = phi <4 x float> [ %7, %3 ], [ %44, %12 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4
  call void @_mm_store_ps(ptr noundef nonnull %4, <4 x float> noundef %.051.lcssa)
  %46 = getelementptr inbounds i8, ptr %4, i64 8
  %47 = getelementptr inbounds i8, ptr %4, i64 4
  %48 = load <2 x float>, ptr %46, align 8, !tbaa !14
  %49 = load <2 x float>, ptr %4, align 16, !tbaa !14
  %50 = fadd <2 x float> %48, %49
  store <2 x float> %50, ptr %4, align 16, !tbaa !14
  %51 = shl nuw i32 %9, 2
  %52 = icmp ult i32 %51, %6
  %53 = extractelement <2 x float> %50, i64 0
  %54 = extractelement <2 x float> %50, i64 1
  br i1 %52, label %.lr.ph58, label %._crit_edge59

.lr.ph58:                                         ; preds = %._crit_edge
  %55 = getelementptr inbounds i8, ptr %0, i64 8
  %56 = load ptr, ptr %55, align 8, !tbaa !11
  %57 = zext i32 %6 to i64
  %58 = and i64 %57, 4294967280
  br label %59

59:                                               ; preds = %.lr.ph58, %59
  %indvars.iv61 = phi i64 [ %58, %.lr.ph58 ], [ %indvars.iv.next62, %59 ]
  %60 = phi <2 x float> [ %50, %.lr.ph58 ], [ %76, %59 ]
  %61 = getelementptr inbounds float, ptr %1, i64 %indvars.iv61
  %62 = load float, ptr %61, align 4, !tbaa !14
  %63 = getelementptr inbounds float, ptr %56, i64 %indvars.iv61
  %64 = load float, ptr %63, align 4, !tbaa !14
  %65 = or disjoint i64 %indvars.iv61, 1
  %66 = getelementptr inbounds float, ptr %1, i64 %65
  %67 = load float, ptr %66, align 4, !tbaa !14
  %68 = getelementptr inbounds float, ptr %56, i64 %65
  %69 = extractelement <2 x float> %60, i64 0
  %70 = call float @llvm.fmuladd.f32(float %62, float %64, float %69)
  store float %70, ptr %4, align 16, !tbaa !14
  %71 = load float, ptr %68, align 4, !tbaa !14
  %72 = extractelement <2 x float> %60, i64 1
  %73 = call float @llvm.fmuladd.f32(float %67, float %71, float %72)
  store float %73, ptr %47, align 4, !tbaa !14
  %indvars.iv.next62 = add nuw nsw i64 %indvars.iv61, 2
  %74 = icmp ult i64 %indvars.iv.next62, %57
  %75 = insertelement <2 x float> poison, float %70, i64 0
  %76 = insertelement <2 x float> %75, float %73, i64 1
  br i1 %74, label %59, label %._crit_edge59, !llvm.loop !16

._crit_edge59:                                    ; preds = %59, %._crit_edge
  %77 = phi float [ %54, %._crit_edge ], [ %73, %59 ]
  %78 = phi float [ %53, %._crit_edge ], [ %70, %59 ]
  %79 = fmul float %77, 0.000000e+00
  %80 = fadd float %78, %79
  %81 = getelementptr inbounds i8, ptr %2, i64 4
  store float %80, ptr %2, align 4
  store float %77, ptr %81, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4
  ret i32 0
}

; Function Attrs: alwaysinline nounwind uwtable
declare hidden <4 x float> @_mm_setzero_ps() local_unnamed_addr #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden <4 x float> @_mm_loadu_ps(ptr noundef) local_unnamed_addr #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden <4 x float> @_mm_load_ps(ptr noundef) local_unnamed_addr #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden <4 x float> @_mm_mul_ps(<4 x float> noundef, <4 x float> noundef) local_unnamed_addr #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden <4 x float> @_mm_add_ps(<4 x float> noundef, <4 x float> noundef) local_unnamed_addr #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @_mm_store_ps(ptr noundef, <4 x float> noundef) local_unnamed_addr #2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="128" "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 = { alwaysinline nounwind uwtable "min-legal-vector-width"="128" "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 }

!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, !7, i64 0}
!6 = !{!"dotprod_crcf_s", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !15, i64 0}
!15 = !{!"float", !8, i64 0}
!16 = distinct !{!16, !13}


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