; 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 }
%"class.std::initializer_list.1" = type { ptr, i64 }

@constinit = external hidden constant [2 x x86_fp80], align 16

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z19circleCircleTangent6CircleS_bRSt6vectorISt4pairI2ptS2_ESaIS3_EE(ptr noundef byval(%struct.Circle) align 16 %0, ptr noundef byval(%struct.Circle) align 16 %1, i1 noundef zeroext %2, ptr noundef nonnull align 8 dereferenceable(24) %3) #4 {
  %5 = alloca i32, align 4
  %6 = alloca i8, align 1
  %7 = alloca ptr, align 8
  %8 = alloca %struct.pt, align 16
  %9 = alloca %struct.pt, align 16
  %10 = alloca x86_fp80, align 16
  %11 = alloca x86_fp80, align 16
  %12 = alloca x86_fp80, align 16
  %13 = alloca %struct.pt, align 16
  %14 = alloca x86_fp80, align 16
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca %"class.std::initializer_list.1", align 8
  %18 = alloca [2 x x86_fp80], align 16
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca x86_fp80, align 16
  %22 = alloca %struct.pt, align 16
  %23 = alloca %struct.pt, align 16
  %24 = alloca %struct.pt, align 16
  %25 = alloca %struct.pt, align 16
  %26 = alloca %struct.pt, align 16
  %27 = alloca %struct.pt, align 16
  %28 = alloca %struct.pt, align 16
  %29 = alloca x86_fp80, align 16
  %30 = alloca %struct.pt, align 16
  %31 = alloca %struct.pt, align 16
  %32 = alloca %struct.pt, align 16
  %33 = alloca %struct.pt, align 16
  %34 = zext i1 %2 to i8
  store i8 %34, ptr %6, align 1, !tbaa !5
  store ptr %3, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #6
  %35 = getelementptr inbounds %struct.Circle, ptr %1, i32 0, i32 0
  %36 = getelementptr inbounds %struct.Circle, ptr %0, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 %36, i64 32, i1 false), !tbaa.struct !11
  call void @_ZNK2ptmiES_(ptr dead_on_unwind writable sret(%struct.pt) align 16 %8, ptr noundef nonnull align 16 dereferenceable(32) %35, ptr noundef byval(%struct.pt) align 16 %9)
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #6
  %37 = load i8, ptr %6, align 1, !tbaa !5, !range !14, !noundef !15
  %38 = trunc i8 %37 to i1
  br i1 %38, label %39, label %43

39:                                               ; preds = %4
  %40 = getelementptr inbounds %struct.Circle, ptr %1, i32 0, i32 1
  %41 = load x86_fp80, ptr %40, align 16, !tbaa !16
  %42 = fneg x86_fp80 %41
  br label %46

43:                                               ; preds = %4
  %44 = getelementptr inbounds %struct.Circle, ptr %1, i32 0, i32 1
  %45 = load x86_fp80, ptr %44, align 16, !tbaa !16
  br label %46

46:                                               ; preds = %43, %39
  %47 = phi x86_fp80 [ %42, %39 ], [ %45, %43 ]
  store x86_fp80 %47, ptr %10, align 16, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #6
  %48 = getelementptr inbounds %struct.Circle, ptr %0, i32 0, i32 1
  %49 = load x86_fp80, ptr %48, align 16, !tbaa !16
  %50 = load x86_fp80, ptr %10, align 16, !tbaa !12
  %51 = fsub x86_fp80 %49, %50
  store x86_fp80 %51, ptr %11, align 16, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 16, 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
  %52 = call noundef x86_fp80 @_Z4norm2pt(ptr noundef byval(%struct.pt) align 16 %13)
  store x86_fp80 %52, ptr %12, align 16, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  %53 = load x86_fp80, ptr %12, align 16, !tbaa !12
  %54 = load x86_fp80, ptr %11, align 16, !tbaa !12
  %55 = load x86_fp80, ptr %11, align 16, !tbaa !12
  %56 = fneg x86_fp80 %54
  %57 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %56, x86_fp80 %55, x86_fp80 %53)
  store x86_fp80 %57, ptr %14, align 16, !tbaa !12
  %58 = load x86_fp80, ptr %12, align 16, !tbaa !12
  %59 = call noundef zeroext i1 @_Z2eqee(x86_fp80 noundef %58, x86_fp80 noundef 0xK00000000000000000000)
  br i1 %59, label %63, label %60

60:                                               ; preds = %46
  %61 = load x86_fp80, ptr %14, align 16, !tbaa !12
  %62 = call noundef zeroext i1 @_Z2ltee(x86_fp80 noundef %61, x86_fp80 noundef 0xK00000000000000000000)
  br i1 %62, label %63, label %68

63:                                               ; preds = %60, %46
  %64 = load x86_fp80, ptr %14, align 16, !tbaa !12
  %65 = call noundef zeroext i1 @_Z2eqee(x86_fp80 noundef %64, x86_fp80 noundef 0xK00000000000000000000)
  %66 = zext i1 %65 to i64
  %67 = select i1 %65, i32 2, i32 0
  store i32 %67, ptr %5, align 4
  store i32 1, ptr %15, align 4
  br label %100

68:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 @constinit, i64 32, i1 false), !tbaa.struct !19
  %69 = getelementptr inbounds %"class.std::initializer_list.1", ptr %17, i32 0, i32 0
  store ptr %18, ptr %69, align 8, !tbaa !21
  %70 = getelementptr inbounds %"class.std::initializer_list.1", ptr %17, i32 0, i32 1
  store i64 2, ptr %70, align 8, !tbaa !24
  store ptr %17, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %71 = load ptr, ptr %16, align 8, !tbaa !9
  %72 = call noundef ptr @_ZNKSt16initializer_listIeE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %71) #6
  store ptr %72, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %73 = load ptr, ptr %16, align 8, !tbaa !9
  %74 = call noundef ptr @_ZNKSt16initializer_listIeE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %73) #6
  store ptr %74, ptr %20, align 8, !tbaa !9
  br label %75

75:                                               ; preds = %96, %68
  %76 = load ptr, ptr %19, align 8, !tbaa !9
  %77 = load ptr, ptr %20, align 8, !tbaa !9
  %78 = icmp ne ptr %76, %77
  br i1 %78, label %80, label %79

79:                                               ; preds = %75
  store i32 2, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %99

80:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #6
  %81 = load ptr, ptr %19, align 8, !tbaa !9
  %82 = load x86_fp80, ptr %81, align 16, !tbaa !12
  store x86_fp80 %82, ptr %21, align 16, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #6
  %83 = load x86_fp80, ptr %11, align 16, !tbaa !12
  call void @_ZNK2ptmlEe(ptr dead_on_unwind writable sret(%struct.pt) align 16 %24, ptr noundef nonnull align 16 dereferenceable(32) %8, x86_fp80 noundef %83)
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %28, ptr align 16 %8, i64 32, i1 false), !tbaa.struct !11
  call void @_Z4perp2pt(ptr dead_on_unwind writable sret(%struct.pt) align 16 %27, ptr noundef byval(%struct.pt) align 16 %28)
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #6
  store x86_fp80 0xK00000000000000000000, ptr %29, align 16, !tbaa !12
  %84 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3maxIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16) %14, ptr noundef nonnull align 16 dereferenceable(16) %29)
  %85 = load x86_fp80, ptr %84, align 16, !tbaa !12
  %86 = call noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %85)
  call void @_ZNK2ptmlEe(ptr dead_on_unwind writable sret(%struct.pt) align 16 %26, ptr noundef nonnull align 16 dereferenceable(32) %27, x86_fp80 noundef %86)
  %87 = load x86_fp80, ptr %21, align 16, !tbaa !12
  call void @_ZNK2ptmlEe(ptr dead_on_unwind writable sret(%struct.pt) align 16 %25, ptr noundef nonnull align 16 dereferenceable(32) %26, x86_fp80 noundef %87)
  call void @_ZNK2ptplES_(ptr dead_on_unwind writable sret(%struct.pt) align 16 %23, ptr noundef nonnull align 16 dereferenceable(32) %24, ptr noundef byval(%struct.pt) align 16 %25)
  %88 = load x86_fp80, ptr %12, align 16, !tbaa !12
  call void @_ZNK2ptdvEe(ptr dead_on_unwind writable sret(%struct.pt) align 16 %22, ptr noundef nonnull align 16 dereferenceable(32) %23, x86_fp80 noundef %88)
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #6
  %89 = load ptr, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #6
  %90 = getelementptr inbounds %struct.Circle, ptr %0, i32 0, i32 0
  %91 = getelementptr inbounds %struct.Circle, ptr %0, i32 0, i32 1
  %92 = load x86_fp80, ptr %91, align 16, !tbaa !16
  call void @_ZNK2ptmlEe(ptr dead_on_unwind writable sret(%struct.pt) align 16 %31, ptr noundef nonnull align 16 dereferenceable(32) %22, x86_fp80 noundef %92)
  call void @_ZNK2ptplES_(ptr dead_on_unwind writable sret(%struct.pt) align 16 %30, ptr noundef nonnull align 16 dereferenceable(32) %90, ptr noundef byval(%struct.pt) align 16 %31)
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #6
  %93 = getelementptr inbounds %struct.Circle, ptr %1, i32 0, i32 0
  %94 = load x86_fp80, ptr %10, align 16, !tbaa !12
  call void @_ZNK2ptmlEe(ptr dead_on_unwind writable sret(%struct.pt) align 16 %33, ptr noundef nonnull align 16 dereferenceable(32) %22, x86_fp80 noundef %94)
  call void @_ZNK2ptplES_(ptr dead_on_unwind writable sret(%struct.pt) align 16 %32, ptr noundef nonnull align 16 dereferenceable(32) %93, ptr noundef byval(%struct.pt) align 16 %33)
  %95 = call noundef nonnull align 1 ptr @_ZNSt6vectorISt4pairI2ptS1_ESaIS2_EE12emplace_backIJS1_S1_EEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %89, ptr noundef nonnull align 16 dereferenceable(32) %30, ptr noundef nonnull align 16 dereferenceable(32) %32)
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  br label %96

96:                                               ; preds = %80
  %97 = load ptr, ptr %19, align 8, !tbaa !9
  %98 = getelementptr inbounds x86_fp80, ptr %97, i32 1
  store ptr %98, ptr %19, align 8, !tbaa !9
  br label %75

99:                                               ; preds = %79
  store i32 1, ptr %5, align 4
  store i32 1, ptr %15, align 4
  br label %100

100:                                              ; preds = %99, %63
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  %101 = load i32, ptr %5, align 4
  ret i32 %101
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt16initializer_listIeE5beginEv(ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt16initializer_listIeE3endEv(ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 ptr @_ZNSt6vectorISt4pairI2ptS1_ESaIS2_EE12emplace_backIJS1_S1_EEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) #4 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 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{i64 0, i64 16, !12, i64 16, i64 16, !12}
!12 = !{!13, !13, i64 0}
!13 = !{!"long double", !7, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = !{!17, !13, i64 32}
!17 = !{!"_ZTS6Circle", !18, i64 0, !13, i64 32}
!18 = !{!"_ZTS2pt", !13, i64 0, !13, i64 16}
!19 = !{i64 0, i64 32, !20}
!20 = !{!7, !7, i64 0}
!21 = !{!22, !10, i64 0}
!22 = !{!"_ZTSSt16initializer_listIeE", !10, i64 0, !23, i64 8}
!23 = !{!"long", !7, i64 0}
!24 = !{!22, !23, i64 8}


; 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 }
%"class.std::initializer_list.1" = type { ptr, i64 }

@constinit = external hidden local_unnamed_addr constant [2 x x86_fp80], align 16

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

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

; Function Attrs: mustprogress 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) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress 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) local_unnamed_addr #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 #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) local_unnamed_addr #4 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
define dso_local noundef range(i32 0, 3) i32 @_Z19circleCircleTangent6CircleS_bRSt6vectorISt4pairI2ptS2_ESaIS3_EE(ptr noundef byval(%struct.Circle) align 16 %0, ptr noundef nonnull byval(%struct.Circle) align 16 %1, i1 noundef zeroext %2, ptr noundef nonnull align 8 dereferenceable(24) %3) local_unnamed_addr #4 {
  %5 = alloca %struct.pt, align 16
  %6 = alloca x86_fp80, align 16
  %7 = alloca %"class.std::initializer_list.1", align 8
  %8 = alloca [2 x x86_fp80], align 16
  %9 = alloca %struct.pt, align 16
  %10 = alloca %struct.pt, 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 x86_fp80, 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
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #6
  call void @_ZNK2ptmiES_(ptr dead_on_unwind nonnull writable sret(%struct.pt) align 16 %5, ptr noundef nonnull align 16 dereferenceable(32) %1, ptr noundef nonnull byval(%struct.pt) align 16 %0)
  %20 = getelementptr inbounds i8, ptr %1, i64 32
  %21 = load x86_fp80, ptr %20, align 16
  %22 = fneg x86_fp80 %21
  %23 = select i1 %2, x86_fp80 %22, x86_fp80 %21
  %24 = getelementptr inbounds i8, ptr %0, i64 32
  %25 = load x86_fp80, ptr %24, align 16, !tbaa !5
  %26 = fsub x86_fp80 %25, %23
  %27 = call noundef x86_fp80 @_Z4norm2pt(ptr noundef nonnull byval(%struct.pt) align 16 %5)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #6
  %28 = fneg x86_fp80 %26
  %29 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %28, x86_fp80 %26, x86_fp80 %27)
  store x86_fp80 %29, ptr %6, align 16, !tbaa !11
  %30 = call noundef zeroext i1 @_Z2eqee(x86_fp80 noundef %27, x86_fp80 noundef 0xK00000000000000000000)
  br i1 %30, label %33, label %31

31:                                               ; preds = %4
  %32 = call noundef zeroext i1 @_Z2ltee(x86_fp80 noundef %29, x86_fp80 noundef 0xK00000000000000000000)
  br i1 %32, label %33, label %36

33:                                               ; preds = %31, %4
  %34 = call noundef zeroext i1 @_Z2eqee(x86_fp80 noundef %29, x86_fp80 noundef 0xK00000000000000000000)
  %35 = select i1 %34, i32 2, i32 0
  br label %47

36:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %8, ptr noundef nonnull align 16 dereferenceable(32) @constinit, i64 32, i1 false), !tbaa.struct !12
  store ptr %8, ptr %7, align 8, !tbaa !14
  %37 = getelementptr inbounds i8, ptr %7, i64 8
  store i64 2, ptr %37, align 8, !tbaa !18
  %38 = call noundef ptr @_ZNKSt16initializer_listIeE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  %39 = call noundef ptr @_ZNKSt16initializer_listIeE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  %.not19 = icmp eq ptr %38, %39
  br i1 %.not19, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %36
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  br label %47

.lr.ph:                                           ; preds = %36, %.lr.ph
  %.01820 = phi ptr [ %46, %.lr.ph ], [ %38, %36 ]
  %40 = load x86_fp80, ptr %.01820, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #6
  call void @_ZNK2ptmlEe(ptr dead_on_unwind nonnull writable sret(%struct.pt) align 16 %11, ptr noundef nonnull align 16 dereferenceable(32) %5, x86_fp80 noundef %26)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #6
  call void @_Z4perp2pt(ptr dead_on_unwind nonnull writable sret(%struct.pt) align 16 %14, ptr noundef nonnull byval(%struct.pt) align 16 %5)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #6
  store x86_fp80 0xK00000000000000000000, ptr %15, align 16, !tbaa !11
  %41 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3maxIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16) %6, ptr noundef nonnull align 16 dereferenceable(16) %15)
  %42 = load x86_fp80, ptr %41, align 16, !tbaa !11
  %43 = call noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %42)
  call void @_ZNK2ptmlEe(ptr dead_on_unwind nonnull writable sret(%struct.pt) align 16 %13, ptr noundef nonnull align 16 dereferenceable(32) %14, x86_fp80 noundef %43)
  call void @_ZNK2ptmlEe(ptr dead_on_unwind nonnull writable sret(%struct.pt) align 16 %12, ptr noundef nonnull align 16 dereferenceable(32) %13, x86_fp80 noundef %40)
  call void @_ZNK2ptplES_(ptr dead_on_unwind nonnull writable sret(%struct.pt) align 16 %10, ptr noundef nonnull align 16 dereferenceable(32) %11, ptr noundef nonnull byval(%struct.pt) align 16 %12)
  call void @_ZNK2ptdvEe(ptr dead_on_unwind nonnull writable sret(%struct.pt) align 16 %9, ptr noundef nonnull align 16 dereferenceable(32) %10, x86_fp80 noundef %27)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #6
  %44 = load x86_fp80, ptr %24, align 16, !tbaa !5
  call void @_ZNK2ptmlEe(ptr dead_on_unwind nonnull writable sret(%struct.pt) align 16 %17, ptr noundef nonnull align 16 dereferenceable(32) %9, x86_fp80 noundef %44)
  call void @_ZNK2ptplES_(ptr dead_on_unwind nonnull writable sret(%struct.pt) align 16 %16, ptr noundef nonnull align 16 dereferenceable(32) %0, ptr noundef nonnull byval(%struct.pt) align 16 %17)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #6
  call void @_ZNK2ptmlEe(ptr dead_on_unwind nonnull writable sret(%struct.pt) align 16 %19, ptr noundef nonnull align 16 dereferenceable(32) %9, x86_fp80 noundef %23)
  call void @_ZNK2ptplES_(ptr dead_on_unwind nonnull writable sret(%struct.pt) align 16 %18, ptr noundef nonnull align 16 dereferenceable(32) %1, ptr noundef nonnull byval(%struct.pt) align 16 %19)
  %45 = call noundef nonnull align 1 ptr @_ZNSt6vectorISt4pairI2ptS1_ESaIS2_EE12emplace_backIJS1_S1_EEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 16 dereferenceable(32) %16, ptr noundef nonnull align 16 dereferenceable(32) %18)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #6
  %46 = getelementptr inbounds i8, ptr %.01820, i64 16
  %.not = icmp eq ptr %46, %39
  br i1 %.not, label %._crit_edge, label %.lr.ph

47:                                               ; preds = %._crit_edge, %33
  %.0 = phi i32 [ %35, %33 ], [ 1, %._crit_edge ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  ret i32 %.0
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt16initializer_listIeE5beginEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt16initializer_listIeE3endEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 ptr @_ZNSt6vectorISt4pairI2ptS1_ESaIS2_EE12emplace_backIJS1_S1_EEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #4 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 = { mustprogress 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 = { mustprogress 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 = !{!8, !8, i64 0}
!12 = !{i64 0, i64 32, !13}
!13 = !{!9, !9, i64 0}
!14 = !{!15, !16, i64 0}
!15 = !{!"_ZTSSt16initializer_listIeE", !16, i64 0, !17, i64 8}
!16 = !{!"any pointer", !9, i64 0}
!17 = !{!"long", !9, i64 0}
!18 = !{!15, !17, i64 8}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass