; LLVM IR from Ryuk17/SpeechAlgorithms :: WebRTC_AEC/src (delay_estimator)

; 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.BinaryDelayEstimator = type { ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, ptr, float, ptr }
%struct.BinaryDelayEstimatorFarend = type { ptr, ptr, i32 }

@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [90 x i8], align 1
@__PRETTY_FUNCTION__.WebRtc_ProcessBinarySpectrum = external hidden unnamed_addr constant [67 x i8], align 1

; 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

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

; Function Attrs: nounwind uwtable
define dso_local i32 @WebRtc_ProcessBinarySpectrum(ptr noundef %0, i32 noundef %1) #3 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 -1, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 16384, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !9
  %15 = load ptr, ptr %3, align 8, !tbaa !5
  %16 = icmp ne ptr %15, null
  br i1 %16, label %17, label %18

17:                                               ; preds = %2
  br label %19

18:                                               ; preds = %2
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 426, ptr noundef @__PRETTY_FUNCTION__.WebRtc_ProcessBinarySpectrum) #5
  unreachable

19:                                               ; preds = %17
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %20, i32 0, i32 3
  %22 = load i32, ptr %21, align 8, !tbaa !11
  %23 = icmp sgt i32 %22, 1
  br i1 %23, label %24, label %54

24:                                               ; preds = %19
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %25, i32 0, i32 2
  %27 = load ptr, ptr %26, align 8, !tbaa !14
  %28 = getelementptr inbounds i32, ptr %27, i64 1
  %29 = load ptr, ptr %3, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %29, i32 0, i32 2
  %31 = load ptr, ptr %30, align 8, !tbaa !14
  %32 = getelementptr inbounds i32, ptr %31, i64 0
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %33, i32 0, i32 3
  %35 = load i32, ptr %34, align 8, !tbaa !11
  %36 = sub nsw i32 %35, 1
  %37 = sext i32 %36 to i64
  %38 = mul i64 %37, 4
  call void @llvm.memmove.p0.p0.i64(ptr align 4 %28, ptr align 4 %32, i64 %38, i1 false)
  %39 = load i32, ptr %4, align 4, !tbaa !9
  %40 = load ptr, ptr %3, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %40, i32 0, i32 2
  %42 = load ptr, ptr %41, align 8, !tbaa !14
  %43 = getelementptr inbounds i32, ptr %42, i64 0
  store i32 %39, ptr %43, align 4, !tbaa !9
  %44 = load ptr, ptr %3, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %44, i32 0, i32 2
  %46 = load ptr, ptr %45, align 8, !tbaa !14
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %47, i32 0, i32 3
  %49 = load i32, ptr %48, align 8, !tbaa !11
  %50 = sub nsw i32 %49, 1
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds i32, ptr %46, i64 %51
  %53 = load i32, ptr %52, align 4, !tbaa !9
  store i32 %53, ptr %4, align 4, !tbaa !9
  br label %54

54:                                               ; preds = %24, %19
  %55 = load i32, ptr %4, align 4, !tbaa !9
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %56, i32 0, i32 13
  %58 = load ptr, ptr %57, align 8, !tbaa !15
  %59 = getelementptr inbounds %struct.BinaryDelayEstimatorFarend, ptr %58, i32 0, i32 1
  %60 = load ptr, ptr %59, align 8, !tbaa !16
  %61 = load ptr, ptr %3, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %61, i32 0, i32 13
  %63 = load ptr, ptr %62, align 8, !tbaa !15
  %64 = getelementptr inbounds %struct.BinaryDelayEstimatorFarend, ptr %63, i32 0, i32 2
  %65 = load i32, ptr %64, align 8, !tbaa !18
  %66 = load ptr, ptr %3, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %66, i32 0, i32 1
  %68 = load ptr, ptr %67, align 8, !tbaa !19
  call void @BitCountComparison(i32 noundef %55, ptr noundef %60, i32 noundef %65, ptr noundef %68)
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %69

69:                                               ; preds = %119, %54
  %70 = load i32, ptr %5, align 4, !tbaa !9
  %71 = load ptr, ptr %3, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %71, i32 0, i32 13
  %73 = load ptr, ptr %72, align 8, !tbaa !15
  %74 = getelementptr inbounds %struct.BinaryDelayEstimatorFarend, ptr %73, i32 0, i32 2
  %75 = load i32, ptr %74, align 8, !tbaa !18
  %76 = icmp slt i32 %70, %75
  br i1 %76, label %77, label %122

77:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %78 = load ptr, ptr %3, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %78, i32 0, i32 1
  %80 = load ptr, ptr %79, align 8, !tbaa !19
  %81 = load i32, ptr %5, align 4, !tbaa !9
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds i32, ptr %80, i64 %82
  %84 = load i32, ptr %83, align 4, !tbaa !9
  %85 = shl i32 %84, 9
  store i32 %85, ptr %11, align 4, !tbaa !9
  %86 = load ptr, ptr %3, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %86, i32 0, i32 13
  %88 = load ptr, ptr %87, align 8, !tbaa !15
  %89 = getelementptr inbounds %struct.BinaryDelayEstimatorFarend, ptr %88, i32 0, i32 0
  %90 = load ptr, ptr %89, align 8, !tbaa !20
  %91 = load i32, ptr %5, align 4, !tbaa !9
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds i32, ptr %90, i64 %92
  %94 = load i32, ptr %93, align 4, !tbaa !9
  %95 = icmp sgt i32 %94, 0
  br i1 %95, label %96, label %118

96:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 13, ptr %12, align 4, !tbaa !9
  %97 = load ptr, ptr %3, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %97, i32 0, i32 13
  %99 = load ptr, ptr %98, align 8, !tbaa !15
  %100 = getelementptr inbounds %struct.BinaryDelayEstimatorFarend, ptr %99, i32 0, i32 0
  %101 = load ptr, ptr %100, align 8, !tbaa !20
  %102 = load i32, ptr %5, align 4, !tbaa !9
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds i32, ptr %101, i64 %103
  %105 = load i32, ptr %104, align 4, !tbaa !9
  %106 = mul nsw i32 3, %105
  %107 = ashr i32 %106, 4
  %108 = load i32, ptr %12, align 4, !tbaa !9
  %109 = sub nsw i32 %108, %107
  store i32 %109, ptr %12, align 4, !tbaa !9
  %110 = load i32, ptr %11, align 4, !tbaa !9
  %111 = load i32, ptr %12, align 4, !tbaa !9
  %112 = load ptr, ptr %3, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %112, i32 0, i32 0
  %114 = load ptr, ptr %113, align 8, !tbaa !21
  %115 = load i32, ptr %5, align 4, !tbaa !9
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds i32, ptr %114, i64 %116
  call void @WebRtc_MeanEstimatorFix(i32 noundef %110, i32 noundef %111, ptr noundef %117)
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %118

118:                                              ; preds = %96, %77
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %119

119:                                              ; preds = %118
  %120 = load i32, ptr %5, align 4, !tbaa !9
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr %5, align 4, !tbaa !9
  br label %69, !llvm.loop !22

122:                                              ; preds = %69
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %123

123:                                              ; preds = %169, %122
  %124 = load i32, ptr %5, align 4, !tbaa !9
  %125 = load ptr, ptr %3, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %125, i32 0, i32 13
  %127 = load ptr, ptr %126, align 8, !tbaa !15
  %128 = getelementptr inbounds %struct.BinaryDelayEstimatorFarend, ptr %127, i32 0, i32 2
  %129 = load i32, ptr %128, align 8, !tbaa !18
  %130 = icmp slt i32 %124, %129
  br i1 %130, label %131, label %172

131:                                              ; preds = %123
  %132 = load ptr, ptr %3, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %132, i32 0, i32 0
  %134 = load ptr, ptr %133, align 8, !tbaa !21
  %135 = load i32, ptr %5, align 4, !tbaa !9
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds i32, ptr %134, i64 %136
  %138 = load i32, ptr %137, align 4, !tbaa !9
  %139 = load i32, ptr %8, align 4, !tbaa !9
  %140 = icmp slt i32 %138, %139
  br i1 %140, label %141, label %150

141:                                              ; preds = %131
  %142 = load ptr, ptr %3, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %142, i32 0, i32 0
  %144 = load ptr, ptr %143, align 8, !tbaa !21
  %145 = load i32, ptr %5, align 4, !tbaa !9
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds i32, ptr %144, i64 %146
  %148 = load i32, ptr %147, align 4, !tbaa !9
  store i32 %148, ptr %8, align 4, !tbaa !9
  %149 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %149, ptr %6, align 4, !tbaa !9
  br label %150

150:                                              ; preds = %141, %131
  %151 = load ptr, ptr %3, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %151, i32 0, i32 0
  %153 = load ptr, ptr %152, align 8, !tbaa !21
  %154 = load i32, ptr %5, align 4, !tbaa !9
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds i32, ptr %153, i64 %155
  %157 = load i32, ptr %156, align 4, !tbaa !9
  %158 = load i32, ptr %9, align 4, !tbaa !9
  %159 = icmp sgt i32 %157, %158
  br i1 %159, label %160, label %168

160:                                              ; preds = %150
  %161 = load ptr, ptr %3, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %161, i32 0, i32 0
  %163 = load ptr, ptr %162, align 8, !tbaa !21
  %164 = load i32, ptr %5, align 4, !tbaa !9
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds i32, ptr %163, i64 %165
  %167 = load i32, ptr %166, align 4, !tbaa !9
  store i32 %167, ptr %9, align 4, !tbaa !9
  br label %168

168:                                              ; preds = %160, %150
  br label %169

169:                                              ; preds = %168
  %170 = load i32, ptr %5, align 4, !tbaa !9
  %171 = add nsw i32 %170, 1
  store i32 %171, ptr %5, align 4, !tbaa !9
  br label %123, !llvm.loop !24

172:                                              ; preds = %123
  %173 = load i32, ptr %9, align 4, !tbaa !9
  %174 = load i32, ptr %8, align 4, !tbaa !9
  %175 = sub nsw i32 %173, %174
  store i32 %175, ptr %10, align 4, !tbaa !9
  %176 = load ptr, ptr %3, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %176, i32 0, i32 4
  %178 = load i32, ptr %177, align 4, !tbaa !25
  %179 = icmp sgt i32 %178, 8704
  br i1 %179, label %180, label %200

180:                                              ; preds = %172
  %181 = load i32, ptr %10, align 4, !tbaa !9
  %182 = icmp sgt i32 %181, 2816
  br i1 %182, label %183, label %200

183:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %184 = load i32, ptr %8, align 4, !tbaa !9
  %185 = add nsw i32 %184, 1024
  store i32 %185, ptr %13, align 4, !tbaa !9
  %186 = load i32, ptr %13, align 4, !tbaa !9
  %187 = icmp slt i32 %186, 8704
  br i1 %187, label %188, label %189

188:                                              ; preds = %183
  store i32 8704, ptr %13, align 4, !tbaa !9
  br label %189

189:                                              ; preds = %188, %183
  %190 = load ptr, ptr %3, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %190, i32 0, i32 4
  %192 = load i32, ptr %191, align 4, !tbaa !25
  %193 = load i32, ptr %13, align 4, !tbaa !9
  %194 = icmp sgt i32 %192, %193
  br i1 %194, label %195, label %199

195:                                              ; preds = %189
  %196 = load i32, ptr %13, align 4, !tbaa !9
  %197 = load ptr, ptr %3, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %197, i32 0, i32 4
  store i32 %196, ptr %198, align 4, !tbaa !25
  br label %199

199:                                              ; preds = %195, %189
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %200

200:                                              ; preds = %199, %180, %172
  %201 = load ptr, ptr %3, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %201, i32 0, i32 5
  %203 = load i32, ptr %202, align 8, !tbaa !26
  %204 = add nsw i32 %203, 1
  store i32 %204, ptr %202, align 8, !tbaa !26
  %205 = load i32, ptr %10, align 4, !tbaa !9
  %206 = icmp sgt i32 %205, 1024
  br i1 %206, label %207, label %221

207:                                              ; preds = %200
  %208 = load i32, ptr %8, align 4, !tbaa !9
  %209 = load ptr, ptr %3, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %209, i32 0, i32 4
  %211 = load i32, ptr %210, align 4, !tbaa !25
  %212 = icmp slt i32 %208, %211
  br i1 %212, label %219, label %213

213:                                              ; preds = %207
  %214 = load i32, ptr %8, align 4, !tbaa !9
  %215 = load ptr, ptr %3, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %215, i32 0, i32 5
  %217 = load i32, ptr %216, align 8, !tbaa !26
  %218 = icmp slt i32 %214, %217
  br label %219

219:                                              ; preds = %213, %207
  %220 = phi i1 [ true, %207 ], [ %218, %213 ]
  br label %221

221:                                              ; preds = %219, %200
  %222 = phi i1 [ false, %200 ], [ %220, %219 ]
  %223 = zext i1 %222 to i32
  store i32 %223, ptr %7, align 4, !tbaa !9
  %224 = load ptr, ptr %3, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %224, i32 0, i32 7
  %226 = load i32, ptr %225, align 8, !tbaa !27
  %227 = icmp ne i32 %226, 0
  br i1 %227, label %228, label %241

228:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !9
  %229 = load ptr, ptr %3, align 8, !tbaa !5
  %230 = load i32, ptr %6, align 4, !tbaa !9
  %231 = load i32, ptr %10, align 4, !tbaa !9
  %232 = load i32, ptr %8, align 4, !tbaa !9
  call void @UpdateRobustValidationStatistics(ptr noundef %229, i32 noundef %230, i32 noundef %231, i32 noundef %232)
  %233 = load ptr, ptr %3, align 8, !tbaa !5
  %234 = load i32, ptr %6, align 4, !tbaa !9
  %235 = call i32 @HistogramBasedValidation(ptr noundef %233, i32 noundef %234)
  store i32 %235, ptr %14, align 4, !tbaa !9
  %236 = load ptr, ptr %3, align 8, !tbaa !5
  %237 = load i32, ptr %6, align 4, !tbaa !9
  %238 = load i32, ptr %7, align 4, !tbaa !9
  %239 = load i32, ptr %14, align 4, !tbaa !9
  %240 = call i32 @RobustValidation(ptr noundef %236, i32 noundef %237, i32 noundef %238, i32 noundef %239)
  store i32 %240, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %241

241:                                              ; preds = %228, %221
  %242 = load i32, ptr %7, align 4, !tbaa !9
  %243 = icmp ne i32 %242, 0
  br i1 %243, label %244, label %325

244:                                              ; preds = %241
  %245 = load i32, ptr %6, align 4, !tbaa !9
  %246 = load ptr, ptr %3, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %246, i32 0, i32 6
  %248 = load i32, ptr %247, align 4, !tbaa !28
  %249 = icmp ne i32 %245, %248
  br i1 %249, label %250, label %306

250:                                              ; preds = %244
  %251 = load ptr, ptr %3, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %251, i32 0, i32 11
  %253 = load ptr, ptr %252, align 8, !tbaa !29
  %254 = load i32, ptr %6, align 4, !tbaa !9
  %255 = sext i32 %254 to i64
  %256 = getelementptr inbounds float, ptr %253, i64 %255
  %257 = load float, ptr %256, align 4, !tbaa !30
  %258 = fcmp ogt float %257, 2.500000e+02
  br i1 %258, label %259, label %260

259:                                              ; preds = %250
  br label %268

260:                                              ; preds = %250
  %261 = load ptr, ptr %3, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %261, i32 0, i32 11
  %263 = load ptr, ptr %262, align 8, !tbaa !29
  %264 = load i32, ptr %6, align 4, !tbaa !9
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds float, ptr %263, i64 %265
  %267 = load float, ptr %266, align 4, !tbaa !30
  br label %268

268:                                              ; preds = %260, %259
  %269 = phi float [ 2.500000e+02, %259 ], [ %267, %260 ]
  %270 = load ptr, ptr %3, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %270, i32 0, i32 12
  store float %269, ptr %271, align 8, !tbaa !31
  %272 = load ptr, ptr %3, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %272, i32 0, i32 11
  %274 = load ptr, ptr %273, align 8, !tbaa !29
  %275 = load i32, ptr %6, align 4, !tbaa !9
  %276 = sext i32 %275 to i64
  %277 = getelementptr inbounds float, ptr %274, i64 %276
  %278 = load float, ptr %277, align 4, !tbaa !30
  %279 = load ptr, ptr %3, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %279, i32 0, i32 11
  %281 = load ptr, ptr %280, align 8, !tbaa !29
  %282 = load ptr, ptr %3, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %282, i32 0, i32 9
  %284 = load i32, ptr %283, align 8, !tbaa !32
  %285 = sext i32 %284 to i64
  %286 = getelementptr inbounds float, ptr %281, i64 %285
  %287 = load float, ptr %286, align 4, !tbaa !30
  %288 = fcmp olt float %278, %287
  br i1 %288, label %289, label %305

289:                                              ; preds = %268
  %290 = load ptr, ptr %3, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %290, i32 0, i32 11
  %292 = load ptr, ptr %291, align 8, !tbaa !29
  %293 = load i32, ptr %6, align 4, !tbaa !9
  %294 = sext i32 %293 to i64
  %295 = getelementptr inbounds float, ptr %292, i64 %294
  %296 = load float, ptr %295, align 4, !tbaa !30
  %297 = load ptr, ptr %3, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %297, i32 0, i32 11
  %299 = load ptr, ptr %298, align 8, !tbaa !29
  %300 = load ptr, ptr %3, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %300, i32 0, i32 9
  %302 = load i32, ptr %301, align 8, !tbaa !32
  %303 = sext i32 %302 to i64
  %304 = getelementptr inbounds float, ptr %299, i64 %303
  store float %296, ptr %304, align 4, !tbaa !30
  br label %305

305:                                              ; preds = %289, %268
  br label %306

306:                                              ; preds = %305, %244
  %307 = load i32, ptr %6, align 4, !tbaa !9
  %308 = load ptr, ptr %3, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %308, i32 0, i32 6
  store i32 %307, ptr %309, align 4, !tbaa !28
  %310 = load i32, ptr %8, align 4, !tbaa !9
  %311 = load ptr, ptr %3, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %311, i32 0, i32 5
  %313 = load i32, ptr %312, align 8, !tbaa !26
  %314 = icmp slt i32 %310, %313
  br i1 %314, label %315, label %319

315:                                              ; preds = %306
  %316 = load i32, ptr %8, align 4, !tbaa !9
  %317 = load ptr, ptr %3, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %317, i32 0, i32 5
  store i32 %316, ptr %318, align 8, !tbaa !26
  br label %319

319:                                              ; preds = %315, %306
  %320 = load ptr, ptr %3, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %320, i32 0, i32 6
  %322 = load i32, ptr %321, align 4, !tbaa !28
  %323 = load ptr, ptr %3, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %323, i32 0, i32 9
  store i32 %322, ptr %324, align 8, !tbaa !32
  br label %325

325:                                              ; preds = %319, %241
  %326 = load ptr, ptr %3, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.BinaryDelayEstimator, ptr %326, i32 0, i32 6
  %328 = load i32, ptr %327, align 4, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  ret i32 %328
}

; Function Attrs: nounwind uwtable
declare hidden void @BitCountComparison(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local void @WebRtc_MeanEstimatorFix(i32 noundef, i32 noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare hidden void @UpdateRobustValidationStatistics(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #3

; Function Attrs: nounwind uwtable
declare hidden i32 @HistogramBasedValidation(ptr noundef, i32 noundef) #3

; Function Attrs: nounwind uwtable
declare hidden i32 @RobustValidation(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { nounwind }
attributes #5 = { noreturn 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 24}
!12 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !6, i64 56, !13, i64 64, !6, i64 72}
!13 = !{!"float", !7, i64 0}
!14 = !{!12, !6, i64 16}
!15 = !{!12, !6, i64 72}
!16 = !{!17, !6, i64 8}
!17 = !{!"", !6, i64 0, !6, i64 8, !10, i64 16}
!18 = !{!17, !10, i64 16}
!19 = !{!12, !6, i64 8}
!20 = !{!17, !6, i64 0}
!21 = !{!12, !6, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
!25 = !{!12, !10, i64 28}
!26 = !{!12, !10, i64 32}
!27 = !{!12, !10, i64 40}
!28 = !{!12, !10, i64 36}
!29 = !{!12, !6, i64 56}
!30 = !{!13, !13, i64 0}
!31 = !{!12, !13, i64 64}
!32 = !{!12, !10, i64 48}


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

@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [90 x i8], align 1
@__PRETTY_FUNCTION__.WebRtc_ProcessBinarySpectrum = external hidden unnamed_addr constant [67 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local i32 @WebRtc_ProcessBinarySpectrum(ptr noundef %0, i32 noundef %1) local_unnamed_addr #2 {
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %3, label %4

3:                                                ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 426, ptr noundef nonnull @__PRETTY_FUNCTION__.WebRtc_ProcessBinarySpectrum) #4
  unreachable

4:                                                ; preds = %2
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = icmp sgt i32 %6, 1
  br i1 %7, label %8, label %21

8:                                                ; preds = %4
  %9 = getelementptr inbounds i8, ptr %0, i64 16
  %10 = load ptr, ptr %9, align 8, !tbaa !12
  %11 = getelementptr inbounds i8, ptr %10, i64 4
  %12 = add nsw i32 %6, -1
  %13 = zext nneg i32 %12 to i64
  %14 = shl nuw nsw i64 %13, 2
  tail call void @llvm.memmove.p0.p0.i64(ptr nonnull align 4 %11, ptr align 4 %10, i64 %14, i1 false)
  %15 = load ptr, ptr %9, align 8, !tbaa !12
  store i32 %1, ptr %15, align 4, !tbaa !13
  %16 = load i32, ptr %5, align 8, !tbaa !5
  %17 = sext i32 %16 to i64
  %18 = getelementptr i32, ptr %15, i64 %17
  %19 = getelementptr i8, ptr %18, i64 -4
  %20 = load i32, ptr %19, align 4, !tbaa !13
  br label %21

21:                                               ; preds = %8, %4
  %.0 = phi i32 [ %20, %8 ], [ %1, %4 ]
  %22 = getelementptr inbounds i8, ptr %0, i64 72
  %23 = load ptr, ptr %22, align 8, !tbaa !14
  %24 = getelementptr inbounds i8, ptr %23, i64 8
  %25 = load ptr, ptr %24, align 8, !tbaa !15
  %26 = getelementptr inbounds i8, ptr %23, i64 16
  %27 = load i32, ptr %26, align 8, !tbaa !17
  %28 = getelementptr inbounds i8, ptr %0, i64 8
  %29 = load ptr, ptr %28, align 8, !tbaa !18
  tail call void @BitCountComparison(i32 noundef %.0, ptr noundef %25, i32 noundef %27, ptr noundef %29)
  %30 = load ptr, ptr %22, align 8, !tbaa !14
  %31 = getelementptr inbounds i8, ptr %30, i64 16
  %32 = load i32, ptr %31, align 8, !tbaa !17
  %33 = icmp sgt i32 %32, 0
  br i1 %33, label %.lr.ph, label %._crit_edge

.preheader:                                       ; preds = %52
  %34 = icmp sgt i32 %55, 0
  br i1 %34, label %.lr.ph118, label %._crit_edge

.lr.ph118:                                        ; preds = %.preheader
  %35 = load ptr, ptr %0, align 8, !tbaa !19
  %wide.trip.count = zext nneg i32 %55 to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %36 = icmp eq i32 %55, 1
  br i1 %36, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph118.new

.lr.ph118.new:                                    ; preds = %.lr.ph118
  %unroll_iter = and i64 %wide.trip.count, 2147483646
  br label %58

.lr.ph:                                           ; preds = %21, %52
  %37 = phi ptr [ %53, %52 ], [ %30, %21 ]
  %indvars.iv = phi i64 [ %indvars.iv.next, %52 ], [ 0, %21 ]
  %38 = load ptr, ptr %37, align 8, !tbaa !20
  %39 = getelementptr inbounds i32, ptr %38, i64 %indvars.iv
  %40 = load i32, ptr %39, align 4, !tbaa !13
  %41 = icmp sgt i32 %40, 0
  br i1 %41, label %42, label %52

42:                                               ; preds = %.lr.ph
  %43 = load ptr, ptr %28, align 8, !tbaa !18
  %44 = getelementptr inbounds i32, ptr %43, i64 %indvars.iv
  %45 = load i32, ptr %44, align 4, !tbaa !13
  %46 = shl i32 %45, 9
  %47 = mul nuw nsw i32 %40, 3
  %48 = lshr i32 %47, 4
  %49 = sub nsw i32 13, %48
  %50 = load ptr, ptr %0, align 8, !tbaa !19
  %51 = getelementptr inbounds i32, ptr %50, i64 %indvars.iv
  tail call void @WebRtc_MeanEstimatorFix(i32 noundef %46, i32 noundef %49, ptr noundef %51)
  %.pre = load ptr, ptr %22, align 8, !tbaa !14
  br label %52

52:                                               ; preds = %42, %.lr.ph
  %53 = phi ptr [ %.pre, %42 ], [ %37, %.lr.ph ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %54 = getelementptr inbounds i8, ptr %53, i64 16
  %55 = load i32, ptr %54, align 8, !tbaa !17
  %56 = sext i32 %55 to i64
  %57 = icmp slt i64 %indvars.iv.next, %56
  br i1 %57, label %.lr.ph, label %.preheader, !llvm.loop !21

58:                                               ; preds = %58, %.lr.ph118.new
  %indvars.iv124 = phi i64 [ 0, %.lr.ph118.new ], [ %indvars.iv.next125.1, %58 ]
  %.094116 = phi i32 [ -1, %.lr.ph118.new ], [ %spec.select112.1, %58 ]
  %.096115 = phi i32 [ 0, %.lr.ph118.new ], [ %.197.1, %58 ]
  %.098114 = phi i32 [ 16384, %.lr.ph118.new ], [ %spec.select.1, %58 ]
  %niter = phi i64 [ 0, %.lr.ph118.new ], [ %niter.next.1, %58 ]
  %59 = getelementptr inbounds i32, ptr %35, i64 %indvars.iv124
  %60 = load i32, ptr %59, align 4, !tbaa !13
  %61 = icmp slt i32 %60, %.098114
  %spec.select = tail call i32 @llvm.smin.i32(i32 %60, i32 %.098114)
  %62 = trunc nuw nsw i64 %indvars.iv124 to i32
  %spec.select112 = select i1 %61, i32 %62, i32 %.094116
  %.197 = tail call i32 @llvm.smax.i32(i32 %60, i32 %.096115)
  %indvars.iv.next125 = or disjoint i64 %indvars.iv124, 1
  %63 = getelementptr inbounds i32, ptr %35, i64 %indvars.iv.next125
  %64 = load i32, ptr %63, align 4, !tbaa !13
  %65 = icmp slt i32 %64, %spec.select
  %spec.select.1 = tail call i32 @llvm.smin.i32(i32 %64, i32 %spec.select)
  %66 = trunc nuw nsw i64 %indvars.iv.next125 to i32
  %spec.select112.1 = select i1 %65, i32 %66, i32 %spec.select112
  %.197.1 = tail call i32 @llvm.smax.i32(i32 %64, i32 %.197)
  %indvars.iv.next125.1 = add nuw nsw i64 %indvars.iv124, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.loopexit.unr-lcssa, label %58, !llvm.loop !23

._crit_edge.loopexit.unr-lcssa:                   ; preds = %58, %.lr.ph118
  %spec.select.lcssa.ph = phi i32 [ poison, %.lr.ph118 ], [ %spec.select.1, %58 ]
  %spec.select112.lcssa.ph = phi i32 [ poison, %.lr.ph118 ], [ %spec.select112.1, %58 ]
  %.197.lcssa.ph = phi i32 [ poison, %.lr.ph118 ], [ %.197.1, %58 ]
  %indvars.iv124.unr = phi i64 [ 0, %.lr.ph118 ], [ %indvars.iv.next125.1, %58 ]
  %.094116.unr = phi i32 [ -1, %.lr.ph118 ], [ %spec.select112.1, %58 ]
  %.096115.unr = phi i32 [ 0, %.lr.ph118 ], [ %.197.1, %58 ]
  %.098114.unr = phi i32 [ 16384, %.lr.ph118 ], [ %spec.select.1, %58 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %._crit_edge.loopexit.epilog-lcssa

._crit_edge.loopexit.epilog-lcssa:                ; preds = %._crit_edge.loopexit.unr-lcssa
  %67 = getelementptr inbounds i32, ptr %35, i64 %indvars.iv124.unr
  %68 = load i32, ptr %67, align 4, !tbaa !13
  %69 = icmp slt i32 %68, %.098114.unr
  %spec.select.epil = tail call i32 @llvm.smin.i32(i32 %68, i32 %.098114.unr)
  %70 = trunc nuw nsw i64 %indvars.iv124.unr to i32
  %spec.select112.epil = select i1 %69, i32 %70, i32 %.094116.unr
  %.197.epil = tail call i32 @llvm.smax.i32(i32 %68, i32 %.096115.unr)
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit.epilog-lcssa, %._crit_edge.loopexit.unr-lcssa, %21, %.preheader
  %.098.lcssa = phi i32 [ 16384, %.preheader ], [ 16384, %21 ], [ %spec.select.lcssa.ph, %._crit_edge.loopexit.unr-lcssa ], [ %spec.select.epil, %._crit_edge.loopexit.epilog-lcssa ]
  %.096.lcssa = phi i32 [ 0, %.preheader ], [ 0, %21 ], [ %.197.lcssa.ph, %._crit_edge.loopexit.unr-lcssa ], [ %.197.epil, %._crit_edge.loopexit.epilog-lcssa ]
  %.094.lcssa = phi i32 [ -1, %.preheader ], [ -1, %21 ], [ %spec.select112.lcssa.ph, %._crit_edge.loopexit.unr-lcssa ], [ %spec.select112.epil, %._crit_edge.loopexit.epilog-lcssa ]
  %71 = sub nsw i32 %.096.lcssa, %.098.lcssa
  %72 = getelementptr inbounds i8, ptr %0, i64 28
  %73 = load i32, ptr %72, align 4, !tbaa !24
  %74 = icmp sgt i32 %73, 8704
  %75 = icmp sgt i32 %71, 2816
  %or.cond = select i1 %74, i1 %75, i1 false
  br i1 %or.cond, label %76, label %84

76:                                               ; preds = %._crit_edge
  %77 = tail call i32 @llvm.smax.i32(i32 %.098.lcssa, i32 7680)
  %spec.store.select = add nuw nsw i32 %77, 1024
  %78 = icmp ugt i32 %73, %spec.store.select
  br i1 %78, label %79, label %.thread

79:                                               ; preds = %76
  store i32 %spec.store.select, ptr %72, align 4, !tbaa !24
  br label %.thread

.thread:                                          ; preds = %76, %79
  %80 = phi i32 [ %73, %76 ], [ %spec.store.select, %79 ]
  %81 = getelementptr inbounds i8, ptr %0, i64 32
  %82 = load i32, ptr %81, align 8, !tbaa !25
  %83 = add nsw i32 %82, 1
  store i32 %83, ptr %81, align 8, !tbaa !25
  br label %89

84:                                               ; preds = %._crit_edge
  %85 = getelementptr inbounds i8, ptr %0, i64 32
  %86 = load i32, ptr %85, align 8, !tbaa !25
  %87 = add nsw i32 %86, 1
  store i32 %87, ptr %85, align 8, !tbaa !25
  %88 = icmp sgt i32 %71, 1024
  br i1 %88, label %89, label %97

89:                                               ; preds = %.thread, %84
  %90 = phi i32 [ %80, %.thread ], [ %73, %84 ]
  %91 = phi i32 [ %82, %.thread ], [ %86, %84 ]
  %92 = phi ptr [ %81, %.thread ], [ %85, %84 ]
  %93 = icmp slt i32 %.098.lcssa, %90
  br i1 %93, label %97, label %94

94:                                               ; preds = %89
  %95 = icmp sle i32 %.098.lcssa, %91
  %96 = zext i1 %95 to i32
  br label %97

97:                                               ; preds = %89, %94, %84
  %98 = phi ptr [ %85, %84 ], [ %92, %89 ], [ %92, %94 ]
  %99 = phi i32 [ 0, %84 ], [ 1, %89 ], [ %96, %94 ]
  %100 = getelementptr inbounds i8, ptr %0, i64 40
  %101 = load i32, ptr %100, align 8, !tbaa !26
  %.not109 = icmp eq i32 %101, 0
  br i1 %.not109, label %105, label %102

102:                                              ; preds = %97
  tail call void @UpdateRobustValidationStatistics(ptr noundef nonnull %0, i32 noundef %.094.lcssa, i32 noundef %71, i32 noundef %.098.lcssa)
  %103 = tail call i32 @HistogramBasedValidation(ptr noundef nonnull %0, i32 noundef %.094.lcssa)
  %104 = tail call i32 @RobustValidation(ptr noundef nonnull %0, i32 noundef %.094.lcssa, i32 noundef %99, i32 noundef %103)
  br label %105

105:                                              ; preds = %102, %97
  %.0100 = phi i32 [ %104, %102 ], [ %99, %97 ]
  %.not110 = icmp eq i32 %.0100, 0
  %.phi.trans.insert = getelementptr inbounds i8, ptr %0, i64 36
  %.pre128 = load i32, ptr %.phi.trans.insert, align 4, !tbaa !27
  br i1 %.not110, label %._crit_edge127, label %106

106:                                              ; preds = %105
  %.not111 = icmp eq i32 %.094.lcssa, %.pre128
  br i1 %.not111, label %124, label %107

107:                                              ; preds = %106
  %108 = getelementptr inbounds i8, ptr %0, i64 56
  %109 = load ptr, ptr %108, align 8, !tbaa !28
  %110 = sext i32 %.094.lcssa to i64
  %111 = getelementptr inbounds float, ptr %109, i64 %110
  %112 = load float, ptr %111, align 4, !tbaa !29
  %113 = fcmp ogt float %112, 2.500000e+02
  %114 = select i1 %113, float 2.500000e+02, float %112
  %115 = getelementptr inbounds i8, ptr %0, i64 64
  store float %114, ptr %115, align 8, !tbaa !30
  %116 = load float, ptr %111, align 4, !tbaa !29
  %117 = getelementptr inbounds i8, ptr %0, i64 48
  %118 = load i32, ptr %117, align 8, !tbaa !31
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds float, ptr %109, i64 %119
  %121 = load float, ptr %120, align 4, !tbaa !29
  %122 = fcmp olt float %116, %121
  br i1 %122, label %123, label %124

123:                                              ; preds = %107
  store float %116, ptr %120, align 4, !tbaa !29
  br label %124

124:                                              ; preds = %107, %123, %106
  store i32 %.094.lcssa, ptr %.phi.trans.insert, align 4, !tbaa !27
  %125 = load i32, ptr %98, align 8, !tbaa !25
  %126 = icmp slt i32 %.098.lcssa, %125
  br i1 %126, label %127, label %128

127:                                              ; preds = %124
  store i32 %.098.lcssa, ptr %98, align 8, !tbaa !25
  br label %128

128:                                              ; preds = %127, %124
  %129 = getelementptr inbounds i8, ptr %0, i64 48
  store i32 %.094.lcssa, ptr %129, align 8, !tbaa !31
  br label %._crit_edge127

._crit_edge127:                                   ; preds = %105, %128
  %130 = phi i32 [ %.094.lcssa, %128 ], [ %.pre128, %105 ]
  ret i32 %130
}

; Function Attrs: nounwind uwtable
declare hidden void @BitCountComparison(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
declare hidden void @UpdateRobustValidationStatistics(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #3

attributes #0 = { noreturn 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 #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { noreturn 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 24}
!6 = !{!"", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !7, i64 56, !11, i64 64, !7, i64 72}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"float", !8, i64 0}
!12 = !{!6, !7, i64 16}
!13 = !{!10, !10, i64 0}
!14 = !{!6, !7, i64 72}
!15 = !{!16, !7, i64 8}
!16 = !{!"", !7, i64 0, !7, i64 8, !10, i64 16}
!17 = !{!16, !10, i64 16}
!18 = !{!6, !7, i64 8}
!19 = !{!6, !7, i64 0}
!20 = !{!16, !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = !{!6, !10, i64 28}
!25 = !{!6, !10, i64 32}
!26 = !{!6, !10, i64 40}
!27 = !{!6, !10, i64 36}
!28 = !{!6, !7, i64 56}
!29 = !{!11, !11, i64 0}
!30 = !{!6, !11, i64 64}
!31 = !{!6, !10, i64 48}


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