; LLVM IR from theolundqvist/parallax-voxel-ray-marcher :: src/external/Dear 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.27, %struct.ImVector, %struct.ImVector.28, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.29, %struct.ImVector.30, %struct.ImVector.31, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImVector.31 = 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, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImFont = type <{ %struct.ImVector.16, float, float, %struct.ImVector, %struct.ImVector.22, ptr, ptr, ptr, i16, i16, i16, i16, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVector.22 = 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, 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.4, %struct.ImGuiStorage, i32, %struct.ImVec2, [4 x i8], 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, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, [4 x i8], %struct.ImGuiNextWindowData, %struct.ImVector.5, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImVector.11, %struct.ImVector.12, 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.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, ptr, i32, [4 x i8], ptr, ptr, ptr, float, float, i8, [7 x i8], ptr, ptr, i32, i32, i32, i32, i8, [3 x i8], float, 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.13, [16 x i8], ptr, i32, [4 x i8], %struct.ImPool, %struct.ImVector.15, %struct.ImVector.16, %struct.ImVector.17, ptr, %struct.ImPool.18, %struct.ImVector.20, %struct.ImVector.21, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, [3 x float], %struct.ImVec4, %struct.ImGuiComboPreviewData, float, i8, i8, [2 x i8], float, float, float, float, i32, float, [4 x i8], %struct.ImVector.2, %struct.ImVector.8, %struct.ImVec2, %struct.ImVec2, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.23, %struct.ImChunkStream, %struct.ImChunkStream.24, %struct.ImVector.25, i32, i8, [3 x i8], i32, [4 x i8], ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, %struct.ImGuiMetricsConfig, [120 x float], i32, i32, float, i32, i32, i32, [3073 x i8], [3 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], [20 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, i32, 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], [20 x float], [20 x float], float, i16, %struct.ImVector }
%struct.ImGuiStyle = type { float, 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.ImVector.4 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.0 }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect }
%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.ImVector.5 = type { i32, i32, ptr }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImGuiNavItemData = type <{ ptr, i32, i32, %struct.ImRect, float, float, float, [4 x i8] }>
%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.13 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.14, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImPool.18 = type { %struct.ImVector.19, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = 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.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.2 }
%struct.ImChunkStream.24 = type { %struct.ImVector.2 }
%struct.ImVector.25 = 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 %234

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 %87

83:                                               ; preds = %66
  %84 = load ptr, ptr %19, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.ImFont, ptr %84, i32 0, i32 11
  %86 = load i16, ptr %85, align 2, !tbaa !38
  store i16 %86, ptr %22, align 2, !tbaa !36
  store i32 3, ptr %23, align 4, !tbaa !37
  br label %87

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

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

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

147:                                              ; preds = %123
  %148 = load ptr, ptr %21, align 8, !tbaa !5
  %149 = load ptr, ptr %15, align 8, !tbaa !5
  %150 = icmp ult ptr %148, %149
  br i1 %150, label %151, label %165

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

165:                                              ; preds = %151, %147, %123
  br label %166

166:                                              ; preds = %177, %165
  %167 = load ptr, ptr %21, align 8, !tbaa !5
  %168 = load ptr, ptr %14, align 8, !tbaa !5
  %169 = icmp ugt ptr %167, %168
  br i1 %169, label %170, label %175

170:                                              ; preds = %166
  %171 = load ptr, ptr %21, align 8, !tbaa !5
  %172 = getelementptr inbounds i8, ptr %171, i64 -1
  %173 = load i8, ptr %172, align 1, !tbaa !43
  %174 = call noundef zeroext i1 @_ZL14ImCharIsBlankAc(i8 noundef signext %173)
  br label %175

175:                                              ; preds = %170, %166
  %176 = phi i1 [ false, %166 ], [ %174, %170 ]
  br i1 %176, label %177, label %190

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

190:                                              ; preds = %175
  %191 = load ptr, ptr %9, align 8, !tbaa !5
  %192 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %193 = load float, ptr %12, align 4, !tbaa !9
  %194 = load ptr, ptr %11, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.ImVec2, ptr %194, i32 0, i32 1
  %196 = load float, ptr %195, align 4, !tbaa !46
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %33, float noundef %193, float noundef %196)
  %197 = load ptr, ptr %14, align 8, !tbaa !5
  %198 = 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 %191, ptr noundef nonnull align 4 dereferenceable(8) %192, ptr noundef nonnull align 4 dereferenceable(8) %33, ptr noundef %197, ptr noundef %198, 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
  %199 = load ptr, ptr %10, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.ImVec2, ptr %199, i32 0, i32 0
  %201 = load float, ptr %200, align 4, !tbaa !12
  %202 = load float, ptr %29, align 4, !tbaa !9
  %203 = fadd float %201, %202
  store float %203, ptr %35, align 4, !tbaa !9
  %204 = load float, ptr %35, align 4, !tbaa !9
  %205 = load float, ptr %26, align 4, !tbaa !9
  %206 = fadd float %204, %205
  %207 = load float, ptr %13, align 4, !tbaa !9
  %208 = fcmp ole float %206, %207
  br i1 %208, label %209, label %233

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

210:                                              ; preds = %229, %209
  %211 = load i32, ptr %36, align 4, !tbaa !37
  %212 = load i32, ptr %23, align 4, !tbaa !37
  %213 = icmp slt i32 %211, %212
  br i1 %213, label %215, label %214

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

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

229:                                              ; preds = %215
  %230 = load i32, ptr %36, align 4, !tbaa !37
  %231 = add nsw i32 %230, 1
  store i32 %231, ptr %36, align 4, !tbaa !37
  br label %210, !llvm.loop !47

232:                                              ; preds = %214
  br label %233

233:                                              ; preds = %232, %190
  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 %243

234:                                              ; preds = %55
  %235 = load ptr, ptr %9, align 8, !tbaa !5
  %236 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  %237 = load float, ptr %12, align 4, !tbaa !9
  %238 = load ptr, ptr %11, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.ImVec2, ptr %238, i32 0, i32 1
  %240 = load float, ptr %239, align 4, !tbaa !46
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %38, float noundef %237, float noundef %240)
  %241 = load ptr, ptr %14, align 8, !tbaa !5
  %242 = 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 %235, ptr noundef nonnull align 4 dereferenceable(8) %236, ptr noundef nonnull align 4 dereferenceable(8) %38, ptr noundef %241, ptr noundef %242, 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 %243

243:                                              ; preds = %234, %233
  %244 = load ptr, ptr %17, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.ImGuiContext, ptr %244, i32 0, i32 209
  %246 = load i8, ptr %245, align 4, !tbaa !48, !range !95, !noundef !96
  %247 = trunc i8 %246 to i1
  br i1 %247, label %248, label %252

248:                                              ; preds = %243
  %249 = load ptr, ptr %10, align 8, !tbaa !5
  %250 = load ptr, ptr %14, align 8, !tbaa !5
  %251 = load ptr, ptr %15, align 8, !tbaa !5
  call void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef %249, ptr noundef %250, ptr noundef %251)
  br label %252

252:                                              ; preds = %248, %243
  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(110), i16 noundef zeroext) #7

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

declare void @_ZNK6ImFont10RenderCharEP10ImDrawListf6ImVec2jt(ptr noundef nonnull align 8 dereferenceable(110), 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, !10, i64 432, !7, i64 436, !6, i64 504}
!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, !34, i64 86, !35, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !17, i64 104, !7, i64 108}
!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 = !{!31, !34, i64 86}
!39 = !{!40, !10, i64 16}
!40 = !{!"_ZTS11ImFontGlyph", !17, i64 0, !17, i64 0, !17, i64 0, !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}
!41 = !{!31, !10, i64 20}
!42 = !{!40, !10, i64 8}
!43 = !{!7, !7, i64 0}
!44 = distinct !{!44, !45}
!45 = !{!"llvm.loop.mustprogress"}
!46 = !{!13, !10, i64 4}
!47 = distinct !{!47, !45}
!48 = !{!49, !35, i64 12524}
!49 = !{!"_ZTS12ImGuiContext", !35, i64 0, !35, i64 1, !50, i64 8, !51, i64 5464, !6, i64 6512, !10, i64 6520, !10, i64 6524, !28, i64 6528, !52, i64 7040, !17, i64 7048, !17, i64 7052, !17, i64 7056, !35, i64 7060, !35, i64 7061, !35, i64 7062, !35, i64 7063, !35, i64 7064, !17, i64 7068, !6, i64 7072, !53, i64 7080, !53, i64 7096, !53, i64 7112, !54, i64 7128, !55, i64 7144, !17, i64 7160, !13, i64 7164, !6, i64 7176, !6, i64 7184, !6, i64 7192, !6, i64 7200, !6, i64 7208, !13, i64 7216, !10, i64 7224, !17, i64 7228, !17, i64 7232, !35, i64 7236, !35, i64 7237, !35, i64 7238, !35, i64 7239, !10, i64 7240, !10, i64 7244, !17, i64 7248, !17, i64 7252, !10, i64 7256, !35, i64 7260, !35, i64 7261, !35, i64 7262, !35, i64 7263, !35, i64 7264, !35, i64 7265, !35, i64 7266, !17, i64 7268, !17, i64 7272, !57, i64 7280, !13, i64 7288, !6, i64 7296, !58, i64 7304, !17, i64 7308, !17, i64 7312, !35, i64 7316, !35, i64 7317, !6, i64 7320, !17, i64 7328, !10, i64 7332, !17, i64 7336, !59, i64 7340, !60, i64 7360, !62, i64 7408, !63, i64 7520, !64, i64 7536, !65, i64 7552, !66, i64 7568, !67, i64 7584, !68, i64 7600, !69, i64 7616, !69, i64 7632, !70, i64 7648, !6, i64 7664, !17, i64 7672, !17, i64 7676, !17, i64 7680, !17, i64 7684, !17, i64 7688, !17, i64 7692, !17, i64 7696, !17, i64 7700, !17, i64 7704, !17, i64 7708, !17, i64 7712, !58, i64 7716, !61, i64 7720, !17, i64 7736, !71, i64 7740, !17, i64 7744, !35, i64 7748, !35, i64 7749, !35, i64 7750, !35, i64 7751, !35, i64 7752, !35, i64 7753, !35, i64 7754, !17, i64 7756, !61, i64 7760, !35, i64 7776, !17, i64 7780, !72, i64 7784, !17, i64 7788, !17, i64 7792, !17, i64 7796, !17, i64 7800, !73, i64 7808, !73, i64 7856, !73, i64 7904, !6, i64 7952, !17, i64 7960, !6, i64 7968, !6, i64 7976, !6, i64 7984, !10, i64 7992, !10, i64 7996, !35, i64 8000, !6, i64 8008, !6, i64 8016, !17, i64 8024, !17, i64 8028, !17, i64 8032, !17, i64 8036, !35, i64 8040, !10, i64 8044, !17, i64 8048, !35, i64 8052, !35, i64 8053, !35, i64 8054, !17, i64 8056, !17, i64 8060, !17, i64 8064, !74, i64 8072, !61, i64 8136, !17, i64 8152, !17, i64 8156, !10, i64 8160, !17, i64 8164, !17, i64 8168, !17, i64 8172, !17, i64 8176, !75, i64 8184, !7, i64 8200, !6, i64 8216, !17, i64 8224, !76, i64 8232, !78, i64 8272, !32, i64 8288, !26, i64 8304, !6, i64 8320, !79, i64 8328, !81, i64 8368, !82, i64 8384, !13, i64 8400, !83, i64 8408, !31, i64 12144, !17, i64 12256, !17, i64 12260, !10, i64 12264, !10, i64 12268, !7, i64 12272, !24, i64 12284, !87, i64 12300, !10, i64 12348, !35, i64 12352, !35, i64 12353, !10, i64 12356, !10, i64 12360, !10, i64 12364, !10, i64 12368, !17, i64 12372, !10, i64 12376, !84, i64 12384, !66, i64 12400, !13, i64 12416, !13, i64 12424, !7, i64 12432, !35, i64 12433, !10, i64 12436, !88, i64 12440, !89, i64 12456, !90, i64 12472, !91, i64 12488, !92, i64 12504, !17, i64 12520, !35, i64 12524, !93, i64 12528, !6, i64 12536, !88, i64 12544, !6, i64 12560, !6, i64 12568, !10, i64 12576, !35, i64 12580, !17, i64 12584, !17, i64 12588, !17, i64 12592, !35, i64 12596, !17, i64 12600, !94, i64 12604, !7, i64 12620, !17, i64 13100, !17, i64 13104, !10, i64 13108, !17, i64 13112, !17, i64 13116, !17, i64 13120, !7, i64 13124}
!50 = !{!"_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 908, !35, i64 909, !35, i64 910, !35, i64 911, !35, i64 912, !35, i64 913, !35, i64 914, !10, i64 916, !17, i64 920, !17, i64 924, !17, i64 928, !17, i64 932, !17, i64 936, !13, i64 940, !17, i64 948, !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 5352, !10, i64 5432, !34, i64 5436, !18, i64 5440}
!51 = !{!"_ZTS10ImGuiStyle", !10, i64 0, !10, i64 4, !13, i64 8, !10, i64 16, !10, i64 20, !13, i64 24, !13, i64 32, !17, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !13, i64 60, !10, i64 68, !10, i64 72, !13, i64 76, !13, i64 84, !13, i64 92, !13, i64 100, !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, !10, i64 144, !17, i64 148, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !10, i64 184, !35, i64 188, !35, i64 189, !35, i64 190, !10, i64 192, !10, i64 196, !7, i64 200}
!52 = !{!"double", !7, i64 0}
!53 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !17, i64 0, !17, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !17, i64 0, !17, i64 4, !6, i64 8}
!55 = !{!"_ZTS12ImGuiStorage", !56, i64 0}
!56 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !17, i64 0, !17, i64 4, !6, i64 8}
!57 = !{!"long long", !7, i64 0}
!58 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!59 = !{!"_ZTS17ImGuiNextItemData", !17, i64 0, !10, i64 4, !17, i64 8, !17, i64 12, !35, i64 16}
!60 = !{!"_ZTS17ImGuiLastItemData", !17, i64 0, !17, i64 4, !17, i64 8, !61, i64 12, !61, i64 28}
!61 = !{!"_ZTS6ImRect", !13, i64 0, !13, i64 8}
!62 = !{!"_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, !61, i64 60, !6, i64 80, !6, i64 88, !10, i64 96, !13, i64 100}
!63 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !17, i64 0, !17, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !17, i64 0, !17, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorIP6ImFontE", !17, i64 0, !17, i64 4, !6, i64 8}
!66 = !{!"_ZTS8ImVectorIjE", !17, i64 0, !17, i64 4, !6, i64 8}
!67 = !{!"_ZTS8ImVectorIiE", !17, i64 0, !17, i64 4, !6, i64 8}
!68 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !17, i64 0, !17, i64 4, !6, i64 8}
!69 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !17, i64 0, !17, i64 4, !6, i64 8}
!70 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !17, i64 0, !17, i64 4, !6, i64 8}
!71 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!72 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!73 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !17, i64 8, !17, i64 12, !61, i64 16, !10, i64 32, !10, i64 36, !10, i64 40}
!74 = !{!"_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}
!75 = !{!"_ZTS8ImVectorIhE", !17, i64 0, !17, i64 4, !6, i64 8}
!76 = !{!"_ZTS6ImPoolI10ImGuiTableE", !77, i64 0, !55, i64 16, !17, i64 32, !17, i64 36}
!77 = !{!"_ZTS8ImVectorI10ImGuiTableE", !17, i64 0, !17, i64 4, !6, i64 8}
!78 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !17, i64 0, !17, i64 4, !6, i64 8}
!79 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !80, i64 0, !55, i64 16, !17, i64 32, !17, i64 36}
!80 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !17, i64 0, !17, i64 4, !6, i64 8}
!81 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !17, i64 0, !17, i64 4, !6, i64 8}
!82 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !17, i64 0, !17, i64 4, !6, i64 8}
!83 = !{!"_ZTS19ImGuiInputTextState", !17, i64 0, !17, i64 4, !17, i64 8, !18, i64 16, !84, i64 32, !84, i64 48, !35, i64 64, !17, i64 68, !10, i64 72, !85, i64 76, !10, i64 3704, !35, i64 3708, !35, i64 3709, !35, i64 3710, !17, i64 3712, !6, i64 3720, !6, i64 3728}
!84 = !{!"_ZTS8ImVectorIcE", !17, i64 0, !17, i64 4, !6, i64 8}
!85 = !{!"_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, !86, i64 32}
!86 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !34, i64 3582, !34, i64 3584, !17, i64 3588, !17, i64 3592}
!87 = !{!"_ZTS21ImGuiComboPreviewData", !61, i64 0, !13, i64 16, !13, i64 24, !13, i64 32, !10, i64 40, !17, i64 44}
!88 = !{!"_ZTS15ImGuiTextBuffer", !84, i64 0}
!89 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !17, i64 0, !17, i64 4, !6, i64 8}
!90 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !84, i64 0}
!91 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !84, i64 0}
!92 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !17, i64 0, !17, i64 4, !6, i64 8}
!93 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!94 = !{!"_ZTS18ImGuiMetricsConfig", !35, i64 0, !35, i64 1, !35, i64 2, !35, i64 3, !35, i64 4, !17, i64 8, !17, i64 12}
!95 = !{i8 0, i8 2}
!96 = !{}


; 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
  %.080 = 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 %.080, 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 %109

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
  br i1 %42, label %47, label %43

43:                                               ; preds = %33
  %44 = tail call noundef ptr @_ZNK6ImFont9FindGlyphEt(ptr noundef nonnull align 8 dereferenceable(110) %37, i16 noundef zeroext %41)
  %45 = getelementptr inbounds i8, ptr %44, i64 16
  %46 = load float, ptr %45, align 4, !tbaa !34
  br label %65

47:                                               ; preds = %33
  %48 = getelementptr inbounds i8, ptr %37, i64 86
  %49 = load i16, ptr %48, align 2, !tbaa !36
  %50 = tail call noundef ptr @_ZNK6ImFont9FindGlyphEt(ptr noundef nonnull align 8 dereferenceable(110) %37, i16 noundef zeroext %49)
  %51 = getelementptr inbounds i8, ptr %50, i64 16
  %52 = load float, ptr %51, align 4, !tbaa !34
  %53 = load ptr, ptr %34, align 8, !tbaa !12
  %54 = getelementptr inbounds i8, ptr %53, i64 16
  %55 = load float, ptr %54, align 8, !tbaa !27
  %56 = getelementptr inbounds i8, ptr %37, i64 20
  %57 = load float, ptr %56, align 4, !tbaa !37
  %58 = fdiv float %55, %57
  %59 = getelementptr inbounds i8, ptr %50, i64 8
  %60 = load float, ptr %59, align 4, !tbaa !38
  %61 = fsub float %52, %60
  %62 = fadd float %58, %61
  %63 = fneg float %58
  %64 = tail call float @llvm.fmuladd.f32(float %62, float 3.000000e+00, float %63)
  br label %65

65:                                               ; preds = %43, %47
  %.08195 = phi i16 [ %49, %47 ], [ %41, %43 ]
  %.08294 = phi i32 [ 3, %47 ], [ 1, %43 ]
  %.085 = phi float [ %64, %47 ], [ %46, %43 ]
  %.084 = phi float [ %62, %47 ], [ %46, %43 ]
  %66 = load float, ptr %2, align 4, !tbaa !9
  %67 = tail call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %66, float noundef %4)
  %68 = fsub float %67, %.085
  %69 = load float, ptr %1, align 4, !tbaa !9
  %70 = fsub float %68, %69
  %71 = tail call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %70, float noundef 1.000000e+00)
  %72 = call <2 x float> @_ZNK6ImFont13CalcTextSizeAEfffPKcS1_PS1_(ptr noundef nonnull align 8 dereferenceable(110) %37, float noundef %39, float noundef %71, float noundef 0.000000e+00, ptr noundef %5, ptr noundef %.080, ptr noundef nonnull %10)
  %.sroa.05.0.vec.extract = extractelement <2 x float> %72, i64 0
  %73 = load ptr, ptr %10, align 8, !tbaa !5
  %74 = icmp eq ptr %73, %5
  %75 = icmp ult ptr %73, %.080
  %or.cond = and i1 %74, %75
  br i1 %or.cond, label %76, label %81

76:                                               ; preds = %65
  %77 = call noundef i32 @_Z28ImTextCountUtf8BytesFromCharPKcS0_(ptr noundef %5, ptr noundef nonnull %.080)
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds i8, ptr %5, i64 %78
  store ptr %79, ptr %10, align 8, !tbaa !5
  %80 = call <2 x float> @_ZNK6ImFont13CalcTextSizeAEfffPKcS1_PS1_(ptr noundef nonnull align 8 dereferenceable(110) %37, float noundef %39, float noundef 0x47EFFFFFE0000000, float noundef 0.000000e+00, ptr noundef %5, ptr noundef %79, ptr noundef null)
  %.sroa.04.0.vec.extract = extractelement <2 x float> %80, i64 0
  %.pre = load ptr, ptr %10, align 8, !tbaa !5
  br label %81

81:                                               ; preds = %76, %65
  %82 = phi ptr [ %.pre, %76 ], [ %73, %65 ]
  %.083 = phi float [ %.sroa.04.0.vec.extract, %76 ], [ %.sroa.05.0.vec.extract, %65 ]
  %83 = icmp ugt ptr %82, %5
  br i1 %83, label %.lr.ph, label %.critedge

.lr.ph:                                           ; preds = %81, %88
  %84 = phi ptr [ %93, %88 ], [ %82, %81 ]
  %.197 = phi float [ %92, %88 ], [ %.083, %81 ]
  %85 = getelementptr inbounds i8, ptr %84, i64 -1
  %86 = load i8, ptr %85, align 1, !tbaa !39
  %87 = call noundef zeroext i1 @_ZL14ImCharIsBlankAc(i8 noundef signext %86)
  br i1 %87, label %88, label %.critedge

88:                                               ; preds = %.lr.ph
  %89 = load ptr, ptr %10, align 8, !tbaa !5
  %90 = getelementptr inbounds i8, ptr %89, i64 -1
  store ptr %90, ptr %10, align 8, !tbaa !5
  %91 = call <2 x float> @_ZNK6ImFont13CalcTextSizeAEfffPKcS1_PS1_(ptr noundef nonnull align 8 dereferenceable(110) %37, float noundef %39, float noundef 0x47EFFFFFE0000000, float noundef 0.000000e+00, ptr noundef nonnull %90, ptr noundef %89, ptr noundef null)
  %.sroa.0.0.vec.extract = extractelement <2 x float> %91, i64 0
  %92 = fsub float %.197, %.sroa.0.0.vec.extract
  %93 = load ptr, ptr %10, align 8, !tbaa !5
  %94 = icmp ugt ptr %93, %5
  br i1 %94, label %.lr.ph, label %.critedge, !llvm.loop !40

.critedge:                                        ; preds = %.lr.ph, %88, %81
  %.1.lcssa = phi float [ %.083, %81 ], [ %92, %88 ], [ %.197, %.lr.ph ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  %95 = getelementptr inbounds i8, ptr %2, i64 4
  %96 = load float, ptr %95, align 4, !tbaa !42
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef %3, float noundef %96)
  %97 = 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 %97, 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
  %98 = load float, ptr %1, align 4, !tbaa !9
  %99 = fadd float %.1.lcssa, %98
  %100 = fadd float %.085, %99
  %101 = fcmp ugt float %100, %4
  br i1 %101, label %.loopexit, label %.preheader

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

103:                                              ; preds = %.preheader, %103
  %.0101 = phi i32 [ 0, %.preheader ], [ %108, %103 ]
  %.079100 = phi float [ %99, %.preheader ], [ %107, %103 ]
  %104 = load float, ptr %102, align 4, !tbaa !42
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef %.079100, float noundef %104)
  %105 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 0, float noundef 1.000000e+00)
  %106 = load <2 x float>, ptr %13, align 8
  call void @_ZNK6ImFont10RenderCharEP10ImDrawListf6ImVec2jt(ptr noundef nonnull align 8 dereferenceable(110) %37, ptr noundef %0, float noundef %39, <2 x float> %106, i32 noundef %105, i16 noundef zeroext %.08195)
  %107 = fadd float %.084, %.079100
  %108 = add nuw nsw i32 %.0101, 1
  %exitcond.not = icmp eq i32 %108, %.08294
  br i1 %exitcond.not, label %.loopexit, label %103, !llvm.loop !43

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

109:                                              ; preds = %26
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %110 = getelementptr inbounds i8, ptr %2, i64 4
  %111 = load float, ptr %110, align 4, !tbaa !42
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef %3, float noundef %111)
  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 %.080, 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 %112

112:                                              ; preds = %109, %.loopexit
  %113 = getelementptr inbounds i8, ptr %16, i64 12524
  %114 = load i8, ptr %113, align 4, !tbaa !44, !range !91, !noundef !92
  %115 = trunc nuw i8 %114 to i1
  br i1 %115, label %116, label %117

116:                                              ; preds = %112
  call void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef nonnull %1, ptr noundef %5, ptr noundef %.080)
  br label %117

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

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

declare <2 x float> @_ZNK6ImFont13CalcTextSizeAEfffPKcS1_PS1_(ptr noundef nonnull align 8 dereferenceable(110), 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(110), 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, !11, i64 432, !7, i64 436, !6, i64 504}
!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, !32, i64 86, !33, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !15, i64 104, !7, i64 108}
!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 0, !15, i64 0, !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, !32, i64 86}
!37 = !{!29, !11, i64 20}
!38 = !{!35, !11, i64 8}
!39 = !{!7, !7, i64 0}
!40 = distinct !{!40, !41}
!41 = !{!"llvm.loop.mustprogress"}
!42 = !{!10, !11, i64 4}
!43 = distinct !{!43, !41}
!44 = !{!45, !33, i64 12524}
!45 = !{!"_ZTS12ImGuiContext", !33, i64 0, !33, i64 1, !46, i64 8, !47, i64 5464, !6, i64 6512, !11, i64 6520, !11, i64 6524, !26, i64 6528, !48, i64 7040, !15, i64 7048, !15, i64 7052, !15, i64 7056, !33, i64 7060, !33, i64 7061, !33, i64 7062, !33, i64 7063, !33, i64 7064, !15, i64 7068, !6, i64 7072, !49, i64 7080, !49, i64 7096, !49, i64 7112, !50, i64 7128, !51, i64 7144, !15, i64 7160, !10, i64 7164, !6, i64 7176, !6, i64 7184, !6, i64 7192, !6, i64 7200, !6, i64 7208, !10, i64 7216, !11, i64 7224, !15, i64 7228, !15, i64 7232, !33, i64 7236, !33, i64 7237, !33, i64 7238, !33, i64 7239, !11, i64 7240, !11, i64 7244, !15, i64 7248, !15, i64 7252, !11, i64 7256, !33, i64 7260, !33, i64 7261, !33, i64 7262, !33, i64 7263, !33, i64 7264, !33, i64 7265, !33, i64 7266, !15, i64 7268, !15, i64 7272, !53, i64 7280, !10, i64 7288, !6, i64 7296, !54, i64 7304, !15, i64 7308, !15, i64 7312, !33, i64 7316, !33, i64 7317, !6, i64 7320, !15, i64 7328, !11, i64 7332, !15, i64 7336, !55, i64 7340, !56, i64 7360, !58, i64 7408, !59, i64 7520, !60, i64 7536, !61, i64 7552, !62, i64 7568, !63, i64 7584, !64, i64 7600, !65, i64 7616, !65, i64 7632, !66, i64 7648, !6, i64 7664, !15, i64 7672, !15, i64 7676, !15, i64 7680, !15, i64 7684, !15, i64 7688, !15, i64 7692, !15, i64 7696, !15, i64 7700, !15, i64 7704, !15, i64 7708, !15, i64 7712, !54, i64 7716, !57, i64 7720, !15, i64 7736, !67, i64 7740, !15, i64 7744, !33, i64 7748, !33, i64 7749, !33, i64 7750, !33, i64 7751, !33, i64 7752, !33, i64 7753, !33, i64 7754, !15, i64 7756, !57, i64 7760, !33, i64 7776, !15, i64 7780, !68, i64 7784, !15, i64 7788, !15, i64 7792, !15, i64 7796, !15, i64 7800, !69, i64 7808, !69, i64 7856, !69, i64 7904, !6, i64 7952, !15, i64 7960, !6, i64 7968, !6, i64 7976, !6, i64 7984, !11, i64 7992, !11, i64 7996, !33, i64 8000, !6, i64 8008, !6, i64 8016, !15, i64 8024, !15, i64 8028, !15, i64 8032, !15, i64 8036, !33, i64 8040, !11, i64 8044, !15, i64 8048, !33, i64 8052, !33, i64 8053, !33, i64 8054, !15, i64 8056, !15, i64 8060, !15, i64 8064, !70, i64 8072, !57, i64 8136, !15, i64 8152, !15, i64 8156, !11, i64 8160, !15, i64 8164, !15, i64 8168, !15, i64 8172, !15, i64 8176, !71, i64 8184, !7, i64 8200, !6, i64 8216, !15, i64 8224, !72, i64 8232, !74, i64 8272, !30, i64 8288, !24, i64 8304, !6, i64 8320, !75, i64 8328, !77, i64 8368, !78, i64 8384, !10, i64 8400, !79, i64 8408, !29, i64 12144, !15, i64 12256, !15, i64 12260, !11, i64 12264, !11, i64 12268, !7, i64 12272, !22, i64 12284, !83, i64 12300, !11, i64 12348, !33, i64 12352, !33, i64 12353, !11, i64 12356, !11, i64 12360, !11, i64 12364, !11, i64 12368, !15, i64 12372, !11, i64 12376, !80, i64 12384, !62, i64 12400, !10, i64 12416, !10, i64 12424, !7, i64 12432, !33, i64 12433, !11, i64 12436, !84, i64 12440, !85, i64 12456, !86, i64 12472, !87, i64 12488, !88, i64 12504, !15, i64 12520, !33, i64 12524, !89, i64 12528, !6, i64 12536, !84, i64 12544, !6, i64 12560, !6, i64 12568, !11, i64 12576, !33, i64 12580, !15, i64 12584, !15, i64 12588, !15, i64 12592, !33, i64 12596, !15, i64 12600, !90, i64 12604, !7, i64 12620, !15, i64 13100, !15, i64 13104, !11, i64 13108, !15, i64 13112, !15, i64 13116, !15, i64 13120, !7, i64 13124}
!46 = !{!"_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 908, !33, i64 909, !33, i64 910, !33, i64 911, !33, i64 912, !33, i64 913, !33, i64 914, !11, i64 916, !15, i64 920, !15, i64 924, !15, i64 928, !15, i64 932, !15, i64 936, !10, i64 940, !15, i64 948, !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 5352, !11, i64 5432, !32, i64 5436, !16, i64 5440}
!47 = !{!"_ZTS10ImGuiStyle", !11, i64 0, !11, i64 4, !10, i64 8, !11, i64 16, !11, i64 20, !10, i64 24, !10, i64 32, !15, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !10, i64 60, !11, i64 68, !11, i64 72, !10, i64 76, !10, i64 84, !10, i64 92, !10, i64 100, !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, !11, i64 144, !15, i64 148, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !11, i64 184, !33, i64 188, !33, i64 189, !33, i64 190, !11, i64 192, !11, i64 196, !7, i64 200}
!48 = !{!"double", !7, i64 0}
!49 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !15, i64 0, !15, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !15, i64 0, !15, i64 4, !6, i64 8}
!51 = !{!"_ZTS12ImGuiStorage", !52, i64 0}
!52 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !15, i64 0, !15, i64 4, !6, i64 8}
!53 = !{!"long long", !7, i64 0}
!54 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!55 = !{!"_ZTS17ImGuiNextItemData", !15, i64 0, !11, i64 4, !15, i64 8, !15, i64 12, !33, i64 16}
!56 = !{!"_ZTS17ImGuiLastItemData", !15, i64 0, !15, i64 4, !15, i64 8, !57, i64 12, !57, i64 28}
!57 = !{!"_ZTS6ImRect", !10, i64 0, !10, i64 8}
!58 = !{!"_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, !57, i64 60, !6, i64 80, !6, i64 88, !11, i64 96, !10, i64 100}
!59 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !15, i64 0, !15, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !15, i64 0, !15, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorIP6ImFontE", !15, i64 0, !15, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorIjE", !15, i64 0, !15, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorIiE", !15, i64 0, !15, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !15, i64 0, !15, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !15, i64 0, !15, i64 4, !6, i64 8}
!66 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !15, i64 0, !15, i64 4, !6, i64 8}
!67 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!68 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!69 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !15, i64 8, !15, i64 12, !57, i64 16, !11, i64 32, !11, i64 36, !11, i64 40}
!70 = !{!"_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}
!71 = !{!"_ZTS8ImVectorIhE", !15, i64 0, !15, i64 4, !6, i64 8}
!72 = !{!"_ZTS6ImPoolI10ImGuiTableE", !73, i64 0, !51, i64 16, !15, i64 32, !15, i64 36}
!73 = !{!"_ZTS8ImVectorI10ImGuiTableE", !15, i64 0, !15, i64 4, !6, i64 8}
!74 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !15, i64 0, !15, i64 4, !6, i64 8}
!75 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !76, i64 0, !51, i64 16, !15, i64 32, !15, i64 36}
!76 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !15, i64 0, !15, i64 4, !6, i64 8}
!77 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !15, i64 0, !15, i64 4, !6, i64 8}
!78 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !15, i64 0, !15, i64 4, !6, i64 8}
!79 = !{!"_ZTS19ImGuiInputTextState", !15, i64 0, !15, i64 4, !15, i64 8, !16, i64 16, !80, i64 32, !80, i64 48, !33, i64 64, !15, i64 68, !11, i64 72, !81, i64 76, !11, i64 3704, !33, i64 3708, !33, i64 3709, !33, i64 3710, !15, i64 3712, !6, i64 3720, !6, i64 3728}
!80 = !{!"_ZTS8ImVectorIcE", !15, i64 0, !15, i64 4, !6, i64 8}
!81 = !{!"_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, !82, i64 32}
!82 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !32, i64 3582, !32, i64 3584, !15, i64 3588, !15, i64 3592}
!83 = !{!"_ZTS21ImGuiComboPreviewData", !57, i64 0, !10, i64 16, !10, i64 24, !10, i64 32, !11, i64 40, !15, i64 44}
!84 = !{!"_ZTS15ImGuiTextBuffer", !80, i64 0}
!85 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !15, i64 0, !15, i64 4, !6, i64 8}
!86 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !80, i64 0}
!87 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !80, i64 0}
!88 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !15, i64 0, !15, i64 4, !6, i64 8}
!89 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!90 = !{!"_ZTS18ImGuiMetricsConfig", !33, i64 0, !33, i64 1, !33, i64 2, !33, i64 3, !33, i64 4, !15, i64 8, !15, i64 12}
!91 = !{i8 0, i8 2}
!92 = !{}


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