; LLVM IR from jgaeddert/liquid-dsp :: src/framing/tests (symstreamrcf_autotest)

; 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.autotest_psd_s = type { float, float, float, float, i32, i32 }

@.str = external hidden unnamed_addr constant [57 x i8], align 1
@liquid_autotest_verbose = external global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local void @testbench_symstreamrcf_psd(float noundef %0, i32 noundef %1, float noundef %2) #0 {
  %4 = alloca float, align 4
  %5 = alloca i32, align 4
  %6 = alloca float, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca i32, align 4
  %17 = alloca i64, align 8
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca [3 x %struct.autotest_psd_s], align 16
  %21 = alloca [256 x i8], align 16
  store float %0, ptr %4, align 4, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store float %2, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 7, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 40, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %22 = load i32, ptr %7, align 4, !tbaa !9
  %23 = load float, ptr %4, align 4, !tbaa !5
  %24 = load i32, ptr %5, align 4, !tbaa !9
  %25 = load float, ptr %6, align 4, !tbaa !5
  %26 = load i32, ptr %8, align 4, !tbaa !9
  %27 = call ptr @symstreamrcf_create_linear(i32 noundef %22, float noundef %23, i32 noundef %24, float noundef %25, i32 noundef %26)
  store ptr %27, ptr %9, align 8, !tbaa !11
  %28 = load ptr, ptr %9, align 8, !tbaa !11
  %29 = load float, ptr %4, align 4, !tbaa !5
  %30 = call float @sqrtf(float noundef %29) #5
  %31 = call i32 @symstreamrcf_set_gain(ptr noundef %28, float noundef %30)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 2400, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %32 = load float, ptr %4, align 4, !tbaa !5
  %33 = fdiv float 1.920000e+05, %32
  %34 = fptoui float %33 to i32
  store i32 %34, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %35 = load i32, ptr %10, align 4, !tbaa !9
  %36 = call ptr @spgramcf_create_default(i32 noundef %35)
  store ptr %36, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 1337, ptr %13, align 4, !tbaa !9
  %37 = load i32, ptr %13, align 4, !tbaa !9
  %38 = zext i32 %37 to i64
  %39 = call ptr @llvm.stacksave.p0()
  store ptr %39, ptr %14, align 8
  %40 = alloca { float, float }, i64 %38, align 16
  store i64 %38, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %41

41:                                               ; preds = %45, %3
  %42 = load i32, ptr %16, align 4, !tbaa !9
  %43 = load i32, ptr %11, align 4, !tbaa !9
  %44 = icmp ult i32 %42, %43
  br i1 %44, label %45, label %55

45:                                               ; preds = %41
  %46 = load ptr, ptr %9, align 8, !tbaa !11
  %47 = load i32, ptr %13, align 4, !tbaa !9
  %48 = call i32 @symstreamrcf_write_samples(ptr noundef %46, ptr noundef %40, i32 noundef %47)
  %49 = load i32, ptr %13, align 4, !tbaa !9
  %50 = load i32, ptr %16, align 4, !tbaa !9
  %51 = add i32 %50, %49
  store i32 %51, ptr %16, align 4, !tbaa !9
  %52 = load ptr, ptr %12, align 8, !tbaa !11
  %53 = load i32, ptr %13, align 4, !tbaa !9
  %54 = call i32 @spgramcf_write(ptr noundef %52, ptr noundef %40, i32 noundef %53)
  br label %41, !llvm.loop !13

55:                                               ; preds = %41
  %56 = load i32, ptr %10, align 4, !tbaa !9
  %57 = zext i32 %56 to i64
  %58 = alloca float, i64 %57, align 16
  store i64 %57, ptr %17, align 8
  %59 = load ptr, ptr %12, align 8, !tbaa !11
  %60 = call i32 @spgramcf_get_psd(ptr noundef %59, ptr noundef %58)
  %61 = load ptr, ptr %9, align 8, !tbaa !11
  %62 = call i32 @symstreamrcf_destroy(ptr noundef %61)
  %63 = load ptr, ptr %12, align 8, !tbaa !11
  %64 = call i32 @spgramcf_destroy(ptr noundef %63)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %65 = load float, ptr %6, align 4, !tbaa !5
  %66 = fsub float 1.000000e+00, %65
  %67 = fpext float %66 to double
  %68 = fmul double 5.000000e-01, %67
  %69 = load float, ptr %4, align 4, !tbaa !5
  %70 = fpext float %69 to double
  %71 = fmul double %68, %70
  %72 = fptrunc double %71 to float
  store float %72, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %73 = load float, ptr %6, align 4, !tbaa !5
  %74 = fadd float 1.000000e+00, %73
  %75 = fpext float %74 to double
  %76 = fmul double 5.000000e-01, %75
  %77 = load float, ptr %4, align 4, !tbaa !5
  %78 = fpext float %77 to double
  %79 = fmul double %76, %78
  %80 = fptrunc double %79 to float
  store float %80, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 72, ptr %20) #5
  %81 = getelementptr inbounds %struct.autotest_psd_s, ptr %20, i32 0, i32 0
  store float -5.000000e-01, ptr %81, align 8, !tbaa !15
  %82 = getelementptr inbounds %struct.autotest_psd_s, ptr %20, i32 0, i32 1
  %83 = load float, ptr %19, align 4, !tbaa !5
  %84 = fneg float %83
  store float %84, ptr %82, align 4, !tbaa !17
  %85 = getelementptr inbounds %struct.autotest_psd_s, ptr %20, i32 0, i32 2
  store float 0.000000e+00, ptr %85, align 8, !tbaa !18
  %86 = getelementptr inbounds %struct.autotest_psd_s, ptr %20, i32 0, i32 3
  store float -5.500000e+01, ptr %86, align 4, !tbaa !19
  %87 = getelementptr inbounds %struct.autotest_psd_s, ptr %20, i32 0, i32 4
  store i32 0, ptr %87, align 8, !tbaa !20
  %88 = getelementptr inbounds %struct.autotest_psd_s, ptr %20, i32 0, i32 5
  store i32 1, ptr %88, align 4, !tbaa !21
  %89 = getelementptr inbounds %struct.autotest_psd_s, ptr %20, i64 1
  %90 = getelementptr inbounds %struct.autotest_psd_s, ptr %89, i32 0, i32 0
  %91 = load float, ptr %18, align 4, !tbaa !5
  %92 = fneg float %91
  store float %92, ptr %90, align 8, !tbaa !15
  %93 = getelementptr inbounds %struct.autotest_psd_s, ptr %89, i32 0, i32 1
  %94 = load float, ptr %18, align 4, !tbaa !5
  store float %94, ptr %93, align 4, !tbaa !17
  %95 = getelementptr inbounds %struct.autotest_psd_s, ptr %89, i32 0, i32 2
  store float -2.000000e+00, ptr %95, align 8, !tbaa !18
  %96 = getelementptr inbounds %struct.autotest_psd_s, ptr %89, i32 0, i32 3
  store float 2.000000e+00, ptr %96, align 4, !tbaa !19
  %97 = getelementptr inbounds %struct.autotest_psd_s, ptr %89, i32 0, i32 4
  store i32 1, ptr %97, align 8, !tbaa !20
  %98 = getelementptr inbounds %struct.autotest_psd_s, ptr %89, i32 0, i32 5
  store i32 1, ptr %98, align 4, !tbaa !21
  %99 = getelementptr inbounds %struct.autotest_psd_s, ptr %20, i64 2
  %100 = getelementptr inbounds %struct.autotest_psd_s, ptr %99, i32 0, i32 0
  %101 = load float, ptr %19, align 4, !tbaa !5
  store float %101, ptr %100, align 8, !tbaa !15
  %102 = getelementptr inbounds %struct.autotest_psd_s, ptr %99, i32 0, i32 1
  store float 5.000000e-01, ptr %102, align 4, !tbaa !17
  %103 = getelementptr inbounds %struct.autotest_psd_s, ptr %99, i32 0, i32 2
  store float 0.000000e+00, ptr %103, align 8, !tbaa !18
  %104 = getelementptr inbounds %struct.autotest_psd_s, ptr %99, i32 0, i32 3
  store float -5.500000e+01, ptr %104, align 4, !tbaa !19
  %105 = getelementptr inbounds %struct.autotest_psd_s, ptr %99, i32 0, i32 4
  store i32 0, ptr %105, align 8, !tbaa !20
  %106 = getelementptr inbounds %struct.autotest_psd_s, ptr %99, i32 0, i32 5
  store i32 1, ptr %106, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 256, ptr %21) #5
  %107 = getelementptr inbounds [256 x i8], ptr %21, i64 0, i64 0
  %108 = load float, ptr %4, align 4, !tbaa !5
  %109 = fmul float %108, 1.000000e+03
  %110 = fptosi float %109 to i32
  %111 = load i32, ptr %5, align 4, !tbaa !9
  %112 = load float, ptr %6, align 4, !tbaa !5
  %113 = fmul float %112, 1.000000e+02
  %114 = fptosi float %113 to i32
  %115 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %107, ptr noundef @.str, i32 noundef %110, i32 noundef %111, i32 noundef %114) #5
  %116 = load i32, ptr %10, align 4, !tbaa !9
  %117 = getelementptr inbounds [3 x %struct.autotest_psd_s], ptr %20, i64 0, i64 0
  %118 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %119 = icmp ne i32 %118, 0
  br i1 %119, label %120, label %122

120:                                              ; preds = %55
  %121 = getelementptr inbounds [256 x i8], ptr %21, i64 0, i64 0
  br label %123

122:                                              ; preds = %55
  br label %123

123:                                              ; preds = %122, %120
  %124 = phi ptr [ %121, %120 ], [ null, %122 ]
  %125 = call i32 @liquid_autotest_validate_spectrum(ptr noundef %58, i32 noundef %116, ptr noundef %117, i32 noundef 3, ptr noundef %124)
  call void @llvm.lifetime.end.p0(i64 256, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  %126 = load ptr, ptr %14, align 8
  call void @llvm.stackrestore.p0(ptr %126)
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  ret void
}

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

declare ptr @symstreamrcf_create_linear(i32 noundef, float noundef, i32 noundef, float noundef, i32 noundef) #2

declare i32 @symstreamrcf_set_gain(ptr noundef, float noundef) #2

; Function Attrs: nounwind
declare float @sqrtf(float noundef) #3

declare ptr @spgramcf_create_default(i32 noundef) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #4

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

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

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

declare i32 @symstreamrcf_destroy(ptr noundef) #2

declare i32 @spgramcf_destroy(ptr noundef) #2

; Function Attrs: nounwind
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #3

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #4

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 = { 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 = { nocallback nofree nosync nounwind willreturn }
attributes #5 = { 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 = !{!"float", !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, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !6, i64 0}
!16 = !{!"", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !10, i64 16, !10, i64 20}
!17 = !{!16, !6, i64 4}
!18 = !{!16, !6, i64 8}
!19 = !{!16, !6, i64 12}
!20 = !{!16, !10, i64 16}
!21 = !{!16, !10, i64 20}


; 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.autotest_psd_s = type { float, float, float, float, i32, i32 }

@.str = external hidden unnamed_addr constant [57 x i8], align 1
@liquid_autotest_verbose = external local_unnamed_addr global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local void @testbench_symstreamrcf_psd(float noundef %0, i32 noundef %1, float noundef %2) local_unnamed_addr #0 {
  %4 = alloca [3 x %struct.autotest_psd_s], align 16
  %5 = alloca [256 x i8], align 16
  %6 = tail call ptr @symstreamrcf_create_linear(i32 noundef 7, float noundef %0, i32 noundef %1, float noundef %2, i32 noundef 40) #5
  %7 = tail call float @sqrtf(float noundef %0) #5
  %8 = tail call i32 @symstreamrcf_set_gain(ptr noundef %6, float noundef %7) #5
  %9 = fdiv float 1.920000e+05, %0
  %10 = fptoui float %9 to i32
  %11 = tail call ptr @spgramcf_create_default(i32 noundef 2400) #5
  %12 = alloca [1337 x { float, float }], align 16
  %.not35 = icmp eq i32 %10, 0
  br i1 %.not35, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %3, %.lr.ph
  %.034 = phi i32 [ %14, %.lr.ph ], [ 0, %3 ]
  %13 = call i32 @symstreamrcf_write_samples(ptr noundef %6, ptr noundef nonnull %12, i32 noundef 1337) #5
  %14 = add i32 %.034, 1337
  %15 = call i32 @spgramcf_write(ptr noundef %11, ptr noundef nonnull %12, i32 noundef 1337) #5
  %16 = icmp ult i32 %14, %10
  br i1 %16, label %.lr.ph, label %._crit_edge, !llvm.loop !5

._crit_edge:                                      ; preds = %.lr.ph, %3
  %17 = alloca [2400 x float], align 16
  %18 = call i32 @spgramcf_get_psd(ptr noundef %11, ptr noundef nonnull %17) #5
  %19 = call i32 @symstreamrcf_destroy(ptr noundef %6) #5
  %20 = call i32 @spgramcf_destroy(ptr noundef %11) #5
  %21 = fsub float 1.000000e+00, %2
  %22 = fpext float %21 to double
  %23 = fmul double %22, 5.000000e-01
  %24 = fpext float %0 to double
  %25 = fmul double %23, %24
  %26 = fptrunc double %25 to float
  %27 = fadd float %2, 1.000000e+00
  %28 = fpext float %27 to double
  %29 = fmul double %28, 5.000000e-01
  %30 = fmul double %29, %24
  %31 = fptrunc double %30 to float
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %4) #5
  store float -5.000000e-01, ptr %4, align 16, !tbaa !7
  %32 = getelementptr inbounds i8, ptr %4, i64 4
  %33 = fneg float %31
  store float %33, ptr %32, align 4, !tbaa !13
  %34 = getelementptr inbounds i8, ptr %4, i64 8
  store <2 x float> <float 0.000000e+00, float -5.500000e+01>, ptr %34, align 8, !tbaa !14
  %35 = getelementptr inbounds i8, ptr %4, i64 16
  store i32 0, ptr %35, align 16, !tbaa !15
  %36 = getelementptr inbounds i8, ptr %4, i64 20
  store i32 1, ptr %36, align 4, !tbaa !16
  %37 = getelementptr inbounds i8, ptr %4, i64 24
  %38 = fneg float %26
  store float %38, ptr %37, align 8, !tbaa !7
  %39 = getelementptr inbounds i8, ptr %4, i64 28
  store float %26, ptr %39, align 4, !tbaa !13
  %40 = getelementptr inbounds i8, ptr %4, i64 32
  store <2 x float> <float -2.000000e+00, float 2.000000e+00>, ptr %40, align 16, !tbaa !14
  %41 = getelementptr inbounds i8, ptr %4, i64 40
  store i32 1, ptr %41, align 8, !tbaa !15
  %42 = getelementptr inbounds i8, ptr %4, i64 44
  store i32 1, ptr %42, align 4, !tbaa !16
  %43 = getelementptr inbounds i8, ptr %4, i64 48
  store float %31, ptr %43, align 16, !tbaa !7
  %44 = getelementptr inbounds i8, ptr %4, i64 52
  store <2 x float> <float 5.000000e-01, float 0.000000e+00>, ptr %44, align 4, !tbaa !14
  %45 = getelementptr inbounds i8, ptr %4, i64 60
  store float -5.500000e+01, ptr %45, align 4, !tbaa !17
  %46 = getelementptr inbounds i8, ptr %4, i64 64
  store i32 0, ptr %46, align 16, !tbaa !15
  %47 = getelementptr inbounds i8, ptr %4, i64 68
  store i32 1, ptr %47, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %5) #5
  %48 = fmul float %0, 1.000000e+03
  %49 = fptosi float %48 to i32
  %50 = fmul float %2, 1.000000e+02
  %51 = fptosi float %50 to i32
  %52 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %49, i32 noundef %1, i32 noundef %51) #5
  %53 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !18
  %.not = icmp eq i32 %53, 0
  %54 = select i1 %.not, ptr null, ptr %5
  %55 = call i32 @liquid_autotest_validate_spectrum(ptr noundef nonnull %17, i32 noundef 2400, ptr noundef nonnull %4, i32 noundef 3, ptr noundef %54) #5
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %4) #5
  ret void
}

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

declare ptr @symstreamrcf_create_linear(i32 noundef, float noundef, i32 noundef, float noundef, i32 noundef) local_unnamed_addr #2

declare i32 @symstreamrcf_set_gain(ptr noundef, float noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @sqrtf(float noundef) local_unnamed_addr #3

declare ptr @spgramcf_create_default(i32 noundef) local_unnamed_addr #2

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

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

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

declare i32 @symstreamrcf_destroy(ptr noundef) local_unnamed_addr #2

declare i32 @spgramcf_destroy(ptr noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #4

declare i32 @liquid_autotest_validate_spectrum(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr 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

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 = { mustprogress nofree nounwind willreturn memory(write) "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 = { 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 #5 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !9, i64 0}
!8 = !{!"", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12, !12, i64 16, !12, i64 20}
!9 = !{!"float", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!"int", !10, i64 0}
!13 = !{!8, !9, i64 4}
!14 = !{!9, !9, i64 0}
!15 = !{!8, !12, i64 16}
!16 = !{!8, !12, i64 20}
!17 = !{!8, !9, i64 12}
!18 = !{!12, !12, i64 0}


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