; LLVM IR from lichen-community-systems/signaletic :: libsignaletic/tests (test-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_Allocator = type { ptr, ptr }
%struct.sig_Buffer = type { i64, ptr }
%struct.sig_dsp_List = type { %struct.sig_dsp_Signal, %struct.sig_dsp_List_Inputs, %struct.sig_dsp_List_Parameters, %struct.sig_dsp_List_Outputs, ptr }
%struct.sig_dsp_Signal = type { ptr, ptr }
%struct.sig_dsp_List_Inputs = type { ptr }
%struct.sig_dsp_List_Parameters = type { float, float, float }
%struct.sig_dsp_List_Outputs = type { ptr, ptr, ptr }
%struct.sig_dsp_Value = type { %struct.sig_dsp_Signal, %struct.sig_dsp_Value_Parameters, %struct.sig_dsp_Signal_SingleMonoOutput, float }
%struct.sig_dsp_Value_Parameters = type { float }
%struct.sig_dsp_Signal_SingleMonoOutput = type { ptr }
%struct.sig_AudioSettings = type { float, i64, i64 }

@allocator = external dso_local global %struct.sig_Allocator, align 8
@audioSettings = external dso_local global ptr, align 8
@context = external dso_local global ptr, align 8
@__const.test_sig_dsp_List_wrapping.listItems = external hidden unnamed_addr constant [5 x float], align 16
@__const.test_sig_dsp_List_wrapping.small = external hidden unnamed_addr constant [2 x float], align 4
@__const.test_sig_dsp_List_wrapping.verySmall = external hidden unnamed_addr constant [1 x float], align 4

; 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

declare void @testAssertBufferContainsValueOnly(ptr noundef, float noundef, ptr noundef, i64 noundef) #1

declare ptr @sig_dsp_Value_new(ptr noundef, ptr noundef) #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: nounwind uwtable
declare dso_local void @generateAndTestListIndex(ptr noundef, float noundef, ptr noundef, float noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @test_sig_dsp_List_wrapping() #3 {
  %1 = alloca ptr, align 8
  %2 = alloca [5 x float], align 16
  %3 = alloca %struct.sig_Buffer, align 8
  %4 = alloca ptr, align 8
  %5 = alloca [2 x float], align 4
  %6 = alloca [1 x float], align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #4
  %7 = load ptr, ptr @context, align 8, !tbaa !5
  %8 = call ptr @sig_dsp_Value_new(ptr noundef @allocator, ptr noundef %7)
  store ptr %8, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 20, ptr %2) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.test_sig_dsp_List_wrapping.listItems, i64 20, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #4
  %9 = getelementptr inbounds %struct.sig_Buffer, ptr %3, i32 0, i32 0
  store i64 5, ptr %9, align 8, !tbaa !9
  %10 = getelementptr inbounds %struct.sig_Buffer, ptr %3, i32 0, i32 1
  %11 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 0
  store ptr %11, ptr %10, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  %12 = load ptr, ptr @context, align 8, !tbaa !5
  %13 = call ptr @sig_dsp_List_new(ptr noundef @allocator, ptr noundef %12)
  store ptr %13, ptr %4, align 8, !tbaa !5
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.sig_dsp_List, ptr %14, i32 0, i32 4
  store ptr %3, ptr %15, align 8, !tbaa !13
  %16 = load ptr, ptr %1, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.sig_dsp_Value, ptr %16, i32 0, i32 2
  %18 = getelementptr inbounds %struct.sig_dsp_Signal_SingleMonoOutput, ptr %17, i32 0, i32 0
  %19 = load ptr, ptr %18, align 8, !tbaa !20
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.sig_dsp_List, ptr %20, i32 0, i32 1
  %22 = getelementptr inbounds %struct.sig_dsp_List_Inputs, ptr %21, i32 0, i32 0
  store ptr %19, ptr %22, align 8, !tbaa !24
  %23 = load ptr, ptr %1, align 8, !tbaa !5
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %23, float noundef 0.000000e+00, ptr noundef %24, float noundef 1.000000e+00)
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.sig_dsp_List, ptr %25, i32 0, i32 3
  %27 = getelementptr inbounds %struct.sig_dsp_List_Outputs, ptr %26, i32 0, i32 2
  %28 = load ptr, ptr %27, align 8, !tbaa !25
  %29 = load ptr, ptr @audioSettings, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.sig_AudioSettings, ptr %29, i32 0, i32 2
  %31 = load i64, ptr %30, align 8, !tbaa !26
  call void @testAssertBufferContainsValueOnly(ptr noundef @allocator, float noundef 5.000000e+00, ptr noundef %28, i64 noundef %31)
  %32 = load ptr, ptr %1, align 8, !tbaa !5
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %32, float noundef 0x3FBEB851E0000000, ptr noundef %33, float noundef 1.000000e+00)
  %34 = load ptr, ptr %1, align 8, !tbaa !5
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %34, float noundef 1.250000e-01, ptr noundef %35, float noundef 2.000000e+00)
  %36 = load ptr, ptr %1, align 8, !tbaa !5
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %36, float noundef 2.500000e-01, ptr noundef %37, float noundef 2.000000e+00)
  %38 = load ptr, ptr %1, align 8, !tbaa !5
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %38, float noundef 5.000000e-01, ptr noundef %39, float noundef 3.000000e+00)
  %40 = load ptr, ptr %1, align 8, !tbaa !5
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %40, float noundef 0x3FEFAE1480000000, ptr noundef %41, float noundef 5.000000e+00)
  %42 = load ptr, ptr %1, align 8, !tbaa !5
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %42, float noundef 0x3EE4F8B580000000, ptr noundef %43, float noundef 1.000000e+00)
  %44 = load ptr, ptr %1, align 8, !tbaa !5
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %44, float noundef 1.000000e+00, ptr noundef %45, float noundef 5.000000e+00)
  %46 = load ptr, ptr %1, align 8, !tbaa !5
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %46, float noundef 0x3FF19999A0000000, ptr noundef %47, float noundef 5.000000e+00)
  %48 = load ptr, ptr %1, align 8, !tbaa !5
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %48, float noundef 1.250000e+00, ptr noundef %49, float noundef 2.000000e+00)
  %50 = load ptr, ptr %1, align 8, !tbaa !5
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %50, float noundef 1.500000e+00, ptr noundef %51, float noundef 3.000000e+00)
  %52 = load ptr, ptr %1, align 8, !tbaa !5
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %52, float noundef 3.000000e+00, ptr noundef %53, float noundef 5.000000e+00)
  %54 = load ptr, ptr %1, align 8, !tbaa !5
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %54, float noundef -2.500000e-01, ptr noundef %55, float noundef 5.000000e+00)
  %56 = load ptr, ptr %1, align 8, !tbaa !5
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %56, float noundef 0xBFBEB851E0000000, ptr noundef %57, float noundef 1.000000e+00)
  %58 = load ptr, ptr %1, align 8, !tbaa !5
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %58, float noundef -1.500000e+00, ptr noundef %59, float noundef 5.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 @__const.test_sig_dsp_List_wrapping.small, i64 8, i1 false)
  %60 = getelementptr inbounds %struct.sig_Buffer, ptr %3, i32 0, i32 0
  store i64 2, ptr %60, align 8, !tbaa !9
  %61 = getelementptr inbounds [2 x float], ptr %5, i64 0, i64 0
  %62 = getelementptr inbounds %struct.sig_Buffer, ptr %3, i32 0, i32 1
  store ptr %61, ptr %62, align 8, !tbaa !12
  %63 = load ptr, ptr %1, align 8, !tbaa !5
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %63, float noundef 0.000000e+00, ptr noundef %64, float noundef 1.000000e+00)
  %65 = load ptr, ptr %1, align 8, !tbaa !5
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %65, float noundef 1.000000e+00, ptr noundef %66, float noundef 2.000000e+00)
  %67 = load ptr, ptr %1, align 8, !tbaa !5
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %67, float noundef 5.000000e-01, ptr noundef %68, float noundef 2.000000e+00)
  %69 = load ptr, ptr %1, align 8, !tbaa !5
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %69, float noundef 2.500000e-01, ptr noundef %70, float noundef 1.000000e+00)
  %71 = load ptr, ptr %1, align 8, !tbaa !5
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %71, float noundef -1.000000e+00, ptr noundef %72, float noundef 2.000000e+00)
  %73 = load ptr, ptr %1, align 8, !tbaa !5
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %73, float noundef -2.500000e-01, ptr noundef %74, float noundef 1.000000e+00)
  %75 = load ptr, ptr %1, align 8, !tbaa !5
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %75, float noundef -5.000000e-01, ptr noundef %76, float noundef 2.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 @__const.test_sig_dsp_List_wrapping.verySmall, i64 4, i1 false)
  %77 = getelementptr inbounds %struct.sig_Buffer, ptr %3, i32 0, i32 0
  store i64 1, ptr %77, align 8, !tbaa !9
  %78 = getelementptr inbounds [1 x float], ptr %6, i64 0, i64 0
  %79 = getelementptr inbounds %struct.sig_Buffer, ptr %3, i32 0, i32 1
  store ptr %78, ptr %79, align 8, !tbaa !12
  %80 = load ptr, ptr %1, align 8, !tbaa !5
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %80, float noundef 1.000000e+00, ptr noundef %81, float noundef 1.000000e+00)
  %82 = load ptr, ptr %1, align 8, !tbaa !5
  %83 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %82, float noundef 0.000000e+00, ptr noundef %83, float noundef 1.000000e+00)
  %84 = load ptr, ptr %1, align 8, !tbaa !5
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %84, float noundef 5.000000e-01, ptr noundef %85, float noundef 1.000000e+00)
  %86 = load ptr, ptr %1, align 8, !tbaa !5
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %86, float noundef -5.000000e-01, ptr noundef %87, float noundef 1.000000e+00)
  %88 = load ptr, ptr %1, align 8, !tbaa !5
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  call void @generateAndTestListIndex(ptr noundef %88, float noundef 0xBFF2666660000000, ptr noundef %89, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 20, ptr %2) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #4
  ret void
}

declare ptr @sig_dsp_List_new(ptr noundef, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #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 #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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, !11, i64 0}
!10 = !{!"sig_Buffer", !11, i64 0, !6, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !6, i64 8}
!13 = !{!14, !6, i64 64}
!14 = !{!"sig_dsp_List", !15, i64 0, !16, i64 16, !17, i64 24, !19, i64 40, !6, i64 64}
!15 = !{!"sig_dsp_Signal", !6, i64 0, !6, i64 8}
!16 = !{!"sig_dsp_List_Inputs", !6, i64 0}
!17 = !{!"sig_dsp_List_Parameters", !18, i64 0, !18, i64 4, !18, i64 8}
!18 = !{!"float", !7, i64 0}
!19 = !{!"sig_dsp_List_Outputs", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!21, !6, i64 24}
!21 = !{!"sig_dsp_Value", !15, i64 0, !22, i64 16, !23, i64 24, !18, i64 32}
!22 = !{!"sig_dsp_Value_Parameters", !18, i64 0}
!23 = !{!"sig_dsp_Signal_SingleMonoOutput", !6, i64 0}
!24 = !{!14, !6, i64 16}
!25 = !{!14, !6, i64 56}
!26 = !{!27, !11, i64 16}
!27 = !{!"sig_AudioSettings", !18, i64 0, !11, i64 8, !11, i64 16}


; 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.sig_Allocator = type { ptr, ptr }
%struct.sig_Buffer = type { i64, ptr }

@allocator = external dso_local global %struct.sig_Allocator, align 8
@audioSettings = external dso_local local_unnamed_addr global ptr, align 8
@context = external dso_local local_unnamed_addr global ptr, align 8
@__const.test_sig_dsp_List_wrapping.listItems = external hidden unnamed_addr constant [5 x float], align 16
@__const.test_sig_dsp_List_wrapping.small = external hidden unnamed_addr constant [2 x float], align 4
@__const.test_sig_dsp_List_wrapping.verySmall = external hidden unnamed_addr constant [1 x float], align 4

; 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

declare void @testAssertBufferContainsValueOnly(ptr noundef, float noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

declare ptr @sig_dsp_Value_new(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: nounwind uwtable
declare dso_local void @generateAndTestListIndex(ptr noundef, float noundef, ptr noundef, float noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @test_sig_dsp_List_wrapping() local_unnamed_addr #3 {
  %1 = alloca [5 x float], align 16
  %2 = alloca %struct.sig_Buffer, align 8
  %3 = alloca [2 x float], align 8
  %4 = alloca [1 x float], align 4
  %5 = load ptr, ptr @context, align 8, !tbaa !5
  %6 = tail call ptr @sig_dsp_Value_new(ptr noundef nonnull @allocator, ptr noundef %5) #4
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %1) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(20) %1, ptr noundef nonnull align 16 dereferenceable(20) @__const.test_sig_dsp_List_wrapping.listItems, i64 20, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  store i64 5, ptr %2, align 8, !tbaa !9
  %7 = getelementptr inbounds i8, ptr %2, i64 8
  store ptr %1, ptr %7, align 8, !tbaa !12
  %8 = load ptr, ptr @context, align 8, !tbaa !5
  %9 = call ptr @sig_dsp_List_new(ptr noundef nonnull @allocator, ptr noundef %8) #4
  %10 = getelementptr inbounds i8, ptr %9, i64 64
  store ptr %2, ptr %10, align 8, !tbaa !13
  %11 = getelementptr inbounds i8, ptr %6, i64 24
  %12 = load ptr, ptr %11, align 8, !tbaa !20
  %13 = getelementptr inbounds i8, ptr %9, i64 16
  store ptr %12, ptr %13, align 8, !tbaa !24
  call void @generateAndTestListIndex(ptr noundef %6, float noundef 0.000000e+00, ptr noundef %9, float noundef 1.000000e+00)
  %14 = getelementptr inbounds i8, ptr %9, i64 56
  %15 = load ptr, ptr %14, align 8, !tbaa !25
  %16 = load ptr, ptr @audioSettings, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %16, i64 16
  %18 = load i64, ptr %17, align 8, !tbaa !26
  call void @testAssertBufferContainsValueOnly(ptr noundef nonnull @allocator, float noundef 5.000000e+00, ptr noundef %15, i64 noundef %18) #4
  call void @generateAndTestListIndex(ptr noundef %6, float noundef 0x3FBEB851E0000000, ptr noundef %9, float noundef 1.000000e+00)
  call void @generateAndTestListIndex(ptr noundef %6, float noundef 1.250000e-01, ptr noundef %9, float noundef 2.000000e+00)
  call void @generateAndTestListIndex(ptr noundef %6, float noundef 2.500000e-01, ptr noundef %9, float noundef 2.000000e+00)
  call void @generateAndTestListIndex(ptr noundef %6, float noundef 5.000000e-01, ptr noundef %9, float noundef 3.000000e+00)
  call void @generateAndTestListIndex(ptr noundef %6, float noundef 0x3FEFAE1480000000, ptr noundef %9, float noundef 5.000000e+00)
  call void @generateAndTestListIndex(ptr noundef %6, float noundef 0x3EE4F8B580000000, ptr noundef %9, float noundef 1.000000e+00)
  call void @generateAndTestListIndex(ptr noundef %6, float noundef 1.000000e+00, ptr noundef %9, float noundef 5.000000e+00)
  call void @generateAndTestListIndex(ptr noundef %6, float noundef 0x3FF19999A0000000, ptr noundef %9, float noundef 5.000000e+00)
  call void @generateAndTestListIndex(ptr noundef %6, float noundef 1.250000e+00, ptr noundef %9, float noundef 2.000000e+00)
  call void @generateAndTestListIndex(ptr noundef %6, float noundef 1.500000e+00, ptr noundef %9, float noundef 3.000000e+00)
  call void @generateAndTestListIndex(ptr noundef %6, float noundef 3.000000e+00, ptr noundef %9, float noundef 5.000000e+00)
  call void @generateAndTestListIndex(ptr noundef %6, float noundef -2.500000e-01, ptr noundef %9, float noundef 5.000000e+00)
  call void @generateAndTestListIndex(ptr noundef %6, float noundef 0xBFBEB851E0000000, ptr noundef %9, float noundef 1.000000e+00)
  call void @generateAndTestListIndex(ptr noundef %6, float noundef -1.500000e+00, ptr noundef %9, float noundef 5.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  %19 = load i64, ptr @__const.test_sig_dsp_List_wrapping.small, align 4
  store i64 %19, ptr %3, align 8
  store i64 2, ptr %2, align 8, !tbaa !9
  store ptr %3, ptr %7, align 8, !tbaa !12
  call void @generateAndTestListIndex(ptr noundef %6, float noundef 0.000000e+00, ptr noundef %9, float noundef 1.000000e+00)
  call void @generateAndTestListIndex(ptr noundef %6, float noundef 1.000000e+00, ptr noundef %9, float noundef 2.000000e+00)
  call void @generateAndTestListIndex(ptr noundef %6, float noundef 5.000000e-01, ptr noundef %9, float noundef 2.000000e+00)
  call void @generateAndTestListIndex(ptr noundef %6, float noundef 2.500000e-01, ptr noundef %9, float noundef 1.000000e+00)
  call void @generateAndTestListIndex(ptr noundef %6, float noundef -1.000000e+00, ptr noundef %9, float noundef 2.000000e+00)
  call void @generateAndTestListIndex(ptr noundef %6, float noundef -2.500000e-01, ptr noundef %9, float noundef 1.000000e+00)
  call void @generateAndTestListIndex(ptr noundef %6, float noundef -5.000000e-01, ptr noundef %9, float noundef 2.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  %20 = load i32, ptr @__const.test_sig_dsp_List_wrapping.verySmall, align 4
  store i32 %20, ptr %4, align 4
  store i64 1, ptr %2, align 8, !tbaa !9
  store ptr %4, ptr %7, align 8, !tbaa !12
  call void @generateAndTestListIndex(ptr noundef %6, float noundef 1.000000e+00, ptr noundef %9, float noundef 1.000000e+00)
  call void @generateAndTestListIndex(ptr noundef %6, float noundef 0.000000e+00, ptr noundef %9, float noundef 1.000000e+00)
  call void @generateAndTestListIndex(ptr noundef %6, float noundef 5.000000e-01, ptr noundef %9, float noundef 1.000000e+00)
  call void @generateAndTestListIndex(ptr noundef %6, float noundef -5.000000e-01, ptr noundef %9, float noundef 1.000000e+00)
  call void @generateAndTestListIndex(ptr noundef %6, float noundef 0xBFF2666660000000, ptr noundef %9, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %1) #4
  ret void
}

declare ptr @sig_dsp_List_new(ptr noundef, ptr noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #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 #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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, !11, i64 0}
!10 = !{!"sig_Buffer", !11, i64 0, !6, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !6, i64 8}
!13 = !{!14, !6, i64 64}
!14 = !{!"sig_dsp_List", !15, i64 0, !16, i64 16, !17, i64 24, !19, i64 40, !6, i64 64}
!15 = !{!"sig_dsp_Signal", !6, i64 0, !6, i64 8}
!16 = !{!"sig_dsp_List_Inputs", !6, i64 0}
!17 = !{!"sig_dsp_List_Parameters", !18, i64 0, !18, i64 4, !18, i64 8}
!18 = !{!"float", !7, i64 0}
!19 = !{!"sig_dsp_List_Outputs", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!21, !6, i64 24}
!21 = !{!"sig_dsp_Value", !15, i64 0, !22, i64 16, !23, i64 24, !18, i64 32}
!22 = !{!"sig_dsp_Value_Parameters", !18, i64 0}
!23 = !{!"sig_dsp_Signal_SingleMonoOutput", !6, i64 0}
!24 = !{!14, !6, i64 16}
!25 = !{!14, !6, i64 56}
!26 = !{!27, !11, i64 16}
!27 = !{!"sig_AudioSettings", !18, i64 0, !11, i64 8, !11, i64 16}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,TailCallElimPass