; LLVM IR from MtSaka/library :: test/aoj/CGL/CGL_1_A.test.ll (ZN8geometry12tangentpointENS_6circleENS_5pointE)

; 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.geometry::point" = type { x86_fp80, x86_fp80 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<geometry::point, std::allocator<geometry::point>>::_Vector_impl" }
%"struct.std::_Vector_base<geometry::point, std::allocator<geometry::point>>::_Vector_impl" = type { %"struct.std::_Vector_base<geometry::point, std::allocator<geometry::point>>::_Vector_impl_data" }
%"struct.std::_Vector_base<geometry::point, std::allocator<geometry::point>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.geometry::circle" = type { %"struct.geometry::point", x86_fp80 }

@_ZN8geometryL2piE = external hidden global x86_fp80, align 16

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN8geometry4signEe(x86_fp80 noundef) #0

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8geometry5pointmiERKS0_(ptr dead_on_unwind noalias writable sret(%"struct.geometry::point") align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8geometry5pointplERKS0_(ptr dead_on_unwind noalias writable sret(%"struct.geometry::point") align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_ZNK8geometry5point3absEv(ptr noundef nonnull align 16 dereferenceable(32)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN8geometry5pointESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8geometry5pointmlERKS0_(ptr dead_on_unwind noalias writable sret(%"struct.geometry::point") align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN8geometry5pointESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8geometry12tangentpointENS_6circleENS_5pointE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef byval(%"struct.geometry::circle") align 16 %1, ptr noundef byval(%"struct.geometry::point") align 16 %2) #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca i1, align 1
  %6 = alloca x86_fp80, align 16
  %7 = alloca %"struct.geometry::point", align 16
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca x86_fp80, align 16
  %12 = alloca x86_fp80, align 16
  %13 = alloca %"struct.geometry::point", align 16
  %14 = alloca %"struct.geometry::point", align 16
  %15 = alloca %"struct.geometry::point", align 16
  %16 = alloca %"struct.geometry::point", align 16
  %17 = alloca %"struct.geometry::point", align 16
  %18 = alloca %"struct.geometry::point", align 16
  %19 = alloca %"struct.geometry::point", align 16
  %20 = alloca %"struct.geometry::point", align 16
  store ptr %0, ptr %4, align 8
  store i1 false, ptr %5, align 1
  call void @_ZNSt6vectorIN8geometry5pointESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #4
  %21 = getelementptr inbounds %"struct.geometry::circle", ptr %1, i32 0, i32 1
  %22 = load x86_fp80, ptr %21, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #4
  %23 = getelementptr inbounds %"struct.geometry::circle", ptr %1, i32 0, i32 0
  invoke void @_ZNK8geometry5pointmiERKS0_(ptr dead_on_unwind writable sret(%"struct.geometry::point") align 16 %7, ptr noundef nonnull align 16 dereferenceable(32) %2, ptr noundef nonnull align 16 dereferenceable(32) %23)
          to label %24 unwind label %33

24:                                               ; preds = %3
  %25 = invoke noundef x86_fp80 @_ZNK8geometry5point3absEv(ptr noundef nonnull align 16 dereferenceable(32) %7)
          to label %26 unwind label %33

26:                                               ; preds = %24
  %27 = fdiv x86_fp80 %22, %25
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #4
  store x86_fp80 %27, ptr %6, align 16, !tbaa !11
  %28 = load x86_fp80, ptr %6, align 16, !tbaa !11
  %29 = fsub x86_fp80 %28, 0xK3FFF8000000000000000
  %30 = call noundef i32 @_ZN8geometry4signEe(x86_fp80 noundef %29)
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %32, label %37

32:                                               ; preds = %26
  store i1 true, ptr %5, align 1
  store i32 1, ptr %10, align 4
  br label %94

33:                                               ; preds = %24, %3
  %34 = landingpad { ptr, i32 }
          cleanup
  %35 = extractvalue { ptr, i32 } %34, 0
  store ptr %35, ptr %8, align 8
  %36 = extractvalue { ptr, i32 } %34, 1
  store i32 %36, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #4
  br label %96

37:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #4
  %38 = load x86_fp80, ptr @_ZN8geometryL2piE, align 16, !tbaa !11
  %39 = fdiv x86_fp80 %38, 0xK40008000000000000000
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #4
  store x86_fp80 0xK3FFF8000000000000000, ptr %12, align 16, !tbaa !11
  %40 = invoke noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3minIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16) %6, ptr noundef nonnull align 16 dereferenceable(16) %12)
          to label %41 unwind label %70

41:                                               ; preds = %37
  %42 = load x86_fp80, ptr %40, align 16, !tbaa !11
  %43 = invoke noundef x86_fp80 @_ZSt4asine(x86_fp80 noundef %42)
          to label %44 unwind label %70

44:                                               ; preds = %41
  %45 = fsub x86_fp80 %39, %43
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #4
  store x86_fp80 %45, ptr %11, align 16, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #4
  %46 = getelementptr inbounds %"struct.geometry::circle", ptr %1, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #4
  %47 = getelementptr inbounds %"struct.geometry::circle", ptr %1, i32 0, i32 0
  invoke void @_ZNK8geometry5pointmiERKS0_(ptr dead_on_unwind writable sret(%"struct.geometry::point") align 16 %15, ptr noundef nonnull align 16 dereferenceable(32) %2, ptr noundef nonnull align 16 dereferenceable(32) %47)
          to label %48 unwind label %74

48:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #4
  %49 = load x86_fp80, ptr %6, align 16, !tbaa !11
  %50 = load x86_fp80, ptr %11, align 16, !tbaa !11
  invoke void @_ZN8geometry5point5polarEee(ptr dead_on_unwind writable sret(%"struct.geometry::point") align 16 %16, x86_fp80 noundef %49, x86_fp80 noundef %50)
          to label %51 unwind label %78

51:                                               ; preds = %48
  invoke void @_ZNK8geometry5pointmlERKS0_(ptr dead_on_unwind writable sret(%"struct.geometry::point") align 16 %14, ptr noundef nonnull align 16 dereferenceable(32) %15, ptr noundef nonnull align 16 dereferenceable(32) %16)
          to label %52 unwind label %78

52:                                               ; preds = %51
  invoke void @_ZNK8geometry5pointplERKS0_(ptr dead_on_unwind writable sret(%"struct.geometry::point") align 16 %13, ptr noundef nonnull align 16 dereferenceable(32) %46, ptr noundef nonnull align 16 dereferenceable(32) %14)
          to label %53 unwind label %78

53:                                               ; preds = %52
  invoke void @_ZNSt6vectorIN8geometry5pointESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 16 dereferenceable(32) %13)
          to label %54 unwind label %78

54:                                               ; preds = %53
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #4
  %55 = load x86_fp80, ptr %6, align 16, !tbaa !11
  %56 = fsub x86_fp80 %55, 0xK3FFF8000000000000000
  %57 = call noundef i32 @_ZN8geometry4signEe(x86_fp80 noundef %56)
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %59, label %92

59:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #4
  %60 = getelementptr inbounds %"struct.geometry::circle", ptr %1, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #4
  %61 = getelementptr inbounds %"struct.geometry::circle", ptr %1, i32 0, i32 0
  invoke void @_ZNK8geometry5pointmiERKS0_(ptr dead_on_unwind writable sret(%"struct.geometry::point") align 16 %19, ptr noundef nonnull align 16 dereferenceable(32) %2, ptr noundef nonnull align 16 dereferenceable(32) %61)
          to label %62 unwind label %83

62:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #4
  %63 = load x86_fp80, ptr %6, align 16, !tbaa !11
  %64 = load x86_fp80, ptr %11, align 16, !tbaa !11
  %65 = fneg x86_fp80 %64
  invoke void @_ZN8geometry5point5polarEee(ptr dead_on_unwind writable sret(%"struct.geometry::point") align 16 %20, x86_fp80 noundef %63, x86_fp80 noundef %65)
          to label %66 unwind label %87

66:                                               ; preds = %62
  invoke void @_ZNK8geometry5pointmlERKS0_(ptr dead_on_unwind writable sret(%"struct.geometry::point") align 16 %18, ptr noundef nonnull align 16 dereferenceable(32) %19, ptr noundef nonnull align 16 dereferenceable(32) %20)
          to label %67 unwind label %87

67:                                               ; preds = %66
  invoke void @_ZNK8geometry5pointplERKS0_(ptr dead_on_unwind writable sret(%"struct.geometry::point") align 16 %17, ptr noundef nonnull align 16 dereferenceable(32) %60, ptr noundef nonnull align 16 dereferenceable(32) %18)
          to label %68 unwind label %87

68:                                               ; preds = %67
  invoke void @_ZNSt6vectorIN8geometry5pointESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 16 dereferenceable(32) %17)
          to label %69 unwind label %87

69:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #4
  br label %92

70:                                               ; preds = %41, %37
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %8, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #4
  br label %93

74:                                               ; preds = %44
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %8, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %9, align 4
  br label %82

78:                                               ; preds = %53, %52, %51, %48
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %8, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #4
  br label %82

82:                                               ; preds = %78, %74
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #4
  br label %93

83:                                               ; preds = %59
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %8, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %9, align 4
  br label %91

87:                                               ; preds = %68, %67, %66, %62
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %8, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #4
  br label %91

91:                                               ; preds = %87, %83
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #4
  br label %93

92:                                               ; preds = %69, %54
  store i1 true, ptr %5, align 1
  store i32 1, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #4
  br label %94

93:                                               ; preds = %91, %82, %70
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #4
  br label %96

94:                                               ; preds = %92, %32
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #4
  %95 = load i1, ptr %5, align 1
  br i1 %95, label %98, label %97

96:                                               ; preds = %93, %33
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #4
  call void @_ZNSt6vectorIN8geometry5pointESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  br label %99

97:                                               ; preds = %94
  call void @_ZNSt6vectorIN8geometry5pointESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  br label %98

98:                                               ; preds = %97, %94
  ret void

99:                                               ; preds = %96
  %100 = load ptr, ptr %8, align 8
  %101 = load i32, ptr %9, align 4
  %102 = insertvalue { ptr, i32 } poison, ptr %100, 0
  %103 = insertvalue { ptr, i32 } %102, i32 %101, 1
  resume { ptr, i32 } %103
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8geometry5point5polarEee(ptr dead_on_unwind noalias writable sret(%"struct.geometry::point") align 16, x86_fp80 noundef, x86_fp80 noundef) #2 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 willreturn memory(argmem: readwrite) }
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 = { 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 = !{!"_ZTSN8geometry6circleE", !7, i64 0, !8, i64 32}
!7 = !{!"_ZTSN8geometry5pointE", !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}


; 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.geometry::point" = type { x86_fp80, x86_fp80 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<geometry::point, std::allocator<geometry::point>>::_Vector_impl" }
%"struct.std::_Vector_base<geometry::point, std::allocator<geometry::point>>::_Vector_impl" = type { %"struct.std::_Vector_base<geometry::point, std::allocator<geometry::point>>::_Vector_impl_data" }
%"struct.std::_Vector_base<geometry::point, std::allocator<geometry::point>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.geometry::circle" = type { %"struct.geometry::point", x86_fp80 }

@_ZN8geometryL2piE = external hidden local_unnamed_addr global x86_fp80, align 16

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN8geometry4signEe(x86_fp80 noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8geometry5pointmiERKS0_(ptr dead_on_unwind noalias writable sret(%"struct.geometry::point") align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8geometry5pointplERKS0_(ptr dead_on_unwind noalias writable sret(%"struct.geometry::point") align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) 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) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_ZNK8geometry5point3absEv(ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN8geometry5pointESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8geometry5pointmlERKS0_(ptr dead_on_unwind noalias writable sret(%"struct.geometry::point") align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN8geometry5pointESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8geometry12tangentpointENS_6circleENS_5pointE(ptr dead_on_unwind noalias nonnull writable sret(%"class.std::vector") align 8 %0, ptr noundef byval(%"struct.geometry::circle") align 16 %1, ptr noundef byval(%"struct.geometry::point") align 16 %2) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca x86_fp80, align 16
  %5 = alloca %"struct.geometry::point", align 16
  %6 = alloca x86_fp80, align 16
  %7 = alloca %"struct.geometry::point", align 16
  %8 = alloca %"struct.geometry::point", align 16
  %9 = alloca %"struct.geometry::point", align 16
  %10 = alloca %"struct.geometry::point", align 16
  %11 = alloca %"struct.geometry::point", align 16
  %12 = alloca %"struct.geometry::point", align 16
  %13 = alloca %"struct.geometry::point", align 16
  %14 = alloca %"struct.geometry::point", align 16
  tail call void @_ZNSt6vectorIN8geometry5pointESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4
  %15 = getelementptr inbounds i8, ptr %1, i64 32
  %16 = load x86_fp80, ptr %15, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #4
  invoke void @_ZNK8geometry5pointmiERKS0_(ptr dead_on_unwind nonnull writable sret(%"struct.geometry::point") align 16 %5, ptr noundef nonnull align 16 dereferenceable(32) %2, ptr noundef nonnull align 16 dereferenceable(32) %1)
          to label %17 unwind label %24

17:                                               ; preds = %3
  %18 = invoke noundef x86_fp80 @_ZNK8geometry5point3absEv(ptr noundef nonnull align 16 dereferenceable(32) %5)
          to label %19 unwind label %24

19:                                               ; preds = %17
  %20 = fdiv x86_fp80 %16, %18
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #4
  store x86_fp80 %20, ptr %4, align 16, !tbaa !11
  %21 = fadd x86_fp80 %20, 0xKBFFF8000000000000000
  %22 = call noundef i32 @_ZN8geometry4signEe(x86_fp80 noundef %21)
  %23 = icmp eq i32 %22, 0
  br i1 %23, label %60, label %26

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

26:                                               ; preds = %19
  %27 = load x86_fp80, ptr @_ZN8geometryL2piE, align 16, !tbaa !11
  %28 = fmul x86_fp80 %27, 0xK3FFE8000000000000000
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4
  store x86_fp80 0xK3FFF8000000000000000, ptr %6, align 16, !tbaa !11
  %29 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3minIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16) %4, ptr noundef nonnull align 16 dereferenceable(16) %6)
  %30 = load x86_fp80, ptr %29, align 16, !tbaa !11
  %31 = call noundef x86_fp80 @_ZSt4asine(x86_fp80 noundef %30)
  %32 = fsub x86_fp80 %28, %31
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #4
  invoke void @_ZNK8geometry5pointmiERKS0_(ptr dead_on_unwind nonnull writable sret(%"struct.geometry::point") align 16 %9, ptr noundef nonnull align 16 dereferenceable(32) %2, ptr noundef nonnull align 16 dereferenceable(32) %1)
          to label %33 unwind label %50

33:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #4
  %34 = load x86_fp80, ptr %4, align 16, !tbaa !11
  invoke void @_ZN8geometry5point5polarEee(ptr dead_on_unwind nonnull writable sret(%"struct.geometry::point") align 16 %10, x86_fp80 noundef %34, x86_fp80 noundef %32)
          to label %35 unwind label %52

35:                                               ; preds = %33
  invoke void @_ZNK8geometry5pointmlERKS0_(ptr dead_on_unwind nonnull writable sret(%"struct.geometry::point") align 16 %8, ptr noundef nonnull align 16 dereferenceable(32) %9, ptr noundef nonnull align 16 dereferenceable(32) %10)
          to label %36 unwind label %52

36:                                               ; preds = %35
  invoke void @_ZNK8geometry5pointplERKS0_(ptr dead_on_unwind nonnull writable sret(%"struct.geometry::point") align 16 %7, ptr noundef nonnull align 16 dereferenceable(32) %1, ptr noundef nonnull align 16 dereferenceable(32) %8)
          to label %37 unwind label %52

37:                                               ; preds = %36
  invoke void @_ZNSt6vectorIN8geometry5pointESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 16 dereferenceable(32) %7)
          to label %38 unwind label %52

38:                                               ; preds = %37
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #4
  %39 = load x86_fp80, ptr %4, align 16, !tbaa !11
  %40 = fadd x86_fp80 %39, 0xKBFFF8000000000000000
  %41 = call noundef i32 @_ZN8geometry4signEe(x86_fp80 noundef %40)
  %.not = icmp eq i32 %41, 0
  br i1 %.not, label %60, label %42

42:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #4
  invoke void @_ZNK8geometry5pointmiERKS0_(ptr dead_on_unwind nonnull writable sret(%"struct.geometry::point") align 16 %13, ptr noundef nonnull align 16 dereferenceable(32) %2, ptr noundef nonnull align 16 dereferenceable(32) %1)
          to label %43 unwind label %55

43:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #4
  %44 = load x86_fp80, ptr %4, align 16, !tbaa !11
  %45 = fneg x86_fp80 %32
  invoke void @_ZN8geometry5point5polarEee(ptr dead_on_unwind nonnull writable sret(%"struct.geometry::point") align 16 %14, x86_fp80 noundef %44, x86_fp80 noundef %45)
          to label %46 unwind label %57

46:                                               ; preds = %43
  invoke void @_ZNK8geometry5pointmlERKS0_(ptr dead_on_unwind nonnull writable sret(%"struct.geometry::point") align 16 %12, ptr noundef nonnull align 16 dereferenceable(32) %13, ptr noundef nonnull align 16 dereferenceable(32) %14)
          to label %47 unwind label %57

47:                                               ; preds = %46
  invoke void @_ZNK8geometry5pointplERKS0_(ptr dead_on_unwind nonnull writable sret(%"struct.geometry::point") align 16 %11, ptr noundef nonnull align 16 dereferenceable(32) %1, ptr noundef nonnull align 16 dereferenceable(32) %12)
          to label %48 unwind label %57

48:                                               ; preds = %47
  invoke void @_ZNSt6vectorIN8geometry5pointESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 16 dereferenceable(32) %11)
          to label %49 unwind label %57

49:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #4
  br label %60

50:                                               ; preds = %26
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %54

52:                                               ; preds = %37, %36, %35, %33
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #4
  br label %54

54:                                               ; preds = %52, %50
  %.pn = phi { ptr, i32 } [ %53, %52 ], [ %51, %50 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #4
  br label %61

55:                                               ; preds = %42
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %59

57:                                               ; preds = %48, %47, %46, %43
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #4
  br label %59

59:                                               ; preds = %57, %55
  %.pn10 = phi { ptr, i32 } [ %58, %57 ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #4
  br label %61

60:                                               ; preds = %38, %49, %19
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4
  ret void

61:                                               ; preds = %54, %59, %24
  %.pn10.pn.pn = phi { ptr, i32 } [ %25, %24 ], [ %.pn10, %59 ], [ %.pn, %54 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4
  call void @_ZNSt6vectorIN8geometry5pointESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  resume { ptr, i32 } %.pn10.pn.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8geometry5point5polarEee(ptr dead_on_unwind noalias writable sret(%"struct.geometry::point") align 16, x86_fp80 noundef, x86_fp80 noundef) local_unnamed_addr #2 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 willreturn memory(argmem: readwrite) }
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 = { 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 = !{!"_ZTSN8geometry6circleE", !7, i64 0, !8, i64 32}
!7 = !{!"_ZTSN8geometry5pointE", !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: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass