; LLVM IR from Devaniti/BoolkaEngine :: ThirdParty/imgui (imgui)

; 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.ImVec2 = type { float, float }
%struct.ImDrawList = type <{ %struct.ImVector.12, %struct.ImVector, %struct.ImVector.13, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.14, %struct.ImVector.15, %struct.ImVector.16, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.17 }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, [12 x %struct.ImVec2], [64 x i8], ptr }
%struct.ImFont = type <{ %struct.ImVector.21, float, float, %struct.ImVector, %struct.ImVector.26, ptr, ptr, ptr, i16, i16, i16, i8, i8, float, float, float, i32, [2 x i8], [6 x i8] }>
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImFontGlyph = type { i32, float, float, float, float, float, float, float, float, float }
%struct.ImGuiContext = type <{ i8, i8, [6 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, [4 x i8], ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, [3 x i8], i32, ptr, %struct.ImVector.3, %struct.ImVector.3, %struct.ImVector.3, %struct.ImVector.3, %struct.ImGuiStorage, i32, [4 x i8], ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i32, i8, i8, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, [4 x i8], i64, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, [2 x i8], ptr, i32, float, %struct.ImGuiNextWindowData, %struct.ImGuiNextItemData, [4 x i8], %struct.ImVector.4, %struct.ImVector.5, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.10, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, [3 x i8], i32, i32, i32, i32, i32, i32, [4 x i8], %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, ptr, i32, [4 x i8], ptr, ptr, ptr, float, float, i8, [7 x i8], ptr, ptr, i32, i32, i32, i32, i8, [7 x i8], %struct.ImDrawData, %struct.ImDrawDataBuilder, float, [4 x i8], %struct.ImDrawList, %struct.ImDrawList, i32, i8, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, [4 x i8], %struct.ImVector.18, [16 x i8], ptr, %struct.ImPool, %struct.ImVector.20, %struct.ImVector.21, %struct.ImVector.17, ptr, %struct.ImPool.22, %struct.ImVector.20, %struct.ImVector.25, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, [3 x float], %struct.ImVec4, float, i8, i8, [2 x i8], float, float, float, i32, float, %struct.ImVector.2, %struct.ImVector.7, %struct.ImVec2, %struct.ImVec2, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.27, %struct.ImChunkStream, %struct.ImChunkStream.28, %struct.ImVector.29, i8, [3 x i8], i32, ptr, %struct.ImGuiTextBuffer, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, %struct.ImGuiMetricsConfig, [120 x float], i32, float, i32, i32, i32, [3073 x i8], [7 x i8] }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, [22 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, [512 x i8], [21 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, i32, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], [512 x float], [512 x float], [21 x float], [21 x float], float, i16, %struct.ImVector }
%struct.ImGuiStyle = type { float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [53 x %struct.ImVec4] }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.0 }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], %struct.ImRect, [4 x i8], ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImGuiNavMoveResult = type <{ ptr, i32, i32, float, float, float, %struct.ImRect, [4 x i8] }>
%struct.ImDrawData = type <{ i8, [7 x i8], ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, [4 x i8] }>
%struct.ImDrawDataBuilder = type { [2 x %struct.ImVector.11] }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImPool = type <{ %struct.ImVector.19, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImPool.22 = type <{ %struct.ImVector.23, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector, %struct.ImVector.2, %struct.ImVector.2, i8, i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i32, ptr, ptr }
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImStb::StbUndoState" }
%"struct.ImStb::StbUndoState" = type { [99 x %"struct.ImStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.2 }
%struct.ImChunkStream.28 = type { %struct.ImVector.2 }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.2 }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i32, i32 }

@GImGui = external dso_local global ptr, align 8

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #1 align 2

; 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) #0

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z28ImTextCountUtf8BytesFromCharPKcS0_(ptr noundef, ptr noundef) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL14ImCharIsBlankAc(i8 noundef signext) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef, float noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef, ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui19RenderTextClippedExEP10ImDrawListRK6ImVec2S4_PKcS6_PS3_S4_PK6ImRect(ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef, ptr noundef, i1 noundef zeroext, float noundef) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef, float noundef) #5

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui18RenderTextEllipsisEP10ImDrawListRK6ImVec2S4_ffPKcS6_PS3_(ptr noundef %0, ptr noundef nonnull align 4 dereferenceable(8) %1, ptr noundef nonnull align 4 dereferenceable(8) %2, float noundef %3, float noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #6 {
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca %struct.ImVec2, align 4
  %19 = alloca ptr, align 8
  %20 = alloca float, align 4
  %21 = alloca ptr, align 8
  %22 = alloca i16, align 2
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  %25 = alloca float, align 4
  %26 = alloca float, align 4
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  %29 = alloca float, align 4
  %30 = alloca %struct.ImVec2, align 4
  %31 = alloca %struct.ImVec2, align 4
  %32 = alloca %struct.ImVec2, align 4
  %33 = alloca %struct.ImVec2, align 4
  %34 = alloca %struct.ImVec2, align 4
  %35 = alloca float, align 4
  %36 = alloca i32, align 4
  %37 = alloca %struct.ImVec2, align 4
  %38 = alloca %struct.ImVec2, align 4
  %39 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store float %3, ptr %12, align 4, !tbaa !9
  store float %4, ptr %13, align 4, !tbaa !9
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  store ptr %7, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %40 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %40, ptr %17, align 8, !tbaa !5
  %41 = load ptr, ptr %15, align 8, !tbaa !5
  %42 = icmp eq ptr %41, null
  br i1 %42, label %43, label %46

43:                                               ; preds = %8
  %44 = load ptr, ptr %14, align 8, !tbaa !5
  %45 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %44, ptr noundef null)
  store ptr %45, ptr %15, align 8, !tbaa !5
  br label %46

46:                                               ; preds = %43, %8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %47 = load ptr, ptr %16, align 8, !tbaa !5
  %48 = icmp ne ptr %47, null
  br i1 %48, label %49, label %51

49:                                               ; preds = %46
  %50 = load ptr, ptr %16, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %50, i64 8, i1 false), !tbaa.struct !11
  br label %55

51:                                               ; preds = %46
  %52 = load ptr, ptr %14, align 8, !tbaa !5
  %53 = load ptr, ptr %15, align 8, !tbaa !5
  %54 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %52, ptr noundef %53, i1 noundef zeroext false, float noundef 0.000000e+00)
  store <2 x float> %54, ptr %18, align 4
  br label %55

55:                                               ; preds = %51, %49
  %56 = getelementptr inbounds %struct.ImVec2, ptr %18, i32 0, i32 0
  %57 = load float, ptr %56, align 4, !tbaa !12
  %58 = load ptr, ptr %11, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.ImVec2, ptr %58, i32 0, i32 0
  %60 = load float, ptr %59, align 4, !tbaa !12
  %61 = load ptr, ptr %10, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.ImVec2, ptr %61, i32 0, i32 0
  %63 = load float, ptr %62, align 4, !tbaa !12
  %64 = fsub float %60, %63
  %65 = fcmp ogt float %57, %64
  br i1 %65, label %66, label %231

66:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %67 = load ptr, ptr %9, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.ImDrawList, ptr %67, i32 0, i32 5
  %69 = load ptr, ptr %68, align 8, !tbaa !14
  %70 = getelementptr inbounds %struct.ImDrawListSharedData, ptr %69, i32 0, i32 1
  %71 = load ptr, ptr %70, align 8, !tbaa !27
  store ptr %71, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  %72 = load ptr, ptr %9, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.ImDrawList, ptr %72, i32 0, i32 5
  %74 = load ptr, ptr %73, align 8, !tbaa !14
  %75 = getelementptr inbounds %struct.ImDrawListSharedData, ptr %74, i32 0, i32 2
  %76 = load float, ptr %75, align 8, !tbaa !29
  store float %76, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  store ptr null, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %22) #8
  %77 = load ptr, ptr %19, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.ImFont, ptr %77, i32 0, i32 10
  %79 = load i16, ptr %78, align 4, !tbaa !30
  store i16 %79, ptr %22, align 2, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  store i32 1, ptr %23, align 4, !tbaa !37
  %80 = load i16, ptr %22, align 2, !tbaa !36
  %81 = zext i16 %80 to i32
  %82 = icmp eq i32 %81, 65535
  br i1 %82, label %83, label %84

83:                                               ; preds = %66
  store i16 46, ptr %22, align 2, !tbaa !36
  store i32 3, ptr %23, align 4, !tbaa !37
  br label %84

84:                                               ; preds = %83, %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %85 = load ptr, ptr %19, align 8, !tbaa !5
  %86 = load i16, ptr %22, align 2, !tbaa !36
  %87 = call noundef ptr @_ZNK6ImFont9FindGlyphEt(ptr noundef nonnull align 8 dereferenceable(106) %85, i16 noundef zeroext %86)
  store ptr %87, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  %88 = load ptr, ptr %24, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.ImFontGlyph, ptr %88, i32 0, i32 4
  %90 = load float, ptr %89, align 4, !tbaa !38
  store float %90, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  %91 = load float, ptr %25, align 4, !tbaa !9
  store float %91, ptr %26, align 4, !tbaa !9
  %92 = load i32, ptr %23, align 4, !tbaa !37
  %93 = icmp sgt i32 %92, 1
  br i1 %93, label %94, label %120

94:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  %95 = load ptr, ptr %9, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.ImDrawList, ptr %95, i32 0, i32 5
  %97 = load ptr, ptr %96, align 8, !tbaa !14
  %98 = getelementptr inbounds %struct.ImDrawListSharedData, ptr %97, i32 0, i32 2
  %99 = load float, ptr %98, align 8, !tbaa !29
  %100 = load ptr, ptr %19, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.ImFont, ptr %100, i32 0, i32 2
  %102 = load float, ptr %101, align 4, !tbaa !40
  %103 = fdiv float %99, %102
  %104 = fmul float 1.000000e+00, %103
  store float %104, ptr %27, align 4, !tbaa !9
  %105 = load ptr, ptr %24, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.ImFontGlyph, ptr %105, i32 0, i32 4
  %107 = load float, ptr %106, align 4, !tbaa !38
  %108 = load ptr, ptr %24, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.ImFontGlyph, ptr %108, i32 0, i32 2
  %110 = load float, ptr %109, align 4, !tbaa !41
  %111 = fsub float %107, %110
  %112 = load float, ptr %27, align 4, !tbaa !9
  %113 = fadd float %111, %112
  store float %113, ptr %25, align 4, !tbaa !9
  %114 = load float, ptr %25, align 4, !tbaa !9
  %115 = load i32, ptr %23, align 4, !tbaa !37
  %116 = sitofp i32 %115 to float
  %117 = load float, ptr %27, align 4, !tbaa !9
  %118 = fneg float %117
  %119 = call float @llvm.fmuladd.f32(float %114, float %116, float %118)
  store float %119, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  br label %120

120:                                              ; preds = %94, %84
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  %121 = load ptr, ptr %11, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.ImVec2, ptr %121, i32 0, i32 0
  %123 = load float, ptr %122, align 4, !tbaa !12
  %124 = load float, ptr %13, align 4, !tbaa !9
  %125 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %123, float noundef %124)
  %126 = load float, ptr %26, align 4, !tbaa !9
  %127 = fsub float %125, %126
  %128 = load ptr, ptr %10, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.ImVec2, ptr %128, i32 0, i32 0
  %130 = load float, ptr %129, align 4, !tbaa !12
  %131 = fsub float %127, %130
  %132 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %131, float noundef 1.000000e+00)
  store float %132, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %133 = load ptr, ptr %19, align 8, !tbaa !5
  %134 = load float, ptr %20, align 4, !tbaa !9
  %135 = load float, ptr %28, align 4, !tbaa !9
  %136 = load ptr, ptr %14, align 8, !tbaa !5
  %137 = load ptr, ptr %15, align 8, !tbaa !5
  %138 = call <2 x float> @_ZNK6ImFont13CalcTextSizeAEfffPKcS1_PS1_(ptr noundef nonnull align 8 dereferenceable(106) %133, float noundef %134, float noundef %135, float noundef 0.000000e+00, ptr noundef %136, ptr noundef %137, ptr noundef %21)
  store <2 x float> %138, ptr %30, align 4
  %139 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 0
  %140 = load float, ptr %139, align 4, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  store float %140, ptr %29, align 4, !tbaa !9
  %141 = load ptr, ptr %14, align 8, !tbaa !5
  %142 = load ptr, ptr %21, align 8, !tbaa !5
  %143 = icmp eq ptr %141, %142
  br i1 %143, label %144, label %162

144:                                              ; preds = %120
  %145 = load ptr, ptr %21, align 8, !tbaa !5
  %146 = load ptr, ptr %15, align 8, !tbaa !5
  %147 = icmp ult ptr %145, %146
  br i1 %147, label %148, label %162

148:                                              ; preds = %144
  %149 = load ptr, ptr %14, align 8, !tbaa !5
  %150 = load ptr, ptr %14, align 8, !tbaa !5
  %151 = load ptr, ptr %15, align 8, !tbaa !5
  %152 = call noundef i32 @_Z28ImTextCountUtf8BytesFromCharPKcS0_(ptr noundef %150, ptr noundef %151)
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds i8, ptr %149, i64 %153
  store ptr %154, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %155 = load ptr, ptr %19, align 8, !tbaa !5
  %156 = load float, ptr %20, align 4, !tbaa !9
  %157 = load ptr, ptr %14, align 8, !tbaa !5
  %158 = load ptr, ptr %21, align 8, !tbaa !5
  %159 = call <2 x float> @_ZNK6ImFont13CalcTextSizeAEfffPKcS1_PS1_(ptr noundef nonnull align 8 dereferenceable(106) %155, float noundef %156, float noundef 0x47EFFFFFE0000000, float noundef 0.000000e+00, ptr noundef %157, ptr noundef %158, ptr noundef null)
  store <2 x float> %159, ptr %31, align 4
  %160 = getelementptr inbounds %struct.ImVec2, ptr %31, i32 0, i32 0
  %161 = load float, ptr %160, align 4, !tbaa !12
  store float %161, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  br label %162

162:                                              ; preds = %148, %144, %120
  br label %163

163:                                              ; preds = %174, %162
  %164 = load ptr, ptr %21, align 8, !tbaa !5
  %165 = load ptr, ptr %14, align 8, !tbaa !5
  %166 = icmp ugt ptr %164, %165
  br i1 %166, label %167, label %172

167:                                              ; preds = %163
  %168 = load ptr, ptr %21, align 8, !tbaa !5
  %169 = getelementptr inbounds i8, ptr %168, i64 -1
  %170 = load i8, ptr %169, align 1, !tbaa !42
  %171 = call noundef zeroext i1 @_ZL14ImCharIsBlankAc(i8 noundef signext %170)
  br label %172

172:                                              ; preds = %167, %163
  %173 = phi i1 [ false, %163 ], [ %171, %167 ]
  br i1 %173, label %174, label %187

174:                                              ; preds = %172
  %175 = load ptr, ptr %21, align 8, !tbaa !5
  %176 = getelementptr inbounds i8, ptr %175, i32 -1
  store ptr %176, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %177 = load ptr, ptr %19, align 8, !tbaa !5
  %178 = load float, ptr %20, align 4, !tbaa !9
  %179 = load ptr, ptr %21, align 8, !tbaa !5
  %180 = load ptr, ptr %21, align 8, !tbaa !5
  %181 = getelementptr inbounds i8, ptr %180, i64 1
  %182 = call <2 x float> @_ZNK6ImFont13CalcTextSizeAEfffPKcS1_PS1_(ptr noundef nonnull align 8 dereferenceable(106) %177, float noundef %178, float noundef 0x47EFFFFFE0000000, float noundef 0.000000e+00, ptr noundef %179, ptr noundef %181, ptr noundef null)
  store <2 x float> %182, ptr %32, align 4
  %183 = getelementptr inbounds %struct.ImVec2, ptr %32, i32 0, i32 0
  %184 = load float, ptr %183, align 4, !tbaa !12
  %185 = load float, ptr %29, align 4, !tbaa !9
  %186 = fsub float %185, %184
  store float %186, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %163, !llvm.loop !43

187:                                              ; preds = %172
  %188 = load ptr, ptr %9, align 8, !tbaa !5
  %189 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %190 = load float, ptr %12, align 4, !tbaa !9
  %191 = load ptr, ptr %11, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.ImVec2, ptr %191, i32 0, i32 1
  %193 = load float, ptr %192, align 4, !tbaa !45
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %33, float noundef %190, float noundef %193)
  %194 = load ptr, ptr %14, align 8, !tbaa !5
  %195 = load ptr, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %34, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui19RenderTextClippedExEP10ImDrawListRK6ImVec2S4_PKcS6_PS3_S4_PK6ImRect(ptr noundef %188, ptr noundef nonnull align 4 dereferenceable(8) %189, ptr noundef nonnull align 4 dereferenceable(8) %33, ptr noundef %194, ptr noundef %195, ptr noundef %18, ptr noundef nonnull align 4 dereferenceable(8) %34, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #8
  %196 = load ptr, ptr %10, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.ImVec2, ptr %196, i32 0, i32 0
  %198 = load float, ptr %197, align 4, !tbaa !12
  %199 = load float, ptr %29, align 4, !tbaa !9
  %200 = fadd float %198, %199
  store float %200, ptr %35, align 4, !tbaa !9
  %201 = load float, ptr %35, align 4, !tbaa !9
  %202 = load float, ptr %26, align 4, !tbaa !9
  %203 = fadd float %201, %202
  %204 = load float, ptr %13, align 4, !tbaa !9
  %205 = fcmp ole float %203, %204
  br i1 %205, label %206, label %230

206:                                              ; preds = %187
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  store i32 0, ptr %36, align 4, !tbaa !37
  br label %207

207:                                              ; preds = %226, %206
  %208 = load i32, ptr %36, align 4, !tbaa !37
  %209 = load i32, ptr %23, align 4, !tbaa !37
  %210 = icmp slt i32 %208, %209
  br i1 %210, label %212, label %211

211:                                              ; preds = %207
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  br label %229

212:                                              ; preds = %207
  %213 = load ptr, ptr %19, align 8, !tbaa !5
  %214 = load ptr, ptr %9, align 8, !tbaa !5
  %215 = load float, ptr %20, align 4, !tbaa !9
  %216 = load float, ptr %35, align 4, !tbaa !9
  %217 = load ptr, ptr %10, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.ImVec2, ptr %217, i32 0, i32 1
  %219 = load float, ptr %218, align 4, !tbaa !45
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef %216, float noundef %219)
  %220 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 0, float noundef 1.000000e+00)
  %221 = load i16, ptr %22, align 2, !tbaa !36
  %222 = load <2 x float>, ptr %37, align 4
  call void @_ZNK6ImFont10RenderCharEP10ImDrawListf6ImVec2jt(ptr noundef nonnull align 8 dereferenceable(106) %213, ptr noundef %214, float noundef %215, <2 x float> %222, i32 noundef %220, i16 noundef zeroext %221)
  %223 = load float, ptr %25, align 4, !tbaa !9
  %224 = load float, ptr %35, align 4, !tbaa !9
  %225 = fadd float %224, %223
  store float %225, ptr %35, align 4, !tbaa !9
  br label %226

226:                                              ; preds = %212
  %227 = load i32, ptr %36, align 4, !tbaa !37
  %228 = add nsw i32 %227, 1
  store i32 %228, ptr %36, align 4, !tbaa !37
  br label %207, !llvm.loop !46

229:                                              ; preds = %211
  br label %230

230:                                              ; preds = %229, %187
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 2, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %240

231:                                              ; preds = %55
  %232 = load ptr, ptr %9, align 8, !tbaa !5
  %233 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  %234 = load float, ptr %12, align 4, !tbaa !9
  %235 = load ptr, ptr %11, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.ImVec2, ptr %235, i32 0, i32 1
  %237 = load float, ptr %236, align 4, !tbaa !45
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %38, float noundef %234, float noundef %237)
  %238 = load ptr, ptr %14, align 8, !tbaa !5
  %239 = load ptr, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %39, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui19RenderTextClippedExEP10ImDrawListRK6ImVec2S4_PKcS6_PS3_S4_PK6ImRect(ptr noundef %232, ptr noundef nonnull align 4 dereferenceable(8) %233, ptr noundef nonnull align 4 dereferenceable(8) %38, ptr noundef %238, ptr noundef %239, ptr noundef %18, ptr noundef nonnull align 4 dereferenceable(8) %39, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  br label %240

240:                                              ; preds = %231, %230
  %241 = load ptr, ptr %17, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.ImGuiContext, ptr %241, i32 0, i32 206
  %243 = load i8, ptr %242, align 8, !tbaa !47, !range !91, !noundef !92
  %244 = trunc i8 %243 to i1
  br i1 %244, label %245, label %249

245:                                              ; preds = %240
  %246 = load ptr, ptr %10, align 8, !tbaa !5
  %247 = load ptr, ptr %14, align 8, !tbaa !5
  %248 = load ptr, ptr %15, align 8, !tbaa !5
  call void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef %246, ptr noundef %247, ptr noundef %248)
  br label %249

249:                                              ; preds = %245, %240
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  ret void
}

declare noundef ptr @_ZNK6ImFont9FindGlyphEt(ptr noundef nonnull align 8 dereferenceable(106), i16 noundef zeroext) #7

declare <2 x float> @_ZNK6ImFont13CalcTextSizeAEfffPKcS1_PS1_(ptr noundef nonnull align 8 dereferenceable(106), float noundef, float noundef, float noundef, ptr noundef, ptr noundef, ptr noundef) #7

declare void @_ZNK6ImFont10RenderCharEP10ImDrawListf6ImVec2jt(ptr noundef nonnull align 8 dereferenceable(106), ptr noundef, float noundef, <2 x float>, i32 noundef, i16 noundef zeroext) #7

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 = { 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 #6 = { mustprogress uwtable "min-legal-vector-width"="64" "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 #7 = { "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 #8 = { 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, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{i64 0, i64 4, !9, i64 4, i64 4, !9}
!12 = !{!13, !10, i64 0}
!13 = !{!"_ZTS6ImVec2", !10, i64 0, !10, i64 4}
!14 = !{!15, !6, i64 56}
!15 = !{!"_ZTS10ImDrawList", !16, i64 0, !18, i64 16, !19, i64 32, !17, i64 48, !17, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !20, i64 88, !21, i64 104, !22, i64 120, !23, i64 136, !25, i64 168, !10, i64 192}
!16 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !17, i64 0, !17, i64 4, !6, i64 8}
!17 = !{!"int", !7, i64 0}
!18 = !{!"_ZTS8ImVectorItE", !17, i64 0, !17, i64 4, !6, i64 8}
!19 = !{!"_ZTS8ImVectorI10ImDrawVertE", !17, i64 0, !17, i64 4, !6, i64 8}
!20 = !{!"_ZTS8ImVectorI6ImVec4E", !17, i64 0, !17, i64 4, !6, i64 8}
!21 = !{!"_ZTS8ImVectorIPvE", !17, i64 0, !17, i64 4, !6, i64 8}
!22 = !{!"_ZTS8ImVectorI6ImVec2E", !17, i64 0, !17, i64 4, !6, i64 8}
!23 = !{!"_ZTS15ImDrawCmdHeader", !24, i64 0, !6, i64 16, !17, i64 24}
!24 = !{!"_ZTS6ImVec4", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!25 = !{!"_ZTS18ImDrawListSplitter", !17, i64 0, !17, i64 4, !26, i64 8}
!26 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !17, i64 0, !17, i64 4, !6, i64 8}
!27 = !{!28, !6, i64 8}
!28 = !{!"_ZTS20ImDrawListSharedData", !13, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !24, i64 28, !17, i64 44, !7, i64 48, !7, i64 144, !6, i64 208}
!29 = !{!28, !10, i64 16}
!30 = !{!31, !34, i64 84}
!31 = !{!"_ZTS6ImFont", !32, i64 0, !10, i64 16, !10, i64 20, !18, i64 24, !33, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !34, i64 80, !34, i64 82, !34, i64 84, !35, i64 86, !10, i64 88, !10, i64 92, !10, i64 96, !17, i64 100, !7, i64 104}
!32 = !{!"_ZTS8ImVectorIfE", !17, i64 0, !17, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !17, i64 0, !17, i64 4, !6, i64 8}
!34 = !{!"short", !7, i64 0}
!35 = !{!"bool", !7, i64 0}
!36 = !{!34, !34, i64 0}
!37 = !{!17, !17, i64 0}
!38 = !{!39, !10, i64 16}
!39 = !{!"_ZTS11ImFontGlyph", !17, i64 0, !17, i64 3, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36}
!40 = !{!31, !10, i64 20}
!41 = !{!39, !10, i64 8}
!42 = !{!7, !7, i64 0}
!43 = distinct !{!43, !44}
!44 = !{!"llvm.loop.mustprogress"}
!45 = !{!13, !10, i64 4}
!46 = distinct !{!46, !44}
!47 = !{!48, !35, i64 12600}
!48 = !{!"_ZTS12ImGuiContext", !35, i64 0, !35, i64 1, !49, i64 8, !50, i64 5472, !6, i64 6520, !10, i64 6528, !10, i64 6532, !28, i64 6536, !51, i64 6752, !17, i64 6760, !17, i64 6764, !17, i64 6768, !35, i64 6772, !35, i64 6773, !35, i64 6774, !35, i64 6775, !35, i64 6776, !17, i64 6780, !6, i64 6784, !52, i64 6792, !52, i64 6808, !52, i64 6824, !52, i64 6840, !53, i64 6856, !17, i64 6872, !6, i64 6880, !6, i64 6888, !6, i64 6896, !6, i64 6904, !6, i64 6912, !6, i64 6920, !13, i64 6928, !10, i64 6936, !17, i64 6940, !17, i64 6944, !35, i64 6948, !35, i64 6949, !35, i64 6950, !35, i64 6951, !10, i64 6952, !10, i64 6956, !17, i64 6960, !17, i64 6964, !10, i64 6968, !35, i64 6972, !35, i64 6973, !35, i64 6974, !35, i64 6975, !35, i64 6976, !35, i64 6977, !35, i64 6978, !17, i64 6980, !17, i64 6984, !55, i64 6992, !13, i64 7000, !6, i64 7008, !56, i64 7016, !17, i64 7020, !17, i64 7024, !35, i64 7028, !35, i64 7029, !6, i64 7032, !17, i64 7040, !10, i64 7044, !57, i64 7048, !59, i64 7160, !60, i64 7184, !61, i64 7200, !62, i64 7216, !63, i64 7232, !64, i64 7248, !65, i64 7264, !66, i64 7280, !66, i64 7296, !6, i64 7312, !17, i64 7320, !17, i64 7324, !17, i64 7328, !17, i64 7332, !17, i64 7336, !17, i64 7340, !17, i64 7344, !17, i64 7348, !17, i64 7352, !17, i64 7356, !17, i64 7360, !56, i64 7364, !58, i64 7368, !17, i64 7384, !67, i64 7388, !17, i64 7392, !35, i64 7396, !35, i64 7397, !35, i64 7398, !35, i64 7399, !35, i64 7400, !35, i64 7401, !35, i64 7402, !17, i64 7404, !58, i64 7408, !35, i64 7424, !17, i64 7428, !68, i64 7432, !17, i64 7436, !17, i64 7440, !17, i64 7444, !17, i64 7448, !69, i64 7456, !69, i64 7504, !69, i64 7552, !6, i64 7600, !17, i64 7608, !6, i64 7616, !6, i64 7624, !6, i64 7632, !10, i64 7640, !10, i64 7644, !35, i64 7648, !6, i64 7656, !6, i64 7664, !17, i64 7672, !17, i64 7676, !17, i64 7680, !17, i64 7684, !35, i64 7688, !70, i64 7696, !71, i64 7752, !10, i64 7784, !15, i64 7792, !15, i64 7992, !17, i64 8192, !35, i64 8196, !35, i64 8197, !35, i64 8198, !17, i64 8200, !17, i64 8204, !17, i64 8208, !72, i64 8216, !58, i64 8280, !17, i64 8296, !17, i64 8300, !10, i64 8304, !17, i64 8308, !17, i64 8312, !17, i64 8316, !17, i64 8320, !73, i64 8328, !7, i64 8344, !6, i64 8360, !74, i64 8368, !76, i64 8408, !32, i64 8424, !26, i64 8440, !6, i64 8456, !77, i64 8464, !76, i64 8504, !79, i64 8520, !13, i64 8536, !80, i64 8544, !31, i64 12280, !17, i64 12392, !17, i64 12396, !10, i64 12400, !10, i64 12404, !7, i64 12408, !24, i64 12420, !10, i64 12436, !35, i64 12440, !35, i64 12441, !10, i64 12444, !10, i64 12448, !10, i64 12452, !17, i64 12456, !10, i64 12460, !81, i64 12464, !63, i64 12480, !13, i64 12496, !13, i64 12504, !7, i64 12512, !35, i64 12513, !10, i64 12516, !84, i64 12520, !85, i64 12536, !86, i64 12552, !87, i64 12568, !88, i64 12584, !35, i64 12600, !89, i64 12604, !6, i64 12608, !84, i64 12616, !10, i64 12632, !35, i64 12636, !17, i64 12640, !17, i64 12644, !17, i64 12648, !35, i64 12652, !17, i64 12656, !90, i64 12660, !7, i64 12676, !17, i64 13156, !10, i64 13160, !17, i64 13164, !17, i64 13168, !17, i64 13172, !7, i64 13176}
!49 = !{!"_ZTS7ImGuiIO", !17, i64 0, !17, i64 4, !13, i64 8, !10, i64 16, !10, i64 20, !6, i64 24, !6, i64 32, !10, i64 40, !10, i64 44, !10, i64 48, !7, i64 52, !10, i64 140, !10, i64 144, !6, i64 152, !6, i64 160, !10, i64 168, !35, i64 172, !6, i64 176, !13, i64 184, !35, i64 192, !35, i64 193, !35, i64 194, !35, i64 195, !35, i64 196, !35, i64 197, !10, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !13, i64 288, !7, i64 296, !10, i64 304, !10, i64 308, !35, i64 312, !35, i64 313, !35, i64 314, !35, i64 315, !7, i64 316, !7, i64 828, !35, i64 912, !35, i64 913, !35, i64 914, !35, i64 915, !35, i64 916, !35, i64 917, !35, i64 918, !10, i64 920, !17, i64 924, !17, i64 928, !17, i64 932, !17, i64 936, !17, i64 940, !13, i64 944, !17, i64 952, !13, i64 956, !7, i64 964, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5356, !10, i64 5440, !34, i64 5444, !18, i64 5448}
!50 = !{!"_ZTS10ImGuiStyle", !10, i64 0, !13, i64 4, !10, i64 12, !10, i64 16, !13, i64 20, !13, i64 28, !17, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !13, i64 56, !10, i64 64, !10, i64 68, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !17, i64 144, !13, i64 148, !13, i64 156, !13, i64 164, !13, i64 172, !10, i64 180, !35, i64 184, !35, i64 185, !35, i64 186, !10, i64 188, !10, i64 192, !7, i64 196}
!51 = !{!"double", !7, i64 0}
!52 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !17, i64 0, !17, i64 4, !6, i64 8}
!53 = !{!"_ZTS12ImGuiStorage", !54, i64 0}
!54 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !17, i64 0, !17, i64 4, !6, i64 8}
!55 = !{!"long long", !7, i64 0}
!56 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!57 = !{!"_ZTS19ImGuiNextWindowData", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !35, i64 56, !58, i64 60, !6, i64 80, !6, i64 88, !10, i64 96, !13, i64 100}
!58 = !{!"_ZTS6ImRect", !13, i64 0, !13, i64 8}
!59 = !{!"_ZTS17ImGuiNextItemData", !17, i64 0, !10, i64 4, !17, i64 8, !17, i64 12, !35, i64 16}
!60 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !17, i64 0, !17, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !17, i64 0, !17, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorIP6ImFontE", !17, i64 0, !17, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorIjE", !17, i64 0, !17, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorIiE", !17, i64 0, !17, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !17, i64 0, !17, i64 4, !6, i64 8}
!66 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !17, i64 0, !17, i64 4, !6, i64 8}
!67 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!68 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!69 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !17, i64 8, !17, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !58, i64 28}
!70 = !{!"_ZTS10ImDrawData", !35, i64 0, !6, i64 8, !17, i64 16, !17, i64 20, !17, i64 24, !13, i64 28, !13, i64 36, !13, i64 44}
!71 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!72 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !17, i64 8, !17, i64 12, !17, i64 16, !17, i64 20, !7, i64 24, !35, i64 57, !35, i64 58}
!73 = !{!"_ZTS8ImVectorIhE", !17, i64 0, !17, i64 4, !6, i64 8}
!74 = !{!"_ZTS6ImPoolI10ImGuiTableE", !75, i64 0, !53, i64 16, !17, i64 32}
!75 = !{!"_ZTS8ImVectorI10ImGuiTableE", !17, i64 0, !17, i64 4, !6, i64 8}
!76 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !17, i64 0, !17, i64 4, !6, i64 8}
!77 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !78, i64 0, !53, i64 16, !17, i64 32}
!78 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !17, i64 0, !17, i64 4, !6, i64 8}
!79 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !17, i64 0, !17, i64 4, !6, i64 8}
!80 = !{!"_ZTS19ImGuiInputTextState", !17, i64 0, !17, i64 4, !17, i64 8, !18, i64 16, !81, i64 32, !81, i64 48, !35, i64 64, !17, i64 68, !10, i64 72, !82, i64 76, !10, i64 3704, !35, i64 3708, !35, i64 3709, !35, i64 3710, !17, i64 3712, !6, i64 3720, !6, i64 3728}
!81 = !{!"_ZTS8ImVectorIcE", !17, i64 0, !17, i64 4, !6, i64 8}
!82 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !17, i64 0, !17, i64 4, !17, i64 8, !7, i64 12, !17, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !10, i64 28, !83, i64 32}
!83 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !34, i64 3582, !34, i64 3584, !17, i64 3588, !17, i64 3592}
!84 = !{!"_ZTS15ImGuiTextBuffer", !81, i64 0}
!85 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !17, i64 0, !17, i64 4, !6, i64 8}
!86 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !81, i64 0}
!87 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !81, i64 0}
!88 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !17, i64 0, !17, i64 4, !6, i64 8}
!89 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!90 = !{!"_ZTS18ImGuiMetricsConfig", !35, i64 0, !35, i64 1, !35, i64 2, !35, i64 3, !35, i64 4, !17, i64 8, !17, i64 12}
!91 = !{i8 0, i8 2}
!92 = !{}


; 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.ImVec2 = type { float, float }

@GImGui = external dso_local local_unnamed_addr global ptr, align 8

; 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 nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) 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 nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z28ImTextCountUtf8BytesFromCharPKcS0_(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL14ImCharIsBlankAc(i8 noundef signext) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef, float noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui19RenderTextClippedExEP10ImDrawListRK6ImVec2S4_PKcS6_PS3_S4_PK6ImRect(ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef, ptr noundef, i1 noundef zeroext, float noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef, float noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui18RenderTextEllipsisEP10ImDrawListRK6ImVec2S4_ffPKcS6_PS3_(ptr noundef %0, ptr noundef nonnull align 4 dereferenceable(8) %1, ptr nocapture noundef nonnull readonly align 4 dereferenceable(8) %2, float noundef %3, float noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef readonly %7) local_unnamed_addr #5 {
  %9 = alloca %struct.ImVec2, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %struct.ImVec2, align 4
  %12 = alloca %struct.ImVec2, align 4
  %13 = alloca %struct.ImVec2, align 8
  %14 = alloca %struct.ImVec2, align 4
  %15 = alloca %struct.ImVec2, align 4
  %16 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %17 = icmp eq ptr %6, null
  br i1 %17, label %18, label %20

18:                                               ; preds = %8
  %19 = tail call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %5, ptr noundef null)
  br label %20

20:                                               ; preds = %18, %8
  %.079 = phi ptr [ %19, %18 ], [ %6, %8 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %.not = icmp eq ptr %7, null
  br i1 %.not, label %23, label %21

21:                                               ; preds = %20
  %22 = load i64, ptr %7, align 4
  br label %26

23:                                               ; preds = %20
  %24 = tail call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %5, ptr noundef %.079, i1 noundef zeroext false, float noundef 0.000000e+00)
  %25 = bitcast <2 x float> %24 to i64
  br label %26

26:                                               ; preds = %23, %21
  %storemerge = phi i64 [ %22, %21 ], [ %25, %23 ]
  store i64 %storemerge, ptr %9, align 8
  %27 = trunc i64 %storemerge to i32
  %28 = bitcast i32 %27 to float
  %29 = load float, ptr %2, align 4, !tbaa !9
  %30 = load float, ptr %1, align 4, !tbaa !9
  %31 = fsub float %29, %30
  %32 = fcmp olt float %31, %28
  br i1 %32, label %33, label %105

33:                                               ; preds = %26
  %34 = getelementptr inbounds i8, ptr %0, i64 56
  %35 = load ptr, ptr %34, align 8, !tbaa !12
  %36 = getelementptr inbounds i8, ptr %35, i64 8
  %37 = load ptr, ptr %36, align 8, !tbaa !25
  %38 = getelementptr inbounds i8, ptr %35, i64 16
  %39 = load float, ptr %38, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  store ptr null, ptr %10, align 8, !tbaa !5
  %40 = getelementptr inbounds i8, ptr %37, i64 84
  %41 = load i16, ptr %40, align 4, !tbaa !28
  %42 = icmp eq i16 %41, -1
  %spec.select90 = select i1 %42, i16 46, i16 %41
  %43 = tail call noundef ptr @_ZNK6ImFont9FindGlyphEt(ptr noundef nonnull align 8 dereferenceable(106) %37, i16 noundef zeroext %spec.select90)
  %44 = getelementptr inbounds i8, ptr %43, i64 16
  %45 = load float, ptr %44, align 4, !tbaa !34
  br i1 %42, label %46, label %59

46:                                               ; preds = %33
  %47 = load ptr, ptr %34, align 8, !tbaa !12
  %48 = getelementptr inbounds i8, ptr %47, i64 16
  %49 = load float, ptr %48, align 8, !tbaa !27
  %50 = getelementptr inbounds i8, ptr %37, i64 20
  %51 = load float, ptr %50, align 4, !tbaa !36
  %52 = fdiv float %49, %51
  %53 = getelementptr inbounds i8, ptr %43, i64 8
  %54 = load float, ptr %53, align 4, !tbaa !37
  %55 = fsub float %45, %54
  %56 = fadd float %52, %55
  %57 = fneg float %52
  %58 = tail call float @llvm.fmuladd.f32(float %56, float 3.000000e+00, float %57)
  br label %59

59:                                               ; preds = %46, %33
  %.084 = phi float [ %58, %46 ], [ %45, %33 ]
  %.083 = phi float [ %56, %46 ], [ %45, %33 ]
  %60 = load float, ptr %2, align 4, !tbaa !9
  %61 = tail call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %60, float noundef %4)
  %62 = fsub float %61, %.084
  %63 = load float, ptr %1, align 4, !tbaa !9
  %64 = fsub float %62, %63
  %65 = tail call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %64, float noundef 1.000000e+00)
  %66 = call <2 x float> @_ZNK6ImFont13CalcTextSizeAEfffPKcS1_PS1_(ptr noundef nonnull align 8 dereferenceable(106) %37, float noundef %39, float noundef %65, float noundef 0.000000e+00, ptr noundef %5, ptr noundef %.079, ptr noundef nonnull %10)
  %.sroa.05.0.vec.extract = extractelement <2 x float> %66, i64 0
  %67 = load ptr, ptr %10, align 8, !tbaa !5
  %68 = icmp eq ptr %67, %5
  %69 = icmp ult ptr %67, %.079
  %or.cond = and i1 %68, %69
  br i1 %or.cond, label %70, label %75

70:                                               ; preds = %59
  %71 = call noundef i32 @_Z28ImTextCountUtf8BytesFromCharPKcS0_(ptr noundef %5, ptr noundef nonnull %.079)
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds i8, ptr %5, i64 %72
  store ptr %73, ptr %10, align 8, !tbaa !5
  %74 = call <2 x float> @_ZNK6ImFont13CalcTextSizeAEfffPKcS1_PS1_(ptr noundef nonnull align 8 dereferenceable(106) %37, float noundef %39, float noundef 0x47EFFFFFE0000000, float noundef 0.000000e+00, ptr noundef %5, ptr noundef %73, ptr noundef null)
  %.sroa.04.0.vec.extract = extractelement <2 x float> %74, i64 0
  %.pre = load ptr, ptr %10, align 8, !tbaa !5
  br label %75

75:                                               ; preds = %70, %59
  %76 = phi ptr [ %.pre, %70 ], [ %67, %59 ]
  %.082 = phi float [ %.sroa.04.0.vec.extract, %70 ], [ %.sroa.05.0.vec.extract, %59 ]
  %77 = icmp ugt ptr %76, %5
  br i1 %77, label %.lr.ph, label %.critedge

.lr.ph:                                           ; preds = %75, %82
  %78 = phi ptr [ %87, %82 ], [ %76, %75 ]
  %.191 = phi float [ %86, %82 ], [ %.082, %75 ]
  %79 = getelementptr inbounds i8, ptr %78, i64 -1
  %80 = load i8, ptr %79, align 1, !tbaa !38
  %81 = call noundef zeroext i1 @_ZL14ImCharIsBlankAc(i8 noundef signext %80)
  br i1 %81, label %82, label %.critedge

82:                                               ; preds = %.lr.ph
  %83 = load ptr, ptr %10, align 8, !tbaa !5
  %84 = getelementptr inbounds i8, ptr %83, i64 -1
  store ptr %84, ptr %10, align 8, !tbaa !5
  %85 = call <2 x float> @_ZNK6ImFont13CalcTextSizeAEfffPKcS1_PS1_(ptr noundef nonnull align 8 dereferenceable(106) %37, float noundef %39, float noundef 0x47EFFFFFE0000000, float noundef 0.000000e+00, ptr noundef nonnull %84, ptr noundef %83, ptr noundef null)
  %.sroa.0.0.vec.extract = extractelement <2 x float> %85, i64 0
  %86 = fsub float %.191, %.sroa.0.0.vec.extract
  %87 = load ptr, ptr %10, align 8, !tbaa !5
  %88 = icmp ugt ptr %87, %5
  br i1 %88, label %.lr.ph, label %.critedge, !llvm.loop !39

.critedge:                                        ; preds = %.lr.ph, %82, %75
  %.1.lcssa = phi float [ %.082, %75 ], [ %86, %82 ], [ %.191, %.lr.ph ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  %89 = getelementptr inbounds i8, ptr %2, i64 4
  %90 = load float, ptr %89, align 4, !tbaa !41
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef %3, float noundef %90)
  %91 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui19RenderTextClippedExEP10ImDrawListRK6ImVec2S4_PKcS6_PS3_S4_PK6ImRect(ptr noundef %0, ptr noundef nonnull align 4 dereferenceable(8) %1, ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef %5, ptr noundef %91, ptr noundef nonnull %9, ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  %92 = load float, ptr %1, align 4, !tbaa !9
  %93 = fadd float %.1.lcssa, %92
  %94 = fadd float %.084, %93
  %95 = fcmp ugt float %94, %4
  br i1 %95, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %.critedge
  %96 = getelementptr inbounds i8, ptr %1, i64 4
  br label %97

97:                                               ; preds = %.preheader, %97
  %.095 = phi i32 [ 0, %.preheader ], [ %102, %97 ]
  %.07894 = phi float [ %93, %.preheader ], [ %101, %97 ]
  %98 = load float, ptr %96, align 4, !tbaa !41
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef %.07894, float noundef %98)
  %99 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 0, float noundef 1.000000e+00)
  %100 = load <2 x float>, ptr %13, align 8
  call void @_ZNK6ImFont10RenderCharEP10ImDrawListf6ImVec2jt(ptr noundef nonnull align 8 dereferenceable(106) %37, ptr noundef %0, float noundef %39, <2 x float> %100, i32 noundef %99, i16 noundef zeroext %spec.select90)
  %101 = fadd float %.083, %.07894
  %102 = add nuw nsw i32 %.095, 1
  %103 = icmp ult i32 %.095, 2
  %104 = select i1 %42, i1 %103, i1 false
  br i1 %104, label %97, label %.loopexit, !llvm.loop !42

.loopexit:                                        ; preds = %97, %.critedge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  br label %108

105:                                              ; preds = %26
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %106 = getelementptr inbounds i8, ptr %2, i64 4
  %107 = load float, ptr %106, align 4, !tbaa !41
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef %3, float noundef %107)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui19RenderTextClippedExEP10ImDrawListRK6ImVec2S4_PKcS6_PS3_S4_PK6ImRect(ptr noundef %0, ptr noundef nonnull align 4 dereferenceable(8) %1, ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef %5, ptr noundef %.079, ptr noundef nonnull %9, ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  br label %108

108:                                              ; preds = %105, %.loopexit
  %109 = getelementptr inbounds i8, ptr %16, i64 12600
  %110 = load i8, ptr %109, align 8, !tbaa !43, !range !87, !noundef !88
  %111 = trunc nuw i8 %110 to i1
  br i1 %111, label %112, label %113

112:                                              ; preds = %108
  call void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef nonnull %1, ptr noundef %5, ptr noundef %.079)
  br label %113

113:                                              ; preds = %112, %108
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  ret void
}

declare noundef ptr @_ZNK6ImFont9FindGlyphEt(ptr noundef nonnull align 8 dereferenceable(106), i16 noundef zeroext) local_unnamed_addr #6

declare <2 x float> @_ZNK6ImFont13CalcTextSizeAEfffPKcS1_PS1_(ptr noundef nonnull align 8 dereferenceable(106), float noundef, float noundef, float noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #6

declare void @_ZNK6ImFont10RenderCharEP10ImDrawListf6ImVec2jt(ptr noundef nonnull align 8 dereferenceable(106), ptr noundef, float noundef, <2 x float>, i32 noundef, i16 noundef zeroext) local_unnamed_addr #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #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 = { mustprogress uwtable "min-legal-vector-width"="64" "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 = { "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 #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, !11, i64 0}
!10 = !{!"_ZTS6ImVec2", !11, i64 0, !11, i64 4}
!11 = !{!"float", !7, i64 0}
!12 = !{!13, !6, i64 56}
!13 = !{!"_ZTS10ImDrawList", !14, i64 0, !16, i64 16, !17, i64 32, !15, i64 48, !15, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !18, i64 88, !19, i64 104, !20, i64 120, !21, i64 136, !23, i64 168, !11, i64 192}
!14 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !15, i64 0, !15, i64 4, !6, i64 8}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTS8ImVectorItE", !15, i64 0, !15, i64 4, !6, i64 8}
!17 = !{!"_ZTS8ImVectorI10ImDrawVertE", !15, i64 0, !15, i64 4, !6, i64 8}
!18 = !{!"_ZTS8ImVectorI6ImVec4E", !15, i64 0, !15, i64 4, !6, i64 8}
!19 = !{!"_ZTS8ImVectorIPvE", !15, i64 0, !15, i64 4, !6, i64 8}
!20 = !{!"_ZTS8ImVectorI6ImVec2E", !15, i64 0, !15, i64 4, !6, i64 8}
!21 = !{!"_ZTS15ImDrawCmdHeader", !22, i64 0, !6, i64 16, !15, i64 24}
!22 = !{!"_ZTS6ImVec4", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!23 = !{!"_ZTS18ImDrawListSplitter", !15, i64 0, !15, i64 4, !24, i64 8}
!24 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !15, i64 0, !15, i64 4, !6, i64 8}
!25 = !{!26, !6, i64 8}
!26 = !{!"_ZTS20ImDrawListSharedData", !10, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !22, i64 28, !15, i64 44, !7, i64 48, !7, i64 144, !6, i64 208}
!27 = !{!26, !11, i64 16}
!28 = !{!29, !32, i64 84}
!29 = !{!"_ZTS6ImFont", !30, i64 0, !11, i64 16, !11, i64 20, !16, i64 24, !31, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !32, i64 80, !32, i64 82, !32, i64 84, !33, i64 86, !11, i64 88, !11, i64 92, !11, i64 96, !15, i64 100, !7, i64 104}
!30 = !{!"_ZTS8ImVectorIfE", !15, i64 0, !15, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !15, i64 0, !15, i64 4, !6, i64 8}
!32 = !{!"short", !7, i64 0}
!33 = !{!"bool", !7, i64 0}
!34 = !{!35, !11, i64 16}
!35 = !{!"_ZTS11ImFontGlyph", !15, i64 0, !15, i64 3, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36}
!36 = !{!29, !11, i64 20}
!37 = !{!35, !11, i64 8}
!38 = !{!7, !7, i64 0}
!39 = distinct !{!39, !40}
!40 = !{!"llvm.loop.mustprogress"}
!41 = !{!10, !11, i64 4}
!42 = distinct !{!42, !40}
!43 = !{!44, !33, i64 12600}
!44 = !{!"_ZTS12ImGuiContext", !33, i64 0, !33, i64 1, !45, i64 8, !46, i64 5472, !6, i64 6520, !11, i64 6528, !11, i64 6532, !26, i64 6536, !47, i64 6752, !15, i64 6760, !15, i64 6764, !15, i64 6768, !33, i64 6772, !33, i64 6773, !33, i64 6774, !33, i64 6775, !33, i64 6776, !15, i64 6780, !6, i64 6784, !48, i64 6792, !48, i64 6808, !48, i64 6824, !48, i64 6840, !49, i64 6856, !15, i64 6872, !6, i64 6880, !6, i64 6888, !6, i64 6896, !6, i64 6904, !6, i64 6912, !6, i64 6920, !10, i64 6928, !11, i64 6936, !15, i64 6940, !15, i64 6944, !33, i64 6948, !33, i64 6949, !33, i64 6950, !33, i64 6951, !11, i64 6952, !11, i64 6956, !15, i64 6960, !15, i64 6964, !11, i64 6968, !33, i64 6972, !33, i64 6973, !33, i64 6974, !33, i64 6975, !33, i64 6976, !33, i64 6977, !33, i64 6978, !15, i64 6980, !15, i64 6984, !51, i64 6992, !10, i64 7000, !6, i64 7008, !52, i64 7016, !15, i64 7020, !15, i64 7024, !33, i64 7028, !33, i64 7029, !6, i64 7032, !15, i64 7040, !11, i64 7044, !53, i64 7048, !55, i64 7160, !56, i64 7184, !57, i64 7200, !58, i64 7216, !59, i64 7232, !60, i64 7248, !61, i64 7264, !62, i64 7280, !62, i64 7296, !6, i64 7312, !15, i64 7320, !15, i64 7324, !15, i64 7328, !15, i64 7332, !15, i64 7336, !15, i64 7340, !15, i64 7344, !15, i64 7348, !15, i64 7352, !15, i64 7356, !15, i64 7360, !52, i64 7364, !54, i64 7368, !15, i64 7384, !63, i64 7388, !15, i64 7392, !33, i64 7396, !33, i64 7397, !33, i64 7398, !33, i64 7399, !33, i64 7400, !33, i64 7401, !33, i64 7402, !15, i64 7404, !54, i64 7408, !33, i64 7424, !15, i64 7428, !64, i64 7432, !15, i64 7436, !15, i64 7440, !15, i64 7444, !15, i64 7448, !65, i64 7456, !65, i64 7504, !65, i64 7552, !6, i64 7600, !15, i64 7608, !6, i64 7616, !6, i64 7624, !6, i64 7632, !11, i64 7640, !11, i64 7644, !33, i64 7648, !6, i64 7656, !6, i64 7664, !15, i64 7672, !15, i64 7676, !15, i64 7680, !15, i64 7684, !33, i64 7688, !66, i64 7696, !67, i64 7752, !11, i64 7784, !13, i64 7792, !13, i64 7992, !15, i64 8192, !33, i64 8196, !33, i64 8197, !33, i64 8198, !15, i64 8200, !15, i64 8204, !15, i64 8208, !68, i64 8216, !54, i64 8280, !15, i64 8296, !15, i64 8300, !11, i64 8304, !15, i64 8308, !15, i64 8312, !15, i64 8316, !15, i64 8320, !69, i64 8328, !7, i64 8344, !6, i64 8360, !70, i64 8368, !72, i64 8408, !30, i64 8424, !24, i64 8440, !6, i64 8456, !73, i64 8464, !72, i64 8504, !75, i64 8520, !10, i64 8536, !76, i64 8544, !29, i64 12280, !15, i64 12392, !15, i64 12396, !11, i64 12400, !11, i64 12404, !7, i64 12408, !22, i64 12420, !11, i64 12436, !33, i64 12440, !33, i64 12441, !11, i64 12444, !11, i64 12448, !11, i64 12452, !15, i64 12456, !11, i64 12460, !77, i64 12464, !59, i64 12480, !10, i64 12496, !10, i64 12504, !7, i64 12512, !33, i64 12513, !11, i64 12516, !80, i64 12520, !81, i64 12536, !82, i64 12552, !83, i64 12568, !84, i64 12584, !33, i64 12600, !85, i64 12604, !6, i64 12608, !80, i64 12616, !11, i64 12632, !33, i64 12636, !15, i64 12640, !15, i64 12644, !15, i64 12648, !33, i64 12652, !15, i64 12656, !86, i64 12660, !7, i64 12676, !15, i64 13156, !11, i64 13160, !15, i64 13164, !15, i64 13168, !15, i64 13172, !7, i64 13176}
!45 = !{!"_ZTS7ImGuiIO", !15, i64 0, !15, i64 4, !10, i64 8, !11, i64 16, !11, i64 20, !6, i64 24, !6, i64 32, !11, i64 40, !11, i64 44, !11, i64 48, !7, i64 52, !11, i64 140, !11, i64 144, !6, i64 152, !6, i64 160, !11, i64 168, !33, i64 172, !6, i64 176, !10, i64 184, !33, i64 192, !33, i64 193, !33, i64 194, !33, i64 195, !33, i64 196, !33, i64 197, !11, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !10, i64 288, !7, i64 296, !11, i64 304, !11, i64 308, !33, i64 312, !33, i64 313, !33, i64 314, !33, i64 315, !7, i64 316, !7, i64 828, !33, i64 912, !33, i64 913, !33, i64 914, !33, i64 915, !33, i64 916, !33, i64 917, !33, i64 918, !11, i64 920, !15, i64 924, !15, i64 928, !15, i64 932, !15, i64 936, !15, i64 940, !10, i64 944, !15, i64 952, !10, i64 956, !7, i64 964, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5356, !11, i64 5440, !32, i64 5444, !16, i64 5448}
!46 = !{!"_ZTS10ImGuiStyle", !11, i64 0, !10, i64 4, !11, i64 12, !11, i64 16, !10, i64 20, !10, i64 28, !15, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !10, i64 56, !11, i64 64, !11, i64 68, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !11, i64 132, !11, i64 136, !11, i64 140, !15, i64 144, !10, i64 148, !10, i64 156, !10, i64 164, !10, i64 172, !11, i64 180, !33, i64 184, !33, i64 185, !33, i64 186, !11, i64 188, !11, i64 192, !7, i64 196}
!47 = !{!"double", !7, i64 0}
!48 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !15, i64 0, !15, i64 4, !6, i64 8}
!49 = !{!"_ZTS12ImGuiStorage", !50, i64 0}
!50 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !15, i64 0, !15, i64 4, !6, i64 8}
!51 = !{!"long long", !7, i64 0}
!52 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!53 = !{!"_ZTS19ImGuiNextWindowData", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !33, i64 56, !54, i64 60, !6, i64 80, !6, i64 88, !11, i64 96, !10, i64 100}
!54 = !{!"_ZTS6ImRect", !10, i64 0, !10, i64 8}
!55 = !{!"_ZTS17ImGuiNextItemData", !15, i64 0, !11, i64 4, !15, i64 8, !15, i64 12, !33, i64 16}
!56 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !15, i64 0, !15, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !15, i64 0, !15, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorIP6ImFontE", !15, i64 0, !15, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorIjE", !15, i64 0, !15, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorIiE", !15, i64 0, !15, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !15, i64 0, !15, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !15, i64 0, !15, i64 4, !6, i64 8}
!63 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!64 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!65 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !15, i64 8, !15, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !54, i64 28}
!66 = !{!"_ZTS10ImDrawData", !33, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !10, i64 28, !10, i64 36, !10, i64 44}
!67 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!68 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !7, i64 24, !33, i64 57, !33, i64 58}
!69 = !{!"_ZTS8ImVectorIhE", !15, i64 0, !15, i64 4, !6, i64 8}
!70 = !{!"_ZTS6ImPoolI10ImGuiTableE", !71, i64 0, !49, i64 16, !15, i64 32}
!71 = !{!"_ZTS8ImVectorI10ImGuiTableE", !15, i64 0, !15, i64 4, !6, i64 8}
!72 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !15, i64 0, !15, i64 4, !6, i64 8}
!73 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !74, i64 0, !49, i64 16, !15, i64 32}
!74 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !15, i64 0, !15, i64 4, !6, i64 8}
!75 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !15, i64 0, !15, i64 4, !6, i64 8}
!76 = !{!"_ZTS19ImGuiInputTextState", !15, i64 0, !15, i64 4, !15, i64 8, !16, i64 16, !77, i64 32, !77, i64 48, !33, i64 64, !15, i64 68, !11, i64 72, !78, i64 76, !11, i64 3704, !33, i64 3708, !33, i64 3709, !33, i64 3710, !15, i64 3712, !6, i64 3720, !6, i64 3728}
!77 = !{!"_ZTS8ImVectorIcE", !15, i64 0, !15, i64 4, !6, i64 8}
!78 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !15, i64 0, !15, i64 4, !15, i64 8, !7, i64 12, !15, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !11, i64 28, !79, i64 32}
!79 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !32, i64 3582, !32, i64 3584, !15, i64 3588, !15, i64 3592}
!80 = !{!"_ZTS15ImGuiTextBuffer", !77, i64 0}
!81 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !15, i64 0, !15, i64 4, !6, i64 8}
!82 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !77, i64 0}
!83 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !77, i64 0}
!84 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !15, i64 0, !15, i64 4, !6, i64 8}
!85 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!86 = !{!"_ZTS18ImGuiMetricsConfig", !33, i64 0, !33, i64 1, !33, i64 2, !33, i64 3, !33, i64 4, !15, i64 8, !15, i64 12}
!87 = !{i8 0, i8 2}
!88 = !{}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass