; LLVM IR from reworks-org/galaxy :: deps/sfml_deps/freetype-src/src/psaux (pshints)

; 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.FT_Vector_ = type { i64, i64 }
%struct.CF2_GlyphPathRec_ = type { ptr, ptr, %struct.CF2_HintMapRec_, %struct.CF2_HintMapRec_, %struct.CF2_HintMapRec_, %struct.CF2_ArrStackRec_, i32, i32, i32, %struct.FT_Vector_, i8, i8, i8, i8, ptr, ptr, ptr, i32, ptr, i32, i32, i32, i32, %struct.FT_Vector_, %struct.FT_Vector_, %struct.FT_Vector_, %struct.FT_Vector_, %struct.FT_Vector_, i8, i32, %struct.FT_Vector_, %struct.FT_Vector_, %struct.FT_Vector_, %struct.FT_Vector_ }
%struct.CF2_HintMapRec_ = type { ptr, ptr, ptr, i8, i8, i32, i32, i32, [192 x %struct.CF2_HintRec_] }
%struct.CF2_HintRec_ = type { i32, i64, i32, i32, i32 }
%struct.CF2_ArrStackRec_ = type { ptr, ptr, i64, i64, i64, i64, ptr }

; Function Attrs: nounwind uwtable
declare hidden void @cf2_hintmap_build(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i8 noundef zeroext) #0

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

declare hidden zeroext i8 @cf2_hintmask_isNew(ptr noundef) #3

; Function Attrs: nounwind uwtable
define hidden void @cf2_glyphpath_lineTo(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %struct.FT_Vector_, align 8
  %10 = alloca %struct.FT_Vector_, align 8
  %11 = alloca i8, align 1
  %12 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #4
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %13, i32 0, i32 16
  %15 = load ptr, ptr %14, align 8, !tbaa !11
  %16 = call zeroext i8 @cf2_hintmask_isNew(ptr noundef %15)
  %17 = zext i8 %16 to i32
  %18 = icmp ne i32 %17, 0
  br i1 %18, label %19, label %25

19:                                               ; preds = %3
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %20, i32 0, i32 11
  %22 = load i8, ptr %21, align 1, !tbaa !17
  %23 = icmp ne i8 %22, 0
  %24 = xor i1 %23, true
  br label %25

25:                                               ; preds = %19, %3
  %26 = phi i1 [ false, %3 ], [ %24, %19 ]
  %27 = zext i1 %26 to i32
  %28 = trunc i32 %27 to i8
  store i8 %28, ptr %11, align 1, !tbaa !18
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %29, i32 0, i32 25
  %31 = getelementptr inbounds %struct.FT_Vector_, ptr %30, i32 0, i32 0
  %32 = load i64, ptr %31, align 8, !tbaa !19
  %33 = load i32, ptr %5, align 4, !tbaa !9
  %34 = sext i32 %33 to i64
  %35 = icmp eq i64 %32, %34
  br i1 %35, label %36, label %48

36:                                               ; preds = %25
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %37, i32 0, i32 25
  %39 = getelementptr inbounds %struct.FT_Vector_, ptr %38, i32 0, i32 1
  %40 = load i64, ptr %39, align 8, !tbaa !20
  %41 = load i32, ptr %6, align 4, !tbaa !9
  %42 = sext i32 %41 to i64
  %43 = icmp eq i64 %40, %42
  br i1 %43, label %44, label %48

44:                                               ; preds = %36
  %45 = load i8, ptr %11, align 1, !tbaa !18
  %46 = icmp ne i8 %45, 0
  br i1 %46, label %48, label %47

47:                                               ; preds = %44
  store i32 1, ptr %12, align 4
  br label %159

48:                                               ; preds = %44, %36, %25
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %50, i32 0, i32 25
  %52 = getelementptr inbounds %struct.FT_Vector_, ptr %51, i32 0, i32 0
  %53 = load i64, ptr %52, align 8, !tbaa !19
  %54 = trunc i64 %53 to i32
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %55, i32 0, i32 25
  %57 = getelementptr inbounds %struct.FT_Vector_, ptr %56, i32 0, i32 1
  %58 = load i64, ptr %57, align 8, !tbaa !20
  %59 = trunc i64 %58 to i32
  %60 = load i32, ptr %5, align 4, !tbaa !9
  %61 = load i32, ptr %6, align 4, !tbaa !9
  call void @cf2_glyphpath_computeOffset(ptr noundef %49, i32 noundef %54, i32 noundef %59, i32 noundef %60, i32 noundef %61, ptr noundef %7, ptr noundef %8)
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %62, i32 0, i32 25
  %64 = getelementptr inbounds %struct.FT_Vector_, ptr %63, i32 0, i32 0
  %65 = load i64, ptr %64, align 8, !tbaa !19
  %66 = trunc i64 %65 to i32
  %67 = load i32, ptr %7, align 4, !tbaa !9
  %68 = add i32 %66, %67
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds %struct.FT_Vector_, ptr %9, i32 0, i32 0
  store i64 %69, ptr %70, align 8, !tbaa !21
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %71, i32 0, i32 25
  %73 = getelementptr inbounds %struct.FT_Vector_, ptr %72, i32 0, i32 1
  %74 = load i64, ptr %73, align 8, !tbaa !20
  %75 = trunc i64 %74 to i32
  %76 = load i32, ptr %8, align 4, !tbaa !9
  %77 = add i32 %75, %76
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds %struct.FT_Vector_, ptr %9, i32 0, i32 1
  store i64 %78, ptr %79, align 8, !tbaa !22
  %80 = load i32, ptr %5, align 4, !tbaa !9
  %81 = load i32, ptr %7, align 4, !tbaa !9
  %82 = add i32 %80, %81
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds %struct.FT_Vector_, ptr %10, i32 0, i32 0
  store i64 %83, ptr %84, align 8, !tbaa !21
  %85 = load i32, ptr %6, align 4, !tbaa !9
  %86 = load i32, ptr %8, align 4, !tbaa !9
  %87 = add i32 %85, %86
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds %struct.FT_Vector_, ptr %10, i32 0, i32 1
  store i64 %88, ptr %89, align 8, !tbaa !22
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %90, i32 0, i32 13
  %92 = load i8, ptr %91, align 1, !tbaa !23
  %93 = icmp ne i8 %92, 0
  br i1 %93, label %94, label %106

94:                                               ; preds = %48
  %95 = load ptr, ptr %4, align 8, !tbaa !5
  %96 = getelementptr inbounds { i64, i64 }, ptr %9, i32 0, i32 0
  %97 = load i64, ptr %96, align 8
  %98 = getelementptr inbounds { i64, i64 }, ptr %9, i32 0, i32 1
  %99 = load i64, ptr %98, align 8
  call void @cf2_glyphpath_pushMove(ptr noundef %95, i64 %97, i64 %99)
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %100, i32 0, i32 13
  store i8 0, ptr %101, align 1, !tbaa !23
  %102 = load ptr, ptr %4, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %102, i32 0, i32 10
  store i8 1, ptr %103, align 8, !tbaa !24
  %104 = load ptr, ptr %4, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %104, i32 0, i32 24
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %105, ptr align 8 %10, i64 16, i1 false), !tbaa.struct !25
  br label %106

106:                                              ; preds = %94, %48
  %107 = load ptr, ptr %4, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %107, i32 0, i32 28
  %109 = load i8, ptr %108, align 8, !tbaa !27
  %110 = icmp ne i8 %109, 0
  br i1 %110, label %111, label %122

111:                                              ; preds = %106
  br label %112

112:                                              ; preds = %111
  br label %113

113:                                              ; preds = %112
  br label %114

114:                                              ; preds = %113
  %115 = load ptr, ptr %4, align 8, !tbaa !5
  %116 = load ptr, ptr %4, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %116, i32 0, i32 2
  %118 = getelementptr inbounds { i64, i64 }, ptr %10, i32 0, i32 0
  %119 = load i64, ptr %118, align 8
  %120 = getelementptr inbounds { i64, i64 }, ptr %10, i32 0, i32 1
  %121 = load i64, ptr %120, align 8
  call void @cf2_glyphpath_pushPrevElem(ptr noundef %115, ptr noundef %117, ptr noundef %9, i64 %119, i64 %121, i8 noundef zeroext 0)
  br label %122

122:                                              ; preds = %114, %106
  %123 = load ptr, ptr %4, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %123, i32 0, i32 28
  store i8 1, ptr %124, align 8, !tbaa !27
  %125 = load ptr, ptr %4, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %125, i32 0, i32 29
  store i32 2, ptr %126, align 4, !tbaa !28
  %127 = load ptr, ptr %4, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %127, i32 0, i32 30
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %128, ptr align 8 %9, i64 16, i1 false), !tbaa.struct !25
  %129 = load ptr, ptr %4, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %129, i32 0, i32 31
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %130, ptr align 8 %10, i64 16, i1 false), !tbaa.struct !25
  %131 = load i8, ptr %11, align 1, !tbaa !18
  %132 = icmp ne i8 %131, 0
  br i1 %132, label %133, label %148

133:                                              ; preds = %122
  %134 = load ptr, ptr %4, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %134, i32 0, i32 2
  %136 = load ptr, ptr %4, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %136, i32 0, i32 14
  %138 = load ptr, ptr %137, align 8, !tbaa !29
  %139 = load ptr, ptr %4, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %139, i32 0, i32 15
  %141 = load ptr, ptr %140, align 8, !tbaa !30
  %142 = load ptr, ptr %4, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %142, i32 0, i32 16
  %144 = load ptr, ptr %143, align 8, !tbaa !11
  %145 = load ptr, ptr %4, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %145, i32 0, i32 17
  %147 = load i32, ptr %146, align 8, !tbaa !31
  call void @cf2_hintmap_build(ptr noundef %135, ptr noundef %138, ptr noundef %141, ptr noundef %144, i32 noundef %147, i8 noundef zeroext 0)
  br label %148

148:                                              ; preds = %133, %122
  %149 = load i32, ptr %5, align 4, !tbaa !9
  %150 = sext i32 %149 to i64
  %151 = load ptr, ptr %4, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %151, i32 0, i32 25
  %153 = getelementptr inbounds %struct.FT_Vector_, ptr %152, i32 0, i32 0
  store i64 %150, ptr %153, align 8, !tbaa !19
  %154 = load i32, ptr %6, align 4, !tbaa !9
  %155 = sext i32 %154 to i64
  %156 = load ptr, ptr %4, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.CF2_GlyphPathRec_, ptr %156, i32 0, i32 25
  %158 = getelementptr inbounds %struct.FT_Vector_, ptr %157, i32 0, i32 1
  store i64 %155, ptr %158, align 8, !tbaa !20
  store i32 0, ptr %12, align 4
  br label %159

159:                                              ; preds = %148, %47
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  %160 = load i32, ptr %12, align 4
  switch i32 %160, label %162 [
    i32 0, label %161
    i32 1, label %161
  ]

161:                                              ; preds = %159, %159
  ret void

162:                                              ; preds = %159
  unreachable
}

; Function Attrs: nounwind uwtable
declare hidden void @cf2_glyphpath_computeOffset(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @cf2_glyphpath_pushMove(ptr noundef, i64, i64) #0

; Function Attrs: nounwind uwtable
declare hidden void @cf2_glyphpath_pushPrevElem(ptr noundef, ptr noundef, ptr noundef, i64, i64, i8 noundef zeroext) #0

attributes #0 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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 = !{!"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, !6, i64 18680}
!12 = !{!"CF2_GlyphPathRec_", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 6200, !13, i64 12384, !14, i64 18568, !10, i64 18624, !10, i64 18628, !10, i64 18632, !16, i64 18640, !7, i64 18656, !7, i64 18657, !7, i64 18658, !7, i64 18659, !6, i64 18664, !6, i64 18672, !6, i64 18680, !10, i64 18688, !6, i64 18696, !10, i64 18704, !10, i64 18708, !10, i64 18712, !10, i64 18716, !16, i64 18720, !16, i64 18736, !16, i64 18752, !16, i64 18768, !16, i64 18784, !7, i64 18800, !10, i64 18804, !16, i64 18808, !16, i64 18824, !16, i64 18840, !16, i64 18856}
!13 = !{!"CF2_HintMapRec_", !6, i64 0, !6, i64 8, !6, i64 16, !7, i64 24, !7, i64 25, !10, i64 28, !10, i64 32, !10, i64 36, !7, i64 40}
!14 = !{!"CF2_ArrStackRec_", !6, i64 0, !6, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !6, i64 48}
!15 = !{!"long", !7, i64 0}
!16 = !{!"FT_Vector_", !15, i64 0, !15, i64 8}
!17 = !{!12, !7, i64 18657}
!18 = !{!7, !7, i64 0}
!19 = !{!12, !15, i64 18752}
!20 = !{!12, !15, i64 18760}
!21 = !{!16, !15, i64 0}
!22 = !{!16, !15, i64 8}
!23 = !{!12, !7, i64 18659}
!24 = !{!12, !7, i64 18656}
!25 = !{i64 0, i64 8, !26, i64 8, i64 8, !26}
!26 = !{!15, !15, i64 0}
!27 = !{!12, !7, i64 18800}
!28 = !{!12, !10, i64 18804}
!29 = !{!12, !6, i64 18664}
!30 = !{!12, !6, i64 18672}
!31 = !{!12, !10, i64 18688}


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

; Function Attrs: nounwind uwtable
declare hidden void @cf2_hintmap_build(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i8 noundef zeroext) 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 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

declare hidden zeroext i8 @cf2_hintmask_isNew(ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define hidden void @cf2_glyphpath_lineTo(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %struct.FT_Vector_, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4
  %7 = getelementptr inbounds i8, ptr %0, i64 18680
  %8 = load ptr, ptr %7, align 8, !tbaa !5
  %9 = tail call zeroext i8 @cf2_hintmask_isNew(ptr noundef %8) #4
  %.not = icmp eq i8 %9, 0
  br i1 %.not, label %13, label %10

10:                                               ; preds = %3
  %11 = getelementptr inbounds i8, ptr %0, i64 18657
  %12 = load i8, ptr %11, align 1, !tbaa !15
  %.not41 = icmp eq i8 %12, 0
  br label %13

13:                                               ; preds = %10, %3
  %14 = phi i1 [ false, %3 ], [ %.not41, %10 ]
  %15 = getelementptr inbounds i8, ptr %0, i64 18752
  %16 = load i64, ptr %15, align 8, !tbaa !16
  %17 = sext i32 %1 to i64
  %18 = icmp eq i64 %16, %17
  %19 = getelementptr inbounds i8, ptr %0, i64 18760
  %20 = load i64, ptr %19, align 8, !tbaa !17
  br i1 %18, label %21, label %._crit_edge

21:                                               ; preds = %13
  %22 = sext i32 %2 to i64
  %23 = icmp ne i64 %20, %22
  %or.cond = select i1 %23, i1 true, i1 %14
  br i1 %or.cond, label %._crit_edge, label %67

._crit_edge:                                      ; preds = %13, %21
  %24 = trunc i64 %16 to i32
  %25 = getelementptr inbounds i8, ptr %0, i64 18760
  %26 = trunc i64 %20 to i32
  call void @cf2_glyphpath_computeOffset(ptr noundef nonnull %0, i32 noundef %24, i32 noundef %26, i32 noundef %1, i32 noundef %2, ptr noundef nonnull %4, ptr noundef nonnull %5)
  %27 = load i64, ptr %15, align 8, !tbaa !16
  %28 = trunc i64 %27 to i32
  %29 = load i32, ptr %4, align 4, !tbaa !18
  %30 = add i32 %29, %28
  %31 = sext i32 %30 to i64
  store i64 %31, ptr %6, align 8, !tbaa !19
  %32 = load i64, ptr %25, align 8, !tbaa !17
  %33 = trunc i64 %32 to i32
  %34 = load i32, ptr %5, align 4, !tbaa !18
  %35 = add i32 %34, %33
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds i8, ptr %6, i64 8
  store i64 %36, ptr %37, align 8, !tbaa !20
  %38 = add i32 %29, %1
  %39 = sext i32 %38 to i64
  %40 = add i32 %34, %2
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds i8, ptr %0, i64 18659
  %43 = load i8, ptr %42, align 1, !tbaa !21
  %.not42 = icmp eq i8 %43, 0
  br i1 %.not42, label %47, label %44

44:                                               ; preds = %._crit_edge
  call void @cf2_glyphpath_pushMove(ptr noundef nonnull %0, i64 %31, i64 %36)
  store i8 0, ptr %42, align 1, !tbaa !21
  %45 = getelementptr inbounds i8, ptr %0, i64 18656
  store i8 1, ptr %45, align 8, !tbaa !22
  %46 = getelementptr inbounds i8, ptr %0, i64 18736
  store i64 %39, ptr %46, align 8, !tbaa !23
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 18744
  store i64 %41, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !23
  br label %47

47:                                               ; preds = %44, %._crit_edge
  %48 = getelementptr inbounds i8, ptr %0, i64 18800
  %49 = load i8, ptr %48, align 8, !tbaa !24
  %.not43 = icmp eq i8 %49, 0
  br i1 %.not43, label %52, label %50

50:                                               ; preds = %47
  %51 = getelementptr inbounds i8, ptr %0, i64 16
  call void @cf2_glyphpath_pushPrevElem(ptr noundef nonnull %0, ptr noundef nonnull %51, ptr noundef nonnull %6, i64 %39, i64 %41, i8 noundef zeroext 0)
  br label %52

52:                                               ; preds = %50, %47
  store i8 1, ptr %48, align 8, !tbaa !24
  %53 = getelementptr inbounds i8, ptr %0, i64 18804
  store i32 2, ptr %53, align 4, !tbaa !25
  %54 = getelementptr inbounds i8, ptr %0, i64 18808
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %54, ptr noundef nonnull align 8 dereferenceable(16) %6, i64 16, i1 false), !tbaa.struct !26
  %55 = getelementptr inbounds i8, ptr %0, i64 18824
  store i64 %39, ptr %55, align 8, !tbaa !23
  %.sroa.6.0..sroa_idx4 = getelementptr inbounds i8, ptr %0, i64 18832
  store i64 %41, ptr %.sroa.6.0..sroa_idx4, align 8, !tbaa !23
  br i1 %14, label %56, label %65

56:                                               ; preds = %52
  %57 = getelementptr inbounds i8, ptr %0, i64 16
  %58 = getelementptr inbounds i8, ptr %0, i64 18664
  %59 = load ptr, ptr %58, align 8, !tbaa !27
  %60 = getelementptr inbounds i8, ptr %0, i64 18672
  %61 = load ptr, ptr %60, align 8, !tbaa !28
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = getelementptr inbounds i8, ptr %0, i64 18688
  %64 = load i32, ptr %63, align 8, !tbaa !29
  call void @cf2_hintmap_build(ptr noundef nonnull %57, ptr noundef %59, ptr noundef %61, ptr noundef %62, i32 noundef %64, i8 noundef zeroext 0)
  br label %65

65:                                               ; preds = %56, %52
  store i64 %17, ptr %15, align 8, !tbaa !16
  %66 = sext i32 %2 to i64
  store i64 %66, ptr %25, align 8, !tbaa !17
  br label %67

67:                                               ; preds = %21, %65
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  ret void
}

; Function Attrs: nounwind uwtable
declare hidden void @cf2_glyphpath_computeOffset(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden void @cf2_glyphpath_pushMove(ptr noundef, i64, i64) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden void @cf2_glyphpath_pushPrevElem(ptr noundef, ptr noundef, ptr noundef, i64, i64, i8 noundef zeroext) local_unnamed_addr #0

attributes #0 = { 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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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, !7, i64 18680}
!6 = !{!"CF2_GlyphPathRec_", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 6200, !10, i64 12384, !12, i64 18568, !11, i64 18624, !11, i64 18628, !11, i64 18632, !14, i64 18640, !8, i64 18656, !8, i64 18657, !8, i64 18658, !8, i64 18659, !7, i64 18664, !7, i64 18672, !7, i64 18680, !11, i64 18688, !7, i64 18696, !11, i64 18704, !11, i64 18708, !11, i64 18712, !11, i64 18716, !14, i64 18720, !14, i64 18736, !14, i64 18752, !14, i64 18768, !14, i64 18784, !8, i64 18800, !11, i64 18804, !14, i64 18808, !14, i64 18824, !14, i64 18840, !14, i64 18856}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"CF2_HintMapRec_", !7, i64 0, !7, i64 8, !7, i64 16, !8, i64 24, !8, i64 25, !11, i64 28, !11, i64 32, !11, i64 36, !8, i64 40}
!11 = !{!"int", !8, i64 0}
!12 = !{!"CF2_ArrStackRec_", !7, i64 0, !7, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !7, i64 48}
!13 = !{!"long", !8, i64 0}
!14 = !{!"FT_Vector_", !13, i64 0, !13, i64 8}
!15 = !{!6, !8, i64 18657}
!16 = !{!6, !13, i64 18752}
!17 = !{!6, !13, i64 18760}
!18 = !{!11, !11, i64 0}
!19 = !{!14, !13, i64 0}
!20 = !{!14, !13, i64 8}
!21 = !{!6, !8, i64 18659}
!22 = !{!6, !8, i64 18656}
!23 = !{!13, !13, i64 0}
!24 = !{!6, !8, i64 18800}
!25 = !{!6, !11, i64 18804}
!26 = !{i64 0, i64 8, !23, i64 8, i64 8, !23}
!27 = !{!6, !7, i64 18664}
!28 = !{!6, !7, i64 18672}
!29 = !{!6, !11, i64 18688}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass