; LLVM IR from Ryuk17/SpeechAlgorithms :: WebRTC_VAD/src (vad_core)

; 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.VadInstT_ = type { i32, [4 x i32], %struct.WebRtcSpl_State48khzTo8khz, [12 x i16], [12 x i16], [12 x i16], [12 x i16], i32, i16, i16, [96 x i16], [96 x i16], [6 x i16], [5 x i16], [5 x i16], [4 x i16], [3 x i16], [3 x i16], [3 x i16], [3 x i16], i32 }
%struct.WebRtcSpl_State48khzTo8khz = type { [8 x i32], [16 x i32], [8 x i32], [8 x i32] }

@kNoiseDataMeans = external hidden constant [12 x i16], align 16
@kSpeechDataMeans = external hidden constant [12 x i16], align 16
@kNoiseDataStds = external hidden constant [12 x i16], align 16
@kSpeechDataStds = external hidden constant [12 x i16], align 16

; Function Attrs: nounwind uwtable
define dso_local i32 @WebRtcVad_InitCore(ptr noundef %0) #0 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  %6 = load ptr, ptr %3, align 8, !tbaa !5
  %7 = icmp eq ptr %6, null
  br i1 %7, label %8, label %9

8:                                                ; preds = %1
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %114

9:                                                ; preds = %1
  %10 = load ptr, ptr %3, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.VadInstT_, ptr %10, i32 0, i32 0
  store i32 1, ptr %11, align 4, !tbaa !9
  %12 = load ptr, ptr %3, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.VadInstT_, ptr %12, i32 0, i32 7
  store i32 0, ptr %13, align 4, !tbaa !14
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.VadInstT_, ptr %14, i32 0, i32 8
  store i16 0, ptr %15, align 4, !tbaa !15
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.VadInstT_, ptr %16, i32 0, i32 9
  store i16 0, ptr %17, align 2, !tbaa !16
  %18 = load ptr, ptr %3, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.VadInstT_, ptr %18, i32 0, i32 1
  %20 = getelementptr inbounds [4 x i32], ptr %19, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 4 %20, i8 0, i64 16, i1 false)
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.VadInstT_, ptr %21, i32 0, i32 2
  call void @WebRtcSpl_ResetResample48khzTo8khz(ptr noundef %22)
  store i32 0, ptr %4, align 4, !tbaa !17
  br label %23

23:                                               ; preds = %63, %9
  %24 = load i32, ptr %4, align 4, !tbaa !17
  %25 = icmp slt i32 %24, 12
  br i1 %25, label %26, label %66

26:                                               ; preds = %23
  %27 = load i32, ptr %4, align 4, !tbaa !17
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [12 x i16], ptr @kNoiseDataMeans, i64 0, i64 %28
  %30 = load i16, ptr %29, align 2, !tbaa !18
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.VadInstT_, ptr %31, i32 0, i32 3
  %33 = load i32, ptr %4, align 4, !tbaa !17
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [12 x i16], ptr %32, i64 0, i64 %34
  store i16 %30, ptr %35, align 2, !tbaa !18
  %36 = load i32, ptr %4, align 4, !tbaa !17
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [12 x i16], ptr @kSpeechDataMeans, i64 0, i64 %37
  %39 = load i16, ptr %38, align 2, !tbaa !18
  %40 = load ptr, ptr %3, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.VadInstT_, ptr %40, i32 0, i32 4
  %42 = load i32, ptr %4, align 4, !tbaa !17
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds [12 x i16], ptr %41, i64 0, i64 %43
  store i16 %39, ptr %44, align 2, !tbaa !18
  %45 = load i32, ptr %4, align 4, !tbaa !17
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [12 x i16], ptr @kNoiseDataStds, i64 0, i64 %46
  %48 = load i16, ptr %47, align 2, !tbaa !18
  %49 = load ptr, ptr %3, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.VadInstT_, ptr %49, i32 0, i32 5
  %51 = load i32, ptr %4, align 4, !tbaa !17
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [12 x i16], ptr %50, i64 0, i64 %52
  store i16 %48, ptr %53, align 2, !tbaa !18
  %54 = load i32, ptr %4, align 4, !tbaa !17
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [12 x i16], ptr @kSpeechDataStds, i64 0, i64 %55
  %57 = load i16, ptr %56, align 2, !tbaa !18
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.VadInstT_, ptr %58, i32 0, i32 6
  %60 = load i32, ptr %4, align 4, !tbaa !17
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [12 x i16], ptr %59, i64 0, i64 %61
  store i16 %57, ptr %62, align 2, !tbaa !18
  br label %63

63:                                               ; preds = %26
  %64 = load i32, ptr %4, align 4, !tbaa !17
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %4, align 4, !tbaa !17
  br label %23, !llvm.loop !19

66:                                               ; preds = %23
  store i32 0, ptr %4, align 4, !tbaa !17
  br label %67

67:                                               ; preds = %81, %66
  %68 = load i32, ptr %4, align 4, !tbaa !17
  %69 = icmp slt i32 %68, 96
  br i1 %69, label %70, label %84

70:                                               ; preds = %67
  %71 = load ptr, ptr %3, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.VadInstT_, ptr %71, i32 0, i32 11
  %73 = load i32, ptr %4, align 4, !tbaa !17
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds [96 x i16], ptr %72, i64 0, i64 %74
  store i16 10000, ptr %75, align 2, !tbaa !18
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.VadInstT_, ptr %76, i32 0, i32 10
  %78 = load i32, ptr %4, align 4, !tbaa !17
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds [96 x i16], ptr %77, i64 0, i64 %79
  store i16 0, ptr %80, align 2, !tbaa !18
  br label %81

81:                                               ; preds = %70
  %82 = load i32, ptr %4, align 4, !tbaa !17
  %83 = add nsw i32 %82, 1
  store i32 %83, ptr %4, align 4, !tbaa !17
  br label %67, !llvm.loop !21

84:                                               ; preds = %67
  %85 = load ptr, ptr %3, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.VadInstT_, ptr %85, i32 0, i32 13
  %87 = getelementptr inbounds [5 x i16], ptr %86, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 4 %87, i8 0, i64 10, i1 false)
  %88 = load ptr, ptr %3, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.VadInstT_, ptr %88, i32 0, i32 14
  %90 = getelementptr inbounds [5 x i16], ptr %89, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 2 %90, i8 0, i64 10, i1 false)
  %91 = load ptr, ptr %3, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.VadInstT_, ptr %91, i32 0, i32 15
  %93 = getelementptr inbounds [4 x i16], ptr %92, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 4 %93, i8 0, i64 8, i1 false)
  store i32 0, ptr %4, align 4, !tbaa !17
  br label %94

94:                                               ; preds = %103, %84
  %95 = load i32, ptr %4, align 4, !tbaa !17
  %96 = icmp slt i32 %95, 6
  br i1 %96, label %97, label %106

97:                                               ; preds = %94
  %98 = load ptr, ptr %3, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.VadInstT_, ptr %98, i32 0, i32 12
  %100 = load i32, ptr %4, align 4, !tbaa !17
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [6 x i16], ptr %99, i64 0, i64 %101
  store i16 1600, ptr %102, align 2, !tbaa !18
  br label %103

103:                                              ; preds = %97
  %104 = load i32, ptr %4, align 4, !tbaa !17
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %4, align 4, !tbaa !17
  br label %94, !llvm.loop !22

106:                                              ; preds = %94
  %107 = load ptr, ptr %3, align 8, !tbaa !5
  %108 = call i32 @WebRtcVad_set_mode_core(ptr noundef %107, i32 noundef 0)
  %109 = icmp ne i32 %108, 0
  br i1 %109, label %110, label %111

110:                                              ; preds = %106
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %114

111:                                              ; preds = %106
  %112 = load ptr, ptr %3, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.VadInstT_, ptr %112, i32 0, i32 20
  store i32 42, ptr %113, align 4, !tbaa !23
  store i32 0, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %114

114:                                              ; preds = %111, %110, %8
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  %115 = load i32, ptr %2, align 4
  ret i32 %115
}

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

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

declare void @WebRtcSpl_ResetResample48khzTo8khz(ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @WebRtcVad_set_mode_core(ptr noundef, i32 noundef) #0

; 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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, !11, i64 0}
!10 = !{!"VadInstT_", !11, i64 0, !7, i64 4, !12, i64 20, !7, i64 180, !7, i64 204, !7, i64 228, !7, i64 252, !11, i64 276, !13, i64 280, !13, i64 282, !7, i64 284, !7, i64 476, !7, i64 668, !7, i64 680, !7, i64 690, !7, i64 700, !7, i64 708, !7, i64 714, !7, i64 720, !7, i64 726, !11, i64 732}
!11 = !{!"int", !7, i64 0}
!12 = !{!"", !7, i64 0, !7, i64 32, !7, i64 96, !7, i64 128}
!13 = !{!"short", !7, i64 0}
!14 = !{!10, !11, i64 276}
!15 = !{!10, !13, i64 280}
!16 = !{!10, !13, i64 282}
!17 = !{!11, !11, i64 0}
!18 = !{!13, !13, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = distinct !{!22, !20}
!23 = !{!10, !11, i64 732}


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

@kNoiseDataMeans = external hidden local_unnamed_addr constant [12 x i16], align 16
@kSpeechDataMeans = external hidden local_unnamed_addr constant [12 x i16], align 16
@kNoiseDataStds = external hidden local_unnamed_addr constant [12 x i16], align 16
@kSpeechDataStds = external hidden local_unnamed_addr constant [12 x i16], align 16

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @WebRtcVad_InitCore(ptr noundef %0) local_unnamed_addr #0 {
  %2 = icmp eq ptr %0, null
  br i1 %2, label %56, label %.preheader

.preheader:                                       ; preds = %1
  store i32 1, ptr %0, align 4, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %0, i64 276
  %4 = getelementptr inbounds i8, ptr %0, i64 4
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %4, i8 0, i64 16, i1 false)
  %5 = getelementptr inbounds i8, ptr %0, i64 20
  store i64 0, ptr %3, align 4
  tail call void @WebRtcSpl_ResetResample48khzTo8khz(ptr noundef nonnull %5) #3
  %6 = getelementptr inbounds i8, ptr %0, i64 180
  %7 = getelementptr inbounds i8, ptr %0, i64 228
  %8 = load i16, ptr @kSpeechDataMeans, align 16, !tbaa !12
  %9 = load i16, ptr @kSpeechDataStds, align 16, !tbaa !12
  %10 = load i16, ptr getelementptr inbounds (i8, ptr @kSpeechDataMeans, i64 2), align 2, !tbaa !12
  %11 = load i16, ptr getelementptr inbounds (i8, ptr @kSpeechDataStds, i64 2), align 2, !tbaa !12
  %12 = load i16, ptr getelementptr inbounds (i8, ptr @kSpeechDataMeans, i64 4), align 4, !tbaa !12
  %13 = load i16, ptr getelementptr inbounds (i8, ptr @kSpeechDataStds, i64 4), align 4, !tbaa !12
  %14 = load i16, ptr getelementptr inbounds (i8, ptr @kSpeechDataMeans, i64 6), align 2, !tbaa !12
  %15 = load i16, ptr getelementptr inbounds (i8, ptr @kSpeechDataStds, i64 6), align 2, !tbaa !12
  %16 = getelementptr inbounds i8, ptr %0, i64 212
  %17 = getelementptr inbounds i8, ptr %0, i64 260
  %18 = load <8 x i16>, ptr @kNoiseDataMeans, align 16, !tbaa !12
  store <8 x i16> %18, ptr %6, align 2, !tbaa !12
  %19 = load <8 x i16>, ptr @kNoiseDataStds, align 16, !tbaa !12
  store <8 x i16> %19, ptr %7, align 2, !tbaa !12
  %20 = getelementptr inbounds i8, ptr %0, i64 196
  %21 = getelementptr inbounds i8, ptr %0, i64 244
  %22 = load <4 x i16>, ptr getelementptr inbounds (i8, ptr @kNoiseDataMeans, i64 16), align 16, !tbaa !12
  %23 = shufflevector <4 x i16> %22, <4 x i16> poison, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 poison, i32 poison, i32 poison, i32 poison>
  %24 = insertelement <8 x i16> %23, i16 %8, i64 4
  %25 = insertelement <8 x i16> %24, i16 %10, i64 5
  %26 = insertelement <8 x i16> %25, i16 %12, i64 6
  %27 = insertelement <8 x i16> %26, i16 %14, i64 7
  store <8 x i16> %27, ptr %20, align 2, !tbaa !12
  %28 = load <8 x i16>, ptr getelementptr inbounds (i8, ptr @kSpeechDataMeans, i64 8), align 8, !tbaa !12
  store <8 x i16> %28, ptr %16, align 2, !tbaa !12
  %29 = load <4 x i16>, ptr getelementptr inbounds (i8, ptr @kNoiseDataStds, i64 16), align 16, !tbaa !12
  %30 = shufflevector <4 x i16> %29, <4 x i16> poison, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 poison, i32 poison, i32 poison, i32 poison>
  %31 = insertelement <8 x i16> %30, i16 %9, i64 4
  %32 = insertelement <8 x i16> %31, i16 %11, i64 5
  %33 = insertelement <8 x i16> %32, i16 %13, i64 6
  %34 = insertelement <8 x i16> %33, i16 %15, i64 7
  store <8 x i16> %34, ptr %21, align 2, !tbaa !12
  %35 = load <8 x i16>, ptr getelementptr inbounds (i8, ptr @kSpeechDataStds, i64 8), align 8, !tbaa !12
  store <8 x i16> %35, ptr %17, align 2, !tbaa !12
  %36 = getelementptr inbounds i8, ptr %0, i64 476
  %37 = getelementptr inbounds i8, ptr %0, i64 284
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 2 dereferenceable(192) %37, i8 0, i64 192, i1 false), !tbaa !12
  store <8 x i16> <i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000>, ptr %36, align 2, !tbaa !12
  %38 = getelementptr inbounds i8, ptr %0, i64 492
  store <8 x i16> <i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000>, ptr %38, align 2, !tbaa !12
  %39 = getelementptr inbounds i8, ptr %0, i64 508
  store <8 x i16> <i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000>, ptr %39, align 2, !tbaa !12
  %40 = getelementptr inbounds i8, ptr %0, i64 524
  store <8 x i16> <i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000>, ptr %40, align 2, !tbaa !12
  %41 = getelementptr inbounds i8, ptr %0, i64 540
  store <8 x i16> <i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000>, ptr %41, align 2, !tbaa !12
  %42 = getelementptr inbounds i8, ptr %0, i64 556
  store <8 x i16> <i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000>, ptr %42, align 2, !tbaa !12
  %43 = getelementptr inbounds i8, ptr %0, i64 572
  store <8 x i16> <i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000>, ptr %43, align 2, !tbaa !12
  %44 = getelementptr inbounds i8, ptr %0, i64 588
  store <8 x i16> <i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000>, ptr %44, align 2, !tbaa !12
  %45 = getelementptr inbounds i8, ptr %0, i64 604
  store <8 x i16> <i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000>, ptr %45, align 2, !tbaa !12
  %46 = getelementptr inbounds i8, ptr %0, i64 620
  store <8 x i16> <i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000>, ptr %46, align 2, !tbaa !12
  %47 = getelementptr inbounds i8, ptr %0, i64 636
  store <8 x i16> <i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000>, ptr %47, align 2, !tbaa !12
  %48 = getelementptr inbounds i8, ptr %0, i64 652
  store <8 x i16> <i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000, i16 10000>, ptr %48, align 2, !tbaa !12
  %49 = getelementptr inbounds i8, ptr %0, i64 680
  %50 = getelementptr inbounds i8, ptr %0, i64 668
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(28) %49, i8 0, i64 28, i1 false)
  store <4 x i16> <i16 1600, i16 1600, i16 1600, i16 1600>, ptr %50, align 2, !tbaa !12
  %51 = getelementptr inbounds i8, ptr %0, i64 676
  store i16 1600, ptr %51, align 2, !tbaa !12
  %52 = getelementptr inbounds i8, ptr %0, i64 678
  store i16 1600, ptr %52, align 2, !tbaa !12
  %53 = tail call i32 @WebRtcVad_set_mode_core(ptr noundef nonnull %0, i32 noundef 0)
  %.not = icmp eq i32 %53, 0
  br i1 %.not, label %54, label %56

54:                                               ; preds = %.preheader
  %55 = getelementptr inbounds i8, ptr %0, i64 732
  store i32 42, ptr %55, align 4, !tbaa !13
  br label %56

56:                                               ; preds = %.preheader, %1, %54
  %.036 = phi i32 [ 0, %54 ], [ -1, %1 ], [ -1, %.preheader ]
  ret i32 %.036
}

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

declare void @WebRtcSpl_ResetResample48khzTo8khz(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @WebRtcVad_set_mode_core(ptr noundef, i32 noundef) local_unnamed_addr #0

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 nounwind willreturn memory(argmem: write) }
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, !7, i64 0}
!6 = !{!"VadInstT_", !7, i64 0, !8, i64 4, !10, i64 20, !8, i64 180, !8, i64 204, !8, i64 228, !8, i64 252, !7, i64 276, !11, i64 280, !11, i64 282, !8, i64 284, !8, i64 476, !8, i64 668, !8, i64 680, !8, i64 690, !8, i64 700, !8, i64 708, !8, i64 714, !8, i64 720, !8, i64 726, !7, i64 732}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"", !8, i64 0, !8, i64 32, !8, i64 96, !8, i64 128}
!11 = !{!"short", !8, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!6, !7, i64 732}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,MemCpyOptPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass