; LLVM IR from Illurin/VulkanGraphicsEngine :: Third-Party/Include/stb (stb_vorbis)

; 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.stb_vorbis = type { i32, i32, i32, i32, i32, ptr, i32, i32, ptr, ptr, ptr, i32, i8, i32, %struct.ProbedPage, %struct.ProbedPage, %struct.stb_vorbis_alloc, i32, i32, i32, i32, [2 x i32], i32, i32, i32, ptr, i32, [64 x i16], ptr, i32, [64 x i16], ptr, i32, ptr, i32, [64 x %struct.Mode], i32, [16 x ptr], [16 x ptr], [16 x ptr], i32, [16 x ptr], i32, i32, [2 x ptr], [2 x ptr], [2 x ptr], [2 x ptr], [2 x ptr], i32, i32, i32, [255 x i8], i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x %struct.CRCscan], i32, i32 }
%struct.ProbedPage = type { i32, i32, i32 }
%struct.stb_vorbis_alloc = type { ptr, i32 }
%struct.Mode = type { i8, i8, i16, i16 }
%struct.CRCscan = type { i32, i32, i32, i32, i32 }

@.str = external hidden unnamed_addr constant [21 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [99 x i8], align 1
@__PRETTY_FUNCTION__.stb_vorbis_seek_frame = external hidden unnamed_addr constant [54 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [32 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: nounwind uwtable
declare hidden i32 @error(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @stb_vorbis_seek_frame(ptr noundef %0, i32 noundef %1) #1 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %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
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.stb_vorbis, ptr %14, i32 0, i32 12
  %16 = load i8, ptr %15, align 4, !tbaa !11
  %17 = icmp ne i8 %16, 0
  br i1 %17, label %18, label %21

18:                                               ; preds = %2
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = call i32 @error(ptr noundef %19, i32 noundef 2)
  store i32 %20, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %115

21:                                               ; preds = %2
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = load i32, ptr %5, align 4, !tbaa !9
  %24 = call i32 @seek_to_sample_coarse(ptr noundef %22, i32 noundef %23)
  %25 = icmp ne i32 %24, 0
  br i1 %25, label %27, label %26

26:                                               ; preds = %21
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %115

27:                                               ; preds = %21
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.stb_vorbis, ptr %28, i32 0, i32 43
  %30 = load i32, ptr %29, align 4, !tbaa !15
  %31 = icmp ne i32 %30, 0
  br i1 %31, label %32, label %33

32:                                               ; preds = %27
  br label %34

33:                                               ; preds = %27
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 4781, ptr noundef @__PRETTY_FUNCTION__.stb_vorbis_seek_frame) #4
  unreachable

34:                                               ; preds = %32
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.stb_vorbis, ptr %35, i32 0, i32 42
  %37 = load i32, ptr %36, align 8, !tbaa !16
  %38 = load i32, ptr %5, align 4, !tbaa !9
  %39 = icmp ule i32 %37, %38
  br i1 %39, label %40, label %41

40:                                               ; preds = %34
  br label %42

41:                                               ; preds = %34
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 4782, ptr noundef @__PRETTY_FUNCTION__.stb_vorbis_seek_frame) #4
  unreachable

42:                                               ; preds = %40
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.stb_vorbis, ptr %43, i32 0, i32 23
  %45 = load i32, ptr %44, align 4, !tbaa !17
  %46 = mul nsw i32 %45, 3
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.stb_vorbis, ptr %47, i32 0, i32 22
  %49 = load i32, ptr %48, align 8, !tbaa !18
  %50 = sub nsw i32 %46, %49
  %51 = ashr i32 %50, 2
  store i32 %51, ptr %6, align 4, !tbaa !9
  br label %52

52:                                               ; preds = %105, %42
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.stb_vorbis, ptr %53, i32 0, i32 42
  %55 = load i32, ptr %54, align 8, !tbaa !16
  %56 = load i32, ptr %5, align 4, !tbaa !9
  %57 = icmp ult i32 %55, %56
  br i1 %57, label %58, label %106

58:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = call i32 @peek_decode_initial(ptr noundef %59, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
  %61 = icmp ne i32 %60, 0
  br i1 %61, label %65, label %62

62:                                               ; preds = %58
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = call i32 @error(ptr noundef %63, i32 noundef 37)
  store i32 %64, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %103

65:                                               ; preds = %58
  %66 = load i32, ptr %10, align 4, !tbaa !9
  %67 = load i32, ptr %8, align 4, !tbaa !9
  %68 = sub nsw i32 %66, %67
  store i32 %68, ptr %13, align 4, !tbaa !9
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.stb_vorbis, ptr %69, i32 0, i32 42
  %71 = load i32, ptr %70, align 8, !tbaa !16
  %72 = load i32, ptr %13, align 4, !tbaa !9
  %73 = add i32 %71, %72
  %74 = load i32, ptr %5, align 4, !tbaa !9
  %75 = icmp ugt i32 %73, %74
  br i1 %75, label %76, label %77

76:                                               ; preds = %65
  store i32 1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %103

77:                                               ; preds = %65
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.stb_vorbis, ptr %78, i32 0, i32 42
  %80 = load i32, ptr %79, align 8, !tbaa !16
  %81 = load i32, ptr %13, align 4, !tbaa !9
  %82 = add i32 %80, %81
  %83 = load i32, ptr %6, align 4, !tbaa !9
  %84 = add i32 %82, %83
  %85 = load i32, ptr %5, align 4, !tbaa !9
  %86 = icmp ugt i32 %84, %85
  br i1 %86, label %87, label %90

87:                                               ; preds = %77
  %88 = load ptr, ptr %4, align 8, !tbaa !5
  %89 = call i32 @vorbis_pump_first_frame(ptr noundef %88)
  br label %101

90:                                               ; preds = %77
  %91 = load i32, ptr %13, align 4, !tbaa !9
  %92 = load ptr, ptr %4, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.stb_vorbis, ptr %92, i32 0, i32 42
  %94 = load i32, ptr %93, align 8, !tbaa !16
  %95 = add i32 %94, %91
  store i32 %95, ptr %93, align 8, !tbaa !16
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.stb_vorbis, ptr %96, i32 0, i32 40
  store i32 0, ptr %97, align 8, !tbaa !19
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  %99 = call i32 @maybe_start_packet(ptr noundef %98)
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  call void @flush_packet(ptr noundef %100)
  br label %101

101:                                              ; preds = %90, %87
  br label %102

102:                                              ; preds = %101
  store i32 0, ptr %7, align 4
  br label %103

103:                                              ; preds = %102, %76, %62
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  %104 = load i32, ptr %7, align 4
  switch i32 %104, label %115 [
    i32 0, label %105
  ]

105:                                              ; preds = %103
  br label %52, !llvm.loop !20

106:                                              ; preds = %52
  %107 = load ptr, ptr %4, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.stb_vorbis, ptr %107, i32 0, i32 42
  %109 = load i32, ptr %108, align 8, !tbaa !16
  %110 = load i32, ptr %5, align 4, !tbaa !9
  %111 = icmp eq i32 %109, %110
  br i1 %111, label %112, label %113

112:                                              ; preds = %106
  br label %114

113:                                              ; preds = %106
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 4806, ptr noundef @__PRETTY_FUNCTION__.stb_vorbis_seek_frame) #4
  unreachable

114:                                              ; preds = %112
  store i32 1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %115

115:                                              ; preds = %114, %103, %26, %18
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  %116 = load i32, ptr %3, align 4
  ret i32 %116
}

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

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

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

; Function Attrs: nounwind uwtable
declare hidden i32 @vorbis_pump_first_frame(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @maybe_start_packet(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @flush_packet(ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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 #3 = { nounwind }
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, !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, !7, i64 68}
!12 = !{!"stb_vorbis", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !6, i64 24, !10, i64 32, !10, i64 36, !6, i64 40, !6, i64 48, !6, i64 56, !10, i64 64, !7, i64 68, !10, i64 72, !13, i64 76, !13, i64 88, !14, i64 104, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !7, i64 136, !10, i64 144, !10, i64 148, !10, i64 152, !6, i64 160, !10, i64 168, !7, i64 172, !6, i64 304, !10, i64 312, !7, i64 316, !6, i64 448, !10, i64 456, !6, i64 464, !10, i64 472, !7, i64 476, !10, i64 860, !7, i64 864, !7, i64 992, !7, i64 1120, !10, i64 1248, !7, i64 1256, !10, i64 1384, !10, i64 1388, !7, i64 1392, !7, i64 1408, !7, i64 1424, !7, i64 1440, !7, i64 1456, !10, i64 1472, !10, i64 1476, !10, i64 1480, !7, i64 1484, !7, i64 1739, !7, i64 1740, !7, i64 1741, !10, i64 1744, !10, i64 1748, !10, i64 1752, !10, i64 1756, !10, i64 1760, !10, i64 1764, !10, i64 1768, !10, i64 1772, !10, i64 1776, !10, i64 1780, !10, i64 1784, !7, i64 1788, !10, i64 1868, !10, i64 1872}
!13 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8}
!14 = !{!"", !6, i64 0, !10, i64 8}
!15 = !{!12, !10, i64 1388}
!16 = !{!12, !10, i64 1384}
!17 = !{!12, !10, i64 148}
!18 = !{!12, !10, i64 144}
!19 = !{!12, !10, i64 1248}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str = external hidden unnamed_addr constant [21 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [99 x i8], align 1
@__PRETTY_FUNCTION__.stb_vorbis_seek_frame = external hidden unnamed_addr constant [54 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [32 x i8], align 1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @stb_vorbis_seek_frame(ptr noundef %0, i32 noundef %1) local_unnamed_addr #1 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = getelementptr inbounds i8, ptr %0, i64 68
  %9 = load i8, ptr %8, align 4, !tbaa !5
  %.not = icmp eq i8 %9, 0
  br i1 %.not, label %12, label %10

10:                                               ; preds = %2
  %11 = tail call i32 @error(ptr noundef nonnull %0, i32 noundef 2)
  br label %55

12:                                               ; preds = %2
  %13 = tail call i32 @seek_to_sample_coarse(ptr noundef nonnull %0, i32 noundef %1)
  %.not33 = icmp eq i32 %13, 0
  br i1 %.not33, label %55, label %14

14:                                               ; preds = %12
  %15 = getelementptr inbounds i8, ptr %0, i64 1388
  %16 = load i32, ptr %15, align 4, !tbaa !13
  %.not34 = icmp eq i32 %16, 0
  br i1 %.not34, label %17, label %18

17:                                               ; preds = %14
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 4781, ptr noundef nonnull @__PRETTY_FUNCTION__.stb_vorbis_seek_frame) #3
  unreachable

18:                                               ; preds = %14
  %19 = getelementptr inbounds i8, ptr %0, i64 1384
  %20 = load i32, ptr %19, align 8, !tbaa !14
  %.not35 = icmp ugt i32 %20, %1
  br i1 %.not35, label %21, label %22

21:                                               ; preds = %18
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 4782, ptr noundef nonnull @__PRETTY_FUNCTION__.stb_vorbis_seek_frame) #3
  unreachable

22:                                               ; preds = %18
  %23 = getelementptr inbounds i8, ptr %0, i64 148
  %24 = load i32, ptr %23, align 4, !tbaa !15
  %25 = mul nsw i32 %24, 3
  %26 = getelementptr inbounds i8, ptr %0, i64 144
  %27 = load i32, ptr %26, align 8, !tbaa !16
  %28 = sub nsw i32 %25, %27
  %29 = ashr i32 %28, 2
  %30 = icmp ult i32 %20, %1
  br i1 %30, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %22
  %31 = getelementptr inbounds i8, ptr %0, i64 1248
  br label %32

32:                                               ; preds = %.lr.ph, %50
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4
  %33 = call i32 @peek_decode_initial(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7)
  %.not36 = icmp eq i32 %33, 0
  br i1 %.not36, label %34, label %36

34:                                               ; preds = %32
  %35 = call i32 @error(ptr noundef nonnull %0, i32 noundef 37)
  br label %.thread

36:                                               ; preds = %32
  %37 = load i32, ptr %5, align 4, !tbaa !17
  %38 = load i32, ptr %3, align 4, !tbaa !17
  %39 = sub nsw i32 %37, %38
  %40 = load i32, ptr %19, align 8, !tbaa !14
  %41 = add i32 %40, %39
  %42 = icmp ugt i32 %41, %1
  br i1 %42, label %.thread, label %43

43:                                               ; preds = %36
  %44 = add i32 %41, %29
  %45 = icmp ugt i32 %44, %1
  br i1 %45, label %46, label %48

46:                                               ; preds = %43
  %47 = call i32 @vorbis_pump_first_frame(ptr noundef nonnull %0)
  br label %50

48:                                               ; preds = %43
  store i32 %41, ptr %19, align 8, !tbaa !14
  store i32 0, ptr %31, align 8, !tbaa !18
  %49 = call i32 @maybe_start_packet(ptr noundef nonnull %0)
  call void @flush_packet(ptr noundef nonnull %0)
  br label %50

.thread:                                          ; preds = %36, %34
  %.1.ph = phi i32 [ %35, %34 ], [ 1, %36 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  br label %55

50:                                               ; preds = %48, %46
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  %51 = load i32, ptr %19, align 8, !tbaa !14
  %52 = icmp ult i32 %51, %1
  br i1 %52, label %32, label %._crit_edge, !llvm.loop !19

._crit_edge:                                      ; preds = %50, %22
  %.lcssa = phi i32 [ %20, %22 ], [ %51, %50 ]
  %53 = icmp eq i32 %.lcssa, %1
  br i1 %53, label %55, label %54

54:                                               ; preds = %._crit_edge
  call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 4806, ptr noundef nonnull @__PRETTY_FUNCTION__.stb_vorbis_seek_frame) #3
  unreachable

55:                                               ; preds = %.thread, %._crit_edge, %12, %10
  %.2 = phi i32 [ %11, %10 ], [ 0, %12 ], [ 1, %._crit_edge ], [ %.1.ph, %.thread ]
  ret i32 %.2
}

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

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

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

; Function Attrs: nounwind uwtable
declare hidden i32 @vorbis_pump_first_frame(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @maybe_start_packet(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @flush_packet(ptr noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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 #3 = { noreturn nounwind }
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, !8, i64 68}
!6 = !{!"stb_vorbis", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !10, i64 24, !7, i64 32, !7, i64 36, !10, i64 40, !10, i64 48, !10, i64 56, !7, i64 64, !8, i64 68, !7, i64 72, !11, i64 76, !11, i64 88, !12, i64 104, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !8, i64 136, !7, i64 144, !7, i64 148, !7, i64 152, !10, i64 160, !7, i64 168, !8, i64 172, !10, i64 304, !7, i64 312, !8, i64 316, !10, i64 448, !7, i64 456, !10, i64 464, !7, i64 472, !8, i64 476, !7, i64 860, !8, i64 864, !8, i64 992, !8, i64 1120, !7, i64 1248, !8, i64 1256, !7, i64 1384, !7, i64 1388, !8, i64 1392, !8, i64 1408, !8, i64 1424, !8, i64 1440, !8, i64 1456, !7, i64 1472, !7, i64 1476, !7, i64 1480, !8, i64 1484, !8, i64 1739, !8, i64 1740, !8, i64 1741, !7, i64 1744, !7, i64 1748, !7, i64 1752, !7, i64 1756, !7, i64 1760, !7, i64 1764, !7, i64 1768, !7, i64 1772, !7, i64 1776, !7, i64 1780, !7, i64 1784, !8, i64 1788, !7, i64 1868, !7, i64 1872}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8}
!12 = !{!"", !10, i64 0, !7, i64 8}
!13 = !{!6, !7, i64 1388}
!14 = !{!6, !7, i64 1384}
!15 = !{!6, !7, i64 148}
!16 = !{!6, !7, i64 144}
!17 = !{!7, !7, i64 0}
!18 = !{!6, !7, i64 1248}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}


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