; LLVM IR from tsotchke/quantum_rng :: tests (benchmark_suite)

; 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.function_benchmark = type { ptr, double, double, double, double }
%struct.benchmark_result = type { double, double, double, double, double }

@current_memory = external hidden global i64, align 8
@peak_memory = external hidden global i64, align 8
@.str.5 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [21 x i8], align 1

; 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 uwtable
declare dso_local void @benchmark_uint64(ptr dead_on_unwind noalias writable sret(%struct.function_benchmark) align 8, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @benchmark_double(ptr dead_on_unwind noalias writable sret(%struct.function_benchmark) align 8, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @benchmark_bytes_bulk(ptr dead_on_unwind noalias writable sret(%struct.function_benchmark) align 8, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @benchmark_bytes_small(ptr dead_on_unwind noalias writable sret(%struct.function_benchmark) align 8, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @benchmark_entanglement(ptr dead_on_unwind noalias writable sret(%struct.function_benchmark) align 8, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @run_benchmark_suite(ptr dead_on_unwind noalias writable sret(%struct.benchmark_result) align 8 %0, ptr noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca [5 x %struct.function_benchmark], align 16
  %5 = alloca %struct.function_benchmark, align 8
  %6 = alloca %struct.function_benchmark, align 8
  %7 = alloca %struct.function_benchmark, align 8
  %8 = alloca %struct.function_benchmark, align 8
  %9 = alloca %struct.function_benchmark, align 8
  %10 = alloca i32, align 4
  store ptr %1, ptr %3, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 8 %0, i8 0, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 200, ptr %4) #5
  store i64 0, ptr @peak_memory, align 8, !tbaa !9
  store i64 0, ptr @current_memory, align 8, !tbaa !9
  %11 = getelementptr inbounds [5 x %struct.function_benchmark], ptr %4, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 40, ptr %5) #5
  %12 = load ptr, ptr %3, align 8, !tbaa !5
  call void @benchmark_uint64(ptr dead_on_unwind writable sret(%struct.function_benchmark) align 8 %5, ptr noundef %12)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 8 %5, i64 40, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 40, ptr %5) #5
  %13 = getelementptr inbounds [5 x %struct.function_benchmark], ptr %4, i64 0, i64 1
  call void @llvm.lifetime.start.p0(i64 40, ptr %6) #5
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  call void @benchmark_double(ptr dead_on_unwind writable sret(%struct.function_benchmark) align 8 %6, ptr noundef %14)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %6, i64 40, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 40, ptr %6) #5
  %15 = getelementptr inbounds [5 x %struct.function_benchmark], ptr %4, i64 0, i64 2
  call void @llvm.lifetime.start.p0(i64 40, ptr %7) #5
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  call void @benchmark_bytes_bulk(ptr dead_on_unwind writable sret(%struct.function_benchmark) align 8 %7, ptr noundef %16)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %15, ptr align 8 %7, i64 40, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 40, ptr %7) #5
  %17 = getelementptr inbounds [5 x %struct.function_benchmark], ptr %4, i64 0, i64 3
  call void @llvm.lifetime.start.p0(i64 40, ptr %8) #5
  %18 = load ptr, ptr %3, align 8, !tbaa !5
  call void @benchmark_bytes_small(ptr dead_on_unwind writable sret(%struct.function_benchmark) align 8 %8, ptr noundef %18)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %8, i64 40, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 40, ptr %8) #5
  %19 = getelementptr inbounds [5 x %struct.function_benchmark], ptr %4, i64 0, i64 4
  call void @llvm.lifetime.start.p0(i64 40, ptr %9) #5
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  call void @benchmark_entanglement(ptr dead_on_unwind writable sret(%struct.function_benchmark) align 8 %9, ptr noundef %20)
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %19, ptr align 8 %9, i64 40, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 40, ptr %9) #5
  %21 = getelementptr inbounds [5 x %struct.function_benchmark], ptr %4, i64 0, i64 0
  %22 = getelementptr inbounds %struct.function_benchmark, ptr %21, i32 0, i32 2
  %23 = load double, ptr %22, align 16, !tbaa !14
  %24 = getelementptr inbounds %struct.benchmark_result, ptr %0, i32 0, i32 0
  store double %23, ptr %24, align 8, !tbaa !16
  %25 = getelementptr inbounds [5 x %struct.function_benchmark], ptr %4, i64 0, i64 2
  %26 = getelementptr inbounds %struct.function_benchmark, ptr %25, i32 0, i32 3
  %27 = load double, ptr %26, align 8, !tbaa !18
  %28 = fdiv double %27, 0x4130000000000000
  %29 = getelementptr inbounds %struct.benchmark_result, ptr %0, i32 0, i32 1
  store double %28, ptr %29, align 8, !tbaa !19
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = call double @qrng_get_entropy_estimate(ptr noundef %30)
  %32 = getelementptr inbounds %struct.benchmark_result, ptr %0, i32 0, i32 2
  store double %31, ptr %32, align 8, !tbaa !20
  %33 = getelementptr inbounds [5 x %struct.function_benchmark], ptr %4, i64 0, i64 0
  %34 = getelementptr inbounds %struct.function_benchmark, ptr %33, i32 0, i32 4
  %35 = load double, ptr %34, align 16, !tbaa !21
  %36 = getelementptr inbounds %struct.benchmark_result, ptr %0, i32 0, i32 3
  store double %35, ptr %36, align 8, !tbaa !22
  %37 = load i64, ptr @peak_memory, align 8, !tbaa !9
  %38 = uitofp i64 %37 to double
  %39 = fdiv double %38, 0x4130000000000000
  %40 = getelementptr inbounds %struct.benchmark_result, ptr %0, i32 0, i32 4
  store double %39, ptr %40, align 8, !tbaa !23
  %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !24
  br label %43

43:                                               ; preds = %74, %2
  %44 = load i32, ptr %10, align 4, !tbaa !24
  %45 = icmp slt i32 %44, 5
  br i1 %45, label %47, label %46

46:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %77

47:                                               ; preds = %43
  %48 = load i32, ptr %10, align 4, !tbaa !24
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [5 x %struct.function_benchmark], ptr %4, i64 0, i64 %49
  %51 = getelementptr inbounds %struct.function_benchmark, ptr %50, i32 0, i32 0
  %52 = load ptr, ptr %51, align 8, !tbaa !26
  %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %52)
  %54 = load i32, ptr %10, align 4, !tbaa !24
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [5 x %struct.function_benchmark], ptr %4, i64 0, i64 %55
  %57 = getelementptr inbounds %struct.function_benchmark, ptr %56, i32 0, i32 2
  %58 = load double, ptr %57, align 8, !tbaa !14
  %59 = fdiv double %58, 1.000000e+06
  %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %59)
  %61 = load i32, ptr %10, align 4, !tbaa !24
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [5 x %struct.function_benchmark], ptr %4, i64 0, i64 %62
  %64 = getelementptr inbounds %struct.function_benchmark, ptr %63, i32 0, i32 3
  %65 = load double, ptr %64, align 8, !tbaa !18
  %66 = fdiv double %65, 0x4130000000000000
  %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %66)
  %68 = load i32, ptr %10, align 4, !tbaa !24
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [5 x %struct.function_benchmark], ptr %4, i64 0, i64 %69
  %71 = getelementptr inbounds %struct.function_benchmark, ptr %70, i32 0, i32 4
  %72 = load double, ptr %71, align 8, !tbaa !21
  %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %72)
  br label %74

74:                                               ; preds = %47
  %75 = load i32, ptr %10, align 4, !tbaa !24
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr %10, align 4, !tbaa !24
  br label %43, !llvm.loop !27

77:                                               ; preds = %46
  call void @llvm.lifetime.end.p0(i64 200, ptr %4) #5
  ret void
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

; 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) #3

declare double @qrng_get_entropy_estimate(ptr noundef) #4

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 nounwind willreturn memory(argmem: write) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { "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 = !{!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 = !{i64 0, i64 8, !5, i64 8, i64 8, !12, i64 16, i64 8, !12, i64 24, i64 8, !12, i64 32, i64 8, !12}
!12 = !{!13, !13, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = !{!15, !13, i64 16}
!15 = !{!"", !6, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32}
!16 = !{!17, !13, i64 0}
!17 = !{!"", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32}
!18 = !{!15, !13, i64 24}
!19 = !{!17, !13, i64 8}
!20 = !{!17, !13, i64 16}
!21 = !{!15, !13, i64 32}
!22 = !{!17, !13, i64 24}
!23 = !{!17, !13, i64 32}
!24 = !{!25, !25, i64 0}
!25 = !{!"int", !7, i64 0}
!26 = !{!15, !6, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"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.function_benchmark = type { ptr, double, double, double, double }
%struct.benchmark_result = type { double, double, double, double, double }

@current_memory = external hidden local_unnamed_addr global i64, align 8
@peak_memory = external hidden local_unnamed_addr global i64, align 8
@.str.5 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [21 x i8], align 1

; 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

; Function Attrs: nounwind uwtable
declare dso_local void @benchmark_uint64(ptr dead_on_unwind noalias writable sret(%struct.function_benchmark) align 8, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @benchmark_double(ptr dead_on_unwind noalias writable sret(%struct.function_benchmark) align 8, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @benchmark_bytes_bulk(ptr dead_on_unwind noalias writable sret(%struct.function_benchmark) align 8, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @benchmark_bytes_small(ptr dead_on_unwind noalias writable sret(%struct.function_benchmark) align 8, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @benchmark_entanglement(ptr dead_on_unwind noalias writable sret(%struct.function_benchmark) align 8, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @run_benchmark_suite(ptr dead_on_unwind noalias nocapture writable writeonly sret(%struct.benchmark_result) align 8 %0, ptr noundef %1) local_unnamed_addr #1 {
  %3 = alloca %struct.function_benchmark, align 8
  %4 = alloca %struct.function_benchmark, align 8
  %5 = alloca %struct.function_benchmark, align 8
  %6 = alloca %struct.function_benchmark, align 8
  %7 = alloca %struct.function_benchmark, align 8
  store i64 0, ptr @peak_memory, align 8, !tbaa !5
  store i64 0, ptr @current_memory, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #4
  call void @benchmark_uint64(ptr dead_on_unwind nonnull writable sret(%struct.function_benchmark) align 8 %3, ptr noundef %1)
  %.sroa.0.0.copyload = load ptr, ptr %3, align 8, !tbaa !9
  %.sroa.413.0..sroa_idx = getelementptr inbounds i8, ptr %3, i64 16
  %.sroa.413.0.copyload = load double, ptr %.sroa.413.0..sroa_idx, align 8, !tbaa !11
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %3, i64 24
  %.sroa.6.0.copyload = load double, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !11
  %.sroa.7.0..sroa_idx = getelementptr inbounds i8, ptr %3, i64 32
  %.sroa.7.0.copyload = load double, ptr %.sroa.7.0..sroa_idx, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #4
  call void @benchmark_double(ptr dead_on_unwind nonnull writable sret(%struct.function_benchmark) align 8 %4, ptr noundef %1)
  %.sroa.9.40.copyload = load ptr, ptr %4, align 8, !tbaa !9
  %.sroa.1116.40..sroa_idx = getelementptr inbounds i8, ptr %4, i64 16
  %.sroa.1116.40.copyload = load double, ptr %.sroa.1116.40..sroa_idx, align 8, !tbaa !11
  %.sroa.12.40..sroa_idx = getelementptr inbounds i8, ptr %4, i64 24
  %.sroa.12.40.copyload = load double, ptr %.sroa.12.40..sroa_idx, align 8, !tbaa !11
  %.sroa.13.40..sroa_idx = getelementptr inbounds i8, ptr %4, i64 32
  %.sroa.13.40.copyload = load double, ptr %.sroa.13.40..sroa_idx, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #4
  call void @benchmark_bytes_bulk(ptr dead_on_unwind nonnull writable sret(%struct.function_benchmark) align 8 %5, ptr noundef %1)
  %.sroa.14.80.copyload = load ptr, ptr %5, align 8, !tbaa !9
  %.sroa.1617.80..sroa_idx = getelementptr inbounds i8, ptr %5, i64 16
  %.sroa.1617.80.copyload = load double, ptr %.sroa.1617.80..sroa_idx, align 8, !tbaa !11
  %.sroa.17.80..sroa_idx = getelementptr inbounds i8, ptr %5, i64 24
  %.sroa.17.80.copyload = load double, ptr %.sroa.17.80..sroa_idx, align 8, !tbaa !11
  %.sroa.19.80..sroa_idx = getelementptr inbounds i8, ptr %5, i64 32
  %.sroa.19.80.copyload = load double, ptr %.sroa.19.80..sroa_idx, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #4
  call void @benchmark_bytes_small(ptr dead_on_unwind nonnull writable sret(%struct.function_benchmark) align 8 %6, ptr noundef %1)
  %.sroa.20.120.copyload = load ptr, ptr %6, align 8, !tbaa !9
  %.sroa.2219.120..sroa_idx = getelementptr inbounds i8, ptr %6, i64 16
  %.sroa.2219.120.copyload = load double, ptr %.sroa.2219.120..sroa_idx, align 8, !tbaa !11
  %.sroa.23.120..sroa_idx = getelementptr inbounds i8, ptr %6, i64 24
  %.sroa.23.120.copyload = load double, ptr %.sroa.23.120..sroa_idx, align 8, !tbaa !11
  %.sroa.24.120..sroa_idx = getelementptr inbounds i8, ptr %6, i64 32
  %.sroa.24.120.copyload = load double, ptr %.sroa.24.120..sroa_idx, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #4
  call void @benchmark_entanglement(ptr dead_on_unwind nonnull writable sret(%struct.function_benchmark) align 8 %7, ptr noundef %1)
  %.sroa.25.160.copyload = load ptr, ptr %7, align 8, !tbaa !9
  %.sroa.2720.160..sroa_idx = getelementptr inbounds i8, ptr %7, i64 16
  %.sroa.2720.160.copyload = load double, ptr %.sroa.2720.160..sroa_idx, align 8, !tbaa !11
  %.sroa.28.160..sroa_idx = getelementptr inbounds i8, ptr %7, i64 24
  %.sroa.28.160.copyload = load double, ptr %.sroa.28.160..sroa_idx, align 8, !tbaa !11
  %.sroa.29.160..sroa_idx = getelementptr inbounds i8, ptr %7, i64 32
  %.sroa.29.160.copyload = load double, ptr %.sroa.29.160..sroa_idx, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #4
  store double %.sroa.413.0.copyload, ptr %0, align 8, !tbaa !13
  %8 = fmul double %.sroa.17.80.copyload, 0x3EB0000000000000
  %9 = getelementptr inbounds i8, ptr %0, i64 8
  store double %8, ptr %9, align 8, !tbaa !15
  %10 = call double @qrng_get_entropy_estimate(ptr noundef %1) #4
  %11 = getelementptr inbounds i8, ptr %0, i64 16
  store double %10, ptr %11, align 8, !tbaa !16
  %12 = getelementptr inbounds i8, ptr %0, i64 24
  store double %.sroa.7.0.copyload, ptr %12, align 8, !tbaa !17
  %13 = load i64, ptr @peak_memory, align 8, !tbaa !5
  %14 = uitofp i64 %13 to double
  %15 = fmul double %14, 0x3EB0000000000000
  %16 = getelementptr inbounds i8, ptr %0, i64 32
  store double %15, ptr %16, align 8, !tbaa !18
  %17 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  %18 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %19 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, ptr noundef %.sroa.0.0.copyload)
  %20 = fdiv double %.sroa.413.0.copyload, 1.000000e+06
  %21 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, double noundef %20)
  %22 = fmul double %.sroa.6.0.copyload, 0x3EB0000000000000
  %23 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, double noundef %22)
  %24 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, double noundef %.sroa.7.0.copyload)
  %25 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, ptr noundef %.sroa.9.40.copyload)
  %26 = fdiv double %.sroa.1116.40.copyload, 1.000000e+06
  %27 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, double noundef %26)
  %28 = fmul double %.sroa.12.40.copyload, 0x3EB0000000000000
  %29 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, double noundef %28)
  %30 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, double noundef %.sroa.13.40.copyload)
  %31 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, ptr noundef %.sroa.14.80.copyload)
  %32 = fdiv double %.sroa.1617.80.copyload, 1.000000e+06
  %33 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, double noundef %32)
  %34 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, double noundef %8)
  %35 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, double noundef %.sroa.19.80.copyload)
  %36 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, ptr noundef %.sroa.20.120.copyload)
  %37 = fdiv double %.sroa.2219.120.copyload, 1.000000e+06
  %38 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, double noundef %37)
  %39 = fmul double %.sroa.23.120.copyload, 0x3EB0000000000000
  %40 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, double noundef %39)
  %41 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, double noundef %.sroa.24.120.copyload)
  %42 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, ptr noundef %.sroa.25.160.copyload)
  %43 = fdiv double %.sroa.2720.160.copyload, 1.000000e+06
  %44 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, double noundef %43)
  %45 = fmul double %.sroa.28.160.copyload, 0x3EB0000000000000
  %46 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, double noundef %45)
  %47 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, double noundef %.sroa.29.160.copyload)
  ret void
}

declare double @qrng_get_entropy_estimate(ptr noundef) local_unnamed_addr #2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { "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 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32}
!15 = !{!14, !12, i64 8}
!16 = !{!14, !12, i64 16}
!17 = !{!14, !12, i64 24}
!18 = !{!14, !12, i64 32}


; Effective O3 passes: BDCEPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass