; LLVM IR from CLASS-SZ/class_sz :: class-sz/tools (hyperspherical)

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

; 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
declare double @sqrt(double noundef) #1

; Function Attrs: nounwind
declare double @asin(double noundef) #1

; Function Attrs: nounwind
declare double @asinh(double noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @hyperspherical_get_xmin_from_Airy(i32 noundef %0, i32 noundef %1, double noundef %2, double noundef %3, double noundef %4, ptr noundef %5, ptr noundef %6) #2 {
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca %struct.WKB_parameters, align 8
  %29 = alloca i32, align 4
  store i32 %0, ptr %9, align 4, !tbaa !5
  store i32 %1, ptr %10, align 4, !tbaa !5
  store double %2, ptr %11, align 8, !tbaa !9
  store double %3, ptr %12, align 8, !tbaa !9
  store double %4, ptr %13, align 8, !tbaa !9
  store ptr %5, ptr %14, align 8, !tbaa !11
  store ptr %6, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  store double 0.000000e+00, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #3
  store double 0x3EB0C6F7A0B5ED8D, ptr %27, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #3
  %30 = load i32, ptr %9, align 4, !tbaa !5
  switch i32 %30, label %63 [
    i32 -1, label %31
    i32 0, label %42
    i32 1, label %52
  ]

31:                                               ; preds = %7
  %32 = load i32, ptr %10, align 4, !tbaa !5
  %33 = sitofp i32 %32 to double
  %34 = load i32, ptr %10, align 4, !tbaa !5
  %35 = sitofp i32 %34 to double
  %36 = fadd double %35, 1.000000e+00
  %37 = fmul double %33, %36
  %38 = call double @sqrt(double noundef %37) #3
  %39 = load double, ptr %11, align 8, !tbaa !9
  %40 = fdiv double %38, %39
  %41 = call double @asinh(double noundef %40) #3
  store double %41, ptr %17, align 8, !tbaa !9
  br label %63

42:                                               ; preds = %7
  %43 = load i32, ptr %10, align 4, !tbaa !5
  %44 = sitofp i32 %43 to double
  %45 = load i32, ptr %10, align 4, !tbaa !5
  %46 = sitofp i32 %45 to double
  %47 = fadd double %46, 1.000000e+00
  %48 = fmul double %44, %47
  %49 = call double @sqrt(double noundef %48) #3
  %50 = load double, ptr %11, align 8, !tbaa !9
  %51 = fdiv double %49, %50
  store double %51, ptr %17, align 8, !tbaa !9
  br label %63

52:                                               ; preds = %7
  %53 = load i32, ptr %10, align 4, !tbaa !5
  %54 = sitofp i32 %53 to double
  %55 = load i32, ptr %10, align 4, !tbaa !5
  %56 = sitofp i32 %55 to double
  %57 = fadd double %56, 1.000000e+00
  %58 = fmul double %54, %57
  %59 = call double @sqrt(double noundef %58) #3
  %60 = load double, ptr %11, align 8, !tbaa !9
  %61 = fdiv double %59, %60
  %62 = call double @asin(double noundef %61) #3
  store double %62, ptr %17, align 8, !tbaa !9
  br label %63

63:                                               ; preds = %52, %42, %31, %7
  %64 = load i32, ptr %9, align 4, !tbaa !5
  %65 = getelementptr inbounds %struct.WKB_parameters, ptr %28, i32 0, i32 0
  store i32 %64, ptr %65, align 8, !tbaa !13
  %66 = load i32, ptr %10, align 4, !tbaa !5
  %67 = getelementptr inbounds %struct.WKB_parameters, ptr %28, i32 0, i32 1
  store i32 %66, ptr %67, align 4, !tbaa !15
  %68 = load double, ptr %11, align 8, !tbaa !9
  %69 = getelementptr inbounds %struct.WKB_parameters, ptr %28, i32 0, i32 2
  store double %68, ptr %69, align 8, !tbaa !16
  %70 = load double, ptr %13, align 8, !tbaa !9
  %71 = getelementptr inbounds %struct.WKB_parameters, ptr %28, i32 0, i32 3
  store double %70, ptr %71, align 8, !tbaa !17
  %72 = load double, ptr %17, align 8, !tbaa !9
  %73 = fmul double 0x3FEFAE147AE147AE, %72
  store double %73, ptr %20, align 8, !tbaa !9
  %74 = load double, ptr %20, align 8, !tbaa !9
  %75 = call double @PhiWKB_minus_phiminabs(double noundef %74, ptr noundef %28)
  store double %75, ptr %21, align 8, !tbaa !9
  %76 = load ptr, ptr %15, align 8, !tbaa !11
  %77 = load i32, ptr %76, align 4, !tbaa !5
  %78 = add nsw i32 %77, 1
  %79 = load ptr, ptr %15, align 8, !tbaa !11
  store i32 %78, ptr %79, align 4, !tbaa !5
  %80 = load double, ptr %11, align 8, !tbaa !9
  %81 = fadd double %80, 5.000000e+00
  %82 = fdiv double 0x401921FB54442D18, %81
  store double %82, ptr %26, align 8, !tbaa !9
  %83 = load double, ptr %21, align 8, !tbaa !9
  %84 = fcmp ogt double %83, 0.000000e+00
  br i1 %84, label %85, label %88

85:                                               ; preds = %63
  %86 = load double, ptr %26, align 8, !tbaa !9
  %87 = fneg double %86
  store double %87, ptr %25, align 8, !tbaa !9
  br label %91

88:                                               ; preds = %63
  %89 = load double, ptr %26, align 8, !tbaa !9
  %90 = fmul double 2.500000e-01, %89
  store double %90, ptr %25, align 8, !tbaa !9
  br label %91

91:                                               ; preds = %88, %85
  br label %92

92:                                               ; preds = %122, %91
  %93 = load double, ptr %20, align 8, !tbaa !9
  store double %93, ptr %16, align 8, !tbaa !9
  %94 = load double, ptr %21, align 8, !tbaa !9
  store double %94, ptr %22, align 8, !tbaa !9
  %95 = load double, ptr %25, align 8, !tbaa !9
  %96 = load double, ptr %20, align 8, !tbaa !9
  %97 = fadd double %96, %95
  store double %97, ptr %20, align 8, !tbaa !9
  %98 = load double, ptr %20, align 8, !tbaa !9
  %99 = load double, ptr %27, align 8, !tbaa !9
  %100 = fcmp olt double %98, %99
  br i1 %100, label %101, label %115

101:                                              ; preds = %92
  %102 = load double, ptr %27, align 8, !tbaa !9
  store double %102, ptr %20, align 8, !tbaa !9
  %103 = load double, ptr %20, align 8, !tbaa !9
  %104 = call double @PhiWKB_minus_phiminabs(double noundef %103, ptr noundef %28)
  store double %104, ptr %21, align 8, !tbaa !9
  %105 = load ptr, ptr %15, align 8, !tbaa !11
  %106 = load i32, ptr %105, align 4, !tbaa !5
  %107 = add nsw i32 %106, 1
  %108 = load ptr, ptr %15, align 8, !tbaa !11
  store i32 %107, ptr %108, align 4, !tbaa !5
  %109 = load double, ptr %21, align 8, !tbaa !9
  %110 = fcmp oge double %109, 0.000000e+00
  br i1 %110, label %111, label %114

111:                                              ; preds = %101
  %112 = load double, ptr %20, align 8, !tbaa !9
  %113 = load ptr, ptr %14, align 8, !tbaa !11
  store double %112, ptr %113, align 8, !tbaa !9
  store i32 0, ptr %8, align 4
  store i32 1, ptr %29, align 4
  br label %152

114:                                              ; preds = %101
  br label %132

115:                                              ; preds = %92
  %116 = load double, ptr %20, align 8, !tbaa !9
  %117 = call double @PhiWKB_minus_phiminabs(double noundef %116, ptr noundef %28)
  store double %117, ptr %21, align 8, !tbaa !9
  %118 = load ptr, ptr %15, align 8, !tbaa !11
  %119 = load i32, ptr %118, align 4, !tbaa !5
  %120 = add nsw i32 %119, 1
  %121 = load ptr, ptr %15, align 8, !tbaa !11
  store i32 %120, ptr %121, align 4, !tbaa !5
  br label %122

122:                                              ; preds = %115
  %123 = load double, ptr %21, align 8, !tbaa !9
  %124 = fcmp ogt double %123, 0.000000e+00
  %125 = zext i1 %124 to i64
  %126 = select i1 %124, double 1.000000e+00, double -1.000000e+00
  %127 = load double, ptr %22, align 8, !tbaa !9
  %128 = fcmp ogt double %127, 0.000000e+00
  %129 = zext i1 %128 to i64
  %130 = select i1 %128, double 1.000000e+00, double -1.000000e+00
  %131 = fcmp oeq double %126, %130
  br i1 %131, label %92, label %132, !llvm.loop !18

132:                                              ; preds = %122, %114
  %133 = load double, ptr %21, align 8, !tbaa !9
  %134 = fcmp ole double %133, 0.000000e+00
  br i1 %134, label %135, label %140

135:                                              ; preds = %132
  %136 = load double, ptr %20, align 8, !tbaa !9
  store double %136, ptr %18, align 8, !tbaa !9
  %137 = load double, ptr %21, align 8, !tbaa !9
  store double %137, ptr %23, align 8, !tbaa !9
  %138 = load double, ptr %16, align 8, !tbaa !9
  store double %138, ptr %19, align 8, !tbaa !9
  %139 = load double, ptr %22, align 8, !tbaa !9
  store double %139, ptr %24, align 8, !tbaa !9
  br label %145

140:                                              ; preds = %132
  %141 = load double, ptr %16, align 8, !tbaa !9
  store double %141, ptr %18, align 8, !tbaa !9
  %142 = load double, ptr %22, align 8, !tbaa !9
  store double %142, ptr %23, align 8, !tbaa !9
  %143 = load double, ptr %20, align 8, !tbaa !9
  store double %143, ptr %19, align 8, !tbaa !9
  %144 = load double, ptr %21, align 8, !tbaa !9
  store double %144, ptr %24, align 8, !tbaa !9
  br label %145

145:                                              ; preds = %140, %135
  %146 = load double, ptr %18, align 8, !tbaa !9
  %147 = load double, ptr %19, align 8, !tbaa !9
  %148 = load double, ptr %12, align 8, !tbaa !9
  %149 = load ptr, ptr %14, align 8, !tbaa !11
  %150 = load ptr, ptr %15, align 8, !tbaa !11
  %151 = call i32 @fzero_ridder(ptr noundef @PhiWKB_minus_phiminabs, double noundef %146, double noundef %147, double noundef %148, ptr noundef %28, ptr noundef %23, ptr noundef %24, ptr noundef %149, ptr noundef %150)
  store i32 0, ptr %8, align 4
  store i32 1, ptr %29, align 4
  br label %152

152:                                              ; preds = %145, %111
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  %153 = load i32, ptr %8, align 4
  ret i32 %153
}

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"WKB_parameters", !6, i64 0, !6, i64 4, !10, i64 8, !10, i64 16}
!15 = !{!14, !6, i64 4}
!16 = !{!14, !10, i64 8}
!17 = !{!14, !10, i64 16}
!18 = distinct !{!18, !19}
!19 = !{!"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.WKB_parameters = type { i32, i32, double, double }

; 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: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @asin(double noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @asinh(double noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @hyperspherical_get_xmin_from_Airy(i32 noundef %0, i32 noundef %1, double noundef %2, double noundef %3, double noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #2 {
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca %struct.WKB_parameters, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #3
  switch i32 %0, label %31 [
    i32 -1, label %11
    i32 0, label %18
    i32 1, label %24
  ]

11:                                               ; preds = %7
  %12 = sitofp i32 %1 to double
  %13 = fadd double %12, 1.000000e+00
  %14 = fmul double %13, %12
  %15 = tail call double @sqrt(double noundef %14) #3
  %16 = fdiv double %15, %2
  %17 = tail call double @asinh(double noundef %16) #3
  br label %31

18:                                               ; preds = %7
  %19 = sitofp i32 %1 to double
  %20 = fadd double %19, 1.000000e+00
  %21 = fmul double %20, %19
  %22 = tail call double @sqrt(double noundef %21) #3
  %23 = fdiv double %22, %2
  br label %31

24:                                               ; preds = %7
  %25 = sitofp i32 %1 to double
  %26 = fadd double %25, 1.000000e+00
  %27 = fmul double %26, %25
  %28 = tail call double @sqrt(double noundef %27) #3
  %29 = fdiv double %28, %2
  %30 = tail call double @asin(double noundef %29) #3
  br label %31

31:                                               ; preds = %24, %18, %11, %7
  %.054 = phi double [ 0.000000e+00, %7 ], [ %30, %24 ], [ %23, %18 ], [ %17, %11 ]
  store i32 %0, ptr %10, align 8, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %10, i64 4
  store i32 %1, ptr %32, align 4, !tbaa !11
  %33 = getelementptr inbounds i8, ptr %10, i64 8
  store double %2, ptr %33, align 8, !tbaa !12
  %34 = getelementptr inbounds i8, ptr %10, i64 16
  store double %4, ptr %34, align 8, !tbaa !13
  %35 = fmul double %.054, 0x3FEFAE147AE147AE
  %36 = call double @PhiWKB_minus_phiminabs(double noundef %35, ptr noundef nonnull %10)
  %37 = load i32, ptr %6, align 4, !tbaa !14
  %38 = add nsw i32 %37, 1
  store i32 %38, ptr %6, align 4, !tbaa !14
  %39 = fadd double %2, 5.000000e+00
  %40 = fdiv double 0x401921FB54442D18, %39
  %41 = fcmp ogt double %36, 0.000000e+00
  %42 = fneg double %40
  %43 = fmul double %40, 2.500000e-01
  %.055 = select i1 %41, double %42, double %43
  br label %44

44:                                               ; preds = %53, %31
  %.058 = phi double [ %35, %31 ], [ %45, %53 ]
  %.057 = phi double [ %36, %31 ], [ %54, %53 ]
  %45 = fadd double %.055, %.058
  %46 = fcmp olt double %45, 0x3EB0C6F7A0B5ED8D
  br i1 %46, label %47, label %53

47:                                               ; preds = %44
  %48 = call double @PhiWKB_minus_phiminabs(double noundef 0x3EB0C6F7A0B5ED8D, ptr noundef nonnull %10)
  %49 = load i32, ptr %6, align 4, !tbaa !14
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr %6, align 4, !tbaa !14
  %51 = fcmp ult double %48, 0.000000e+00
  br i1 %51, label %.loopexit, label %52

52:                                               ; preds = %47
  store double 0x3EB0C6F7A0B5ED8D, ptr %5, align 8, !tbaa !15
  br label %64

53:                                               ; preds = %44
  %54 = call double @PhiWKB_minus_phiminabs(double noundef %45, ptr noundef nonnull %10)
  %55 = load i32, ptr %6, align 4, !tbaa !14
  %56 = add nsw i32 %55, 1
  store i32 %56, ptr %6, align 4, !tbaa !14
  %57 = fcmp ogt double %54, 0.000000e+00
  %58 = select i1 %57, double 1.000000e+00, double -1.000000e+00
  %59 = fcmp ogt double %.057, 0.000000e+00
  %60 = select i1 %59, double 1.000000e+00, double -1.000000e+00
  %61 = fcmp oeq double %58, %60
  br i1 %61, label %44, label %.loopexit, !llvm.loop !16

.loopexit:                                        ; preds = %53, %47
  %.159 = phi double [ 0x3EB0C6F7A0B5ED8D, %47 ], [ %45, %53 ]
  %.1 = phi double [ %48, %47 ], [ %54, %53 ]
  %62 = fcmp ugt double %.1, 0.000000e+00
  %.057..1 = select i1 %62, double %.057, double %.1
  %.1..057 = select i1 %62, double %.1, double %.057
  %.159..058 = select i1 %62, double %.159, double %.058
  %.058..159 = select i1 %62, double %.058, double %.159
  store double %.057..1, ptr %8, align 8, !tbaa !15
  store double %.1..057, ptr %9, align 8, !tbaa !15
  %63 = call i32 @fzero_ridder(ptr noundef nonnull @PhiWKB_minus_phiminabs, double noundef %.058..159, double noundef %.159..058, double noundef %3, ptr noundef nonnull %10, ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef %5, ptr noundef nonnull %6)
  br label %64

64:                                               ; preds = %.loopexit, %52
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
  ret i32 0
}

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @fzero_ridder(ptr noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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, !7, i64 0}
!6 = !{!"WKB_parameters", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !10, i64 8}
!13 = !{!6, !10, i64 16}
!14 = !{!7, !7, i64 0}
!15 = !{!10, !10, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass