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

; 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 }
%"struct.geometry::segment" = type { %"struct.geometry::point", %"struct.geometry::point" }
%"struct.geometry::circle" = type { %"struct.geometry::point", x86_fp80 }

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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: mustprogress nounwind uwtable
declare dso_local noundef x86_fp80 @_ZNK8geometry5point4normEv(ptr noundef nonnull align 16 dereferenceable(32)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_ZN8geometry4distENS_7segmentENS_5pointE(ptr noundef byval(%"struct.geometry::segment") align 16, ptr noundef byval(%"struct.geometry::point") align 16) #1

; 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
define dso_local noundef x86_fp80 @_ZN8geometry4distENS_6circleENS_7segmentEb(ptr noundef byval(%"struct.geometry::circle") align 16 %0, ptr noundef byval(%"struct.geometry::segment") align 16 %1, i1 noundef zeroext %2) #1 {
  %4 = alloca x86_fp80, align 16
  %5 = alloca i8, align 1
  %6 = alloca x86_fp80, align 16
  %7 = alloca %"struct.geometry::point", align 16
  %8 = alloca x86_fp80, align 16
  %9 = alloca %"struct.geometry::point", align 16
  %10 = alloca i32, align 4
  %11 = alloca x86_fp80, align 16
  %12 = alloca %"struct.geometry::segment", align 16
  %13 = alloca %"struct.geometry::point", align 16
  %14 = alloca x86_fp80, align 16
  %15 = alloca x86_fp80, align 16
  %16 = alloca %"struct.geometry::segment", align 16
  %17 = alloca %"struct.geometry::point", align 16
  %18 = alloca x86_fp80, align 16
  %19 = zext i1 %2 to i8
  store i8 %19, ptr %5, align 1, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #5
  %20 = getelementptr inbounds %"struct.geometry::segment", ptr %1, i32 0, i32 0
  %21 = getelementptr inbounds %"struct.geometry::circle", ptr %0, i32 0, i32 0
  call void @_ZNK8geometry5pointmiERKS0_(ptr dead_on_unwind writable sret(%"struct.geometry::point") align 16 %7, ptr noundef nonnull align 16 dereferenceable(32) %20, ptr noundef nonnull align 16 dereferenceable(32) %21)
  %22 = call noundef x86_fp80 @_ZNK8geometry5point4normEv(ptr noundef nonnull align 16 dereferenceable(32) %7)
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #5
  store x86_fp80 %22, ptr %6, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #5
  %23 = getelementptr inbounds %"struct.geometry::segment", ptr %1, i32 0, i32 1
  %24 = getelementptr inbounds %"struct.geometry::circle", ptr %0, i32 0, i32 0
  call void @_ZNK8geometry5pointmiERKS0_(ptr dead_on_unwind writable sret(%"struct.geometry::point") align 16 %9, ptr noundef nonnull align 16 dereferenceable(32) %23, ptr noundef nonnull align 16 dereferenceable(32) %24)
  %25 = call noundef x86_fp80 @_ZNK8geometry5point4normEv(ptr noundef nonnull align 16 dereferenceable(32) %9)
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #5
  store x86_fp80 %25, ptr %8, align 16, !tbaa !9
  %26 = load i8, ptr %5, align 1, !tbaa !5, !range !11, !noundef !12
  %27 = trunc i8 %26 to i1
  %28 = zext i1 %27 to i32
  %29 = icmp eq i32 %28, 0
  br i1 %29, label %30, label %76

30:                                               ; preds = %3
  %31 = load x86_fp80, ptr %6, align 16, !tbaa !9
  %32 = getelementptr inbounds %"struct.geometry::circle", ptr %0, i32 0, i32 1
  %33 = load x86_fp80, ptr %32, align 16, !tbaa !13
  %34 = getelementptr inbounds %"struct.geometry::circle", ptr %0, i32 0, i32 1
  %35 = load x86_fp80, ptr %34, align 16, !tbaa !13
  %36 = fmul x86_fp80 %33, %35
  %37 = fcmp olt x86_fp80 %31, %36
  %38 = zext i1 %37 to i32
  %39 = load x86_fp80, ptr %8, align 16, !tbaa !9
  %40 = getelementptr inbounds %"struct.geometry::circle", ptr %0, i32 0, i32 1
  %41 = load x86_fp80, ptr %40, align 16, !tbaa !13
  %42 = getelementptr inbounds %"struct.geometry::circle", ptr %0, i32 0, i32 1
  %43 = load x86_fp80, ptr %42, align 16, !tbaa !13
  %44 = fmul x86_fp80 %41, %43
  %45 = fcmp olt x86_fp80 %39, %44
  %46 = zext i1 %45 to i32
  %47 = xor i32 %38, %46
  %48 = icmp ne i32 %47, 0
  br i1 %48, label %49, label %50

49:                                               ; preds = %30
  store x86_fp80 0xK00000000000000000000, ptr %4, align 16
  store i32 1, ptr %10, align 4
  br label %101

50:                                               ; preds = %30
  %51 = load x86_fp80, ptr %6, align 16, !tbaa !9
  %52 = getelementptr inbounds %"struct.geometry::circle", ptr %0, i32 0, i32 1
  %53 = load x86_fp80, ptr %52, align 16, !tbaa !13
  %54 = fcmp olt x86_fp80 %51, %53
  br i1 %54, label %55, label %67

55:                                               ; preds = %50
  %56 = load x86_fp80, ptr %8, align 16, !tbaa !9
  %57 = getelementptr inbounds %"struct.geometry::circle", ptr %0, i32 0, i32 1
  %58 = load x86_fp80, ptr %57, align 16, !tbaa !13
  %59 = fcmp olt x86_fp80 %56, %58
  br i1 %59, label %60, label %67

60:                                               ; preds = %55
  %61 = getelementptr inbounds %"struct.geometry::circle", ptr %0, i32 0, i32 1
  %62 = load x86_fp80, ptr %61, align 16, !tbaa !13
  %63 = 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) %8)
  %64 = load x86_fp80, ptr %63, align 16, !tbaa !9
  %65 = call noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %64)
  %66 = fsub x86_fp80 %62, %65
  store x86_fp80 %66, ptr %4, align 16
  store i32 1, ptr %10, align 4
  br label %101

67:                                               ; preds = %55, %50
  br label %68

68:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 %1, i64 64, i1 false), !tbaa.struct !16
  %69 = getelementptr inbounds %"struct.geometry::circle", ptr %0, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 %69, i64 32, i1 false), !tbaa.struct !17
  %70 = call noundef x86_fp80 @_ZN8geometry4distENS_7segmentENS_5pointE(ptr noundef byval(%"struct.geometry::segment") align 16 %12, ptr noundef byval(%"struct.geometry::point") align 16 %13)
  %71 = getelementptr inbounds %"struct.geometry::circle", ptr %0, i32 0, i32 1
  %72 = load x86_fp80, ptr %71, align 16, !tbaa !13
  %73 = fsub x86_fp80 %70, %72
  store x86_fp80 %73, ptr %11, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #5
  store x86_fp80 0xK00000000000000000000, ptr %14, align 16, !tbaa !9
  %74 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3maxIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16) %11, ptr noundef nonnull align 16 dereferenceable(16) %14)
  %75 = load x86_fp80, ptr %74, align 16, !tbaa !9
  store x86_fp80 %75, ptr %4, align 16
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  store i32 1, ptr %10, align 4
  br label %101

76:                                               ; preds = %3
  %77 = load x86_fp80, ptr %6, align 16, !tbaa !9
  %78 = getelementptr inbounds %"struct.geometry::circle", ptr %0, i32 0, i32 1
  %79 = load x86_fp80, ptr %78, align 16, !tbaa !13
  %80 = getelementptr inbounds %"struct.geometry::circle", ptr %0, i32 0, i32 1
  %81 = load x86_fp80, ptr %80, align 16, !tbaa !13
  %82 = fmul x86_fp80 %79, %81
  %83 = fcmp olt x86_fp80 %77, %82
  br i1 %83, label %92, label %84

84:                                               ; preds = %76
  %85 = load x86_fp80, ptr %8, align 16, !tbaa !9
  %86 = getelementptr inbounds %"struct.geometry::circle", ptr %0, i32 0, i32 1
  %87 = load x86_fp80, ptr %86, align 16, !tbaa !13
  %88 = getelementptr inbounds %"struct.geometry::circle", ptr %0, i32 0, i32 1
  %89 = load x86_fp80, ptr %88, align 16, !tbaa !13
  %90 = fmul x86_fp80 %87, %89
  %91 = fcmp olt x86_fp80 %85, %90
  br i1 %91, label %92, label %93

92:                                               ; preds = %84, %76
  store x86_fp80 0xK00000000000000000000, ptr %4, align 16
  store i32 1, ptr %10, align 4
  br label %101

93:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 %1, i64 64, i1 false), !tbaa.struct !16
  %94 = getelementptr inbounds %"struct.geometry::circle", ptr %0, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %17, ptr align 16 %94, i64 32, i1 false), !tbaa.struct !17
  %95 = call noundef x86_fp80 @_ZN8geometry4distENS_7segmentENS_5pointE(ptr noundef byval(%"struct.geometry::segment") align 16 %16, ptr noundef byval(%"struct.geometry::point") align 16 %17)
  %96 = getelementptr inbounds %"struct.geometry::circle", ptr %0, i32 0, i32 1
  %97 = load x86_fp80, ptr %96, align 16, !tbaa !13
  %98 = fsub x86_fp80 %95, %97
  store x86_fp80 %98, ptr %15, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #5
  store x86_fp80 0xK00000000000000000000, ptr %18, align 16, !tbaa !9
  %99 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3maxIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16) %15, ptr noundef nonnull align 16 dereferenceable(16) %18)
  %100 = load x86_fp80, ptr %99, align 16, !tbaa !9
  store x86_fp80 %100, ptr %4, align 16
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  store i32 1, ptr %10, align 4
  br label %101

101:                                              ; preds = %93, %92, %68, %60, %49
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #5
  %102 = load x86_fp80, ptr %4, align 16
  ret x86_fp80 %102
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = { 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 = { 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 = !{!"long double", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !10, i64 32}
!14 = !{!"_ZTSN8geometry6circleE", !15, i64 0, !10, i64 32}
!15 = !{!"_ZTSN8geometry5pointE", !10, i64 0, !10, i64 16}
!16 = !{i64 0, i64 16, !9, i64 16, i64 16, !9, i64 32, i64 16, !9, i64 48, i64 16, !9}
!17 = !{i64 0, i64 16, !9, i64 16, i64 16, !9}


; 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 }
%"struct.geometry::segment" = type { %"struct.geometry::point", %"struct.geometry::point" }
%"struct.geometry::circle" = type { %"struct.geometry::point", x86_fp80 }

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_ZN8geometry4distENS_7segmentENS_5pointE(ptr noundef byval(%"struct.geometry::segment") align 16, ptr noundef byval(%"struct.geometry::point") align 16) local_unnamed_addr #1

; 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 x86_fp80 @_ZN8geometry4distENS_6circleENS_7segmentEb(ptr noundef nonnull byval(%"struct.geometry::circle") align 16 %0, ptr noundef nonnull byval(%"struct.geometry::segment") align 16 %1, i1 noundef zeroext %2) local_unnamed_addr #1 {
  %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 x86_fp80, align 16
  %9 = alloca x86_fp80, align 16
  %10 = alloca x86_fp80, align 16
  %11 = alloca x86_fp80, align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #4
  call void @_ZNK8geometry5pointmiERKS0_(ptr dead_on_unwind nonnull writable sret(%"struct.geometry::point") align 16 %5, ptr noundef nonnull align 16 dereferenceable(32) %1, ptr noundef nonnull align 16 dereferenceable(32) %0)
  %12 = call noundef x86_fp80 @_ZNK8geometry5point4normEv(ptr noundef nonnull align 16 dereferenceable(32) %5)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #4
  store x86_fp80 %12, ptr %4, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #4
  %13 = getelementptr inbounds i8, ptr %1, i64 32
  call void @_ZNK8geometry5pointmiERKS0_(ptr dead_on_unwind nonnull writable sret(%"struct.geometry::point") align 16 %7, ptr noundef nonnull align 16 dereferenceable(32) %13, ptr noundef nonnull align 16 dereferenceable(32) %0)
  %14 = call noundef x86_fp80 @_ZNK8geometry5point4normEv(ptr noundef nonnull align 16 dereferenceable(32) %7)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #4
  store x86_fp80 %14, ptr %6, align 16, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %0, i64 32
  %16 = load x86_fp80, ptr %15, align 16, !tbaa !9
  %17 = fmul x86_fp80 %16, %16
  %18 = fcmp olt x86_fp80 %12, %17
  %19 = fcmp olt x86_fp80 %14, %17
  br i1 %2, label %36, label %20

20:                                               ; preds = %3
  %21 = xor i1 %18, %19
  br i1 %21, label %43, label %22

22:                                               ; preds = %20
  %23 = fcmp olt x86_fp80 %12, %16
  %24 = fcmp olt x86_fp80 %14, %16
  %or.cond = and i1 %23, %24
  br i1 %or.cond, label %25, label %30

25:                                               ; preds = %22
  %26 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3maxIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16) %4, ptr noundef nonnull align 16 dereferenceable(16) %6)
  %27 = load x86_fp80, ptr %26, align 16, !tbaa !5
  %28 = call noundef x86_fp80 @_ZSt4sqrte(x86_fp80 noundef %27)
  %29 = fsub x86_fp80 %16, %28
  br label %43

30:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #4
  %31 = call noundef x86_fp80 @_ZN8geometry4distENS_7segmentENS_5pointE(ptr noundef nonnull byval(%"struct.geometry::segment") align 16 %1, ptr noundef nonnull byval(%"struct.geometry::point") align 16 %0)
  %32 = load x86_fp80, ptr %15, align 16, !tbaa !9
  %33 = fsub x86_fp80 %31, %32
  store x86_fp80 %33, ptr %8, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #4
  store x86_fp80 0xK00000000000000000000, ptr %9, align 16, !tbaa !5
  %34 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3maxIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16) %8, ptr noundef nonnull align 16 dereferenceable(16) %9)
  %35 = load x86_fp80, ptr %34, align 16, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #4
  br label %43

36:                                               ; preds = %3
  %or.cond3 = or i1 %18, %19
  br i1 %or.cond3, label %43, label %37

37:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #4
  %38 = call noundef x86_fp80 @_ZN8geometry4distENS_7segmentENS_5pointE(ptr noundef nonnull byval(%"struct.geometry::segment") align 16 %1, ptr noundef nonnull byval(%"struct.geometry::point") align 16 %0)
  %39 = load x86_fp80, ptr %15, align 16, !tbaa !9
  %40 = fsub x86_fp80 %38, %39
  store x86_fp80 %40, ptr %10, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #4
  store x86_fp80 0xK00000000000000000000, ptr %11, align 16, !tbaa !5
  %41 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZSt3maxIeERKT_S2_S2_(ptr noundef nonnull align 16 dereferenceable(16) %10, ptr noundef nonnull align 16 dereferenceable(16) %11)
  %42 = load x86_fp80, ptr %41, align 16, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #4
  br label %43

43:                                               ; preds = %36, %20, %37, %30, %25
  %.0 = phi x86_fp80 [ %29, %25 ], [ %35, %30 ], [ %42, %37 ], [ 0xK00000000000000000000, %20 ], [ 0xK00000000000000000000, %36 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4
  ret x86_fp80 %.0
}

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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, !6, i64 0}
!6 = !{!"long double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 32}
!10 = !{!"_ZTSN8geometry6circleE", !11, i64 0, !6, i64 32}
!11 = !{!"_ZTSN8geometry5pointE", !6, i64 0, !6, i64 16}


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