; LLVM IR from xboot/libcg :: src (xft)

; 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.XCG_FT_Vector_ = type { i64, i64 }
%struct.XCG_FT_StrokerRec_ = type { i64, i64, %struct.XCG_FT_Vector_, i64, i8, i8, i64, %struct.XCG_FT_Vector_, i64, i8, i32, i32, i32, i64, i64, [2 x %struct.XCG_FT_StrokeBorderRec_] }
%struct.XCG_FT_StrokeBorderRec_ = type { i32, i32, ptr, ptr, i8, i32, i8 }

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

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

; Function Attrs: nounwind uwtable
declare dso_local i64 @XCG_FT_Atan2(i64 noundef, i64 noundef) #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: nounwind uwtable
declare dso_local i64 @XCG_FT_Vector_Length(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @XCG_FT_Vector_From_Polar(ptr noundef, i64 noundef, i64 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @XCG_FT_Stroker_LineTo(ptr noundef %0, ptr noundef %1) #1 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca %struct.XCG_FT_Vector_, align 8
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca %struct.XCG_FT_Vector_, align 8
  %13 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  store i32 0, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.XCG_FT_Vector_, ptr %14, i32 0, i32 0
  %16 = load i64, ptr %15, align 8, !tbaa !11
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.XCG_FT_StrokerRec_, ptr %17, i32 0, i32 2
  %19 = getelementptr inbounds %struct.XCG_FT_Vector_, ptr %18, i32 0, i32 0
  %20 = load i64, ptr %19, align 8, !tbaa !14
  %21 = sub nsw i64 %16, %20
  %22 = getelementptr inbounds %struct.XCG_FT_Vector_, ptr %8, i32 0, i32 0
  store i64 %21, ptr %22, align 8, !tbaa !11
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.XCG_FT_Vector_, ptr %23, i32 0, i32 1
  %25 = load i64, ptr %24, align 8, !tbaa !16
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.XCG_FT_StrokerRec_, ptr %26, i32 0, i32 2
  %28 = getelementptr inbounds %struct.XCG_FT_Vector_, ptr %27, i32 0, i32 1
  %29 = load i64, ptr %28, align 8, !tbaa !17
  %30 = sub nsw i64 %25, %29
  %31 = getelementptr inbounds %struct.XCG_FT_Vector_, ptr %8, i32 0, i32 1
  store i64 %30, ptr %31, align 8, !tbaa !16
  %32 = getelementptr inbounds %struct.XCG_FT_Vector_, ptr %8, i32 0, i32 0
  %33 = load i64, ptr %32, align 8, !tbaa !11
  %34 = icmp eq i64 %33, 0
  br i1 %34, label %35, label %40

35:                                               ; preds = %2
  %36 = getelementptr inbounds %struct.XCG_FT_Vector_, ptr %8, i32 0, i32 1
  %37 = load i64, ptr %36, align 8, !tbaa !16
  %38 = icmp eq i64 %37, 0
  br i1 %38, label %39, label %40

39:                                               ; preds = %35
  br label %130

40:                                               ; preds = %35, %2
  %41 = call i64 @XCG_FT_Vector_Length(ptr noundef %8)
  store i64 %41, ptr %11, align 8, !tbaa !18
  %42 = getelementptr inbounds %struct.XCG_FT_Vector_, ptr %8, i32 0, i32 0
  %43 = load i64, ptr %42, align 8, !tbaa !11
  %44 = getelementptr inbounds %struct.XCG_FT_Vector_, ptr %8, i32 0, i32 1
  %45 = load i64, ptr %44, align 8, !tbaa !16
  %46 = call i64 @XCG_FT_Atan2(i64 noundef %43, i64 noundef %45)
  store i64 %46, ptr %9, align 8, !tbaa !18
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.XCG_FT_StrokerRec_, ptr %47, i32 0, i32 14
  %49 = load i64, ptr %48, align 8, !tbaa !19
  %50 = load i64, ptr %9, align 8, !tbaa !18
  %51 = add nsw i64 %50, 5898240
  call void @XCG_FT_Vector_From_Polar(ptr noundef %8, i64 noundef %49, i64 noundef %51)
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.XCG_FT_StrokerRec_, ptr %52, i32 0, i32 4
  %54 = load i8, ptr %53, align 8, !tbaa !20
  %55 = icmp ne i8 %54, 0
  br i1 %55, label %56, label %65

56:                                               ; preds = %40
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = load i64, ptr %9, align 8, !tbaa !18
  %59 = load i64, ptr %11, align 8, !tbaa !18
  %60 = call i32 @ft_stroker_subpath_start(ptr noundef %57, i64 noundef %58, i64 noundef %59)
  store i32 %60, ptr %6, align 4, !tbaa !9
  %61 = load i32, ptr %6, align 4, !tbaa !9
  %62 = icmp ne i32 %61, 0
  br i1 %62, label %63, label %64

63:                                               ; preds = %56
  br label %130

64:                                               ; preds = %56
  br label %76

65:                                               ; preds = %40
  %66 = load i64, ptr %9, align 8, !tbaa !18
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.XCG_FT_StrokerRec_, ptr %67, i32 0, i32 1
  store i64 %66, ptr %68, align 8, !tbaa !21
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = load i64, ptr %11, align 8, !tbaa !18
  %71 = call i32 @ft_stroker_process_corner(ptr noundef %69, i64 noundef %70)
  store i32 %71, ptr %6, align 4, !tbaa !9
  %72 = load i32, ptr %6, align 4, !tbaa !9
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %74, label %75

74:                                               ; preds = %65
  br label %130

75:                                               ; preds = %65
  br label %76

76:                                               ; preds = %75, %64
  %77 = load ptr, ptr %4, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.XCG_FT_StrokerRec_, ptr %77, i32 0, i32 15
  %79 = getelementptr inbounds [2 x %struct.XCG_FT_StrokeBorderRec_], ptr %78, i64 0, i64 0
  store ptr %79, ptr %7, align 8, !tbaa !5
  store i32 1, ptr %10, align 4, !tbaa !9
  br label %80

80:                                               ; preds = %115, %76
  %81 = load i32, ptr %10, align 4, !tbaa !9
  %82 = icmp sge i32 %81, 0
  br i1 %82, label %83, label %120

83:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #3
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.XCG_FT_Vector_, ptr %84, i32 0, i32 0
  %86 = load i64, ptr %85, align 8, !tbaa !11
  %87 = getelementptr inbounds %struct.XCG_FT_Vector_, ptr %8, i32 0, i32 0
  %88 = load i64, ptr %87, align 8, !tbaa !11
  %89 = add nsw i64 %86, %88
  %90 = getelementptr inbounds %struct.XCG_FT_Vector_, ptr %12, i32 0, i32 0
  store i64 %89, ptr %90, align 8, !tbaa !11
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.XCG_FT_Vector_, ptr %91, i32 0, i32 1
  %93 = load i64, ptr %92, align 8, !tbaa !16
  %94 = getelementptr inbounds %struct.XCG_FT_Vector_, ptr %8, i32 0, i32 1
  %95 = load i64, ptr %94, align 8, !tbaa !16
  %96 = add nsw i64 %93, %95
  %97 = getelementptr inbounds %struct.XCG_FT_Vector_, ptr %12, i32 0, i32 1
  store i64 %96, ptr %97, align 8, !tbaa !16
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = call i32 @ft_stroke_border_lineto(ptr noundef %98, ptr noundef %12, i8 noundef zeroext 1)
  store i32 %99, ptr %6, align 4, !tbaa !9
  %100 = load i32, ptr %6, align 4, !tbaa !9
  %101 = icmp ne i32 %100, 0
  br i1 %101, label %102, label %103

102:                                              ; preds = %83
  store i32 2, ptr %13, align 4
  br label %112

103:                                              ; preds = %83
  %104 = getelementptr inbounds %struct.XCG_FT_Vector_, ptr %8, i32 0, i32 0
  %105 = load i64, ptr %104, align 8, !tbaa !11
  %106 = sub nsw i64 0, %105
  %107 = getelementptr inbounds %struct.XCG_FT_Vector_, ptr %8, i32 0, i32 0
  store i64 %106, ptr %107, align 8, !tbaa !11
  %108 = getelementptr inbounds %struct.XCG_FT_Vector_, ptr %8, i32 0, i32 1
  %109 = load i64, ptr %108, align 8, !tbaa !16
  %110 = sub nsw i64 0, %109
  %111 = getelementptr inbounds %struct.XCG_FT_Vector_, ptr %8, i32 0, i32 1
  store i64 %110, ptr %111, align 8, !tbaa !16
  store i32 0, ptr %13, align 4
  br label %112

112:                                              ; preds = %103, %102
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #3
  %113 = load i32, ptr %13, align 4
  switch i32 %113, label %132 [
    i32 0, label %114
    i32 2, label %130
  ]

114:                                              ; preds = %112
  br label %115

115:                                              ; preds = %114
  %116 = load i32, ptr %10, align 4, !tbaa !9
  %117 = add nsw i32 %116, -1
  store i32 %117, ptr %10, align 4, !tbaa !9
  %118 = load ptr, ptr %7, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.XCG_FT_StrokeBorderRec_, ptr %118, i32 1
  store ptr %119, ptr %7, align 8, !tbaa !5
  br label %80, !llvm.loop !22

120:                                              ; preds = %80
  %121 = load i64, ptr %9, align 8, !tbaa !18
  %122 = load ptr, ptr %4, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.XCG_FT_StrokerRec_, ptr %122, i32 0, i32 0
  store i64 %121, ptr %123, align 8, !tbaa !24
  %124 = load ptr, ptr %4, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.XCG_FT_StrokerRec_, ptr %124, i32 0, i32 2
  %126 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %125, ptr align 8 %126, i64 16, i1 false), !tbaa.struct !25
  %127 = load i64, ptr %11, align 8, !tbaa !18
  %128 = load ptr, ptr %4, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.XCG_FT_StrokerRec_, ptr %128, i32 0, i32 3
  store i64 %127, ptr %129, align 8, !tbaa !26
  br label %130

130:                                              ; preds = %120, %112, %74, %63, %39
  %131 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %131, ptr %3, align 4
  store i32 1, ptr %13, align 4
  br label %132

132:                                              ; preds = %130, %112
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  %133 = load i32, ptr %3, align 4
  ret i32 %133
}

; Function Attrs: nounwind uwtable
declare hidden i32 @ft_stroker_subpath_start(ptr noundef, i64 noundef, i64 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @ft_stroker_process_corner(ptr noundef, i64 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @ft_stroke_border_lineto(ptr noundef, ptr noundef, i8 noundef zeroext) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"XCG_FT_Vector_", !13, i64 0, !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !13, i64 16}
!15 = !{!"XCG_FT_StrokerRec_", !13, i64 0, !13, i64 8, !12, i64 16, !13, i64 32, !7, i64 40, !7, i64 41, !13, i64 48, !12, i64 56, !13, i64 72, !7, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !13, i64 96, !13, i64 104, !7, i64 112}
!16 = !{!12, !13, i64 8}
!17 = !{!15, !13, i64 24}
!18 = !{!13, !13, i64 0}
!19 = !{!15, !13, i64 104}
!20 = !{!15, !7, i64 40}
!21 = !{!15, !13, i64 8}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!15, !13, i64 0}
!25 = !{i64 0, i64 8, !18, i64 8, i64 8, !18}
!26 = !{!15, !13, i64 32}


; 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.XCG_FT_Vector_ = type { i64, i64 }

; 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind uwtable
declare dso_local i64 @XCG_FT_Atan2(i64 noundef, i64 noundef) local_unnamed_addr #1

; 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: nounwind uwtable
declare dso_local i64 @XCG_FT_Vector_Length(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @XCG_FT_Vector_From_Polar(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local i32 @XCG_FT_Stroker_LineTo(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #1 {
  %3 = alloca %struct.XCG_FT_Vector_, align 16
  %4 = alloca %struct.XCG_FT_Vector_, align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
  %5 = load i64, ptr %1, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 16
  %7 = load i64, ptr %6, align 8, !tbaa !10
  %8 = sub nsw i64 %5, %7
  store i64 %8, ptr %3, align 16, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %1, i64 8
  %10 = load i64, ptr %9, align 8, !tbaa !13
  %11 = getelementptr inbounds i8, ptr %0, i64 24
  %12 = load i64, ptr %11, align 8, !tbaa !14
  %13 = sub nsw i64 %10, %12
  %14 = getelementptr inbounds i8, ptr %3, i64 8
  store i64 %13, ptr %14, align 8, !tbaa !13
  %15 = icmp eq i64 %5, %7
  %16 = icmp eq i64 %10, %12
  %or.cond = select i1 %15, i1 %16, i1 false
  br i1 %or.cond, label %51, label %17

17:                                               ; preds = %2
  %18 = call i64 @XCG_FT_Vector_Length(ptr noundef nonnull %3)
  %19 = load i64, ptr %3, align 16, !tbaa !5
  %20 = load i64, ptr %14, align 8, !tbaa !13
  %21 = call i64 @XCG_FT_Atan2(i64 noundef %19, i64 noundef %20)
  %22 = getelementptr inbounds i8, ptr %0, i64 104
  %23 = load i64, ptr %22, align 8, !tbaa !15
  %24 = add nsw i64 %21, 5898240
  call void @XCG_FT_Vector_From_Polar(ptr noundef nonnull %3, i64 noundef %23, i64 noundef %24)
  %25 = getelementptr inbounds i8, ptr %0, i64 40
  %26 = load i8, ptr %25, align 8, !tbaa !16
  %.not = icmp eq i8 %26, 0
  br i1 %.not, label %29, label %27

27:                                               ; preds = %17
  %28 = call i32 @ft_stroker_subpath_start(ptr noundef nonnull %0, i64 noundef %21, i64 noundef %18)
  %.not43 = icmp eq i32 %28, 0
  br i1 %.not43, label %32, label %51

29:                                               ; preds = %17
  %30 = getelementptr inbounds i8, ptr %0, i64 8
  store i64 %21, ptr %30, align 8, !tbaa !17
  %31 = call i32 @ft_stroker_process_corner(ptr noundef nonnull %0, i64 noundef %18)
  %.not42 = icmp eq i32 %31, 0
  br i1 %.not42, label %32, label %51

32:                                               ; preds = %29, %27
  %33 = getelementptr inbounds i8, ptr %0, i64 112
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3
  %34 = load <2 x i64>, ptr %1, align 8, !tbaa !18
  %35 = load <2 x i64>, ptr %3, align 16, !tbaa !18
  %36 = add nsw <2 x i64> %35, %34
  store <2 x i64> %36, ptr %4, align 16, !tbaa !18
  %37 = call i32 @ft_stroke_border_lineto(ptr noundef nonnull %33, ptr noundef nonnull %4, i8 noundef zeroext 1)
  %.not44 = icmp eq i32 %37, 0
  br i1 %.not44, label %39, label %38

38:                                               ; preds = %39, %32
  %.lcssa = phi i32 [ %37, %32 ], [ %48, %39 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3
  br label %51

39:                                               ; preds = %32
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3
  %40 = getelementptr inbounds i8, ptr %0, i64 152
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3
  %41 = load <2 x i64>, ptr %3, align 16, !tbaa !18
  %42 = extractelement <2 x i64> %41, i64 0
  %43 = sub nsw i64 0, %42
  store i64 %43, ptr %3, align 16, !tbaa !5
  %44 = extractelement <2 x i64> %41, i64 1
  %45 = sub nsw i64 0, %44
  store i64 %45, ptr %14, align 8, !tbaa !13
  %46 = load <2 x i64>, ptr %1, align 8, !tbaa !18
  %47 = sub <2 x i64> %46, %41
  store <2 x i64> %47, ptr %4, align 16, !tbaa !18
  %48 = call i32 @ft_stroke_border_lineto(ptr noundef nonnull %40, ptr noundef nonnull %4, i8 noundef zeroext 1)
  %.not44.1 = icmp eq i32 %48, 0
  br i1 %.not44.1, label %49, label %38

49:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3
  store i64 %21, ptr %0, align 8, !tbaa !19
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %1, i64 16, i1 false), !tbaa.struct !20
  %50 = getelementptr inbounds i8, ptr %0, i64 32
  store i64 %18, ptr %50, align 8, !tbaa !21
  br label %51

51:                                               ; preds = %38, %49, %2, %27, %29
  %.2 = phi i32 [ 0, %2 ], [ %28, %27 ], [ %.lcssa, %38 ], [ 0, %49 ], [ %31, %29 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
  ret i32 %.2
}

; Function Attrs: nounwind uwtable
declare hidden i32 @ft_stroker_subpath_start(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @ft_stroker_process_corner(ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @ft_stroke_border_lineto(ptr noundef, ptr noundef, i8 noundef zeroext) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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, !7, i64 0}
!6 = !{!"XCG_FT_Vector_", !7, i64 0, !7, i64 8}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 16}
!11 = !{!"XCG_FT_StrokerRec_", !7, i64 0, !7, i64 8, !6, i64 16, !7, i64 32, !8, i64 40, !8, i64 41, !7, i64 48, !6, i64 56, !7, i64 72, !8, i64 80, !12, i64 84, !12, i64 88, !12, i64 92, !7, i64 96, !7, i64 104, !8, i64 112}
!12 = !{!"int", !8, i64 0}
!13 = !{!6, !7, i64 8}
!14 = !{!11, !7, i64 24}
!15 = !{!11, !7, i64 104}
!16 = !{!11, !8, i64 40}
!17 = !{!11, !7, i64 8}
!18 = !{!7, !7, i64 0}
!19 = !{!11, !7, i64 0}
!20 = !{i64 0, i64 8, !18, i64 8, i64 8, !18}
!21 = !{!11, !7, i64 32}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass