; LLVM IR from reworks-org/galaxy :: deps/sfml_deps/vorbis-src/examples (chaining_example)

; 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.ov_callbacks = type { ptr, ptr, ptr, ptr }
%struct.OggVorbis_File = type { ptr, i32, i64, i64, %struct.ogg_sync_state, i32, ptr, ptr, ptr, ptr, ptr, ptr, i64, i32, i64, i32, double, double, %struct.ogg_stream_state, %struct.vorbis_dsp_state, %struct.vorbis_block, %struct.ov_callbacks }
%struct.ogg_sync_state = type { ptr, i32, i32, i32, i32, i32, i32 }
%struct.ogg_stream_state = type { ptr, i64, i64, i64, ptr, ptr, i64, i64, i64, i64, [282 x i8], i32, i32, i32, i64, i64, i64, i64 }
%struct.vorbis_dsp_state = type { i32, ptr, ptr, ptr, i32, i32, i32, i32, i32, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, ptr }
%struct.vorbis_block = type { ptr, %struct.oggpack_buffer, i64, i64, i64, i32, i32, i32, i64, i64, ptr, ptr, i64, i64, i64, ptr, i64, i64, i64, i64, ptr }
%struct.oggpack_buffer = type { i64, i32, ptr, ptr, i64 }
%struct.vorbis_info = type { i32, i32, i64, i64, i64, i64, i64, ptr }

@stdin = external global ptr, align 8
@OV_CALLBACKS_NOCLOSE = external hidden global %struct.ov_callbacks, align 8
@.str = external hidden unnamed_addr constant [45 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [19 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca %struct.OggVorbis_File, align 8
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 944, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  %5 = load ptr, ptr @stdin, align 8, !tbaa !5
  %6 = call i32 @ov_open_callbacks(ptr noundef %5, ptr noundef %2, ptr noundef null, i64 noundef -1, ptr noundef byval(%struct.ov_callbacks) align 8 @OV_CALLBACKS_NOCLOSE)
  %7 = icmp slt i32 %6, 0
  br i1 %7, label %8, label %10

8:                                                ; preds = %0
  %9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  call void @exit(i32 noundef 1) #5
  unreachable

10:                                               ; preds = %0
  %11 = call i64 @ov_seekable(ptr noundef %2)
  %12 = icmp ne i64 %11, 0
  br i1 %12, label %13, label %21

13:                                               ; preds = %10
  %14 = call i64 @ov_streams(ptr noundef %2)
  %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %14)
  %16 = call i64 @ov_pcm_total(ptr noundef %2, i32 noundef -1)
  %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %16)
  %18 = call double @ov_time_total(ptr noundef %2, i32 noundef -1)
  %19 = fptosi double %18 to i64
  %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %19)
  br label %23

21:                                               ; preds = %10
  %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  br label %23

23:                                               ; preds = %21, %13
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %24

24:                                               ; preds = %68, %23
  %25 = load i32, ptr %3, align 4, !tbaa !9
  %26 = sext i32 %25 to i64
  %27 = call i64 @ov_streams(ptr noundef %2)
  %28 = icmp slt i64 %26, %27
  br i1 %28, label %29, label %71

29:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  %30 = load i32, ptr %3, align 4, !tbaa !9
  %31 = call ptr @ov_info(ptr noundef %2, i32 noundef %30)
  store ptr %31, ptr %4, align 8, !tbaa !5
  %32 = load i32, ptr %3, align 4, !tbaa !9
  %33 = add nsw i32 %32, 1
  %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %33)
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.vorbis_info, ptr %35, i32 0, i32 2
  %37 = load i64, ptr %36, align 8, !tbaa !11
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.vorbis_info, ptr %38, i32 0, i32 1
  %40 = load i32, ptr %39, align 4, !tbaa !14
  %41 = load i32, ptr %3, align 4, !tbaa !9
  %42 = call i64 @ov_bitrate(ptr noundef %2, i32 noundef %41)
  %43 = sdiv i64 %42, 1000
  %44 = load i32, ptr %3, align 4, !tbaa !9
  %45 = call i64 @ov_serialnumber(ptr noundef %2, i32 noundef %44)
  %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %37, i32 noundef %40, i64 noundef %43, i64 noundef %45)
  %47 = getelementptr inbounds %struct.OggVorbis_File, ptr %2, i32 0, i32 7
  %48 = load ptr, ptr %47, align 8, !tbaa !15
  %49 = load i32, ptr %3, align 4, !tbaa !9
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds i64, ptr %48, i64 %50
  %52 = load i64, ptr %51, align 8, !tbaa !24
  %53 = getelementptr inbounds %struct.OggVorbis_File, ptr %2, i32 0, i32 6
  %54 = load ptr, ptr %53, align 8, !tbaa !25
  %55 = load i32, ptr %3, align 4, !tbaa !9
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds i64, ptr %54, i64 %56
  %58 = load i64, ptr %57, align 8, !tbaa !24
  %59 = sub nsw i64 %52, %58
  %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef %59)
  %61 = load i32, ptr %3, align 4, !tbaa !9
  %62 = call i64 @ov_raw_total(ptr noundef %2, i32 noundef %61)
  %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i64 noundef %62)
  %64 = load i32, ptr %3, align 4, !tbaa !9
  %65 = call double @ov_time_total(ptr noundef %2, i32 noundef %64)
  %66 = fptosi double %65 to i64
  %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef %66)
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  br label %68

68:                                               ; preds = %29
  %69 = load i32, ptr %3, align 4, !tbaa !9
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %3, align 4, !tbaa !9
  br label %24, !llvm.loop !26

71:                                               ; preds = %24
  %72 = call i32 @ov_clear(ptr noundef %2)
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 944, ptr %2) #4
  ret i32 0
}

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

declare i32 @ov_open_callbacks(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef byval(%struct.ov_callbacks) align 8) #2

declare i32 @printf(ptr noundef, ...) #2

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #3

declare i64 @ov_seekable(ptr noundef) #2

declare i64 @ov_streams(ptr noundef) #2

declare i64 @ov_pcm_total(ptr noundef, i32 noundef) #2

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

declare ptr @ov_info(ptr noundef, i32 noundef) #2

declare i64 @ov_bitrate(ptr noundef, i32 noundef) #2

declare i64 @ov_serialnumber(ptr noundef, i32 noundef) #2

declare i64 @ov_raw_total(ptr noundef, i32 noundef) #2

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

declare i32 @ov_clear(ptr noundef) #2

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #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, !13, i64 8}
!12 = !{!"vorbis_info", !10, i64 0, !10, i64 4, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !6, i64 48}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !10, i64 4}
!15 = !{!16, !6, i64 80}
!16 = !{!"OggVorbis_File", !6, i64 0, !10, i64 8, !13, i64 16, !13, i64 24, !17, i64 32, !10, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !13, i64 120, !10, i64 128, !13, i64 136, !10, i64 144, !18, i64 152, !18, i64 160, !19, i64 168, !20, i64 576, !21, i64 720, !23, i64 912}
!17 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!18 = !{!"double", !7, i64 0}
!19 = !{!"", !6, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !6, i64 32, !6, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !7, i64 80, !10, i64 364, !10, i64 368, !10, i64 372, !13, i64 376, !13, i64 384, !13, i64 392, !13, i64 400}
!20 = !{!"vorbis_dsp_state", !10, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !6, i64 136}
!21 = !{!"vorbis_block", !6, i64 0, !22, i64 8, !13, i64 48, !13, i64 56, !13, i64 64, !10, i64 72, !10, i64 76, !10, i64 80, !13, i64 88, !13, i64 96, !6, i64 104, !6, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !6, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !6, i64 184}
!22 = !{!"", !13, i64 0, !10, i64 8, !6, i64 16, !6, i64 24, !13, i64 32}
!23 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!24 = !{!13, !13, i64 0}
!25 = !{!16, !6, i64 72}
!26 = distinct !{!26, !27}
!27 = !{!"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"

%struct.ov_callbacks = type { ptr, ptr, ptr, ptr }
%struct.OggVorbis_File = type { ptr, i32, i64, i64, %struct.ogg_sync_state, i32, ptr, ptr, ptr, ptr, ptr, ptr, i64, i32, i64, i32, double, double, %struct.ogg_stream_state, %struct.vorbis_dsp_state, %struct.vorbis_block, %struct.ov_callbacks }
%struct.ogg_sync_state = type { ptr, i32, i32, i32, i32, i32, i32 }
%struct.ogg_stream_state = type { ptr, i64, i64, i64, ptr, ptr, i64, i64, i64, i64, [282 x i8], i32, i32, i32, i64, i64, i64, i64 }
%struct.vorbis_dsp_state = type { i32, ptr, ptr, ptr, i32, i32, i32, i32, i32, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, ptr }
%struct.vorbis_block = type { ptr, %struct.oggpack_buffer, i64, i64, i64, i32, i32, i32, i64, i64, ptr, ptr, i64, i64, i64, ptr, i64, i64, i64, i64, ptr }
%struct.oggpack_buffer = type { i64, i32, ptr, ptr, i64 }

@stdin = external local_unnamed_addr global ptr, align 8
@OV_CALLBACKS_NOCLOSE = external hidden global %struct.ov_callbacks, align 8
@.str = external hidden unnamed_addr constant [45 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [19 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca %struct.OggVorbis_File, align 8
  call void @llvm.lifetime.start.p0(i64 944, ptr nonnull %1) #5
  %2 = load ptr, ptr @stdin, align 8, !tbaa !5
  %3 = call i32 @ov_open_callbacks(ptr noundef %2, ptr noundef nonnull %1, ptr noundef null, i64 noundef -1, ptr noundef nonnull byval(%struct.ov_callbacks) align 8 @OV_CALLBACKS_NOCLOSE) #5
  %4 = icmp slt i32 %3, 0
  br i1 %4, label %5, label %7

5:                                                ; preds = %0
  %6 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  call void @exit(i32 noundef 1) #6
  unreachable

7:                                                ; preds = %0
  %8 = call i64 @ov_seekable(ptr noundef nonnull %1) #5
  %.not = icmp eq i64 %8, 0
  br i1 %.not, label %17, label %9

9:                                                ; preds = %7
  %10 = call i64 @ov_streams(ptr noundef nonnull %1) #5
  %11 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i64 noundef %10)
  %12 = call i64 @ov_pcm_total(ptr noundef nonnull %1, i32 noundef -1) #5
  %13 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef %12)
  %14 = call double @ov_time_total(ptr noundef nonnull %1, i32 noundef -1) #5
  %15 = fptosi double %14 to i64
  %16 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i64 noundef %15)
  br label %19

17:                                               ; preds = %7
  %18 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  br label %19

19:                                               ; preds = %17, %9
  %20 = call i64 @ov_streams(ptr noundef nonnull %1) #5
  %21 = icmp sgt i64 %20, 0
  br i1 %21, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %19
  %22 = getelementptr inbounds i8, ptr %1, i64 80
  %23 = getelementptr inbounds i8, ptr %1, i64 72
  br label %24

24:                                               ; preds = %.lr.ph, %24
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %24 ]
  %25 = trunc nuw nsw i64 %indvars.iv to i32
  %26 = call ptr @ov_info(ptr noundef nonnull %1, i32 noundef %25) #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %27 = trunc nuw i64 %indvars.iv.next to i32
  %28 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %27)
  %29 = getelementptr inbounds i8, ptr %26, i64 8
  %30 = load i64, ptr %29, align 8, !tbaa !9
  %31 = getelementptr inbounds i8, ptr %26, i64 4
  %32 = load i32, ptr %31, align 4, !tbaa !13
  %33 = call i64 @ov_bitrate(ptr noundef nonnull %1, i32 noundef %25) #5
  %34 = sdiv i64 %33, 1000
  %35 = call i64 @ov_serialnumber(ptr noundef nonnull %1, i32 noundef %25) #5
  %36 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i64 noundef %30, i32 noundef %32, i64 noundef %34, i64 noundef %35)
  %37 = load ptr, ptr %22, align 8, !tbaa !14
  %38 = getelementptr inbounds i64, ptr %37, i64 %indvars.iv
  %39 = load i64, ptr %38, align 8, !tbaa !23
  %40 = load ptr, ptr %23, align 8, !tbaa !24
  %41 = getelementptr inbounds i64, ptr %40, i64 %indvars.iv
  %42 = load i64, ptr %41, align 8, !tbaa !23
  %43 = sub nsw i64 %39, %42
  %44 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i64 noundef %43)
  %45 = call i64 @ov_raw_total(ptr noundef nonnull %1, i32 noundef %25) #5
  %46 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i64 noundef %45)
  %47 = call double @ov_time_total(ptr noundef nonnull %1, i32 noundef %25) #5
  %48 = fptosi double %47 to i64
  %49 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef %48)
  %50 = call i64 @ov_streams(ptr noundef nonnull %1) #5
  %51 = icmp sgt i64 %50, %indvars.iv.next
  br i1 %51, label %24, label %._crit_edge, !llvm.loop !25

._crit_edge:                                      ; preds = %24, %19
  %52 = call i32 @ov_clear(ptr noundef nonnull %1) #5
  call void @llvm.lifetime.end.p0(i64 944, ptr nonnull %1) #5
  ret i32 0
}

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

declare i32 @ov_open_callbacks(ptr noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef byval(%struct.ov_callbacks) align 8) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #4

declare i64 @ov_seekable(ptr noundef) local_unnamed_addr #2

declare i64 @ov_streams(ptr noundef) local_unnamed_addr #2

declare i64 @ov_pcm_total(ptr noundef, i32 noundef) local_unnamed_addr #2

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

declare ptr @ov_info(ptr noundef, i32 noundef) local_unnamed_addr #2

declare i64 @ov_bitrate(ptr noundef, i32 noundef) local_unnamed_addr #2

declare i64 @ov_serialnumber(ptr noundef, i32 noundef) local_unnamed_addr #2

declare i64 @ov_raw_total(ptr noundef, i32 noundef) local_unnamed_addr #2

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

declare i32 @ov_clear(ptr noundef) local_unnamed_addr #2

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree 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 #4 = { 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 #5 = { nounwind }
attributes #6 = { 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, !12, i64 8}
!10 = !{!"vorbis_info", !11, i64 0, !11, i64 4, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !6, i64 48}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !11, i64 4}
!14 = !{!15, !6, i64 80}
!15 = !{!"OggVorbis_File", !6, i64 0, !11, i64 8, !12, i64 16, !12, i64 24, !16, i64 32, !11, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !12, i64 120, !11, i64 128, !12, i64 136, !11, i64 144, !17, i64 152, !17, i64 160, !18, i64 168, !19, i64 576, !20, i64 720, !22, i64 912}
!16 = !{!"", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28}
!17 = !{!"double", !7, i64 0}
!18 = !{!"", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !6, i64 32, !6, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !7, i64 80, !11, i64 364, !11, i64 368, !11, i64 372, !12, i64 376, !12, i64 384, !12, i64 392, !12, i64 400}
!19 = !{!"vorbis_dsp_state", !11, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !6, i64 136}
!20 = !{!"vorbis_block", !6, i64 0, !21, i64 8, !12, i64 48, !12, i64 56, !12, i64 64, !11, i64 72, !11, i64 76, !11, i64 80, !12, i64 88, !12, i64 96, !6, i64 104, !6, i64 112, !12, i64 120, !12, i64 128, !12, i64 136, !6, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176, !6, i64 184}
!21 = !{!"", !12, i64 0, !11, i64 8, !6, i64 16, !6, i64 24, !12, i64 32}
!22 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!23 = !{!12, !12, i64 0}
!24 = !{!15, !6, i64 72}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}


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