; LLVM IR from modlfo/AudioEngine :: AudioEngine/JuceLibraryCode/modules/juce_audio_formats/codecs/oggvorbis (buffer)

; 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.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.private_state = type { ptr, [2 x i32], [2 x ptr], [2 x %struct.drft_lookup], i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.bitrate_manager_state, i64 }
%struct.drft_lookup = type { i32, ptr, ptr }
%struct.bitrate_manager_state = type { i32, i64, i64, i64, i64, i64, i64, double, ptr, i32 }
%struct.vorbis_info = type { i32, i32, i64, i64, i64, i64, i64, ptr }

; 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
declare void @free(ptr noundef) #1

; Function Attrs: nounwind allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #2

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

18:                                               ; preds = %2
  %19 = load ptr, ptr %7, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.private_state, ptr %19, i32 0, i32 9
  %21 = load ptr, ptr %20, align 8, !tbaa !15
  call void @free(ptr noundef %21) #4
  br label %22

22:                                               ; preds = %18, %2
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.private_state, ptr %23, i32 0, i32 9
  store ptr null, ptr %24, align 8, !tbaa !15
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.private_state, ptr %25, i32 0, i32 10
  %27 = load ptr, ptr %26, align 8, !tbaa !19
  %28 = icmp ne ptr %27, null
  br i1 %28, label %29, label %33

29:                                               ; preds = %22
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.private_state, ptr %30, i32 0, i32 10
  %32 = load ptr, ptr %31, align 8, !tbaa !19
  call void @free(ptr noundef %32) #4
  br label %33

33:                                               ; preds = %29, %22
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.private_state, ptr %34, i32 0, i32 10
  store ptr null, ptr %35, align 8, !tbaa !19
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.private_state, ptr %36, i32 0, i32 11
  %38 = load ptr, ptr %37, align 8, !tbaa !20
  %39 = icmp ne ptr %38, null
  br i1 %39, label %40, label %44

40:                                               ; preds = %33
  %41 = load ptr, ptr %7, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.private_state, ptr %41, i32 0, i32 11
  %43 = load ptr, ptr %42, align 8, !tbaa !20
  call void @free(ptr noundef %43) #4
  br label %44

44:                                               ; preds = %40, %33
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.private_state, ptr %45, i32 0, i32 11
  store ptr null, ptr %46, align 8, !tbaa !20
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.vorbis_dsp_state, ptr %47, i32 0, i32 5
  %49 = load i32, ptr %48, align 4, !tbaa !21
  %50 = load i32, ptr %4, align 4, !tbaa !9
  %51 = add nsw i32 %49, %50
  %52 = load ptr, ptr %3, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.vorbis_dsp_state, ptr %52, i32 0, i32 4
  %54 = load i32, ptr %53, align 8, !tbaa !22
  %55 = icmp sge i32 %51, %54
  br i1 %55, label %56, label %95

56:                                               ; preds = %44
  %57 = load ptr, ptr %3, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.vorbis_dsp_state, ptr %57, i32 0, i32 5
  %59 = load i32, ptr %58, align 4, !tbaa !21
  %60 = load i32, ptr %4, align 4, !tbaa !9
  %61 = mul nsw i32 %60, 2
  %62 = add nsw i32 %59, %61
  %63 = load ptr, ptr %3, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.vorbis_dsp_state, ptr %63, i32 0, i32 4
  store i32 %62, ptr %64, align 8, !tbaa !22
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %65

65:                                               ; preds = %91, %56
  %66 = load i32, ptr %5, align 4, !tbaa !9
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.vorbis_info, ptr %67, i32 0, i32 1
  %69 = load i32, ptr %68, align 4, !tbaa !23
  %70 = icmp slt i32 %66, %69
  br i1 %70, label %71, label %94

71:                                               ; preds = %65
  %72 = load ptr, ptr %3, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.vorbis_dsp_state, ptr %72, i32 0, i32 2
  %74 = load ptr, ptr %73, align 8, !tbaa !25
  %75 = load i32, ptr %5, align 4, !tbaa !9
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds ptr, ptr %74, i64 %76
  %78 = load ptr, ptr %77, align 8, !tbaa !5
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.vorbis_dsp_state, ptr %79, i32 0, i32 4
  %81 = load i32, ptr %80, align 8, !tbaa !22
  %82 = sext i32 %81 to i64
  %83 = mul i64 %82, 4
  %84 = call ptr @realloc(ptr noundef %78, i64 noundef %83) #5
  %85 = load ptr, ptr %3, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.vorbis_dsp_state, ptr %85, i32 0, i32 2
  %87 = load ptr, ptr %86, align 8, !tbaa !25
  %88 = load i32, ptr %5, align 4, !tbaa !9
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds ptr, ptr %87, i64 %89
  store ptr %84, ptr %90, align 8, !tbaa !5
  br label %91

91:                                               ; preds = %71
  %92 = load i32, ptr %5, align 4, !tbaa !9
  %93 = add nsw i32 %92, 1
  store i32 %93, ptr %5, align 4, !tbaa !9
  br label %65, !llvm.loop !26

94:                                               ; preds = %65
  br label %95

95:                                               ; preds = %94, %44
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %96

96:                                               ; preds = %121, %95
  %97 = load i32, ptr %5, align 4, !tbaa !9
  %98 = load ptr, ptr %6, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.vorbis_info, ptr %98, i32 0, i32 1
  %100 = load i32, ptr %99, align 4, !tbaa !23
  %101 = icmp slt i32 %97, %100
  br i1 %101, label %102, label %124

102:                                              ; preds = %96
  %103 = load ptr, ptr %3, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.vorbis_dsp_state, ptr %103, i32 0, i32 2
  %105 = load ptr, ptr %104, align 8, !tbaa !25
  %106 = load i32, ptr %5, align 4, !tbaa !9
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds ptr, ptr %105, i64 %107
  %109 = load ptr, ptr %108, align 8, !tbaa !5
  %110 = load ptr, ptr %3, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.vorbis_dsp_state, ptr %110, i32 0, i32 5
  %112 = load i32, ptr %111, align 4, !tbaa !21
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds float, ptr %109, i64 %113
  %115 = load ptr, ptr %3, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.vorbis_dsp_state, ptr %115, i32 0, i32 3
  %117 = load ptr, ptr %116, align 8, !tbaa !28
  %118 = load i32, ptr %5, align 4, !tbaa !9
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds ptr, ptr %117, i64 %119
  store ptr %114, ptr %120, align 8, !tbaa !5
  br label %121

121:                                              ; preds = %102
  %122 = load i32, ptr %5, align 4, !tbaa !9
  %123 = add nsw i32 %122, 1
  store i32 %123, ptr %5, align 4, !tbaa !9
  br label %96, !llvm.loop !29

124:                                              ; preds = %96
  %125 = load ptr, ptr %3, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.vorbis_dsp_state, ptr %125, i32 0, i32 3
  %127 = load ptr, ptr %126, align 8, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  ret ptr %127
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { nounwind allocsize(1) "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 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 = { nounwind allocsize(1) }

!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, !6, i64 8}
!12 = !{!"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}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !6, i64 136}
!15 = !{!16, !6, i64 120}
!16 = !{!"private_state", !6, i64 0, !7, i64 8, !7, i64 16, !7, i64 32, !10, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !17, i64 144, !13, i64 224}
!17 = !{!"bitrate_manager_state", !10, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !18, i64 56, !6, i64 64, !10, i64 72}
!18 = !{!"double", !7, i64 0}
!19 = !{!16, !6, i64 128}
!20 = !{!16, !6, i64 136}
!21 = !{!12, !10, i64 36}
!22 = !{!12, !10, i64 32}
!23 = !{!24, !10, i64 4}
!24 = !{!"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}
!25 = !{!12, !6, i64 16}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!12, !6, i64 24}
!29 = distinct !{!29, !27}


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

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #1

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

9:                                                ; preds = %2
  tail call void @free(ptr noundef nonnull %8) #3
  br label %10

10:                                               ; preds = %9, %2
  store ptr null, ptr %7, align 8, !tbaa !13
  %11 = getelementptr inbounds i8, ptr %6, i64 128
  %12 = load ptr, ptr %11, align 8, !tbaa !17
  %.not36 = icmp eq ptr %12, null
  br i1 %.not36, label %14, label %13

13:                                               ; preds = %10
  tail call void @free(ptr noundef nonnull %12) #3
  br label %14

14:                                               ; preds = %13, %10
  store ptr null, ptr %11, align 8, !tbaa !17
  %15 = getelementptr inbounds i8, ptr %6, i64 136
  %16 = load ptr, ptr %15, align 8, !tbaa !18
  %.not37 = icmp eq ptr %16, null
  br i1 %.not37, label %18, label %17

17:                                               ; preds = %14
  tail call void @free(ptr noundef nonnull %16) #3
  br label %18

18:                                               ; preds = %17, %14
  store ptr null, ptr %15, align 8, !tbaa !18
  %19 = getelementptr inbounds i8, ptr %0, i64 36
  %20 = load i32, ptr %19, align 4, !tbaa !19
  %21 = add nsw i32 %20, %1
  %22 = getelementptr inbounds i8, ptr %0, i64 32
  %23 = load i32, ptr %22, align 8, !tbaa !20
  %.not38 = icmp slt i32 %21, %23
  br i1 %.not38, label %..loopexit_crit_edge, label %24

..loopexit_crit_edge:                             ; preds = %18
  %.phi.trans.insert = getelementptr inbounds i8, ptr %4, i64 4
  %.pre = load i32, ptr %.phi.trans.insert, align 4, !tbaa !21
  br label %.loopexit

24:                                               ; preds = %18
  %25 = shl nsw i32 %1, 1
  %26 = add nsw i32 %20, %25
  store i32 %26, ptr %22, align 8, !tbaa !20
  %27 = getelementptr inbounds i8, ptr %4, i64 4
  %28 = load i32, ptr %27, align 4, !tbaa !21
  %29 = icmp sgt i32 %28, 0
  br i1 %29, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %24
  %30 = getelementptr inbounds i8, ptr %0, i64 16
  br label %31

31:                                               ; preds = %.lr.ph, %31
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %31 ]
  %32 = load ptr, ptr %30, align 8, !tbaa !23
  %33 = getelementptr inbounds ptr, ptr %32, i64 %indvars.iv
  %34 = load ptr, ptr %33, align 8, !tbaa !24
  %35 = load i32, ptr %22, align 8, !tbaa !20
  %36 = sext i32 %35 to i64
  %37 = shl nsw i64 %36, 2
  %38 = tail call ptr @realloc(ptr noundef %34, i64 noundef %37) #4
  %39 = load ptr, ptr %30, align 8, !tbaa !23
  %40 = getelementptr inbounds ptr, ptr %39, i64 %indvars.iv
  store ptr %38, ptr %40, align 8, !tbaa !24
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %41 = load i32, ptr %27, align 4, !tbaa !21
  %42 = sext i32 %41 to i64
  %43 = icmp slt i64 %indvars.iv.next, %42
  br i1 %43, label %31, label %.loopexit, !llvm.loop !25

.loopexit:                                        ; preds = %31, %..loopexit_crit_edge
  %44 = phi i32 [ %.pre, %..loopexit_crit_edge ], [ %41, %31 ]
  %45 = icmp sgt i32 %44, 0
  br i1 %45, label %.lr.ph41, label %._crit_edge

.lr.ph41:                                         ; preds = %.loopexit
  %46 = getelementptr inbounds i8, ptr %0, i64 16
  %47 = load i32, ptr %19, align 4, !tbaa !19
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds i8, ptr %0, i64 24
  %wide.trip.count = zext nneg i32 %44 to i64
  %xtraiter = and i64 %wide.trip.count, 3
  %50 = icmp ult i32 %44, 4
  br i1 %50, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph41.new

.lr.ph41.new:                                     ; preds = %.lr.ph41
  %unroll_iter = and i64 %wide.trip.count, 2147483644
  br label %51

51:                                               ; preds = %51, %.lr.ph41.new
  %indvars.iv43 = phi i64 [ 0, %.lr.ph41.new ], [ %indvars.iv.next44.3, %51 ]
  %niter = phi i64 [ 0, %.lr.ph41.new ], [ %niter.next.3, %51 ]
  %52 = load ptr, ptr %46, align 8, !tbaa !23
  %53 = getelementptr inbounds ptr, ptr %52, i64 %indvars.iv43
  %54 = load ptr, ptr %53, align 8, !tbaa !24
  %55 = getelementptr inbounds float, ptr %54, i64 %48
  %56 = load ptr, ptr %49, align 8, !tbaa !27
  %57 = getelementptr inbounds ptr, ptr %56, i64 %indvars.iv43
  store ptr %55, ptr %57, align 8, !tbaa !24
  %indvars.iv.next44 = or disjoint i64 %indvars.iv43, 1
  %58 = load ptr, ptr %46, align 8, !tbaa !23
  %59 = getelementptr inbounds ptr, ptr %58, i64 %indvars.iv.next44
  %60 = load ptr, ptr %59, align 8, !tbaa !24
  %61 = getelementptr inbounds float, ptr %60, i64 %48
  %62 = load ptr, ptr %49, align 8, !tbaa !27
  %63 = getelementptr inbounds ptr, ptr %62, i64 %indvars.iv.next44
  store ptr %61, ptr %63, align 8, !tbaa !24
  %indvars.iv.next44.1 = or disjoint i64 %indvars.iv43, 2
  %64 = load ptr, ptr %46, align 8, !tbaa !23
  %65 = getelementptr inbounds ptr, ptr %64, i64 %indvars.iv.next44.1
  %66 = load ptr, ptr %65, align 8, !tbaa !24
  %67 = getelementptr inbounds float, ptr %66, i64 %48
  %68 = load ptr, ptr %49, align 8, !tbaa !27
  %69 = getelementptr inbounds ptr, ptr %68, i64 %indvars.iv.next44.1
  store ptr %67, ptr %69, align 8, !tbaa !24
  %indvars.iv.next44.2 = or disjoint i64 %indvars.iv43, 3
  %70 = load ptr, ptr %46, align 8, !tbaa !23
  %71 = getelementptr inbounds ptr, ptr %70, i64 %indvars.iv.next44.2
  %72 = load ptr, ptr %71, align 8, !tbaa !24
  %73 = getelementptr inbounds float, ptr %72, i64 %48
  %74 = load ptr, ptr %49, align 8, !tbaa !27
  %75 = getelementptr inbounds ptr, ptr %74, i64 %indvars.iv.next44.2
  store ptr %73, ptr %75, align 8, !tbaa !24
  %indvars.iv.next44.3 = add nuw nsw i64 %indvars.iv43, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge.loopexit.unr-lcssa, label %51, !llvm.loop !28

._crit_edge.loopexit.unr-lcssa:                   ; preds = %51, %.lr.ph41
  %indvars.iv43.unr = phi i64 [ 0, %.lr.ph41 ], [ %indvars.iv.next44.3, %51 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader
  %indvars.iv43.epil = phi i64 [ %indvars.iv.next44.epil, %.epil.preheader ], [ %indvars.iv43.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %76 = load ptr, ptr %46, align 8, !tbaa !23
  %77 = getelementptr inbounds ptr, ptr %76, i64 %indvars.iv43.epil
  %78 = load ptr, ptr %77, align 8, !tbaa !24
  %79 = getelementptr inbounds float, ptr %78, i64 %48
  %80 = load ptr, ptr %49, align 8, !tbaa !27
  %81 = getelementptr inbounds ptr, ptr %80, i64 %indvars.iv43.epil
  store ptr %79, ptr %81, align 8, !tbaa !24
  %indvars.iv.next44.epil = add nuw nsw i64 %indvars.iv43.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.epil.preheader, !llvm.loop !29

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader, %24, %.loopexit
  %82 = getelementptr inbounds i8, ptr %0, i64 24
  %83 = load ptr, ptr %82, align 8, !tbaa !27
  ret ptr %83
}

attributes #0 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
attributes #4 = { nounwind allocsize(1) }

!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 8}
!6 = !{!"vorbis_dsp_state", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !10, i64 136}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !10, i64 136}
!13 = !{!14, !10, i64 120}
!14 = !{!"private_state", !10, i64 0, !8, i64 8, !8, i64 16, !8, i64 32, !7, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !15, i64 144, !11, i64 224}
!15 = !{!"bitrate_manager_state", !7, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !16, i64 56, !10, i64 64, !7, i64 72}
!16 = !{!"double", !8, i64 0}
!17 = !{!14, !10, i64 128}
!18 = !{!14, !10, i64 136}
!19 = !{!6, !7, i64 36}
!20 = !{!6, !7, i64 32}
!21 = !{!22, !7, i64 4}
!22 = !{!"vorbis_info", !7, i64 0, !7, i64 4, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !10, i64 48}
!23 = !{!6, !10, i64 16}
!24 = !{!10, !10, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!6, !10, i64 24}
!28 = distinct !{!28, !26}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.unroll.disable"}


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