; 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

; Function Attrs: nounwind uwtable
define dso_local ptr @iirfilt_crcf_create_integrator() #3 {
  %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 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) #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 = 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) #5
  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) #5
  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) #5
  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) #5
  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) #5
  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) #5
  %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) #5
  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) #5
  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) #5
  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) #5
  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) #5
  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) #5
  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) #5
  %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) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr %29) #5
  %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 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 %238

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

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], ptr %31, i64 0, i64 %247
  store float %245, ptr %248, align 4, !tbaa !9
  %249 = load i32, ptr %33, align 4, !tbaa !5
  %250 = zext i32 %249 to i64
  %251 = getelementptr inbounds [12 x float], ptr %29, i64 0, i64 %250
  %252 = load float, ptr %251, align 4, !tbaa !9
  %253 = load i32, ptr %33, align 4, !tbaa !5
  %254 = zext i32 %253 to i64
  %255 = getelementptr inbounds [12 x float], ptr %32, i64 0, i64 %254
  store float %252, ptr %255, align 4, !tbaa !9
  br label %256

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

259:                                              ; preds = %238
  %260 = getelementptr inbounds [12 x float], ptr %31, i64 0, i64 0
  %261 = getelementptr inbounds [12 x float], ptr %32, i64 0, i64 0
  %262 = call ptr @iirfilt_crcf_create_sos(ptr noundef %260, ptr noundef %261, 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 %262
}

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

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 = { 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 #4 = { "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

; Function Attrs: nounwind uwtable
define dso_local ptr @iirfilt_crcf_create_integrator() local_unnamed_addr #3 {
  %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 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>) #6
  %9 = tail call <2 x float> @cexpf(<2 x float> noundef <float 0.000000e+00, float 0x4001781080000000>) #6
  %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>) #6
  %16 = tail call <2 x float> @cexpf(<2 x float> noundef <float 0.000000e+00, float 0x3FF69C0360000000>) #6
  %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>) #6
  %23 = tail call <2 x float> @cexpf(<2 x float> noundef <float 0.000000e+00, float 0x3FE6647580000000>) #6
  %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) #6
  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>) #6
  %31 = tail call <2 x float> @cexpf(<2 x float> noundef <float 0.000000e+00, float 0x3FFFDCA160000000>) #6
  %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>) #6
  %36 = tail call <2 x float> @cexpf(<2 x float> noundef <float 0.000000e+00, float 0x3FF28689A0000000>) #6
  %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>) #6
  %41 = tail call <2 x float> @cexpf(<2 x float> noundef <float 0.000000e+00, float 0x3FD8751720000000>) #6
  %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) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %4) #6
  %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) #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
  %46 = 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 %46
}

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

; 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 = { 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 #4 = { "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