; LLVM IR from albertobsd/keyhunt :: secp256k1/SECP256K1.ll (ZN9Secp256K14InitEv)

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

%class.Point = type { %class.Int, %class.Int, %class.Int }
%class.Int = type { %union.anon }
%union.anon = type { [5 x i64] }
%class.Secp256K1 = type { %class.Point, %class.Int, %class.Int, [8192 x %class.Point] }

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9Secp256K14InitEv(ptr noundef nonnull align 8 dereferenceable(983240) %0) #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %class.Point, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %class.Point, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %class.Point, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %11 = load ptr, ptr %2, align 8
  %12 = getelementptr inbounds %class.Secp256K1, ptr %11, i32 0, i32 1
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) %12, ptr noundef @.str)
  %13 = getelementptr inbounds %class.Secp256K1, ptr %11, i32 0, i32 1
  call void @_ZN3Int10SetupFieldEPS_S0_S0_S0_S0_(ptr noundef %13, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null)
  %14 = getelementptr inbounds %class.Secp256K1, ptr %11, i32 0, i32 0
  %15 = getelementptr inbounds %class.Point, ptr %14, i32 0, i32 0
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) %15, ptr noundef @.str.1)
  %16 = getelementptr inbounds %class.Secp256K1, ptr %11, i32 0, i32 0
  %17 = getelementptr inbounds %class.Point, ptr %16, i32 0, i32 1
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) %17, ptr noundef @.str.2)
  %18 = getelementptr inbounds %class.Secp256K1, ptr %11, i32 0, i32 0
  %19 = getelementptr inbounds %class.Point, ptr %18, i32 0, i32 2
  call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) %19, i32 noundef 1)
  %20 = getelementptr inbounds %class.Secp256K1, ptr %11, i32 0, i32 2
  call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) %20, ptr noundef @.str.3)
  %21 = getelementptr inbounds %class.Secp256K1, ptr %11, i32 0, i32 2
  call void @_ZN3Int6InitK1EPS_(ptr noundef %21)
  call void @llvm.lifetime.start.p0(i64 120, ptr %3) #5
  %22 = getelementptr inbounds %class.Secp256K1, ptr %11, i32 0, i32 0
  call void @_ZN5PointC1ERKS_(ptr noundef nonnull align 8 dereferenceable(120) %3, ptr noundef nonnull align 8 dereferenceable(120) %22)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %23

23:                                               ; preds = %70, %1
  %24 = load i32, ptr %4, align 4, !tbaa !9
  %25 = icmp slt i32 %24, 32
  br i1 %25, label %27, label %26

26:                                               ; preds = %23
  store i32 2, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  br label %74

27:                                               ; preds = %23
  %28 = getelementptr inbounds %class.Secp256K1, ptr %11, i32 0, i32 3
  %29 = load i32, ptr %4, align 4, !tbaa !9
  %30 = mul nsw i32 %29, 256
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [8192 x %class.Point], ptr %28, i64 0, i64 %31
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %32, ptr align 8 %3, i64 120, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 120, ptr %6) #5
  invoke void @_ZN9Secp256K112DoubleDirectER5Point(ptr dead_on_unwind writable sret(%class.Point) align 8 %6, ptr noundef nonnull align 8 dereferenceable(983240) %11, ptr noundef nonnull align 8 dereferenceable(120) %3)
          to label %33 unwind label %38

33:                                               ; preds = %27
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %3, ptr align 8 %6, i64 120, i1 false), !tbaa.struct !11
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %6) #5
  call void @llvm.lifetime.end.p0(i64 120, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 1, ptr %9, align 4, !tbaa !9
  br label %34

34:                                               ; preds = %56, %33
  %35 = load i32, ptr %9, align 4, !tbaa !9
  %36 = icmp slt i32 %35, 255
  br i1 %36, label %42, label %37

37:                                               ; preds = %34
  store i32 5, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %63

38:                                               ; preds = %27
  %39 = landingpad { ptr, i32 }
          cleanup
  %40 = extractvalue { ptr, i32 } %39, 0
  store ptr %40, ptr %7, align 8
  %41 = extractvalue { ptr, i32 } %39, 1
  store i32 %41, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 120, ptr %6) #5
  br label %73

42:                                               ; preds = %34
  %43 = getelementptr inbounds %class.Secp256K1, ptr %11, i32 0, i32 3
  %44 = load i32, ptr %4, align 4, !tbaa !9
  %45 = mul nsw i32 %44, 256
  %46 = load i32, ptr %9, align 4, !tbaa !9
  %47 = add nsw i32 %45, %46
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [8192 x %class.Point], ptr %43, i64 0, i64 %48
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %49, ptr align 8 %3, i64 120, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 120, ptr %10) #5
  %50 = getelementptr inbounds %class.Secp256K1, ptr %11, i32 0, i32 3
  %51 = load i32, ptr %4, align 4, !tbaa !9
  %52 = mul nsw i32 %51, 256
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [8192 x %class.Point], ptr %50, i64 0, i64 %53
  invoke void @_ZN9Secp256K19AddDirectER5PointS1_(ptr dead_on_unwind writable sret(%class.Point) align 8 %10, ptr noundef nonnull align 8 dereferenceable(983240) %11, ptr noundef nonnull align 8 dereferenceable(120) %3, ptr noundef nonnull align 8 dereferenceable(120) %54)
          to label %55 unwind label %59

55:                                               ; preds = %42
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %3, ptr align 8 %10, i64 120, i1 false), !tbaa.struct !11
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %10) #5
  call void @llvm.lifetime.end.p0(i64 120, ptr %10) #5
  br label %56

56:                                               ; preds = %55
  %57 = load i32, ptr %9, align 4, !tbaa !9
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %9, align 4, !tbaa !9
  br label %34, !llvm.loop !13

59:                                               ; preds = %42
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %7, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 120, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %73

63:                                               ; preds = %37
  %64 = getelementptr inbounds %class.Secp256K1, ptr %11, i32 0, i32 3
  %65 = load i32, ptr %4, align 4, !tbaa !9
  %66 = mul nsw i32 %65, 256
  %67 = add nsw i32 %66, 255
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [8192 x %class.Point], ptr %64, i64 0, i64 %68
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %69, ptr align 8 %3, i64 120, i1 false), !tbaa.struct !11
  br label %70

70:                                               ; preds = %63
  %71 = load i32, ptr %4, align 4, !tbaa !9
  %72 = add nsw i32 %71, 1
  store i32 %72, ptr %4, align 4, !tbaa !9
  br label %23, !llvm.loop !15

73:                                               ; preds = %59, %38
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %3) #5
  call void @llvm.lifetime.end.p0(i64 120, ptr %3) #5
  br label %75

74:                                               ; preds = %26
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %3) #5
  call void @llvm.lifetime.end.p0(i64 120, ptr %3) #5
  ret void

75:                                               ; preds = %73
  %76 = load ptr, ptr %7, align 8
  %77 = load i32, ptr %8, align 4
  %78 = insertvalue { ptr, i32 } poison, ptr %76, 0
  %79 = insertvalue { ptr, i32 } %78, i32 %77, 1
  resume { ptr, i32 } %79
}

declare void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) #2

declare void @_ZN3Int10SetupFieldEPS_S0_S0_S0_S0_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) #2

declare void @_ZN3Int6InitK1EPS_(ptr noundef) #2

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

declare void @_ZN5PointC1ERKS_(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #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) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9Secp256K112DoubleDirectER5Point(ptr dead_on_unwind noalias writable sret(%class.Point) align 8, ptr noundef nonnull align 8 dereferenceable(983240), ptr noundef nonnull align 8 dereferenceable(120)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9Secp256K19AddDirectER5PointS1_(ptr dead_on_unwind noalias writable sret(%class.Point) align 8, ptr noundef nonnull align 8 dereferenceable(983240), ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(120)) #1 align 2

attributes #0 = { 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 #1 = { 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 #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{i64 0, i64 40, !12, i64 40, i64 40, !12, i64 80, i64 40, !12}
!12 = !{!7, !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !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"

%class.Point = type { %class.Int, %class.Int, %class.Int }
%class.Int = type { %union.anon }
%union.anon = type { [5 x i64] }

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9Secp256K14InitEv(ptr noundef nonnull align 8 dereferenceable(983240) %0) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %class.Point, align 8
  %3 = alloca %class.Point, align 8
  %4 = alloca %class.Point, align 8
  %5 = getelementptr inbounds i8, ptr %0, i64 120
  tail call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef nonnull @.str)
  tail call void @_ZN3Int10SetupFieldEPS_S0_S0_S0_S0_(ptr noundef nonnull %5, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null)
  tail call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef nonnull @.str.1)
  %6 = getelementptr inbounds i8, ptr %0, i64 40
  tail call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef nonnull @.str.2)
  %7 = getelementptr inbounds i8, ptr %0, i64 80
  tail call void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40) %7, i32 noundef 1)
  %8 = getelementptr inbounds i8, ptr %0, i64 160
  tail call void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull @.str.3)
  tail call void @_ZN3Int6InitK1EPS_(ptr noundef nonnull %8)
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %2) #5
  call void @_ZN5PointC1ERKS_(ptr noundef nonnull align 8 dereferenceable(120) %2, ptr noundef nonnull align 8 dereferenceable(120) %0)
  %9 = getelementptr inbounds i8, ptr %0, i64 200
  br label %11

10:                                               ; preds = %15
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %2) #5
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %2) #5
  ret void

11:                                               ; preds = %1, %15
  %indvars.iv18 = phi i64 [ 0, %1 ], [ %indvars.iv.next19, %15 ]
  %12 = shl nuw nsw i64 %indvars.iv18, 8
  %13 = getelementptr inbounds [8192 x %class.Point], ptr %9, i64 0, i64 %12
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %13, ptr noundef nonnull align 8 dereferenceable(120) %2, i64 120, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %3) #5
  invoke void @_ZN9Secp256K112DoubleDirectER5Point(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %3, ptr noundef nonnull align 8 dereferenceable(983240) %0, ptr noundef nonnull align 8 dereferenceable(120) %2)
          to label %14 unwind label %18

14:                                               ; preds = %11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %2, ptr noundef nonnull align 8 dereferenceable(120) %3, i64 120, i1 false), !tbaa.struct !5
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %3) #5
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %3) #5
  br label %20

15:                                               ; preds = %23
  %16 = or disjoint i64 %12, 255
  %17 = getelementptr inbounds [8192 x %class.Point], ptr %9, i64 0, i64 %16
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %17, ptr noundef nonnull align 8 dereferenceable(120) %2, i64 120, i1 false), !tbaa.struct !5
  %indvars.iv.next19 = add nuw nsw i64 %indvars.iv18, 1
  %exitcond21.not = icmp eq i64 %indvars.iv.next19, 32
  br i1 %exitcond21.not, label %10, label %11, !llvm.loop !9

18:                                               ; preds = %11
  %19 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %3) #5
  br label %26

20:                                               ; preds = %14, %23
  %indvars.iv = phi i64 [ 1, %14 ], [ %indvars.iv.next, %23 ]
  %21 = or disjoint i64 %indvars.iv, %12
  %22 = getelementptr inbounds [8192 x %class.Point], ptr %9, i64 0, i64 %21
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %22, ptr noundef nonnull align 8 dereferenceable(120) %2, i64 120, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %4) #5
  invoke void @_ZN9Secp256K19AddDirectER5PointS1_(ptr dead_on_unwind nonnull writable sret(%class.Point) align 8 %4, ptr noundef nonnull align 8 dereferenceable(983240) %0, ptr noundef nonnull align 8 dereferenceable(120) %2, ptr noundef nonnull align 8 dereferenceable(120) %13)
          to label %23 unwind label %24

23:                                               ; preds = %20
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %2, ptr noundef nonnull align 8 dereferenceable(120) %4, i64 120, i1 false), !tbaa.struct !5
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %4) #5
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %4) #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 255
  br i1 %exitcond.not, label %15, label %20, !llvm.loop !11

24:                                               ; preds = %20
  %25 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %4) #5
  br label %26

26:                                               ; preds = %24, %18
  %.pn = phi { ptr, i32 } [ %25, %24 ], [ %19, %18 ]
  call void @_ZN5PointD1Ev(ptr noundef nonnull align 8 dereferenceable(120) %2) #5
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %2) #5
  resume { ptr, i32 } %.pn
}

declare void @_ZN3Int9SetBase16EPKc(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) local_unnamed_addr #2

declare void @_ZN3Int10SetupFieldEPS_S0_S0_S0_S0_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN3Int8SetInt32Ej(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) local_unnamed_addr #2

declare void @_ZN3Int6InitK1EPS_(ptr noundef) local_unnamed_addr #2

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

declare void @_ZN5PointC1ERKS_(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #2

; Function Attrs: mustprogress 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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9Secp256K112DoubleDirectER5Point(ptr dead_on_unwind noalias writable sret(%class.Point) align 8, ptr noundef nonnull align 8 dereferenceable(983240), ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9Secp256K19AddDirectER5PointS1_(ptr dead_on_unwind noalias writable sret(%class.Point) align 8, ptr noundef nonnull align 8 dereferenceable(983240), ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #1 align 2

attributes #0 = { 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 #1 = { 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 #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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{i64 0, i64 40, !6, i64 40, i64 40, !6, i64 80, i64 40, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass