; LLVM IR from glaretechnologies/substrata :: opus/opus-1.3.1/silk/float (wrappers_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_FLP = type { %struct.silk_encoder_state, %struct.silk_shape_state_FLP, [720 x float], float }
%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] }
%struct.silk_shape_state_FLP = type { i8, float, float }
%struct.silk_encoder_control_FLP = type { [4 x float], [2 x [16 x float]], [20 x float], float, [4 x i32], [96 x float], [4 x float], [4 x float], [4 x float], [4 x float], float, float, float, float, float, [4 x float], [4 x i32], i8 }

@silk_LTPScales_table_Q14 = external constant [3 x i16], align 2

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @silk_float2int(float noundef) #1

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

; Function Attrs: nounwind uwtable
define dso_local void @silk_NSQ_wrapper_FLP(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #2 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca [320 x i16], align 16
  %16 = alloca [4 x i32], align 16
  %17 = alloca [2 x [16 x i16]], align 16
  %18 = alloca [20 x i16], align 16
  %19 = alloca i32, align 4
  %20 = alloca [96 x i16], align 16
  %21 = alloca [4 x i32], align 16
  %22 = alloca i32, align 4
  %23 = alloca [4 x i32], align 16
  %24 = alloca [4 x i32], align 16
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store ptr %5, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 640, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 192, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #4
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %25

25:                                               ; preds = %63, %6
  %26 = load i32, ptr %13, align 4, !tbaa !9
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.silk_encoder_state_FLP, ptr %27, i32 0, i32 0
  %29 = getelementptr inbounds %struct.silk_encoder_state, ptr %28, i32 0, i32 20
  %30 = load i32, ptr %29, align 4, !tbaa !11
  %31 = icmp slt i32 %26, %30
  br i1 %31, label %32, label %66

32:                                               ; preds = %25
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %33

33:                                               ; preds = %59, %32
  %34 = load i32, ptr %14, align 4, !tbaa !9
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.silk_encoder_state_FLP, ptr %35, i32 0, i32 0
  %37 = getelementptr inbounds %struct.silk_encoder_state, ptr %36, i32 0, i32 34
  %38 = load i32, ptr %37, align 4, !tbaa !22
  %39 = icmp slt i32 %34, %38
  br i1 %39, label %40, label %62

40:                                               ; preds = %33
  %41 = load ptr, ptr %8, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.silk_encoder_control_FLP, ptr %41, i32 0, i32 5
  %43 = load i32, ptr %13, align 4, !tbaa !9
  %44 = mul nsw i32 %43, 24
  %45 = load i32, ptr %14, align 4, !tbaa !9
  %46 = add nsw i32 %44, %45
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [96 x float], ptr %42, i64 0, i64 %47
  %49 = load float, ptr %48, align 4, !tbaa !23
  %50 = fmul float %49, 8.192000e+03
  %51 = call i32 @silk_float2int(float noundef %50)
  %52 = trunc i32 %51 to i16
  %53 = load i32, ptr %13, align 4, !tbaa !9
  %54 = mul nsw i32 %53, 24
  %55 = load i32, ptr %14, align 4, !tbaa !9
  %56 = add nsw i32 %54, %55
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [96 x i16], ptr %20, i64 0, i64 %57
  store i16 %52, ptr %58, align 2, !tbaa !24
  br label %59

59:                                               ; preds = %40
  %60 = load i32, ptr %14, align 4, !tbaa !9
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr %14, align 4, !tbaa !9
  br label %33, !llvm.loop !25

62:                                               ; preds = %33
  br label %63

63:                                               ; preds = %62
  %64 = load i32, ptr %13, align 4, !tbaa !9
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %13, align 4, !tbaa !9
  br label %25, !llvm.loop !27

66:                                               ; preds = %25
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %67

67:                                               ; preds = %120, %66
  %68 = load i32, ptr %13, align 4, !tbaa !9
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.silk_encoder_state_FLP, ptr %69, i32 0, i32 0
  %71 = getelementptr inbounds %struct.silk_encoder_state, ptr %70, i32 0, i32 20
  %72 = load i32, ptr %71, align 4, !tbaa !11
  %73 = icmp slt i32 %68, %72
  br i1 %73, label %74, label %123

74:                                               ; preds = %67
  %75 = load ptr, ptr %8, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.silk_encoder_control_FLP, ptr %75, i32 0, i32 7
  %77 = load i32, ptr %13, align 4, !tbaa !9
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [4 x float], ptr %76, i64 0, i64 %78
  %80 = load float, ptr %79, align 4, !tbaa !23
  %81 = fmul float %80, 1.638400e+04
  %82 = call i32 @silk_float2int(float noundef %81)
  %83 = shl i32 %82, 16
  %84 = load ptr, ptr %8, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.silk_encoder_control_FLP, ptr %84, i32 0, i32 6
  %86 = load i32, ptr %13, align 4, !tbaa !9
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [4 x float], ptr %85, i64 0, i64 %87
  %89 = load float, ptr %88, align 4, !tbaa !23
  %90 = fmul float %89, 1.638400e+04
  %91 = call i32 @silk_float2int(float noundef %90)
  %92 = trunc i32 %91 to i16
  %93 = zext i16 %92 to i32
  %94 = or i32 %83, %93
  %95 = load i32, ptr %13, align 4, !tbaa !9
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [4 x i32], ptr %21, i64 0, i64 %96
  store i32 %94, ptr %97, align 4, !tbaa !9
  %98 = load ptr, ptr %8, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.silk_encoder_control_FLP, ptr %98, i32 0, i32 8
  %100 = load i32, ptr %13, align 4, !tbaa !9
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [4 x float], ptr %99, i64 0, i64 %101
  %103 = load float, ptr %102, align 4, !tbaa !23
  %104 = fmul float %103, 1.638400e+04
  %105 = call i32 @silk_float2int(float noundef %104)
  %106 = load i32, ptr %13, align 4, !tbaa !9
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds [4 x i32], ptr %23, i64 0, i64 %107
  store i32 %105, ptr %108, align 4, !tbaa !9
  %109 = load ptr, ptr %8, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.silk_encoder_control_FLP, ptr %109, i32 0, i32 9
  %111 = load i32, ptr %13, align 4, !tbaa !9
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [4 x float], ptr %110, i64 0, i64 %112
  %114 = load float, ptr %113, align 4, !tbaa !23
  %115 = fmul float %114, 1.638400e+04
  %116 = call i32 @silk_float2int(float noundef %115)
  %117 = load i32, ptr %13, align 4, !tbaa !9
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [4 x i32], ptr %24, i64 0, i64 %118
  store i32 %116, ptr %119, align 4, !tbaa !9
  br label %120

120:                                              ; preds = %74
  %121 = load i32, ptr %13, align 4, !tbaa !9
  %122 = add nsw i32 %121, 1
  store i32 %122, ptr %13, align 4, !tbaa !9
  br label %67, !llvm.loop !28

123:                                              ; preds = %67
  %124 = load ptr, ptr %8, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.silk_encoder_control_FLP, ptr %124, i32 0, i32 10
  %126 = load float, ptr %125, align 4, !tbaa !29
  %127 = fmul float %126, 1.024000e+03
  %128 = call i32 @silk_float2int(float noundef %127)
  store i32 %128, ptr %22, align 4, !tbaa !9
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %129

129:                                              ; preds = %150, %123
  %130 = load i32, ptr %13, align 4, !tbaa !9
  %131 = load ptr, ptr %7, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.silk_encoder_state_FLP, ptr %131, i32 0, i32 0
  %133 = getelementptr inbounds %struct.silk_encoder_state, ptr %132, i32 0, i32 20
  %134 = load i32, ptr %133, align 4, !tbaa !11
  %135 = mul nsw i32 %134, 5
  %136 = icmp slt i32 %130, %135
  br i1 %136, label %137, label %153

137:                                              ; preds = %129
  %138 = load ptr, ptr %8, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.silk_encoder_control_FLP, ptr %138, i32 0, i32 2
  %140 = load i32, ptr %13, align 4, !tbaa !9
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds [20 x float], ptr %139, i64 0, i64 %141
  %143 = load float, ptr %142, align 4, !tbaa !23
  %144 = fmul float %143, 1.638400e+04
  %145 = call i32 @silk_float2int(float noundef %144)
  %146 = trunc i32 %145 to i16
  %147 = load i32, ptr %13, align 4, !tbaa !9
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds [20 x i16], ptr %18, i64 0, i64 %148
  store i16 %146, ptr %149, align 2, !tbaa !24
  br label %150

150:                                              ; preds = %137
  %151 = load i32, ptr %13, align 4, !tbaa !9
  %152 = add nsw i32 %151, 1
  store i32 %152, ptr %13, align 4, !tbaa !9
  br label %129, !llvm.loop !31

153:                                              ; preds = %129
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %154

154:                                              ; preds = %188, %153
  %155 = load i32, ptr %14, align 4, !tbaa !9
  %156 = icmp slt i32 %155, 2
  br i1 %156, label %157, label %191

157:                                              ; preds = %154
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %158

158:                                              ; preds = %184, %157
  %159 = load i32, ptr %13, align 4, !tbaa !9
  %160 = load ptr, ptr %7, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.silk_encoder_state_FLP, ptr %160, i32 0, i32 0
  %162 = getelementptr inbounds %struct.silk_encoder_state, ptr %161, i32 0, i32 35
  %163 = load i32, ptr %162, align 8, !tbaa !32
  %164 = icmp slt i32 %159, %163
  br i1 %164, label %165, label %187

165:                                              ; preds = %158
  %166 = load ptr, ptr %8, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.silk_encoder_control_FLP, ptr %166, i32 0, i32 1
  %168 = load i32, ptr %14, align 4, !tbaa !9
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds [2 x [16 x float]], ptr %167, i64 0, i64 %169
  %171 = load i32, ptr %13, align 4, !tbaa !9
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds [16 x float], ptr %170, i64 0, i64 %172
  %174 = load float, ptr %173, align 4, !tbaa !23
  %175 = fmul float %174, 4.096000e+03
  %176 = call i32 @silk_float2int(float noundef %175)
  %177 = trunc i32 %176 to i16
  %178 = load i32, ptr %14, align 4, !tbaa !9
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds [2 x [16 x i16]], ptr %17, i64 0, i64 %179
  %181 = load i32, ptr %13, align 4, !tbaa !9
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds [16 x i16], ptr %180, i64 0, i64 %182
  store i16 %177, ptr %183, align 2, !tbaa !24
  br label %184

184:                                              ; preds = %165
  %185 = load i32, ptr %13, align 4, !tbaa !9
  %186 = add nsw i32 %185, 1
  store i32 %186, ptr %13, align 4, !tbaa !9
  br label %158, !llvm.loop !33

187:                                              ; preds = %158
  br label %188

188:                                              ; preds = %187
  %189 = load i32, ptr %14, align 4, !tbaa !9
  %190 = add nsw i32 %189, 1
  store i32 %190, ptr %14, align 4, !tbaa !9
  br label %154, !llvm.loop !34

191:                                              ; preds = %154
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %192

192:                                              ; preds = %211, %191
  %193 = load i32, ptr %13, align 4, !tbaa !9
  %194 = load ptr, ptr %7, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.silk_encoder_state_FLP, ptr %194, i32 0, i32 0
  %196 = getelementptr inbounds %struct.silk_encoder_state, ptr %195, i32 0, i32 20
  %197 = load i32, ptr %196, align 4, !tbaa !11
  %198 = icmp slt i32 %193, %197
  br i1 %198, label %199, label %214

199:                                              ; preds = %192
  %200 = load ptr, ptr %8, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.silk_encoder_control_FLP, ptr %200, i32 0, i32 0
  %202 = load i32, ptr %13, align 4, !tbaa !9
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds [4 x float], ptr %201, i64 0, i64 %203
  %205 = load float, ptr %204, align 4, !tbaa !23
  %206 = fmul float %205, 6.553600e+04
  %207 = call i32 @silk_float2int(float noundef %206)
  %208 = load i32, ptr %13, align 4, !tbaa !9
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 %209
  store i32 %207, ptr %210, align 4, !tbaa !9
  br label %211

211:                                              ; preds = %199
  %212 = load i32, ptr %13, align 4, !tbaa !9
  %213 = add nsw i32 %212, 1
  store i32 %213, ptr %13, align 4, !tbaa !9
  br label %192, !llvm.loop !35

214:                                              ; preds = %192
  %215 = load ptr, ptr %9, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.SideInfoIndices, ptr %215, i32 0, i32 5
  %217 = load i8, ptr %216, align 1, !tbaa !36
  %218 = sext i8 %217 to i32
  %219 = icmp eq i32 %218, 2
  br i1 %219, label %220, label %228

220:                                              ; preds = %214
  %221 = load ptr, ptr %9, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.SideInfoIndices, ptr %221, i32 0, i32 9
  %223 = load i8, ptr %222, align 1, !tbaa !37
  %224 = sext i8 %223 to i64
  %225 = getelementptr inbounds [3 x i16], ptr @silk_LTPScales_table_Q14, i64 0, i64 %224
  %226 = load i16, ptr %225, align 2, !tbaa !24
  %227 = sext i16 %226 to i32
  store i32 %227, ptr %19, align 4, !tbaa !9
  br label %229

228:                                              ; preds = %214
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %229

229:                                              ; preds = %228, %220
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %230

230:                                              ; preds = %248, %229
  %231 = load i32, ptr %13, align 4, !tbaa !9
  %232 = load ptr, ptr %7, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.silk_encoder_state_FLP, ptr %232, i32 0, i32 0
  %234 = getelementptr inbounds %struct.silk_encoder_state, ptr %233, i32 0, i32 21
  %235 = load i32, ptr %234, align 8, !tbaa !38
  %236 = icmp slt i32 %231, %235
  br i1 %236, label %237, label %251

237:                                              ; preds = %230
  %238 = load ptr, ptr %12, align 8, !tbaa !5
  %239 = load i32, ptr %13, align 4, !tbaa !9
  %240 = sext i32 %239 to i64
  %241 = getelementptr inbounds float, ptr %238, i64 %240
  %242 = load float, ptr %241, align 4, !tbaa !23
  %243 = call i32 @silk_float2int(float noundef %242)
  %244 = trunc i32 %243 to i16
  %245 = load i32, ptr %13, align 4, !tbaa !9
  %246 = sext i32 %245 to i64
  %247 = getelementptr inbounds [320 x i16], ptr %15, i64 0, i64 %246
  store i16 %244, ptr %247, align 2, !tbaa !24
  br label %248

248:                                              ; preds = %237
  %249 = load i32, ptr %13, align 4, !tbaa !9
  %250 = add nsw i32 %249, 1
  store i32 %250, ptr %13, align 4, !tbaa !9
  br label %230, !llvm.loop !39

251:                                              ; preds = %230
  %252 = load ptr, ptr %7, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.silk_encoder_state_FLP, ptr %252, i32 0, i32 0
  %254 = getelementptr inbounds %struct.silk_encoder_state, ptr %253, i32 0, i32 32
  %255 = load i32, ptr %254, align 4, !tbaa !40
  %256 = icmp sgt i32 %255, 1
  br i1 %256, label %263, label %257

257:                                              ; preds = %251
  %258 = load ptr, ptr %7, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.silk_encoder_state_FLP, ptr %258, i32 0, i32 0
  %260 = getelementptr inbounds %struct.silk_encoder_state, ptr %259, i32 0, i32 43
  %261 = load i32, ptr %260, align 8, !tbaa !41
  %262 = icmp sgt i32 %261, 0
  br i1 %262, label %263, label %287

263:                                              ; preds = %257, %251
  %264 = load ptr, ptr %7, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.silk_encoder_state_FLP, ptr %264, i32 0, i32 0
  %266 = getelementptr inbounds %struct.silk_encoder_state, ptr %265, i32 0, i32 57
  %267 = load i32, ptr %266, align 4, !tbaa !42
  %268 = load ptr, ptr %7, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.silk_encoder_state_FLP, ptr %268, i32 0, i32 0
  %270 = load ptr, ptr %10, align 8, !tbaa !5
  %271 = load ptr, ptr %9, align 8, !tbaa !5
  %272 = getelementptr inbounds [320 x i16], ptr %15, i64 0, i64 0
  %273 = load ptr, ptr %11, align 8, !tbaa !5
  %274 = getelementptr inbounds [2 x [16 x i16]], ptr %17, i64 0, i64 0
  %275 = getelementptr inbounds [16 x i16], ptr %274, i64 0, i64 0
  %276 = getelementptr inbounds [20 x i16], ptr %18, i64 0, i64 0
  %277 = getelementptr inbounds [96 x i16], ptr %20, i64 0, i64 0
  %278 = getelementptr inbounds [4 x i32], ptr %24, i64 0, i64 0
  %279 = getelementptr inbounds [4 x i32], ptr %23, i64 0, i64 0
  %280 = getelementptr inbounds [4 x i32], ptr %21, i64 0, i64 0
  %281 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 0
  %282 = load ptr, ptr %8, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.silk_encoder_control_FLP, ptr %282, i32 0, i32 4
  %284 = getelementptr inbounds [4 x i32], ptr %283, i64 0, i64 0
  %285 = load i32, ptr %22, align 4, !tbaa !9
  %286 = load i32, ptr %19, align 4, !tbaa !9
  call void @silk_NSQ_del_dec_c(ptr noundef %269, ptr noundef %270, ptr noundef %271, ptr noundef %272, ptr noundef %273, ptr noundef %275, ptr noundef %276, ptr noundef %277, ptr noundef %278, ptr noundef %279, ptr noundef %280, ptr noundef %281, ptr noundef %284, i32 noundef %285, i32 noundef %286)
  br label %311

287:                                              ; preds = %257
  %288 = load ptr, ptr %7, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.silk_encoder_state_FLP, ptr %288, i32 0, i32 0
  %290 = getelementptr inbounds %struct.silk_encoder_state, ptr %289, i32 0, i32 57
  %291 = load i32, ptr %290, align 4, !tbaa !42
  %292 = load ptr, ptr %7, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.silk_encoder_state_FLP, ptr %292, i32 0, i32 0
  %294 = load ptr, ptr %10, align 8, !tbaa !5
  %295 = load ptr, ptr %9, align 8, !tbaa !5
  %296 = getelementptr inbounds [320 x i16], ptr %15, i64 0, i64 0
  %297 = load ptr, ptr %11, align 8, !tbaa !5
  %298 = getelementptr inbounds [2 x [16 x i16]], ptr %17, i64 0, i64 0
  %299 = getelementptr inbounds [16 x i16], ptr %298, i64 0, i64 0
  %300 = getelementptr inbounds [20 x i16], ptr %18, i64 0, i64 0
  %301 = getelementptr inbounds [96 x i16], ptr %20, i64 0, i64 0
  %302 = getelementptr inbounds [4 x i32], ptr %24, i64 0, i64 0
  %303 = getelementptr inbounds [4 x i32], ptr %23, i64 0, i64 0
  %304 = getelementptr inbounds [4 x i32], ptr %21, i64 0, i64 0
  %305 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 0
  %306 = load ptr, ptr %8, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.silk_encoder_control_FLP, ptr %306, i32 0, i32 4
  %308 = getelementptr inbounds [4 x i32], ptr %307, i64 0, i64 0
  %309 = load i32, ptr %22, align 4, !tbaa !9
  %310 = load i32, ptr %19, align 4, !tbaa !9
  call void @silk_NSQ_c(ptr noundef %293, ptr noundef %294, ptr noundef %295, ptr noundef %296, ptr noundef %297, ptr noundef %299, ptr noundef %300, ptr noundef %301, ptr noundef %302, ptr noundef %303, ptr noundef %304, ptr noundef %305, ptr noundef %308, i32 noundef %309, i32 noundef %310)
  br label %311

311:                                              ; preds = %287, %263
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 192, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 640, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  ret void
}

declare void @silk_NSQ_del_dec_c(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #3

declare void @silk_NSQ_c(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #3

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

!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 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 4580}
!12 = !{!"", !13, i64 0, !20, i64 7192, !7, i64 7204, !21, i64 10084}
!13 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12, !14, i64 16, !15, i64 36, !17, i64 148, !7, i64 4500, !10, i64 4532, !10, i64 4536, !7, i64 4540, !7, i64 4541, !10, i64 4544, !10, i64 4548, !10, i64 4552, !10, i64 4556, !10, i64 4560, !10, i64 4564, !10, i64 4568, !10, i64 4572, !10, i64 4576, !10, i64 4580, !10, i64 4584, !10, i64 4588, !10, i64 4592, !10, i64 4596, !10, i64 4600, !10, i64 4604, !10, i64 4608, !10, i64 4612, !10, i64 4616, !10, i64 4620, !10, i64 4624, !10, i64 4628, !10, i64 4632, !10, i64 4636, !10, i64 4640, !10, i64 4644, !10, i64 4648, !10, i64 4652, !10, i64 4656, !10, i64 4660, !10, i64 4664, !10, i64 4668, !10, i64 4672, !10, i64 4676, !10, i64 4680, !6, i64 4688, !6, i64 4696, !6, i64 4704, !7, i64 4712, !10, i64 4728, !10, i64 4732, !7, i64 4736, !7, i64 4739, !7, i64 4740, !18, i64 4752, !7, i64 4788, !10, i64 5108, !7, i64 5112, !10, i64 5756, !10, i64 5760, !10, i64 5764, !10, i64 5768, !10, i64 5772, !10, i64 5776, !10, i64 5780, !10, i64 5784, !16, i64 5788, !19, i64 5792, !10, i64 6096, !10, i64 6100, !10, i64 6104, !10, i64 6108, !10, i64 6112, !10, i64 6116, !7, i64 6120, !7, i64 6228}
!14 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12, !10, 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, !10, i64 108}
!16 = !{!"short", !7, i64 0}
!17 = !{!"", !7, i64 0, !7, i64 1280, !7, i64 3840, !7, i64 4224, !10, i64 4320, !10, i64 4324, !10, i64 4328, !10, i64 4332, !10, i64 4336, !10, i64 4340, !10, i64 4344, !10, 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, !10, i64 264, !10, i64 268, !10, i64 272, !10, i64 276, !10, i64 280, !10, i64 284, !10, i64 288, !10, i64 292, !6, i64 296}
!20 = !{!"", !7, i64 0, !21, i64 4, !21, i64 8}
!21 = !{!"float", !7, i64 0}
!22 = !{!12, !10, i64 4636}
!23 = !{!21, !21, i64 0}
!24 = !{!16, !16, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = distinct !{!27, !26}
!28 = distinct !{!28, !26}
!29 = !{!30, !21, i64 692}
!30 = !{!"", !7, i64 0, !7, i64 16, !7, i64 144, !21, i64 224, !7, i64 228, !7, i64 244, !7, i64 628, !7, i64 644, !7, i64 660, !7, i64 676, !21, i64 692, !21, i64 696, !21, i64 700, !21, i64 704, !21, i64 708, !7, i64 712, !7, i64 728, !7, i64 744}
!31 = distinct !{!31, !26}
!32 = !{!12, !10, i64 4640}
!33 = distinct !{!33, !26}
!34 = distinct !{!34, !26}
!35 = distinct !{!35, !26}
!36 = !{!18, !7, i64 29}
!37 = !{!18, !7, i64 33}
!38 = !{!12, !10, i64 4584}
!39 = distinct !{!39, !26}
!40 = !{!12, !10, i64 4628}
!41 = !{!12, !10, i64 4672}
!42 = !{!12, !10, i64 5108}


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

@silk_LTPScales_table_Q14 = external local_unnamed_addr constant [3 x i16], align 2

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @silk_float2int(float noundef) local_unnamed_addr #1

; 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 uwtable
define dso_local void @silk_NSQ_wrapper_FLP(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr nocapture noundef readonly %5) local_unnamed_addr #2 {
  %7 = alloca [320 x i16], align 16
  %8 = alloca [4 x i32], align 16
  %9 = alloca [2 x [16 x i16]], align 16
  %10 = alloca [20 x i16], align 16
  %11 = alloca [96 x i16], align 16
  %12 = alloca [4 x i32], align 16
  %13 = alloca [4 x i32], align 16
  %14 = alloca [4 x i32], align 16
  call void @llvm.lifetime.start.p0(i64 640, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #4
  %15 = getelementptr inbounds i8, ptr %0, i64 4580
  %16 = load i32, ptr %15, align 4, !tbaa !5
  %17 = icmp sgt i32 %16, 0
  br i1 %17, label %.preheader79.lr.ph, label %._crit_edge84

.preheader79.lr.ph:                               ; preds = %6
  %18 = getelementptr inbounds i8, ptr %0, i64 4636
  %19 = getelementptr inbounds i8, ptr %1, i64 244
  %20 = load i32, ptr %18, align 4, !tbaa !20
  %21 = icmp sgt i32 %20, 0
  br i1 %21, label %.preheader79, label %.lr.ph83

.preheader79:                                     ; preds = %.preheader79.lr.ph, %._crit_edge
  %22 = phi i32 [ %42, %._crit_edge ], [ %16, %.preheader79.lr.ph ]
  %23 = phi i32 [ %43, %._crit_edge ], [ %20, %.preheader79.lr.ph ]
  %indvars.iv102 = phi i64 [ %indvars.iv.next103, %._crit_edge ], [ 0, %.preheader79.lr.ph ]
  %24 = icmp sgt i32 %23, 0
  br i1 %24, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader79
  %25 = mul nuw nsw i64 %indvars.iv102, 24
  br label %31

.preheader78:                                     ; preds = %._crit_edge
  %26 = icmp sgt i32 %42, 0
  br i1 %26, label %.lr.ph83, label %._crit_edge84

.lr.ph83:                                         ; preds = %.preheader79.lr.ph, %.preheader78
  %27 = getelementptr inbounds i8, ptr %1, i64 644
  %28 = getelementptr inbounds i8, ptr %1, i64 628
  %29 = getelementptr inbounds i8, ptr %1, i64 660
  %30 = getelementptr inbounds i8, ptr %1, i64 676
  br label %46

31:                                               ; preds = %.lr.ph, %31
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %31 ]
  %32 = add nuw nsw i64 %indvars.iv, %25
  %33 = getelementptr inbounds [96 x float], ptr %19, i64 0, i64 %32
  %34 = load float, ptr %33, align 4, !tbaa !21
  %35 = fmul float %34, 8.192000e+03
  %36 = tail call i32 @silk_float2int(float noundef %35)
  %37 = trunc i32 %36 to i16
  %38 = getelementptr inbounds [96 x i16], ptr %11, i64 0, i64 %32
  store i16 %37, ptr %38, align 2, !tbaa !22
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %39 = load i32, ptr %18, align 4, !tbaa !20
  %40 = sext i32 %39 to i64
  %41 = icmp slt i64 %indvars.iv.next, %40
  br i1 %41, label %31, label %._crit_edge.loopexit, !llvm.loop !23

._crit_edge.loopexit:                             ; preds = %31
  %.pre = load i32, ptr %15, align 4, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader79
  %42 = phi i32 [ %.pre, %._crit_edge.loopexit ], [ %22, %.preheader79 ]
  %43 = phi i32 [ %39, %._crit_edge.loopexit ], [ %23, %.preheader79 ]
  %indvars.iv.next103 = add nuw nsw i64 %indvars.iv102, 1
  %44 = sext i32 %42 to i64
  %45 = icmp slt i64 %indvars.iv.next103, %44
  br i1 %45, label %.preheader79, label %.preheader78, !llvm.loop !25

46:                                               ; preds = %.lr.ph83, %46
  %indvars.iv105 = phi i64 [ 0, %.lr.ph83 ], [ %indvars.iv.next106, %46 ]
  %47 = getelementptr inbounds [4 x float], ptr %27, i64 0, i64 %indvars.iv105
  %48 = load float, ptr %47, align 4, !tbaa !21
  %49 = fmul float %48, 1.638400e+04
  %50 = tail call i32 @silk_float2int(float noundef %49)
  %51 = shl i32 %50, 16
  %52 = getelementptr inbounds [4 x float], ptr %28, i64 0, i64 %indvars.iv105
  %53 = load float, ptr %52, align 4, !tbaa !21
  %54 = fmul float %53, 1.638400e+04
  %55 = tail call i32 @silk_float2int(float noundef %54)
  %56 = and i32 %55, 65535
  %57 = or disjoint i32 %56, %51
  %58 = getelementptr inbounds [4 x i32], ptr %12, i64 0, i64 %indvars.iv105
  store i32 %57, ptr %58, align 4, !tbaa !27
  %59 = getelementptr inbounds [4 x float], ptr %29, i64 0, i64 %indvars.iv105
  %60 = load float, ptr %59, align 4, !tbaa !21
  %61 = fmul float %60, 1.638400e+04
  %62 = tail call i32 @silk_float2int(float noundef %61)
  %63 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 %indvars.iv105
  store i32 %62, ptr %63, align 4, !tbaa !27
  %64 = getelementptr inbounds [4 x float], ptr %30, i64 0, i64 %indvars.iv105
  %65 = load float, ptr %64, align 4, !tbaa !21
  %66 = fmul float %65, 1.638400e+04
  %67 = tail call i32 @silk_float2int(float noundef %66)
  %68 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 %indvars.iv105
  store i32 %67, ptr %68, align 4, !tbaa !27
  %indvars.iv.next106 = add nuw nsw i64 %indvars.iv105, 1
  %69 = load i32, ptr %15, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  %71 = icmp slt i64 %indvars.iv.next106, %70
  br i1 %71, label %46, label %._crit_edge84, !llvm.loop !28

._crit_edge84:                                    ; preds = %46, %6, %.preheader78
  %72 = getelementptr inbounds i8, ptr %1, i64 692
  %73 = load float, ptr %72, align 4, !tbaa !29
  %74 = fmul float %73, 1.024000e+03
  %75 = tail call i32 @silk_float2int(float noundef %74)
  %76 = load i32, ptr %15, align 4, !tbaa !5
  %77 = icmp sgt i32 %76, 0
  br i1 %77, label %.lr.ph87, label %.preheader77

.lr.ph87:                                         ; preds = %._crit_edge84
  %78 = getelementptr inbounds i8, ptr %1, i64 144
  br label %84

.preheader77:                                     ; preds = %84, %._crit_edge84
  %79 = phi i32 [ %76, %._crit_edge84 ], [ %91, %84 ]
  %80 = getelementptr inbounds i8, ptr %0, i64 4640
  %81 = getelementptr inbounds i8, ptr %1, i64 16
  %82 = load i32, ptr %80, align 8, !tbaa !31
  %83 = icmp sgt i32 %82, 0
  br i1 %83, label %.lr.ph89, label %.preheader

84:                                               ; preds = %.lr.ph87, %84
  %indvars.iv108 = phi i64 [ 0, %.lr.ph87 ], [ %indvars.iv.next109, %84 ]
  %85 = getelementptr inbounds [20 x float], ptr %78, i64 0, i64 %indvars.iv108
  %86 = load float, ptr %85, align 4, !tbaa !21
  %87 = fmul float %86, 1.638400e+04
  %88 = tail call i32 @silk_float2int(float noundef %87)
  %89 = trunc i32 %88 to i16
  %90 = getelementptr inbounds [20 x i16], ptr %10, i64 0, i64 %indvars.iv108
  store i16 %89, ptr %90, align 2, !tbaa !22
  %indvars.iv.next109 = add nuw nsw i64 %indvars.iv108, 1
  %91 = load i32, ptr %15, align 4, !tbaa !5
  %92 = mul nsw i32 %91, 5
  %93 = sext i32 %92 to i64
  %94 = icmp slt i64 %indvars.iv.next109, %93
  br i1 %94, label %84, label %.preheader77, !llvm.loop !32

.preheader:                                       ; preds = %.preheader77, %._crit_edge90.1
  %95 = phi i32 [ %.pre123, %._crit_edge90.1 ], [ %79, %.preheader77 ]
  %96 = icmp sgt i32 %95, 0
  br i1 %96, label %.lr.ph93, label %._crit_edge94

.lr.ph89:                                         ; preds = %.preheader77, %.lr.ph89
  %indvars.iv111 = phi i64 [ %indvars.iv.next112, %.lr.ph89 ], [ 0, %.preheader77 ]
  %97 = getelementptr inbounds [2 x [16 x float]], ptr %81, i64 0, i64 0, i64 %indvars.iv111
  %98 = load float, ptr %97, align 4, !tbaa !21
  %99 = fmul float %98, 4.096000e+03
  %100 = tail call i32 @silk_float2int(float noundef %99)
  %101 = trunc i32 %100 to i16
  %102 = getelementptr inbounds [2 x [16 x i16]], ptr %9, i64 0, i64 0, i64 %indvars.iv111
  store i16 %101, ptr %102, align 2, !tbaa !22
  %indvars.iv.next112 = add nuw nsw i64 %indvars.iv111, 1
  %103 = load i32, ptr %80, align 8, !tbaa !31
  %104 = sext i32 %103 to i64
  %105 = icmp slt i64 %indvars.iv.next112, %104
  br i1 %105, label %.lr.ph89, label %._crit_edge90, !llvm.loop !33

._crit_edge90:                                    ; preds = %.lr.ph89
  %106 = icmp sgt i32 %103, 0
  br i1 %106, label %.lr.ph89.1, label %._crit_edge90.1

.lr.ph89.1:                                       ; preds = %._crit_edge90, %.lr.ph89.1
  %indvars.iv111.1 = phi i64 [ %indvars.iv.next112.1, %.lr.ph89.1 ], [ 0, %._crit_edge90 ]
  %107 = getelementptr inbounds [2 x [16 x float]], ptr %81, i64 0, i64 1, i64 %indvars.iv111.1
  %108 = load float, ptr %107, align 4, !tbaa !21
  %109 = fmul float %108, 4.096000e+03
  %110 = tail call i32 @silk_float2int(float noundef %109)
  %111 = trunc i32 %110 to i16
  %112 = getelementptr inbounds [2 x [16 x i16]], ptr %9, i64 0, i64 1, i64 %indvars.iv111.1
  store i16 %111, ptr %112, align 2, !tbaa !22
  %indvars.iv.next112.1 = add nuw nsw i64 %indvars.iv111.1, 1
  %113 = load i32, ptr %80, align 8, !tbaa !31
  %114 = sext i32 %113 to i64
  %115 = icmp slt i64 %indvars.iv.next112.1, %114
  br i1 %115, label %.lr.ph89.1, label %._crit_edge90.1, !llvm.loop !33

._crit_edge90.1:                                  ; preds = %.lr.ph89.1, %._crit_edge90
  %.pre123 = load i32, ptr %15, align 4, !tbaa !5
  br label %.preheader

.lr.ph93:                                         ; preds = %.preheader, %.lr.ph93
  %indvars.iv117 = phi i64 [ %indvars.iv.next118, %.lr.ph93 ], [ 0, %.preheader ]
  %116 = getelementptr inbounds [4 x float], ptr %1, i64 0, i64 %indvars.iv117
  %117 = load float, ptr %116, align 4, !tbaa !21
  %118 = fmul float %117, 6.553600e+04
  %119 = tail call i32 @silk_float2int(float noundef %118)
  %120 = getelementptr inbounds [4 x i32], ptr %8, i64 0, i64 %indvars.iv117
  store i32 %119, ptr %120, align 4, !tbaa !27
  %indvars.iv.next118 = add nuw nsw i64 %indvars.iv117, 1
  %121 = load i32, ptr %15, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = icmp slt i64 %indvars.iv.next118, %122
  br i1 %123, label %.lr.ph93, label %._crit_edge94, !llvm.loop !34

._crit_edge94:                                    ; preds = %.lr.ph93, %.preheader
  %124 = getelementptr inbounds i8, ptr %2, i64 29
  %125 = load i8, ptr %124, align 1, !tbaa !35
  %126 = icmp eq i8 %125, 2
  br i1 %126, label %127, label %134

127:                                              ; preds = %._crit_edge94
  %128 = getelementptr inbounds i8, ptr %2, i64 33
  %129 = load i8, ptr %128, align 1, !tbaa !36
  %130 = sext i8 %129 to i64
  %131 = getelementptr inbounds [3 x i16], ptr @silk_LTPScales_table_Q14, i64 0, i64 %130
  %132 = load i16, ptr %131, align 2, !tbaa !22
  %133 = sext i16 %132 to i32
  br label %134

134:                                              ; preds = %._crit_edge94, %127
  %.073 = phi i32 [ %133, %127 ], [ 0, %._crit_edge94 ]
  %135 = getelementptr inbounds i8, ptr %0, i64 4584
  %136 = load i32, ptr %135, align 8, !tbaa !37
  %137 = icmp sgt i32 %136, 0
  br i1 %137, label %.lr.ph97, label %._crit_edge98

.lr.ph97:                                         ; preds = %134, %.lr.ph97
  %indvars.iv120 = phi i64 [ %indvars.iv.next121, %.lr.ph97 ], [ 0, %134 ]
  %138 = getelementptr inbounds float, ptr %5, i64 %indvars.iv120
  %139 = load float, ptr %138, align 4, !tbaa !21
  %140 = tail call i32 @silk_float2int(float noundef %139)
  %141 = trunc i32 %140 to i16
  %142 = getelementptr inbounds [320 x i16], ptr %7, i64 0, i64 %indvars.iv120
  store i16 %141, ptr %142, align 2, !tbaa !22
  %indvars.iv.next121 = add nuw nsw i64 %indvars.iv120, 1
  %143 = load i32, ptr %135, align 8, !tbaa !37
  %144 = sext i32 %143 to i64
  %145 = icmp slt i64 %indvars.iv.next121, %144
  br i1 %145, label %.lr.ph97, label %._crit_edge98, !llvm.loop !38

._crit_edge98:                                    ; preds = %.lr.ph97, %134
  %146 = getelementptr inbounds i8, ptr %0, i64 4628
  %147 = load i32, ptr %146, align 4, !tbaa !39
  %148 = icmp sgt i32 %147, 1
  br i1 %148, label %153, label %149

149:                                              ; preds = %._crit_edge98
  %150 = getelementptr inbounds i8, ptr %0, i64 4672
  %151 = load i32, ptr %150, align 8, !tbaa !40
  %152 = icmp sgt i32 %151, 0
  br i1 %152, label %153, label %155

153:                                              ; preds = %149, %._crit_edge98
  %154 = getelementptr inbounds i8, ptr %1, i64 228
  call void @silk_NSQ_del_dec_c(ptr noundef nonnull %0, ptr noundef %3, ptr noundef %2, ptr noundef nonnull %7, ptr noundef %4, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %14, ptr noundef nonnull %13, ptr noundef nonnull %12, ptr noundef nonnull %8, ptr noundef nonnull %154, i32 noundef %75, i32 noundef %.073) #4
  br label %157

155:                                              ; preds = %149
  %156 = getelementptr inbounds i8, ptr %1, i64 228
  call void @silk_NSQ_c(ptr noundef nonnull %0, ptr noundef %3, ptr noundef %2, ptr noundef nonnull %7, ptr noundef %4, ptr noundef nonnull %9, ptr noundef nonnull %10, ptr noundef nonnull %11, ptr noundef nonnull %14, ptr noundef nonnull %13, ptr noundef nonnull %12, ptr noundef nonnull %8, ptr noundef nonnull %156, i32 noundef %75, i32 noundef %.073) #4
  br label %157

157:                                              ; preds = %155, %153
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 640, ptr nonnull %7) #4
  ret void
}

declare void @silk_NSQ_del_dec_c(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

declare void @silk_NSQ_c(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 4580}
!6 = !{!"", !7, i64 0, !18, i64 7192, !8, i64 7204, !19, i64 10084}
!7 = !{!"", !8, i64 0, !10, i64 8, !10, i64 12, !11, i64 16, !12, i64 36, !14, i64 148, !8, i64 4500, !10, i64 4532, !10, i64 4536, !8, i64 4540, !8, i64 4541, !10, i64 4544, !10, i64 4548, !10, i64 4552, !10, i64 4556, !10, i64 4560, !10, i64 4564, !10, i64 4568, !10, i64 4572, !10, i64 4576, !10, i64 4580, !10, i64 4584, !10, i64 4588, !10, i64 4592, !10, i64 4596, !10, i64 4600, !10, i64 4604, !10, i64 4608, !10, i64 4612, !10, i64 4616, !10, i64 4620, !10, i64 4624, !10, i64 4628, !10, i64 4632, !10, i64 4636, !10, i64 4640, !10, i64 4644, !10, i64 4648, !10, i64 4652, !10, i64 4656, !10, i64 4660, !10, i64 4664, !10, i64 4668, !10, i64 4672, !10, i64 4676, !10, i64 4680, !15, i64 4688, !15, i64 4696, !15, i64 4704, !8, i64 4712, !10, i64 4728, !10, i64 4732, !8, i64 4736, !8, i64 4739, !8, i64 4740, !16, i64 4752, !8, i64 4788, !10, i64 5108, !8, i64 5112, !10, i64 5756, !10, i64 5760, !10, i64 5764, !10, i64 5768, !10, i64 5772, !10, i64 5776, !10, i64 5780, !10, i64 5784, !13, i64 5788, !17, i64 5792, !10, i64 6096, !10, i64 6100, !10, i64 6104, !10, i64 6108, !10, i64 6112, !10, i64 6116, !8, i64 6120, !8, i64 6228}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !8, i64 0, !10, i64 8, !10, i64 12, !10, i64 16}
!12 = !{!"", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 40, !13, i64 56, !8, i64 60, !8, i64 76, !8, i64 92, !10, i64 108}
!13 = !{!"short", !8, i64 0}
!14 = !{!"", !8, i64 0, !8, i64 1280, !8, i64 3840, !8, i64 4224, !10, i64 4320, !10, i64 4324, !10, i64 4328, !10, i64 4332, !10, i64 4336, !10, i64 4340, !10, i64 4344, !10, i64 4348}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!"", !8, i64 0, !8, i64 4, !8, i64 8, !13, i64 26, !8, i64 28, !8, i64 29, !8, i64 30, !8, i64 31, !8, i64 32, !8, i64 33, !8, i64 34}
!17 = !{!"_silk_resampler_state_struct", !8, i64 0, !8, i64 24, !8, i64 168, !10, i64 264, !10, i64 268, !10, i64 272, !10, i64 276, !10, i64 280, !10, i64 284, !10, i64 288, !10, i64 292, !15, i64 296}
!18 = !{!"", !8, i64 0, !19, i64 4, !19, i64 8}
!19 = !{!"float", !8, i64 0}
!20 = !{!6, !10, i64 4636}
!21 = !{!19, !19, i64 0}
!22 = !{!13, !13, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24, !26}
!26 = !{!"llvm.loop.unswitch.partial.disable"}
!27 = !{!10, !10, i64 0}
!28 = distinct !{!28, !24}
!29 = !{!30, !19, i64 692}
!30 = !{!"", !8, i64 0, !8, i64 16, !8, i64 144, !19, i64 224, !8, i64 228, !8, i64 244, !8, i64 628, !8, i64 644, !8, i64 660, !8, i64 676, !19, i64 692, !19, i64 696, !19, i64 700, !19, i64 704, !19, i64 708, !8, i64 712, !8, i64 728, !8, i64 744}
!31 = !{!6, !10, i64 4640}
!32 = distinct !{!32, !24}
!33 = distinct !{!33, !24}
!34 = distinct !{!34, !24}
!35 = !{!16, !8, i64 29}
!36 = !{!16, !8, i64 33}
!37 = !{!6, !10, i64 4584}
!38 = distinct !{!38, !24}
!39 = !{!6, !10, i64 4628}
!40 = !{!6, !10, i64 4672}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass