; LLVM IR from jrl-umi3218/mc_rtc :: 3rd-party/qhull/src/libqhull_r (rboxlib_r)

; 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.qhT = type { i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i32, ptr, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, double, double, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [29 x i32], i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, double, i32, ptr, ptr, i32, i32, i32, i32, i32, ptr, i32, ptr, i32, [256 x i8], i32, [256 x i8], [512 x i8], i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, double, double, double, double, double, double, double, double, double, double, double, double, double, double, ptr, double, double, double, double, i32, [6 x i8], [1 x %struct.__jmp_buf_tag], [40 x i8], [1 x %struct.__jmp_buf_tag], [40 x i8], ptr, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, i32, ptr, i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, i32, ptr, ptr, i32, i32, i32, double, i32, double, double, double, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, i32, i32, ptr, double, double, double, double, i32, i32, i32, i32, i32, i32, ptr, i32, i32, [1 x %struct.__jmp_buf_tag], [40 x i8], i32, double, ptr, ptr, ptr, %struct.qhmemT, %struct.qhstatT }
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }
%struct.qhmemT = type { i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.qhstatT = type { [249 x %union.intrealT], [259 x i8], [249 x ptr], [249 x i16], [249 x i8], [249 x i8], [9 x %union.intrealT], i32, i32, i32, i32, double }
%union.intrealT = type { double }

@.str.23 = external hidden unnamed_addr constant [2 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

declare void @qh_fprintf_rbox(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ...) #1

; Function Attrs: nounwind uwtable
declare dso_local void @qh_out1(ptr noundef, double noundef) #2

declare i32 @qh_rand(ptr noundef) #1

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

19:                                               ; preds = %60, %6
  %20 = load i32, ptr %16, align 4, !tbaa !9
  %21 = load i32, ptr %8, align 4, !tbaa !9
  %22 = icmp slt i32 %20, %21
  br i1 %22, label %23, label %63

23:                                               ; preds = %19
  %24 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %24, ptr %13, align 8, !tbaa !5
  %25 = load i32, ptr %10, align 4, !tbaa !9
  %26 = icmp ne i32 %25, 0
  br i1 %26, label %27, label %29

27:                                               ; preds = %23
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  call void @qh_out1(ptr noundef %28, double noundef 1.000000e+00)
  br label %29

29:                                               ; preds = %27, %23
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %30

30:                                               ; preds = %52, %29
  %31 = load i32, ptr %17, align 4, !tbaa !9
  %32 = load i32, ptr %12, align 4, !tbaa !9
  %33 = icmp slt i32 %31, %32
  br i1 %33, label %34, label %55

34:                                               ; preds = %30
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = call i32 @qh_rand(ptr noundef %35)
  %37 = sitofp i32 %36 to double
  store double %37, ptr %14, align 8, !tbaa !11
  %38 = load double, ptr %14, align 8, !tbaa !11
  %39 = fmul double 2.000000e+00, %38
  %40 = load double, ptr %18, align 8, !tbaa !11
  %41 = fdiv double %39, %40
  %42 = fsub double %41, 1.000000e+00
  store double %42, ptr %15, align 8, !tbaa !11
  %43 = load double, ptr %9, align 8, !tbaa !11
  %44 = load double, ptr %15, align 8, !tbaa !11
  %45 = fmul double %44, %43
  store double %45, ptr %15, align 8, !tbaa !11
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = load ptr, ptr %13, align 8, !tbaa !5
  %48 = getelementptr inbounds double, ptr %47, i32 1
  store ptr %48, ptr %13, align 8, !tbaa !5
  %49 = load double, ptr %47, align 8, !tbaa !11
  %50 = load double, ptr %15, align 8, !tbaa !11
  %51 = fadd double %49, %50
  call void @qh_out1(ptr noundef %46, double noundef %51)
  br label %52

52:                                               ; preds = %34
  %53 = load i32, ptr %17, align 4, !tbaa !9
  %54 = add nsw i32 %53, 1
  store i32 %54, ptr %17, align 4, !tbaa !9
  br label %30, !llvm.loop !13

55:                                               ; preds = %30
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.qhT, ptr %57, i32 0, i32 157
  %59 = load ptr, ptr %58, align 8, !tbaa !15
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf_rbox(ptr noundef %56, ptr noundef %59, i32 noundef 9410, ptr noundef @.str.23)
  br label %60

60:                                               ; preds = %55
  %61 = load i32, ptr %16, align 4, !tbaa !9
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %16, align 4, !tbaa !9
  br label %19, !llvm.loop !20

63:                                               ; preds = %19
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  ret void
}

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 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !6, i64 2416}
!16 = !{!"qhT", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !12, i64 24, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !12, i64 64, !12, i64 72, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !6, i64 104, !10, i64 112, !10, i64 116, !6, i64 120, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !10, i64 152, !12, i64 160, !12, i64 168, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !12, i64 192, !12, i64 200, !10, i64 208, !10, i64 212, !12, i64 216, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !10, i64 240, !10, i64 244, !10, i64 248, !10, i64 252, !10, i64 256, !10, i64 260, !10, i64 264, !10, i64 268, !10, i64 272, !10, i64 276, !10, i64 280, !10, i64 284, !10, i64 288, !10, i64 292, !10, i64 296, !7, i64 300, !10, i64 416, !10, i64 420, !10, i64 424, !10, i64 428, !10, i64 432, !10, i64 436, !10, i64 440, !10, i64 444, !12, i64 448, !12, i64 456, !12, i64 464, !10, i64 472, !10, i64 476, !10, i64 480, !10, i64 484, !10, i64 488, !10, i64 492, !10, i64 496, !10, i64 500, !10, i64 504, !10, i64 508, !10, i64 512, !10, i64 516, !10, i64 520, !10, i64 524, !10, i64 528, !10, i64 532, !10, i64 536, !10, i64 540, !10, i64 544, !12, i64 552, !10, i64 560, !10, i64 564, !10, i64 568, !10, i64 572, !10, i64 576, !10, i64 580, !10, i64 584, !10, i64 588, !12, i64 592, !10, i64 600, !6, i64 608, !6, i64 616, !10, i64 624, !10, i64 628, !10, i64 632, !10, i64 636, !10, i64 640, !6, i64 648, !10, i64 656, !6, i64 664, !10, i64 672, !7, i64 676, !10, i64 932, !7, i64 936, !7, i64 1192, !10, i64 1704, !10, i64 1708, !10, i64 1712, !10, i64 1716, !10, i64 1720, !10, i64 1724, !6, i64 1728, !6, i64 1736, !6, i64 1744, !6, i64 1752, !12, i64 1760, !12, i64 1768, !12, i64 1776, !12, i64 1784, !12, i64 1792, !12, i64 1800, !12, i64 1808, !12, i64 1816, !12, i64 1824, !12, i64 1832, !12, i64 1840, !12, i64 1848, !12, i64 1856, !12, i64 1864, !6, i64 1872, !12, i64 1880, !12, i64 1888, !12, i64 1896, !12, i64 1904, !10, i64 1912, !7, i64 1916, !7, i64 1928, !7, i64 2128, !7, i64 2168, !7, i64 2368, !6, i64 2408, !6, i64 2416, !6, i64 2424, !6, i64 2432, !10, i64 2440, !10, i64 2444, !10, i64 2448, !6, i64 2456, !6, i64 2464, !6, i64 2472, !6, i64 2480, !6, i64 2488, !10, i64 2496, !10, i64 2500, !6, i64 2504, !10, i64 2512, !6, i64 2520, !10, i64 2528, !6, i64 2536, !6, i64 2544, !6, i64 2552, !6, i64 2560, !10, i64 2568, !10, i64 2572, !10, i64 2576, !10, i64 2580, !10, i64 2584, !10, i64 2588, !10, i64 2592, !10, i64 2596, !17, i64 2600, !10, i64 2608, !10, i64 2612, !10, i64 2616, !10, i64 2620, !10, i64 2624, !6, i64 2632, !6, i64 2640, !10, i64 2648, !10, i64 2652, !10, i64 2656, !12, i64 2664, !10, i64 2672, !12, i64 2680, !12, i64 2688, !12, i64 2696, !10, i64 2704, !10, i64 2708, !10, i64 2712, !10, i64 2716, !10, i64 2720, !12, i64 2728, !12, i64 2736, !10, i64 2744, !10, i64 2748, !10, i64 2752, !10, i64 2756, !10, i64 2760, !10, i64 2764, !12, i64 2768, !12, i64 2776, !10, i64 2784, !10, i64 2788, !10, i64 2792, !10, i64 2796, !6, i64 2800, !6, i64 2808, !6, i64 2816, !6, i64 2824, !6, i64 2832, !6, i64 2840, !6, i64 2848, !6, i64 2856, !6, i64 2864, !10, i64 2872, !6, i64 2880, !6, i64 2888, !10, i64 2896, !10, i64 2900, !10, i64 2904, !6, i64 2912, !12, i64 2920, !12, i64 2928, !12, i64 2936, !12, i64 2944, !10, i64 2952, !10, i64 2956, !10, i64 2960, !10, i64 2964, !10, i64 2968, !10, i64 2972, !6, i64 2976, !10, i64 2984, !10, i64 2988, !7, i64 2992, !7, i64 3192, !10, i64 3232, !12, i64 3240, !6, i64 3248, !6, i64 3256, !6, i64 3264, !18, i64 3272, !19, i64 3424}
!17 = !{!"long", !7, i64 0}
!18 = !{!"qhmemT", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !10, i64 64, !6, i64 72, !6, i64 80, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144}
!19 = !{!"qhstatT", !7, i64 0, !7, i64 1992, !7, i64 2256, !7, i64 4248, !7, i64 4746, !7, i64 4995, !7, i64 5248, !10, i64 5320, !10, i64 5324, !10, i64 5328, !10, i64 5332, !12, i64 5336}
!20 = distinct !{!20, !14}


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

@.str.23 = external hidden unnamed_addr constant [2 x i8], align 1

declare void @qh_fprintf_rbox(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @qh_out1(ptr noundef, double noundef) local_unnamed_addr #1

declare i32 @qh_rand(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @qh_outcoincident(ptr noundef %0, i32 noundef %1, double noundef %2, i32 noundef %3, ptr nocapture noundef readonly %4, i32 noundef %5) local_unnamed_addr #1 {
  %7 = icmp sgt i32 %1, 0
  br i1 %7, label %.lr.ph24, label %._crit_edge25

.lr.ph24:                                         ; preds = %6
  %.not = icmp eq i32 %3, 0
  %8 = icmp sgt i32 %5, 0
  %9 = getelementptr inbounds i8, ptr %0, i64 2416
  br i1 %8, label %.lr.ph24.split.us, label %.lr.ph24.split

.lr.ph24.split.us:                                ; preds = %.lr.ph24
  br i1 %.not, label %.lr.ph.us.us, label %.lr.ph.us

.lr.ph.us.us:                                     ; preds = %.lr.ph24.split.us, %._crit_edge.us.us
  %.01922.us.us = phi i32 [ %22, %._crit_edge.us.us ], [ 0, %.lr.ph24.split.us ]
  br label %10

10:                                               ; preds = %10, %.lr.ph.us.us
  %.021.us.us = phi ptr [ %4, %.lr.ph.us.us ], [ %17, %10 ]
  %.01820.us.us = phi i32 [ 0, %.lr.ph.us.us ], [ %20, %10 ]
  %11 = tail call i32 @qh_rand(ptr noundef %0) #2
  %12 = sitofp i32 %11 to double
  %13 = fmul double %12, 2.000000e+00
  %14 = fdiv double %13, 0x41DFFFFFFF800000
  %15 = fadd double %14, -1.000000e+00
  %16 = fmul double %15, %2
  %17 = getelementptr inbounds i8, ptr %.021.us.us, i64 8
  %18 = load double, ptr %.021.us.us, align 8, !tbaa !5
  %19 = fadd double %18, %16
  tail call void @qh_out1(ptr noundef %0, double noundef %19)
  %20 = add nuw nsw i32 %.01820.us.us, 1
  %exitcond33.not = icmp eq i32 %20, %5
  br i1 %exitcond33.not, label %._crit_edge.us.us, label %10, !llvm.loop !9

._crit_edge.us.us:                                ; preds = %10
  %21 = load ptr, ptr %9, align 8, !tbaa !11
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf_rbox(ptr noundef %0, ptr noundef %21, i32 noundef 9410, ptr noundef nonnull @.str.23) #2
  %22 = add nuw nsw i32 %.01922.us.us, 1
  %exitcond34.not = icmp eq i32 %22, %1
  br i1 %exitcond34.not, label %._crit_edge25, label %.lr.ph.us.us, !llvm.loop !18

.lr.ph.us:                                        ; preds = %.lr.ph24.split.us, %._crit_edge.us
  %.01922.us = phi i32 [ %35, %._crit_edge.us ], [ 0, %.lr.ph24.split.us ]
  tail call void @qh_out1(ptr noundef %0, double noundef 1.000000e+00)
  br label %23

23:                                               ; preds = %.lr.ph.us, %23
  %.021.us = phi ptr [ %4, %.lr.ph.us ], [ %30, %23 ]
  %.01820.us = phi i32 [ 0, %.lr.ph.us ], [ %33, %23 ]
  %24 = tail call i32 @qh_rand(ptr noundef %0) #2
  %25 = sitofp i32 %24 to double
  %26 = fmul double %25, 2.000000e+00
  %27 = fdiv double %26, 0x41DFFFFFFF800000
  %28 = fadd double %27, -1.000000e+00
  %29 = fmul double %28, %2
  %30 = getelementptr inbounds i8, ptr %.021.us, i64 8
  %31 = load double, ptr %.021.us, align 8, !tbaa !5
  %32 = fadd double %31, %29
  tail call void @qh_out1(ptr noundef %0, double noundef %32)
  %33 = add nuw nsw i32 %.01820.us, 1
  %exitcond31.not = icmp eq i32 %33, %5
  br i1 %exitcond31.not, label %._crit_edge.us, label %23, !llvm.loop !9

._crit_edge.us:                                   ; preds = %23
  %34 = load ptr, ptr %9, align 8, !tbaa !11
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf_rbox(ptr noundef %0, ptr noundef %34, i32 noundef 9410, ptr noundef nonnull @.str.23) #2
  %35 = add nuw nsw i32 %.01922.us, 1
  %exitcond32.not = icmp eq i32 %35, %1
  br i1 %exitcond32.not, label %._crit_edge25, label %.lr.ph.us, !llvm.loop !18

.lr.ph24.split:                                   ; preds = %.lr.ph24
  br i1 %.not, label %.lr.ph24.split.split.us, label %.lr.ph24.split.split

.lr.ph24.split.split.us:                          ; preds = %.lr.ph24.split, %.lr.ph24.split.split.us
  %.01922.us26 = phi i32 [ %37, %.lr.ph24.split.split.us ], [ 0, %.lr.ph24.split ]
  %36 = load ptr, ptr %9, align 8, !tbaa !11
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf_rbox(ptr noundef %0, ptr noundef %36, i32 noundef 9410, ptr noundef nonnull @.str.23) #2
  %37 = add nuw nsw i32 %.01922.us26, 1
  %exitcond30.not = icmp eq i32 %37, %1
  br i1 %exitcond30.not, label %._crit_edge25, label %.lr.ph24.split.split.us, !llvm.loop !18

.lr.ph24.split.split:                             ; preds = %.lr.ph24.split, %.lr.ph24.split.split
  %.01922 = phi i32 [ %39, %.lr.ph24.split.split ], [ 0, %.lr.ph24.split ]
  tail call void @qh_out1(ptr noundef %0, double noundef 1.000000e+00)
  %38 = load ptr, ptr %9, align 8, !tbaa !11
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf_rbox(ptr noundef %0, ptr noundef %38, i32 noundef 9410, ptr noundef nonnull @.str.23) #2
  %39 = add nuw nsw i32 %.01922, 1
  %exitcond.not = icmp eq i32 %39, %1
  br i1 %exitcond.not, label %._crit_edge25, label %.lr.ph24.split.split, !llvm.loop !18

._crit_edge25:                                    ; preds = %.lr.ph24.split.split, %.lr.ph24.split.split.us, %._crit_edge.us, %._crit_edge.us.us, %6
  ret void
}

attributes #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 = { 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 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !14, i64 2416}
!12 = !{!"qhT", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !6, i64 24, !13, i64 32, !13, i64 36, !13, i64 40, !13, i64 44, !13, i64 48, !13, i64 52, !13, i64 56, !13, i64 60, !6, i64 64, !6, i64 72, !13, i64 80, !13, i64 84, !13, i64 88, !13, i64 92, !13, i64 96, !13, i64 100, !14, i64 104, !13, i64 112, !13, i64 116, !14, i64 120, !13, i64 128, !13, i64 132, !13, i64 136, !13, i64 140, !13, i64 144, !13, i64 148, !13, i64 152, !6, i64 160, !6, i64 168, !13, i64 176, !13, i64 180, !13, i64 184, !13, i64 188, !6, i64 192, !6, i64 200, !13, i64 208, !13, i64 212, !6, i64 216, !13, i64 224, !13, i64 228, !13, i64 232, !13, i64 236, !13, i64 240, !13, i64 244, !13, i64 248, !13, i64 252, !13, i64 256, !13, i64 260, !13, i64 264, !13, i64 268, !13, i64 272, !13, i64 276, !13, i64 280, !13, i64 284, !13, i64 288, !13, i64 292, !13, i64 296, !7, i64 300, !13, i64 416, !13, i64 420, !13, i64 424, !13, i64 428, !13, i64 432, !13, i64 436, !13, i64 440, !13, i64 444, !6, i64 448, !6, i64 456, !6, i64 464, !13, i64 472, !13, i64 476, !13, i64 480, !13, i64 484, !13, i64 488, !13, i64 492, !13, i64 496, !13, i64 500, !13, i64 504, !13, i64 508, !13, i64 512, !13, i64 516, !13, i64 520, !13, i64 524, !13, i64 528, !13, i64 532, !13, i64 536, !13, i64 540, !13, i64 544, !6, i64 552, !13, i64 560, !13, i64 564, !13, i64 568, !13, i64 572, !13, i64 576, !13, i64 580, !13, i64 584, !13, i64 588, !6, i64 592, !13, i64 600, !14, i64 608, !14, i64 616, !13, i64 624, !13, i64 628, !13, i64 632, !13, i64 636, !13, i64 640, !14, i64 648, !13, i64 656, !14, i64 664, !13, i64 672, !7, i64 676, !13, i64 932, !7, i64 936, !7, i64 1192, !13, i64 1704, !13, i64 1708, !13, i64 1712, !13, i64 1716, !13, i64 1720, !13, i64 1724, !14, i64 1728, !14, i64 1736, !14, i64 1744, !14, i64 1752, !6, i64 1760, !6, i64 1768, !6, i64 1776, !6, i64 1784, !6, i64 1792, !6, i64 1800, !6, i64 1808, !6, i64 1816, !6, i64 1824, !6, i64 1832, !6, i64 1840, !6, i64 1848, !6, i64 1856, !6, i64 1864, !14, i64 1872, !6, i64 1880, !6, i64 1888, !6, i64 1896, !6, i64 1904, !13, i64 1912, !7, i64 1916, !7, i64 1928, !7, i64 2128, !7, i64 2168, !7, i64 2368, !14, i64 2408, !14, i64 2416, !14, i64 2424, !14, i64 2432, !13, i64 2440, !13, i64 2444, !13, i64 2448, !14, i64 2456, !14, i64 2464, !14, i64 2472, !14, i64 2480, !14, i64 2488, !13, i64 2496, !13, i64 2500, !14, i64 2504, !13, i64 2512, !14, i64 2520, !13, i64 2528, !14, i64 2536, !14, i64 2544, !14, i64 2552, !14, i64 2560, !13, i64 2568, !13, i64 2572, !13, i64 2576, !13, i64 2580, !13, i64 2584, !13, i64 2588, !13, i64 2592, !13, i64 2596, !15, i64 2600, !13, i64 2608, !13, i64 2612, !13, i64 2616, !13, i64 2620, !13, i64 2624, !14, i64 2632, !14, i64 2640, !13, i64 2648, !13, i64 2652, !13, i64 2656, !6, i64 2664, !13, i64 2672, !6, i64 2680, !6, i64 2688, !6, i64 2696, !13, i64 2704, !13, i64 2708, !13, i64 2712, !13, i64 2716, !13, i64 2720, !6, i64 2728, !6, i64 2736, !13, i64 2744, !13, i64 2748, !13, i64 2752, !13, i64 2756, !13, i64 2760, !13, i64 2764, !6, i64 2768, !6, i64 2776, !13, i64 2784, !13, i64 2788, !13, i64 2792, !13, i64 2796, !14, i64 2800, !14, i64 2808, !14, i64 2816, !14, i64 2824, !14, i64 2832, !14, i64 2840, !14, i64 2848, !14, i64 2856, !14, i64 2864, !13, i64 2872, !14, i64 2880, !14, i64 2888, !13, i64 2896, !13, i64 2900, !13, i64 2904, !14, i64 2912, !6, i64 2920, !6, i64 2928, !6, i64 2936, !6, i64 2944, !13, i64 2952, !13, i64 2956, !13, i64 2960, !13, i64 2964, !13, i64 2968, !13, i64 2972, !14, i64 2976, !13, i64 2984, !13, i64 2988, !7, i64 2992, !7, i64 3192, !13, i64 3232, !6, i64 3240, !14, i64 3248, !14, i64 3256, !14, i64 3264, !16, i64 3272, !17, i64 3424}
!13 = !{!"int", !7, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!"qhmemT", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !13, i64 64, !14, i64 72, !14, i64 80, !13, i64 88, !13, i64 92, !13, i64 96, !13, i64 100, !13, i64 104, !13, i64 108, !13, i64 112, !13, i64 116, !13, i64 120, !13, i64 124, !13, i64 128, !13, i64 132, !13, i64 136, !13, i64 140, !13, i64 144}
!17 = !{!"qhstatT", !7, i64 0, !7, i64 1992, !7, i64 2256, !7, i64 4248, !7, i64 4746, !7, i64 4995, !7, i64 5248, !13, i64 5320, !13, i64 5324, !13, i64 5328, !13, i64 5332, !6, i64 5336}
!18 = distinct !{!18, !10}


; Effective O3 passes: GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass