; LLVM IR from kacperks/Fractal_Engine :: Engine/Thirdparty/cmake/Engine/Thirdparty/cmake/openal-soft/core (bs2b)

; 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.bs2b = type { i32, i32, float, float, float, float, float, [2 x %"struct.bs2b::t_last_sample"] }
%"struct.bs2b::t_last_sample" = type { float, float }

; 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: mustprogress uwtable
define dso_local void @_Z15bs2b_cross_feedP4bs2bPfS1_m(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #1 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca [128 x [2 x float]], align 16
  %15 = alloca [128 x [2 x float]], align 16
  %16 = alloca i64, align 8
  %17 = alloca i32, align 4
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store i64 %3, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.bs2b, ptr %27, i32 0, i32 2
  %29 = load float, ptr %28, align 4, !tbaa !11
  store float %29, ptr %9, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.bs2b, ptr %30, i32 0, i32 3
  %32 = load float, ptr %31, align 4, !tbaa !16
  store float %32, ptr %10, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.bs2b, ptr %33, i32 0, i32 4
  %35 = load float, ptr %34, align 4, !tbaa !17
  store float %35, ptr %11, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.bs2b, ptr %36, i32 0, i32 5
  %38 = load float, ptr %37, align 4, !tbaa !18
  store float %38, ptr %12, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.bs2b, ptr %39, i32 0, i32 6
  %41 = load float, ptr %40, align 4, !tbaa !19
  store float %41, ptr %13, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1024, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 1024, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  store i64 0, ptr %16, align 8, !tbaa !9
  br label %42

42:                                               ; preds = %230, %4
  %43 = load i64, ptr %16, align 8, !tbaa !9
  %44 = load i64, ptr %8, align 8, !tbaa !9
  %45 = icmp ult i64 %43, %44
  br i1 %45, label %47, label %46

46:                                               ; preds = %42
  store i32 2, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  br label %234

47:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  store i64 128, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  %48 = load i64, ptr %8, align 8, !tbaa !9
  %49 = load i64, ptr %16, align 8, !tbaa !9
  %50 = sub i64 %48, %49
  store i64 %50, ptr %20, align 8, !tbaa !9
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20)
  %52 = load i64, ptr %51, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  store i64 %52, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.bs2b, ptr %53, i32 0, i32 7
  %55 = getelementptr inbounds [2 x %"struct.bs2b::t_last_sample"], ptr %54, i64 0, i64 0
  %56 = getelementptr inbounds %"struct.bs2b::t_last_sample", ptr %55, i32 0, i32 0
  %57 = load float, ptr %56, align 4, !tbaa !20
  store float %57, ptr %21, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.bs2b, ptr %58, i32 0, i32 7
  %60 = getelementptr inbounds [2 x %"struct.bs2b::t_last_sample"], ptr %59, i64 0, i64 0
  %61 = getelementptr inbounds %"struct.bs2b::t_last_sample", ptr %60, i32 0, i32 1
  %62 = load float, ptr %61, align 4, !tbaa !22
  store float %62, ptr %22, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  store i64 0, ptr %23, align 8, !tbaa !9
  br label %63

63:                                               ; preds = %107, %47
  %64 = load i64, ptr %23, align 8, !tbaa !9
  %65 = load i64, ptr %18, align 8, !tbaa !9
  %66 = icmp ult i64 %64, %65
  br i1 %66, label %68, label %67

67:                                               ; preds = %63
  store i32 4, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  br label %110

68:                                               ; preds = %63
  %69 = load float, ptr %9, align 4, !tbaa !15
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = load i64, ptr %23, align 8, !tbaa !9
  %72 = getelementptr inbounds float, ptr %70, i64 %71
  %73 = load float, ptr %72, align 4, !tbaa !15
  %74 = load float, ptr %21, align 4, !tbaa !15
  %75 = call float @llvm.fmuladd.f32(float %69, float %73, float %74)
  %76 = load i64, ptr %23, align 8, !tbaa !9
  %77 = getelementptr inbounds [128 x [2 x float]], ptr %14, i64 0, i64 %76
  %78 = getelementptr inbounds [2 x float], ptr %77, i64 0, i64 0
  store float %75, ptr %78, align 8, !tbaa !15
  %79 = load float, ptr %10, align 4, !tbaa !15
  %80 = load i64, ptr %23, align 8, !tbaa !9
  %81 = getelementptr inbounds [128 x [2 x float]], ptr %14, i64 0, i64 %80
  %82 = getelementptr inbounds [2 x float], ptr %81, i64 0, i64 0
  %83 = load float, ptr %82, align 8, !tbaa !15
  %84 = fmul float %79, %83
  store float %84, ptr %21, align 4, !tbaa !15
  %85 = load float, ptr %11, align 4, !tbaa !15
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = load i64, ptr %23, align 8, !tbaa !9
  %88 = getelementptr inbounds float, ptr %86, i64 %87
  %89 = load float, ptr %88, align 4, !tbaa !15
  %90 = load float, ptr %22, align 4, !tbaa !15
  %91 = call float @llvm.fmuladd.f32(float %85, float %89, float %90)
  %92 = load i64, ptr %23, align 8, !tbaa !9
  %93 = getelementptr inbounds [128 x [2 x float]], ptr %14, i64 0, i64 %92
  %94 = getelementptr inbounds [2 x float], ptr %93, i64 0, i64 1
  store float %91, ptr %94, align 4, !tbaa !15
  %95 = load float, ptr %12, align 4, !tbaa !15
  %96 = load ptr, ptr %6, align 8, !tbaa !5
  %97 = load i64, ptr %23, align 8, !tbaa !9
  %98 = getelementptr inbounds float, ptr %96, i64 %97
  %99 = load float, ptr %98, align 4, !tbaa !15
  %100 = load float, ptr %13, align 4, !tbaa !15
  %101 = load i64, ptr %23, align 8, !tbaa !9
  %102 = getelementptr inbounds [128 x [2 x float]], ptr %14, i64 0, i64 %101
  %103 = getelementptr inbounds [2 x float], ptr %102, i64 0, i64 1
  %104 = load float, ptr %103, align 4, !tbaa !15
  %105 = fmul float %100, %104
  %106 = call float @llvm.fmuladd.f32(float %95, float %99, float %105)
  store float %106, ptr %22, align 4, !tbaa !15
  br label %107

107:                                              ; preds = %68
  %108 = load i64, ptr %23, align 8, !tbaa !9
  %109 = add i64 %108, 1
  store i64 %109, ptr %23, align 8, !tbaa !9
  br label %63, !llvm.loop !23

110:                                              ; preds = %67
  %111 = load float, ptr %21, align 4, !tbaa !15
  %112 = load ptr, ptr %5, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.bs2b, ptr %112, i32 0, i32 7
  %114 = getelementptr inbounds [2 x %"struct.bs2b::t_last_sample"], ptr %113, i64 0, i64 0
  %115 = getelementptr inbounds %"struct.bs2b::t_last_sample", ptr %114, i32 0, i32 0
  store float %111, ptr %115, align 4, !tbaa !20
  %116 = load float, ptr %22, align 4, !tbaa !15
  %117 = load ptr, ptr %5, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.bs2b, ptr %117, i32 0, i32 7
  %119 = getelementptr inbounds [2 x %"struct.bs2b::t_last_sample"], ptr %118, i64 0, i64 0
  %120 = getelementptr inbounds %"struct.bs2b::t_last_sample", ptr %119, i32 0, i32 1
  store float %116, ptr %120, align 4, !tbaa !22
  %121 = load ptr, ptr %5, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.bs2b, ptr %121, i32 0, i32 7
  %123 = getelementptr inbounds [2 x %"struct.bs2b::t_last_sample"], ptr %122, i64 0, i64 1
  %124 = getelementptr inbounds %"struct.bs2b::t_last_sample", ptr %123, i32 0, i32 0
  %125 = load float, ptr %124, align 4, !tbaa !20
  store float %125, ptr %21, align 4, !tbaa !15
  %126 = load ptr, ptr %5, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.bs2b, ptr %126, i32 0, i32 7
  %128 = getelementptr inbounds [2 x %"struct.bs2b::t_last_sample"], ptr %127, i64 0, i64 1
  %129 = getelementptr inbounds %"struct.bs2b::t_last_sample", ptr %128, i32 0, i32 1
  %130 = load float, ptr %129, align 4, !tbaa !22
  store float %130, ptr %22, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  store i64 0, ptr %24, align 8, !tbaa !9
  br label %131

131:                                              ; preds = %175, %110
  %132 = load i64, ptr %24, align 8, !tbaa !9
  %133 = load i64, ptr %18, align 8, !tbaa !9
  %134 = icmp ult i64 %132, %133
  br i1 %134, label %136, label %135

135:                                              ; preds = %131
  store i32 7, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  br label %178

136:                                              ; preds = %131
  %137 = load float, ptr %9, align 4, !tbaa !15
  %138 = load ptr, ptr %7, align 8, !tbaa !5
  %139 = load i64, ptr %24, align 8, !tbaa !9
  %140 = getelementptr inbounds float, ptr %138, i64 %139
  %141 = load float, ptr %140, align 4, !tbaa !15
  %142 = load float, ptr %21, align 4, !tbaa !15
  %143 = call float @llvm.fmuladd.f32(float %137, float %141, float %142)
  %144 = load i64, ptr %24, align 8, !tbaa !9
  %145 = getelementptr inbounds [128 x [2 x float]], ptr %15, i64 0, i64 %144
  %146 = getelementptr inbounds [2 x float], ptr %145, i64 0, i64 0
  store float %143, ptr %146, align 8, !tbaa !15
  %147 = load float, ptr %10, align 4, !tbaa !15
  %148 = load i64, ptr %24, align 8, !tbaa !9
  %149 = getelementptr inbounds [128 x [2 x float]], ptr %15, i64 0, i64 %148
  %150 = getelementptr inbounds [2 x float], ptr %149, i64 0, i64 0
  %151 = load float, ptr %150, align 8, !tbaa !15
  %152 = fmul float %147, %151
  store float %152, ptr %21, align 4, !tbaa !15
  %153 = load float, ptr %11, align 4, !tbaa !15
  %154 = load ptr, ptr %7, align 8, !tbaa !5
  %155 = load i64, ptr %24, align 8, !tbaa !9
  %156 = getelementptr inbounds float, ptr %154, i64 %155
  %157 = load float, ptr %156, align 4, !tbaa !15
  %158 = load float, ptr %22, align 4, !tbaa !15
  %159 = call float @llvm.fmuladd.f32(float %153, float %157, float %158)
  %160 = load i64, ptr %24, align 8, !tbaa !9
  %161 = getelementptr inbounds [128 x [2 x float]], ptr %15, i64 0, i64 %160
  %162 = getelementptr inbounds [2 x float], ptr %161, i64 0, i64 1
  store float %159, ptr %162, align 4, !tbaa !15
  %163 = load float, ptr %12, align 4, !tbaa !15
  %164 = load ptr, ptr %7, align 8, !tbaa !5
  %165 = load i64, ptr %24, align 8, !tbaa !9
  %166 = getelementptr inbounds float, ptr %164, i64 %165
  %167 = load float, ptr %166, align 4, !tbaa !15
  %168 = load float, ptr %13, align 4, !tbaa !15
  %169 = load i64, ptr %24, align 8, !tbaa !9
  %170 = getelementptr inbounds [128 x [2 x float]], ptr %15, i64 0, i64 %169
  %171 = getelementptr inbounds [2 x float], ptr %170, i64 0, i64 1
  %172 = load float, ptr %171, align 4, !tbaa !15
  %173 = fmul float %168, %172
  %174 = call float @llvm.fmuladd.f32(float %163, float %167, float %173)
  store float %174, ptr %22, align 4, !tbaa !15
  br label %175

175:                                              ; preds = %136
  %176 = load i64, ptr %24, align 8, !tbaa !9
  %177 = add i64 %176, 1
  store i64 %177, ptr %24, align 8, !tbaa !9
  br label %131, !llvm.loop !25

178:                                              ; preds = %135
  %179 = load float, ptr %21, align 4, !tbaa !15
  %180 = load ptr, ptr %5, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.bs2b, ptr %180, i32 0, i32 7
  %182 = getelementptr inbounds [2 x %"struct.bs2b::t_last_sample"], ptr %181, i64 0, i64 1
  %183 = getelementptr inbounds %"struct.bs2b::t_last_sample", ptr %182, i32 0, i32 0
  store float %179, ptr %183, align 4, !tbaa !20
  %184 = load float, ptr %22, align 4, !tbaa !15
  %185 = load ptr, ptr %5, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.bs2b, ptr %185, i32 0, i32 7
  %187 = getelementptr inbounds [2 x %"struct.bs2b::t_last_sample"], ptr %186, i64 0, i64 1
  %188 = getelementptr inbounds %"struct.bs2b::t_last_sample", ptr %187, i32 0, i32 1
  store float %184, ptr %188, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  store i64 0, ptr %25, align 8, !tbaa !9
  br label %189

189:                                              ; preds = %206, %178
  %190 = load i64, ptr %25, align 8, !tbaa !9
  %191 = load i64, ptr %18, align 8, !tbaa !9
  %192 = icmp ult i64 %190, %191
  br i1 %192, label %194, label %193

193:                                              ; preds = %189
  store i32 10, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  br label %209

194:                                              ; preds = %189
  %195 = load i64, ptr %25, align 8, !tbaa !9
  %196 = getelementptr inbounds [128 x [2 x float]], ptr %14, i64 0, i64 %195
  %197 = getelementptr inbounds [2 x float], ptr %196, i64 0, i64 1
  %198 = load float, ptr %197, align 4, !tbaa !15
  %199 = load i64, ptr %25, align 8, !tbaa !9
  %200 = getelementptr inbounds [128 x [2 x float]], ptr %15, i64 0, i64 %199
  %201 = getelementptr inbounds [2 x float], ptr %200, i64 0, i64 0
  %202 = load float, ptr %201, align 8, !tbaa !15
  %203 = fadd float %198, %202
  %204 = load ptr, ptr %6, align 8, !tbaa !5
  %205 = getelementptr inbounds float, ptr %204, i32 1
  store ptr %205, ptr %6, align 8, !tbaa !5
  store float %203, ptr %204, align 4, !tbaa !15
  br label %206

206:                                              ; preds = %194
  %207 = load i64, ptr %25, align 8, !tbaa !9
  %208 = add i64 %207, 1
  store i64 %208, ptr %25, align 8, !tbaa !9
  br label %189, !llvm.loop !26

209:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #4
  store i64 0, ptr %26, align 8, !tbaa !9
  br label %210

210:                                              ; preds = %227, %209
  %211 = load i64, ptr %26, align 8, !tbaa !9
  %212 = load i64, ptr %18, align 8, !tbaa !9
  %213 = icmp ult i64 %211, %212
  br i1 %213, label %215, label %214

214:                                              ; preds = %210
  store i32 13, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  br label %230

215:                                              ; preds = %210
  %216 = load i64, ptr %26, align 8, !tbaa !9
  %217 = getelementptr inbounds [128 x [2 x float]], ptr %15, i64 0, i64 %216
  %218 = getelementptr inbounds [2 x float], ptr %217, i64 0, i64 1
  %219 = load float, ptr %218, align 4, !tbaa !15
  %220 = load i64, ptr %26, align 8, !tbaa !9
  %221 = getelementptr inbounds [128 x [2 x float]], ptr %14, i64 0, i64 %220
  %222 = getelementptr inbounds [2 x float], ptr %221, i64 0, i64 0
  %223 = load float, ptr %222, align 8, !tbaa !15
  %224 = fadd float %219, %223
  %225 = load ptr, ptr %7, align 8, !tbaa !5
  %226 = getelementptr inbounds float, ptr %225, i32 1
  store ptr %226, ptr %7, align 8, !tbaa !5
  store float %224, ptr %225, align 4, !tbaa !15
  br label %227

227:                                              ; preds = %215
  %228 = load i64, ptr %26, align 8, !tbaa !9
  %229 = add i64 %228, 1
  store i64 %229, ptr %26, align 8, !tbaa !9
  br label %210, !llvm.loop !27

230:                                              ; preds = %214
  %231 = load i64, ptr %18, align 8, !tbaa !9
  %232 = load i64, ptr %16, align 8, !tbaa !9
  %233 = add i64 %232, %231
  store i64 %233, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  br label %42, !llvm.loop !28

234:                                              ; preds = %46
  call void @llvm.lifetime.end.p0(i64 1024, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 1024, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #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 = { mustprogress 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 = { inlinehint mustprogress 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !14, i64 8}
!12 = !{!"_ZTS4bs2b", !13, i64 0, !13, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !7, i64 28}
!13 = !{!"int", !7, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!12, !14, i64 12}
!17 = !{!12, !14, i64 16}
!18 = !{!12, !14, i64 20}
!19 = !{!12, !14, i64 24}
!20 = !{!21, !14, i64 0}
!21 = !{!"_ZTSN4bs2b13t_last_sampleE", !14, i64 0, !14, i64 4}
!22 = !{!21, !14, i64 4}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = distinct !{!26, !24}
!27 = distinct !{!27, !24}
!28 = distinct !{!28, !24}


; 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: mustprogress nounwind uwtable
define dso_local void @_Z15bs2b_cross_feedP4bs2bPfS1_m(ptr nocapture noundef %0, ptr nocapture noundef %1, ptr nocapture noundef %2, i64 noundef %3) local_unnamed_addr #1 {
  %5 = alloca [128 x [2 x float]], align 16
  %6 = alloca [128 x [2 x float]], align 16
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = getelementptr inbounds i8, ptr %0, i64 8
  %10 = load float, ptr %9, align 4, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %0, i64 12
  %12 = load float, ptr %11, align 4, !tbaa !11
  %13 = getelementptr inbounds i8, ptr %0, i64 16
  %14 = load float, ptr %13, align 4, !tbaa !12
  %15 = getelementptr inbounds i8, ptr %0, i64 20
  %16 = load float, ptr %15, align 4, !tbaa !13
  %17 = getelementptr inbounds i8, ptr %0, i64 24
  %18 = load float, ptr %17, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %6) #4
  %.not = icmp eq i64 %3, 0
  br i1 %.not, label %._crit_edge114, label %.lr.ph113

.lr.ph113:                                        ; preds = %4
  %19 = getelementptr inbounds i8, ptr %0, i64 28
  %20 = getelementptr inbounds i8, ptr %0, i64 32
  %21 = getelementptr inbounds i8, ptr %0, i64 36
  %22 = getelementptr inbounds i8, ptr %0, i64 40
  %scevgep143 = getelementptr inbounds i8, ptr %6, i64 4
  %scevgep145 = getelementptr i8, ptr %5, i64 -4
  %scevgep154 = getelementptr inbounds i8, ptr %5, i64 4
  %scevgep156 = getelementptr i8, ptr %6, i64 -4
  br label %23

._crit_edge114:                                   ; preds = %._crit_edge107, %4
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %5) #4
  ret void

23:                                               ; preds = %.lr.ph113, %._crit_edge107
  %.080111 = phi ptr [ %1, %.lr.ph113 ], [ %.181.lcssa132, %._crit_edge107 ]
  %.082110 = phi i64 [ 0, %.lr.ph113 ], [ %225, %._crit_edge107 ]
  %.083109 = phi ptr [ %2, %.lr.ph113 ], [ %.184.lcssa, %._crit_edge107 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  store i64 128, ptr %7, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  %24 = sub i64 %3, %.082110
  store i64 %24, ptr %8, align 8, !tbaa !15
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %26 = load i64, ptr %25, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  %.not115 = icmp eq i64 %26, 0
  br i1 %.not115, label %._crit_edge107, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %23
  %27 = load float, ptr %20, align 4, !tbaa !17
  %28 = load float, ptr %19, align 4, !tbaa !19
  br label %.lr.ph

.lr.ph95.preheader:                               ; preds = %.lr.ph
  store float %35, ptr %19, align 4, !tbaa !19
  store float %41, ptr %20, align 4, !tbaa !17
  %29 = load float, ptr %21, align 4, !tbaa !19
  %30 = load float, ptr %22, align 4, !tbaa !17
  br label %.lr.ph95

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %.07689 = phi i64 [ %42, %.lr.ph ], [ 0, %.lr.ph.preheader ]
  %.07788 = phi float [ %41, %.lr.ph ], [ %27, %.lr.ph.preheader ]
  %.07887 = phi float [ %35, %.lr.ph ], [ %28, %.lr.ph.preheader ]
  %31 = getelementptr inbounds float, ptr %.080111, i64 %.07689
  %32 = load float, ptr %31, align 4, !tbaa !20
  %33 = call float @llvm.fmuladd.f32(float %10, float %32, float %.07887)
  %34 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %.07689
  store float %33, ptr %34, align 8, !tbaa !20
  %35 = fmul float %12, %33
  %36 = load float, ptr %31, align 4, !tbaa !20
  %37 = call float @llvm.fmuladd.f32(float %14, float %36, float %.07788)
  %38 = getelementptr inbounds i8, ptr %34, i64 4
  store float %37, ptr %38, align 4, !tbaa !20
  %39 = load float, ptr %31, align 4, !tbaa !20
  %40 = fmul float %18, %37
  %41 = call float @llvm.fmuladd.f32(float %16, float %39, float %40)
  %42 = add nuw i64 %.07689, 1
  %exitcond.not = icmp eq i64 %42, %26
  br i1 %exitcond.not, label %.lr.ph95.preheader, label %.lr.ph, !llvm.loop !21

.lr.ph102.preheader:                              ; preds = %.lr.ph95
  store float %118, ptr %21, align 4, !tbaa !19
  store float %124, ptr %22, align 4, !tbaa !17
  %min.iters.check167 = icmp ult i64 %26, 8
  br i1 %min.iters.check167, label %.lr.ph102.preheader182, label %vector.memcheck152

.lr.ph102.preheader182:                           ; preds = %middle.block165, %vector.memcheck152, %.lr.ph102.preheader
  %.074100.ph = phi i64 [ 0, %vector.memcheck152 ], [ 0, %.lr.ph102.preheader ], [ %n.vec170, %middle.block165 ]
  %.18199.ph = phi ptr [ %.080111, %vector.memcheck152 ], [ %.080111, %.lr.ph102.preheader ], [ %ind.end172, %middle.block165 ]
  %xtraiter = and i64 %26, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph102.prol.loopexit, label %.lr.ph102.prol

.lr.ph102.prol:                                   ; preds = %.lr.ph102.preheader182, %.lr.ph102.prol
  %.074100.prol = phi i64 [ %49, %.lr.ph102.prol ], [ %.074100.ph, %.lr.ph102.preheader182 ]
  %.18199.prol = phi ptr [ %48, %.lr.ph102.prol ], [ %.18199.ph, %.lr.ph102.preheader182 ]
  %prol.iter = phi i64 [ %prol.iter.next, %.lr.ph102.prol ], [ 0, %.lr.ph102.preheader182 ]
  %43 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %.074100.prol, i64 1
  %44 = load float, ptr %43, align 4, !tbaa !20
  %45 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %.074100.prol
  %46 = load float, ptr %45, align 8, !tbaa !20
  %47 = fadd float %44, %46
  %48 = getelementptr inbounds i8, ptr %.18199.prol, i64 4
  store float %47, ptr %.18199.prol, align 4, !tbaa !20
  %49 = add nuw i64 %.074100.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %.lr.ph102.prol.loopexit, label %.lr.ph102.prol, !llvm.loop !23

.lr.ph102.prol.loopexit:                          ; preds = %.lr.ph102.prol, %.lr.ph102.preheader182
  %.lcssa186.unr = phi ptr [ poison, %.lr.ph102.preheader182 ], [ %48, %.lr.ph102.prol ]
  %.074100.unr = phi i64 [ %.074100.ph, %.lr.ph102.preheader182 ], [ %49, %.lr.ph102.prol ]
  %.18199.unr = phi ptr [ %.18199.ph, %.lr.ph102.preheader182 ], [ %48, %.lr.ph102.prol ]
  %50 = sub i64 %.074100.ph, %26
  %51 = icmp ugt i64 %50, -4
  br i1 %51, label %.lr.ph106.preheader, label %.lr.ph102

vector.memcheck152:                               ; preds = %.lr.ph102.preheader
  %52 = shl i64 %26, 2
  %scevgep153 = getelementptr i8, ptr %.080111, i64 %52
  %53 = shl i64 %26, 3
  %scevgep155 = getelementptr i8, ptr %5, i64 %53
  %scevgep157 = getelementptr i8, ptr %scevgep156, i64 %53
  %bound0158 = icmp ult ptr %.080111, %scevgep155
  %bound1159 = icmp ult ptr %scevgep154, %scevgep153
  %found.conflict160 = and i1 %bound0158, %bound1159
  %bound0161 = icmp ult ptr %.080111, %scevgep157
  %bound1162 = icmp ult ptr %6, %scevgep153
  %found.conflict163 = and i1 %bound0161, %bound1162
  %conflict.rdx164 = or i1 %found.conflict160, %found.conflict163
  br i1 %conflict.rdx164, label %.lr.ph102.preheader182, label %vector.ph168

vector.ph168:                                     ; preds = %vector.memcheck152
  %n.vec170 = and i64 %26, -8
  %54 = shl i64 %n.vec170, 2
  %ind.end172 = getelementptr i8, ptr %.080111, i64 %54
  br label %vector.body174

vector.body174:                                   ; preds = %vector.body174, %vector.ph168
  %index175 = phi i64 [ 0, %vector.ph168 ], [ %index.next179, %vector.body174 ]
  %55 = or disjoint i64 %index175, 1
  %56 = or disjoint i64 %index175, 2
  %57 = or disjoint i64 %index175, 3
  %58 = or disjoint i64 %index175, 4
  %59 = or disjoint i64 %index175, 5
  %60 = or disjoint i64 %index175, 6
  %61 = or disjoint i64 %index175, 7
  %offset.idx176 = shl i64 %index175, 2
  %next.gep177 = getelementptr i8, ptr %.080111, i64 %offset.idx176
  %62 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %index175, i64 1
  %63 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %55, i64 1
  %64 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %56, i64 1
  %65 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %57, i64 1
  %66 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %58, i64 1
  %67 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %59, i64 1
  %68 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %60, i64 1
  %69 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %61, i64 1
  %70 = load float, ptr %62, align 4, !tbaa !20, !alias.scope !25
  %71 = load float, ptr %63, align 4, !tbaa !20, !alias.scope !25
  %72 = load float, ptr %64, align 4, !tbaa !20, !alias.scope !25
  %73 = load float, ptr %65, align 4, !tbaa !20, !alias.scope !25
  %74 = insertelement <4 x float> poison, float %70, i64 0
  %75 = insertelement <4 x float> %74, float %71, i64 1
  %76 = insertelement <4 x float> %75, float %72, i64 2
  %77 = insertelement <4 x float> %76, float %73, i64 3
  %78 = load float, ptr %66, align 4, !tbaa !20, !alias.scope !25
  %79 = load float, ptr %67, align 4, !tbaa !20, !alias.scope !25
  %80 = load float, ptr %68, align 4, !tbaa !20, !alias.scope !25
  %81 = load float, ptr %69, align 4, !tbaa !20, !alias.scope !25
  %82 = insertelement <4 x float> poison, float %78, i64 0
  %83 = insertelement <4 x float> %82, float %79, i64 1
  %84 = insertelement <4 x float> %83, float %80, i64 2
  %85 = insertelement <4 x float> %84, float %81, i64 3
  %86 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %index175
  %87 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %55
  %88 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %56
  %89 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %57
  %90 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %58
  %91 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %59
  %92 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %60
  %93 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %61
  %94 = load float, ptr %86, align 16, !tbaa !20, !alias.scope !28
  %95 = load float, ptr %87, align 8, !tbaa !20, !alias.scope !28
  %96 = load float, ptr %88, align 16, !tbaa !20, !alias.scope !28
  %97 = load float, ptr %89, align 8, !tbaa !20, !alias.scope !28
  %98 = insertelement <4 x float> poison, float %94, i64 0
  %99 = insertelement <4 x float> %98, float %95, i64 1
  %100 = insertelement <4 x float> %99, float %96, i64 2
  %101 = insertelement <4 x float> %100, float %97, i64 3
  %102 = load float, ptr %90, align 16, !tbaa !20, !alias.scope !28
  %103 = load float, ptr %91, align 8, !tbaa !20, !alias.scope !28
  %104 = load float, ptr %92, align 16, !tbaa !20, !alias.scope !28
  %105 = load float, ptr %93, align 8, !tbaa !20, !alias.scope !28
  %106 = insertelement <4 x float> poison, float %102, i64 0
  %107 = insertelement <4 x float> %106, float %103, i64 1
  %108 = insertelement <4 x float> %107, float %104, i64 2
  %109 = insertelement <4 x float> %108, float %105, i64 3
  %110 = fadd <4 x float> %77, %101
  %111 = fadd <4 x float> %85, %109
  %112 = getelementptr i8, ptr %next.gep177, i64 16
  store <4 x float> %110, ptr %next.gep177, align 4, !tbaa !20, !alias.scope !30, !noalias !32
  store <4 x float> %111, ptr %112, align 4, !tbaa !20, !alias.scope !30, !noalias !32
  %index.next179 = add nuw i64 %index175, 8
  %113 = icmp eq i64 %index.next179, %n.vec170
  br i1 %113, label %middle.block165, label %vector.body174, !llvm.loop !33

middle.block165:                                  ; preds = %vector.body174
  %cmp.n180 = icmp eq i64 %26, %n.vec170
  br i1 %cmp.n180, label %.lr.ph106.preheader, label %.lr.ph102.preheader182

.lr.ph95:                                         ; preds = %.lr.ph95.preheader, %.lr.ph95
  %.07593 = phi i64 [ %125, %.lr.ph95 ], [ 0, %.lr.ph95.preheader ]
  %.192 = phi float [ %124, %.lr.ph95 ], [ %30, %.lr.ph95.preheader ]
  %.17991 = phi float [ %118, %.lr.ph95 ], [ %29, %.lr.ph95.preheader ]
  %114 = getelementptr inbounds float, ptr %.083109, i64 %.07593
  %115 = load float, ptr %114, align 4, !tbaa !20
  %116 = call float @llvm.fmuladd.f32(float %10, float %115, float %.17991)
  %117 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %.07593
  store float %116, ptr %117, align 8, !tbaa !20
  %118 = fmul float %12, %116
  %119 = load float, ptr %114, align 4, !tbaa !20
  %120 = call float @llvm.fmuladd.f32(float %14, float %119, float %.192)
  %121 = getelementptr inbounds i8, ptr %117, i64 4
  store float %120, ptr %121, align 4, !tbaa !20
  %122 = load float, ptr %114, align 4, !tbaa !20
  %123 = fmul float %18, %120
  %124 = call float @llvm.fmuladd.f32(float %16, float %122, float %123)
  %125 = add nuw i64 %.07593, 1
  %exitcond124.not = icmp eq i64 %125, %26
  br i1 %exitcond124.not, label %.lr.ph102.preheader, label %.lr.ph95, !llvm.loop !36

.lr.ph106.preheader:                              ; preds = %.lr.ph102.prol.loopexit, %.lr.ph102, %middle.block165
  %.lcssa141 = phi ptr [ %ind.end172, %middle.block165 ], [ %.lcssa186.unr, %.lr.ph102.prol.loopexit ], [ %223, %.lr.ph102 ]
  %min.iters.check = icmp ult i64 %26, 8
  br i1 %min.iters.check, label %.lr.ph106.preheader181, label %vector.memcheck

.lr.ph106.preheader181:                           ; preds = %middle.block, %vector.memcheck, %.lr.ph106.preheader
  %.0105.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.lr.ph106.preheader ], [ %n.vec, %middle.block ]
  %.184104.ph = phi ptr [ %.083109, %vector.memcheck ], [ %.083109, %.lr.ph106.preheader ], [ %ind.end, %middle.block ]
  %xtraiter188 = and i64 %26, 3
  %lcmp.mod189.not = icmp eq i64 %xtraiter188, 0
  br i1 %lcmp.mod189.not, label %.lr.ph106.prol.loopexit, label %.lr.ph106.prol

.lr.ph106.prol:                                   ; preds = %.lr.ph106.preheader181, %.lr.ph106.prol
  %.0105.prol = phi i64 [ %132, %.lr.ph106.prol ], [ %.0105.ph, %.lr.ph106.preheader181 ]
  %.184104.prol = phi ptr [ %131, %.lr.ph106.prol ], [ %.184104.ph, %.lr.ph106.preheader181 ]
  %prol.iter190 = phi i64 [ %prol.iter190.next, %.lr.ph106.prol ], [ 0, %.lr.ph106.preheader181 ]
  %126 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %.0105.prol, i64 1
  %127 = load float, ptr %126, align 4, !tbaa !20
  %128 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %.0105.prol
  %129 = load float, ptr %128, align 8, !tbaa !20
  %130 = fadd float %127, %129
  %131 = getelementptr inbounds i8, ptr %.184104.prol, i64 4
  store float %130, ptr %.184104.prol, align 4, !tbaa !20
  %132 = add nuw i64 %.0105.prol, 1
  %prol.iter190.next = add i64 %prol.iter190, 1
  %prol.iter190.cmp.not = icmp eq i64 %prol.iter190.next, %xtraiter188
  br i1 %prol.iter190.cmp.not, label %.lr.ph106.prol.loopexit, label %.lr.ph106.prol, !llvm.loop !37

.lr.ph106.prol.loopexit:                          ; preds = %.lr.ph106.prol, %.lr.ph106.preheader181
  %.lcssa187.unr = phi ptr [ poison, %.lr.ph106.preheader181 ], [ %131, %.lr.ph106.prol ]
  %.0105.unr = phi i64 [ %.0105.ph, %.lr.ph106.preheader181 ], [ %132, %.lr.ph106.prol ]
  %.184104.unr = phi ptr [ %.184104.ph, %.lr.ph106.preheader181 ], [ %131, %.lr.ph106.prol ]
  %133 = sub i64 %.0105.ph, %26
  %134 = icmp ugt i64 %133, -4
  br i1 %134, label %._crit_edge107, label %.lr.ph106

vector.memcheck:                                  ; preds = %.lr.ph106.preheader
  %135 = shl i64 %26, 2
  %scevgep = getelementptr i8, ptr %.083109, i64 %135
  %136 = shl i64 %26, 3
  %scevgep144 = getelementptr i8, ptr %6, i64 %136
  %scevgep146 = getelementptr i8, ptr %scevgep145, i64 %136
  %bound0 = icmp ult ptr %.083109, %scevgep144
  %bound1 = icmp ult ptr %scevgep143, %scevgep
  %found.conflict = and i1 %bound0, %bound1
  %bound0147 = icmp ult ptr %.083109, %scevgep146
  %bound1148 = icmp ult ptr %5, %scevgep
  %found.conflict149 = and i1 %bound0147, %bound1148
  %conflict.rdx = or i1 %found.conflict, %found.conflict149
  br i1 %conflict.rdx, label %.lr.ph106.preheader181, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %26, -8
  %137 = shl i64 %n.vec, 2
  %ind.end = getelementptr i8, ptr %.083109, i64 %137
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %138 = or disjoint i64 %index, 1
  %139 = or disjoint i64 %index, 2
  %140 = or disjoint i64 %index, 3
  %141 = or disjoint i64 %index, 4
  %142 = or disjoint i64 %index, 5
  %143 = or disjoint i64 %index, 6
  %144 = or disjoint i64 %index, 7
  %offset.idx = shl i64 %index, 2
  %next.gep = getelementptr i8, ptr %.083109, i64 %offset.idx
  %145 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %index, i64 1
  %146 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %138, i64 1
  %147 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %139, i64 1
  %148 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %140, i64 1
  %149 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %141, i64 1
  %150 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %142, i64 1
  %151 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %143, i64 1
  %152 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %144, i64 1
  %153 = load float, ptr %145, align 4, !tbaa !20, !alias.scope !38
  %154 = load float, ptr %146, align 4, !tbaa !20, !alias.scope !38
  %155 = load float, ptr %147, align 4, !tbaa !20, !alias.scope !38
  %156 = load float, ptr %148, align 4, !tbaa !20, !alias.scope !38
  %157 = insertelement <4 x float> poison, float %153, i64 0
  %158 = insertelement <4 x float> %157, float %154, i64 1
  %159 = insertelement <4 x float> %158, float %155, i64 2
  %160 = insertelement <4 x float> %159, float %156, i64 3
  %161 = load float, ptr %149, align 4, !tbaa !20, !alias.scope !38
  %162 = load float, ptr %150, align 4, !tbaa !20, !alias.scope !38
  %163 = load float, ptr %151, align 4, !tbaa !20, !alias.scope !38
  %164 = load float, ptr %152, align 4, !tbaa !20, !alias.scope !38
  %165 = insertelement <4 x float> poison, float %161, i64 0
  %166 = insertelement <4 x float> %165, float %162, i64 1
  %167 = insertelement <4 x float> %166, float %163, i64 2
  %168 = insertelement <4 x float> %167, float %164, i64 3
  %169 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %index
  %170 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %138
  %171 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %139
  %172 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %140
  %173 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %141
  %174 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %142
  %175 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %143
  %176 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %144
  %177 = load float, ptr %169, align 16, !tbaa !20, !alias.scope !41
  %178 = load float, ptr %170, align 8, !tbaa !20, !alias.scope !41
  %179 = load float, ptr %171, align 16, !tbaa !20, !alias.scope !41
  %180 = load float, ptr %172, align 8, !tbaa !20, !alias.scope !41
  %181 = insertelement <4 x float> poison, float %177, i64 0
  %182 = insertelement <4 x float> %181, float %178, i64 1
  %183 = insertelement <4 x float> %182, float %179, i64 2
  %184 = insertelement <4 x float> %183, float %180, i64 3
  %185 = load float, ptr %173, align 16, !tbaa !20, !alias.scope !41
  %186 = load float, ptr %174, align 8, !tbaa !20, !alias.scope !41
  %187 = load float, ptr %175, align 16, !tbaa !20, !alias.scope !41
  %188 = load float, ptr %176, align 8, !tbaa !20, !alias.scope !41
  %189 = insertelement <4 x float> poison, float %185, i64 0
  %190 = insertelement <4 x float> %189, float %186, i64 1
  %191 = insertelement <4 x float> %190, float %187, i64 2
  %192 = insertelement <4 x float> %191, float %188, i64 3
  %193 = fadd <4 x float> %160, %184
  %194 = fadd <4 x float> %168, %192
  %195 = getelementptr i8, ptr %next.gep, i64 16
  store <4 x float> %193, ptr %next.gep, align 4, !tbaa !20, !alias.scope !43, !noalias !45
  store <4 x float> %194, ptr %195, align 4, !tbaa !20, !alias.scope !43, !noalias !45
  %index.next = add nuw i64 %index, 8
  %196 = icmp eq i64 %index.next, %n.vec
  br i1 %196, label %middle.block, label %vector.body, !llvm.loop !46

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %26, %n.vec
  br i1 %cmp.n, label %._crit_edge107, label %.lr.ph106.preheader181

.lr.ph102:                                        ; preds = %.lr.ph102.prol.loopexit, %.lr.ph102
  %.074100 = phi i64 [ %224, %.lr.ph102 ], [ %.074100.unr, %.lr.ph102.prol.loopexit ]
  %.18199 = phi ptr [ %223, %.lr.ph102 ], [ %.18199.unr, %.lr.ph102.prol.loopexit ]
  %197 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %.074100, i64 1
  %198 = load float, ptr %197, align 4, !tbaa !20
  %199 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %.074100
  %200 = load float, ptr %199, align 8, !tbaa !20
  %201 = fadd float %198, %200
  %202 = getelementptr inbounds i8, ptr %.18199, i64 4
  store float %201, ptr %.18199, align 4, !tbaa !20
  %203 = add nuw i64 %.074100, 1
  %204 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %203, i64 1
  %205 = load float, ptr %204, align 4, !tbaa !20
  %206 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %203
  %207 = load float, ptr %206, align 8, !tbaa !20
  %208 = fadd float %205, %207
  %209 = getelementptr inbounds i8, ptr %.18199, i64 8
  store float %208, ptr %202, align 4, !tbaa !20
  %210 = add nuw i64 %.074100, 2
  %211 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %210, i64 1
  %212 = load float, ptr %211, align 4, !tbaa !20
  %213 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %210
  %214 = load float, ptr %213, align 8, !tbaa !20
  %215 = fadd float %212, %214
  %216 = getelementptr inbounds i8, ptr %.18199, i64 12
  store float %215, ptr %209, align 4, !tbaa !20
  %217 = add nuw i64 %.074100, 3
  %218 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %217, i64 1
  %219 = load float, ptr %218, align 4, !tbaa !20
  %220 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %217
  %221 = load float, ptr %220, align 8, !tbaa !20
  %222 = fadd float %219, %221
  %223 = getelementptr inbounds i8, ptr %.18199, i64 16
  store float %222, ptr %216, align 4, !tbaa !20
  %224 = add nuw i64 %.074100, 4
  %exitcond125.not.3 = icmp eq i64 %224, %26
  br i1 %exitcond125.not.3, label %.lr.ph106.preheader, label %.lr.ph102, !llvm.loop !47

._crit_edge107:                                   ; preds = %.lr.ph106.prol.loopexit, %.lr.ph106, %middle.block, %23
  %.181.lcssa132 = phi ptr [ %.080111, %23 ], [ %.lcssa141, %middle.block ], [ %.lcssa141, %.lr.ph106 ], [ %.lcssa141, %.lr.ph106.prol.loopexit ]
  %.184.lcssa = phi ptr [ %.083109, %23 ], [ %ind.end, %middle.block ], [ %.lcssa187.unr, %.lr.ph106.prol.loopexit ], [ %253, %.lr.ph106 ]
  %225 = add i64 %26, %.082110
  %226 = icmp ult i64 %225, %3
  br i1 %226, label %23, label %._crit_edge114, !llvm.loop !48

.lr.ph106:                                        ; preds = %.lr.ph106.prol.loopexit, %.lr.ph106
  %.0105 = phi i64 [ %254, %.lr.ph106 ], [ %.0105.unr, %.lr.ph106.prol.loopexit ]
  %.184104 = phi ptr [ %253, %.lr.ph106 ], [ %.184104.unr, %.lr.ph106.prol.loopexit ]
  %227 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %.0105, i64 1
  %228 = load float, ptr %227, align 4, !tbaa !20
  %229 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %.0105
  %230 = load float, ptr %229, align 8, !tbaa !20
  %231 = fadd float %228, %230
  %232 = getelementptr inbounds i8, ptr %.184104, i64 4
  store float %231, ptr %.184104, align 4, !tbaa !20
  %233 = add nuw i64 %.0105, 1
  %234 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %233, i64 1
  %235 = load float, ptr %234, align 4, !tbaa !20
  %236 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %233
  %237 = load float, ptr %236, align 8, !tbaa !20
  %238 = fadd float %235, %237
  %239 = getelementptr inbounds i8, ptr %.184104, i64 8
  store float %238, ptr %232, align 4, !tbaa !20
  %240 = add nuw i64 %.0105, 2
  %241 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %240, i64 1
  %242 = load float, ptr %241, align 4, !tbaa !20
  %243 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %240
  %244 = load float, ptr %243, align 8, !tbaa !20
  %245 = fadd float %242, %244
  %246 = getelementptr inbounds i8, ptr %.184104, i64 12
  store float %245, ptr %239, align 4, !tbaa !20
  %247 = add nuw i64 %.0105, 3
  %248 = getelementptr inbounds [128 x [2 x float]], ptr %6, i64 0, i64 %247, i64 1
  %249 = load float, ptr %248, align 4, !tbaa !20
  %250 = getelementptr inbounds [128 x [2 x float]], ptr %5, i64 0, i64 %247
  %251 = load float, ptr %250, align 8, !tbaa !20
  %252 = fadd float %249, %251
  %253 = getelementptr inbounds i8, ptr %.184104, i64 16
  store float %252, ptr %246, align 4, !tbaa !20
  %254 = add nuw i64 %.0105, 4
  %exitcond126.not.3 = icmp eq i64 %254, %26
  br i1 %exitcond126.not.3, label %._crit_edge107, label %.lr.ph106, !llvm.loop !49
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minImERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) 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 = { mustprogress 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 = { inlinehint mustprogress 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 = { 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, !10, i64 8}
!6 = !{!"_ZTS4bs2b", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !8, i64 28}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"float", !8, i64 0}
!11 = !{!6, !10, i64 12}
!12 = !{!6, !10, i64 16}
!13 = !{!6, !10, i64 20}
!14 = !{!6, !10, i64 24}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = !{!18, !10, i64 4}
!18 = !{!"_ZTSN4bs2b13t_last_sampleE", !10, i64 0, !10, i64 4}
!19 = !{!18, !10, i64 0}
!20 = !{!10, !10, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.unroll.disable"}
!25 = !{!26}
!26 = distinct !{!26, !27}
!27 = distinct !{!27, !"LVerDomain"}
!28 = !{!29}
!29 = distinct !{!29, !27}
!30 = !{!31}
!31 = distinct !{!31, !27}
!32 = !{!26, !29}
!33 = distinct !{!33, !22, !34, !35}
!34 = !{!"llvm.loop.isvectorized", i32 1}
!35 = !{!"llvm.loop.unroll.runtime.disable"}
!36 = distinct !{!36, !22}
!37 = distinct !{!37, !24}
!38 = !{!39}
!39 = distinct !{!39, !40}
!40 = distinct !{!40, !"LVerDomain"}
!41 = !{!42}
!42 = distinct !{!42, !40}
!43 = !{!44}
!44 = distinct !{!44, !40}
!45 = !{!39, !42}
!46 = distinct !{!46, !22, !34, !35}
!47 = distinct !{!47, !22, !34}
!48 = distinct !{!48, !22}
!49 = distinct !{!49, !22, !34}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass