; LLVM IR from wesley-a-leung/Resources :: Tests/C++/geometry/2d (ConvexPolygonFuzzTest)

; 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.pt = type { x86_fp80, x86_fp80 }
%struct.Circle = type { %struct.pt, x86_fp80 }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z2ltee(x86_fp80 noundef, x86_fp80 noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z2eqee(x86_fp80 noundef, x86_fp80 noundef) #0

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_Z4norm2pt(ptr noundef byval(%struct.pt) align 16) #0

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK2ptmiES_(ptr dead_on_unwind noalias writable sret(%struct.pt) align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef byval(%struct.pt) align 16) #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK2ptplES_(ptr dead_on_unwind noalias writable sret(%struct.pt) align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef byval(%struct.pt) align 16) #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4perp2pt(ptr dead_on_unwind noalias writable sret(%struct.pt) align 16, ptr noundef byval(%struct.pt) align 16) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK2ptdvEe(ptr dead_on_unwind noalias writable sret(%struct.pt) align 16, ptr noundef nonnull align 16 dereferenceable(32), x86_fp80 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK2ptmlEe(ptr dead_on_unwind noalias writable sret(%struct.pt) align 16, ptr noundef nonnull align 16 dereferenceable(32), x86_fp80 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI2ptSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(32)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI2ptSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(32)) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z24circleCircleIntersection6CircleS_RSt6vectorI2ptSaIS1_EE(ptr noundef byval(%struct.Circle) align 16 %0, ptr noundef byval(%struct.Circle) align 16 %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #4 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %struct.pt, align 16
  %7 = alloca %struct.pt, align 16
  %8 = alloca x86_fp80, align 16
  %9 = alloca %struct.pt, align 16
  %10 = alloca i32, align 4
  %11 = alloca x86_fp80, align 16
  %12 = alloca x86_fp80, align 16
  %13 = alloca %struct.pt, align 16
  %14 = alloca %struct.pt, align 16
  %15 = alloca %struct.pt, align 16
  %16 = alloca %struct.pt, align 16
  %17 = alloca %struct.pt, align 16
  %18 = alloca %struct.pt, align 16
  %19 = alloca %struct.pt, align 16
  %20 = alloca %struct.pt, align 16
  %21 = alloca %struct.pt, align 16
  %22 = alloca %struct.pt, align 16
  store ptr %2, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #6
  %23 = getelementptr inbounds %struct.Circle, ptr %1, i32 0, i32 0
  %24 = getelementptr inbounds %struct.Circle, ptr %0, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 %24, i64 32, i1 false), !tbaa.struct !9
  call void @_ZNK2ptmiES_(ptr dead_on_unwind writable sret(%struct.pt) align 16 %6, ptr noundef nonnull align 16 dereferenceable(32) %23, ptr noundef byval(%struct.pt) align 16 %7)
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 %6, i64 32, i1 false), !tbaa.struct !9
  %25 = call noundef x86_fp80 @_Z4norm2pt(ptr noundef byval(%struct.pt) align 16 %9)
  store x86_fp80 %25, ptr %8, align 16, !tbaa !10
  %26 = load x86_fp80, ptr %8, align 16, !tbaa !10
  %27 = call noundef zeroext i1 @_Z2eqee(x86_fp80 noundef %26, x86_fp80 noundef 0xK00000000000000000000)
  br i1 %27, label %28, label %36

28:                                               ; preds = %3
  %29 = getelementptr inbounds %struct.Circle, ptr %0, i32 0, i32 1
  %30 = load x86_fp80, ptr %29, align 16, !tbaa !12
  %31 = getelementptr inbounds %struct.Circle, ptr %1, i32 0, i32 1
  %32 = load x86_fp80, ptr %31, align 16, !tbaa !12
  %33 = call noundef zeroext i1 @_Z2eqee(x86_fp80 noundef %30, x86_fp80 noundef %32)
  %34 = zext i1 %33 to i64
  %35 = select i1 %33, i32 2, i32 0
  store i32 %35, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %84

36:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #6
  %37 = load x86_fp80, ptr %8, align 16, !tbaa !10
  %38 = getelementptr inbounds %struct.Circle, ptr %0, i32 0, i32 1
  %39 = load x86_fp80, ptr %38, align 16, !tbaa !12
  %40 = getelementptr inbounds %struct.Circle, ptr %0, i32 0, i32 1
  %41 = load x86_fp80, ptr %40, align 16, !tbaa !12
  %42 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %39, x86_fp80 %41, x86_fp80 %37)
  %43 = getelementptr inbounds %struct.Circle, ptr %1, i32 0, i32 1
  %44 = load x86_fp80, ptr %43, align 16, !tbaa !12
  %45 = getelementptr inbounds %struct.Circle, ptr %1, i32 0, i32 1
  %46 = load x86_fp80, ptr %45, align 16, !tbaa !12
  %47 = fneg x86_fp80 %44
  %48 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %47, x86_fp80 %46, x86_fp80 %42)
  %49 = fdiv x86_fp80 %48, 0xK40008000000000000000
  store x86_fp80 %49, ptr %11, align 16, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #6
  %50 = getelementptr inbounds %struct.Circle, ptr %0, i32 0, i32 1
  %51 = load x86_fp80, ptr %50, align 16, !tbaa !12
  %52 = getelementptr inbounds %struct.Circle, ptr %0, i32 0, i32 1
  %53 = load x86_fp80, ptr %52, align 16, !tbaa !12
  %54 = load x86_fp80, ptr %11, align 16, !tbaa !10
  %55 = load x86_fp80, ptr %11, align 16, !tbaa !10
  %56 = fmul x86_fp80 %54, %55
  %57 = load x86_fp80, ptr %8, align 16, !tbaa !10
  %58 = fdiv x86_fp80 %56, %57
  %59 = fneg x86_fp80 %58
  %60 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %51, x86_fp80 %53, x86_fp80 %59)
  store x86_fp80 %60, ptr %12, align 16, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #6
  %61 = getelementptr inbounds %struct.Circle, ptr %0, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #6
  %62 = load x86_fp80, ptr %11, align 16, !tbaa !10
  call void @_ZNK2ptmlEe(ptr dead_on_unwind writable sret(%struct.pt) align 16 %15, ptr noundef nonnull align 16 dereferenceable(32) %6, x86_fp80 noundef %62)
  %63 = load x86_fp80, ptr %8, align 16, !tbaa !10
  call void @_ZNK2ptdvEe(ptr dead_on_unwind writable sret(%struct.pt) align 16 %14, ptr noundef nonnull align 16 dereferenceable(32) %15, x86_fp80 noundef %63)
  call void @_ZNK2ptplES_(ptr dead_on_unwind writable sret(%struct.pt) align 16 %13, ptr noundef nonnull align 16 dereferenceable(32) %61, ptr noundef byval(%struct.pt) align 16 %14)
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #6
  %64 = load x86_fp80, ptr %12, align 16, !tbaa !10
  %65 = call noundef zeroext i1 @_Z2eqee(x86_fp80 noundef %64, x86_fp80 noundef 0xK00000000000000000000)
  br i1 %65, label %66, label %68

66:                                               ; preds = %36
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZNSt6vectorI2ptSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %67, ptr noundef nonnull align 16 dereferenceable(32) %13)
  br label %79

68:                                               ; preds = %36
  %69 = load x86_fp80, ptr %12, align 16, !tbaa !10
  %70 = call noundef zeroext i1 @_Z2ltee(x86_fp80 noundef 0xK00000000000000000000, x86_fp80 noundef %69)
  br i1 %70, label %71, label %78

71:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 %6, i64 32, i1 false), !tbaa.struct !9
  call void @_Z4perp2pt(ptr dead_on_unwind writable sret(%struct.pt) align 16 %17, ptr noundef byval(%struct.pt) align 16 %18)
  %72 = load x86_fp80, ptr %12, align 16, !tbaa !10
  %73 = load x86_fp80, ptr %8, align 16, !tbaa !10
  %74 = fdiv x86_fp80 %72, %73
  %75 = call noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %74)
  call void @_ZNK2ptmlEe(ptr dead_on_unwind writable sret(%struct.pt) align 16 %16, ptr noundef nonnull align 16 dereferenceable(32) %17, x86_fp80 noundef %75)
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #6
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %20, ptr align 16 %16, i64 32, i1 false), !tbaa.struct !9
  call void @_ZNK2ptmiES_(ptr dead_on_unwind writable sret(%struct.pt) align 16 %19, ptr noundef nonnull align 16 dereferenceable(32) %13, ptr noundef byval(%struct.pt) align 16 %20)
  call void @_ZNSt6vectorI2ptSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %76, ptr noundef nonnull align 16 dereferenceable(32) %19)
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #6
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %22, ptr align 16 %16, i64 32, i1 false), !tbaa.struct !9
  call void @_ZNK2ptplES_(ptr dead_on_unwind writable sret(%struct.pt) align 16 %21, ptr noundef nonnull align 16 dereferenceable(32) %13, ptr noundef byval(%struct.pt) align 16 %22)
  call void @_ZNSt6vectorI2ptSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %77, ptr noundef nonnull align 16 dereferenceable(32) %21)
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #6
  br label %78

78:                                               ; preds = %71, %68
  br label %79

79:                                               ; preds = %78, %66
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  %81 = call noundef zeroext i1 @_ZNKSt6vectorI2ptSaIS0_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %80) #6
  %82 = xor i1 %81, true
  %83 = zext i1 %82 to i32
  store i32 %83, ptr %4, align 4
  store i32 1, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  br label %84

84:                                               ; preds = %79, %28
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #6
  %85 = load i32, ptr %4, align 4
  ret i32 %85
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorI2ptSaIS0_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

attributes #0 = { mustprogress 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 #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint mustprogress 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 #4 = { 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 #5 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i64 0, i64 16, !10, i64 16, i64 16, !10}
!10 = !{!11, !11, i64 0}
!11 = !{!"long double", !7, i64 0}
!12 = !{!13, !11, i64 32}
!13 = !{!"_ZTS6Circle", !14, i64 0, !11, i64 32}
!14 = !{!"_ZTS2pt", !11, i64 0, !11, i64 16}


; 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.pt = type { x86_fp80, x86_fp80 }
%struct.Circle = type { %struct.pt, x86_fp80 }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z2ltee(x86_fp80 noundef, x86_fp80 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z2eqee(x86_fp80 noundef, x86_fp80 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_Z4norm2pt(ptr noundef byval(%struct.pt) align 16) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK2ptmiES_(ptr dead_on_unwind noalias writable sret(%struct.pt) align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef byval(%struct.pt) align 16) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK2ptplES_(ptr dead_on_unwind noalias writable sret(%struct.pt) align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef byval(%struct.pt) align 16) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z4perp2pt(ptr dead_on_unwind noalias writable sret(%struct.pt) align 16, ptr noundef byval(%struct.pt) align 16) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK2ptdvEe(ptr dead_on_unwind noalias writable sret(%struct.pt) align 16, ptr noundef nonnull align 16 dereferenceable(32), x86_fp80 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK2ptmlEe(ptr dead_on_unwind noalias writable sret(%struct.pt) align 16, ptr noundef nonnull align 16 dereferenceable(32), x86_fp80 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI2ptSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI2ptSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 3) i32 @_Z24circleCircleIntersection6CircleS_RSt6vectorI2ptSaIS1_EE(ptr noundef byval(%struct.Circle) align 16 %0, ptr noundef nonnull byval(%struct.Circle) align 16 %1, ptr noundef nonnull align 8 dereferenceable(24) %2) local_unnamed_addr #3 {
  %4 = alloca %struct.pt, align 16
  %5 = alloca %struct.pt, align 16
  %6 = alloca %struct.pt, align 16
  %7 = alloca %struct.pt, align 16
  %8 = alloca %struct.pt, align 16
  %9 = alloca %struct.pt, align 16
  %10 = alloca %struct.pt, align 16
  %11 = alloca %struct.pt, align 16
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #5
  call void @_ZNK2ptmiES_(ptr dead_on_unwind nonnull writable sret(%struct.pt) align 16 %4, ptr noundef nonnull align 16 dereferenceable(32) %1, ptr noundef nonnull byval(%struct.pt) align 16 %0)
  %12 = call noundef x86_fp80 @_Z4norm2pt(ptr noundef nonnull byval(%struct.pt) align 16 %4)
  %13 = call noundef zeroext i1 @_Z2eqee(x86_fp80 noundef %12, x86_fp80 noundef 0xK00000000000000000000)
  %14 = getelementptr inbounds i8, ptr %0, i64 32
  %15 = load x86_fp80, ptr %14, align 16, !tbaa !5
  br i1 %13, label %16, label %21

16:                                               ; preds = %3
  %17 = getelementptr inbounds i8, ptr %1, i64 32
  %18 = load x86_fp80, ptr %17, align 16, !tbaa !5
  %19 = call noundef zeroext i1 @_Z2eqee(x86_fp80 noundef %15, x86_fp80 noundef %18)
  %20 = select i1 %19, i32 2, i32 0
  br label %43

21:                                               ; preds = %3
  %22 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %15, x86_fp80 %15, x86_fp80 %12)
  %23 = getelementptr inbounds i8, ptr %1, i64 32
  %24 = load x86_fp80, ptr %23, align 16, !tbaa !5
  %25 = fneg x86_fp80 %24
  %26 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %25, x86_fp80 %24, x86_fp80 %22)
  %27 = fmul x86_fp80 %26, 0xK3FFE8000000000000000
  %28 = fneg x86_fp80 %27
  %29 = fmul x86_fp80 %27, %28
  %30 = fdiv x86_fp80 %29, %12
  %31 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %15, x86_fp80 %15, x86_fp80 %30)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #5
  call void @_ZNK2ptmlEe(ptr dead_on_unwind nonnull writable sret(%struct.pt) align 16 %7, ptr noundef nonnull align 16 dereferenceable(32) %4, x86_fp80 noundef %27)
  call void @_ZNK2ptdvEe(ptr dead_on_unwind nonnull writable sret(%struct.pt) align 16 %6, ptr noundef nonnull align 16 dereferenceable(32) %7, x86_fp80 noundef %12)
  call void @_ZNK2ptplES_(ptr dead_on_unwind nonnull writable sret(%struct.pt) align 16 %5, ptr noundef nonnull align 16 dereferenceable(32) %0, ptr noundef nonnull byval(%struct.pt) align 16 %6)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #5
  %32 = call noundef zeroext i1 @_Z2eqee(x86_fp80 noundef %31, x86_fp80 noundef 0xK00000000000000000000)
  br i1 %32, label %33, label %34

33:                                               ; preds = %21
  call void @_ZNSt6vectorI2ptSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 16 dereferenceable(32) %5)
  br label %39

34:                                               ; preds = %21
  %35 = call noundef zeroext i1 @_Z2ltee(x86_fp80 noundef 0xK00000000000000000000, x86_fp80 noundef %31)
  br i1 %35, label %36, label %39

36:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #5
  call void @_Z4perp2pt(ptr dead_on_unwind nonnull writable sret(%struct.pt) align 16 %9, ptr noundef nonnull byval(%struct.pt) align 16 %4)
  %37 = fdiv x86_fp80 %31, %12
  %38 = call noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %37)
  call void @_ZNK2ptmlEe(ptr dead_on_unwind nonnull writable sret(%struct.pt) align 16 %8, ptr noundef nonnull align 16 dereferenceable(32) %9, x86_fp80 noundef %38)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #5
  call void @_ZNK2ptmiES_(ptr dead_on_unwind nonnull writable sret(%struct.pt) align 16 %10, ptr noundef nonnull align 16 dereferenceable(32) %5, ptr noundef nonnull byval(%struct.pt) align 16 %8)
  call void @_ZNSt6vectorI2ptSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 16 dereferenceable(32) %10)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #5
  call void @_ZNK2ptplES_(ptr dead_on_unwind nonnull writable sret(%struct.pt) align 16 %11, ptr noundef nonnull align 16 dereferenceable(32) %5, ptr noundef nonnull byval(%struct.pt) align 16 %8)
  call void @_ZNSt6vectorI2ptSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 16 dereferenceable(32) %11)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #5
  br label %39

39:                                               ; preds = %34, %36, %33
  %40 = call noundef zeroext i1 @_ZNKSt6vectorI2ptSaIS0_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %41 = xor i1 %40, true
  %42 = zext i1 %41 to i32
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  br label %43

43:                                               ; preds = %39, %16
  %.0 = phi i32 [ %20, %16 ], [ %42, %39 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #5
  ret i32 %.0
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorI2ptSaIS0_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

attributes #0 = { mustprogress 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 #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { inlinehint mustprogress 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 = { 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 #4 = { mustprogress nocallback nofree nosync 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, !8, i64 32}
!6 = !{!"_ZTS6Circle", !7, i64 0, !8, i64 32}
!7 = !{!"_ZTS2pt", !8, i64 0, !8, i64 16}
!8 = !{!"long double", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass