; LLVM IR from glaretechnologies/substrata :: opus/opus-1.3.1/silk/float (find_LPC_FLP)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.silk_encoder_state = type { [2 x i32], i32, i32, %struct.silk_LP_state, %struct.silk_VAD_state, %struct.silk_nsq_state, [16 x i16], i32, i32, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, [4 x i32], i32, i32, [3 x i8], i8, [3 x i32], %struct.SideInfoIndices, [320 x i8], i32, [322 x i16], i32, i32, i32, i32, i32, i32, i32, i32, i16, %struct._silk_resampler_state_struct, i32, i32, i32, i32, i32, i32, [3 x %struct.SideInfoIndices], [3 x [320 x i8]] }
%struct.silk_LP_state = type { [2 x i32], i32, i32, i32 }
%struct.silk_VAD_state = type { [2 x i32], [2 x i32], [2 x i32], [4 x i32], [4 x i32], i16, [4 x i32], [4 x i32], [4 x i32], i32 }
%struct.silk_nsq_state = type { [640 x i16], [640 x i32], [96 x i32], [24 x i32], i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.SideInfoIndices = type { [4 x i8], [4 x i8], [17 x i8], i16, i8, i8, i8, i8, i8, i8, i8 }
%struct._silk_resampler_state_struct = type { [6 x i32], %union.anon, [48 x i16], i32, i32, i32, i32, i32, i32, i32, i32, ptr }
%union.anon = type { [36 x i32] }

; Function Attrs: nounwind uwtable
define dso_local void @silk_find_LPC_FLP(ptr noundef %0, ptr noundef %1, ptr noundef %2, float noundef %3) #0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca float, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca [16 x float], align 16
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca [16 x i16], align 16
  %16 = alloca [16 x float], align 16
  %17 = alloca [384 x float], align 16
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store float %3, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 64, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 64, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 1536, ptr %17) #3
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.silk_encoder_state, ptr %18, i32 0, i32 22
  %20 = load i32, ptr %19, align 4, !tbaa !11
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.silk_encoder_state, ptr %21, i32 0, i32 35
  %23 = load i32, ptr %22, align 8, !tbaa !20
  %24 = add nsw i32 %20, %23
  store i32 %24, ptr %10, align 4, !tbaa !21
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.silk_encoder_state, ptr %25, i32 0, i32 55
  %27 = getelementptr inbounds %struct.SideInfoIndices, ptr %26, i32 0, i32 7
  store i8 4, ptr %27, align 1, !tbaa !22
  %28 = getelementptr inbounds [16 x float], ptr %11, i64 0, i64 0
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  %30 = load float, ptr %8, align 4, !tbaa !9
  %31 = load i32, ptr %10, align 4, !tbaa !21
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.silk_encoder_state, ptr %32, i32 0, i32 20
  %34 = load i32, ptr %33, align 4, !tbaa !23
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.silk_encoder_state, ptr %35, i32 0, i32 35
  %37 = load i32, ptr %36, align 8, !tbaa !20
  %38 = call float @silk_burg_modified_FLP(ptr noundef %28, ptr noundef %29, float noundef %30, i32 noundef %31, i32 noundef %34, i32 noundef %37)
  store float %38, ptr %12, align 4, !tbaa !9
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.silk_encoder_state, ptr %39, i32 0, i32 33
  %41 = load i32, ptr %40, align 8, !tbaa !24
  %42 = icmp ne i32 %41, 0
  br i1 %42, label %43, label %153

43:                                               ; preds = %4
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.silk_encoder_state, ptr %44, i32 0, i32 41
  %46 = load i32, ptr %45, align 8, !tbaa !25
  %47 = icmp ne i32 %46, 0
  br i1 %47, label %153, label %48

48:                                               ; preds = %43
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.silk_encoder_state, ptr %49, i32 0, i32 20
  %51 = load i32, ptr %50, align 4, !tbaa !23
  %52 = icmp eq i32 %51, 4
  br i1 %52, label %53, label %153

53:                                               ; preds = %48
  %54 = getelementptr inbounds [16 x float], ptr %16, i64 0, i64 0
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = load i32, ptr %10, align 4, !tbaa !21
  %57 = mul nsw i32 2, %56
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds float, ptr %55, i64 %58
  %60 = load float, ptr %8, align 4, !tbaa !9
  %61 = load i32, ptr %10, align 4, !tbaa !21
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.silk_encoder_state, ptr %62, i32 0, i32 35
  %64 = load i32, ptr %63, align 8, !tbaa !20
  %65 = call float @silk_burg_modified_FLP(ptr noundef %54, ptr noundef %59, float noundef %60, i32 noundef %61, i32 noundef 2, i32 noundef %64)
  %66 = load float, ptr %12, align 4, !tbaa !9
  %67 = fsub float %66, %65
  store float %67, ptr %12, align 4, !tbaa !9
  %68 = load ptr, ptr %6, align 8, !tbaa !5
  %69 = getelementptr inbounds [16 x float], ptr %16, i64 0, i64 0
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.silk_encoder_state, ptr %70, i32 0, i32 35
  %72 = load i32, ptr %71, align 8, !tbaa !20
  call void @silk_A2NLSF_FLP(ptr noundef %68, ptr noundef %69, i32 noundef %72)
  store float 0x47EFFFFFE0000000, ptr %13, align 4, !tbaa !9
  store i32 3, ptr %9, align 4, !tbaa !21
  br label %73

73:                                               ; preds = %149, %53
  %74 = load i32, ptr %9, align 4, !tbaa !21
  %75 = icmp sge i32 %74, 0
  br i1 %75, label %76, label %152

76:                                               ; preds = %73
  %77 = getelementptr inbounds [16 x i16], ptr %15, i64 0, i64 0
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.silk_encoder_state, ptr %78, i32 0, i32 6
  %80 = getelementptr inbounds [16 x i16], ptr %79, i64 0, i64 0
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  %82 = load i32, ptr %9, align 4, !tbaa !21
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.silk_encoder_state, ptr %83, i32 0, i32 35
  %85 = load i32, ptr %84, align 8, !tbaa !20
  call void @silk_interpolate(ptr noundef %77, ptr noundef %80, ptr noundef %81, i32 noundef %82, i32 noundef %85)
  %86 = getelementptr inbounds [16 x float], ptr %16, i64 0, i64 0
  %87 = getelementptr inbounds [16 x i16], ptr %15, i64 0, i64 0
  %88 = load ptr, ptr %5, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.silk_encoder_state, ptr %88, i32 0, i32 35
  %90 = load i32, ptr %89, align 8, !tbaa !20
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.silk_encoder_state, ptr %91, i32 0, i32 57
  %93 = load i32, ptr %92, align 4, !tbaa !26
  call void @silk_NLSF2A_FLP(ptr noundef %86, ptr noundef %87, i32 noundef %90, i32 noundef %93)
  %94 = getelementptr inbounds [384 x float], ptr %17, i64 0, i64 0
  %95 = getelementptr inbounds [16 x float], ptr %16, i64 0, i64 0
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  %97 = load i32, ptr %10, align 4, !tbaa !21
  %98 = mul nsw i32 2, %97
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.silk_encoder_state, ptr %99, i32 0, i32 35
  %101 = load i32, ptr %100, align 8, !tbaa !20
  call void @silk_LPC_analysis_filter_FLP(ptr noundef %94, ptr noundef %95, ptr noundef %96, i32 noundef %98, i32 noundef %101)
  %102 = getelementptr inbounds [384 x float], ptr %17, i64 0, i64 0
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.silk_encoder_state, ptr %103, i32 0, i32 35
  %105 = load i32, ptr %104, align 8, !tbaa !20
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds float, ptr %102, i64 %106
  %108 = load i32, ptr %10, align 4, !tbaa !21
  %109 = load ptr, ptr %5, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.silk_encoder_state, ptr %109, i32 0, i32 35
  %111 = load i32, ptr %110, align 8, !tbaa !20
  %112 = sub nsw i32 %108, %111
  %113 = call double @silk_energy_FLP(ptr noundef %107, i32 noundef %112)
  %114 = getelementptr inbounds [384 x float], ptr %17, i64 0, i64 0
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.silk_encoder_state, ptr %115, i32 0, i32 35
  %117 = load i32, ptr %116, align 8, !tbaa !20
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds float, ptr %114, i64 %118
  %120 = load i32, ptr %10, align 4, !tbaa !21
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds float, ptr %119, i64 %121
  %123 = load i32, ptr %10, align 4, !tbaa !21
  %124 = load ptr, ptr %5, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.silk_encoder_state, ptr %124, i32 0, i32 35
  %126 = load i32, ptr %125, align 8, !tbaa !20
  %127 = sub nsw i32 %123, %126
  %128 = call double @silk_energy_FLP(ptr noundef %122, i32 noundef %127)
  %129 = fadd double %113, %128
  %130 = fptrunc double %129 to float
  store float %130, ptr %14, align 4, !tbaa !9
  %131 = load float, ptr %14, align 4, !tbaa !9
  %132 = load float, ptr %12, align 4, !tbaa !9
  %133 = fcmp olt float %131, %132
  br i1 %133, label %134, label %141

134:                                              ; preds = %76
  %135 = load float, ptr %14, align 4, !tbaa !9
  store float %135, ptr %12, align 4, !tbaa !9
  %136 = load i32, ptr %9, align 4, !tbaa !21
  %137 = trunc i32 %136 to i8
  %138 = load ptr, ptr %5, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.silk_encoder_state, ptr %138, i32 0, i32 55
  %140 = getelementptr inbounds %struct.SideInfoIndices, ptr %139, i32 0, i32 7
  store i8 %137, ptr %140, align 1, !tbaa !22
  br label %147

141:                                              ; preds = %76
  %142 = load float, ptr %14, align 4, !tbaa !9
  %143 = load float, ptr %13, align 4, !tbaa !9
  %144 = fcmp ogt float %142, %143
  br i1 %144, label %145, label %146

145:                                              ; preds = %141
  br label %152

146:                                              ; preds = %141
  br label %147

147:                                              ; preds = %146, %134
  %148 = load float, ptr %14, align 4, !tbaa !9
  store float %148, ptr %13, align 4, !tbaa !9
  br label %149

149:                                              ; preds = %147
  %150 = load i32, ptr %9, align 4, !tbaa !21
  %151 = add nsw i32 %150, -1
  store i32 %151, ptr %9, align 4, !tbaa !21
  br label %73, !llvm.loop !27

152:                                              ; preds = %145, %73
  br label %153

153:                                              ; preds = %152, %48, %43, %4
  %154 = load ptr, ptr %5, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.silk_encoder_state, ptr %154, i32 0, i32 55
  %156 = getelementptr inbounds %struct.SideInfoIndices, ptr %155, i32 0, i32 7
  %157 = load i8, ptr %156, align 1, !tbaa !22
  %158 = sext i8 %157 to i32
  %159 = icmp eq i32 %158, 4
  br i1 %159, label %160, label %166

160:                                              ; preds = %153
  %161 = load ptr, ptr %6, align 8, !tbaa !5
  %162 = getelementptr inbounds [16 x float], ptr %11, i64 0, i64 0
  %163 = load ptr, ptr %5, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.silk_encoder_state, ptr %163, i32 0, i32 35
  %165 = load i32, ptr %164, align 8, !tbaa !20
  call void @silk_A2NLSF_FLP(ptr noundef %161, ptr noundef %162, i32 noundef %165)
  br label %166

166:                                              ; preds = %160, %153
  call void @llvm.lifetime.end.p0(i64 1536, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 64, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 64, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  ret void
}

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

declare float @silk_burg_modified_FLP(ptr noundef, ptr noundef, float noundef, i32 noundef, i32 noundef, i32 noundef) #2

declare void @silk_A2NLSF_FLP(ptr noundef, ptr noundef, i32 noundef) #2

declare void @silk_interpolate(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2

declare void @silk_NLSF2A_FLP(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2

declare void @silk_LPC_analysis_filter_FLP(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2

declare double @silk_energy_FLP(ptr noundef, i32 noundef) #2

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !13, i64 4588}
!12 = !{!"", !7, i64 0, !13, i64 8, !13, i64 12, !14, i64 16, !15, i64 36, !17, i64 148, !7, i64 4500, !13, i64 4532, !13, i64 4536, !7, i64 4540, !7, i64 4541, !13, i64 4544, !13, i64 4548, !13, i64 4552, !13, i64 4556, !13, i64 4560, !13, i64 4564, !13, i64 4568, !13, i64 4572, !13, i64 4576, !13, i64 4580, !13, i64 4584, !13, i64 4588, !13, i64 4592, !13, i64 4596, !13, i64 4600, !13, i64 4604, !13, i64 4608, !13, i64 4612, !13, i64 4616, !13, i64 4620, !13, i64 4624, !13, i64 4628, !13, i64 4632, !13, i64 4636, !13, i64 4640, !13, i64 4644, !13, i64 4648, !13, i64 4652, !13, i64 4656, !13, i64 4660, !13, i64 4664, !13, i64 4668, !13, i64 4672, !13, i64 4676, !13, i64 4680, !6, i64 4688, !6, i64 4696, !6, i64 4704, !7, i64 4712, !13, i64 4728, !13, i64 4732, !7, i64 4736, !7, i64 4739, !7, i64 4740, !18, i64 4752, !7, i64 4788, !13, i64 5108, !7, i64 5112, !13, i64 5756, !13, i64 5760, !13, i64 5764, !13, i64 5768, !13, i64 5772, !13, i64 5776, !13, i64 5780, !13, i64 5784, !16, i64 5788, !19, i64 5792, !13, i64 6096, !13, i64 6100, !13, i64 6104, !13, i64 6108, !13, i64 6112, !13, i64 6116, !7, i64 6120, !7, i64 6228}
!13 = !{!"int", !7, i64 0}
!14 = !{!"", !7, i64 0, !13, i64 8, !13, i64 12, !13, i64 16}
!15 = !{!"", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 40, !16, i64 56, !7, i64 60, !7, i64 76, !7, i64 92, !13, i64 108}
!16 = !{!"short", !7, i64 0}
!17 = !{!"", !7, i64 0, !7, i64 1280, !7, i64 3840, !7, i64 4224, !13, i64 4320, !13, i64 4324, !13, i64 4328, !13, i64 4332, !13, i64 4336, !13, i64 4340, !13, i64 4344, !13, i64 4348}
!18 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !16, i64 26, !7, i64 28, !7, i64 29, !7, i64 30, !7, i64 31, !7, i64 32, !7, i64 33, !7, i64 34}
!19 = !{!"_silk_resampler_state_struct", !7, i64 0, !7, i64 24, !7, i64 168, !13, i64 264, !13, i64 268, !13, i64 272, !13, i64 276, !13, i64 280, !13, i64 284, !13, i64 288, !13, i64 292, !6, i64 296}
!20 = !{!12, !13, i64 4640}
!21 = !{!13, !13, i64 0}
!22 = !{!12, !7, i64 4783}
!23 = !{!12, !13, i64 4580}
!24 = !{!12, !13, i64 4632}
!25 = !{!12, !13, i64 4664}
!26 = !{!12, !13, i64 5108}
!27 = distinct !{!27, !28}
!28 = !{!"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: nounwind uwtable
define dso_local void @silk_find_LPC_FLP(ptr noundef %0, ptr noundef %1, ptr noundef %2, float noundef %3) local_unnamed_addr #0 {
  %5 = alloca [16 x float], align 16
  %6 = alloca [16 x i16], align 16
  %7 = alloca [16 x float], align 16
  %8 = alloca [384 x float], align 16
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 1536, ptr nonnull %8) #3
  %9 = getelementptr inbounds i8, ptr %0, i64 4588
  %10 = load i32, ptr %9, align 4, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %0, i64 4640
  %12 = load i32, ptr %11, align 8, !tbaa !17
  %13 = add nsw i32 %12, %10
  %14 = getelementptr inbounds i8, ptr %0, i64 4783
  store i8 4, ptr %14, align 1, !tbaa !18
  %15 = getelementptr inbounds i8, ptr %0, i64 4580
  %16 = load i32, ptr %15, align 4, !tbaa !19
  %17 = call float @silk_burg_modified_FLP(ptr noundef nonnull %5, ptr noundef %2, float noundef %3, i32 noundef %13, i32 noundef %16, i32 noundef %12) #3
  %18 = getelementptr inbounds i8, ptr %0, i64 4632
  %19 = load i32, ptr %18, align 8, !tbaa !20
  %.not = icmp eq i32 %19, 0
  br i1 %.not, label %.loopexit, label %20

20:                                               ; preds = %4
  %21 = getelementptr inbounds i8, ptr %0, i64 4664
  %22 = load i32, ptr %21, align 8, !tbaa !21
  %.not51 = icmp eq i32 %22, 0
  br i1 %.not51, label %23, label %.loopexit

23:                                               ; preds = %20
  %24 = load i32, ptr %15, align 4, !tbaa !19
  %25 = icmp eq i32 %24, 4
  br i1 %25, label %26, label %.loopexit

26:                                               ; preds = %23
  %27 = shl nsw i32 %13, 1
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds float, ptr %2, i64 %28
  %30 = load i32, ptr %11, align 8, !tbaa !17
  %31 = call float @silk_burg_modified_FLP(ptr noundef nonnull %7, ptr noundef %29, float noundef %3, i32 noundef %13, i32 noundef 2, i32 noundef %30) #3
  %32 = fsub float %17, %31
  %33 = load i32, ptr %11, align 8, !tbaa !17
  call void @silk_A2NLSF_FLP(ptr noundef %1, ptr noundef nonnull %7, i32 noundef %33) #3
  %34 = getelementptr inbounds i8, ptr %0, i64 4500
  %35 = getelementptr inbounds i8, ptr %0, i64 5108
  %36 = sext i32 %13 to i64
  %invariant.gep = getelementptr float, ptr %8, i64 %36
  %37 = load i32, ptr %11, align 8, !tbaa !17
  call void @silk_interpolate(ptr noundef nonnull %6, ptr noundef nonnull %34, ptr noundef %1, i32 noundef 3, i32 noundef %37) #3
  %38 = load i32, ptr %11, align 8, !tbaa !17
  %39 = load i32, ptr %35, align 4, !tbaa !22
  call void @silk_NLSF2A_FLP(ptr noundef nonnull %7, ptr noundef nonnull %6, i32 noundef %38, i32 noundef %39) #3
  %40 = load i32, ptr %11, align 8, !tbaa !17
  call void @silk_LPC_analysis_filter_FLP(ptr noundef nonnull %8, ptr noundef nonnull %7, ptr noundef %2, i32 noundef %27, i32 noundef %40) #3
  %41 = load i32, ptr %11, align 8, !tbaa !17
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds float, ptr %8, i64 %42
  %44 = sub nsw i32 %13, %41
  %45 = call double @silk_energy_FLP(ptr noundef nonnull %43, i32 noundef %44) #3
  %46 = load i32, ptr %11, align 8, !tbaa !17
  %47 = sext i32 %46 to i64
  %gep = getelementptr float, ptr %invariant.gep, i64 %47
  %48 = sub nsw i32 %13, %46
  %49 = call double @silk_energy_FLP(ptr noundef nonnull %gep, i32 noundef %48) #3
  %50 = fadd double %45, %49
  %51 = fptrunc double %50 to float
  %52 = fcmp ogt float %32, %51
  br i1 %52, label %53, label %54

53:                                               ; preds = %26
  store i8 3, ptr %14, align 1, !tbaa !18
  br label %56

54:                                               ; preds = %26
  %55 = fcmp ogt float %51, 0x47EFFFFFE0000000
  br i1 %55, label %.loopexit, label %56

56:                                               ; preds = %54, %53
  %.1 = phi float [ %51, %53 ], [ %32, %54 ]
  %57 = load i32, ptr %11, align 8, !tbaa !17
  call void @silk_interpolate(ptr noundef nonnull %6, ptr noundef nonnull %34, ptr noundef %1, i32 noundef 2, i32 noundef %57) #3
  %58 = load i32, ptr %11, align 8, !tbaa !17
  %59 = load i32, ptr %35, align 4, !tbaa !22
  call void @silk_NLSF2A_FLP(ptr noundef nonnull %7, ptr noundef nonnull %6, i32 noundef %58, i32 noundef %59) #3
  %60 = load i32, ptr %11, align 8, !tbaa !17
  call void @silk_LPC_analysis_filter_FLP(ptr noundef nonnull %8, ptr noundef nonnull %7, ptr noundef %2, i32 noundef %27, i32 noundef %60) #3
  %61 = load i32, ptr %11, align 8, !tbaa !17
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds float, ptr %8, i64 %62
  %64 = sub nsw i32 %13, %61
  %65 = call double @silk_energy_FLP(ptr noundef nonnull %63, i32 noundef %64) #3
  %66 = load i32, ptr %11, align 8, !tbaa !17
  %67 = sext i32 %66 to i64
  %gep.1 = getelementptr float, ptr %invariant.gep, i64 %67
  %68 = sub nsw i32 %13, %66
  %69 = call double @silk_energy_FLP(ptr noundef nonnull %gep.1, i32 noundef %68) #3
  %70 = fadd double %65, %69
  %71 = fptrunc double %70 to float
  %72 = fcmp ogt float %.1, %71
  br i1 %72, label %75, label %73

73:                                               ; preds = %56
  %74 = fcmp olt float %51, %71
  br i1 %74, label %.loopexit, label %76

75:                                               ; preds = %56
  store i8 2, ptr %14, align 1, !tbaa !18
  br label %76

76:                                               ; preds = %75, %73
  %.1.1 = phi float [ %71, %75 ], [ %.1, %73 ]
  %77 = load i32, ptr %11, align 8, !tbaa !17
  call void @silk_interpolate(ptr noundef nonnull %6, ptr noundef nonnull %34, ptr noundef %1, i32 noundef 1, i32 noundef %77) #3
  %78 = load i32, ptr %11, align 8, !tbaa !17
  %79 = load i32, ptr %35, align 4, !tbaa !22
  call void @silk_NLSF2A_FLP(ptr noundef nonnull %7, ptr noundef nonnull %6, i32 noundef %78, i32 noundef %79) #3
  %80 = load i32, ptr %11, align 8, !tbaa !17
  call void @silk_LPC_analysis_filter_FLP(ptr noundef nonnull %8, ptr noundef nonnull %7, ptr noundef %2, i32 noundef %27, i32 noundef %80) #3
  %81 = load i32, ptr %11, align 8, !tbaa !17
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds float, ptr %8, i64 %82
  %84 = sub nsw i32 %13, %81
  %85 = call double @silk_energy_FLP(ptr noundef nonnull %83, i32 noundef %84) #3
  %86 = load i32, ptr %11, align 8, !tbaa !17
  %87 = sext i32 %86 to i64
  %gep.2 = getelementptr float, ptr %invariant.gep, i64 %87
  %88 = sub nsw i32 %13, %86
  %89 = call double @silk_energy_FLP(ptr noundef nonnull %gep.2, i32 noundef %88) #3
  %90 = fadd double %85, %89
  %91 = fptrunc double %90 to float
  %92 = fcmp ogt float %.1.1, %91
  br i1 %92, label %95, label %93

93:                                               ; preds = %76
  %94 = fcmp olt float %71, %91
  br i1 %94, label %.loopexit, label %96

95:                                               ; preds = %76
  store i8 1, ptr %14, align 1, !tbaa !18
  br label %96

96:                                               ; preds = %95, %93
  %.1.2 = phi float [ %91, %95 ], [ %.1.1, %93 ]
  %97 = load i32, ptr %11, align 8, !tbaa !17
  call void @silk_interpolate(ptr noundef nonnull %6, ptr noundef nonnull %34, ptr noundef %1, i32 noundef 0, i32 noundef %97) #3
  %98 = load i32, ptr %11, align 8, !tbaa !17
  %99 = load i32, ptr %35, align 4, !tbaa !22
  call void @silk_NLSF2A_FLP(ptr noundef nonnull %7, ptr noundef nonnull %6, i32 noundef %98, i32 noundef %99) #3
  %100 = load i32, ptr %11, align 8, !tbaa !17
  call void @silk_LPC_analysis_filter_FLP(ptr noundef nonnull %8, ptr noundef nonnull %7, ptr noundef %2, i32 noundef %27, i32 noundef %100) #3
  %101 = load i32, ptr %11, align 8, !tbaa !17
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds float, ptr %8, i64 %102
  %104 = sub nsw i32 %13, %101
  %105 = call double @silk_energy_FLP(ptr noundef nonnull %103, i32 noundef %104) #3
  %106 = load i32, ptr %11, align 8, !tbaa !17
  %107 = sext i32 %106 to i64
  %gep.3 = getelementptr float, ptr %invariant.gep, i64 %107
  %108 = sub nsw i32 %13, %106
  %109 = call double @silk_energy_FLP(ptr noundef nonnull %gep.3, i32 noundef %108) #3
  %110 = fadd double %105, %109
  %111 = fptrunc double %110 to float
  %112 = fcmp ogt float %.1.2, %111
  br i1 %112, label %.loopexit.thread, label %.loopexit

.loopexit.thread:                                 ; preds = %96
  store i8 0, ptr %14, align 1, !tbaa !18
  br label %116

.loopexit:                                        ; preds = %96, %54, %73, %93, %23, %20, %4
  %.pr = load i8, ptr %14, align 1, !tbaa !18
  %113 = icmp eq i8 %.pr, 4
  br i1 %113, label %114, label %116

114:                                              ; preds = %.loopexit
  %115 = load i32, ptr %11, align 8, !tbaa !17
  call void @silk_A2NLSF_FLP(ptr noundef %1, ptr noundef nonnull %5, i32 noundef %115) #3
  br label %116

116:                                              ; preds = %.loopexit.thread, %114, %.loopexit
  call void @llvm.lifetime.end.p0(i64 1536, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #3
  ret void
}

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

declare float @silk_burg_modified_FLP(ptr noundef, ptr noundef, float noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare void @silk_A2NLSF_FLP(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @silk_interpolate(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare void @silk_NLSF2A_FLP(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare void @silk_LPC_analysis_filter_FLP(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare double @silk_energy_FLP(ptr noundef, i32 noundef) local_unnamed_addr #2

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 }

!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, !9, i64 4588}
!6 = !{!"", !7, i64 0, !9, i64 8, !9, i64 12, !10, i64 16, !11, i64 36, !13, i64 148, !7, i64 4500, !9, i64 4532, !9, i64 4536, !7, i64 4540, !7, i64 4541, !9, i64 4544, !9, i64 4548, !9, i64 4552, !9, i64 4556, !9, i64 4560, !9, i64 4564, !9, i64 4568, !9, i64 4572, !9, i64 4576, !9, i64 4580, !9, i64 4584, !9, i64 4588, !9, i64 4592, !9, i64 4596, !9, i64 4600, !9, i64 4604, !9, i64 4608, !9, i64 4612, !9, i64 4616, !9, i64 4620, !9, i64 4624, !9, i64 4628, !9, i64 4632, !9, i64 4636, !9, i64 4640, !9, i64 4644, !9, i64 4648, !9, i64 4652, !9, i64 4656, !9, i64 4660, !9, i64 4664, !9, i64 4668, !9, i64 4672, !9, i64 4676, !9, i64 4680, !14, i64 4688, !14, i64 4696, !14, i64 4704, !7, i64 4712, !9, i64 4728, !9, i64 4732, !7, i64 4736, !7, i64 4739, !7, i64 4740, !15, i64 4752, !7, i64 4788, !9, i64 5108, !7, i64 5112, !9, i64 5756, !9, i64 5760, !9, i64 5764, !9, i64 5768, !9, i64 5772, !9, i64 5776, !9, i64 5780, !9, i64 5784, !12, i64 5788, !16, i64 5792, !9, i64 6096, !9, i64 6100, !9, i64 6104, !9, i64 6108, !9, i64 6112, !9, i64 6116, !7, i64 6120, !7, i64 6228}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"int", !7, i64 0}
!10 = !{!"", !7, i64 0, !9, i64 8, !9, i64 12, !9, i64 16}
!11 = !{!"", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 40, !12, i64 56, !7, i64 60, !7, i64 76, !7, i64 92, !9, i64 108}
!12 = !{!"short", !7, i64 0}
!13 = !{!"", !7, i64 0, !7, i64 1280, !7, i64 3840, !7, i64 4224, !9, i64 4320, !9, i64 4324, !9, i64 4328, !9, i64 4332, !9, i64 4336, !9, i64 4340, !9, i64 4344, !9, i64 4348}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 26, !7, i64 28, !7, i64 29, !7, i64 30, !7, i64 31, !7, i64 32, !7, i64 33, !7, i64 34}
!16 = !{!"_silk_resampler_state_struct", !7, i64 0, !7, i64 24, !7, i64 168, !9, i64 264, !9, i64 268, !9, i64 272, !9, i64 276, !9, i64 280, !9, i64 284, !9, i64 288, !9, i64 292, !14, i64 296}
!17 = !{!6, !9, i64 4640}
!18 = !{!6, !7, i64 4783}
!19 = !{!6, !9, i64 4580}
!20 = !{!6, !9, i64 4632}
!21 = !{!6, !9, i64 4664}
!22 = !{!6, !9, i64 5108}


; Effective O3 passes: ADCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,ReassociatePass,SROAPass,SimplifyCFGPass