; LLVM IR from FOSS-UCSC/FOSSALGO :: algorithms/ar-knn/cpp (knn)

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

@__const.main.p = external hidden unnamed_addr constant %struct.Point, align 8
@.str = external hidden unnamed_addr constant [46 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z14classifyAPointP5PointiiS_(ptr noundef, i32 noundef, i32 noundef, ptr noundef byval(%struct.Point) align 8) #0

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca %struct.Point, align 8
  %6 = alloca i32, align 4
  %7 = alloca %struct.Point, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 17, ptr %2, align 4, !tbaa !5
  %8 = load i32, ptr %2, align 4, !tbaa !5
  %9 = zext i32 %8 to i64
  %10 = call ptr @llvm.stacksave.p0()
  store ptr %10, ptr %3, align 8
  %11 = alloca %struct.Point, i64 %9, align 16
  store i64 %9, ptr %4, align 8
  %12 = getelementptr inbounds %struct.Point, ptr %11, i64 0
  %13 = getelementptr inbounds %struct.Point, ptr %12, i32 0, i32 1
  store double 1.000000e+00, ptr %13, align 8, !tbaa !9
  %14 = getelementptr inbounds %struct.Point, ptr %11, i64 0
  %15 = getelementptr inbounds %struct.Point, ptr %14, i32 0, i32 2
  store double 1.200000e+01, ptr %15, align 16, !tbaa !12
  %16 = getelementptr inbounds %struct.Point, ptr %11, i64 0
  %17 = getelementptr inbounds %struct.Point, ptr %16, i32 0, i32 0
  store i32 0, ptr %17, align 16, !tbaa !13
  %18 = getelementptr inbounds %struct.Point, ptr %11, i64 1
  %19 = getelementptr inbounds %struct.Point, ptr %18, i32 0, i32 1
  store double 2.000000e+00, ptr %19, align 8, !tbaa !9
  %20 = getelementptr inbounds %struct.Point, ptr %11, i64 1
  %21 = getelementptr inbounds %struct.Point, ptr %20, i32 0, i32 2
  store double 5.000000e+00, ptr %21, align 16, !tbaa !12
  %22 = getelementptr inbounds %struct.Point, ptr %11, i64 1
  %23 = getelementptr inbounds %struct.Point, ptr %22, i32 0, i32 0
  store i32 0, ptr %23, align 16, !tbaa !13
  %24 = getelementptr inbounds %struct.Point, ptr %11, i64 2
  %25 = getelementptr inbounds %struct.Point, ptr %24, i32 0, i32 1
  store double 5.000000e+00, ptr %25, align 8, !tbaa !9
  %26 = getelementptr inbounds %struct.Point, ptr %11, i64 2
  %27 = getelementptr inbounds %struct.Point, ptr %26, i32 0, i32 2
  store double 3.000000e+00, ptr %27, align 16, !tbaa !12
  %28 = getelementptr inbounds %struct.Point, ptr %11, i64 2
  %29 = getelementptr inbounds %struct.Point, ptr %28, i32 0, i32 0
  store i32 1, ptr %29, align 16, !tbaa !13
  %30 = getelementptr inbounds %struct.Point, ptr %11, i64 3
  %31 = getelementptr inbounds %struct.Point, ptr %30, i32 0, i32 1
  store double 3.000000e+00, ptr %31, align 8, !tbaa !9
  %32 = getelementptr inbounds %struct.Point, ptr %11, i64 3
  %33 = getelementptr inbounds %struct.Point, ptr %32, i32 0, i32 2
  store double 2.000000e+00, ptr %33, align 16, !tbaa !12
  %34 = getelementptr inbounds %struct.Point, ptr %11, i64 3
  %35 = getelementptr inbounds %struct.Point, ptr %34, i32 0, i32 0
  store i32 1, ptr %35, align 16, !tbaa !13
  %36 = getelementptr inbounds %struct.Point, ptr %11, i64 4
  %37 = getelementptr inbounds %struct.Point, ptr %36, i32 0, i32 1
  store double 3.000000e+00, ptr %37, align 8, !tbaa !9
  %38 = getelementptr inbounds %struct.Point, ptr %11, i64 4
  %39 = getelementptr inbounds %struct.Point, ptr %38, i32 0, i32 2
  store double 6.000000e+00, ptr %39, align 16, !tbaa !12
  %40 = getelementptr inbounds %struct.Point, ptr %11, i64 4
  %41 = getelementptr inbounds %struct.Point, ptr %40, i32 0, i32 0
  store i32 0, ptr %41, align 16, !tbaa !13
  %42 = getelementptr inbounds %struct.Point, ptr %11, i64 5
  %43 = getelementptr inbounds %struct.Point, ptr %42, i32 0, i32 1
  store double 1.500000e+00, ptr %43, align 8, !tbaa !9
  %44 = getelementptr inbounds %struct.Point, ptr %11, i64 5
  %45 = getelementptr inbounds %struct.Point, ptr %44, i32 0, i32 2
  store double 9.000000e+00, ptr %45, align 16, !tbaa !12
  %46 = getelementptr inbounds %struct.Point, ptr %11, i64 5
  %47 = getelementptr inbounds %struct.Point, ptr %46, i32 0, i32 0
  store i32 1, ptr %47, align 16, !tbaa !13
  %48 = getelementptr inbounds %struct.Point, ptr %11, i64 6
  %49 = getelementptr inbounds %struct.Point, ptr %48, i32 0, i32 1
  store double 7.000000e+00, ptr %49, align 8, !tbaa !9
  %50 = getelementptr inbounds %struct.Point, ptr %11, i64 6
  %51 = getelementptr inbounds %struct.Point, ptr %50, i32 0, i32 2
  store double 2.000000e+00, ptr %51, align 16, !tbaa !12
  %52 = getelementptr inbounds %struct.Point, ptr %11, i64 6
  %53 = getelementptr inbounds %struct.Point, ptr %52, i32 0, i32 0
  store i32 1, ptr %53, align 16, !tbaa !13
  %54 = getelementptr inbounds %struct.Point, ptr %11, i64 7
  %55 = getelementptr inbounds %struct.Point, ptr %54, i32 0, i32 1
  store double 6.000000e+00, ptr %55, align 8, !tbaa !9
  %56 = getelementptr inbounds %struct.Point, ptr %11, i64 7
  %57 = getelementptr inbounds %struct.Point, ptr %56, i32 0, i32 2
  store double 1.000000e+00, ptr %57, align 16, !tbaa !12
  %58 = getelementptr inbounds %struct.Point, ptr %11, i64 7
  %59 = getelementptr inbounds %struct.Point, ptr %58, i32 0, i32 0
  store i32 1, ptr %59, align 16, !tbaa !13
  %60 = getelementptr inbounds %struct.Point, ptr %11, i64 8
  %61 = getelementptr inbounds %struct.Point, ptr %60, i32 0, i32 1
  store double 3.800000e+00, ptr %61, align 8, !tbaa !9
  %62 = getelementptr inbounds %struct.Point, ptr %11, i64 8
  %63 = getelementptr inbounds %struct.Point, ptr %62, i32 0, i32 2
  store double 3.000000e+00, ptr %63, align 16, !tbaa !12
  %64 = getelementptr inbounds %struct.Point, ptr %11, i64 8
  %65 = getelementptr inbounds %struct.Point, ptr %64, i32 0, i32 0
  store i32 1, ptr %65, align 16, !tbaa !13
  %66 = getelementptr inbounds %struct.Point, ptr %11, i64 9
  %67 = getelementptr inbounds %struct.Point, ptr %66, i32 0, i32 1
  store double 3.000000e+00, ptr %67, align 8, !tbaa !9
  %68 = getelementptr inbounds %struct.Point, ptr %11, i64 9
  %69 = getelementptr inbounds %struct.Point, ptr %68, i32 0, i32 2
  store double 1.000000e+01, ptr %69, align 16, !tbaa !12
  %70 = getelementptr inbounds %struct.Point, ptr %11, i64 9
  %71 = getelementptr inbounds %struct.Point, ptr %70, i32 0, i32 0
  store i32 0, ptr %71, align 16, !tbaa !13
  %72 = getelementptr inbounds %struct.Point, ptr %11, i64 10
  %73 = getelementptr inbounds %struct.Point, ptr %72, i32 0, i32 1
  store double 5.600000e+00, ptr %73, align 8, !tbaa !9
  %74 = getelementptr inbounds %struct.Point, ptr %11, i64 10
  %75 = getelementptr inbounds %struct.Point, ptr %74, i32 0, i32 2
  store double 4.000000e+00, ptr %75, align 16, !tbaa !12
  %76 = getelementptr inbounds %struct.Point, ptr %11, i64 10
  %77 = getelementptr inbounds %struct.Point, ptr %76, i32 0, i32 0
  store i32 1, ptr %77, align 16, !tbaa !13
  %78 = getelementptr inbounds %struct.Point, ptr %11, i64 11
  %79 = getelementptr inbounds %struct.Point, ptr %78, i32 0, i32 1
  store double 4.000000e+00, ptr %79, align 8, !tbaa !9
  %80 = getelementptr inbounds %struct.Point, ptr %11, i64 11
  %81 = getelementptr inbounds %struct.Point, ptr %80, i32 0, i32 2
  store double 2.000000e+00, ptr %81, align 16, !tbaa !12
  %82 = getelementptr inbounds %struct.Point, ptr %11, i64 11
  %83 = getelementptr inbounds %struct.Point, ptr %82, i32 0, i32 0
  store i32 1, ptr %83, align 16, !tbaa !13
  %84 = getelementptr inbounds %struct.Point, ptr %11, i64 12
  %85 = getelementptr inbounds %struct.Point, ptr %84, i32 0, i32 1
  store double 3.500000e+00, ptr %85, align 8, !tbaa !9
  %86 = getelementptr inbounds %struct.Point, ptr %11, i64 12
  %87 = getelementptr inbounds %struct.Point, ptr %86, i32 0, i32 2
  store double 8.000000e+00, ptr %87, align 16, !tbaa !12
  %88 = getelementptr inbounds %struct.Point, ptr %11, i64 12
  %89 = getelementptr inbounds %struct.Point, ptr %88, i32 0, i32 0
  store i32 0, ptr %89, align 16, !tbaa !13
  %90 = getelementptr inbounds %struct.Point, ptr %11, i64 13
  %91 = getelementptr inbounds %struct.Point, ptr %90, i32 0, i32 1
  store double 2.000000e+00, ptr %91, align 8, !tbaa !9
  %92 = getelementptr inbounds %struct.Point, ptr %11, i64 13
  %93 = getelementptr inbounds %struct.Point, ptr %92, i32 0, i32 2
  store double 1.100000e+01, ptr %93, align 16, !tbaa !12
  %94 = getelementptr inbounds %struct.Point, ptr %11, i64 13
  %95 = getelementptr inbounds %struct.Point, ptr %94, i32 0, i32 0
  store i32 0, ptr %95, align 16, !tbaa !13
  %96 = getelementptr inbounds %struct.Point, ptr %11, i64 14
  %97 = getelementptr inbounds %struct.Point, ptr %96, i32 0, i32 1
  store double 2.000000e+00, ptr %97, align 8, !tbaa !9
  %98 = getelementptr inbounds %struct.Point, ptr %11, i64 14
  %99 = getelementptr inbounds %struct.Point, ptr %98, i32 0, i32 2
  store double 5.000000e+00, ptr %99, align 16, !tbaa !12
  %100 = getelementptr inbounds %struct.Point, ptr %11, i64 14
  %101 = getelementptr inbounds %struct.Point, ptr %100, i32 0, i32 0
  store i32 1, ptr %101, align 16, !tbaa !13
  %102 = getelementptr inbounds %struct.Point, ptr %11, i64 15
  %103 = getelementptr inbounds %struct.Point, ptr %102, i32 0, i32 1
  store double 2.000000e+00, ptr %103, align 8, !tbaa !9
  %104 = getelementptr inbounds %struct.Point, ptr %11, i64 15
  %105 = getelementptr inbounds %struct.Point, ptr %104, i32 0, i32 2
  store double 9.000000e+00, ptr %105, align 16, !tbaa !12
  %106 = getelementptr inbounds %struct.Point, ptr %11, i64 15
  %107 = getelementptr inbounds %struct.Point, ptr %106, i32 0, i32 0
  store i32 0, ptr %107, align 16, !tbaa !13
  %108 = getelementptr inbounds %struct.Point, ptr %11, i64 16
  %109 = getelementptr inbounds %struct.Point, ptr %108, i32 0, i32 1
  store double 1.000000e+00, ptr %109, align 8, !tbaa !9
  %110 = getelementptr inbounds %struct.Point, ptr %11, i64 16
  %111 = getelementptr inbounds %struct.Point, ptr %110, i32 0, i32 2
  store double 7.000000e+00, ptr %111, align 16, !tbaa !12
  %112 = getelementptr inbounds %struct.Point, ptr %11, i64 16
  %113 = getelementptr inbounds %struct.Point, ptr %112, i32 0, i32 0
  store i32 0, ptr %113, align 16, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %5, ptr align 8 @__const.main.p, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 3, ptr %6, align 4, !tbaa !5
  %114 = load i32, ptr %2, align 4, !tbaa !5
  %115 = load i32, ptr %6, align 4, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %5, i64 32, i1 false), !tbaa.struct !14
  %116 = call noundef i32 @_Z14classifyAPointP5PointiiS_(ptr noundef %11, i32 noundef %114, i32 noundef %115, ptr noundef byval(%struct.Point) align 8 %7)
  %117 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %116)
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #6
  %118 = load ptr, ptr %3, align 8
  call void @llvm.stackrestore.p0(ptr %118)
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  %119 = load i32, ptr %1, align 4
  ret i32 %119
}

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

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

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

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

attributes #0 = { mustprogress 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 = { mustprogress norecurse 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 = { nocallback nofree nosync nounwind willreturn }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { "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 #6 = { 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++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"_ZTS5Point", !6, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!11 = !{!"double", !7, i64 0}
!12 = !{!10, !11, i64 16}
!13 = !{!10, !6, i64 0}
!14 = !{i64 0, i64 4, !5, i64 8, i64 8, !15, i64 16, i64 8, !15, i64 24, i64 8, !15}
!15 = !{!11, !11, i64 0}


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

@__const.main.p = external hidden unnamed_addr constant %struct.Point, align 8
@.str = external hidden unnamed_addr constant [46 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z14classifyAPointP5PointiiS_(ptr noundef, i32 noundef, i32 noundef, ptr noundef byval(%struct.Point) align 8) local_unnamed_addr #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 {
  %1 = alloca [17 x %struct.Point], align 16
  %2 = getelementptr inbounds i8, ptr %1, i64 8
  store <2 x double> <double 1.000000e+00, double 1.200000e+01>, ptr %2, align 8, !tbaa !5
  store i32 0, ptr %1, align 16, !tbaa !9
  %3 = getelementptr inbounds i8, ptr %1, i64 32
  %4 = getelementptr inbounds i8, ptr %1, i64 40
  store <2 x double> <double 2.000000e+00, double 5.000000e+00>, ptr %4, align 8, !tbaa !5
  store i32 0, ptr %3, align 16, !tbaa !9
  %5 = getelementptr inbounds i8, ptr %1, i64 64
  %6 = getelementptr inbounds i8, ptr %1, i64 72
  store <2 x double> <double 5.000000e+00, double 3.000000e+00>, ptr %6, align 8, !tbaa !5
  store i32 1, ptr %5, align 16, !tbaa !9
  %7 = getelementptr inbounds i8, ptr %1, i64 96
  %8 = getelementptr inbounds i8, ptr %1, i64 104
  store <2 x double> <double 3.000000e+00, double 2.000000e+00>, ptr %8, align 8, !tbaa !5
  store i32 1, ptr %7, align 16, !tbaa !9
  %9 = getelementptr inbounds i8, ptr %1, i64 128
  %10 = getelementptr inbounds i8, ptr %1, i64 136
  store <2 x double> <double 3.000000e+00, double 6.000000e+00>, ptr %10, align 8, !tbaa !5
  store i32 0, ptr %9, align 16, !tbaa !9
  %11 = getelementptr inbounds i8, ptr %1, i64 160
  %12 = getelementptr inbounds i8, ptr %1, i64 168
  store <2 x double> <double 1.500000e+00, double 9.000000e+00>, ptr %12, align 8, !tbaa !5
  store i32 1, ptr %11, align 16, !tbaa !9
  %13 = getelementptr inbounds i8, ptr %1, i64 192
  %14 = getelementptr inbounds i8, ptr %1, i64 200
  store <2 x double> <double 7.000000e+00, double 2.000000e+00>, ptr %14, align 8, !tbaa !5
  store i32 1, ptr %13, align 16, !tbaa !9
  %15 = getelementptr inbounds i8, ptr %1, i64 224
  %16 = getelementptr inbounds i8, ptr %1, i64 232
  store <2 x double> <double 6.000000e+00, double 1.000000e+00>, ptr %16, align 8, !tbaa !5
  store i32 1, ptr %15, align 16, !tbaa !9
  %17 = getelementptr inbounds i8, ptr %1, i64 256
  %18 = getelementptr inbounds i8, ptr %1, i64 264
  store <2 x double> <double 3.800000e+00, double 3.000000e+00>, ptr %18, align 8, !tbaa !5
  store i32 1, ptr %17, align 16, !tbaa !9
  %19 = getelementptr inbounds i8, ptr %1, i64 288
  %20 = getelementptr inbounds i8, ptr %1, i64 296
  store <2 x double> <double 3.000000e+00, double 1.000000e+01>, ptr %20, align 8, !tbaa !5
  store i32 0, ptr %19, align 16, !tbaa !9
  %21 = getelementptr inbounds i8, ptr %1, i64 320
  %22 = getelementptr inbounds i8, ptr %1, i64 328
  store <2 x double> <double 5.600000e+00, double 4.000000e+00>, ptr %22, align 8, !tbaa !5
  store i32 1, ptr %21, align 16, !tbaa !9
  %23 = getelementptr inbounds i8, ptr %1, i64 352
  %24 = getelementptr inbounds i8, ptr %1, i64 360
  store <2 x double> <double 4.000000e+00, double 2.000000e+00>, ptr %24, align 8, !tbaa !5
  store i32 1, ptr %23, align 16, !tbaa !9
  %25 = getelementptr inbounds i8, ptr %1, i64 384
  %26 = getelementptr inbounds i8, ptr %1, i64 392
  store <2 x double> <double 3.500000e+00, double 8.000000e+00>, ptr %26, align 8, !tbaa !5
  store i32 0, ptr %25, align 16, !tbaa !9
  %27 = getelementptr inbounds i8, ptr %1, i64 416
  %28 = getelementptr inbounds i8, ptr %1, i64 424
  store <2 x double> <double 2.000000e+00, double 1.100000e+01>, ptr %28, align 8, !tbaa !5
  store i32 0, ptr %27, align 16, !tbaa !9
  %29 = getelementptr inbounds i8, ptr %1, i64 448
  %30 = getelementptr inbounds i8, ptr %1, i64 456
  store <2 x double> <double 2.000000e+00, double 5.000000e+00>, ptr %30, align 8, !tbaa !5
  store i32 1, ptr %29, align 16, !tbaa !9
  %31 = getelementptr inbounds i8, ptr %1, i64 480
  %32 = getelementptr inbounds i8, ptr %1, i64 488
  store <2 x double> <double 2.000000e+00, double 9.000000e+00>, ptr %32, align 8, !tbaa !5
  store i32 0, ptr %31, align 16, !tbaa !9
  %33 = getelementptr inbounds i8, ptr %1, i64 512
  %34 = getelementptr inbounds i8, ptr %1, i64 520
  store <2 x double> <double 1.000000e+00, double 7.000000e+00>, ptr %34, align 8, !tbaa !5
  store i32 0, ptr %33, align 16, !tbaa !9
  %35 = call noundef i32 @_Z14classifyAPointP5PointiiS_(ptr noundef nonnull %1, i32 noundef 17, i32 noundef 3, ptr noundef nonnull byval(%struct.Point) align 8 @__const.main.p)
  %36 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %35)
  ret i32 0
}

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

attributes #0 = { mustprogress 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 norecurse 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 = { 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" }

!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++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTS5Point", !11, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!11 = !{!"int", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SLPVectorizerPass,SROAPass