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

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

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

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

declare i32 @iirdes_dzpk2sosf(ptr noundef, ptr noundef, i32 noundef, <2 x float> noundef, ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
define dso_local ptr @iirfilt_crcf_create_differentiator() #4 {
  %1 = alloca [8 x { float, float }], align 16
  %2 = alloca { float, float }, align 4
  %3 = alloca { float, float }, align 4
  %4 = alloca { float, float }, align 4
  %5 = alloca { float, float }, align 4
  %6 = alloca { float, float }, align 4
  %7 = alloca { float, float }, align 4
  %8 = alloca { float, float }, align 4
  %9 = alloca { float, float }, align 4
  %10 = alloca { float, float }, align 4
  %11 = alloca { float, float }, align 4
  %12 = alloca { float, float }, align 4
  %13 = alloca { float, float }, align 4
  %14 = alloca [8 x { float, float }], align 16
  %15 = alloca { float, float }, align 4
  %16 = alloca { float, float }, align 4
  %17 = alloca { float, float }, align 4
  %18 = alloca { float, float }, align 4
  %19 = alloca { float, float }, align 4
  %20 = alloca { float, float }, align 4
  %21 = alloca { float, float }, align 4
  %22 = alloca { float, float }, align 4
  %23 = alloca { float, float }, align 4
  %24 = alloca { float, float }, align 4
  %25 = alloca { float, float }, align 4
  %26 = alloca { float, float }, align 4
  %27 = alloca { float, float }, align 4
  %28 = alloca [12 x float], align 16
  %29 = alloca [12 x float], align 16
  %30 = alloca { float, float }, align 4
  %31 = alloca [12 x float], align 16
  %32 = alloca [12 x float], align 16
  %33 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 64, ptr %1) #5
  %34 = getelementptr inbounds { float, float }, ptr %1, i32 0, i32 0
  %35 = getelementptr inbounds { float, float }, ptr %1, i32 0, i32 1
  store float 0xBFFB3DBF40000000, ptr %34, align 8
  store float 0.000000e+00, ptr %35, align 4
  %36 = getelementptr inbounds { float, float }, ptr %1, i64 1
  %37 = getelementptr inbounds { float, float }, ptr %2, i32 0, i32 0
  %38 = getelementptr inbounds { float, float }, ptr %2, i32 0, i32 1
  store float -0.000000e+00, ptr %37, align 4
  store float 0xC00EEA05C0000000, ptr %38, align 4
  %39 = load <2 x float>, ptr %2, align 4
  %40 = call <2 x float> @cexpf(<2 x float> noundef %39) #5
  store <2 x float> %40, ptr %3, align 4
  %41 = getelementptr inbounds { float, float }, ptr %3, i32 0, i32 0
  %42 = load float, ptr %41, align 4
  %43 = getelementptr inbounds { float, float }, ptr %3, i32 0, i32 1
  %44 = load float, ptr %43, align 4
  %45 = fmul float 0x4017827140000000, %42
  %46 = fmul float 0x4017827140000000, %44
  %47 = getelementptr inbounds { float, float }, ptr %36, i32 0, i32 0
  %48 = getelementptr inbounds { float, float }, ptr %36, i32 0, i32 1
  store float %45, ptr %47, align 8
  store float %46, ptr %48, align 4
  %49 = getelementptr inbounds { float, float }, ptr %1, i64 2
  %50 = getelementptr inbounds { float, float }, ptr %4, i32 0, i32 0
  %51 = getelementptr inbounds { float, float }, ptr %4, i32 0, i32 1
  store float 0.000000e+00, ptr %50, align 4
  store float 0x400EEA05C0000000, ptr %51, align 4
  %52 = load <2 x float>, ptr %4, align 4
  %53 = call <2 x float> @cexpf(<2 x float> noundef %52) #5
  store <2 x float> %53, ptr %5, align 4
  %54 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 0
  %55 = load float, ptr %54, align 4
  %56 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 1
  %57 = load float, ptr %56, align 4
  %58 = fmul float 0x4017827140000000, %55
  %59 = fmul float 0x4017827140000000, %57
  %60 = getelementptr inbounds { float, float }, ptr %49, i32 0, i32 0
  %61 = getelementptr inbounds { float, float }, ptr %49, i32 0, i32 1
  store float %58, ptr %60, align 8
  store float %59, ptr %61, align 4
  %62 = getelementptr inbounds { float, float }, ptr %1, i64 3
  %63 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %64 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  store float -0.000000e+00, ptr %63, align 4
  store float 0xC004308820000000, ptr %64, align 4
  %65 = load <2 x float>, ptr %6, align 4
  %66 = call <2 x float> @cexpf(<2 x float> noundef %65) #5
  store <2 x float> %66, ptr %7, align 4
  %67 = getelementptr inbounds { float, float }, ptr %7, i32 0, i32 0
  %68 = load float, ptr %67, align 4
  %69 = getelementptr inbounds { float, float }, ptr %7, i32 0, i32 1
  %70 = load float, ptr %69, align 4
  %71 = fmul float 0x4010CA28C0000000, %68
  %72 = fmul float 0x4010CA28C0000000, %70
  %73 = getelementptr inbounds { float, float }, ptr %62, i32 0, i32 0
  %74 = getelementptr inbounds { float, float }, ptr %62, i32 0, i32 1
  store float %71, ptr %73, align 8
  store float %72, ptr %74, align 4
  %75 = getelementptr inbounds { float, float }, ptr %1, i64 4
  %76 = getelementptr inbounds { float, float }, ptr %8, i32 0, i32 0
  %77 = getelementptr inbounds { float, float }, ptr %8, i32 0, i32 1
  store float 0.000000e+00, ptr %76, align 4
  store float 0x4004308820000000, ptr %77, align 4
  %78 = load <2 x float>, ptr %8, align 4
  %79 = call <2 x float> @cexpf(<2 x float> noundef %78) #5
  store <2 x float> %79, ptr %9, align 4
  %80 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %81 = load float, ptr %80, align 4
  %82 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  %83 = load float, ptr %82, align 4
  %84 = fmul float 0x4010CA28C0000000, %81
  %85 = fmul float 0x4010CA28C0000000, %83
  %86 = getelementptr inbounds { float, float }, ptr %75, i32 0, i32 0
  %87 = getelementptr inbounds { float, float }, ptr %75, i32 0, i32 1
  store float %84, ptr %86, align 8
  store float %85, ptr %87, align 4
  %88 = getelementptr inbounds { float, float }, ptr %1, i64 5
  %89 = getelementptr inbounds { float, float }, ptr %10, i32 0, i32 0
  %90 = getelementptr inbounds { float, float }, ptr %10, i32 0, i32 1
  store float -0.000000e+00, ptr %89, align 4
  store float 0xBFF2ADBCA0000000, ptr %90, align 4
  %91 = load <2 x float>, ptr %10, align 4
  %92 = call <2 x float> @cexpf(<2 x float> noundef %91) #5
  store <2 x float> %92, ptr %11, align 4
  %93 = getelementptr inbounds { float, float }, ptr %11, i32 0, i32 0
  %94 = load float, ptr %93, align 4
  %95 = getelementptr inbounds { float, float }, ptr %11, i32 0, i32 1
  %96 = load float, ptr %95, align 4
  %97 = fmul float 0x401566B0E0000000, %94
  %98 = fmul float 0x401566B0E0000000, %96
  %99 = getelementptr inbounds { float, float }, ptr %88, i32 0, i32 0
  %100 = getelementptr inbounds { float, float }, ptr %88, i32 0, i32 1
  store float %97, ptr %99, align 8
  store float %98, ptr %100, align 4
  %101 = getelementptr inbounds { float, float }, ptr %1, i64 6
  %102 = getelementptr inbounds { float, float }, ptr %12, i32 0, i32 0
  %103 = getelementptr inbounds { float, float }, ptr %12, i32 0, i32 1
  store float 0.000000e+00, ptr %102, align 4
  store float 0x3FF2ADBCA0000000, ptr %103, align 4
  %104 = load <2 x float>, ptr %12, align 4
  %105 = call <2 x float> @cexpf(<2 x float> noundef %104) #5
  store <2 x float> %105, ptr %13, align 4
  %106 = getelementptr inbounds { float, float }, ptr %13, i32 0, i32 0
  %107 = load float, ptr %106, align 4
  %108 = getelementptr inbounds { float, float }, ptr %13, i32 0, i32 1
  %109 = load float, ptr %108, align 4
  %110 = fmul float 0x401566B0E0000000, %107
  %111 = fmul float 0x401566B0E0000000, %109
  %112 = getelementptr inbounds { float, float }, ptr %101, i32 0, i32 0
  %113 = getelementptr inbounds { float, float }, ptr %101, i32 0, i32 1
  store float %110, ptr %112, align 8
  store float %111, ptr %113, align 4
  %114 = getelementptr inbounds { float, float }, ptr %1, i64 7
  %115 = getelementptr inbounds { float, float }, ptr %114, i32 0, i32 0
  %116 = getelementptr inbounds { float, float }, ptr %114, i32 0, i32 1
  store float 1.000000e+00, ptr %115, align 8
  store float 0.000000e+00, ptr %116, align 4
  call void @llvm.lifetime.start.p0(i64 64, ptr %14) #5
  %117 = getelementptr inbounds { float, float }, ptr %14, i32 0, i32 0
  %118 = getelementptr inbounds { float, float }, ptr %14, i32 0, i32 1
  store float 0xBFEB204E60000000, ptr %117, align 8
  store float 0.000000e+00, ptr %118, align 4
  %119 = getelementptr inbounds { float, float }, ptr %14, i64 1
  %120 = getelementptr inbounds { float, float }, ptr %15, i32 0, i32 0
  %121 = getelementptr inbounds { float, float }, ptr %15, i32 0, i32 1
  store float -0.000000e+00, ptr %120, align 4
  store float 0xC001869640000000, ptr %121, align 4
  %122 = load <2 x float>, ptr %15, align 4
  %123 = call <2 x float> @cexpf(<2 x float> noundef %122) #5
  store <2 x float> %123, ptr %16, align 4
  %124 = getelementptr inbounds { float, float }, ptr %16, i32 0, i32 0
  %125 = load float, ptr %124, align 4
  %126 = getelementptr inbounds { float, float }, ptr %16, i32 0, i32 1
  %127 = load float, ptr %126, align 4
  %128 = fmul float 0x3FD3241880000000, %125
  %129 = fmul float 0x3FD3241880000000, %127
  %130 = getelementptr inbounds { float, float }, ptr %119, i32 0, i32 0
  %131 = getelementptr inbounds { float, float }, ptr %119, i32 0, i32 1
  store float %128, ptr %130, align 8
  store float %129, ptr %131, align 4
  %132 = getelementptr inbounds { float, float }, ptr %14, i64 2
  %133 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 0
  %134 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 1
  store float 0.000000e+00, ptr %133, align 4
  store float 0x4001869640000000, ptr %134, align 4
  %135 = load <2 x float>, ptr %17, align 4
  %136 = call <2 x float> @cexpf(<2 x float> noundef %135) #5
  store <2 x float> %136, ptr %18, align 4
  %137 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 0
  %138 = load float, ptr %137, align 4
  %139 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 1
  %140 = load float, ptr %139, align 4
  %141 = fmul float 0x3FD3241880000000, %138
  %142 = fmul float 0x3FD3241880000000, %140
  %143 = getelementptr inbounds { float, float }, ptr %132, i32 0, i32 0
  %144 = getelementptr inbounds { float, float }, ptr %132, i32 0, i32 1
  store float %141, ptr %143, align 8
  store float %142, ptr %144, align 4
  %145 = getelementptr inbounds { float, float }, ptr %14, i64 3
  %146 = getelementptr inbounds { float, float }, ptr %19, i32 0, i32 0
  %147 = getelementptr inbounds { float, float }, ptr %19, i32 0, i32 1
  store float -0.000000e+00, ptr %146, align 4
  store float 0xBFF6C3FDA0000000, ptr %147, align 4
  %148 = load <2 x float>, ptr %19, align 4
  %149 = call <2 x float> @cexpf(<2 x float> noundef %148) #5
  store <2 x float> %149, ptr %20, align 4
  %150 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 0
  %151 = load float, ptr %150, align 4
  %152 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 1
  %153 = load float, ptr %152, align 4
  %154 = fmul float 0x3FCC933780000000, %151
  %155 = fmul float 0x3FCC933780000000, %153
  %156 = getelementptr inbounds { float, float }, ptr %145, i32 0, i32 0
  %157 = getelementptr inbounds { float, float }, ptr %145, i32 0, i32 1
  store float %154, ptr %156, align 8
  store float %155, ptr %157, align 4
  %158 = getelementptr inbounds { float, float }, ptr %14, i64 4
  %159 = getelementptr inbounds { float, float }, ptr %21, i32 0, i32 0
  %160 = getelementptr inbounds { float, float }, ptr %21, i32 0, i32 1
  store float 0.000000e+00, ptr %159, align 4
  store float 0x3FF6C3FDA0000000, ptr %160, align 4
  %161 = load <2 x float>, ptr %21, align 4
  %162 = call <2 x float> @cexpf(<2 x float> noundef %161) #5
  store <2 x float> %162, ptr %22, align 4
  %163 = getelementptr inbounds { float, float }, ptr %22, i32 0, i32 0
  %164 = load float, ptr %163, align 4
  %165 = getelementptr inbounds { float, float }, ptr %22, i32 0, i32 1
  %166 = load float, ptr %165, align 4
  %167 = fmul float 0x3FCC933780000000, %164
  %168 = fmul float 0x3FCC933780000000, %166
  %169 = getelementptr inbounds { float, float }, ptr %158, i32 0, i32 0
  %170 = getelementptr inbounds { float, float }, ptr %158, i32 0, i32 1
  store float %167, ptr %169, align 8
  store float %168, ptr %170, align 4
  %171 = getelementptr inbounds { float, float }, ptr %14, i64 5
  %172 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 0
  %173 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 1
  store float -0.000000e+00, ptr %172, align 4
  store float 0xBFE6A0BE00000000, ptr %173, align 4
  %174 = load <2 x float>, ptr %23, align 4
  %175 = call <2 x float> @cexpf(<2 x float> noundef %174) #5
  store <2 x float> %175, ptr %24, align 4
  %176 = getelementptr inbounds { float, float }, ptr %24, i32 0, i32 0
  %177 = load float, ptr %176, align 4
  %178 = getelementptr inbounds { float, float }, ptr %24, i32 0, i32 1
  %179 = load float, ptr %178, align 4
  %180 = fmul float 0x3FC9122B80000000, %177
  %181 = fmul float 0x3FC9122B80000000, %179
  %182 = getelementptr inbounds { float, float }, ptr %171, i32 0, i32 0
  %183 = getelementptr inbounds { float, float }, ptr %171, i32 0, i32 1
  store float %180, ptr %182, align 8
  store float %181, ptr %183, align 4
  %184 = getelementptr inbounds { float, float }, ptr %14, i64 6
  %185 = getelementptr inbounds { float, float }, ptr %25, i32 0, i32 0
  %186 = getelementptr inbounds { float, float }, ptr %25, i32 0, i32 1
  store float 0.000000e+00, ptr %185, align 4
  store float 0x3FE6A0BE00000000, ptr %186, align 4
  %187 = load <2 x float>, ptr %25, align 4
  %188 = call <2 x float> @cexpf(<2 x float> noundef %187) #5
  store <2 x float> %188, ptr %26, align 4
  %189 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 0
  %190 = load float, ptr %189, align 4
  %191 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 1
  %192 = load float, ptr %191, align 4
  %193 = fmul float 0x3FC9122B80000000, %190
  %194 = fmul float 0x3FC9122B80000000, %192
  %195 = getelementptr inbounds { float, float }, ptr %184, i32 0, i32 0
  %196 = getelementptr inbounds { float, float }, ptr %184, i32 0, i32 1
  store float %193, ptr %195, align 8
  store float %194, ptr %196, align 4
  %197 = getelementptr inbounds { float, float }, ptr %14, i64 7
  %198 = getelementptr inbounds { float, float }, ptr %197, i32 0, i32 0
  %199 = getelementptr inbounds { float, float }, ptr %197, i32 0, i32 1
  store float 0x3FC8245540000000, ptr %198, align 8
  store float 0.000000e+00, ptr %199, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %200 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 0
  %201 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 1
  store float 0x3EF535D840000000, ptr %200, align 4
  store float 0.000000e+00, ptr %201, align 4
  call void @llvm.lifetime.start.p0(i64 48, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr %29) #5
  %202 = getelementptr inbounds [8 x { float, float }], ptr %1, i64 0, i64 0
  %203 = getelementptr inbounds [8 x { float, float }], ptr %14, i64 0, i64 0
  %204 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 0
  %205 = load float, ptr %204, align 4
  %206 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 1
  %207 = load float, ptr %206, align 4
  %208 = getelementptr inbounds [12 x float], ptr %28, i64 0, i64 0
  %209 = getelementptr inbounds [12 x float], ptr %29, i64 0, i64 0
  %210 = getelementptr inbounds { float, float }, ptr %30, i32 0, i32 0
  %211 = getelementptr inbounds { float, float }, ptr %30, i32 0, i32 1
  store float %205, ptr %210, align 4
  store float %207, ptr %211, align 4
  %212 = load <2 x float>, ptr %30, align 4
  %213 = call i32 @iirdes_dzpk2sosf(ptr noundef %202, ptr noundef %203, i32 noundef 8, <2 x float> noundef %212, ptr noundef %208, ptr noundef %209)
  call void @llvm.lifetime.start.p0(i64 48, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #5
  store i32 0, ptr %33, align 4, !tbaa !5
  br label %214

214:                                              ; preds = %232, %0
  %215 = load i32, ptr %33, align 4, !tbaa !5
  %216 = icmp ult i32 %215, 12
  br i1 %216, label %217, label %235

217:                                              ; preds = %214
  %218 = load i32, ptr %33, align 4, !tbaa !5
  %219 = zext i32 %218 to i64
  %220 = getelementptr inbounds [12 x float], ptr %28, i64 0, i64 %219
  %221 = load float, ptr %220, align 4, !tbaa !9
  %222 = load i32, ptr %33, align 4, !tbaa !5
  %223 = zext i32 %222 to i64
  %224 = getelementptr inbounds [12 x float], ptr %31, i64 0, i64 %223
  store float %221, ptr %224, align 4, !tbaa !9
  %225 = load i32, ptr %33, align 4, !tbaa !5
  %226 = zext i32 %225 to i64
  %227 = getelementptr inbounds [12 x float], ptr %29, i64 0, i64 %226
  %228 = load float, ptr %227, align 4, !tbaa !9
  %229 = load i32, ptr %33, align 4, !tbaa !5
  %230 = zext i32 %229 to i64
  %231 = getelementptr inbounds [12 x float], ptr %32, i64 0, i64 %230
  store float %228, ptr %231, align 4, !tbaa !9
  br label %232

232:                                              ; preds = %217
  %233 = load i32, ptr %33, align 4, !tbaa !5
  %234 = add i32 %233, 1
  store i32 %234, ptr %33, align 4, !tbaa !5
  br label %214, !llvm.loop !11

235:                                              ; preds = %214
  %236 = getelementptr inbounds [12 x float], ptr %31, i64 0, i64 0
  %237 = getelementptr inbounds [12 x float], ptr %32, i64 0, i64 0
  %238 = call ptr @iirfilt_crcf_create_sos(ptr noundef %236, ptr noundef %237, i32 noundef 4)
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %1) #5
  ret ptr %238
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

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

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

declare i32 @iirdes_dzpk2sosf(ptr noundef, ptr noundef, i32 noundef, <2 x float> noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local ptr @iirfilt_crcf_create_differentiator() local_unnamed_addr #4 {
  %1 = alloca [8 x { float, float }], align 16
  %2 = alloca [8 x { float, float }], align 16
  %3 = alloca [12 x float], align 16
  %4 = alloca [12 x float], align 16
  %5 = alloca [12 x float], align 16
  %6 = alloca [12 x float], align 16
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %1) #6
  store <2 x float> <float 0xBFFB3DBF40000000, float 0.000000e+00>, ptr %1, align 16
  %7 = getelementptr inbounds i8, ptr %1, i64 8
  %8 = tail call <2 x float> @cexpf(<2 x float> noundef <float -0.000000e+00, float 0xC00EEA05C0000000>) #6
  %9 = tail call <2 x float> @cexpf(<2 x float> noundef <float 0.000000e+00, float 0x400EEA05C0000000>) #6
  %10 = shufflevector <2 x float> %8, <2 x float> %9, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %11 = fmul <4 x float> %10, <float 0x4017827140000000, float 0x4017827140000000, float 0x4017827140000000, float 0x4017827140000000>
  store <4 x float> %11, ptr %7, align 8
  %12 = getelementptr inbounds i8, ptr %1, i64 24
  %13 = tail call <2 x float> @cexpf(<2 x float> noundef <float -0.000000e+00, float 0xC004308820000000>) #6
  %14 = tail call <2 x float> @cexpf(<2 x float> noundef <float 0.000000e+00, float 0x4004308820000000>) #6
  %15 = shufflevector <2 x float> %13, <2 x float> %14, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %16 = fmul <4 x float> %15, <float 0x4010CA28C0000000, float 0x4010CA28C0000000, float 0x4010CA28C0000000, float 0x4010CA28C0000000>
  store <4 x float> %16, ptr %12, align 8
  %17 = getelementptr inbounds i8, ptr %1, i64 40
  %18 = tail call <2 x float> @cexpf(<2 x float> noundef <float -0.000000e+00, float 0xBFF2ADBCA0000000>) #6
  %19 = tail call <2 x float> @cexpf(<2 x float> noundef <float 0.000000e+00, float 0x3FF2ADBCA0000000>) #6
  %20 = shufflevector <2 x float> %18, <2 x float> %19, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %21 = fmul <4 x float> %20, <float 0x401566B0E0000000, float 0x401566B0E0000000, float 0x401566B0E0000000, float 0x401566B0E0000000>
  store <4 x float> %21, ptr %17, align 8
  %22 = getelementptr inbounds i8, ptr %1, i64 56
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %22, align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #6
  store <2 x float> <float 0xBFEB204E60000000, float 0.000000e+00>, ptr %2, align 16
  %23 = getelementptr inbounds i8, ptr %2, i64 8
  %24 = tail call <2 x float> @cexpf(<2 x float> noundef <float -0.000000e+00, float 0xC001869640000000>) #6
  %25 = tail call <2 x float> @cexpf(<2 x float> noundef <float 0.000000e+00, float 0x4001869640000000>) #6
  %26 = shufflevector <2 x float> %24, <2 x float> %25, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %27 = fmul <4 x float> %26, <float 0x3FD3241880000000, float 0x3FD3241880000000, float 0x3FD3241880000000, float 0x3FD3241880000000>
  store <4 x float> %27, ptr %23, align 8
  %28 = getelementptr inbounds i8, ptr %2, i64 24
  %29 = tail call <2 x float> @cexpf(<2 x float> noundef <float -0.000000e+00, float 0xBFF6C3FDA0000000>) #6
  %30 = tail call <2 x float> @cexpf(<2 x float> noundef <float 0.000000e+00, float 0x3FF6C3FDA0000000>) #6
  %31 = shufflevector <2 x float> %29, <2 x float> %30, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %32 = fmul <4 x float> %31, <float 0x3FCC933780000000, float 0x3FCC933780000000, float 0x3FCC933780000000, float 0x3FCC933780000000>
  store <4 x float> %32, ptr %28, align 8
  %33 = getelementptr inbounds i8, ptr %2, i64 40
  %34 = tail call <2 x float> @cexpf(<2 x float> noundef <float -0.000000e+00, float 0xBFE6A0BE00000000>) #6
  %35 = tail call <2 x float> @cexpf(<2 x float> noundef <float 0.000000e+00, float 0x3FE6A0BE00000000>) #6
  %36 = shufflevector <2 x float> %34, <2 x float> %35, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %37 = fmul <4 x float> %36, <float 0x3FC9122B80000000, float 0x3FC9122B80000000, float 0x3FC9122B80000000, float 0x3FC9122B80000000>
  store <4 x float> %37, ptr %33, align 8
  %38 = getelementptr inbounds i8, ptr %2, i64 56
  store <2 x float> <float 0x3FC8245540000000, float 0.000000e+00>, ptr %38, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %4) #6
  %39 = call i32 @iirdes_dzpk2sosf(ptr noundef nonnull %1, ptr noundef nonnull %2, i32 noundef 8, <2 x float> noundef <float 0x3EF535D840000000, float 0.000000e+00>, ptr noundef nonnull %3, ptr noundef nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(48) %5, ptr noundef nonnull align 16 dereferenceable(48) %3, i64 48, i1 false), !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(48) %6, ptr noundef nonnull align 16 dereferenceable(48) %4, i64 48, i1 false), !tbaa !5
  %40 = call ptr @iirfilt_crcf_create_sos(ptr noundef nonnull %5, ptr noundef nonnull %6, i32 noundef 4)
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %1) #6
  ret ptr %40
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopIdiomRecognizePass,LoopRotatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass