; LLVM IR from hadryansalles/Luz :: deps/imgui/imgui_draw.ll (ZN11ImFontAtlas14ClearInputDataEv)

; 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.ImFontAtlas = type <{ i32, [4 x i8], ptr, i32, i32, i8, [7 x i8], ptr, i8, i8, [6 x i8], ptr, ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, [64 x %struct.ImVec4], ptr, i32, i32, i32, [4 x i8] }>
%struct.ImVec2 = type { float, float }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImFontConfig = type { ptr, i32, i8, i32, float, i32, i32, i8, %struct.ImVec2, %struct.ImVec2, ptr, float, float, i8, i32, float, float, i16, [40 x i8], ptr }
%struct.ImFont = type <{ %struct.ImVector.6, float, float, %struct.ImVector.1, %struct.ImVector.7, ptr, ptr, ptr, i16, i16, i16, i16, float, float, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }

@.str.1 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [90 x i8], align 1
@__PRETTY_FUNCTION__._ZN11ImFontAtlas14ClearInputDataEv = external hidden unnamed_addr constant [35 x i8], align 1

; 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11ImFontAtlas14ClearInputDataEv(ptr noundef nonnull align 8 dereferenceable(1180) %0) #2 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %11 = load ptr, ptr %2, align 8
  %12 = getelementptr inbounds %struct.ImFontAtlas, ptr %11, i32 0, i32 5
  %13 = load i8, ptr %12, align 8, !tbaa !9, !range !18, !noundef !19
  %14 = trunc i8 %13 to i1
  br i1 %14, label %16, label %15

15:                                               ; preds = %1
  br label %16

16:                                               ; preds = %15, %1
  %17 = phi i1 [ false, %1 ], [ true, %15 ]
  br i1 %17, label %18, label %19

18:                                               ; preds = %16
  br label %21

19:                                               ; preds = %16
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.1, i32 noundef 2091, ptr noundef @__PRETTY_FUNCTION__._ZN11ImFontAtlas14ClearInputDataEv) #6
  unreachable

20:                                               ; No predecessors!
  br label %21

21:                                               ; preds = %20, %18
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  %22 = getelementptr inbounds %struct.ImFontAtlas, ptr %11, i32 0, i32 19
  store ptr %22, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  %23 = load ptr, ptr %3, align 8, !tbaa !5
  %24 = call noundef ptr @_ZN8ImVectorI12ImFontConfigE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %23)
  store ptr %24, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = call noundef ptr @_ZN8ImVectorI12ImFontConfigE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %25)
  store ptr %26, ptr %5, align 8, !tbaa !5
  br label %27

27:                                               ; preds = %50, %21
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = icmp ne ptr %28, %29
  br i1 %30, label %32, label %31

31:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  br label %53

32:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %33, ptr %6, align 8, !tbaa !5
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.ImFontConfig, ptr %34, i32 0, i32 0
  %36 = load ptr, ptr %35, align 8, !tbaa !20
  %37 = icmp ne ptr %36, null
  br i1 %37, label %38, label %49

38:                                               ; preds = %32
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.ImFontConfig, ptr %39, i32 0, i32 2
  %41 = load i8, ptr %40, align 4, !tbaa !23, !range !18, !noundef !19
  %42 = trunc i8 %41 to i1
  br i1 %42, label %43, label %49

43:                                               ; preds = %38
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.ImFontConfig, ptr %44, i32 0, i32 0
  %46 = load ptr, ptr %45, align 8, !tbaa !20
  call void @_ZN5ImGui7MemFreeEPv(ptr noundef %46)
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.ImFontConfig, ptr %47, i32 0, i32 0
  store ptr null, ptr %48, align 8, !tbaa !20
  br label %49

49:                                               ; preds = %43, %38, %32
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  br label %50

50:                                               ; preds = %49
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.ImFontConfig, ptr %51, i32 1
  store ptr %52, ptr %4, align 8, !tbaa !5
  br label %27

53:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %54 = getelementptr inbounds %struct.ImFontAtlas, ptr %11, i32 0, i32 17
  store ptr %54, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = call noundef ptr @_ZN8ImVectorIP6ImFontE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %55)
  store ptr %56, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = call noundef ptr @_ZN8ImVectorIP6ImFontE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %57)
  store ptr %58, ptr %9, align 8, !tbaa !5
  br label %59

59:                                               ; preds = %93, %53
  %60 = load ptr, ptr %8, align 8, !tbaa !5
  %61 = load ptr, ptr %9, align 8, !tbaa !5
  %62 = icmp ne ptr %60, %61
  br i1 %62, label %64, label %63

63:                                               ; preds = %59
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  br label %96

64:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %65 = load ptr, ptr %8, align 8, !tbaa !5
  %66 = load ptr, ptr %65, align 8, !tbaa !5
  store ptr %66, ptr %10, align 8, !tbaa !5
  %67 = load ptr, ptr %10, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.ImFont, ptr %67, i32 0, i32 7
  %69 = load ptr, ptr %68, align 8, !tbaa !24
  %70 = getelementptr inbounds %struct.ImFontAtlas, ptr %11, i32 0, i32 19
  %71 = getelementptr inbounds %struct.ImVector.10, ptr %70, i32 0, i32 2
  %72 = load ptr, ptr %71, align 8, !tbaa !29
  %73 = icmp uge ptr %69, %72
  br i1 %73, label %74, label %92

74:                                               ; preds = %64
  %75 = load ptr, ptr %10, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.ImFont, ptr %75, i32 0, i32 7
  %77 = load ptr, ptr %76, align 8, !tbaa !24
  %78 = getelementptr inbounds %struct.ImFontAtlas, ptr %11, i32 0, i32 19
  %79 = getelementptr inbounds %struct.ImVector.10, ptr %78, i32 0, i32 2
  %80 = load ptr, ptr %79, align 8, !tbaa !29
  %81 = getelementptr inbounds %struct.ImFontAtlas, ptr %11, i32 0, i32 19
  %82 = getelementptr inbounds %struct.ImVector.10, ptr %81, i32 0, i32 0
  %83 = load i32, ptr %82, align 8, !tbaa !30
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds %struct.ImFontConfig, ptr %80, i64 %84
  %86 = icmp ult ptr %77, %85
  br i1 %86, label %87, label %92

87:                                               ; preds = %74
  %88 = load ptr, ptr %10, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.ImFont, ptr %88, i32 0, i32 7
  store ptr null, ptr %89, align 8, !tbaa !24
  %90 = load ptr, ptr %10, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.ImFont, ptr %90, i32 0, i32 8
  store i16 0, ptr %91, align 8, !tbaa !31
  br label %92

92:                                               ; preds = %87, %74, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %93

93:                                               ; preds = %92
  %94 = load ptr, ptr %8, align 8, !tbaa !5
  %95 = getelementptr inbounds ptr, ptr %94, i32 1
  store ptr %95, ptr %8, align 8, !tbaa !5
  br label %59

96:                                               ; preds = %63
  %97 = getelementptr inbounds %struct.ImFontAtlas, ptr %11, i32 0, i32 19
  call void @_ZN8ImVectorI12ImFontConfigE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %97)
  %98 = getelementptr inbounds %struct.ImFontAtlas, ptr %11, i32 0, i32 18
  call void @_ZN8ImVectorI21ImFontAtlasCustomRectE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %98)
  %99 = getelementptr inbounds %struct.ImFontAtlas, ptr %11, i32 0, i32 24
  store i32 -1, ptr %99, align 8, !tbaa !32
  %100 = getelementptr inbounds %struct.ImFontAtlas, ptr %11, i32 0, i32 23
  store i32 -1, ptr %100, align 4, !tbaa !33
  ret void
}

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

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

declare void @_ZN5ImGui7MemFreeEPv(ptr noundef) #4

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI12ImFontConfigE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI21ImFontAtlasCustomRectE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #5 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn nounwind "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 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 = { "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 = { inlinehint 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 #6 = { noreturn nounwind }
attributes #7 = { 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++ TBAA"}
!9 = !{!10, !12, i64 24}
!10 = !{!"_ZTS11ImFontAtlas", !11, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !12, i64 24, !6, i64 32, !12, i64 40, !12, i64 41, !6, i64 48, !6, i64 56, !11, i64 64, !11, i64 68, !13, i64 72, !13, i64 80, !15, i64 88, !16, i64 104, !17, i64 120, !7, i64 136, !6, i64 1160, !11, i64 1168, !11, i64 1172, !11, i64 1176}
!11 = !{!"int", !7, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !7, i64 0}
!15 = !{!"_ZTS8ImVectorIP6ImFontE", !11, i64 0, !11, i64 4, !6, i64 8}
!16 = !{!"_ZTS8ImVectorI21ImFontAtlasCustomRectE", !11, i64 0, !11, i64 4, !6, i64 8}
!17 = !{!"_ZTS8ImVectorI12ImFontConfigE", !11, i64 0, !11, i64 4, !6, i64 8}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!21, !6, i64 0}
!21 = !{!"_ZTS12ImFontConfig", !6, i64 0, !11, i64 8, !12, i64 12, !11, i64 16, !14, i64 20, !11, i64 24, !11, i64 28, !12, i64 32, !13, i64 36, !13, i64 44, !6, i64 56, !14, i64 64, !14, i64 68, !12, i64 72, !11, i64 76, !14, i64 80, !14, i64 84, !22, i64 88, !7, i64 90, !6, i64 136}
!22 = !{!"short", !7, i64 0}
!23 = !{!21, !12, i64 12}
!24 = !{!25, !6, i64 72}
!25 = !{!"_ZTS6ImFont", !26, i64 0, !14, i64 16, !14, i64 20, !27, i64 24, !28, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !22, i64 80, !22, i64 82, !22, i64 84, !22, i64 86, !14, i64 88, !14, i64 92, !12, i64 96, !14, i64 100, !14, i64 104, !14, i64 108, !11, i64 112, !7, i64 116}
!26 = !{!"_ZTS8ImVectorIfE", !11, i64 0, !11, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorItE", !11, i64 0, !11, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !11, i64 0, !11, i64 4, !6, i64 8}
!29 = !{!10, !6, i64 128}
!30 = !{!10, !11, i64 120}
!31 = !{!25, !22, i64 80}
!32 = !{!10, !11, i64 1176}
!33 = !{!10, !11, i64 1172}


; 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.ImFontConfig = type { ptr, i32, i8, i32, float, i32, i32, i8, %struct.ImVec2, %struct.ImVec2, ptr, float, float, i8, i32, float, float, i16, [40 x i8], ptr }
%struct.ImVec2 = type { float, float }

@.str.1 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [90 x i8], align 1
@__PRETTY_FUNCTION__._ZN11ImFontAtlas14ClearInputDataEv = external hidden unnamed_addr constant [35 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11ImFontAtlas14ClearInputDataEv(ptr noundef nonnull align 8 dereferenceable(1180) %0) local_unnamed_addr #1 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 24
  %3 = load i8, ptr %2, align 8, !tbaa !5, !range !17, !noundef !18
  %4 = trunc nuw i8 %3 to i1
  br i1 %4, label %5, label %6

5:                                                ; preds = %1
  tail call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.1, i32 noundef 2091, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN11ImFontAtlas14ClearInputDataEv) #5
  unreachable

6:                                                ; preds = %1
  %7 = getelementptr inbounds i8, ptr %0, i64 120
  %8 = tail call noundef ptr @_ZN8ImVectorI12ImFontConfigE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %9 = tail call noundef ptr @_ZN8ImVectorI12ImFontConfigE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %.not28 = icmp eq ptr %8, %9
  br i1 %.not28, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %24, %6
  %10 = getelementptr inbounds i8, ptr %0, i64 88
  %11 = tail call noundef ptr @_ZN8ImVectorIP6ImFontE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %12 = tail call noundef ptr @_ZN8ImVectorIP6ImFontE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %.not2530 = icmp eq ptr %11, %12
  br i1 %.not2530, label %._crit_edge34, label %.lr.ph33

.lr.ph33:                                         ; preds = %._crit_edge
  %13 = getelementptr inbounds i8, ptr %0, i64 128
  %14 = load ptr, ptr %13, align 8, !tbaa !19
  %15 = load i32, ptr %7, align 8
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds %struct.ImFontConfig, ptr %14, i64 %16
  br label %29

.lr.ph:                                           ; preds = %6, %24
  %.029 = phi ptr [ %25, %24 ], [ %8, %6 ]
  %18 = load ptr, ptr %.029, align 8, !tbaa !20
  %.not27 = icmp eq ptr %18, null
  br i1 %.not27, label %24, label %19

19:                                               ; preds = %.lr.ph
  %20 = getelementptr inbounds i8, ptr %.029, i64 12
  %21 = load i8, ptr %20, align 4, !tbaa !23, !range !17, !noundef !18
  %22 = trunc nuw i8 %21 to i1
  br i1 %22, label %23, label %24

23:                                               ; preds = %19
  tail call void @_ZN5ImGui7MemFreeEPv(ptr noundef nonnull %18)
  store ptr null, ptr %.029, align 8, !tbaa !20
  br label %24

24:                                               ; preds = %23, %19, %.lr.ph
  %25 = getelementptr inbounds i8, ptr %.029, i64 144
  %.not = icmp eq ptr %25, %9
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge34:                                    ; preds = %36, %._crit_edge
  tail call void @_ZN8ImVectorI12ImFontConfigE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %26 = getelementptr inbounds i8, ptr %0, i64 104
  tail call void @_ZN8ImVectorI21ImFontAtlasCustomRectE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %26)
  %27 = getelementptr inbounds i8, ptr %0, i64 1176
  store i32 -1, ptr %27, align 8, !tbaa !24
  %28 = getelementptr inbounds i8, ptr %0, i64 1172
  store i32 -1, ptr %28, align 4, !tbaa !25
  ret void

29:                                               ; preds = %.lr.ph33, %36
  %.02131 = phi ptr [ %11, %.lr.ph33 ], [ %37, %36 ]
  %30 = load ptr, ptr %.02131, align 8, !tbaa !26
  %31 = getelementptr inbounds i8, ptr %30, i64 72
  %32 = load ptr, ptr %31, align 8, !tbaa !27
  %.not26 = icmp uge ptr %32, %14
  %33 = icmp ult ptr %32, %17
  %or.cond = select i1 %.not26, i1 %33, i1 false
  br i1 %or.cond, label %34, label %36

34:                                               ; preds = %29
  store ptr null, ptr %31, align 8, !tbaa !27
  %35 = getelementptr inbounds i8, ptr %30, i64 80
  store i16 0, ptr %35, align 8, !tbaa !32
  br label %36

36:                                               ; preds = %34, %29
  %37 = getelementptr inbounds i8, ptr %.02131, i64 8
  %.not25 = icmp eq ptr %37, %12
  br i1 %.not25, label %._crit_edge34, label %29
}

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

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

declare void @_ZN5ImGui7MemFreeEPv(ptr noundef) local_unnamed_addr #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI12ImFontConfigE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI21ImFontAtlasCustomRectE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4 align 2

attributes #0 = { noreturn nounwind "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 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 = { 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 #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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn 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, !11, i64 24}
!6 = !{!"_ZTS11ImFontAtlas", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !11, i64 24, !10, i64 32, !11, i64 40, !11, i64 41, !10, i64 48, !10, i64 56, !7, i64 64, !7, i64 68, !12, i64 72, !12, i64 80, !14, i64 88, !15, i64 104, !16, i64 120, !8, i64 136, !10, i64 1160, !7, i64 1168, !7, i64 1172, !7, i64 1176}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !8, i64 0}
!14 = !{!"_ZTS8ImVectorIP6ImFontE", !7, i64 0, !7, i64 4, !10, i64 8}
!15 = !{!"_ZTS8ImVectorI21ImFontAtlasCustomRectE", !7, i64 0, !7, i64 4, !10, i64 8}
!16 = !{!"_ZTS8ImVectorI12ImFontConfigE", !7, i64 0, !7, i64 4, !10, i64 8}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!6, !10, i64 128}
!20 = !{!21, !10, i64 0}
!21 = !{!"_ZTS12ImFontConfig", !10, i64 0, !7, i64 8, !11, i64 12, !7, i64 16, !13, i64 20, !7, i64 24, !7, i64 28, !11, i64 32, !12, i64 36, !12, i64 44, !10, i64 56, !13, i64 64, !13, i64 68, !11, i64 72, !7, i64 76, !13, i64 80, !13, i64 84, !22, i64 88, !8, i64 90, !10, i64 136}
!22 = !{!"short", !8, i64 0}
!23 = !{!21, !11, i64 12}
!24 = !{!6, !7, i64 1176}
!25 = !{!6, !7, i64 1172}
!26 = !{!10, !10, i64 0}
!27 = !{!28, !10, i64 72}
!28 = !{!"_ZTS6ImFont", !29, i64 0, !13, i64 16, !13, i64 20, !30, i64 24, !31, i64 40, !10, i64 56, !10, i64 64, !10, i64 72, !22, i64 80, !22, i64 82, !22, i64 84, !22, i64 86, !13, i64 88, !13, i64 92, !11, i64 96, !13, i64 100, !13, i64 104, !13, i64 108, !7, i64 112, !8, i64 116}
!29 = !{!"_ZTS8ImVectorIfE", !7, i64 0, !7, i64 4, !10, i64 8}
!30 = !{!"_ZTS8ImVectorItE", !7, i64 0, !7, i64 4, !10, i64 8}
!31 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !7, i64 0, !7, i64 4, !10, i64 8}
!32 = !{!28, !22, i64 80}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass