; LLVM IR from lichen-community-systems/signaletic :: libsignaletic/src (libsignaletic)

; 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.sig_dsp_Chorus = type { %struct.sig_dsp_Signal, %struct.sig_dsp_Chorus_Inputs, %struct.sig_dsp_Chorus_Outputs, ptr, %struct.sig_osc_FastLFSine, float, float }
%struct.sig_dsp_Signal = type { ptr, ptr }
%struct.sig_dsp_Chorus_Inputs = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.sig_dsp_Chorus_Outputs = type { ptr, ptr }
%struct.sig_osc_FastLFSine = type { float, float, float, float }
%struct.sig_AudioSettings = type { float, i64, i64 }

; 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: inlinehint nounwind uwtable
declare dso_local float @sig_fastTanhf(float noundef) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2

; Function Attrs: inlinehint nounwind uwtable
declare dso_local void @sig_osc_FastLFSine_setFrequencyFast(ptr noundef, float noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare dso_local void @sig_osc_FastLFSine_generate(ptr noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare dso_local float @sig_DelayLine_allpassReadAtTime(ptr noundef, float noundef, float noundef, float noundef, float noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare dso_local void @sig_DelayLine_write(ptr noundef, float noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @sig_dsp_Chorus_generate(ptr noundef %0) #3 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca float, align 4
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  %18 = load ptr, ptr %2, align 8, !tbaa !5
  store ptr %18, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  store i64 0, ptr %4, align 8, !tbaa !9
  br label %19

19:                                               ; preds = %162, %1
  %20 = load i64, ptr %4, align 8, !tbaa !9
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.sig_dsp_Chorus, ptr %21, i32 0, i32 0
  %23 = getelementptr inbounds %struct.sig_dsp_Signal, ptr %22, i32 0, i32 0
  %24 = load ptr, ptr %23, align 8, !tbaa !11
  %25 = getelementptr inbounds %struct.sig_AudioSettings, ptr %24, i32 0, i32 2
  %26 = load i64, ptr %25, align 8, !tbaa !18
  %27 = icmp ult i64 %20, %26
  br i1 %27, label %29, label %28

28:                                               ; preds = %19
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  br label %165

29:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.sig_dsp_Chorus, ptr %30, i32 0, i32 1
  %32 = getelementptr inbounds %struct.sig_dsp_Chorus_Inputs, ptr %31, i32 0, i32 0
  %33 = load ptr, ptr %32, align 8, !tbaa !20
  %34 = load i64, ptr %4, align 8, !tbaa !9
  %35 = getelementptr inbounds float, ptr %33, i64 %34
  %36 = load float, ptr %35, align 4, !tbaa !21
  store float %36, ptr %5, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.sig_dsp_Chorus, ptr %37, i32 0, i32 1
  %39 = getelementptr inbounds %struct.sig_dsp_Chorus_Inputs, ptr %38, i32 0, i32 1
  %40 = load ptr, ptr %39, align 8, !tbaa !22
  %41 = load i64, ptr %4, align 8, !tbaa !9
  %42 = getelementptr inbounds float, ptr %40, i64 %41
  %43 = load float, ptr %42, align 4, !tbaa !21
  store float %43, ptr %6, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %44 = load ptr, ptr %3, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.sig_dsp_Chorus, ptr %44, i32 0, i32 1
  %46 = getelementptr inbounds %struct.sig_dsp_Chorus_Inputs, ptr %45, i32 0, i32 2
  %47 = load ptr, ptr %46, align 8, !tbaa !23
  %48 = load i64, ptr %4, align 8, !tbaa !9
  %49 = getelementptr inbounds float, ptr %47, i64 %48
  %50 = load float, ptr %49, align 4, !tbaa !21
  store float %50, ptr %7, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %51 = load ptr, ptr %3, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.sig_dsp_Chorus, ptr %51, i32 0, i32 1
  %53 = getelementptr inbounds %struct.sig_dsp_Chorus_Inputs, ptr %52, i32 0, i32 3
  %54 = load ptr, ptr %53, align 8, !tbaa !24
  %55 = load i64, ptr %4, align 8, !tbaa !9
  %56 = getelementptr inbounds float, ptr %54, i64 %55
  %57 = load float, ptr %56, align 4, !tbaa !21
  store float %57, ptr %8, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.sig_dsp_Chorus, ptr %58, i32 0, i32 1
  %60 = getelementptr inbounds %struct.sig_dsp_Chorus_Inputs, ptr %59, i32 0, i32 4
  %61 = load ptr, ptr %60, align 8, !tbaa !25
  %62 = load i64, ptr %4, align 8, !tbaa !9
  %63 = getelementptr inbounds float, ptr %61, i64 %62
  %64 = load float, ptr %63, align 4, !tbaa !21
  store float %64, ptr %9, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %65 = load ptr, ptr %3, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.sig_dsp_Chorus, ptr %65, i32 0, i32 1
  %67 = getelementptr inbounds %struct.sig_dsp_Chorus_Inputs, ptr %66, i32 0, i32 5
  %68 = load ptr, ptr %67, align 8, !tbaa !26
  %69 = load i64, ptr %4, align 8, !tbaa !9
  %70 = getelementptr inbounds float, ptr %68, i64 %69
  %71 = load float, ptr %70, align 4, !tbaa !21
  store float %71, ptr %10, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %72 = load ptr, ptr %3, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.sig_dsp_Chorus, ptr %72, i32 0, i32 1
  %74 = getelementptr inbounds %struct.sig_dsp_Chorus_Inputs, ptr %73, i32 0, i32 6
  %75 = load ptr, ptr %74, align 8, !tbaa !27
  %76 = load i64, ptr %4, align 8, !tbaa !9
  %77 = getelementptr inbounds float, ptr %75, i64 %76
  %78 = load float, ptr %77, align 4, !tbaa !21
  store float %78, ptr %11, align 4, !tbaa !21
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.sig_dsp_Chorus, ptr %79, i32 0, i32 4
  %81 = load float, ptr %7, align 4, !tbaa !21
  call void @sig_osc_FastLFSine_setFrequencyFast(ptr noundef %80, float noundef %81)
  %82 = load ptr, ptr %3, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.sig_dsp_Chorus, ptr %82, i32 0, i32 4
  call void @sig_osc_FastLFSine_generate(ptr noundef %83)
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.sig_dsp_Chorus, ptr %84, i32 0, i32 4
  %86 = getelementptr inbounds %struct.sig_osc_FastLFSine, ptr %85, i32 0, i32 2
  %87 = load float, ptr %86, align 8, !tbaa !28
  %88 = load ptr, ptr %3, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.sig_dsp_Chorus, ptr %88, i32 0, i32 2
  %90 = getelementptr inbounds %struct.sig_dsp_Chorus_Outputs, ptr %89, i32 0, i32 1
  %91 = load ptr, ptr %90, align 8, !tbaa !29
  %92 = load i64, ptr %4, align 8, !tbaa !9
  %93 = getelementptr inbounds float, ptr %91, i64 %92
  store float %87, ptr %93, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %94 = load ptr, ptr %3, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.sig_dsp_Chorus, ptr %94, i32 0, i32 3
  %96 = load ptr, ptr %95, align 8, !tbaa !30
  %97 = load float, ptr %5, align 4, !tbaa !21
  %98 = load float, ptr %6, align 4, !tbaa !21
  %99 = load ptr, ptr %3, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.sig_dsp_Chorus, ptr %99, i32 0, i32 0
  %101 = getelementptr inbounds %struct.sig_dsp_Signal, ptr %100, i32 0, i32 0
  %102 = load ptr, ptr %101, align 8, !tbaa !11
  %103 = getelementptr inbounds %struct.sig_AudioSettings, ptr %102, i32 0, i32 0
  %104 = load float, ptr %103, align 8, !tbaa !31
  %105 = load ptr, ptr %3, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.sig_dsp_Chorus, ptr %105, i32 0, i32 5
  %107 = load float, ptr %106, align 8, !tbaa !32
  %108 = call float @sig_DelayLine_allpassReadAtTime(ptr noundef %96, float noundef %97, float noundef %98, float noundef %104, float noundef %107)
  store float %108, ptr %12, align 4, !tbaa !21
  %109 = load float, ptr %12, align 4, !tbaa !21
  %110 = load ptr, ptr %3, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.sig_dsp_Chorus, ptr %110, i32 0, i32 5
  store float %109, ptr %111, align 8, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %112 = load float, ptr %5, align 4, !tbaa !21
  %113 = load float, ptr %12, align 4, !tbaa !21
  %114 = load float, ptr %9, align 4, !tbaa !21
  %115 = fneg float %113
  %116 = call float @llvm.fmuladd.f32(float %115, float %114, float %112)
  store float %116, ptr %13, align 4, !tbaa !21
  %117 = load ptr, ptr %3, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.sig_dsp_Chorus, ptr %117, i32 0, i32 3
  %119 = load ptr, ptr %118, align 8, !tbaa !30
  %120 = load float, ptr %13, align 4, !tbaa !21
  call void @sig_DelayLine_write(ptr noundef %119, float noundef %120)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %121 = load ptr, ptr %3, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.sig_dsp_Chorus, ptr %121, i32 0, i32 4
  %123 = getelementptr inbounds %struct.sig_osc_FastLFSine, ptr %122, i32 0, i32 2
  %124 = load float, ptr %123, align 8, !tbaa !28
  %125 = load float, ptr %8, align 4, !tbaa !21
  %126 = load float, ptr %6, align 4, !tbaa !21
  %127 = call float @llvm.fmuladd.f32(float %124, float %125, float %126)
  store float %127, ptr %14, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %128 = load ptr, ptr %3, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.sig_dsp_Chorus, ptr %128, i32 0, i32 3
  %130 = load ptr, ptr %129, align 8, !tbaa !30
  %131 = load float, ptr %5, align 4, !tbaa !21
  %132 = load float, ptr %14, align 4, !tbaa !21
  %133 = load ptr, ptr %3, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.sig_dsp_Chorus, ptr %133, i32 0, i32 0
  %135 = getelementptr inbounds %struct.sig_dsp_Signal, ptr %134, i32 0, i32 0
  %136 = load ptr, ptr %135, align 8, !tbaa !11
  %137 = getelementptr inbounds %struct.sig_AudioSettings, ptr %136, i32 0, i32 0
  %138 = load float, ptr %137, align 8, !tbaa !31
  %139 = load ptr, ptr %3, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.sig_dsp_Chorus, ptr %139, i32 0, i32 6
  %141 = load float, ptr %140, align 4, !tbaa !33
  %142 = call float @sig_DelayLine_allpassReadAtTime(ptr noundef %130, float noundef %131, float noundef %132, float noundef %138, float noundef %141)
  store float %142, ptr %15, align 4, !tbaa !21
  %143 = load float, ptr %15, align 4, !tbaa !21
  %144 = load ptr, ptr %3, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.sig_dsp_Chorus, ptr %144, i32 0, i32 6
  store float %143, ptr %145, align 4, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %146 = load float, ptr %15, align 4, !tbaa !21
  %147 = load float, ptr %10, align 4, !tbaa !21
  %148 = fmul float %146, %147
  store float %148, ptr %16, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %149 = load float, ptr %13, align 4, !tbaa !21
  %150 = load float, ptr %11, align 4, !tbaa !21
  %151 = load float, ptr %16, align 4, !tbaa !21
  %152 = call float @llvm.fmuladd.f32(float %149, float %150, float %151)
  store float %152, ptr %17, align 4, !tbaa !21
  %153 = load float, ptr %17, align 4, !tbaa !21
  %154 = fdiv float %153, 3.000000e+00
  %155 = call float @sig_fastTanhf(float noundef %154)
  %156 = load ptr, ptr %3, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.sig_dsp_Chorus, ptr %156, i32 0, i32 2
  %158 = getelementptr inbounds %struct.sig_dsp_Chorus_Outputs, ptr %157, i32 0, i32 0
  %159 = load ptr, ptr %158, align 8, !tbaa !34
  %160 = load i64, ptr %4, align 8, !tbaa !9
  %161 = getelementptr inbounds float, ptr %159, i64 %160
  store float %155, ptr %161, align 4, !tbaa !21
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  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
  br label %162

162:                                              ; preds = %29
  %163 = load i64, ptr %4, align 8, !tbaa !9
  %164 = add i64 %163, 1
  store i64 %164, ptr %4, align 8, !tbaa !9
  br label %19, !llvm.loop !35

165:                                              ; preds = %28
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  ret void
}

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

!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 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"sig_dsp_Chorus", !13, i64 0, !14, i64 16, !15, i64 72, !6, i64 88, !16, i64 96, !17, i64 112, !17, i64 116}
!13 = !{!"sig_dsp_Signal", !6, i64 0, !6, i64 8}
!14 = !{!"sig_dsp_Chorus_Inputs", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!15 = !{!"sig_dsp_Chorus_Outputs", !6, i64 0, !6, i64 8}
!16 = !{!"sig_osc_FastLFSine", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12}
!17 = !{!"float", !7, i64 0}
!18 = !{!19, !10, i64 16}
!19 = !{!"sig_AudioSettings", !17, i64 0, !10, i64 8, !10, i64 16}
!20 = !{!12, !6, i64 16}
!21 = !{!17, !17, i64 0}
!22 = !{!12, !6, i64 24}
!23 = !{!12, !6, i64 32}
!24 = !{!12, !6, i64 40}
!25 = !{!12, !6, i64 48}
!26 = !{!12, !6, i64 56}
!27 = !{!12, !6, i64 64}
!28 = !{!12, !17, i64 104}
!29 = !{!12, !6, i64 80}
!30 = !{!12, !6, i64 88}
!31 = !{!19, !17, i64 0}
!32 = !{!12, !17, i64 112}
!33 = !{!12, !17, i64 116}
!34 = !{!12, !6, i64 72}
!35 = distinct !{!35, !36}
!36 = !{!"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"

; Function Attrs: inlinehint nounwind uwtable
declare dso_local float @sig_fastTanhf(float noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1

; Function Attrs: inlinehint nounwind uwtable
declare dso_local void @sig_osc_FastLFSine_setFrequencyFast(ptr noundef, float noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare dso_local void @sig_osc_FastLFSine_generate(ptr noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare dso_local float @sig_DelayLine_allpassReadAtTime(ptr noundef, float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare dso_local void @sig_DelayLine_write(ptr noundef, float noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @sig_dsp_Chorus_generate(ptr noundef %0) local_unnamed_addr #2 {
  %2 = load ptr, ptr %0, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %2, i64 16
  %4 = load i64, ptr %3, align 8, !tbaa !15
  %.not = icmp eq i64 %4, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %1
  %5 = getelementptr inbounds i8, ptr %0, i64 16
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = getelementptr inbounds i8, ptr %0, i64 32
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = getelementptr inbounds i8, ptr %0, i64 48
  %10 = getelementptr inbounds i8, ptr %0, i64 56
  %11 = getelementptr inbounds i8, ptr %0, i64 64
  %12 = getelementptr inbounds i8, ptr %0, i64 96
  %13 = getelementptr inbounds i8, ptr %0, i64 104
  %14 = getelementptr inbounds i8, ptr %0, i64 72
  %15 = getelementptr inbounds i8, ptr %0, i64 80
  %16 = getelementptr inbounds i8, ptr %0, i64 88
  %17 = getelementptr inbounds i8, ptr %0, i64 112
  %18 = getelementptr inbounds i8, ptr %0, i64 116
  br label %19

._crit_edge:                                      ; preds = %19, %1
  ret void

19:                                               ; preds = %.lr.ph, %19
  %.053 = phi i64 [ 0, %.lr.ph ], [ %65, %19 ]
  %20 = load ptr, ptr %5, align 8, !tbaa !18
  %21 = getelementptr inbounds float, ptr %20, i64 %.053
  %22 = load float, ptr %21, align 4, !tbaa !19
  %23 = load ptr, ptr %6, align 8, !tbaa !20
  %24 = getelementptr inbounds float, ptr %23, i64 %.053
  %25 = load float, ptr %24, align 4, !tbaa !19
  %26 = load ptr, ptr %7, align 8, !tbaa !21
  %27 = getelementptr inbounds float, ptr %26, i64 %.053
  %28 = load float, ptr %27, align 4, !tbaa !19
  %29 = load ptr, ptr %8, align 8, !tbaa !22
  %30 = getelementptr inbounds float, ptr %29, i64 %.053
  %31 = load float, ptr %30, align 4, !tbaa !19
  %32 = load ptr, ptr %9, align 8, !tbaa !23
  %33 = getelementptr inbounds float, ptr %32, i64 %.053
  %34 = load float, ptr %33, align 4, !tbaa !19
  %35 = load ptr, ptr %10, align 8, !tbaa !24
  %36 = getelementptr inbounds float, ptr %35, i64 %.053
  %37 = load float, ptr %36, align 4, !tbaa !19
  %38 = load ptr, ptr %11, align 8, !tbaa !25
  %39 = getelementptr inbounds float, ptr %38, i64 %.053
  %40 = load float, ptr %39, align 4, !tbaa !19
  tail call void @sig_osc_FastLFSine_setFrequencyFast(ptr noundef nonnull %12, float noundef %28)
  tail call void @sig_osc_FastLFSine_generate(ptr noundef nonnull %12)
  %41 = load float, ptr %13, align 8, !tbaa !26
  %42 = load ptr, ptr %15, align 8, !tbaa !27
  %43 = getelementptr inbounds float, ptr %42, i64 %.053
  store float %41, ptr %43, align 4, !tbaa !19
  %44 = load ptr, ptr %16, align 8, !tbaa !28
  %45 = load ptr, ptr %0, align 8, !tbaa !5
  %46 = load float, ptr %45, align 8, !tbaa !29
  %47 = load float, ptr %17, align 8, !tbaa !30
  %48 = tail call float @sig_DelayLine_allpassReadAtTime(ptr noundef %44, float noundef %22, float noundef %25, float noundef %46, float noundef %47)
  store float %48, ptr %17, align 8, !tbaa !30
  %49 = fneg float %48
  %50 = tail call float @llvm.fmuladd.f32(float %49, float %34, float %22)
  %51 = load ptr, ptr %16, align 8, !tbaa !28
  tail call void @sig_DelayLine_write(ptr noundef %51, float noundef %50)
  %52 = load float, ptr %13, align 8, !tbaa !26
  %53 = tail call float @llvm.fmuladd.f32(float %52, float %31, float %25)
  %54 = load ptr, ptr %16, align 8, !tbaa !28
  %55 = load ptr, ptr %0, align 8, !tbaa !5
  %56 = load float, ptr %55, align 8, !tbaa !29
  %57 = load float, ptr %18, align 4, !tbaa !31
  %58 = tail call float @sig_DelayLine_allpassReadAtTime(ptr noundef %54, float noundef %22, float noundef %53, float noundef %56, float noundef %57)
  store float %58, ptr %18, align 4, !tbaa !31
  %59 = fmul float %37, %58
  %60 = tail call float @llvm.fmuladd.f32(float %50, float %40, float %59)
  %61 = fdiv float %60, 3.000000e+00
  %62 = tail call float @sig_fastTanhf(float noundef %61)
  %63 = load ptr, ptr %14, align 8, !tbaa !32
  %64 = getelementptr inbounds float, ptr %63, i64 %.053
  store float %62, ptr %64, align 4, !tbaa !19
  %65 = add nuw i64 %.053, 1
  %66 = load ptr, ptr %0, align 8, !tbaa !5
  %67 = getelementptr inbounds i8, ptr %66, i64 16
  %68 = load i64, ptr %67, align 8, !tbaa !15
  %69 = icmp ult i64 %65, %68
  br i1 %69, label %19, label %._crit_edge, !llvm.loop !33
}

attributes #0 = { inlinehint 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 speculatable willreturn memory(none) }
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" }

!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 0}
!6 = !{!"sig_dsp_Chorus", !7, i64 0, !11, i64 16, !12, i64 72, !8, i64 88, !13, i64 96, !14, i64 112, !14, i64 116}
!7 = !{!"sig_dsp_Signal", !8, i64 0, !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"sig_dsp_Chorus_Inputs", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !8, i64 32, !8, i64 40, !8, i64 48}
!12 = !{!"sig_dsp_Chorus_Outputs", !8, i64 0, !8, i64 8}
!13 = !{!"sig_osc_FastLFSine", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!14 = !{!"float", !9, i64 0}
!15 = !{!16, !17, i64 16}
!16 = !{!"sig_AudioSettings", !14, i64 0, !17, i64 8, !17, i64 16}
!17 = !{!"long", !9, i64 0}
!18 = !{!6, !8, i64 16}
!19 = !{!14, !14, i64 0}
!20 = !{!6, !8, i64 24}
!21 = !{!6, !8, i64 32}
!22 = !{!6, !8, i64 40}
!23 = !{!6, !8, i64 48}
!24 = !{!6, !8, i64 56}
!25 = !{!6, !8, i64 64}
!26 = !{!6, !14, i64 104}
!27 = !{!6, !8, i64 80}
!28 = !{!6, !8, i64 88}
!29 = !{!16, !14, i64 0}
!30 = !{!6, !14, i64 112}
!31 = !{!6, !14, i64 116}
!32 = !{!6, !8, i64 72}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}


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