; 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 }
%struct.Line = 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: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #1

; 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: mustprogress uwtable
declare dso_local noundef x86_fp80 @_Z3abs2pt(ptr noundef byval(%struct.pt) align 16) #3

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_Z3ang2ptS_S_(ptr noundef byval(%struct.pt) align 16, ptr noundef byval(%struct.pt) align 16, ptr noundef byval(%struct.pt) align 16) #3

; 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) #3 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 @_ZNK2ptdvEe(ptr dead_on_unwind noalias writable sret(%struct.pt) align 16, ptr noundef nonnull align 16 dereferenceable(32), x86_fp80 noundef) #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) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3maxIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16)) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_ZNK4Line6distSqE2pt(ptr noundef nonnull align 16 dereferenceable(48), ptr noundef byval(%struct.pt) align 16) #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef x86_fp80 @_Z31circleHalfPlaneIntersectionArea6Circle4Line(ptr noundef byval(%struct.Circle) align 16 %0, ptr noundef byval(%struct.Line) align 16 %1) #3 {
  %3 = alloca x86_fp80, align 16
  %4 = alloca %struct.pt, align 16
  %5 = alloca x86_fp80, 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 x86_fp80, align 16
  %11 = alloca %struct.pt, align 16
  %12 = alloca %struct.pt, align 16
  %13 = alloca %struct.pt, align 16
  %14 = alloca %struct.pt, align 16
  %15 = alloca %struct.pt, align 16
  %16 = alloca x86_fp80, 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
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #6
  %21 = getelementptr inbounds %struct.Circle, ptr %0, i32 0, i32 1
  %22 = load x86_fp80, ptr %21, align 16, !tbaa !5
  %23 = getelementptr inbounds %struct.Circle, ptr %0, i32 0, i32 1
  %24 = load x86_fp80, ptr %23, align 16, !tbaa !5
  %25 = getelementptr inbounds %struct.Circle, ptr %0, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 %25, i64 32, i1 false), !tbaa.struct !11
  %26 = call noundef x86_fp80 @_ZNK4Line6distSqE2pt(ptr noundef nonnull align 16 dereferenceable(48) %1, ptr noundef byval(%struct.pt) align 16 %4)
  %27 = fneg x86_fp80 %26
  %28 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %22, x86_fp80 %24, x86_fp80 %27)
  store x86_fp80 %28, ptr %3, align 16, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #6
  store x86_fp80 0xK00000000000000000000, ptr %5, align 16, !tbaa !12
  %29 = load x86_fp80, ptr %3, align 16, !tbaa !12
  %30 = call noundef zeroext i1 @_Z2ltee(x86_fp80 noundef %29, x86_fp80 noundef 0xK00000000000000000000)
  br i1 %30, label %53, label %31

31:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #6
  %32 = getelementptr inbounds %struct.Circle, ptr %0, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 %32, i64 32, i1 false), !tbaa.struct !11
  call void @_ZNK4Line4projE2pt(ptr dead_on_unwind writable sret(%struct.pt) align 16 %6, ptr noundef nonnull align 16 dereferenceable(48) %1, ptr noundef byval(%struct.pt) align 16 %7)
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #6
  %33 = getelementptr inbounds %struct.Line, ptr %1, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #6
  store x86_fp80 0xK00000000000000000000, ptr %10, align 16, !tbaa !12
  %34 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3maxIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16) %3, ptr noundef nonnull align 16 dereferenceable(16) %10)
  %35 = load x86_fp80, ptr %34, align 16, !tbaa !12
  %36 = call noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %35)
  call void @_ZNK2ptmlEe(ptr dead_on_unwind writable sret(%struct.pt) align 16 %9, ptr noundef nonnull align 16 dereferenceable(32) %33, x86_fp80 noundef %36)
  %37 = getelementptr inbounds %struct.Line, ptr %1, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 %37, i64 32, i1 false), !tbaa.struct !11
  %38 = call noundef x86_fp80 @_Z3abs2pt(ptr noundef byval(%struct.pt) align 16 %11)
  call void @_ZNK2ptdvEe(ptr dead_on_unwind 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 16, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 %8, i64 32, i1 false), !tbaa.struct !11
  call void @_ZNK2ptmiES_(ptr dead_on_unwind writable sret(%struct.pt) align 16 %12, ptr noundef nonnull align 16 dereferenceable(32) %6, ptr noundef byval(%struct.pt) align 16 %13)
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %15, ptr align 16 %8, i64 32, i1 false), !tbaa.struct !11
  call void @_ZNK2ptplES_(ptr dead_on_unwind writable sret(%struct.pt) align 16 %14, ptr noundef nonnull align 16 dereferenceable(32) %6, ptr noundef byval(%struct.pt) align 16 %15)
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %17, ptr align 16 %12, i64 32, i1 false), !tbaa.struct !11
  %39 = getelementptr inbounds %struct.Circle, ptr %0, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 %39, i64 32, i1 false), !tbaa.struct !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %19, ptr align 16 %14, i64 32, i1 false), !tbaa.struct !11
  %40 = call noundef x86_fp80 @_Z3ang2ptS_S_(ptr noundef byval(%struct.pt) align 16 %17, ptr noundef byval(%struct.pt) align 16 %18, ptr noundef byval(%struct.pt) align 16 %19)
  %41 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %40)
  store x86_fp80 %41, ptr %16, align 16, !tbaa !12
  %42 = getelementptr inbounds %struct.Circle, ptr %0, i32 0, i32 1
  %43 = load x86_fp80, ptr %42, align 16, !tbaa !5
  %44 = getelementptr inbounds %struct.Circle, ptr %0, i32 0, i32 1
  %45 = load x86_fp80, ptr %44, align 16, !tbaa !5
  %46 = fmul x86_fp80 %43, %45
  %47 = load x86_fp80, ptr %16, align 16, !tbaa !12
  %48 = load x86_fp80, ptr %16, align 16, !tbaa !12
  %49 = call noundef x86_fp80 @_ZSt3sine(x86_fp80 noundef %48)
  %50 = fsub x86_fp80 %47, %49
  %51 = fmul x86_fp80 %46, %50
  %52 = fdiv x86_fp80 %51, 0xK40008000000000000000
  store x86_fp80 %52, ptr %5, align 16, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #6
  br label %53

53:                                               ; preds = %31, %2
  %54 = getelementptr inbounds %struct.Circle, ptr %0, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %20, ptr align 16 %54, i64 32, i1 false), !tbaa.struct !11
  %55 = call noundef i32 @_ZNK4Line6onLeftE2pt(ptr noundef nonnull align 16 dereferenceable(48) %1, ptr noundef byval(%struct.pt) align 16 %20)
  %56 = icmp sgt i32 %55, 0
  br i1 %56, label %57, label %67

57:                                               ; preds = %53
  %58 = call noundef x86_fp80 @_ZSt4acose(x86_fp80 noundef 0xKBFFF8000000000000000)
  %59 = getelementptr inbounds %struct.Circle, ptr %0, i32 0, i32 1
  %60 = load x86_fp80, ptr %59, align 16, !tbaa !5
  %61 = fmul x86_fp80 %58, %60
  %62 = getelementptr inbounds %struct.Circle, ptr %0, i32 0, i32 1
  %63 = load x86_fp80, ptr %62, align 16, !tbaa !5
  %64 = load x86_fp80, ptr %5, align 16, !tbaa !12
  %65 = fneg x86_fp80 %64
  %66 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %61, x86_fp80 %63, x86_fp80 %65)
  store x86_fp80 %66, ptr %5, align 16, !tbaa !12
  br label %67

67:                                               ; preds = %57, %53
  %68 = load x86_fp80, ptr %5, align 16, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #6
  ret x86_fp80 %68
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4Line6onLeftE2pt(ptr noundef nonnull align 16 dereferenceable(48), ptr noundef byval(%struct.pt) align 16) #0 align 2

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

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 = { 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 = { 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 #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, !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"}
!11 = !{i64 0, i64 16, !12, i64 16, i64 16, !12}
!12 = !{!8, !8, 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.pt = type { x86_fp80, x86_fp80 }
%struct.Circle = type { %struct.pt, x86_fp80 }
%struct.Line = 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 nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #1

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_ZSt3sine(x86_fp80 noundef) local_unnamed_addr #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) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_Z3ang2ptS_S_(ptr noundef byval(%struct.pt) align 16, ptr noundef byval(%struct.pt) align 16, ptr noundef byval(%struct.pt) align 16) 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) #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 #2 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 @_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 #2 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 #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3maxIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_ZNK4Line6distSqE2pt(ptr noundef nonnull align 16 dereferenceable(48), ptr noundef byval(%struct.pt) align 16) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef x86_fp80 @_Z31circleHalfPlaneIntersectionArea6Circle4Line(ptr nocapture noundef readonly byval(%struct.Circle) align 16 %0, ptr noundef nonnull byval(%struct.Line) align 16 %1) local_unnamed_addr #2 {
  %3 = alloca x86_fp80, align 16
  %4 = alloca %struct.pt, align 16
  %5 = alloca %struct.pt, align 16
  %6 = alloca %struct.pt, align 16
  %7 = alloca x86_fp80, align 16
  %8 = alloca %struct.pt, align 16
  %9 = alloca %struct.pt, align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #5
  %10 = getelementptr inbounds i8, ptr %0, i64 32
  %11 = load x86_fp80, ptr %10, align 16, !tbaa !5
  %12 = call noundef x86_fp80 @_ZNK4Line6distSqE2pt(ptr noundef nonnull align 16 dereferenceable(48) %1, ptr noundef nonnull byval(%struct.pt) align 16 %0)
  %13 = fneg x86_fp80 %12
  %14 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %11, x86_fp80 %11, x86_fp80 %13)
  store x86_fp80 %14, ptr %3, align 16, !tbaa !11
  %15 = call noundef zeroext i1 @_Z2ltee(x86_fp80 noundef %14, x86_fp80 noundef 0xK00000000000000000000)
  br i1 %15, label %28, label %16

16:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #5
  call void @_ZNK4Line4projE2pt(ptr dead_on_unwind nonnull writable sret(%struct.pt) align 16 %4, ptr noundef nonnull align 16 dereferenceable(48) %1, ptr noundef nonnull byval(%struct.pt) align 16 %0)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  store x86_fp80 0xK00000000000000000000, ptr %7, align 16, !tbaa !11
  %17 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3maxIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16) %3, ptr noundef nonnull align 16 dereferenceable(16) %7)
  %18 = load x86_fp80, ptr %17, align 16, !tbaa !11
  %19 = call noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %18)
  call void @_ZNK2ptmlEe(ptr dead_on_unwind nonnull writable sret(%struct.pt) align 16 %6, ptr noundef nonnull align 16 dereferenceable(32) %1, x86_fp80 noundef %19)
  %20 = call noundef x86_fp80 @_Z3abs2pt(ptr noundef nonnull byval(%struct.pt) align 16 %1)
  call void @_ZNK2ptdvEe(ptr dead_on_unwind nonnull writable sret(%struct.pt) align 16 %5, ptr noundef nonnull align 16 dereferenceable(32) %6, x86_fp80 noundef %20)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #5
  call void @_ZNK2ptmiES_(ptr dead_on_unwind nonnull writable sret(%struct.pt) align 16 %8, ptr noundef nonnull align 16 dereferenceable(32) %4, ptr noundef nonnull byval(%struct.pt) align 16 %5)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #5
  call void @_ZNK2ptplES_(ptr dead_on_unwind nonnull writable sret(%struct.pt) align 16 %9, ptr noundef nonnull align 16 dereferenceable(32) %4, ptr noundef nonnull byval(%struct.pt) align 16 %5)
  %21 = call noundef x86_fp80 @_Z3ang2ptS_S_(ptr noundef nonnull byval(%struct.pt) align 16 %8, ptr noundef nonnull byval(%struct.pt) align 16 %0, ptr noundef nonnull byval(%struct.pt) align 16 %9)
  %22 = call noundef x86_fp80 @_ZSt3abse(x86_fp80 noundef %21)
  %23 = fmul x86_fp80 %11, %11
  %24 = call noundef x86_fp80 @_ZSt3sine(x86_fp80 noundef %22)
  %25 = fsub x86_fp80 %22, %24
  %26 = fmul x86_fp80 %23, %25
  %27 = fmul x86_fp80 %26, 0xK3FFE8000000000000000
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #5
  br label %28

28:                                               ; preds = %16, %2
  %.0 = phi x86_fp80 [ 0xK00000000000000000000, %2 ], [ %27, %16 ]
  %29 = call noundef i32 @_ZNK4Line6onLeftE2pt(ptr noundef nonnull align 16 dereferenceable(48) %1, ptr noundef nonnull byval(%struct.pt) align 16 %0)
  %30 = icmp sgt i32 %29, 0
  br i1 %30, label %31, label %36

31:                                               ; preds = %28
  %32 = call noundef x86_fp80 @_ZSt4acose(x86_fp80 noundef 0xKBFFF8000000000000000)
  %33 = fmul x86_fp80 %11, %32
  %34 = fneg x86_fp80 %.0
  %35 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %33, x86_fp80 %11, x86_fp80 %34)
  br label %36

36:                                               ; preds = %31, %28
  %.1 = phi x86_fp80 [ %35, %31 ], [ %.0, %28 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5
  ret x86_fp80 %.1
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4Line6onLeftE2pt(ptr noundef nonnull align 16 dereferenceable(48), ptr noundef byval(%struct.pt) align 16) local_unnamed_addr #0 align 2

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

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 = { 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 #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 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"}
!11 = !{!8, !8, i64 0}


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