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

; 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_cccf_create_sos(ptr noundef, ptr noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local ptr @iirfilt_cccf_create_integrator() #2 {
  %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, float }], align 16
  %32 = alloca [12 x { float, float }], align 16
  %33 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 64, ptr %1) #4
  %34 = getelementptr inbounds { float, float }, ptr %1, i32 0, i32 0
  %35 = getelementptr inbounds { float, float }, ptr %1, i32 0, i32 1
  store float 0xBFF2D03C80000000, 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 0xC001781080000000, ptr %38, align 4
  %39 = load <2 x float>, ptr %2, align 4
  %40 = call <2 x float> @cexpf(<2 x float> noundef %39) #4
  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 = fpext float %42 to double
  %46 = fpext float %44 to double
  %47 = fmul double 3.371020e+00, %45
  %48 = fmul double 3.371020e+00, %46
  %49 = fptrunc double %47 to float
  %50 = fptrunc double %48 to float
  %51 = getelementptr inbounds { float, float }, ptr %36, i32 0, i32 0
  %52 = getelementptr inbounds { float, float }, ptr %36, i32 0, i32 1
  store float %49, ptr %51, align 8
  store float %50, ptr %52, align 4
  %53 = getelementptr inbounds { float, float }, ptr %1, i64 2
  %54 = getelementptr inbounds { float, float }, ptr %4, i32 0, i32 0
  %55 = getelementptr inbounds { float, float }, ptr %4, i32 0, i32 1
  store float 0.000000e+00, ptr %54, align 4
  store float 0x4001781080000000, ptr %55, align 4
  %56 = load <2 x float>, ptr %4, align 4
  %57 = call <2 x float> @cexpf(<2 x float> noundef %56) #4
  store <2 x float> %57, ptr %5, align 4
  %58 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 0
  %59 = load float, ptr %58, align 4
  %60 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 1
  %61 = load float, ptr %60, align 4
  %62 = fpext float %59 to double
  %63 = fpext float %61 to double
  %64 = fmul double 3.371020e+00, %62
  %65 = fmul double 3.371020e+00, %63
  %66 = fptrunc double %64 to float
  %67 = fptrunc double %65 to float
  %68 = getelementptr inbounds { float, float }, ptr %53, i32 0, i32 0
  %69 = getelementptr inbounds { float, float }, ptr %53, i32 0, i32 1
  store float %66, ptr %68, align 8
  store float %67, ptr %69, align 4
  %70 = getelementptr inbounds { float, float }, ptr %1, i64 3
  %71 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %72 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  store float -0.000000e+00, ptr %71, align 4
  store float 0xBFF69C0360000000, ptr %72, align 4
  %73 = load <2 x float>, ptr %6, align 4
  %74 = call <2 x float> @cexpf(<2 x float> noundef %73) #4
  store <2 x float> %74, ptr %7, align 4
  %75 = getelementptr inbounds { float, float }, ptr %7, i32 0, i32 0
  %76 = load float, ptr %75, align 4
  %77 = getelementptr inbounds { float, float }, ptr %7, i32 0, i32 1
  %78 = load float, ptr %77, align 4
  %79 = fpext float %76 to double
  %80 = fpext float %78 to double
  %81 = fmul double 4.549710e+00, %79
  %82 = fmul double 4.549710e+00, %80
  %83 = fptrunc double %81 to float
  %84 = fptrunc double %82 to float
  %85 = getelementptr inbounds { float, float }, ptr %70, i32 0, i32 0
  %86 = getelementptr inbounds { float, float }, ptr %70, i32 0, i32 1
  store float %83, ptr %85, align 8
  store float %84, ptr %86, align 4
  %87 = getelementptr inbounds { float, float }, ptr %1, i64 4
  %88 = getelementptr inbounds { float, float }, ptr %8, i32 0, i32 0
  %89 = getelementptr inbounds { float, float }, ptr %8, i32 0, i32 1
  store float 0.000000e+00, ptr %88, align 4
  store float 0x3FF69C0360000000, ptr %89, align 4
  %90 = load <2 x float>, ptr %8, align 4
  %91 = call <2 x float> @cexpf(<2 x float> noundef %90) #4
  store <2 x float> %91, ptr %9, align 4
  %92 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %93 = load float, ptr %92, align 4
  %94 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  %95 = load float, ptr %94, align 4
  %96 = fpext float %93 to double
  %97 = fpext float %95 to double
  %98 = fmul double 4.549710e+00, %96
  %99 = fmul double 4.549710e+00, %97
  %100 = fptrunc double %98 to float
  %101 = fptrunc double %99 to float
  %102 = getelementptr inbounds { float, float }, ptr %87, i32 0, i32 0
  %103 = getelementptr inbounds { float, float }, ptr %87, i32 0, i32 1
  store float %100, ptr %102, align 8
  store float %101, ptr %103, align 4
  %104 = getelementptr inbounds { float, float }, ptr %1, i64 5
  %105 = getelementptr inbounds { float, float }, ptr %10, i32 0, i32 0
  %106 = getelementptr inbounds { float, float }, ptr %10, i32 0, i32 1
  store float -0.000000e+00, ptr %105, align 4
  store float 0xBFE6647580000000, ptr %106, align 4
  %107 = load <2 x float>, ptr %10, align 4
  %108 = call <2 x float> @cexpf(<2 x float> noundef %107) #4
  store <2 x float> %108, ptr %11, align 4
  %109 = getelementptr inbounds { float, float }, ptr %11, i32 0, i32 0
  %110 = load float, ptr %109, align 4
  %111 = getelementptr inbounds { float, float }, ptr %11, i32 0, i32 1
  %112 = load float, ptr %111, align 4
  %113 = fpext float %110 to double
  %114 = fpext float %112 to double
  %115 = fmul double 0x4014E55757D5A9EB, %113
  %116 = fmul double 0x4014E55757D5A9EB, %114
  %117 = fptrunc double %115 to float
  %118 = fptrunc double %116 to float
  %119 = getelementptr inbounds { float, float }, ptr %104, i32 0, i32 0
  %120 = getelementptr inbounds { float, float }, ptr %104, i32 0, i32 1
  store float %117, ptr %119, align 8
  store float %118, ptr %120, align 4
  %121 = getelementptr inbounds { float, float }, ptr %1, i64 6
  %122 = getelementptr inbounds { float, float }, ptr %12, i32 0, i32 0
  %123 = getelementptr inbounds { float, float }, ptr %12, i32 0, i32 1
  store float 0.000000e+00, ptr %122, align 4
  store float 0x3FE6647580000000, ptr %123, align 4
  %124 = load <2 x float>, ptr %12, align 4
  %125 = call <2 x float> @cexpf(<2 x float> noundef %124) #4
  store <2 x float> %125, ptr %13, align 4
  %126 = getelementptr inbounds { float, float }, ptr %13, i32 0, i32 0
  %127 = load float, ptr %126, align 4
  %128 = getelementptr inbounds { float, float }, ptr %13, i32 0, i32 1
  %129 = load float, ptr %128, align 4
  %130 = fpext float %127 to double
  %131 = fpext float %129 to double
  %132 = fmul double 0x4014E55757D5A9EB, %130
  %133 = fmul double 0x4014E55757D5A9EB, %131
  %134 = fptrunc double %132 to float
  %135 = fptrunc double %133 to float
  %136 = getelementptr inbounds { float, float }, ptr %121, i32 0, i32 0
  %137 = getelementptr inbounds { float, float }, ptr %121, i32 0, i32 1
  store float %134, ptr %136, align 8
  store float %135, ptr %137, align 4
  %138 = getelementptr inbounds { float, float }, ptr %1, i64 7
  %139 = getelementptr inbounds { float, float }, ptr %138, i32 0, i32 0
  %140 = getelementptr inbounds { float, float }, ptr %138, i32 0, i32 1
  store float 0x4015C664A0000000, ptr %139, align 8
  store float 0.000000e+00, ptr %140, align 4
  call void @llvm.lifetime.start.p0(i64 64, ptr %14) #4
  %141 = getelementptr inbounds { float, float }, ptr %14, i32 0, i32 0
  %142 = getelementptr inbounds { float, float }, ptr %14, i32 0, i32 1
  store float 0xBFE293A600000000, ptr %141, align 8
  store float 0.000000e+00, ptr %142, align 4
  %143 = getelementptr inbounds { float, float }, ptr %14, i64 1
  %144 = getelementptr inbounds { float, float }, ptr %15, i32 0, i32 0
  %145 = getelementptr inbounds { float, float }, ptr %15, i32 0, i32 1
  store float -0.000000e+00, ptr %144, align 4
  store float 0xBFFFDCA160000000, ptr %145, align 4
  %146 = load <2 x float>, ptr %15, align 4
  %147 = call <2 x float> @cexpf(<2 x float> noundef %146) #4
  store <2 x float> %147, ptr %16, align 4
  %148 = getelementptr inbounds { float, float }, ptr %16, i32 0, i32 0
  %149 = load float, ptr %148, align 4
  %150 = getelementptr inbounds { float, float }, ptr %16, i32 0, i32 1
  %151 = load float, ptr %150, align 4
  %152 = fmul float 0x3FCDD99100000000, %149
  %153 = fmul float 0x3FCDD99100000000, %151
  %154 = getelementptr inbounds { float, float }, ptr %143, i32 0, i32 0
  %155 = getelementptr inbounds { float, float }, ptr %143, i32 0, i32 1
  store float %152, ptr %154, align 8
  store float %153, ptr %155, align 4
  %156 = getelementptr inbounds { float, float }, ptr %14, i64 2
  %157 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 0
  %158 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 1
  store float 0.000000e+00, ptr %157, align 4
  store float 0x3FFFDCA160000000, ptr %158, align 4
  %159 = load <2 x float>, ptr %17, align 4
  %160 = call <2 x float> @cexpf(<2 x float> noundef %159) #4
  store <2 x float> %160, ptr %18, align 4
  %161 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 0
  %162 = load float, ptr %161, align 4
  %163 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 1
  %164 = load float, ptr %163, align 4
  %165 = fmul float 0x3FCDD99100000000, %162
  %166 = fmul float 0x3FCDD99100000000, %164
  %167 = getelementptr inbounds { float, float }, ptr %156, i32 0, i32 0
  %168 = getelementptr inbounds { float, float }, ptr %156, i32 0, i32 1
  store float %165, ptr %167, align 8
  store float %166, ptr %168, align 4
  %169 = getelementptr inbounds { float, float }, ptr %14, i64 3
  %170 = getelementptr inbounds { float, float }, ptr %19, i32 0, i32 0
  %171 = getelementptr inbounds { float, float }, ptr %19, i32 0, i32 1
  store float -0.000000e+00, ptr %170, align 4
  store float 0xBFF28689A0000000, ptr %171, align 4
  %172 = load <2 x float>, ptr %19, align 4
  %173 = call <2 x float> @cexpf(<2 x float> noundef %172) #4
  store <2 x float> %173, ptr %20, align 4
  %174 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 0
  %175 = load float, ptr %174, align 4
  %176 = getelementptr inbounds { float, float }, ptr %20, i32 0, i32 1
  %177 = load float, ptr %176, align 4
  %178 = fmul float 0x3FC73A96E0000000, %175
  %179 = fmul float 0x3FC73A96E0000000, %177
  %180 = getelementptr inbounds { float, float }, ptr %169, i32 0, i32 0
  %181 = getelementptr inbounds { float, float }, ptr %169, i32 0, i32 1
  store float %178, ptr %180, align 8
  store float %179, ptr %181, align 4
  %182 = getelementptr inbounds { float, float }, ptr %14, i64 4
  %183 = getelementptr inbounds { float, float }, ptr %21, i32 0, i32 0
  %184 = getelementptr inbounds { float, float }, ptr %21, i32 0, i32 1
  store float 0.000000e+00, ptr %183, align 4
  store float 0x3FF28689A0000000, ptr %184, align 4
  %185 = load <2 x float>, ptr %21, align 4
  %186 = call <2 x float> @cexpf(<2 x float> noundef %185) #4
  store <2 x float> %186, ptr %22, align 4
  %187 = getelementptr inbounds { float, float }, ptr %22, i32 0, i32 0
  %188 = load float, ptr %187, align 4
  %189 = getelementptr inbounds { float, float }, ptr %22, i32 0, i32 1
  %190 = load float, ptr %189, align 4
  %191 = fmul float 0x3FC73A96E0000000, %188
  %192 = fmul float 0x3FC73A96E0000000, %190
  %193 = getelementptr inbounds { float, float }, ptr %182, i32 0, i32 0
  %194 = getelementptr inbounds { float, float }, ptr %182, i32 0, i32 1
  store float %191, ptr %193, align 8
  store float %192, ptr %194, align 4
  %195 = getelementptr inbounds { float, float }, ptr %14, i64 5
  %196 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 0
  %197 = getelementptr inbounds { float, float }, ptr %23, i32 0, i32 1
  store float -0.000000e+00, ptr %196, align 4
  store float 0xBFD8751720000000, ptr %197, align 4
  %198 = load <2 x float>, ptr %23, align 4
  %199 = call <2 x float> @cexpf(<2 x float> noundef %198) #4
  store <2 x float> %199, ptr %24, align 4
  %200 = getelementptr inbounds { float, float }, ptr %24, i32 0, i32 0
  %201 = load float, ptr %200, align 4
  %202 = getelementptr inbounds { float, float }, ptr %24, i32 0, i32 1
  %203 = load float, ptr %202, align 4
  %204 = fmul float 0x3FC502B9E0000000, %201
  %205 = fmul float 0x3FC502B9E0000000, %203
  %206 = getelementptr inbounds { float, float }, ptr %195, i32 0, i32 0
  %207 = getelementptr inbounds { float, float }, ptr %195, i32 0, i32 1
  store float %204, ptr %206, align 8
  store float %205, ptr %207, align 4
  %208 = getelementptr inbounds { float, float }, ptr %14, i64 6
  %209 = getelementptr inbounds { float, float }, ptr %25, i32 0, i32 0
  %210 = getelementptr inbounds { float, float }, ptr %25, i32 0, i32 1
  store float 0.000000e+00, ptr %209, align 4
  store float 0x3FD8751720000000, ptr %210, align 4
  %211 = load <2 x float>, ptr %25, align 4
  %212 = call <2 x float> @cexpf(<2 x float> noundef %211) #4
  store <2 x float> %212, ptr %26, align 4
  %213 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 0
  %214 = load float, ptr %213, align 4
  %215 = getelementptr inbounds { float, float }, ptr %26, i32 0, i32 1
  %216 = load float, ptr %215, align 4
  %217 = fmul float 0x3FC502B9E0000000, %214
  %218 = fmul float 0x3FC502B9E0000000, %216
  %219 = getelementptr inbounds { float, float }, ptr %208, i32 0, i32 0
  %220 = getelementptr inbounds { float, float }, ptr %208, i32 0, i32 1
  store float %217, ptr %219, align 8
  store float %218, ptr %220, align 4
  %221 = getelementptr inbounds { float, float }, ptr %14, i64 7
  %222 = getelementptr inbounds { float, float }, ptr %221, i32 0, i32 0
  %223 = getelementptr inbounds { float, float }, ptr %221, i32 0, i32 1
  store float 1.000000e+00, ptr %222, align 8
  store float 0.000000e+00, ptr %223, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  %224 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 0
  %225 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 1
  store float 0xBEF476BAC0000000, ptr %224, align 4
  store float 0.000000e+00, ptr %225, align 4
  call void @llvm.lifetime.start.p0(i64 48, ptr %28) #4
  call void @llvm.lifetime.start.p0(i64 48, ptr %29) #4
  %226 = getelementptr inbounds [8 x { float, float }], ptr %1, i64 0, i64 0
  %227 = getelementptr inbounds [8 x { float, float }], ptr %14, i64 0, i64 0
  %228 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 0
  %229 = load float, ptr %228, align 4
  %230 = getelementptr inbounds { float, float }, ptr %27, i32 0, i32 1
  %231 = load float, ptr %230, align 4
  %232 = getelementptr inbounds [12 x float], ptr %28, i64 0, i64 0
  %233 = getelementptr inbounds [12 x float], ptr %29, i64 0, i64 0
  %234 = getelementptr inbounds { float, float }, ptr %30, i32 0, i32 0
  %235 = getelementptr inbounds { float, float }, ptr %30, i32 0, i32 1
  store float %229, ptr %234, align 4
  store float %231, ptr %235, align 4
  %236 = load <2 x float>, ptr %30, align 4
  %237 = call i32 @iirdes_dzpk2sosf(ptr noundef %226, ptr noundef %227, i32 noundef 8, <2 x float> noundef %236, ptr noundef %232, ptr noundef %233)
  call void @llvm.lifetime.start.p0(i64 96, ptr %31) #4
  call void @llvm.lifetime.start.p0(i64 96, ptr %32) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #4
  store i32 0, ptr %33, align 4, !tbaa !5
  br label %238

238:                                              ; preds = %260, %0
  %239 = load i32, ptr %33, align 4, !tbaa !5
  %240 = icmp ult i32 %239, 12
  br i1 %240, label %241, label %263

241:                                              ; preds = %238
  %242 = load i32, ptr %33, align 4, !tbaa !5
  %243 = zext i32 %242 to i64
  %244 = getelementptr inbounds [12 x float], ptr %28, i64 0, i64 %243
  %245 = load float, ptr %244, align 4, !tbaa !9
  %246 = load i32, ptr %33, align 4, !tbaa !5
  %247 = zext i32 %246 to i64
  %248 = getelementptr inbounds [12 x { float, float }], ptr %31, i64 0, i64 %247
  %249 = getelementptr inbounds { float, float }, ptr %248, i32 0, i32 0
  %250 = getelementptr inbounds { float, float }, ptr %248, i32 0, i32 1
  store float %245, ptr %249, align 8
  store float 0.000000e+00, ptr %250, align 4
  %251 = load i32, ptr %33, align 4, !tbaa !5
  %252 = zext i32 %251 to i64
  %253 = getelementptr inbounds [12 x float], ptr %29, i64 0, i64 %252
  %254 = load float, ptr %253, align 4, !tbaa !9
  %255 = load i32, ptr %33, align 4, !tbaa !5
  %256 = zext i32 %255 to i64
  %257 = getelementptr inbounds [12 x { float, float }], ptr %32, i64 0, i64 %256
  %258 = getelementptr inbounds { float, float }, ptr %257, i32 0, i32 0
  %259 = getelementptr inbounds { float, float }, ptr %257, i32 0, i32 1
  store float %254, ptr %258, align 8
  store float 0.000000e+00, ptr %259, align 4
  br label %260

260:                                              ; preds = %241
  %261 = load i32, ptr %33, align 4, !tbaa !5
  %262 = add i32 %261, 1
  store i32 %262, ptr %33, align 4, !tbaa !5
  br label %238, !llvm.loop !11

263:                                              ; preds = %238
  %264 = getelementptr inbounds [12 x { float, float }], ptr %31, i64 0, i64 0
  %265 = getelementptr inbounds [12 x { float, float }], ptr %32, i64 0, i64 0
  %266 = call ptr @iirfilt_cccf_create_sos(ptr noundef %264, ptr noundef %265, i32 noundef 4)
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 96, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 96, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %1) #4
  ret ptr %266
}

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

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"="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 #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 }

!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_cccf_create_sos(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local ptr @iirfilt_cccf_create_integrator() local_unnamed_addr #2 {
  %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, float }], align 16
  %6 = alloca [12 x { float, float }], align 16
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %1) #4
  store <2 x float> <float 0xBFF2D03C80000000, 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 0xC001781080000000>) #4
  %9 = tail call <2 x float> @cexpf(<2 x float> noundef <float 0.000000e+00, float 0x4001781080000000>) #4
  %10 = shufflevector <2 x float> %8, <2 x float> %9, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %11 = fpext <4 x float> %10 to <4 x double>
  %12 = fmul <4 x double> %11, <double 3.371020e+00, double 3.371020e+00, double 3.371020e+00, double 3.371020e+00>
  %13 = fptrunc <4 x double> %12 to <4 x float>
  store <4 x float> %13, ptr %7, align 8
  %14 = getelementptr inbounds i8, ptr %1, i64 24
  %15 = tail call <2 x float> @cexpf(<2 x float> noundef <float -0.000000e+00, float 0xBFF69C0360000000>) #4
  %16 = tail call <2 x float> @cexpf(<2 x float> noundef <float 0.000000e+00, float 0x3FF69C0360000000>) #4
  %17 = shufflevector <2 x float> %15, <2 x float> %16, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %18 = fpext <4 x float> %17 to <4 x double>
  %19 = fmul <4 x double> %18, <double 4.549710e+00, double 4.549710e+00, double 4.549710e+00, double 4.549710e+00>
  %20 = fptrunc <4 x double> %19 to <4 x float>
  store <4 x float> %20, ptr %14, align 8
  %21 = getelementptr inbounds i8, ptr %1, i64 40
  %22 = tail call <2 x float> @cexpf(<2 x float> noundef <float -0.000000e+00, float 0xBFE6647580000000>) #4
  %23 = tail call <2 x float> @cexpf(<2 x float> noundef <float 0.000000e+00, float 0x3FE6647580000000>) #4
  %24 = shufflevector <2 x float> %22, <2 x float> %23, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %25 = fpext <4 x float> %24 to <4 x double>
  %26 = fmul <4 x double> %25, <double 0x4014E55757D5A9EB, double 0x4014E55757D5A9EB, double 0x4014E55757D5A9EB, double 0x4014E55757D5A9EB>
  %27 = fptrunc <4 x double> %26 to <4 x float>
  store <4 x float> %27, ptr %21, align 8
  %28 = getelementptr inbounds i8, ptr %1, i64 56
  store <2 x float> <float 0x4015C664A0000000, float 0.000000e+00>, ptr %28, align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #4
  store <2 x float> <float 0xBFE293A600000000, float 0.000000e+00>, ptr %2, align 16
  %29 = getelementptr inbounds i8, ptr %2, i64 8
  %30 = tail call <2 x float> @cexpf(<2 x float> noundef <float -0.000000e+00, float 0xBFFFDCA160000000>) #4
  %31 = tail call <2 x float> @cexpf(<2 x float> noundef <float 0.000000e+00, float 0x3FFFDCA160000000>) #4
  %32 = shufflevector <2 x float> %30, <2 x float> %31, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %33 = fmul <4 x float> %32, <float 0x3FCDD99100000000, float 0x3FCDD99100000000, float 0x3FCDD99100000000, float 0x3FCDD99100000000>
  store <4 x float> %33, ptr %29, align 8
  %34 = getelementptr inbounds i8, ptr %2, i64 24
  %35 = tail call <2 x float> @cexpf(<2 x float> noundef <float -0.000000e+00, float 0xBFF28689A0000000>) #4
  %36 = tail call <2 x float> @cexpf(<2 x float> noundef <float 0.000000e+00, float 0x3FF28689A0000000>) #4
  %37 = shufflevector <2 x float> %35, <2 x float> %36, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %38 = fmul <4 x float> %37, <float 0x3FC73A96E0000000, float 0x3FC73A96E0000000, float 0x3FC73A96E0000000, float 0x3FC73A96E0000000>
  store <4 x float> %38, ptr %34, align 8
  %39 = getelementptr inbounds i8, ptr %2, i64 40
  %40 = tail call <2 x float> @cexpf(<2 x float> noundef <float -0.000000e+00, float 0xBFD8751720000000>) #4
  %41 = tail call <2 x float> @cexpf(<2 x float> noundef <float 0.000000e+00, float 0x3FD8751720000000>) #4
  %42 = shufflevector <2 x float> %40, <2 x float> %41, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
  %43 = fmul <4 x float> %42, <float 0x3FC502B9E0000000, float 0x3FC502B9E0000000, float 0x3FC502B9E0000000, float 0x3FC502B9E0000000>
  store <4 x float> %43, ptr %39, align 8
  %44 = getelementptr inbounds i8, ptr %2, i64 56
  store <2 x float> <float 1.000000e+00, float 0.000000e+00>, ptr %44, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %4) #4
  %45 = call i32 @iirdes_dzpk2sosf(ptr noundef nonnull %1, ptr noundef nonnull %2, i32 noundef 8, <2 x float> noundef <float 0xBEF476BAC0000000, float 0.000000e+00>, ptr noundef nonnull %3, ptr noundef nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %6) #4
  %46 = load float, ptr %3, align 16, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %5, i64 4
  store float %46, ptr %5, align 16
  store float 0.000000e+00, ptr %47, align 4
  %48 = load float, ptr %4, align 16, !tbaa !5
  %49 = getelementptr inbounds i8, ptr %6, i64 4
  store float %48, ptr %6, align 16
  store float 0.000000e+00, ptr %49, align 4
  %50 = getelementptr inbounds i8, ptr %3, i64 4
  %51 = load float, ptr %50, align 4, !tbaa !5
  %52 = getelementptr inbounds i8, ptr %5, i64 8
  %53 = getelementptr inbounds i8, ptr %5, i64 12
  store float %51, ptr %52, align 8
  store float 0.000000e+00, ptr %53, align 4
  %54 = getelementptr inbounds i8, ptr %4, i64 4
  %55 = load float, ptr %54, align 4, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %6, i64 8
  %57 = getelementptr inbounds i8, ptr %6, i64 12
  store float %55, ptr %56, align 8
  store float 0.000000e+00, ptr %57, align 4
  %58 = getelementptr inbounds i8, ptr %3, i64 8
  %59 = load float, ptr %58, align 8, !tbaa !5
  %60 = getelementptr inbounds i8, ptr %5, i64 16
  %61 = getelementptr inbounds i8, ptr %5, i64 20
  store float %59, ptr %60, align 16
  store float 0.000000e+00, ptr %61, align 4
  %62 = getelementptr inbounds i8, ptr %4, i64 8
  %63 = load float, ptr %62, align 8, !tbaa !5
  %64 = getelementptr inbounds i8, ptr %6, i64 16
  %65 = getelementptr inbounds i8, ptr %6, i64 20
  store float %63, ptr %64, align 16
  store float 0.000000e+00, ptr %65, align 4
  %66 = getelementptr inbounds i8, ptr %3, i64 12
  %67 = load float, ptr %66, align 4, !tbaa !5
  %68 = getelementptr inbounds i8, ptr %5, i64 24
  %69 = getelementptr inbounds i8, ptr %5, i64 28
  store float %67, ptr %68, align 8
  store float 0.000000e+00, ptr %69, align 4
  %70 = getelementptr inbounds i8, ptr %4, i64 12
  %71 = load float, ptr %70, align 4, !tbaa !5
  %72 = getelementptr inbounds i8, ptr %6, i64 24
  %73 = getelementptr inbounds i8, ptr %6, i64 28
  store float %71, ptr %72, align 8
  store float 0.000000e+00, ptr %73, align 4
  %74 = getelementptr inbounds i8, ptr %3, i64 16
  %75 = load float, ptr %74, align 16, !tbaa !5
  %76 = getelementptr inbounds i8, ptr %5, i64 32
  %77 = getelementptr inbounds i8, ptr %5, i64 36
  store float %75, ptr %76, align 16
  store float 0.000000e+00, ptr %77, align 4
  %78 = getelementptr inbounds i8, ptr %4, i64 16
  %79 = load float, ptr %78, align 16, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %6, i64 32
  %81 = getelementptr inbounds i8, ptr %6, i64 36
  store float %79, ptr %80, align 16
  store float 0.000000e+00, ptr %81, align 4
  %82 = getelementptr inbounds i8, ptr %3, i64 20
  %83 = load float, ptr %82, align 4, !tbaa !5
  %84 = getelementptr inbounds i8, ptr %5, i64 40
  %85 = getelementptr inbounds i8, ptr %5, i64 44
  store float %83, ptr %84, align 8
  store float 0.000000e+00, ptr %85, align 4
  %86 = getelementptr inbounds i8, ptr %4, i64 20
  %87 = load float, ptr %86, align 4, !tbaa !5
  %88 = getelementptr inbounds i8, ptr %6, i64 40
  %89 = getelementptr inbounds i8, ptr %6, i64 44
  store float %87, ptr %88, align 8
  store float 0.000000e+00, ptr %89, align 4
  %90 = getelementptr inbounds i8, ptr %3, i64 24
  %91 = load float, ptr %90, align 8, !tbaa !5
  %92 = getelementptr inbounds i8, ptr %5, i64 48
  %93 = getelementptr inbounds i8, ptr %5, i64 52
  store float %91, ptr %92, align 16
  store float 0.000000e+00, ptr %93, align 4
  %94 = getelementptr inbounds i8, ptr %4, i64 24
  %95 = load float, ptr %94, align 8, !tbaa !5
  %96 = getelementptr inbounds i8, ptr %6, i64 48
  %97 = getelementptr inbounds i8, ptr %6, i64 52
  store float %95, ptr %96, align 16
  store float 0.000000e+00, ptr %97, align 4
  %98 = getelementptr inbounds i8, ptr %3, i64 28
  %99 = load float, ptr %98, align 4, !tbaa !5
  %100 = getelementptr inbounds i8, ptr %5, i64 56
  %101 = getelementptr inbounds i8, ptr %5, i64 60
  store float %99, ptr %100, align 8
  store float 0.000000e+00, ptr %101, align 4
  %102 = getelementptr inbounds i8, ptr %4, i64 28
  %103 = load float, ptr %102, align 4, !tbaa !5
  %104 = getelementptr inbounds i8, ptr %6, i64 56
  %105 = getelementptr inbounds i8, ptr %6, i64 60
  store float %103, ptr %104, align 8
  store float 0.000000e+00, ptr %105, align 4
  %106 = getelementptr inbounds i8, ptr %3, i64 32
  %107 = load float, ptr %106, align 16, !tbaa !5
  %108 = getelementptr inbounds i8, ptr %5, i64 64
  %109 = getelementptr inbounds i8, ptr %5, i64 68
  store float %107, ptr %108, align 16
  store float 0.000000e+00, ptr %109, align 4
  %110 = getelementptr inbounds i8, ptr %4, i64 32
  %111 = load float, ptr %110, align 16, !tbaa !5
  %112 = getelementptr inbounds i8, ptr %6, i64 64
  %113 = getelementptr inbounds i8, ptr %6, i64 68
  store float %111, ptr %112, align 16
  store float 0.000000e+00, ptr %113, align 4
  %114 = getelementptr inbounds i8, ptr %3, i64 36
  %115 = load float, ptr %114, align 4, !tbaa !5
  %116 = getelementptr inbounds i8, ptr %5, i64 72
  %117 = getelementptr inbounds i8, ptr %5, i64 76
  store float %115, ptr %116, align 8
  store float 0.000000e+00, ptr %117, align 4
  %118 = getelementptr inbounds i8, ptr %4, i64 36
  %119 = load float, ptr %118, align 4, !tbaa !5
  %120 = getelementptr inbounds i8, ptr %6, i64 72
  %121 = getelementptr inbounds i8, ptr %6, i64 76
  store float %119, ptr %120, align 8
  store float 0.000000e+00, ptr %121, align 4
  %122 = getelementptr inbounds i8, ptr %3, i64 40
  %123 = load float, ptr %122, align 8, !tbaa !5
  %124 = getelementptr inbounds i8, ptr %5, i64 80
  %125 = getelementptr inbounds i8, ptr %5, i64 84
  store float %123, ptr %124, align 16
  store float 0.000000e+00, ptr %125, align 4
  %126 = getelementptr inbounds i8, ptr %4, i64 40
  %127 = load float, ptr %126, align 8, !tbaa !5
  %128 = getelementptr inbounds i8, ptr %6, i64 80
  %129 = getelementptr inbounds i8, ptr %6, i64 84
  store float %127, ptr %128, align 16
  store float 0.000000e+00, ptr %129, align 4
  %130 = getelementptr inbounds i8, ptr %3, i64 44
  %131 = load float, ptr %130, align 4, !tbaa !5
  %132 = getelementptr inbounds i8, ptr %5, i64 88
  %133 = getelementptr inbounds i8, ptr %5, i64 92
  store float %131, ptr %132, align 8
  store float 0.000000e+00, ptr %133, align 4
  %134 = getelementptr inbounds i8, ptr %4, i64 44
  %135 = load float, ptr %134, align 4, !tbaa !5
  %136 = getelementptr inbounds i8, ptr %6, i64 88
  %137 = getelementptr inbounds i8, ptr %6, i64 92
  store float %135, ptr %136, align 8
  store float 0.000000e+00, ptr %137, align 4
  %138 = call ptr @iirfilt_cccf_create_sos(ptr noundef nonnull %5, ptr noundef nonnull %6, i32 noundef 4)
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %1) #4
  ret ptr %138
}

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

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"="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 #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 }

!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,LoopRotatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass