; LLVM IR from PepcyCh/bisemutum-engine :: bisemutum/thirdparty/ImGuizmo/example (imgui_widgets)

; 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.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiInputTextCallbackData = type { i32, i32, ptr, i16, i32, ptr, i32, i32, i8, i32, i32, i32 }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImGuiWindow = type <{ ptr, i32, i32, ptr, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i16, [2 x i8], i32, i8, i8, i8, i8, i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImVec2ih, %struct.ImVec2ih, i32, float, float, [4 x i8], %struct.ImGuiStorage, %struct.ImVector.3, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i32, i32, i8, [7 x i8] }>
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, %struct.ImVec2, i32, i16, i16, i32, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.0, ptr, ptr, i32, i32, i32, float, float, %struct.ImVector.1, %struct.ImVector.1 }
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImGuiStorage = type { %struct.ImVector.2 }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.4, %struct.ImVector.5, %struct.ImVector.6, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.10 }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImGuiContext = type { i8, i8, %struct.ImGuiIO, %struct.ImVector.11, %struct.ImVector.11, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, ptr, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.12, %struct.ImGuiStorage, i32, %struct.ImVec2, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i32, i32, i8, i8, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, ptr, i32, float, i32, %struct.ImBitArray, i32, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, %struct.ImGuiNextWindowData, %struct.ImVector.13, %struct.ImVector.14, %struct.ImVector.15, %struct.ImVector, %struct.ImVector.16, %struct.ImVector.17, %struct.ImVector.18, %struct.ImVector.18, i32, %struct.ImVector.19, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, ptr, ptr, ptr, float, float, i8, %struct.ImVec2, %struct.ImVec2, float, i32, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, %struct.ImVector.20, [16 x i8], i32, %struct.ImVector.21, ptr, i32, %struct.ImVector.22, %struct.ImPool, %struct.ImVector.1, %struct.ImVector.10, ptr, %struct.ImPool.24, %struct.ImVector.26, %struct.ImVector.27, i32, i32, float, float, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, float, float, i8, i8, float, float, float, float, i16, i16, %struct.ImVector.28, %struct.ImVector, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i8, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.30, %struct.ImChunkStream, %struct.ImChunkStream.31, %struct.ImVector.32, i32, i8, i32, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, i32, %struct.ImGuiTextBuffer, i8, i8, i32, %struct.ImGuiMetricsConfig, %struct.ImGuiStackTool, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.28 }
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, float, float, float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, [652 x i32], [652 x i8], [16 x float], %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, i32, [652 x %struct.ImGuiKeyData], i8, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i16], [5 x i16], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x float], float, i8, i8, i8, i8, i16, %struct.ImVector.5 }
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImVector.11 = type { i32, i32, ptr }
%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.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImBitArray = type { [5 x i32] }
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%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.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.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImGuiNavItemData = type { ptr, i32, i32, %struct.ImRect, i32, float, float, float }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.23, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImPool.24 = type { %struct.ImVector.25, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type <{ i32, i32, i32, [4 x i8], %struct.ImVector.5, %struct.ImVector.28, %struct.ImVector.28, i8, [3 x i8], i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i8, i32, [4 x i8] }>
%"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.ImFont = type <{ %struct.ImVector.1, float, float, %struct.ImVector.5, %struct.ImVector.29, ptr, ptr, ptr, i16, i16, i16, i16, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImGuiPlatformImeData = type { i8, %struct.ImVec2, float }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.28 }
%struct.ImChunkStream.31 = type { %struct.ImVector.28 }
%struct.ImVector.32 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.28 }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiStackTool = type { i32, i32, i32, %struct.ImVector.33, i8, float }
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImFontGlyph = type { i32, float, float, float, float, float, float, float, float, float }

@GImGui = external global ptr, align 8
@.str = external hidden unnamed_addr constant [1 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [114 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [31 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv = external hidden unnamed_addr constant [134 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [34 x i8], align 1
@__const._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv.searches_result_line_no = external hidden unnamed_addr constant [2 x i32], align 4

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

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

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #2

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

declare <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef, ptr noundef, i1 noundef zeroext, float noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #5

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

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

declare noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, ptr noundef, i32 noundef) #4

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

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

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

declare void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float>, ptr noundef, ptr noundef, i1 noundef zeroext) #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #5

declare void @_ZN5ImGui14PushStyleColorEiRK6ImVec4(i32 noundef, ptr noundef nonnull align 4 dereferenceable(16)) #4

declare void @_ZN5ImGui13PopStyleColorEi(i32 noundef) #4

declare noundef float @_ZN5ImGui13CalcItemWidthEv() #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5ImGui8ItemSizeERK6ImRectf(ptr noundef nonnull align 4 dereferenceable(16), float noundef) #5

declare noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef, float noundef) #4

declare noundef zeroext i1 @_ZN5ImGui13ItemHoverableERK6ImRectj(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) #4

declare void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef) #4

declare void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef, ptr noundef) #4

declare void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef, ptr noundef) #4

declare void @_ZN5ImGui13ClearActiveIDEv() #4

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

declare noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(953), ptr noundef, ptr noundef) #4

declare <2 x float> @_ZN5ImGui12CalcItemSizeE6ImVec2ff(<2 x float>, float noundef, float noundef) #4

declare void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i32 noundef) #4

declare void @_ZN5ImGui11RenderFrameE6ImVec2S0_jbf(<2 x float>, <2 x float>, i32 noundef, i1 noundef zeroext, float noundef) #4

declare void @_ZN5ImGui24LogSetNextTextDecorationEPKcS1_(ptr noundef, ptr noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8)) #5

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16)) #9 align 2

declare void @_ZN10ImDrawList7AddLineERK6ImVec2S2_jf(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #10 align 2

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

declare void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef, i32 noundef) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef nonnull align 4 dereferenceable(8) ptr @_ZpLR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #1

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

declare void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) #4

declare void @_ZN5ImGui11PopStyleVarEi(i32 noundef) #4

declare void @_ZN5ImGui14MarkItemEditedEj(i32 noundef) #4

declare void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef, ptr noundef, ptr noundef) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16)) #9 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6ImRect8OverlapsERKS_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #3 align 2

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #2

declare void @_ZN5ImGui10BeginGroupEv() #4

declare void @_ZN5ImGui8EndGroupEv() #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL5ImMinIiET_S0_S0_(i32 noundef, i32 noundef) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL5ImMaxIiET_S0_S0_(i32 noundef, i32 noundef) #1

declare void @_Z9ImStrncpyPcPKcm(ptr noundef, ptr noundef, i64 noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef nonnull align 4 dereferenceable(8) %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #9 personality ptr @__gxx_personality_v0 {
  %9 = alloca i1, align 1
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i8, align 1
  %24 = alloca i8, align 1
  %25 = alloca i8, align 1
  %26 = alloca i8, align 1
  %27 = alloca i8, align 1
  %28 = alloca i8, align 1
  %29 = alloca i32, 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.ImRect, align 4
  %35 = alloca %struct.ImVec2, align 4
  %36 = alloca %struct.ImRect, align 4
  %37 = alloca %struct.ImVec2, align 4
  %38 = alloca ptr, align 8
  %39 = alloca %struct.ImVec2, align 4
  %40 = alloca i32, align 4
  %41 = alloca %struct.ImGuiLastItemData, align 4
  %42 = alloca %struct.ImVec2, align 4
  %43 = alloca %struct.ImVec2, align 4
  %44 = alloca i8, align 1
  %45 = alloca %struct.ImVec2, align 4
  %46 = alloca i8, align 1
  %47 = alloca ptr, align 8
  %48 = alloca i8, align 1
  %49 = alloca i8, align 1
  %50 = alloca i8, align 1
  %51 = alloca i8, align 1
  %52 = alloca i8, align 1
  %53 = alloca i8, align 1
  %54 = alloca i8, align 1
  %55 = alloca float, align 4
  %56 = alloca i8, align 1
  %57 = alloca i8, align 1
  %58 = alloca i8, align 1
  %59 = alloca i32, align 4
  %60 = alloca i8, align 1
  %61 = alloca ptr, align 8
  %62 = alloca i8, align 1
  %63 = alloca i8, align 1
  %64 = alloca i8, align 1
  %65 = alloca i8, align 1
  %66 = alloca ptr, align 8
  %67 = alloca i8, align 1
  %68 = alloca i8, align 1
  %69 = alloca ptr, align 8
  %70 = alloca ptr, align 8
  %71 = alloca i32, align 4
  %72 = alloca float, align 4
  %73 = alloca float, align 4
  %74 = alloca i8, align 1
  %75 = alloca i32, align 4
  %76 = alloca i8, align 1
  %77 = alloca i8, align 1
  %78 = alloca i8, align 1
  %79 = alloca i32, align 4
  %80 = alloca i32, align 4
  %81 = alloca i32, align 4
  %82 = alloca i8, align 1
  %83 = alloca i32, align 4
  %84 = alloca i32, align 4
  %85 = alloca i8, align 1
  %86 = alloca i8, align 1
  %87 = alloca i8, align 1
  %88 = alloca i8, align 1
  %89 = alloca i8, align 1
  %90 = alloca i8, align 1
  %91 = alloca i8, align 1
  %92 = alloca i8, align 1
  %93 = alloca i8, align 1
  %94 = alloca i8, align 1
  %95 = alloca i8, align 1
  %96 = alloca i8, align 1
  %97 = alloca i8, align 1
  %98 = alloca i8, align 1
  %99 = alloca i8, align 1
  %100 = alloca i8, align 1
  %101 = alloca i8, align 1
  %102 = alloca i8, align 1
  %103 = alloca i32, align 4
  %104 = alloca i32, align 4
  %105 = alloca i32, align 4
  %106 = alloca i32, align 4
  %107 = alloca ptr, align 8
  %108 = alloca ptr, align 8
  %109 = alloca i32, align 4
  %110 = alloca ptr, align 8
  %111 = alloca i32, align 4
  %112 = alloca ptr, align 8
  %113 = alloca i32, align 4
  %114 = alloca ptr, align 8
  %115 = alloca i32, align 4
  %116 = alloca i16, align 2
  %117 = alloca %struct.ImVector.5, align 8
  %118 = alloca ptr, align 8
  %119 = alloca i32, align 4
  %120 = alloca i8, align 1
  %121 = alloca i32, align 4
  %122 = alloca i32, align 4
  %123 = alloca %struct.ImGuiInputTextCallbackData, align 8
  %124 = alloca ptr, align 8
  %125 = alloca ptr, align 8
  %126 = alloca i32, align 4
  %127 = alloca i32, align 4
  %128 = alloca i32, align 4
  %129 = alloca i8, align 1
  %130 = alloca %struct.ImGuiInputTextCallbackData, align 8
  %131 = alloca %struct.ImVec2, align 4
  %132 = alloca %struct.ImVec2, align 4
  %133 = alloca %struct.ImVec4, align 4
  %134 = alloca %struct.ImVec2, align 4
  %135 = alloca %struct.ImVec2, align 4
  %136 = alloca i32, align 4
  %137 = alloca ptr, align 8
  %138 = alloca ptr, align 8
  %139 = alloca ptr, align 8
  %140 = alloca %struct.ImVec2, align 4
  %141 = alloca %struct.ImVec2, align 4
  %142 = alloca [2 x ptr], align 16
  %143 = alloca [2 x i32], align 4
  %144 = alloca i32, align 4
  %145 = alloca i32, align 4
  %146 = alloca ptr, align 8
  %147 = alloca %struct.ImVec2, align 4
  %148 = alloca %struct.ImVec2, align 4
  %149 = alloca %struct.ImVec2, align 4
  %150 = alloca float, align 4
  %151 = alloca float, align 4
  %152 = alloca float, align 4
  %153 = alloca %struct.ImVec2, align 4
  %154 = alloca ptr, align 8
  %155 = alloca ptr, align 8
  %156 = alloca i32, align 4
  %157 = alloca float, align 4
  %158 = alloca float, align 4
  %159 = alloca %struct.ImVec2, align 4
  %160 = alloca %struct.ImVec2, align 4
  %161 = alloca ptr, align 8
  %162 = alloca %struct.ImVec2, align 4
  %163 = alloca %struct.ImRect, align 4
  %164 = alloca %struct.ImVec2, align 4
  %165 = alloca %struct.ImVec2, align 4
  %166 = alloca %struct.ImVec2, align 4
  %167 = alloca %struct.ImVec2, align 4
  %168 = alloca %struct.ImRect, align 4
  %169 = alloca %struct.ImRect, align 4
  %170 = alloca i32, align 4
  %171 = alloca %struct.ImVec2, align 4
  %172 = alloca i8, align 1
  %173 = alloca %struct.ImVec2, align 4
  %174 = alloca %struct.ImVec2, align 4
  %175 = alloca %struct.ImVec2, align 4
  %176 = alloca %struct.ImRect, align 4
  %177 = alloca %struct.ImRect, align 4
  %178 = alloca %struct.ImVec2, align 4
  %179 = alloca %struct.ImVec2, align 4
  %180 = alloca %struct.ImVec2, align 4
  %181 = alloca i32, align 4
  %182 = alloca %struct.ImVec2, align 4
  %183 = alloca i32, align 4
  %184 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store ptr %2, ptr %12, align 8, !tbaa !5
  store i32 %3, ptr %13, align 4, !tbaa !9
  store ptr %4, ptr %14, align 8, !tbaa !5
  store i32 %5, ptr %15, align 4, !tbaa !9
  store ptr %6, ptr %16, align 8, !tbaa !5
  store ptr %7, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #14
  %185 = call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  store ptr %185, ptr %18, align 8, !tbaa !5
  %186 = load ptr, ptr %18, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.ImGuiWindow, ptr %186, i32 0, i32 29
  %188 = load i8, ptr %187, align 1, !tbaa !11, !range !40, !noundef !41
  %189 = trunc i8 %188 to i1
  br i1 %189, label %190, label %191

190:                                              ; preds = %8
  store i1 false, ptr %9, align 1
  store i32 1, ptr %19, align 4
  br label %3538

191:                                              ; preds = %8
  %192 = load ptr, ptr %12, align 8, !tbaa !5
  %193 = icmp ne ptr %192, null
  br i1 %193, label %194, label %197

194:                                              ; preds = %191
  %195 = load i32, ptr %13, align 4, !tbaa !9
  %196 = icmp sge i32 %195, 0
  br label %197

197:                                              ; preds = %194, %191
  %198 = phi i1 [ false, %191 ], [ %196, %194 ]
  br i1 %198, label %199, label %200

199:                                              ; preds = %197
  br label %202

200:                                              ; preds = %197
  call void @__assert_fail(ptr noundef @.str.57, ptr noundef @.str.2, i32 noundef 3974, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #15
  unreachable

201:                                              ; No predecessors!
  br label %202

202:                                              ; preds = %201, %199
  %203 = load i32, ptr %15, align 4, !tbaa !9
  %204 = and i32 %203, 128
  %205 = icmp ne i32 %204, 0
  br i1 %205, label %206, label %210

206:                                              ; preds = %202
  %207 = load i32, ptr %15, align 4, !tbaa !9
  %208 = and i32 %207, 67108864
  %209 = icmp ne i32 %208, 0
  br label %210

210:                                              ; preds = %206, %202
  %211 = phi i1 [ false, %202 ], [ %209, %206 ]
  %212 = xor i1 %211, true
  br i1 %212, label %213, label %214

213:                                              ; preds = %210
  br label %216

214:                                              ; preds = %210
  call void @__assert_fail(ptr noundef @.str.58, ptr noundef @.str.2, i32 noundef 3975, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #15
  unreachable

215:                                              ; No predecessors!
  br label %216

216:                                              ; preds = %215, %213
  %217 = load i32, ptr %15, align 4, !tbaa !9
  %218 = and i32 %217, 64
  %219 = icmp ne i32 %218, 0
  br i1 %219, label %220, label %224

220:                                              ; preds = %216
  %221 = load i32, ptr %15, align 4, !tbaa !9
  %222 = and i32 %221, 1024
  %223 = icmp ne i32 %222, 0
  br label %224

224:                                              ; preds = %220, %216
  %225 = phi i1 [ false, %216 ], [ %223, %220 ]
  %226 = xor i1 %225, true
  br i1 %226, label %227, label %228

227:                                              ; preds = %224
  br label %230

228:                                              ; preds = %224
  call void @__assert_fail(ptr noundef @.str.59, ptr noundef @.str.2, i32 noundef 3976, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #15
  unreachable

229:                                              ; No predecessors!
  br label %230

230:                                              ; preds = %229, %227
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #14
  %231 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %231, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #14
  %232 = load ptr, ptr %20, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.ImGuiContext, ptr %232, i32 0, i32 2
  store ptr %233, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #14
  %234 = load ptr, ptr %20, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.ImGuiContext, ptr %234, i32 0, i32 5
  store ptr %235, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #14
  store i8 0, ptr %23, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #14
  %236 = load i32, ptr %15, align 4, !tbaa !9
  %237 = and i32 %236, 67108864
  %238 = icmp ne i32 %237, 0
  %239 = zext i1 %238 to i8
  store i8 %239, ptr %24, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #14
  %240 = load i32, ptr %15, align 4, !tbaa !9
  %241 = and i32 %240, 16384
  %242 = icmp ne i32 %241, 0
  %243 = zext i1 %242 to i8
  store i8 %243, ptr %25, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #14
  %244 = load i32, ptr %15, align 4, !tbaa !9
  %245 = and i32 %244, 32768
  %246 = icmp ne i32 %245, 0
  %247 = zext i1 %246 to i8
  store i8 %247, ptr %26, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #14
  %248 = load i32, ptr %15, align 4, !tbaa !9
  %249 = and i32 %248, 65536
  %250 = icmp eq i32 %249, 0
  %251 = zext i1 %250 to i8
  store i8 %251, ptr %27, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #14
  %252 = load i32, ptr %15, align 4, !tbaa !9
  %253 = and i32 %252, 262144
  %254 = icmp ne i32 %253, 0
  %255 = zext i1 %254 to i8
  store i8 %255, ptr %28, align 1, !tbaa !42
  %256 = load i8, ptr %28, align 1, !tbaa !42, !range !40, !noundef !41
  %257 = trunc i8 %256 to i1
  br i1 %257, label %258, label %265

258:                                              ; preds = %230
  %259 = load ptr, ptr %16, align 8, !tbaa !5
  %260 = icmp ne ptr %259, null
  br i1 %260, label %261, label %262

261:                                              ; preds = %258
  br label %264

262:                                              ; preds = %258
  call void @__assert_fail(ptr noundef @.str.60, ptr noundef @.str.2, i32 noundef 3989, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #15
  unreachable

263:                                              ; No predecessors!
  br label %264

264:                                              ; preds = %263, %261
  br label %265

265:                                              ; preds = %264, %230
  %266 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %267 = trunc i8 %266 to i1
  br i1 %267, label %268, label %269

268:                                              ; preds = %265
  call void @_ZN5ImGui10BeginGroupEv()
  br label %269

269:                                              ; preds = %268, %265
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #14
  %270 = load ptr, ptr %18, align 8, !tbaa !5
  %271 = load ptr, ptr %10, align 8, !tbaa !5
  %272 = call noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(953) %270, ptr noundef %271, ptr noundef null)
  store i32 %272, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #14
  %273 = load ptr, ptr %10, align 8, !tbaa !5
  %274 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %273, ptr noundef null, i1 noundef zeroext true, float noundef -1.000000e+00)
  store <2 x float> %274, ptr %30, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #14
  %275 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %275, i64 8, i1 false), !tbaa.struct !43
  %276 = call noundef float @_ZN5ImGui13CalcItemWidthEv()
  %277 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %278 = trunc i8 %277 to i1
  br i1 %278, label %279, label %284

279:                                              ; preds = %269
  %280 = load ptr, ptr %20, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.ImGuiContext, ptr %280, i32 0, i32 7
  %282 = load float, ptr %281, align 8, !tbaa !45
  %283 = fmul float %282, 8.000000e+00
  br label %287

284:                                              ; preds = %269
  %285 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 1
  %286 = load float, ptr %285, align 4, !tbaa !93
  br label %287

287:                                              ; preds = %284, %279
  %288 = phi float [ %283, %279 ], [ %286, %284 ]
  %289 = load ptr, ptr %22, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.ImGuiStyle, ptr %289, i32 0, i32 12
  %291 = getelementptr inbounds %struct.ImVec2, ptr %290, i32 0, i32 1
  %292 = load float, ptr %291, align 4, !tbaa !94
  %293 = call float @llvm.fmuladd.f32(float %292, float 2.000000e+00, float %288)
  %294 = load <2 x float>, ptr %32, align 4
  %295 = call <2 x float> @_ZN5ImGui12CalcItemSizeE6ImVec2ff(<2 x float> %294, float noundef %276, float noundef %293)
  store <2 x float> %295, ptr %31, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #14
  %296 = getelementptr inbounds %struct.ImVec2, ptr %31, i32 0, i32 0
  %297 = load float, ptr %296, align 4, !tbaa !95
  %298 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 0
  %299 = load float, ptr %298, align 4, !tbaa !95
  %300 = fcmp ogt float %299, 0.000000e+00
  br i1 %300, label %301, label %309

301:                                              ; preds = %287
  %302 = load ptr, ptr %22, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.ImGuiStyle, ptr %302, i32 0, i32 16
  %304 = getelementptr inbounds %struct.ImVec2, ptr %303, i32 0, i32 0
  %305 = load float, ptr %304, align 4, !tbaa !96
  %306 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 0
  %307 = load float, ptr %306, align 4, !tbaa !95
  %308 = fadd float %305, %307
  br label %310

309:                                              ; preds = %287
  br label %310

310:                                              ; preds = %309, %301
  %311 = phi float [ %308, %301 ], [ 0.000000e+00, %309 ]
  %312 = fadd float %297, %311
  %313 = getelementptr inbounds %struct.ImVec2, ptr %31, i32 0, i32 1
  %314 = load float, ptr %313, align 4, !tbaa !93
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %33, float noundef %312, float noundef %314)
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #14
  %315 = load ptr, ptr %18, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.ImGuiWindow, ptr %315, i32 0, i32 55
  %317 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %316, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #14
  %318 = load ptr, ptr %18, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.ImGuiWindow, ptr %318, i32 0, i32 55
  %320 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %319, i32 0, i32 0
  %321 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %320, ptr noundef nonnull align 4 dereferenceable(8) %31)
  store <2 x float> %321, ptr %35, align 4
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %34, ptr noundef nonnull align 4 dereferenceable(8) %317, ptr noundef nonnull align 4 dereferenceable(8) %35)
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #14
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #14
  %322 = getelementptr inbounds %struct.ImRect, ptr %34, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #14
  %323 = getelementptr inbounds %struct.ImRect, ptr %34, i32 0, i32 0
  %324 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %323, ptr noundef nonnull align 4 dereferenceable(8) %33)
  store <2 x float> %324, ptr %37, align 4
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %36, ptr noundef nonnull align 4 dereferenceable(8) %322, ptr noundef nonnull align 4 dereferenceable(8) %37)
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #14
  %325 = load ptr, ptr %18, align 8, !tbaa !5
  store ptr %325, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %39, ptr align 4 %31, i64 8, i1 false), !tbaa.struct !43
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #14
  store i32 0, ptr %40, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 60, ptr %41) #14
  call void @_ZN17ImGuiLastItemDataC2Ev(ptr noundef nonnull align 4 dereferenceable(60) %41)
  %326 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %327 = trunc i8 %326 to i1
  br i1 %327, label %328, label %399

328:                                              ; preds = %310
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #14
  %329 = load ptr, ptr %18, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct.ImGuiWindow, ptr %329, i32 0, i32 55
  %331 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %330, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 8 %331, i64 8, i1 false), !tbaa.struct !43
  %332 = load ptr, ptr %22, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.ImGuiStyle, ptr %332, i32 0, i32 12
  %334 = getelementptr inbounds %struct.ImVec2, ptr %333, i32 0, i32 1
  %335 = load float, ptr %334, align 4, !tbaa !94
  call void @_ZN5ImGui8ItemSizeERK6ImRectf(ptr noundef nonnull align 4 dereferenceable(16) %36, float noundef %335)
  %336 = load i32, ptr %29, align 4, !tbaa !9
  %337 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %36, i32 noundef %336, ptr noundef %34, i32 noundef 256)
  br i1 %337, label %339, label %338

338:                                              ; preds = %328
  call void @_ZN5ImGui8EndGroupEv()
  store i1 false, ptr %9, align 1
  store i32 1, ptr %19, align 4
  br label %396

339:                                              ; preds = %328
  %340 = load ptr, ptr %20, align 8, !tbaa !5
  %341 = getelementptr inbounds %struct.ImGuiContext, ptr %340, i32 0, i32 67
  %342 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %341, i32 0, i32 2
  %343 = load i32, ptr %342, align 4, !tbaa !97
  store i32 %343, ptr %40, align 4, !tbaa !9
  %344 = load ptr, ptr %20, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.ImGuiContext, ptr %344, i32 0, i32 67
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 4 %345, i64 60, i1 false), !tbaa.struct !98
  %346 = load ptr, ptr %18, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.ImGuiWindow, ptr %346, i32 0, i32 55
  %348 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %347, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %348, ptr align 4 %42, i64 8, i1 false), !tbaa.struct !43
  %349 = load ptr, ptr %22, align 8, !tbaa !5
  %350 = getelementptr inbounds %struct.ImGuiStyle, ptr %349, i32 0, i32 40
  %351 = getelementptr inbounds [53 x %struct.ImVec4], ptr %350, i64 0, i64 7
  call void @_ZN5ImGui14PushStyleColorEiRK6ImVec4(i32 noundef 3, ptr noundef nonnull align 4 dereferenceable(16) %351)
  %352 = load ptr, ptr %22, align 8, !tbaa !5
  %353 = getelementptr inbounds %struct.ImGuiStyle, ptr %352, i32 0, i32 13
  %354 = load float, ptr %353, align 4, !tbaa !99
  call void @_ZN5ImGui12PushStyleVarEif(i32 noundef 7, float noundef %354)
  %355 = load ptr, ptr %22, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.ImGuiStyle, ptr %355, i32 0, i32 14
  %357 = load float, ptr %356, align 4, !tbaa !100
  call void @_ZN5ImGui12PushStyleVarEif(i32 noundef 8, float noundef %357)
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #14
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %43, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef 2, ptr noundef nonnull align 4 dereferenceable(8) %43)
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #14
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #14
  %358 = load ptr, ptr %10, align 8, !tbaa !5
  %359 = load i32, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #14
  %360 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %34)
  store <2 x float> %360, ptr %45, align 4
  %361 = call noundef zeroext i1 @_ZN5ImGui12BeginChildExEPKcjRK6ImVec2bi(ptr noundef %358, i32 noundef %359, ptr noundef nonnull align 4 dereferenceable(8) %45, i1 noundef zeroext true, i32 noundef 4)
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #14
  %362 = zext i1 %361 to i8
  store i8 %362, ptr %44, align 1, !tbaa !42
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 3)
  call void @_ZN5ImGui13PopStyleColorEi(i32 noundef 1)
  %363 = load i8, ptr %44, align 1, !tbaa !42, !range !40, !noundef !41
  %364 = trunc i8 %363 to i1
  br i1 %364, label %366, label %365

365:                                              ; preds = %339
  call void @_ZN5ImGui8EndChildEv()
  call void @_ZN5ImGui8EndGroupEv()
  store i1 false, ptr %9, align 1
  store i32 1, ptr %19, align 4
  br label %395

366:                                              ; preds = %339
  %367 = load ptr, ptr %20, align 8, !tbaa !5
  %368 = getelementptr inbounds %struct.ImGuiContext, ptr %367, i32 0, i32 27
  %369 = load ptr, ptr %368, align 8, !tbaa !101
  store ptr %369, ptr %38, align 8, !tbaa !5
  %370 = load ptr, ptr %38, align 8, !tbaa !5
  %371 = getelementptr inbounds %struct.ImGuiWindow, ptr %370, i32 0, i32 55
  %372 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %371, i32 0, i32 15
  %373 = load i32, ptr %372, align 8, !tbaa !102
  %374 = shl i32 1, %373
  %375 = load ptr, ptr %38, align 8, !tbaa !5
  %376 = getelementptr inbounds %struct.ImGuiWindow, ptr %375, i32 0, i32 55
  %377 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %376, i32 0, i32 17
  %378 = load i16, ptr %377, align 2, !tbaa !103
  %379 = sext i16 %378 to i32
  %380 = or i32 %379, %374
  %381 = trunc i32 %380 to i16
  store i16 %381, ptr %377, align 2, !tbaa !103
  %382 = load ptr, ptr %22, align 8, !tbaa !5
  %383 = getelementptr inbounds %struct.ImGuiStyle, ptr %382, i32 0, i32 12
  %384 = load ptr, ptr %38, align 8, !tbaa !5
  %385 = getelementptr inbounds %struct.ImGuiWindow, ptr %384, i32 0, i32 55
  %386 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %385, i32 0, i32 0
  %387 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZpLR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %386, ptr noundef nonnull align 4 dereferenceable(8) %383)
  %388 = load ptr, ptr %38, align 8, !tbaa !5
  %389 = getelementptr inbounds %struct.ImGuiWindow, ptr %388, i32 0, i32 21
  %390 = getelementptr inbounds %struct.ImVec2, ptr %389, i32 0, i32 0
  %391 = load float, ptr %390, align 4, !tbaa !104
  %392 = getelementptr inbounds %struct.ImVec2, ptr %39, i32 0, i32 0
  %393 = load float, ptr %392, align 4, !tbaa !95
  %394 = fsub float %393, %391
  store float %394, ptr %392, align 4, !tbaa !95
  store i32 0, ptr %19, align 4
  br label %395

395:                                              ; preds = %366, %365
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #14
  br label %396

396:                                              ; preds = %395, %338
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #14
  %397 = load i32, ptr %19, align 4
  switch i32 %397, label %3537 [
    i32 0, label %398
  ]

398:                                              ; preds = %396
  br label %417

399:                                              ; preds = %310
  %400 = load ptr, ptr %22, align 8, !tbaa !5
  %401 = getelementptr inbounds %struct.ImGuiStyle, ptr %400, i32 0, i32 12
  %402 = getelementptr inbounds %struct.ImVec2, ptr %401, i32 0, i32 1
  %403 = load float, ptr %402, align 4, !tbaa !94
  call void @_ZN5ImGui8ItemSizeERK6ImRectf(ptr noundef nonnull align 4 dereferenceable(16) %36, float noundef %403)
  %404 = load i32, ptr %15, align 4, !tbaa !9
  %405 = and i32 %404, 268435456
  %406 = icmp ne i32 %405, 0
  br i1 %406, label %412, label %407

407:                                              ; preds = %399
  %408 = load i32, ptr %29, align 4, !tbaa !9
  %409 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %36, i32 noundef %408, ptr noundef %34, i32 noundef 256)
  br i1 %409, label %411, label %410

410:                                              ; preds = %407
  store i1 false, ptr %9, align 1
  store i32 1, ptr %19, align 4
  br label %3537

411:                                              ; preds = %407
  br label %412

412:                                              ; preds = %411, %399
  %413 = load ptr, ptr %20, align 8, !tbaa !5
  %414 = getelementptr inbounds %struct.ImGuiContext, ptr %413, i32 0, i32 67
  %415 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %414, i32 0, i32 2
  %416 = load i32, ptr %415, align 4, !tbaa !97
  store i32 %416, ptr %40, align 4, !tbaa !9
  br label %417

417:                                              ; preds = %412, %398
  call void @llvm.lifetime.start.p0(i64 1, ptr %46) #14
  %418 = load i32, ptr %29, align 4, !tbaa !9
  %419 = call noundef zeroext i1 @_ZN5ImGui13ItemHoverableERK6ImRectj(ptr noundef nonnull align 4 dereferenceable(16) %34, i32 noundef %418)
  %420 = zext i1 %419 to i8
  store i8 %420, ptr %46, align 1, !tbaa !42
  %421 = load i8, ptr %46, align 1, !tbaa !42, !range !40, !noundef !41
  %422 = trunc i8 %421 to i1
  br i1 %422, label %423, label %426

423:                                              ; preds = %417
  %424 = load ptr, ptr %20, align 8, !tbaa !5
  %425 = getelementptr inbounds %struct.ImGuiContext, ptr %424, i32 0, i32 130
  store i32 1, ptr %425, align 8, !tbaa !105
  br label %426

426:                                              ; preds = %423, %417
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #14
  %427 = load i32, ptr %29, align 4, !tbaa !9
  %428 = call noundef ptr @_ZN5ImGui17GetInputTextStateEj(i32 noundef %427)
  store ptr %428, ptr %47, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %48) #14
  %429 = load i32, ptr %40, align 4, !tbaa !9
  %430 = and i32 %429, 256
  %431 = icmp ne i32 %430, 0
  %432 = zext i1 %431 to i8
  store i8 %432, ptr %48, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %49) #14
  %433 = load ptr, ptr %20, align 8, !tbaa !5
  %434 = getelementptr inbounds %struct.ImGuiContext, ptr %433, i32 0, i32 43
  %435 = load i32, ptr %434, align 4, !tbaa !106
  %436 = load i32, ptr %29, align 4, !tbaa !9
  %437 = icmp ne i32 %435, %436
  br i1 %437, label %438, label %459

438:                                              ; preds = %426
  %439 = load ptr, ptr %20, align 8, !tbaa !5
  %440 = getelementptr inbounds %struct.ImGuiContext, ptr %439, i32 0, i32 85
  %441 = load i32, ptr %440, align 4, !tbaa !107
  %442 = load i32, ptr %29, align 4, !tbaa !9
  %443 = icmp eq i32 %441, %442
  br i1 %443, label %457, label %444

444:                                              ; preds = %438
  %445 = load ptr, ptr %20, align 8, !tbaa !5
  %446 = getelementptr inbounds %struct.ImGuiContext, ptr %445, i32 0, i32 82
  %447 = load i32, ptr %446, align 8, !tbaa !108
  %448 = load i32, ptr %29, align 4, !tbaa !9
  %449 = icmp eq i32 %447, %448
  br i1 %449, label %450, label %455

450:                                              ; preds = %444
  %451 = load ptr, ptr %20, align 8, !tbaa !5
  %452 = getelementptr inbounds %struct.ImGuiContext, ptr %451, i32 0, i32 92
  %453 = load i32, ptr %452, align 8, !tbaa !109
  %454 = icmp eq i32 %453, 2
  br label %455

455:                                              ; preds = %450, %444
  %456 = phi i1 [ false, %444 ], [ %454, %450 ]
  br label %457

457:                                              ; preds = %455, %438
  %458 = phi i1 [ true, %438 ], [ %456, %455 ]
  br label %459

459:                                              ; preds = %457, %426
  %460 = phi i1 [ false, %426 ], [ %458, %457 ]
  %461 = zext i1 %460 to i8
  store i8 %461, ptr %49, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %50) #14
  %462 = load i8, ptr %46, align 1, !tbaa !42, !range !40, !noundef !41
  %463 = trunc i8 %462 to i1
  br i1 %463, label %464, label %470

464:                                              ; preds = %459
  %465 = load ptr, ptr %21, align 8, !tbaa !5
  %466 = getelementptr inbounds %struct.ImGuiIO, ptr %465, i32 0, i32 70
  %467 = getelementptr inbounds [5 x i8], ptr %466, i64 0, i64 0
  %468 = load i8, ptr %467, align 8, !tbaa !42, !range !40, !noundef !41
  %469 = trunc i8 %468 to i1
  br label %470

470:                                              ; preds = %464, %459
  %471 = phi i1 [ false, %459 ], [ %469, %464 ]
  %472 = zext i1 %471 to i8
  store i8 %472, ptr %50, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %51) #14
  %473 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %474 = trunc i8 %473 to i1
  br i1 %474, label %475, label %490

475:                                              ; preds = %470
  %476 = load ptr, ptr %47, align 8, !tbaa !5
  %477 = icmp ne ptr %476, null
  br i1 %477, label %478, label %490

478:                                              ; preds = %475
  %479 = load ptr, ptr %20, align 8, !tbaa !5
  %480 = getelementptr inbounds %struct.ImGuiContext, ptr %479, i32 0, i32 43
  %481 = load i32, ptr %480, align 4, !tbaa !106
  %482 = icmp eq i32 %481, 0
  br i1 %482, label %483, label %490

483:                                              ; preds = %478
  %484 = load ptr, ptr %20, align 8, !tbaa !5
  %485 = getelementptr inbounds %struct.ImGuiContext, ptr %484, i32 0, i32 56
  %486 = load i32, ptr %485, align 8, !tbaa !110
  %487 = load ptr, ptr %38, align 8, !tbaa !5
  %488 = call noundef i32 @_ZN5ImGui20GetWindowScrollbarIDEP11ImGuiWindow9ImGuiAxis(ptr noundef %487, i32 noundef 1)
  %489 = icmp eq i32 %486, %488
  br label %490

490:                                              ; preds = %483, %478, %475, %470
  %491 = phi i1 [ false, %478 ], [ false, %475 ], [ false, %470 ], [ %489, %483 ]
  %492 = zext i1 %491 to i8
  store i8 %492, ptr %51, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %52) #14
  %493 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %494 = trunc i8 %493 to i1
  br i1 %494, label %495, label %505

495:                                              ; preds = %490
  %496 = load ptr, ptr %47, align 8, !tbaa !5
  %497 = icmp ne ptr %496, null
  br i1 %497, label %498, label %505

498:                                              ; preds = %495
  %499 = load ptr, ptr %20, align 8, !tbaa !5
  %500 = getelementptr inbounds %struct.ImGuiContext, ptr %499, i32 0, i32 43
  %501 = load i32, ptr %500, align 4, !tbaa !106
  %502 = load ptr, ptr %38, align 8, !tbaa !5
  %503 = call noundef i32 @_ZN5ImGui20GetWindowScrollbarIDEP11ImGuiWindow9ImGuiAxis(ptr noundef %502, i32 noundef 1)
  %504 = icmp eq i32 %501, %503
  br label %505

505:                                              ; preds = %498, %495, %490
  %506 = phi i1 [ false, %495 ], [ false, %490 ], [ %504, %498 ]
  %507 = zext i1 %506 to i8
  store i8 %507, ptr %52, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %53) #14
  store i8 0, ptr %53, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %54) #14
  store i8 0, ptr %54, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #14
  %508 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %509 = trunc i8 %508 to i1
  br i1 %509, label %510, label %515

510:                                              ; preds = %505
  %511 = load ptr, ptr %38, align 8, !tbaa !5
  %512 = getelementptr inbounds %struct.ImGuiWindow, ptr %511, i32 0, i32 16
  %513 = getelementptr inbounds %struct.ImVec2, ptr %512, i32 0, i32 1
  %514 = load float, ptr %513, align 4, !tbaa !111
  br label %516

515:                                              ; preds = %505
  br label %516

516:                                              ; preds = %515, %510
  %517 = phi float [ %514, %510 ], [ 0x47EFFFFFE0000000, %515 ]
  store float %517, ptr %55, align 4, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 1, ptr %56) #14
  %518 = load ptr, ptr %47, align 8, !tbaa !5
  %519 = icmp ne ptr %518, null
  br i1 %519, label %520, label %531

520:                                              ; preds = %516
  %521 = load ptr, ptr %47, align 8, !tbaa !5
  %522 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %521, i32 0, i32 11
  %523 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %522, i32 0, i32 8
  %524 = load i8, ptr %523, align 1, !tbaa !112
  %525 = zext i8 %524 to i32
  %526 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %527 = trunc i8 %526 to i1
  %528 = xor i1 %527, true
  %529 = zext i1 %528 to i32
  %530 = icmp ne i32 %525, %529
  br label %531

531:                                              ; preds = %520, %516
  %532 = phi i1 [ false, %516 ], [ %530, %520 ]
  %533 = zext i1 %532 to i8
  store i8 %533, ptr %56, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %57) #14
  %534 = load i8, ptr %50, align 1, !tbaa !42, !range !40, !noundef !41
  %535 = trunc i8 %534 to i1
  br i1 %535, label %545, label %536

536:                                              ; preds = %531
  %537 = load i8, ptr %51, align 1, !tbaa !42, !range !40, !noundef !41
  %538 = trunc i8 %537 to i1
  br i1 %538, label %545, label %539

539:                                              ; preds = %536
  %540 = load i8, ptr %49, align 1, !tbaa !42, !range !40, !noundef !41
  %541 = trunc i8 %540 to i1
  br i1 %541, label %545, label %542

542:                                              ; preds = %539
  %543 = load i8, ptr %48, align 1, !tbaa !42, !range !40, !noundef !41
  %544 = trunc i8 %543 to i1
  br label %545

545:                                              ; preds = %542, %539, %536, %531
  %546 = phi i1 [ true, %539 ], [ true, %536 ], [ true, %531 ], [ %544, %542 ]
  %547 = zext i1 %546 to i8
  store i8 %547, ptr %57, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %58) #14
  %548 = load i8, ptr %57, align 1, !tbaa !42, !range !40, !noundef !41
  %549 = trunc i8 %548 to i1
  br i1 %549, label %553, label %550

550:                                              ; preds = %545
  %551 = load i8, ptr %52, align 1, !tbaa !42, !range !40, !noundef !41
  %552 = trunc i8 %551 to i1
  br label %553

553:                                              ; preds = %550, %545
  %554 = phi i1 [ true, %545 ], [ %552, %550 ]
  %555 = zext i1 %554 to i8
  store i8 %555, ptr %58, align 1, !tbaa !42
  %556 = load i8, ptr %58, align 1, !tbaa !42, !range !40, !noundef !41
  %557 = trunc i8 %556 to i1
  br i1 %557, label %558, label %564

558:                                              ; preds = %553
  %559 = load ptr, ptr %20, align 8, !tbaa !5
  %560 = getelementptr inbounds %struct.ImGuiContext, ptr %559, i32 0, i32 43
  %561 = load i32, ptr %560, align 4, !tbaa !106
  %562 = load i32, ptr %29, align 4, !tbaa !9
  %563 = icmp ne i32 %561, %562
  br i1 %563, label %567, label %564

564:                                              ; preds = %558, %553
  %565 = load i8, ptr %56, align 1, !tbaa !42, !range !40, !noundef !41
  %566 = trunc i8 %565 to i1
  br i1 %566, label %567, label %707

567:                                              ; preds = %564, %558
  %568 = load ptr, ptr %20, align 8, !tbaa !5
  %569 = getelementptr inbounds %struct.ImGuiContext, ptr %568, i32 0, i32 166
  store ptr %569, ptr %47, align 8, !tbaa !5
  %570 = load ptr, ptr %47, align 8, !tbaa !5
  call void @_ZN19ImGuiInputTextState15CursorAnimResetEv(ptr noundef nonnull align 8 dereferenceable(3716) %570)
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #14
  %571 = load ptr, ptr %12, align 8, !tbaa !5
  %572 = call i64 @strlen(ptr noundef %571) #16
  %573 = trunc i64 %572 to i32
  store i32 %573, ptr %59, align 4, !tbaa !9
  %574 = load ptr, ptr %47, align 8, !tbaa !5
  %575 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %574, i32 0, i32 6
  %576 = load i32, ptr %59, align 4, !tbaa !9
  %577 = add nsw i32 %576, 1
  call void @_ZN8ImVectorIcE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %575, i32 noundef %577)
  %578 = load ptr, ptr %47, align 8, !tbaa !5
  %579 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %578, i32 0, i32 6
  %580 = getelementptr inbounds %struct.ImVector.28, ptr %579, i32 0, i32 2
  %581 = load ptr, ptr %580, align 8, !tbaa !113
  %582 = load ptr, ptr %12, align 8, !tbaa !5
  %583 = load i32, ptr %59, align 4, !tbaa !9
  %584 = add nsw i32 %583, 1
  %585 = sext i32 %584 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %581, ptr align 1 %582, i64 %585, i1 false)
  call void @llvm.lifetime.start.p0(i64 1, ptr %60) #14
  %586 = load ptr, ptr %47, align 8, !tbaa !5
  %587 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %586, i32 0, i32 0
  %588 = load i32, ptr %587, align 8, !tbaa !114
  %589 = load i32, ptr %29, align 4, !tbaa !9
  %590 = icmp eq i32 %588, %589
  br i1 %590, label %591, label %595

591:                                              ; preds = %567
  %592 = load i8, ptr %56, align 1, !tbaa !42, !range !40, !noundef !41
  %593 = trunc i8 %592 to i1
  %594 = xor i1 %593, true
  br label %595

595:                                              ; preds = %591, %567
  %596 = phi i1 [ false, %567 ], [ %594, %591 ]
  %597 = zext i1 %596 to i8
  store i8 %597, ptr %60, align 1, !tbaa !42
  %598 = load i8, ptr %60, align 1, !tbaa !42, !range !40, !noundef !41
  %599 = trunc i8 %598 to i1
  br i1 %599, label %600, label %622

600:                                              ; preds = %595
  %601 = load ptr, ptr %47, align 8, !tbaa !5
  %602 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %601, i32 0, i32 2
  %603 = load i32, ptr %602, align 8, !tbaa !115
  %604 = load i32, ptr %59, align 4, !tbaa !9
  %605 = icmp ne i32 %603, %604
  br i1 %605, label %621, label %606

606:                                              ; preds = %600
  %607 = load ptr, ptr %47, align 8, !tbaa !5
  %608 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %607, i32 0, i32 7
  %609 = load i8, ptr %608, align 8, !tbaa !116, !range !40, !noundef !41
  %610 = trunc i8 %609 to i1
  br i1 %610, label %611, label %622

611:                                              ; preds = %606
  %612 = load ptr, ptr %47, align 8, !tbaa !5
  %613 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %612, i32 0, i32 5
  %614 = getelementptr inbounds %struct.ImVector.28, ptr %613, i32 0, i32 2
  %615 = load ptr, ptr %614, align 8, !tbaa !117
  %616 = load ptr, ptr %12, align 8, !tbaa !5
  %617 = load i32, ptr %59, align 4, !tbaa !9
  %618 = sext i32 %617 to i64
  %619 = call i32 @strncmp(ptr noundef %615, ptr noundef %616, i64 noundef %618) #16
  %620 = icmp ne i32 %619, 0
  br i1 %620, label %621, label %622

621:                                              ; preds = %611, %600
  store i8 0, ptr %60, align 1, !tbaa !42
  br label %622

622:                                              ; preds = %621, %611, %606, %595
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #14
  store ptr null, ptr %61, align 8, !tbaa !5
  %623 = load i32, ptr %29, align 4, !tbaa !9
  %624 = load ptr, ptr %47, align 8, !tbaa !5
  %625 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %624, i32 0, i32 0
  store i32 %623, ptr %625, align 8, !tbaa !114
  %626 = load ptr, ptr %47, align 8, !tbaa !5
  %627 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %626, i32 0, i32 4
  %628 = load i32, ptr %13, align 4, !tbaa !9
  %629 = add nsw i32 %628, 1
  call void @_ZN8ImVectorItE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %627, i32 noundef %629)
  %630 = load ptr, ptr %47, align 8, !tbaa !5
  %631 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %630, i32 0, i32 5
  call void @_ZN8ImVectorIcE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %631, i32 noundef 0)
  %632 = load ptr, ptr %47, align 8, !tbaa !5
  %633 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %632, i32 0, i32 7
  store i8 0, ptr %633, align 8, !tbaa !116
  %634 = load ptr, ptr %47, align 8, !tbaa !5
  %635 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %634, i32 0, i32 4
  %636 = getelementptr inbounds %struct.ImVector.5, ptr %635, i32 0, i32 2
  %637 = load ptr, ptr %636, align 8, !tbaa !118
  %638 = load i32, ptr %13, align 4, !tbaa !9
  %639 = load ptr, ptr %12, align 8, !tbaa !5
  %640 = call noundef i32 @_Z17ImTextStrFromUtf8PtiPKcS1_PS1_(ptr noundef %637, i32 noundef %638, ptr noundef %639, ptr noundef null, ptr noundef %61)
  %641 = load ptr, ptr %47, align 8, !tbaa !5
  %642 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %641, i32 0, i32 1
  store i32 %640, ptr %642, align 4, !tbaa !119
  %643 = load ptr, ptr %61, align 8, !tbaa !5
  %644 = load ptr, ptr %12, align 8, !tbaa !5
  %645 = ptrtoint ptr %643 to i64
  %646 = ptrtoint ptr %644 to i64
  %647 = sub i64 %645, %646
  %648 = trunc i64 %647 to i32
  %649 = load ptr, ptr %47, align 8, !tbaa !5
  %650 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %649, i32 0, i32 2
  store i32 %648, ptr %650, align 8, !tbaa !115
  %651 = load i8, ptr %60, align 1, !tbaa !42, !range !40, !noundef !41
  %652 = trunc i8 %651 to i1
  br i1 %652, label %653, label %655

653:                                              ; preds = %622
  %654 = load ptr, ptr %47, align 8, !tbaa !5
  call void @_ZN19ImGuiInputTextState11CursorClampEv(ptr noundef nonnull align 8 dereferenceable(3716) %654)
  br label %664

655:                                              ; preds = %622
  %656 = load ptr, ptr %47, align 8, !tbaa !5
  %657 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %656, i32 0, i32 10
  store float 0.000000e+00, ptr %657, align 8, !tbaa !120
  %658 = load ptr, ptr %47, align 8, !tbaa !5
  %659 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %658, i32 0, i32 11
  %660 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %661 = trunc i8 %660 to i1
  %662 = xor i1 %661, true
  %663 = zext i1 %662 to i32
  call void @_ZN5ImStbL29stb_textedit_initialize_stateEPNS_17STB_TexteditStateEi(ptr noundef %659, i32 noundef %663)
  br label %664

664:                                              ; preds = %655, %653
  %665 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %666 = trunc i8 %665 to i1
  br i1 %666, label %698, label %667

667:                                              ; preds = %664
  %668 = load i32, ptr %15, align 4, !tbaa !9
  %669 = and i32 %668, 16
  %670 = icmp ne i32 %669, 0
  br i1 %670, label %671, label %672

671:                                              ; preds = %667
  store i8 1, ptr %54, align 1, !tbaa !42
  br label %672

672:                                              ; preds = %671, %667
  %673 = load i8, ptr %49, align 1, !tbaa !42, !range !40, !noundef !41
  %674 = trunc i8 %673 to i1
  br i1 %674, label %675, label %685

675:                                              ; preds = %672
  %676 = load i8, ptr %60, align 1, !tbaa !42, !range !40, !noundef !41
  %677 = trunc i8 %676 to i1
  br i1 %677, label %678, label %684

678:                                              ; preds = %675
  %679 = load ptr, ptr %20, align 8, !tbaa !5
  %680 = getelementptr inbounds %struct.ImGuiContext, ptr %679, i32 0, i32 86
  %681 = load i32, ptr %680, align 8, !tbaa !121
  %682 = and i32 %681, 4
  %683 = icmp ne i32 %682, 0
  br i1 %683, label %685, label %684

684:                                              ; preds = %678, %675
  store i8 1, ptr %54, align 1, !tbaa !42
  br label %685

685:                                              ; preds = %684, %678, %672
  %686 = load i8, ptr %48, align 1, !tbaa !42, !range !40, !noundef !41
  %687 = trunc i8 %686 to i1
  br i1 %687, label %696, label %688

688:                                              ; preds = %685
  %689 = load i8, ptr %50, align 1, !tbaa !42, !range !40, !noundef !41
  %690 = trunc i8 %689 to i1
  br i1 %690, label %691, label %697

691:                                              ; preds = %688
  %692 = load ptr, ptr %21, align 8, !tbaa !5
  %693 = getelementptr inbounds %struct.ImGuiIO, ptr %692, i32 0, i32 60
  %694 = load i8, ptr %693, align 4, !tbaa !122, !range !40, !noundef !41
  %695 = trunc i8 %694 to i1
  br i1 %695, label %696, label %697

696:                                              ; preds = %691, %685
  store i8 1, ptr %54, align 1, !tbaa !42
  br label %697

697:                                              ; preds = %696, %691, %688
  br label %698

698:                                              ; preds = %697, %664
  %699 = load i32, ptr %15, align 4, !tbaa !9
  %700 = and i32 %699, 8192
  %701 = icmp ne i32 %700, 0
  br i1 %701, label %702, label %706

702:                                              ; preds = %698
  %703 = load ptr, ptr %47, align 8, !tbaa !5
  %704 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %703, i32 0, i32 11
  %705 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %704, i32 0, i32 3
  store i8 1, ptr %705, align 4, !tbaa !123
  br label %706

706:                                              ; preds = %702, %698
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #14
  br label %707

707:                                              ; preds = %706, %564
  %708 = load ptr, ptr %20, align 8, !tbaa !5
  %709 = getelementptr inbounds %struct.ImGuiContext, ptr %708, i32 0, i32 43
  %710 = load i32, ptr %709, align 4, !tbaa !106
  %711 = load i32, ptr %29, align 4, !tbaa !9
  %712 = icmp ne i32 %710, %711
  br i1 %712, label %713, label %761

713:                                              ; preds = %707
  %714 = load i8, ptr %57, align 1, !tbaa !42, !range !40, !noundef !41
  %715 = trunc i8 %714 to i1
  br i1 %715, label %716, label %761

716:                                              ; preds = %713
  %717 = load ptr, ptr %47, align 8, !tbaa !5
  %718 = icmp ne ptr %717, null
  br i1 %718, label %719, label %725

719:                                              ; preds = %716
  %720 = load ptr, ptr %47, align 8, !tbaa !5
  %721 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %720, i32 0, i32 0
  %722 = load i32, ptr %721, align 8, !tbaa !114
  %723 = load i32, ptr %29, align 4, !tbaa !9
  %724 = icmp eq i32 %722, %723
  br label %725

725:                                              ; preds = %719, %716
  %726 = phi i1 [ false, %716 ], [ %724, %719 ]
  br i1 %726, label %727, label %728

727:                                              ; preds = %725
  br label %730

728:                                              ; preds = %725
  call void @__assert_fail(ptr noundef @.str.61, ptr noundef @.str.2, i32 noundef 4123, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #15
  unreachable

729:                                              ; No predecessors!
  br label %730

730:                                              ; preds = %729, %727
  %731 = load i32, ptr %29, align 4, !tbaa !9
  %732 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %731, ptr noundef %732)
  %733 = load i32, ptr %29, align 4, !tbaa !9
  %734 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %733, ptr noundef %734)
  %735 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef %735)
  %736 = load ptr, ptr %20, align 8, !tbaa !5
  %737 = getelementptr inbounds %struct.ImGuiContext, ptr %736, i32 0, i32 62
  %738 = load i32, ptr %737, align 8, !tbaa !124
  %739 = or i32 %738, 3
  store i32 %739, ptr %737, align 8, !tbaa !124
  %740 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %741 = trunc i8 %740 to i1
  br i1 %741, label %746, label %742

742:                                              ; preds = %730
  %743 = load i32, ptr %15, align 4, !tbaa !9
  %744 = and i32 %743, 128
  %745 = icmp ne i32 %744, 0
  br i1 %745, label %746, label %751

746:                                              ; preds = %742, %730
  %747 = load ptr, ptr %20, align 8, !tbaa !5
  %748 = getelementptr inbounds %struct.ImGuiContext, ptr %747, i32 0, i32 62
  %749 = load i32, ptr %748, align 8, !tbaa !124
  %750 = or i32 %749, 12
  store i32 %750, ptr %748, align 8, !tbaa !124
  br label %751

751:                                              ; preds = %746, %742
  call void @_ZN5ImGui19SetActiveIdUsingKeyE8ImGuiKey(i32 noundef 526)
  call void @_ZN5ImGui19SetActiveIdUsingKeyE8ImGuiKey(i32 noundef 620)
  call void @_ZN5ImGui19SetActiveIdUsingKeyE8ImGuiKey(i32 noundef 519)
  call void @_ZN5ImGui19SetActiveIdUsingKeyE8ImGuiKey(i32 noundef 520)
  %752 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %753 = trunc i8 %752 to i1
  br i1 %753, label %754, label %755

754:                                              ; preds = %751
  call void @_ZN5ImGui19SetActiveIdUsingKeyE8ImGuiKey(i32 noundef 517)
  call void @_ZN5ImGui19SetActiveIdUsingKeyE8ImGuiKey(i32 noundef 518)
  br label %755

755:                                              ; preds = %754, %751
  %756 = load i32, ptr %15, align 4, !tbaa !9
  %757 = and i32 %756, 1088
  %758 = icmp ne i32 %757, 0
  br i1 %758, label %759, label %760

759:                                              ; preds = %755
  call void @_ZN5ImGui19SetActiveIdUsingKeyE8ImGuiKey(i32 noundef 512)
  br label %760

760:                                              ; preds = %759, %755
  br label %761

761:                                              ; preds = %760, %713, %707
  %762 = load ptr, ptr %20, align 8, !tbaa !5
  %763 = getelementptr inbounds %struct.ImGuiContext, ptr %762, i32 0, i32 43
  %764 = load i32, ptr %763, align 4, !tbaa !106
  %765 = load i32, ptr %29, align 4, !tbaa !9
  %766 = icmp eq i32 %764, %765
  br i1 %766, label %767, label %771

767:                                              ; preds = %761
  %768 = load ptr, ptr %47, align 8, !tbaa !5
  %769 = icmp eq ptr %768, null
  br i1 %769, label %770, label %771

770:                                              ; preds = %767
  call void @_ZN5ImGui13ClearActiveIDEv()
  br label %771

771:                                              ; preds = %770, %767, %761
  %772 = load ptr, ptr %20, align 8, !tbaa !5
  %773 = getelementptr inbounds %struct.ImGuiContext, ptr %772, i32 0, i32 43
  %774 = load i32, ptr %773, align 4, !tbaa !106
  %775 = load i32, ptr %29, align 4, !tbaa !9
  %776 = icmp eq i32 %774, %775
  br i1 %776, label %777, label %790

777:                                              ; preds = %771
  %778 = load ptr, ptr %21, align 8, !tbaa !5
  %779 = getelementptr inbounds %struct.ImGuiIO, ptr %778, i32 0, i32 70
  %780 = getelementptr inbounds [5 x i8], ptr %779, i64 0, i64 0
  %781 = load i8, ptr %780, align 8, !tbaa !42, !range !40, !noundef !41
  %782 = trunc i8 %781 to i1
  br i1 %782, label %783, label %790

783:                                              ; preds = %777
  %784 = load i8, ptr %58, align 1, !tbaa !42, !range !40, !noundef !41
  %785 = trunc i8 %784 to i1
  br i1 %785, label %790, label %786

786:                                              ; preds = %783
  %787 = load i8, ptr %57, align 1, !tbaa !42, !range !40, !noundef !41
  %788 = trunc i8 %787 to i1
  br i1 %788, label %790, label %789

789:                                              ; preds = %786
  store i8 1, ptr %53, align 1, !tbaa !42
  br label %790

790:                                              ; preds = %789, %786, %783, %777, %771
  call void @llvm.lifetime.start.p0(i64 1, ptr %62) #14
  %791 = load ptr, ptr %20, align 8, !tbaa !5
  %792 = getelementptr inbounds %struct.ImGuiContext, ptr %791, i32 0, i32 43
  %793 = load i32, ptr %792, align 4, !tbaa !106
  %794 = load i32, ptr %29, align 4, !tbaa !9
  %795 = icmp eq i32 %793, %794
  br i1 %795, label %804, label %796

796:                                              ; preds = %790
  %797 = load ptr, ptr %47, align 8, !tbaa !5
  %798 = icmp ne ptr %797, null
  br i1 %798, label %799, label %802

799:                                              ; preds = %796
  %800 = load i8, ptr %52, align 1, !tbaa !42, !range !40, !noundef !41
  %801 = trunc i8 %800 to i1
  br label %802

802:                                              ; preds = %799, %796
  %803 = phi i1 [ false, %796 ], [ %801, %799 ]
  br label %804

804:                                              ; preds = %802, %790
  %805 = phi i1 [ true, %790 ], [ %803, %802 ]
  %806 = zext i1 %805 to i8
  store i8 %806, ptr %62, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %63) #14
  %807 = load ptr, ptr %47, align 8, !tbaa !5
  %808 = icmp ne ptr %807, null
  br i1 %808, label %809, label %818

809:                                              ; preds = %804
  %810 = load ptr, ptr %47, align 8, !tbaa !5
  %811 = call noundef zeroext i1 @_ZNK19ImGuiInputTextState12HasSelectionEv(ptr noundef nonnull align 8 dereferenceable(3716) %810)
  br i1 %811, label %815, label %812

812:                                              ; preds = %809
  %813 = load i8, ptr %54, align 1, !tbaa !42, !range !40, !noundef !41
  %814 = trunc i8 %813 to i1
  br i1 %814, label %815, label %818

815:                                              ; preds = %812, %809
  %816 = load i8, ptr %62, align 1, !tbaa !42, !range !40, !noundef !41
  %817 = trunc i8 %816 to i1
  br label %818

818:                                              ; preds = %815, %812, %804
  %819 = phi i1 [ false, %812 ], [ false, %804 ], [ %817, %815 ]
  %820 = zext i1 %819 to i8
  store i8 %820, ptr %63, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %64) #14
  store i8 0, ptr %64, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %65) #14
  store i8 0, ptr %65, align 1, !tbaa !42
  %821 = load i8, ptr %25, align 1, !tbaa !42, !range !40, !noundef !41
  %822 = trunc i8 %821 to i1
  br i1 %822, label %823, label %867

823:                                              ; preds = %818
  %824 = load ptr, ptr %47, align 8, !tbaa !5
  %825 = icmp ne ptr %824, null
  br i1 %825, label %826, label %867

826:                                              ; preds = %823
  %827 = load i8, ptr %62, align 1, !tbaa !42, !range !40, !noundef !41
  %828 = trunc i8 %827 to i1
  br i1 %828, label %832, label %829

829:                                              ; preds = %826
  %830 = load i8, ptr %63, align 1, !tbaa !42, !range !40, !noundef !41
  %831 = trunc i8 %830 to i1
  br i1 %831, label %832, label %867

832:                                              ; preds = %829, %826
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #14
  store ptr null, ptr %66, align 8, !tbaa !5
  %833 = load ptr, ptr %47, align 8, !tbaa !5
  %834 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %833, i32 0, i32 4
  %835 = load i32, ptr %13, align 4, !tbaa !9
  %836 = add nsw i32 %835, 1
  call void @_ZN8ImVectorItE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %834, i32 noundef %836)
  %837 = load ptr, ptr %47, align 8, !tbaa !5
  %838 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %837, i32 0, i32 4
  %839 = getelementptr inbounds %struct.ImVector.5, ptr %838, i32 0, i32 2
  %840 = load ptr, ptr %839, align 8, !tbaa !118
  %841 = load ptr, ptr %47, align 8, !tbaa !5
  %842 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %841, i32 0, i32 4
  %843 = getelementptr inbounds %struct.ImVector.5, ptr %842, i32 0, i32 0
  %844 = load i32, ptr %843, align 8, !tbaa !125
  %845 = load ptr, ptr %12, align 8, !tbaa !5
  %846 = call noundef i32 @_Z17ImTextStrFromUtf8PtiPKcS1_PS1_(ptr noundef %840, i32 noundef %844, ptr noundef %845, ptr noundef null, ptr noundef %66)
  %847 = load ptr, ptr %47, align 8, !tbaa !5
  %848 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %847, i32 0, i32 1
  store i32 %846, ptr %848, align 4, !tbaa !119
  %849 = load ptr, ptr %66, align 8, !tbaa !5
  %850 = load ptr, ptr %12, align 8, !tbaa !5
  %851 = ptrtoint ptr %849 to i64
  %852 = ptrtoint ptr %850 to i64
  %853 = sub i64 %851, %852
  %854 = trunc i64 %853 to i32
  %855 = load ptr, ptr %47, align 8, !tbaa !5
  %856 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %855, i32 0, i32 2
  store i32 %854, ptr %856, align 8, !tbaa !115
  %857 = load ptr, ptr %47, align 8, !tbaa !5
  call void @_ZN19ImGuiInputTextState11CursorClampEv(ptr noundef nonnull align 8 dereferenceable(3716) %857)
  %858 = load ptr, ptr %47, align 8, !tbaa !5
  %859 = call noundef zeroext i1 @_ZNK19ImGuiInputTextState12HasSelectionEv(ptr noundef nonnull align 8 dereferenceable(3716) %858)
  %860 = zext i1 %859 to i32
  %861 = load i8, ptr %63, align 1, !tbaa !42, !range !40, !noundef !41
  %862 = trunc i8 %861 to i1
  %863 = zext i1 %862 to i32
  %864 = and i32 %863, %860
  %865 = icmp ne i32 %864, 0
  %866 = zext i1 %865 to i8
  store i8 %866, ptr %63, align 1, !tbaa !42
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #14
  br label %867

867:                                              ; preds = %832, %829, %823, %818
  call void @llvm.lifetime.start.p0(i64 1, ptr %67) #14
  %868 = load i8, ptr %62, align 1, !tbaa !42, !range !40, !noundef !41
  %869 = trunc i8 %868 to i1
  br i1 %869, label %879, label %870

870:                                              ; preds = %867
  %871 = load i8, ptr %63, align 1, !tbaa !42, !range !40, !noundef !41
  %872 = trunc i8 %871 to i1
  br i1 %872, label %879, label %873

873:                                              ; preds = %870
  %874 = load ptr, ptr %20, align 8, !tbaa !5
  %875 = getelementptr inbounds %struct.ImGuiContext, ptr %874, i32 0, i32 43
  %876 = load i32, ptr %875, align 4, !tbaa !106
  %877 = load i32, ptr %29, align 4, !tbaa !9
  %878 = icmp eq i32 %876, %877
  br i1 %878, label %879, label %890

879:                                              ; preds = %873, %870, %867
  %880 = load i8, ptr %25, align 1, !tbaa !42, !range !40, !noundef !41
  %881 = trunc i8 %880 to i1
  br i1 %881, label %890, label %882

882:                                              ; preds = %879
  %883 = load ptr, ptr %47, align 8, !tbaa !5
  %884 = icmp ne ptr %883, null
  br i1 %884, label %885, label %890

885:                                              ; preds = %882
  %886 = load ptr, ptr %47, align 8, !tbaa !5
  %887 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %886, i32 0, i32 7
  %888 = load i8, ptr %887, align 8, !tbaa !116, !range !40, !noundef !41
  %889 = trunc i8 %888 to i1
  br label %890

890:                                              ; preds = %885, %882, %879, %873
  %891 = phi i1 [ false, %882 ], [ false, %879 ], [ false, %873 ], [ %889, %885 ]
  %892 = zext i1 %891 to i8
  store i8 %892, ptr %67, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %68) #14
  %893 = load ptr, ptr %11, align 8, !tbaa !5
  %894 = icmp ne ptr %893, null
  br i1 %894, label %895, label %911

895:                                              ; preds = %890
  %896 = load i8, ptr %67, align 1, !tbaa !42, !range !40, !noundef !41
  %897 = trunc i8 %896 to i1
  br i1 %897, label %898, label %903

898:                                              ; preds = %895
  %899 = load ptr, ptr %47, align 8, !tbaa !5
  %900 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %899, i32 0, i32 5
  %901 = getelementptr inbounds %struct.ImVector.28, ptr %900, i32 0, i32 2
  %902 = load ptr, ptr %901, align 8, !tbaa !117
  br label %905

903:                                              ; preds = %895
  %904 = load ptr, ptr %12, align 8, !tbaa !5
  br label %905

905:                                              ; preds = %903, %898
  %906 = phi ptr [ %902, %898 ], [ %904, %903 ]
  %907 = getelementptr inbounds i8, ptr %906, i64 0
  %908 = load i8, ptr %907, align 1, !tbaa !126
  %909 = sext i8 %908 to i32
  %910 = icmp eq i32 %909, 0
  br label %911

911:                                              ; preds = %905, %890
  %912 = phi i1 [ false, %890 ], [ %910, %905 ]
  %913 = zext i1 %912 to i8
  store i8 %913, ptr %68, align 1, !tbaa !42
  %914 = load i8, ptr %26, align 1, !tbaa !42, !range !40, !noundef !41
  %915 = trunc i8 %914 to i1
  br i1 %915, label %916, label %987

916:                                              ; preds = %911
  %917 = load i8, ptr %68, align 1, !tbaa !42, !range !40, !noundef !41
  %918 = trunc i8 %917 to i1
  br i1 %918, label %987, label %919

919:                                              ; preds = %916
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #14
  %920 = load ptr, ptr %20, align 8, !tbaa !5
  %921 = getelementptr inbounds %struct.ImGuiContext, ptr %920, i32 0, i32 6
  %922 = load ptr, ptr %921, align 8, !tbaa !127
  %923 = call noundef ptr @_ZNK6ImFont9FindGlyphEt(ptr noundef nonnull align 8 dereferenceable(110) %922, i16 noundef zeroext 42)
  store ptr %923, ptr %69, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #14
  %924 = load ptr, ptr %20, align 8, !tbaa !5
  %925 = getelementptr inbounds %struct.ImGuiContext, ptr %924, i32 0, i32 167
  store ptr %925, ptr %70, align 8, !tbaa !5
  %926 = load ptr, ptr %20, align 8, !tbaa !5
  %927 = getelementptr inbounds %struct.ImGuiContext, ptr %926, i32 0, i32 6
  %928 = load ptr, ptr %927, align 8, !tbaa !127
  %929 = getelementptr inbounds %struct.ImFont, ptr %928, i32 0, i32 2
  %930 = load float, ptr %929, align 4, !tbaa !128
  %931 = load ptr, ptr %70, align 8, !tbaa !5
  %932 = getelementptr inbounds %struct.ImFont, ptr %931, i32 0, i32 2
  store float %930, ptr %932, align 4, !tbaa !128
  %933 = load ptr, ptr %20, align 8, !tbaa !5
  %934 = getelementptr inbounds %struct.ImGuiContext, ptr %933, i32 0, i32 6
  %935 = load ptr, ptr %934, align 8, !tbaa !127
  %936 = getelementptr inbounds %struct.ImFont, ptr %935, i32 0, i32 14
  %937 = load float, ptr %936, align 4, !tbaa !129
  %938 = load ptr, ptr %70, align 8, !tbaa !5
  %939 = getelementptr inbounds %struct.ImFont, ptr %938, i32 0, i32 14
  store float %937, ptr %939, align 4, !tbaa !129
  %940 = load ptr, ptr %20, align 8, !tbaa !5
  %941 = getelementptr inbounds %struct.ImGuiContext, ptr %940, i32 0, i32 6
  %942 = load ptr, ptr %941, align 8, !tbaa !127
  %943 = getelementptr inbounds %struct.ImFont, ptr %942, i32 0, i32 15
  %944 = load float, ptr %943, align 8, !tbaa !130
  %945 = load ptr, ptr %70, align 8, !tbaa !5
  %946 = getelementptr inbounds %struct.ImFont, ptr %945, i32 0, i32 15
  store float %944, ptr %946, align 8, !tbaa !130
  %947 = load ptr, ptr %20, align 8, !tbaa !5
  %948 = getelementptr inbounds %struct.ImGuiContext, ptr %947, i32 0, i32 6
  %949 = load ptr, ptr %948, align 8, !tbaa !127
  %950 = getelementptr inbounds %struct.ImFont, ptr %949, i32 0, i32 16
  %951 = load float, ptr %950, align 4, !tbaa !131
  %952 = load ptr, ptr %70, align 8, !tbaa !5
  %953 = getelementptr inbounds %struct.ImFont, ptr %952, i32 0, i32 16
  store float %951, ptr %953, align 4, !tbaa !131
  %954 = load ptr, ptr %20, align 8, !tbaa !5
  %955 = getelementptr inbounds %struct.ImGuiContext, ptr %954, i32 0, i32 6
  %956 = load ptr, ptr %955, align 8, !tbaa !127
  %957 = getelementptr inbounds %struct.ImFont, ptr %956, i32 0, i32 6
  %958 = load ptr, ptr %957, align 8, !tbaa !132
  %959 = load ptr, ptr %70, align 8, !tbaa !5
  %960 = getelementptr inbounds %struct.ImFont, ptr %959, i32 0, i32 6
  store ptr %958, ptr %960, align 8, !tbaa !132
  %961 = load ptr, ptr %69, align 8, !tbaa !5
  %962 = load ptr, ptr %70, align 8, !tbaa !5
  %963 = getelementptr inbounds %struct.ImFont, ptr %962, i32 0, i32 5
  store ptr %961, ptr %963, align 8, !tbaa !133
  %964 = load ptr, ptr %69, align 8, !tbaa !5
  %965 = getelementptr inbounds %struct.ImFontGlyph, ptr %964, i32 0, i32 1
  %966 = load float, ptr %965, align 4, !tbaa !134
  %967 = load ptr, ptr %70, align 8, !tbaa !5
  %968 = getelementptr inbounds %struct.ImFont, ptr %967, i32 0, i32 1
  store float %966, ptr %968, align 8, !tbaa !136
  %969 = load ptr, ptr %70, align 8, !tbaa !5
  %970 = getelementptr inbounds %struct.ImFont, ptr %969, i32 0, i32 4
  %971 = call noundef zeroext i1 @_ZNK8ImVectorI11ImFontGlyphE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %970)
  br i1 %971, label %972, label %980

972:                                              ; preds = %919
  %973 = load ptr, ptr %70, align 8, !tbaa !5
  %974 = getelementptr inbounds %struct.ImFont, ptr %973, i32 0, i32 0
  %975 = call noundef zeroext i1 @_ZNK8ImVectorIfE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %974)
  br i1 %975, label %976, label %980

976:                                              ; preds = %972
  %977 = load ptr, ptr %70, align 8, !tbaa !5
  %978 = getelementptr inbounds %struct.ImFont, ptr %977, i32 0, i32 3
  %979 = call noundef zeroext i1 @_ZNK8ImVectorItE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %978)
  br label %980

980:                                              ; preds = %976, %972, %919
  %981 = phi i1 [ false, %972 ], [ false, %919 ], [ %979, %976 ]
  br i1 %981, label %982, label %983

982:                                              ; preds = %980
  br label %985

983:                                              ; preds = %980
  call void @__assert_fail(ptr noundef @.str.62, ptr noundef @.str.2, i32 noundef 4189, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #15
  unreachable

984:                                              ; No predecessors!
  br label %985

985:                                              ; preds = %984, %982
  %986 = load ptr, ptr %70, align 8, !tbaa !5
  call void @_ZN5ImGui8PushFontEP6ImFont(ptr noundef %986)
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #14
  br label %987

987:                                              ; preds = %985, %916, %911
  call void @llvm.lifetime.start.p0(i64 4, ptr %71) #14
  store i32 0, ptr %71, align 4, !tbaa !9
  %988 = load ptr, ptr %20, align 8, !tbaa !5
  %989 = getelementptr inbounds %struct.ImGuiContext, ptr %988, i32 0, i32 43
  %990 = load i32, ptr %989, align 4, !tbaa !106
  %991 = load i32, ptr %29, align 4, !tbaa !9
  %992 = icmp eq i32 %990, %991
  br i1 %992, label %993, label %1388

993:                                              ; preds = %987
  %994 = load ptr, ptr %47, align 8, !tbaa !5
  %995 = icmp ne ptr %994, null
  br i1 %995, label %996, label %997

996:                                              ; preds = %993
  br label %999

997:                                              ; preds = %993
  call void @__assert_fail(ptr noundef @.str.63, ptr noundef @.str.2, i32 noundef 4197, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #15
  unreachable

998:                                              ; No predecessors!
  br label %999

999:                                              ; preds = %998, %996
  %1000 = load ptr, ptr %47, align 8, !tbaa !5
  %1001 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1000, i32 0, i32 2
  %1002 = load i32, ptr %1001, align 8, !tbaa !115
  store i32 %1002, ptr %71, align 4, !tbaa !9
  %1003 = load ptr, ptr %47, align 8, !tbaa !5
  %1004 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1003, i32 0, i32 15
  store i8 0, ptr %1004, align 2, !tbaa !137
  %1005 = load i32, ptr %13, align 4, !tbaa !9
  %1006 = load ptr, ptr %47, align 8, !tbaa !5
  %1007 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1006, i32 0, i32 9
  store i32 %1005, ptr %1007, align 4, !tbaa !138
  %1008 = load i32, ptr %15, align 4, !tbaa !9
  %1009 = load ptr, ptr %47, align 8, !tbaa !5
  %1010 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1009, i32 0, i32 17
  store i32 %1008, ptr %1010, align 8, !tbaa !139
  %1011 = load ptr, ptr %21, align 8, !tbaa !5
  %1012 = getelementptr inbounds %struct.ImGuiIO, ptr %1011, i32 0, i32 57
  %1013 = getelementptr inbounds [5 x i8], ptr %1012, i64 0, i64 0
  %1014 = load i8, ptr %1013, align 4, !tbaa !42, !range !40, !noundef !41
  %1015 = trunc i8 %1014 to i1
  %1016 = xor i1 %1015, true
  %1017 = load ptr, ptr %20, align 8, !tbaa !5
  %1018 = getelementptr inbounds %struct.ImGuiContext, ptr %1017, i32 0, i32 47
  %1019 = zext i1 %1016 to i8
  store i8 %1019, ptr %1018, align 1, !tbaa !140
  %1020 = load ptr, ptr %20, align 8, !tbaa !5
  %1021 = getelementptr inbounds %struct.ImGuiContext, ptr %1020, i32 0, i32 222
  store i32 1, ptr %1021, align 4, !tbaa !141
  call void @llvm.lifetime.start.p0(i64 4, ptr %72) #14
  %1022 = load ptr, ptr %21, align 8, !tbaa !5
  %1023 = getelementptr inbounds %struct.ImGuiIO, ptr %1022, i32 0, i32 56
  %1024 = getelementptr inbounds %struct.ImVec2, ptr %1023, i32 0, i32 0
  %1025 = load float, ptr %1024, align 4, !tbaa !142
  %1026 = getelementptr inbounds %struct.ImRect, ptr %34, i32 0, i32 0
  %1027 = getelementptr inbounds %struct.ImVec2, ptr %1026, i32 0, i32 0
  %1028 = load float, ptr %1027, align 4, !tbaa !143
  %1029 = fsub float %1025, %1028
  %1030 = load ptr, ptr %22, align 8, !tbaa !5
  %1031 = getelementptr inbounds %struct.ImGuiStyle, ptr %1030, i32 0, i32 12
  %1032 = getelementptr inbounds %struct.ImVec2, ptr %1031, i32 0, i32 0
  %1033 = load float, ptr %1032, align 4, !tbaa !144
  %1034 = fsub float %1029, %1033
  %1035 = load ptr, ptr %47, align 8, !tbaa !5
  %1036 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1035, i32 0, i32 10
  %1037 = load float, ptr %1036, align 8, !tbaa !120
  %1038 = fadd float %1034, %1037
  store float %1038, ptr %72, align 4, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 4, ptr %73) #14
  %1039 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %1040 = trunc i8 %1039 to i1
  br i1 %1040, label %1041, label %1052

1041:                                             ; preds = %999
  %1042 = load ptr, ptr %21, align 8, !tbaa !5
  %1043 = getelementptr inbounds %struct.ImGuiIO, ptr %1042, i32 0, i32 56
  %1044 = getelementptr inbounds %struct.ImVec2, ptr %1043, i32 0, i32 1
  %1045 = load float, ptr %1044, align 4, !tbaa !145
  %1046 = load ptr, ptr %38, align 8, !tbaa !5
  %1047 = getelementptr inbounds %struct.ImGuiWindow, ptr %1046, i32 0, i32 55
  %1048 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %1047, i32 0, i32 0
  %1049 = getelementptr inbounds %struct.ImVec2, ptr %1048, i32 0, i32 1
  %1050 = load float, ptr %1049, align 4, !tbaa !146
  %1051 = fsub float %1045, %1050
  br label %1057

1052:                                             ; preds = %999
  %1053 = load ptr, ptr %20, align 8, !tbaa !5
  %1054 = getelementptr inbounds %struct.ImGuiContext, ptr %1053, i32 0, i32 7
  %1055 = load float, ptr %1054, align 8, !tbaa !45
  %1056 = fmul float %1055, 5.000000e-01
  br label %1057

1057:                                             ; preds = %1052, %1041
  %1058 = phi float [ %1051, %1041 ], [ %1056, %1052 ]
  store float %1058, ptr %73, align 4, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 1, ptr %74) #14
  %1059 = load ptr, ptr %21, align 8, !tbaa !5
  %1060 = getelementptr inbounds %struct.ImGuiIO, ptr %1059, i32 0, i32 21
  %1061 = load i8, ptr %1060, align 1, !tbaa !147, !range !40, !noundef !41
  %1062 = trunc i8 %1061 to i1
  %1063 = zext i1 %1062 to i8
  store i8 %1063, ptr %74, align 1, !tbaa !42
  %1064 = load i8, ptr %54, align 1, !tbaa !42, !range !40, !noundef !41
  %1065 = trunc i8 %1064 to i1
  br i1 %1065, label %1066, label %1070

1066:                                             ; preds = %1057
  %1067 = load ptr, ptr %47, align 8, !tbaa !5
  call void @_ZN19ImGuiInputTextState9SelectAllEv(ptr noundef nonnull align 8 dereferenceable(3716) %1067)
  %1068 = load ptr, ptr %47, align 8, !tbaa !5
  %1069 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1068, i32 0, i32 14
  store i8 1, ptr %1069, align 1, !tbaa !148
  br label %1272

1070:                                             ; preds = %1057
  %1071 = load i8, ptr %46, align 1, !tbaa !42, !range !40, !noundef !41
  %1072 = trunc i8 %1071 to i1
  br i1 %1072, label %1073, label %1203

1073:                                             ; preds = %1070
  %1074 = load ptr, ptr %21, align 8, !tbaa !5
  %1075 = getelementptr inbounds %struct.ImGuiIO, ptr %1074, i32 0, i32 72
  %1076 = getelementptr inbounds [5 x i16], ptr %1075, i64 0, i64 0
  %1077 = load i16, ptr %1076, align 2, !tbaa !149
  %1078 = zext i16 %1077 to i32
  %1079 = icmp sge i32 %1078, 2
  br i1 %1079, label %1080, label %1203

1080:                                             ; preds = %1073
  %1081 = load ptr, ptr %21, align 8, !tbaa !5
  %1082 = getelementptr inbounds %struct.ImGuiIO, ptr %1081, i32 0, i32 61
  %1083 = load i8, ptr %1082, align 1, !tbaa !150, !range !40, !noundef !41
  %1084 = trunc i8 %1083 to i1
  br i1 %1084, label %1203, label %1085

1085:                                             ; preds = %1080
  %1086 = load ptr, ptr %47, align 8, !tbaa !5
  %1087 = load ptr, ptr %47, align 8, !tbaa !5
  %1088 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1087, i32 0, i32 11
  %1089 = load float, ptr %72, align 4, !tbaa !44
  %1090 = load float, ptr %73, align 4, !tbaa !44
  call void @_ZN5ImStbL18stb_textedit_clickEP19ImGuiInputTextStatePNS_17STB_TexteditStateEff(ptr noundef %1086, ptr noundef %1088, float noundef %1089, float noundef %1090)
  call void @llvm.lifetime.start.p0(i64 4, ptr %75) #14
  %1091 = load ptr, ptr %21, align 8, !tbaa !5
  %1092 = getelementptr inbounds %struct.ImGuiIO, ptr %1091, i32 0, i32 72
  %1093 = getelementptr inbounds [5 x i16], ptr %1092, i64 0, i64 0
  %1094 = load i16, ptr %1093, align 2, !tbaa !149
  %1095 = zext i16 %1094 to i32
  %1096 = sub nsw i32 %1095, 2
  store i32 %1096, ptr %75, align 4, !tbaa !9
  %1097 = load i32, ptr %75, align 4, !tbaa !9
  %1098 = srem i32 %1097, 2
  %1099 = icmp eq i32 %1098, 0
  br i1 %1099, label %1100, label %1166

1100:                                             ; preds = %1085
  call void @llvm.lifetime.start.p0(i64 1, ptr %76) #14
  %1101 = load ptr, ptr %47, align 8, !tbaa !5
  %1102 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1101, i32 0, i32 11
  %1103 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %1102, i32 0, i32 0
  %1104 = load i32, ptr %1103, align 4, !tbaa !151
  %1105 = icmp eq i32 %1104, 0
  br i1 %1105, label %1116, label %1106

1106:                                             ; preds = %1100
  %1107 = load ptr, ptr %47, align 8, !tbaa !5
  %1108 = load ptr, ptr %47, align 8, !tbaa !5
  %1109 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1108, i32 0, i32 11
  %1110 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %1109, i32 0, i32 0
  %1111 = load i32, ptr %1110, align 4, !tbaa !151
  %1112 = sub nsw i32 %1111, 1
  %1113 = call noundef zeroext i16 @_ZN5ImStbL20STB_TEXTEDIT_GETCHAREPK19ImGuiInputTextStatei(ptr noundef %1107, i32 noundef %1112)
  %1114 = zext i16 %1113 to i32
  %1115 = icmp eq i32 %1114, 10
  br label %1116

1116:                                             ; preds = %1106, %1100
  %1117 = phi i1 [ true, %1100 ], [ %1115, %1106 ]
  %1118 = zext i1 %1117 to i8
  store i8 %1118, ptr %76, align 1, !tbaa !42
  %1119 = load ptr, ptr %47, align 8, !tbaa !5
  %1120 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1119, i32 0, i32 11
  %1121 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %1120, i32 0, i32 1
  %1122 = load i32, ptr %1121, align 4, !tbaa !152
  %1123 = load ptr, ptr %47, align 8, !tbaa !5
  %1124 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1123, i32 0, i32 11
  %1125 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %1124, i32 0, i32 2
  %1126 = load i32, ptr %1125, align 4, !tbaa !153
  %1127 = icmp ne i32 %1122, %1126
  br i1 %1127, label %1131, label %1128

1128:                                             ; preds = %1116
  %1129 = load i8, ptr %76, align 1, !tbaa !42, !range !40, !noundef !41
  %1130 = trunc i8 %1129 to i1
  br i1 %1130, label %1133, label %1131

1131:                                             ; preds = %1128, %1116
  %1132 = load ptr, ptr %47, align 8, !tbaa !5
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %1132, i32 noundef 2097164)
  br label %1133

1133:                                             ; preds = %1131, %1128
  %1134 = load ptr, ptr %47, align 8, !tbaa !5
  %1135 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1134, i32 0, i32 11
  %1136 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %1135, i32 0, i32 1
  %1137 = load i32, ptr %1136, align 4, !tbaa !152
  %1138 = load ptr, ptr %47, align 8, !tbaa !5
  %1139 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1138, i32 0, i32 11
  %1140 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %1139, i32 0, i32 2
  %1141 = load i32, ptr %1140, align 4, !tbaa !153
  %1142 = icmp ne i32 %1137, %1141
  br i1 %1142, label %1146, label %1143

1143:                                             ; preds = %1133
  %1144 = load ptr, ptr %47, align 8, !tbaa !5
  %1145 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1144, i32 0, i32 11
  call void @_ZN5ImStbL37stb_textedit_prep_selection_at_cursorEPNS_17STB_TexteditStateE(ptr noundef %1145)
  br label %1146

1146:                                             ; preds = %1143, %1133
  %1147 = load ptr, ptr %47, align 8, !tbaa !5
  %1148 = load ptr, ptr %47, align 8, !tbaa !5
  %1149 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1148, i32 0, i32 11
  %1150 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %1149, i32 0, i32 0
  %1151 = load i32, ptr %1150, align 4, !tbaa !151
  %1152 = call noundef i32 @_ZN5ImStbL30STB_TEXTEDIT_MOVEWORDRIGHT_MACEP19ImGuiInputTextStatei(ptr noundef %1147, i32 noundef %1151)
  %1153 = load ptr, ptr %47, align 8, !tbaa !5
  %1154 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1153, i32 0, i32 11
  %1155 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %1154, i32 0, i32 0
  store i32 %1152, ptr %1155, align 4, !tbaa !151
  %1156 = load ptr, ptr %47, align 8, !tbaa !5
  %1157 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1156, i32 0, i32 11
  %1158 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %1157, i32 0, i32 0
  %1159 = load i32, ptr %1158, align 4, !tbaa !151
  %1160 = load ptr, ptr %47, align 8, !tbaa !5
  %1161 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1160, i32 0, i32 11
  %1162 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %1161, i32 0, i32 2
  store i32 %1159, ptr %1162, align 4, !tbaa !153
  %1163 = load ptr, ptr %47, align 8, !tbaa !5
  %1164 = load ptr, ptr %47, align 8, !tbaa !5
  %1165 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1164, i32 0, i32 11
  call void @_ZN5ImStbL18stb_textedit_clampEP19ImGuiInputTextStatePNS_17STB_TexteditStateE(ptr noundef %1163, ptr noundef %1165)
  call void @llvm.lifetime.end.p0(i64 1, ptr %76) #14
  br label %1201

1166:                                             ; preds = %1085
  call void @llvm.lifetime.start.p0(i64 1, ptr %77) #14
  %1167 = load ptr, ptr %47, align 8, !tbaa !5
  %1168 = load ptr, ptr %47, align 8, !tbaa !5
  %1169 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1168, i32 0, i32 11
  %1170 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %1169, i32 0, i32 0
  %1171 = load i32, ptr %1170, align 4, !tbaa !151
  %1172 = call noundef zeroext i16 @_ZN5ImStbL20STB_TEXTEDIT_GETCHAREPK19ImGuiInputTextStatei(ptr noundef %1167, i32 noundef %1171)
  %1173 = zext i16 %1172 to i32
  %1174 = icmp eq i32 %1173, 10
  %1175 = zext i1 %1174 to i8
  store i8 %1175, ptr %77, align 1, !tbaa !42
  %1176 = load ptr, ptr %47, align 8, !tbaa !5
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %1176, i32 noundef 2097156)
  %1177 = load ptr, ptr %47, align 8, !tbaa !5
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %1177, i32 noundef 6291461)
  %1178 = load ptr, ptr %47, align 8, !tbaa !5
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %1178, i32 noundef 6291457)
  %1179 = load i8, ptr %77, align 1, !tbaa !42, !range !40, !noundef !41
  %1180 = trunc i8 %1179 to i1
  br i1 %1180, label %1198, label %1181

1181:                                             ; preds = %1166
  %1182 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %1183 = trunc i8 %1182 to i1
  br i1 %1183, label %1184, label %1198

1184:                                             ; preds = %1181
  %1185 = load ptr, ptr %47, align 8, !tbaa !5
  %1186 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1185, i32 0, i32 11
  %1187 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %1186, i32 0, i32 1
  %1188 = load ptr, ptr %47, align 8, !tbaa !5
  %1189 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1188, i32 0, i32 11
  %1190 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %1189, i32 0, i32 2
  call void @_ZL6ImSwapIiEvRT_S1_(ptr noundef nonnull align 4 dereferenceable(4) %1187, ptr noundef nonnull align 4 dereferenceable(4) %1190)
  %1191 = load ptr, ptr %47, align 8, !tbaa !5
  %1192 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1191, i32 0, i32 11
  %1193 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %1192, i32 0, i32 2
  %1194 = load i32, ptr %1193, align 4, !tbaa !153
  %1195 = load ptr, ptr %47, align 8, !tbaa !5
  %1196 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1195, i32 0, i32 11
  %1197 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %1196, i32 0, i32 0
  store i32 %1194, ptr %1197, align 4, !tbaa !151
  br label %1198

1198:                                             ; preds = %1184, %1181, %1166
  %1199 = load ptr, ptr %47, align 8, !tbaa !5
  %1200 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1199, i32 0, i32 13
  store i8 0, ptr %1200, align 4, !tbaa !154
  call void @llvm.lifetime.end.p0(i64 1, ptr %77) #14
  br label %1201

1201:                                             ; preds = %1198, %1146
  %1202 = load ptr, ptr %47, align 8, !tbaa !5
  call void @_ZN19ImGuiInputTextState15CursorAnimResetEv(ptr noundef nonnull align 8 dereferenceable(3716) %1202)
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #14
  br label %1271

1203:                                             ; preds = %1080, %1073, %1070
  %1204 = load ptr, ptr %21, align 8, !tbaa !5
  %1205 = getelementptr inbounds %struct.ImGuiIO, ptr %1204, i32 0, i32 70
  %1206 = getelementptr inbounds [5 x i8], ptr %1205, i64 0, i64 0
  %1207 = load i8, ptr %1206, align 8, !tbaa !42, !range !40, !noundef !41
  %1208 = trunc i8 %1207 to i1
  br i1 %1208, label %1209, label %1237

1209:                                             ; preds = %1203
  %1210 = load ptr, ptr %47, align 8, !tbaa !5
  %1211 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1210, i32 0, i32 14
  %1212 = load i8, ptr %1211, align 1, !tbaa !148, !range !40, !noundef !41
  %1213 = trunc i8 %1212 to i1
  br i1 %1213, label %1237, label %1214

1214:                                             ; preds = %1209
  %1215 = load i8, ptr %46, align 1, !tbaa !42, !range !40, !noundef !41
  %1216 = trunc i8 %1215 to i1
  br i1 %1216, label %1217, label %1236

1217:                                             ; preds = %1214
  %1218 = load ptr, ptr %21, align 8, !tbaa !5
  %1219 = getelementptr inbounds %struct.ImGuiIO, ptr %1218, i32 0, i32 61
  %1220 = load i8, ptr %1219, align 1, !tbaa !150, !range !40, !noundef !41
  %1221 = trunc i8 %1220 to i1
  br i1 %1221, label %1222, label %1228

1222:                                             ; preds = %1217
  %1223 = load ptr, ptr %47, align 8, !tbaa !5
  %1224 = load ptr, ptr %47, align 8, !tbaa !5
  %1225 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1224, i32 0, i32 11
  %1226 = load float, ptr %72, align 4, !tbaa !44
  %1227 = load float, ptr %73, align 4, !tbaa !44
  call void @_ZN5ImStbL17stb_textedit_dragEP19ImGuiInputTextStatePNS_17STB_TexteditStateEff(ptr noundef %1223, ptr noundef %1225, float noundef %1226, float noundef %1227)
  br label %1234

1228:                                             ; preds = %1217
  %1229 = load ptr, ptr %47, align 8, !tbaa !5
  %1230 = load ptr, ptr %47, align 8, !tbaa !5
  %1231 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1230, i32 0, i32 11
  %1232 = load float, ptr %72, align 4, !tbaa !44
  %1233 = load float, ptr %73, align 4, !tbaa !44
  call void @_ZN5ImStbL18stb_textedit_clickEP19ImGuiInputTextStatePNS_17STB_TexteditStateEff(ptr noundef %1229, ptr noundef %1231, float noundef %1232, float noundef %1233)
  br label %1234

1234:                                             ; preds = %1228, %1222
  %1235 = load ptr, ptr %47, align 8, !tbaa !5
  call void @_ZN19ImGuiInputTextState15CursorAnimResetEv(ptr noundef nonnull align 8 dereferenceable(3716) %1235)
  br label %1236

1236:                                             ; preds = %1234, %1214
  br label %1270

1237:                                             ; preds = %1209, %1203
  %1238 = load ptr, ptr %21, align 8, !tbaa !5
  %1239 = getelementptr inbounds %struct.ImGuiIO, ptr %1238, i32 0, i32 57
  %1240 = getelementptr inbounds [5 x i8], ptr %1239, i64 0, i64 0
  %1241 = load i8, ptr %1240, align 4, !tbaa !42, !range !40, !noundef !41
  %1242 = trunc i8 %1241 to i1
  br i1 %1242, label %1243, label %1269

1243:                                             ; preds = %1237
  %1244 = load ptr, ptr %47, align 8, !tbaa !5
  %1245 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1244, i32 0, i32 14
  %1246 = load i8, ptr %1245, align 1, !tbaa !148, !range !40, !noundef !41
  %1247 = trunc i8 %1246 to i1
  br i1 %1247, label %1269, label %1248

1248:                                             ; preds = %1243
  %1249 = load ptr, ptr %21, align 8, !tbaa !5
  %1250 = getelementptr inbounds %struct.ImGuiIO, ptr %1249, i32 0, i32 52
  %1251 = getelementptr inbounds %struct.ImVec2, ptr %1250, i32 0, i32 0
  %1252 = load float, ptr %1251, align 8, !tbaa !155
  %1253 = fcmp une float %1252, 0.000000e+00
  br i1 %1253, label %1260, label %1254

1254:                                             ; preds = %1248
  %1255 = load ptr, ptr %21, align 8, !tbaa !5
  %1256 = getelementptr inbounds %struct.ImGuiIO, ptr %1255, i32 0, i32 52
  %1257 = getelementptr inbounds %struct.ImVec2, ptr %1256, i32 0, i32 1
  %1258 = load float, ptr %1257, align 4, !tbaa !156
  %1259 = fcmp une float %1258, 0.000000e+00
  br i1 %1259, label %1260, label %1269

1260:                                             ; preds = %1254, %1248
  %1261 = load ptr, ptr %47, align 8, !tbaa !5
  %1262 = load ptr, ptr %47, align 8, !tbaa !5
  %1263 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1262, i32 0, i32 11
  %1264 = load float, ptr %72, align 4, !tbaa !44
  %1265 = load float, ptr %73, align 4, !tbaa !44
  call void @_ZN5ImStbL17stb_textedit_dragEP19ImGuiInputTextStatePNS_17STB_TexteditStateEff(ptr noundef %1261, ptr noundef %1263, float noundef %1264, float noundef %1265)
  %1266 = load ptr, ptr %47, align 8, !tbaa !5
  call void @_ZN19ImGuiInputTextState15CursorAnimResetEv(ptr noundef nonnull align 8 dereferenceable(3716) %1266)
  %1267 = load ptr, ptr %47, align 8, !tbaa !5
  %1268 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1267, i32 0, i32 13
  store i8 1, ptr %1268, align 4, !tbaa !154
  br label %1269

1269:                                             ; preds = %1260, %1254, %1243, %1237
  br label %1270

1270:                                             ; preds = %1269, %1236
  br label %1271

1271:                                             ; preds = %1270, %1201
  br label %1272

1272:                                             ; preds = %1271, %1066
  %1273 = load ptr, ptr %47, align 8, !tbaa !5
  %1274 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1273, i32 0, i32 14
  %1275 = load i8, ptr %1274, align 1, !tbaa !148, !range !40, !noundef !41
  %1276 = trunc i8 %1275 to i1
  br i1 %1276, label %1277, label %1286

1277:                                             ; preds = %1272
  %1278 = load ptr, ptr %21, align 8, !tbaa !5
  %1279 = getelementptr inbounds %struct.ImGuiIO, ptr %1278, i32 0, i32 57
  %1280 = getelementptr inbounds [5 x i8], ptr %1279, i64 0, i64 0
  %1281 = load i8, ptr %1280, align 4, !tbaa !42, !range !40, !noundef !41
  %1282 = trunc i8 %1281 to i1
  br i1 %1282, label %1286, label %1283

1283:                                             ; preds = %1277
  %1284 = load ptr, ptr %47, align 8, !tbaa !5
  %1285 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1284, i32 0, i32 14
  store i8 0, ptr %1285, align 1, !tbaa !148
  br label %1286

1286:                                             ; preds = %1283, %1277, %1272
  call void @llvm.lifetime.start.p0(i64 1, ptr %78) #14
  %1287 = load ptr, ptr %21, align 8, !tbaa !5
  %1288 = getelementptr inbounds %struct.ImGuiIO, ptr %1287, i32 0, i32 60
  %1289 = load i8, ptr %1288, align 4, !tbaa !122, !range !40, !noundef !41
  %1290 = trunc i8 %1289 to i1
  br i1 %1290, label %1291, label %1296

1291:                                             ; preds = %1286
  %1292 = load ptr, ptr %21, align 8, !tbaa !5
  %1293 = getelementptr inbounds %struct.ImGuiIO, ptr %1292, i32 0, i32 62
  %1294 = load i8, ptr %1293, align 2, !tbaa !157, !range !40, !noundef !41
  %1295 = trunc i8 %1294 to i1
  br i1 %1295, label %1296, label %1306

1296:                                             ; preds = %1291, %1286
  %1297 = load i8, ptr %74, align 1, !tbaa !42, !range !40, !noundef !41
  %1298 = trunc i8 %1297 to i1
  br i1 %1298, label %1299, label %1304

1299:                                             ; preds = %1296
  %1300 = load ptr, ptr %21, align 8, !tbaa !5
  %1301 = getelementptr inbounds %struct.ImGuiIO, ptr %1300, i32 0, i32 63
  %1302 = load i8, ptr %1301, align 1, !tbaa !158, !range !40, !noundef !41
  %1303 = trunc i8 %1302 to i1
  br label %1304

1304:                                             ; preds = %1299, %1296
  %1305 = phi i1 [ false, %1296 ], [ %1303, %1299 ]
  br label %1306

1306:                                             ; preds = %1304, %1291
  %1307 = phi i1 [ true, %1291 ], [ %1305, %1304 ]
  %1308 = zext i1 %1307 to i8
  store i8 %1308, ptr %78, align 1, !tbaa !42
  %1309 = load i32, ptr %15, align 4, !tbaa !9
  %1310 = and i32 %1309, 1024
  %1311 = icmp ne i32 %1310, 0
  br i1 %1311, label %1312, label %1334

1312:                                             ; preds = %1306
  %1313 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 512, i1 noundef zeroext true)
  br i1 %1313, label %1314, label %1334

1314:                                             ; preds = %1312
  %1315 = load i8, ptr %78, align 1, !tbaa !42, !range !40, !noundef !41
  %1316 = trunc i8 %1315 to i1
  br i1 %1316, label %1334, label %1317

1317:                                             ; preds = %1314
  %1318 = load ptr, ptr %21, align 8, !tbaa !5
  %1319 = getelementptr inbounds %struct.ImGuiIO, ptr %1318, i32 0, i32 61
  %1320 = load i8, ptr %1319, align 1, !tbaa !150, !range !40, !noundef !41
  %1321 = trunc i8 %1320 to i1
  br i1 %1321, label %1334, label %1322

1322:                                             ; preds = %1317
  %1323 = load i8, ptr %25, align 1, !tbaa !42, !range !40, !noundef !41
  %1324 = trunc i8 %1323 to i1
  br i1 %1324, label %1334, label %1325

1325:                                             ; preds = %1322
  call void @llvm.lifetime.start.p0(i64 4, ptr %79) #14
  store i32 9, ptr %79, align 4, !tbaa !9
  %1326 = load i32, ptr %15, align 4, !tbaa !9
  %1327 = load ptr, ptr %16, align 8, !tbaa !5
  %1328 = load ptr, ptr %17, align 8, !tbaa !5
  %1329 = call noundef zeroext i1 @_ZL24InputTextFilterCharacterPjiPFiP26ImGuiInputTextCallbackDataEPv16ImGuiInputSource(ptr noundef %79, i32 noundef %1326, ptr noundef %1327, ptr noundef %1328, i32 noundef 2)
  br i1 %1329, label %1330, label %1333

1330:                                             ; preds = %1325
  %1331 = load ptr, ptr %47, align 8, !tbaa !5
  %1332 = load i32, ptr %79, align 4, !tbaa !9
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %1331, i32 noundef %1332)
  br label %1333

1333:                                             ; preds = %1330, %1325
  call void @llvm.lifetime.end.p0(i64 4, ptr %79) #14
  br label %1334

1334:                                             ; preds = %1333, %1322, %1317, %1314, %1312, %1306
  %1335 = load ptr, ptr %21, align 8, !tbaa !5
  %1336 = getelementptr inbounds %struct.ImGuiIO, ptr %1335, i32 0, i32 86
  %1337 = getelementptr inbounds %struct.ImVector.5, ptr %1336, i32 0, i32 0
  %1338 = load i32, ptr %1337, align 8, !tbaa !159
  %1339 = icmp sgt i32 %1338, 0
  br i1 %1339, label %1340, label %1387

1340:                                             ; preds = %1334
  %1341 = load i8, ptr %78, align 1, !tbaa !42, !range !40, !noundef !41
  %1342 = trunc i8 %1341 to i1
  br i1 %1342, label %1384, label %1343

1343:                                             ; preds = %1340
  %1344 = load i8, ptr %25, align 1, !tbaa !42, !range !40, !noundef !41
  %1345 = trunc i8 %1344 to i1
  br i1 %1345, label %1384, label %1346

1346:                                             ; preds = %1343
  %1347 = load i8, ptr %49, align 1, !tbaa !42, !range !40, !noundef !41
  %1348 = trunc i8 %1347 to i1
  br i1 %1348, label %1384, label %1349

1349:                                             ; preds = %1346
  call void @llvm.lifetime.start.p0(i64 4, ptr %80) #14
  store i32 0, ptr %80, align 4, !tbaa !9
  br label %1350

1350:                                             ; preds = %1380, %1349
  %1351 = load i32, ptr %80, align 4, !tbaa !9
  %1352 = load ptr, ptr %21, align 8, !tbaa !5
  %1353 = getelementptr inbounds %struct.ImGuiIO, ptr %1352, i32 0, i32 86
  %1354 = getelementptr inbounds %struct.ImVector.5, ptr %1353, i32 0, i32 0
  %1355 = load i32, ptr %1354, align 8, !tbaa !159
  %1356 = icmp slt i32 %1351, %1355
  br i1 %1356, label %1358, label %1357

1357:                                             ; preds = %1350
  store i32 2, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %80) #14
  br label %1383

1358:                                             ; preds = %1350
  call void @llvm.lifetime.start.p0(i64 4, ptr %81) #14
  %1359 = load ptr, ptr %21, align 8, !tbaa !5
  %1360 = getelementptr inbounds %struct.ImGuiIO, ptr %1359, i32 0, i32 86
  %1361 = load i32, ptr %80, align 4, !tbaa !9
  %1362 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZN8ImVectorItEixEi(ptr noundef nonnull align 8 dereferenceable(16) %1360, i32 noundef %1361)
  %1363 = load i16, ptr %1362, align 2, !tbaa !149
  %1364 = zext i16 %1363 to i32
  store i32 %1364, ptr %81, align 4, !tbaa !9
  %1365 = load i32, ptr %81, align 4, !tbaa !9
  %1366 = icmp eq i32 %1365, 9
  br i1 %1366, label %1367, label %1368

1367:                                             ; preds = %1358
  store i32 4, ptr %19, align 4
  br label %1377

1368:                                             ; preds = %1358
  %1369 = load i32, ptr %15, align 4, !tbaa !9
  %1370 = load ptr, ptr %16, align 8, !tbaa !5
  %1371 = load ptr, ptr %17, align 8, !tbaa !5
  %1372 = call noundef zeroext i1 @_ZL24InputTextFilterCharacterPjiPFiP26ImGuiInputTextCallbackDataEPv16ImGuiInputSource(ptr noundef %81, i32 noundef %1369, ptr noundef %1370, ptr noundef %1371, i32 noundef 2)
  br i1 %1372, label %1373, label %1376

1373:                                             ; preds = %1368
  %1374 = load ptr, ptr %47, align 8, !tbaa !5
  %1375 = load i32, ptr %81, align 4, !tbaa !9
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %1374, i32 noundef %1375)
  br label %1376

1376:                                             ; preds = %1373, %1368
  store i32 0, ptr %19, align 4
  br label %1377

1377:                                             ; preds = %1376, %1367
  call void @llvm.lifetime.end.p0(i64 4, ptr %81) #14
  %1378 = load i32, ptr %19, align 4
  switch i32 %1378, label %3545 [
    i32 0, label %1379
    i32 4, label %1380
  ]

1379:                                             ; preds = %1377
  br label %1380

1380:                                             ; preds = %1379, %1377
  %1381 = load i32, ptr %80, align 4, !tbaa !9
  %1382 = add nsw i32 %1381, 1
  store i32 %1382, ptr %80, align 4, !tbaa !9
  br label %1350, !llvm.loop !160

1383:                                             ; preds = %1357
  br label %1384

1384:                                             ; preds = %1383, %1346, %1343, %1340
  %1385 = load ptr, ptr %21, align 8, !tbaa !5
  %1386 = getelementptr inbounds %struct.ImGuiIO, ptr %1385, i32 0, i32 86
  call void @_ZN8ImVectorItE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %1386, i32 noundef 0)
  br label %1387

1387:                                             ; preds = %1384, %1334
  call void @llvm.lifetime.end.p0(i64 1, ptr %78) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %74) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %73) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #14
  br label %1388

1388:                                             ; preds = %1387, %987
  call void @llvm.lifetime.start.p0(i64 1, ptr %82) #14
  store i8 0, ptr %82, align 1, !tbaa !42
  %1389 = load ptr, ptr %20, align 8, !tbaa !5
  %1390 = getelementptr inbounds %struct.ImGuiContext, ptr %1389, i32 0, i32 43
  %1391 = load i32, ptr %1390, align 4, !tbaa !106
  %1392 = load i32, ptr %29, align 4, !tbaa !9
  %1393 = icmp eq i32 %1391, %1392
  br i1 %1393, label %1394, label %2157

1394:                                             ; preds = %1388
  %1395 = load ptr, ptr %20, align 8, !tbaa !5
  %1396 = getelementptr inbounds %struct.ImGuiContext, ptr %1395, i32 0, i32 46
  %1397 = load i8, ptr %1396, align 8, !tbaa !162, !range !40, !noundef !41
  %1398 = trunc i8 %1397 to i1
  br i1 %1398, label %2157, label %1399

1399:                                             ; preds = %1394
  %1400 = load i8, ptr %53, align 1, !tbaa !42, !range !40, !noundef !41
  %1401 = trunc i8 %1400 to i1
  br i1 %1401, label %2157, label %1402

1402:                                             ; preds = %1399
  %1403 = load ptr, ptr %47, align 8, !tbaa !5
  %1404 = icmp ne ptr %1403, null
  br i1 %1404, label %1405, label %1406

1405:                                             ; preds = %1402
  br label %1408

1406:                                             ; preds = %1402
  call void @__assert_fail(ptr noundef @.str.63, ptr noundef @.str.2, i32 noundef 4307, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #15
  unreachable

1407:                                             ; No predecessors!
  br label %1408

1408:                                             ; preds = %1407, %1405
  call void @llvm.lifetime.start.p0(i64 4, ptr %83) #14
  %1409 = getelementptr inbounds %struct.ImVec2, ptr %39, i32 0, i32 1
  %1410 = load float, ptr %1409, align 4, !tbaa !93
  %1411 = load ptr, ptr %22, align 8, !tbaa !5
  %1412 = getelementptr inbounds %struct.ImGuiStyle, ptr %1411, i32 0, i32 12
  %1413 = getelementptr inbounds %struct.ImVec2, ptr %1412, i32 0, i32 1
  %1414 = load float, ptr %1413, align 4, !tbaa !94
  %1415 = fsub float %1410, %1414
  %1416 = load ptr, ptr %20, align 8, !tbaa !5
  %1417 = getelementptr inbounds %struct.ImGuiContext, ptr %1416, i32 0, i32 7
  %1418 = load float, ptr %1417, align 8, !tbaa !45
  %1419 = fdiv float %1415, %1418
  %1420 = fptosi float %1419 to i32
  %1421 = call noundef i32 @_ZL5ImMaxIiET_S0_S0_(i32 noundef %1420, i32 noundef 1)
  store i32 %1421, ptr %83, align 4, !tbaa !9
  %1422 = load i32, ptr %83, align 4, !tbaa !9
  %1423 = load ptr, ptr %47, align 8, !tbaa !5
  %1424 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1423, i32 0, i32 11
  %1425 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %1424, i32 0, i32 4
  store i32 %1422, ptr %1425, align 4, !tbaa !163
  call void @llvm.lifetime.start.p0(i64 4, ptr %84) #14
  %1426 = load ptr, ptr %21, align 8, !tbaa !5
  %1427 = getelementptr inbounds %struct.ImGuiIO, ptr %1426, i32 0, i32 61
  %1428 = load i8, ptr %1427, align 1, !tbaa !150, !range !40, !noundef !41
  %1429 = trunc i8 %1428 to i1
  %1430 = zext i1 %1429 to i64
  %1431 = select i1 %1429, i32 4194304, i32 0
  store i32 %1431, ptr %84, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %85) #14
  %1432 = load ptr, ptr %21, align 8, !tbaa !5
  %1433 = getelementptr inbounds %struct.ImGuiIO, ptr %1432, i32 0, i32 21
  %1434 = load i8, ptr %1433, align 1, !tbaa !147, !range !40, !noundef !41
  %1435 = trunc i8 %1434 to i1
  %1436 = zext i1 %1435 to i8
  store i8 %1436, ptr %85, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %86) #14
  %1437 = load i8, ptr %85, align 1, !tbaa !42, !range !40, !noundef !41
  %1438 = trunc i8 %1437 to i1
  br i1 %1438, label %1439, label %1444

1439:                                             ; preds = %1408
  %1440 = load ptr, ptr %21, align 8, !tbaa !5
  %1441 = getelementptr inbounds %struct.ImGuiIO, ptr %1440, i32 0, i32 64
  %1442 = load i32, ptr %1441, align 8, !tbaa !164
  %1443 = icmp eq i32 %1442, 10
  br label %1444

1444:                                             ; preds = %1439, %1408
  %1445 = phi i1 [ false, %1408 ], [ %1443, %1439 ]
  %1446 = zext i1 %1445 to i8
  store i8 %1446, ptr %86, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %87) #14
  %1447 = load i8, ptr %85, align 1, !tbaa !42, !range !40, !noundef !41
  %1448 = trunc i8 %1447 to i1
  br i1 %1448, label %1449, label %1454

1449:                                             ; preds = %1444
  %1450 = load ptr, ptr %21, align 8, !tbaa !5
  %1451 = getelementptr inbounds %struct.ImGuiIO, ptr %1450, i32 0, i32 62
  %1452 = load i8, ptr %1451, align 2, !tbaa !157, !range !40, !noundef !41
  %1453 = trunc i8 %1452 to i1
  br label %1459

1454:                                             ; preds = %1444
  %1455 = load ptr, ptr %21, align 8, !tbaa !5
  %1456 = getelementptr inbounds %struct.ImGuiIO, ptr %1455, i32 0, i32 60
  %1457 = load i8, ptr %1456, align 4, !tbaa !122, !range !40, !noundef !41
  %1458 = trunc i8 %1457 to i1
  br label %1459

1459:                                             ; preds = %1454, %1449
  %1460 = phi i1 [ %1453, %1449 ], [ %1458, %1454 ]
  %1461 = zext i1 %1460 to i8
  store i8 %1461, ptr %87, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %88) #14
  %1462 = load i8, ptr %85, align 1, !tbaa !42, !range !40, !noundef !41
  %1463 = trunc i8 %1462 to i1
  br i1 %1463, label %1464, label %1480

1464:                                             ; preds = %1459
  %1465 = load ptr, ptr %21, align 8, !tbaa !5
  %1466 = getelementptr inbounds %struct.ImGuiIO, ptr %1465, i32 0, i32 63
  %1467 = load i8, ptr %1466, align 1, !tbaa !158, !range !40, !noundef !41
  %1468 = trunc i8 %1467 to i1
  br i1 %1468, label %1469, label %1480

1469:                                             ; preds = %1464
  %1470 = load ptr, ptr %21, align 8, !tbaa !5
  %1471 = getelementptr inbounds %struct.ImGuiIO, ptr %1470, i32 0, i32 60
  %1472 = load i8, ptr %1471, align 4, !tbaa !122, !range !40, !noundef !41
  %1473 = trunc i8 %1472 to i1
  br i1 %1473, label %1480, label %1474

1474:                                             ; preds = %1469
  %1475 = load ptr, ptr %21, align 8, !tbaa !5
  %1476 = getelementptr inbounds %struct.ImGuiIO, ptr %1475, i32 0, i32 62
  %1477 = load i8, ptr %1476, align 2, !tbaa !157, !range !40, !noundef !41
  %1478 = trunc i8 %1477 to i1
  %1479 = xor i1 %1478, true
  br label %1480

1480:                                             ; preds = %1474, %1469, %1464, %1459
  %1481 = phi i1 [ false, %1469 ], [ false, %1464 ], [ false, %1459 ], [ %1479, %1474 ]
  %1482 = zext i1 %1481 to i8
  store i8 %1482, ptr %88, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %89) #14
  %1483 = load ptr, ptr %21, align 8, !tbaa !5
  %1484 = getelementptr inbounds %struct.ImGuiIO, ptr %1483, i32 0, i32 64
  %1485 = load i32, ptr %1484, align 8, !tbaa !164
  %1486 = icmp eq i32 %1485, 1
  %1487 = zext i1 %1486 to i8
  store i8 %1487, ptr %89, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %90) #14
  %1488 = load ptr, ptr %21, align 8, !tbaa !5
  %1489 = getelementptr inbounds %struct.ImGuiIO, ptr %1488, i32 0, i32 64
  %1490 = load i32, ptr %1489, align 8, !tbaa !164
  %1491 = icmp eq i32 %1490, 2
  %1492 = zext i1 %1491 to i8
  store i8 %1492, ptr %90, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %91) #14
  %1493 = load ptr, ptr %20, align 8, !tbaa !5
  %1494 = getelementptr inbounds %struct.ImGuiContext, ptr %1493, i32 0, i32 2
  %1495 = getelementptr inbounds %struct.ImGuiIO, ptr %1494, i32 0, i32 21
  %1496 = load i8, ptr %1495, align 1, !tbaa !165, !range !40, !noundef !41
  %1497 = trunc i8 %1496 to i1
  br i1 %1497, label %1498, label %1503

1498:                                             ; preds = %1480
  %1499 = load ptr, ptr %21, align 8, !tbaa !5
  %1500 = getelementptr inbounds %struct.ImGuiIO, ptr %1499, i32 0, i32 64
  %1501 = load i32, ptr %1500, align 8, !tbaa !164
  %1502 = icmp eq i32 %1501, 8
  br label %1508

1503:                                             ; preds = %1480
  %1504 = load ptr, ptr %21, align 8, !tbaa !5
  %1505 = getelementptr inbounds %struct.ImGuiIO, ptr %1504, i32 0, i32 64
  %1506 = load i32, ptr %1505, align 8, !tbaa !164
  %1507 = icmp eq i32 %1506, 1
  br label %1508

1508:                                             ; preds = %1503, %1498
  %1509 = phi i1 [ %1502, %1498 ], [ %1507, %1503 ]
  %1510 = zext i1 %1509 to i8
  store i8 %1510, ptr %91, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %92) #14
  %1511 = load i8, ptr %91, align 1, !tbaa !42, !range !40, !noundef !41
  %1512 = trunc i8 %1511 to i1
  br i1 %1512, label %1513, label %1515

1513:                                             ; preds = %1508
  %1514 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 569, i1 noundef zeroext true)
  br i1 %1514, label %1520, label %1515

1515:                                             ; preds = %1513, %1508
  %1516 = load i8, ptr %90, align 1, !tbaa !42, !range !40, !noundef !41
  %1517 = trunc i8 %1516 to i1
  br i1 %1517, label %1518, label %1534

1518:                                             ; preds = %1515
  %1519 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 522, i1 noundef zeroext true)
  br i1 %1519, label %1520, label %1534

1520:                                             ; preds = %1518, %1513
  %1521 = load i8, ptr %25, align 1, !tbaa !42, !range !40, !noundef !41
  %1522 = trunc i8 %1521 to i1
  br i1 %1522, label %1534, label %1523

1523:                                             ; preds = %1520
  %1524 = load i8, ptr %26, align 1, !tbaa !42, !range !40, !noundef !41
  %1525 = trunc i8 %1524 to i1
  br i1 %1525, label %1534, label %1526

1526:                                             ; preds = %1523
  %1527 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %1528 = trunc i8 %1527 to i1
  br i1 %1528, label %1529, label %1532

1529:                                             ; preds = %1526
  %1530 = load ptr, ptr %47, align 8, !tbaa !5
  %1531 = call noundef zeroext i1 @_ZNK19ImGuiInputTextState12HasSelectionEv(ptr noundef nonnull align 8 dereferenceable(3716) %1530)
  br label %1532

1532:                                             ; preds = %1529, %1526
  %1533 = phi i1 [ true, %1526 ], [ %1531, %1529 ]
  br label %1534

1534:                                             ; preds = %1532, %1523, %1520, %1518, %1515
  %1535 = phi i1 [ false, %1523 ], [ false, %1520 ], [ false, %1518 ], [ false, %1515 ], [ %1533, %1532 ]
  %1536 = zext i1 %1535 to i8
  store i8 %1536, ptr %92, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %93) #14
  %1537 = load i8, ptr %91, align 1, !tbaa !42, !range !40, !noundef !41
  %1538 = trunc i8 %1537 to i1
  br i1 %1538, label %1539, label %1541

1539:                                             ; preds = %1534
  %1540 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 548, i1 noundef zeroext true)
  br i1 %1540, label %1546, label %1541

1541:                                             ; preds = %1539, %1534
  %1542 = load i8, ptr %89, align 1, !tbaa !42, !range !40, !noundef !41
  %1543 = trunc i8 %1542 to i1
  br i1 %1543, label %1544, label %1557

1544:                                             ; preds = %1541
  %1545 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 521, i1 noundef zeroext true)
  br i1 %1545, label %1546, label %1557

1546:                                             ; preds = %1544, %1539
  %1547 = load i8, ptr %26, align 1, !tbaa !42, !range !40, !noundef !41
  %1548 = trunc i8 %1547 to i1
  br i1 %1548, label %1557, label %1549

1549:                                             ; preds = %1546
  %1550 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %1551 = trunc i8 %1550 to i1
  br i1 %1551, label %1552, label %1555

1552:                                             ; preds = %1549
  %1553 = load ptr, ptr %47, align 8, !tbaa !5
  %1554 = call noundef zeroext i1 @_ZNK19ImGuiInputTextState12HasSelectionEv(ptr noundef nonnull align 8 dereferenceable(3716) %1553)
  br label %1555

1555:                                             ; preds = %1552, %1549
  %1556 = phi i1 [ true, %1549 ], [ %1554, %1552 ]
  br label %1557

1557:                                             ; preds = %1555, %1546, %1544, %1541
  %1558 = phi i1 [ false, %1546 ], [ false, %1544 ], [ false, %1541 ], [ %1556, %1555 ]
  %1559 = zext i1 %1558 to i8
  store i8 %1559, ptr %93, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %94) #14
  %1560 = load i8, ptr %91, align 1, !tbaa !42, !range !40, !noundef !41
  %1561 = trunc i8 %1560 to i1
  br i1 %1561, label %1562, label %1564

1562:                                             ; preds = %1557
  %1563 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 567, i1 noundef zeroext true)
  br i1 %1563, label %1569, label %1564

1564:                                             ; preds = %1562, %1557
  %1565 = load i8, ptr %90, align 1, !tbaa !42, !range !40, !noundef !41
  %1566 = trunc i8 %1565 to i1
  br i1 %1566, label %1567, label %1573

1567:                                             ; preds = %1564
  %1568 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 521, i1 noundef zeroext true)
  br i1 %1568, label %1569, label %1573

1569:                                             ; preds = %1567, %1562
  %1570 = load i8, ptr %25, align 1, !tbaa !42, !range !40, !noundef !41
  %1571 = trunc i8 %1570 to i1
  %1572 = xor i1 %1571, true
  br label %1573

1573:                                             ; preds = %1569, %1567, %1564
  %1574 = phi i1 [ false, %1567 ], [ false, %1564 ], [ %1572, %1569 ]
  %1575 = zext i1 %1574 to i8
  store i8 %1575, ptr %94, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %95) #14
  %1576 = load i8, ptr %91, align 1, !tbaa !42, !range !40, !noundef !41
  %1577 = trunc i8 %1576 to i1
  br i1 %1577, label %1578, label %1586

1578:                                             ; preds = %1573
  %1579 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 571, i1 noundef zeroext true)
  br i1 %1579, label %1580, label %1586

1580:                                             ; preds = %1578
  %1581 = load i8, ptr %25, align 1, !tbaa !42, !range !40, !noundef !41
  %1582 = trunc i8 %1581 to i1
  br i1 %1582, label %1586, label %1583

1583:                                             ; preds = %1580
  %1584 = load i8, ptr %27, align 1, !tbaa !42, !range !40, !noundef !41
  %1585 = trunc i8 %1584 to i1
  br label %1586

1586:                                             ; preds = %1583, %1580, %1578, %1573
  %1587 = phi i1 [ false, %1580 ], [ false, %1578 ], [ false, %1573 ], [ %1585, %1583 ]
  %1588 = zext i1 %1587 to i8
  store i8 %1588, ptr %95, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %96) #14
  %1589 = load i8, ptr %91, align 1, !tbaa !42, !range !40, !noundef !41
  %1590 = trunc i8 %1589 to i1
  br i1 %1590, label %1591, label %1593

1591:                                             ; preds = %1586
  %1592 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 570, i1 noundef zeroext true)
  br i1 %1592, label %1598, label %1593

1593:                                             ; preds = %1591, %1586
  %1594 = load i8, ptr %86, align 1, !tbaa !42, !range !40, !noundef !41
  %1595 = trunc i8 %1594 to i1
  br i1 %1595, label %1596, label %1604

1596:                                             ; preds = %1593
  %1597 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 571, i1 noundef zeroext true)
  br i1 %1597, label %1598, label %1604

1598:                                             ; preds = %1596, %1591
  %1599 = load i8, ptr %25, align 1, !tbaa !42, !range !40, !noundef !41
  %1600 = trunc i8 %1599 to i1
  br i1 %1600, label %1604, label %1601

1601:                                             ; preds = %1598
  %1602 = load i8, ptr %27, align 1, !tbaa !42, !range !40, !noundef !41
  %1603 = trunc i8 %1602 to i1
  br label %1604

1604:                                             ; preds = %1601, %1598, %1596, %1593
  %1605 = phi i1 [ false, %1598 ], [ false, %1596 ], [ false, %1593 ], [ %1603, %1601 ]
  %1606 = zext i1 %1605 to i8
  store i8 %1606, ptr %96, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %97) #14
  %1607 = load i8, ptr %91, align 1, !tbaa !42, !range !40, !noundef !41
  %1608 = trunc i8 %1607 to i1
  br i1 %1608, label %1609, label %1611

1609:                                             ; preds = %1604
  %1610 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 546, i1 noundef zeroext true)
  br label %1611

1611:                                             ; preds = %1609, %1604
  %1612 = phi i1 [ false, %1604 ], [ %1610, %1609 ]
  %1613 = zext i1 %1612 to i8
  store i8 %1613, ptr %97, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %98) #14
  %1614 = load ptr, ptr %21, align 8, !tbaa !5
  %1615 = getelementptr inbounds %struct.ImGuiIO, ptr %1614, i32 0, i32 0
  %1616 = load i32, ptr %1615, align 8, !tbaa !166
  %1617 = and i32 %1616, 2
  %1618 = icmp ne i32 %1617, 0
  br i1 %1618, label %1619, label %1625

1619:                                             ; preds = %1611
  %1620 = load ptr, ptr %21, align 8, !tbaa !5
  %1621 = getelementptr inbounds %struct.ImGuiIO, ptr %1620, i32 0, i32 1
  %1622 = load i32, ptr %1621, align 4, !tbaa !167
  %1623 = and i32 %1622, 1
  %1624 = icmp ne i32 %1623, 0
  br label %1625

1625:                                             ; preds = %1619, %1611
  %1626 = phi i1 [ false, %1611 ], [ %1624, %1619 ]
  %1627 = zext i1 %1626 to i8
  store i8 %1627, ptr %98, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %99) #14
  %1628 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 525, i1 noundef zeroext true)
  br i1 %1628, label %1631, label %1629

1629:                                             ; preds = %1625
  %1630 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 615, i1 noundef zeroext true)
  br label %1631

1631:                                             ; preds = %1629, %1625
  %1632 = phi i1 [ true, %1625 ], [ %1630, %1629 ]
  %1633 = zext i1 %1632 to i8
  store i8 %1633, ptr %99, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %100) #14
  %1634 = load i8, ptr %98, align 1, !tbaa !42, !range !40, !noundef !41
  %1635 = trunc i8 %1634 to i1
  br i1 %1635, label %1636, label %1642

1636:                                             ; preds = %1631
  %1637 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 622, i1 noundef zeroext false)
  br i1 %1637, label %1640, label %1638

1638:                                             ; preds = %1636
  %1639 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 621, i1 noundef zeroext false)
  br label %1640

1640:                                             ; preds = %1638, %1636
  %1641 = phi i1 [ true, %1636 ], [ %1639, %1638 ]
  br label %1642

1642:                                             ; preds = %1640, %1631
  %1643 = phi i1 [ false, %1631 ], [ %1641, %1640 ]
  %1644 = zext i1 %1643 to i8
  store i8 %1644, ptr %100, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %101) #14
  %1645 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 526, i1 noundef zeroext false)
  br i1 %1645, label %1653, label %1646

1646:                                             ; preds = %1642
  %1647 = load i8, ptr %98, align 1, !tbaa !42, !range !40, !noundef !41
  %1648 = trunc i8 %1647 to i1
  br i1 %1648, label %1649, label %1651

1649:                                             ; preds = %1646
  %1650 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 620, i1 noundef zeroext false)
  br label %1651

1651:                                             ; preds = %1649, %1646
  %1652 = phi i1 [ false, %1646 ], [ %1650, %1649 ]
  br label %1653

1653:                                             ; preds = %1651, %1642
  %1654 = phi i1 [ true, %1642 ], [ %1652, %1651 ]
  %1655 = zext i1 %1654 to i8
  store i8 %1655, ptr %101, align 1, !tbaa !42
  %1656 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 513, i1 noundef zeroext true)
  br i1 %1656, label %1657, label %1671

1657:                                             ; preds = %1653
  %1658 = load ptr, ptr %47, align 8, !tbaa !5
  %1659 = load i8, ptr %88, align 1, !tbaa !42, !range !40, !noundef !41
  %1660 = trunc i8 %1659 to i1
  br i1 %1660, label %1661, label %1662

1661:                                             ; preds = %1657
  br label %1667

1662:                                             ; preds = %1657
  %1663 = load i8, ptr %87, align 1, !tbaa !42, !range !40, !noundef !41
  %1664 = trunc i8 %1663 to i1
  %1665 = zext i1 %1664 to i64
  %1666 = select i1 %1664, i32 2097164, i32 2097152
  br label %1667

1667:                                             ; preds = %1662, %1661
  %1668 = phi i32 [ 2097156, %1661 ], [ %1666, %1662 ]
  %1669 = load i32, ptr %84, align 4, !tbaa !9
  %1670 = or i32 %1668, %1669
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %1658, i32 noundef %1670)
  br label %2142

1671:                                             ; preds = %1653
  %1672 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 514, i1 noundef zeroext true)
  br i1 %1672, label %1673, label %1687

1673:                                             ; preds = %1671
  %1674 = load ptr, ptr %47, align 8, !tbaa !5
  %1675 = load i8, ptr %88, align 1, !tbaa !42, !range !40, !noundef !41
  %1676 = trunc i8 %1675 to i1
  br i1 %1676, label %1677, label %1678

1677:                                             ; preds = %1673
  br label %1683

1678:                                             ; preds = %1673
  %1679 = load i8, ptr %87, align 1, !tbaa !42, !range !40, !noundef !41
  %1680 = trunc i8 %1679 to i1
  %1681 = zext i1 %1680 to i64
  %1682 = select i1 %1680, i32 2097165, i32 2097153
  br label %1683

1683:                                             ; preds = %1678, %1677
  %1684 = phi i32 [ 2097157, %1677 ], [ %1682, %1678 ]
  %1685 = load i32, ptr %84, align 4, !tbaa !9
  %1686 = or i32 %1684, %1685
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %1674, i32 noundef %1686)
  br label %2141

1687:                                             ; preds = %1671
  %1688 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 515, i1 noundef zeroext true)
  br i1 %1688, label %1689, label %1717

1689:                                             ; preds = %1687
  %1690 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %1691 = trunc i8 %1690 to i1
  br i1 %1691, label %1692, label %1717

1692:                                             ; preds = %1689
  %1693 = load ptr, ptr %21, align 8, !tbaa !5
  %1694 = getelementptr inbounds %struct.ImGuiIO, ptr %1693, i32 0, i32 60
  %1695 = load i8, ptr %1694, align 4, !tbaa !122, !range !40, !noundef !41
  %1696 = trunc i8 %1695 to i1
  br i1 %1696, label %1697, label %1708

1697:                                             ; preds = %1692
  %1698 = load ptr, ptr %38, align 8, !tbaa !5
  %1699 = load ptr, ptr %38, align 8, !tbaa !5
  %1700 = getelementptr inbounds %struct.ImGuiWindow, ptr %1699, i32 0, i32 16
  %1701 = getelementptr inbounds %struct.ImVec2, ptr %1700, i32 0, i32 1
  %1702 = load float, ptr %1701, align 4, !tbaa !111
  %1703 = load ptr, ptr %20, align 8, !tbaa !5
  %1704 = getelementptr inbounds %struct.ImGuiContext, ptr %1703, i32 0, i32 7
  %1705 = load float, ptr %1704, align 8, !tbaa !45
  %1706 = fsub float %1702, %1705
  %1707 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %1706, float noundef 0.000000e+00)
  call void @_ZN5ImGui10SetScrollYEP11ImGuiWindowf(ptr noundef %1698, float noundef %1707)
  br label %1716

1708:                                             ; preds = %1692
  %1709 = load ptr, ptr %47, align 8, !tbaa !5
  %1710 = load i8, ptr %88, align 1, !tbaa !42, !range !40, !noundef !41
  %1711 = trunc i8 %1710 to i1
  %1712 = zext i1 %1711 to i64
  %1713 = select i1 %1711, i32 2097158, i32 2097154
  %1714 = load i32, ptr %84, align 4, !tbaa !9
  %1715 = or i32 %1713, %1714
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %1709, i32 noundef %1715)
  br label %1716

1716:                                             ; preds = %1708, %1697
  br label %2140

1717:                                             ; preds = %1689, %1687
  %1718 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 516, i1 noundef zeroext true)
  br i1 %1718, label %1719, label %1748

1719:                                             ; preds = %1717
  %1720 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %1721 = trunc i8 %1720 to i1
  br i1 %1721, label %1722, label %1748

1722:                                             ; preds = %1719
  %1723 = load ptr, ptr %21, align 8, !tbaa !5
  %1724 = getelementptr inbounds %struct.ImGuiIO, ptr %1723, i32 0, i32 60
  %1725 = load i8, ptr %1724, align 4, !tbaa !122, !range !40, !noundef !41
  %1726 = trunc i8 %1725 to i1
  br i1 %1726, label %1727, label %1739

1727:                                             ; preds = %1722
  %1728 = load ptr, ptr %38, align 8, !tbaa !5
  %1729 = load ptr, ptr %38, align 8, !tbaa !5
  %1730 = getelementptr inbounds %struct.ImGuiWindow, ptr %1729, i32 0, i32 16
  %1731 = getelementptr inbounds %struct.ImVec2, ptr %1730, i32 0, i32 1
  %1732 = load float, ptr %1731, align 4, !tbaa !111
  %1733 = load ptr, ptr %20, align 8, !tbaa !5
  %1734 = getelementptr inbounds %struct.ImGuiContext, ptr %1733, i32 0, i32 7
  %1735 = load float, ptr %1734, align 8, !tbaa !45
  %1736 = fadd float %1732, %1735
  %1737 = call noundef float @_ZN5ImGui13GetScrollMaxYEv()
  %1738 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %1736, float noundef %1737)
  call void @_ZN5ImGui10SetScrollYEP11ImGuiWindowf(ptr noundef %1728, float noundef %1738)
  br label %1747

1739:                                             ; preds = %1722
  %1740 = load ptr, ptr %47, align 8, !tbaa !5
  %1741 = load i8, ptr %88, align 1, !tbaa !42, !range !40, !noundef !41
  %1742 = trunc i8 %1741 to i1
  %1743 = zext i1 %1742 to i64
  %1744 = select i1 %1742, i32 2097159, i32 2097155
  %1745 = load i32, ptr %84, align 4, !tbaa !9
  %1746 = or i32 %1744, %1745
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %1740, i32 noundef %1746)
  br label %1747

1747:                                             ; preds = %1739, %1727
  br label %2139

1748:                                             ; preds = %1719, %1717
  %1749 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 517, i1 noundef zeroext true)
  br i1 %1749, label %1750, label %1765

1750:                                             ; preds = %1748
  %1751 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %1752 = trunc i8 %1751 to i1
  br i1 %1752, label %1753, label %1765

1753:                                             ; preds = %1750
  %1754 = load ptr, ptr %47, align 8, !tbaa !5
  %1755 = load i32, ptr %84, align 4, !tbaa !9
  %1756 = or i32 2097166, %1755
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %1754, i32 noundef %1756)
  %1757 = load i32, ptr %83, align 4, !tbaa !9
  %1758 = sitofp i32 %1757 to float
  %1759 = load ptr, ptr %20, align 8, !tbaa !5
  %1760 = getelementptr inbounds %struct.ImGuiContext, ptr %1759, i32 0, i32 7
  %1761 = load float, ptr %1760, align 8, !tbaa !45
  %1762 = load float, ptr %55, align 4, !tbaa !44
  %1763 = fneg float %1758
  %1764 = call float @llvm.fmuladd.f32(float %1763, float %1761, float %1762)
  store float %1764, ptr %55, align 4, !tbaa !44
  br label %2138

1765:                                             ; preds = %1750, %1748
  %1766 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 518, i1 noundef zeroext true)
  br i1 %1766, label %1767, label %1781

1767:                                             ; preds = %1765
  %1768 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %1769 = trunc i8 %1768 to i1
  br i1 %1769, label %1770, label %1781

1770:                                             ; preds = %1767
  %1771 = load ptr, ptr %47, align 8, !tbaa !5
  %1772 = load i32, ptr %84, align 4, !tbaa !9
  %1773 = or i32 2097167, %1772
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %1771, i32 noundef %1773)
  %1774 = load i32, ptr %83, align 4, !tbaa !9
  %1775 = sitofp i32 %1774 to float
  %1776 = load ptr, ptr %20, align 8, !tbaa !5
  %1777 = getelementptr inbounds %struct.ImGuiContext, ptr %1776, i32 0, i32 7
  %1778 = load float, ptr %1777, align 8, !tbaa !45
  %1779 = load float, ptr %55, align 4, !tbaa !44
  %1780 = call float @llvm.fmuladd.f32(float %1775, float %1778, float %1779)
  store float %1780, ptr %55, align 4, !tbaa !44
  br label %2137

1781:                                             ; preds = %1767, %1765
  %1782 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 519, i1 noundef zeroext true)
  br i1 %1782, label %1783, label %1797

1783:                                             ; preds = %1781
  %1784 = load ptr, ptr %47, align 8, !tbaa !5
  %1785 = load ptr, ptr %21, align 8, !tbaa !5
  %1786 = getelementptr inbounds %struct.ImGuiIO, ptr %1785, i32 0, i32 60
  %1787 = load i8, ptr %1786, align 4, !tbaa !122, !range !40, !noundef !41
  %1788 = trunc i8 %1787 to i1
  br i1 %1788, label %1789, label %1792

1789:                                             ; preds = %1783
  %1790 = load i32, ptr %84, align 4, !tbaa !9
  %1791 = or i32 2097158, %1790
  br label %1795

1792:                                             ; preds = %1783
  %1793 = load i32, ptr %84, align 4, !tbaa !9
  %1794 = or i32 2097156, %1793
  br label %1795

1795:                                             ; preds = %1792, %1789
  %1796 = phi i32 [ %1791, %1789 ], [ %1794, %1792 ]
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %1784, i32 noundef %1796)
  br label %2136

1797:                                             ; preds = %1781
  %1798 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 520, i1 noundef zeroext true)
  br i1 %1798, label %1799, label %1813

1799:                                             ; preds = %1797
  %1800 = load ptr, ptr %47, align 8, !tbaa !5
  %1801 = load ptr, ptr %21, align 8, !tbaa !5
  %1802 = getelementptr inbounds %struct.ImGuiIO, ptr %1801, i32 0, i32 60
  %1803 = load i8, ptr %1802, align 4, !tbaa !122, !range !40, !noundef !41
  %1804 = trunc i8 %1803 to i1
  br i1 %1804, label %1805, label %1808

1805:                                             ; preds = %1799
  %1806 = load i32, ptr %84, align 4, !tbaa !9
  %1807 = or i32 2097159, %1806
  br label %1811

1808:                                             ; preds = %1799
  %1809 = load i32, ptr %84, align 4, !tbaa !9
  %1810 = or i32 2097157, %1809
  br label %1811

1811:                                             ; preds = %1808, %1805
  %1812 = phi i32 [ %1807, %1805 ], [ %1810, %1808 ]
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %1800, i32 noundef %1812)
  br label %2135

1813:                                             ; preds = %1797
  %1814 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 522, i1 noundef zeroext true)
  br i1 %1814, label %1815, label %1825

1815:                                             ; preds = %1813
  %1816 = load i8, ptr %25, align 1, !tbaa !42, !range !40, !noundef !41
  %1817 = trunc i8 %1816 to i1
  br i1 %1817, label %1825, label %1818

1818:                                             ; preds = %1815
  %1819 = load i8, ptr %92, align 1, !tbaa !42, !range !40, !noundef !41
  %1820 = trunc i8 %1819 to i1
  br i1 %1820, label %1825, label %1821

1821:                                             ; preds = %1818
  %1822 = load ptr, ptr %47, align 8, !tbaa !5
  %1823 = load i32, ptr %84, align 4, !tbaa !9
  %1824 = or i32 2097160, %1823
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %1822, i32 noundef %1824)
  br label %2134

1825:                                             ; preds = %1818, %1815, %1813
  %1826 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 523, i1 noundef zeroext true)
  br i1 %1826, label %1827, label %1864

1827:                                             ; preds = %1825
  %1828 = load i8, ptr %25, align 1, !tbaa !42, !range !40, !noundef !41
  %1829 = trunc i8 %1828 to i1
  br i1 %1829, label %1864, label %1830

1830:                                             ; preds = %1827
  %1831 = load ptr, ptr %47, align 8, !tbaa !5
  %1832 = call noundef zeroext i1 @_ZNK19ImGuiInputTextState12HasSelectionEv(ptr noundef nonnull align 8 dereferenceable(3716) %1831)
  br i1 %1832, label %1860, label %1833

1833:                                             ; preds = %1830
  %1834 = load i8, ptr %87, align 1, !tbaa !42, !range !40, !noundef !41
  %1835 = trunc i8 %1834 to i1
  br i1 %1835, label %1836, label %1838

1836:                                             ; preds = %1833
  %1837 = load ptr, ptr %47, align 8, !tbaa !5
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %1837, i32 noundef 6291468)
  br label %1859

1838:                                             ; preds = %1833
  %1839 = load i8, ptr %85, align 1, !tbaa !42, !range !40, !noundef !41
  %1840 = trunc i8 %1839 to i1
  br i1 %1840, label %1841, label %1858

1841:                                             ; preds = %1838
  %1842 = load ptr, ptr %21, align 8, !tbaa !5
  %1843 = getelementptr inbounds %struct.ImGuiIO, ptr %1842, i32 0, i32 63
  %1844 = load i8, ptr %1843, align 1, !tbaa !158, !range !40, !noundef !41
  %1845 = trunc i8 %1844 to i1
  br i1 %1845, label %1846, label %1858

1846:                                             ; preds = %1841
  %1847 = load ptr, ptr %21, align 8, !tbaa !5
  %1848 = getelementptr inbounds %struct.ImGuiIO, ptr %1847, i32 0, i32 62
  %1849 = load i8, ptr %1848, align 2, !tbaa !157, !range !40, !noundef !41
  %1850 = trunc i8 %1849 to i1
  br i1 %1850, label %1858, label %1851

1851:                                             ; preds = %1846
  %1852 = load ptr, ptr %21, align 8, !tbaa !5
  %1853 = getelementptr inbounds %struct.ImGuiIO, ptr %1852, i32 0, i32 60
  %1854 = load i8, ptr %1853, align 4, !tbaa !122, !range !40, !noundef !41
  %1855 = trunc i8 %1854 to i1
  br i1 %1855, label %1858, label %1856

1856:                                             ; preds = %1851
  %1857 = load ptr, ptr %47, align 8, !tbaa !5
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %1857, i32 noundef 6291460)
  br label %1858

1858:                                             ; preds = %1856, %1851, %1846, %1841, %1838
  br label %1859

1859:                                             ; preds = %1858, %1836
  br label %1860

1860:                                             ; preds = %1859, %1830
  %1861 = load ptr, ptr %47, align 8, !tbaa !5
  %1862 = load i32, ptr %84, align 4, !tbaa !9
  %1863 = or i32 2097161, %1862
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %1861, i32 noundef %1863)
  br label %2133

1864:                                             ; preds = %1827, %1825
  %1865 = load i8, ptr %99, align 1, !tbaa !42, !range !40, !noundef !41
  %1866 = trunc i8 %1865 to i1
  br i1 %1866, label %1870, label %1867

1867:                                             ; preds = %1864
  %1868 = load i8, ptr %100, align 1, !tbaa !42, !range !40, !noundef !41
  %1869 = trunc i8 %1868 to i1
  br i1 %1869, label %1870, label %1922

1870:                                             ; preds = %1867, %1864
  call void @llvm.lifetime.start.p0(i64 1, ptr %102) #14
  %1871 = load i32, ptr %15, align 4, !tbaa !9
  %1872 = and i32 %1871, 2048
  %1873 = icmp ne i32 %1872, 0
  %1874 = zext i1 %1873 to i8
  store i8 %1874, ptr %102, align 1, !tbaa !42
  %1875 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %1876 = trunc i8 %1875 to i1
  br i1 %1876, label %1877, label %1896

1877:                                             ; preds = %1870
  %1878 = load i8, ptr %100, align 1, !tbaa !42, !range !40, !noundef !41
  %1879 = trunc i8 %1878 to i1
  br i1 %1879, label %1896, label %1880

1880:                                             ; preds = %1877
  %1881 = load i8, ptr %102, align 1, !tbaa !42, !range !40, !noundef !41
  %1882 = trunc i8 %1881 to i1
  br i1 %1882, label %1883, label %1888

1883:                                             ; preds = %1880
  %1884 = load ptr, ptr %21, align 8, !tbaa !5
  %1885 = getelementptr inbounds %struct.ImGuiIO, ptr %1884, i32 0, i32 60
  %1886 = load i8, ptr %1885, align 4, !tbaa !122, !range !40, !noundef !41
  %1887 = trunc i8 %1886 to i1
  br i1 %1887, label %1888, label %1896

1888:                                             ; preds = %1883, %1880
  %1889 = load i8, ptr %102, align 1, !tbaa !42, !range !40, !noundef !41
  %1890 = trunc i8 %1889 to i1
  br i1 %1890, label %1908, label %1891

1891:                                             ; preds = %1888
  %1892 = load ptr, ptr %21, align 8, !tbaa !5
  %1893 = getelementptr inbounds %struct.ImGuiIO, ptr %1892, i32 0, i32 60
  %1894 = load i8, ptr %1893, align 4, !tbaa !122, !range !40, !noundef !41
  %1895 = trunc i8 %1894 to i1
  br i1 %1895, label %1896, label %1908

1896:                                             ; preds = %1891, %1883, %1877, %1870
  store i8 1, ptr %65, align 1, !tbaa !42
  %1897 = load ptr, ptr %21, align 8, !tbaa !5
  %1898 = getelementptr inbounds %struct.ImGuiIO, ptr %1897, i32 0, i32 24
  %1899 = load i8, ptr %1898, align 4, !tbaa !168, !range !40, !noundef !41
  %1900 = trunc i8 %1899 to i1
  br i1 %1900, label %1901, label %1906

1901:                                             ; preds = %1896
  %1902 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %1903 = trunc i8 %1902 to i1
  br i1 %1903, label %1906, label %1904

1904:                                             ; preds = %1901
  %1905 = load ptr, ptr %47, align 8, !tbaa !5
  call void @_ZN19ImGuiInputTextState9SelectAllEv(ptr noundef nonnull align 8 dereferenceable(3716) %1905)
  br label %1907

1906:                                             ; preds = %1901, %1896
  store i8 1, ptr %53, align 1, !tbaa !42
  br label %1907

1907:                                             ; preds = %1906, %1904
  br label %1921

1908:                                             ; preds = %1891, %1888
  %1909 = load i8, ptr %25, align 1, !tbaa !42, !range !40, !noundef !41
  %1910 = trunc i8 %1909 to i1
  br i1 %1910, label %1920, label %1911

1911:                                             ; preds = %1908
  call void @llvm.lifetime.start.p0(i64 4, ptr %103) #14
  store i32 10, ptr %103, align 4, !tbaa !9
  %1912 = load i32, ptr %15, align 4, !tbaa !9
  %1913 = load ptr, ptr %16, align 8, !tbaa !5
  %1914 = load ptr, ptr %17, align 8, !tbaa !5
  %1915 = call noundef zeroext i1 @_ZL24InputTextFilterCharacterPjiPFiP26ImGuiInputTextCallbackDataEPv16ImGuiInputSource(ptr noundef %103, i32 noundef %1912, ptr noundef %1913, ptr noundef %1914, i32 noundef 2)
  br i1 %1915, label %1916, label %1919

1916:                                             ; preds = %1911
  %1917 = load ptr, ptr %47, align 8, !tbaa !5
  %1918 = load i32, ptr %103, align 4, !tbaa !9
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %1917, i32 noundef %1918)
  br label %1919

1919:                                             ; preds = %1916, %1911
  call void @llvm.lifetime.end.p0(i64 4, ptr %103) #14
  br label %1920

1920:                                             ; preds = %1919, %1908
  br label %1921

1921:                                             ; preds = %1920, %1907
  call void @llvm.lifetime.end.p0(i64 1, ptr %102) #14
  br label %2132

1922:                                             ; preds = %1867
  %1923 = load i8, ptr %101, align 1, !tbaa !42, !range !40, !noundef !41
  %1924 = trunc i8 %1923 to i1
  br i1 %1924, label %1925, label %1939

1925:                                             ; preds = %1922
  %1926 = load i32, ptr %15, align 4, !tbaa !9
  %1927 = and i32 %1926, 1048576
  %1928 = icmp ne i32 %1927, 0
  br i1 %1928, label %1929, label %1937

1929:                                             ; preds = %1925
  %1930 = load ptr, ptr %47, align 8, !tbaa !5
  %1931 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1930, i32 0, i32 2
  %1932 = load i32, ptr %1931, align 8, !tbaa !115
  %1933 = icmp sgt i32 %1932, 0
  br i1 %1933, label %1934, label %1935

1934:                                             ; preds = %1929
  store i8 1, ptr %82, align 1, !tbaa !42
  br label %1936

1935:                                             ; preds = %1929
  store i8 0, ptr %63, align 1, !tbaa !42
  store i8 0, ptr %62, align 1, !tbaa !42
  store i8 1, ptr %53, align 1, !tbaa !42
  br label %1936

1936:                                             ; preds = %1935, %1934
  br label %1938

1937:                                             ; preds = %1925
  store i8 1, ptr %82, align 1, !tbaa !42
  store i8 1, ptr %53, align 1, !tbaa !42
  store i8 0, ptr %63, align 1, !tbaa !42
  store i8 0, ptr %62, align 1, !tbaa !42
  br label %1938

1938:                                             ; preds = %1937, %1936
  br label %2131

1939:                                             ; preds = %1922
  %1940 = load i8, ptr %95, align 1, !tbaa !42, !range !40, !noundef !41
  %1941 = trunc i8 %1940 to i1
  br i1 %1941, label %1945, label %1942

1942:                                             ; preds = %1939
  %1943 = load i8, ptr %96, align 1, !tbaa !42, !range !40, !noundef !41
  %1944 = trunc i8 %1943 to i1
  br i1 %1944, label %1945, label %1952

1945:                                             ; preds = %1942, %1939
  %1946 = load ptr, ptr %47, align 8, !tbaa !5
  %1947 = load i8, ptr %95, align 1, !tbaa !42, !range !40, !noundef !41
  %1948 = trunc i8 %1947 to i1
  %1949 = zext i1 %1948 to i64
  %1950 = select i1 %1948, i32 2097162, i32 2097163
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %1946, i32 noundef %1950)
  %1951 = load ptr, ptr %47, align 8, !tbaa !5
  call void @_ZN19ImGuiInputTextState14ClearSelectionEv(ptr noundef nonnull align 8 dereferenceable(3716) %1951)
  br label %2130

1952:                                             ; preds = %1942
  %1953 = load i8, ptr %97, align 1, !tbaa !42, !range !40, !noundef !41
  %1954 = trunc i8 %1953 to i1
  br i1 %1954, label %1955, label %1959

1955:                                             ; preds = %1952
  %1956 = load ptr, ptr %47, align 8, !tbaa !5
  call void @_ZN19ImGuiInputTextState9SelectAllEv(ptr noundef nonnull align 8 dereferenceable(3716) %1956)
  %1957 = load ptr, ptr %47, align 8, !tbaa !5
  %1958 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1957, i32 0, i32 13
  store i8 1, ptr %1958, align 4, !tbaa !154
  br label %2129

1959:                                             ; preds = %1952
  %1960 = load i8, ptr %92, align 1, !tbaa !42, !range !40, !noundef !41
  %1961 = trunc i8 %1960 to i1
  br i1 %1961, label %1965, label %1962

1962:                                             ; preds = %1959
  %1963 = load i8, ptr %93, align 1, !tbaa !42, !range !40, !noundef !41
  %1964 = trunc i8 %1963 to i1
  br i1 %1964, label %1965, label %2059

1965:                                             ; preds = %1962, %1959
  %1966 = load ptr, ptr %21, align 8, !tbaa !5
  %1967 = getelementptr inbounds %struct.ImGuiIO, ptr %1966, i32 0, i32 35
  %1968 = load ptr, ptr %1967, align 8, !tbaa !169
  %1969 = icmp ne ptr %1968, null
  br i1 %1969, label %1970, label %2043

1970:                                             ; preds = %1965
  call void @llvm.lifetime.start.p0(i64 4, ptr %104) #14
  %1971 = load ptr, ptr %47, align 8, !tbaa !5
  %1972 = call noundef zeroext i1 @_ZNK19ImGuiInputTextState12HasSelectionEv(ptr noundef nonnull align 8 dereferenceable(3716) %1971)
  br i1 %1972, label %1973, label %1983

1973:                                             ; preds = %1970
  %1974 = load ptr, ptr %47, align 8, !tbaa !5
  %1975 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1974, i32 0, i32 11
  %1976 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %1975, i32 0, i32 1
  %1977 = load i32, ptr %1976, align 4, !tbaa !152
  %1978 = load ptr, ptr %47, align 8, !tbaa !5
  %1979 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1978, i32 0, i32 11
  %1980 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %1979, i32 0, i32 2
  %1981 = load i32, ptr %1980, align 4, !tbaa !153
  %1982 = call noundef i32 @_ZL5ImMinIiET_S0_S0_(i32 noundef %1977, i32 noundef %1981)
  br label %1984

1983:                                             ; preds = %1970
  br label %1984

1984:                                             ; preds = %1983, %1973
  %1985 = phi i32 [ %1982, %1973 ], [ 0, %1983 ]
  store i32 %1985, ptr %104, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %105) #14
  %1986 = load ptr, ptr %47, align 8, !tbaa !5
  %1987 = call noundef zeroext i1 @_ZNK19ImGuiInputTextState12HasSelectionEv(ptr noundef nonnull align 8 dereferenceable(3716) %1986)
  br i1 %1987, label %1988, label %1998

1988:                                             ; preds = %1984
  %1989 = load ptr, ptr %47, align 8, !tbaa !5
  %1990 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1989, i32 0, i32 11
  %1991 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %1990, i32 0, i32 1
  %1992 = load i32, ptr %1991, align 4, !tbaa !152
  %1993 = load ptr, ptr %47, align 8, !tbaa !5
  %1994 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1993, i32 0, i32 11
  %1995 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %1994, i32 0, i32 2
  %1996 = load i32, ptr %1995, align 4, !tbaa !153
  %1997 = call noundef i32 @_ZL5ImMaxIiET_S0_S0_(i32 noundef %1992, i32 noundef %1996)
  br label %2002

1998:                                             ; preds = %1984
  %1999 = load ptr, ptr %47, align 8, !tbaa !5
  %2000 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %1999, i32 0, i32 1
  %2001 = load i32, ptr %2000, align 4, !tbaa !119
  br label %2002

2002:                                             ; preds = %1998, %1988
  %2003 = phi i32 [ %1997, %1988 ], [ %2001, %1998 ]
  store i32 %2003, ptr %105, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %106) #14
  %2004 = load ptr, ptr %47, align 8, !tbaa !5
  %2005 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2004, i32 0, i32 4
  %2006 = getelementptr inbounds %struct.ImVector.5, ptr %2005, i32 0, i32 2
  %2007 = load ptr, ptr %2006, align 8, !tbaa !118
  %2008 = load i32, ptr %104, align 4, !tbaa !9
  %2009 = sext i32 %2008 to i64
  %2010 = getelementptr inbounds i16, ptr %2007, i64 %2009
  %2011 = load ptr, ptr %47, align 8, !tbaa !5
  %2012 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2011, i32 0, i32 4
  %2013 = getelementptr inbounds %struct.ImVector.5, ptr %2012, i32 0, i32 2
  %2014 = load ptr, ptr %2013, align 8, !tbaa !118
  %2015 = load i32, ptr %105, align 4, !tbaa !9
  %2016 = sext i32 %2015 to i64
  %2017 = getelementptr inbounds i16, ptr %2014, i64 %2016
  %2018 = call noundef i32 @_Z27ImTextCountUtf8BytesFromStrPKtS0_(ptr noundef %2010, ptr noundef %2017)
  %2019 = add nsw i32 %2018, 1
  store i32 %2019, ptr %106, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %107) #14
  %2020 = load i32, ptr %106, align 4, !tbaa !9
  %2021 = sext i32 %2020 to i64
  %2022 = mul i64 %2021, 1
  %2023 = call noundef ptr @_ZN5ImGui8MemAllocEm(i64 noundef %2022)
  store ptr %2023, ptr %107, align 8, !tbaa !5
  %2024 = load ptr, ptr %107, align 8, !tbaa !5
  %2025 = load i32, ptr %106, align 4, !tbaa !9
  %2026 = load ptr, ptr %47, align 8, !tbaa !5
  %2027 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2026, i32 0, i32 4
  %2028 = getelementptr inbounds %struct.ImVector.5, ptr %2027, i32 0, i32 2
  %2029 = load ptr, ptr %2028, align 8, !tbaa !118
  %2030 = load i32, ptr %104, align 4, !tbaa !9
  %2031 = sext i32 %2030 to i64
  %2032 = getelementptr inbounds i16, ptr %2029, i64 %2031
  %2033 = load ptr, ptr %47, align 8, !tbaa !5
  %2034 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2033, i32 0, i32 4
  %2035 = getelementptr inbounds %struct.ImVector.5, ptr %2034, i32 0, i32 2
  %2036 = load ptr, ptr %2035, align 8, !tbaa !118
  %2037 = load i32, ptr %105, align 4, !tbaa !9
  %2038 = sext i32 %2037 to i64
  %2039 = getelementptr inbounds i16, ptr %2036, i64 %2038
  %2040 = call noundef i32 @_Z15ImTextStrToUtf8PciPKtS1_(ptr noundef %2024, i32 noundef %2025, ptr noundef %2032, ptr noundef %2039)
  %2041 = load ptr, ptr %107, align 8, !tbaa !5
  call void @_ZN5ImGui16SetClipboardTextEPKc(ptr noundef %2041)
  %2042 = load ptr, ptr %107, align 8, !tbaa !5
  call void @_ZN5ImGui7MemFreeEPv(ptr noundef %2042)
  call void @llvm.lifetime.end.p0(i64 8, ptr %107) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %106) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %105) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %104) #14
  br label %2043

2043:                                             ; preds = %2002, %1965
  %2044 = load i8, ptr %92, align 1, !tbaa !42, !range !40, !noundef !41
  %2045 = trunc i8 %2044 to i1
  br i1 %2045, label %2046, label %2058

2046:                                             ; preds = %2043
  %2047 = load ptr, ptr %47, align 8, !tbaa !5
  %2048 = call noundef zeroext i1 @_ZNK19ImGuiInputTextState12HasSelectionEv(ptr noundef nonnull align 8 dereferenceable(3716) %2047)
  br i1 %2048, label %2051, label %2049

2049:                                             ; preds = %2046
  %2050 = load ptr, ptr %47, align 8, !tbaa !5
  call void @_ZN19ImGuiInputTextState9SelectAllEv(ptr noundef nonnull align 8 dereferenceable(3716) %2050)
  br label %2051

2051:                                             ; preds = %2049, %2046
  %2052 = load ptr, ptr %47, align 8, !tbaa !5
  %2053 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2052, i32 0, i32 13
  store i8 1, ptr %2053, align 4, !tbaa !154
  %2054 = load ptr, ptr %47, align 8, !tbaa !5
  %2055 = load ptr, ptr %47, align 8, !tbaa !5
  %2056 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2055, i32 0, i32 11
  %2057 = call noundef i32 @_ZN5ImStbL16stb_textedit_cutEP19ImGuiInputTextStatePNS_17STB_TexteditStateE(ptr noundef %2054, ptr noundef %2056)
  br label %2058

2058:                                             ; preds = %2051, %2043
  br label %2128

2059:                                             ; preds = %1962
  %2060 = load i8, ptr %94, align 1, !tbaa !42, !range !40, !noundef !41
  %2061 = trunc i8 %2060 to i1
  br i1 %2061, label %2062, label %2127

2062:                                             ; preds = %2059
  call void @llvm.lifetime.start.p0(i64 8, ptr %108) #14
  %2063 = call noundef ptr @_ZN5ImGui16GetClipboardTextEv()
  store ptr %2063, ptr %108, align 8, !tbaa !5
  %2064 = load ptr, ptr %108, align 8, !tbaa !5
  %2065 = icmp ne ptr %2064, null
  br i1 %2065, label %2066, label %2126

2066:                                             ; preds = %2062
  call void @llvm.lifetime.start.p0(i64 4, ptr %109) #14
  %2067 = load ptr, ptr %108, align 8, !tbaa !5
  %2068 = call i64 @strlen(ptr noundef %2067) #16
  %2069 = trunc i64 %2068 to i32
  store i32 %2069, ptr %109, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %110) #14
  %2070 = load i32, ptr %109, align 4, !tbaa !9
  %2071 = add nsw i32 %2070, 1
  %2072 = sext i32 %2071 to i64
  %2073 = mul i64 %2072, 2
  %2074 = call noundef ptr @_ZN5ImGui8MemAllocEm(i64 noundef %2073)
  store ptr %2074, ptr %110, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %111) #14
  store i32 0, ptr %111, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %112) #14
  %2075 = load ptr, ptr %108, align 8, !tbaa !5
  store ptr %2075, ptr %112, align 8, !tbaa !5
  br label %2076

2076:                                             ; preds = %2106, %2104, %2066
  %2077 = load ptr, ptr %112, align 8, !tbaa !5
  %2078 = load i8, ptr %2077, align 1, !tbaa !126
  %2079 = icmp ne i8 %2078, 0
  br i1 %2079, label %2081, label %2080

2080:                                             ; preds = %2076
  store i32 5, ptr %19, align 4
  br label %2107

2081:                                             ; preds = %2076
  call void @llvm.lifetime.start.p0(i64 4, ptr %113) #14
  %2082 = load ptr, ptr %112, align 8, !tbaa !5
  %2083 = call noundef i32 @_Z18ImTextCharFromUtf8PjPKcS1_(ptr noundef %113, ptr noundef %2082, ptr noundef null)
  %2084 = load ptr, ptr %112, align 8, !tbaa !5
  %2085 = sext i32 %2083 to i64
  %2086 = getelementptr inbounds i8, ptr %2084, i64 %2085
  store ptr %2086, ptr %112, align 8, !tbaa !5
  %2087 = load i32, ptr %113, align 4, !tbaa !9
  %2088 = icmp eq i32 %2087, 0
  br i1 %2088, label %2089, label %2090

2089:                                             ; preds = %2081
  store i32 5, ptr %19, align 4
  br label %2104

2090:                                             ; preds = %2081
  %2091 = load i32, ptr %15, align 4, !tbaa !9
  %2092 = load ptr, ptr %16, align 8, !tbaa !5
  %2093 = load ptr, ptr %17, align 8, !tbaa !5
  %2094 = call noundef zeroext i1 @_ZL24InputTextFilterCharacterPjiPFiP26ImGuiInputTextCallbackDataEPv16ImGuiInputSource(ptr noundef %113, i32 noundef %2091, ptr noundef %2092, ptr noundef %2093, i32 noundef 4)
  br i1 %2094, label %2096, label %2095

2095:                                             ; preds = %2090
  store i32 6, ptr %19, align 4
  br label %2104, !llvm.loop !170

2096:                                             ; preds = %2090
  %2097 = load i32, ptr %113, align 4, !tbaa !9
  %2098 = trunc i32 %2097 to i16
  %2099 = load ptr, ptr %110, align 8, !tbaa !5
  %2100 = load i32, ptr %111, align 4, !tbaa !9
  %2101 = add nsw i32 %2100, 1
  store i32 %2101, ptr %111, align 4, !tbaa !9
  %2102 = sext i32 %2100 to i64
  %2103 = getelementptr inbounds i16, ptr %2099, i64 %2102
  store i16 %2098, ptr %2103, align 2, !tbaa !149
  store i32 0, ptr %19, align 4
  br label %2104

2104:                                             ; preds = %2096, %2095, %2089
  call void @llvm.lifetime.end.p0(i64 4, ptr %113) #14
  %2105 = load i32, ptr %19, align 4
  switch i32 %2105, label %2107 [
    i32 0, label %2106
    i32 6, label %2076
  ]

2106:                                             ; preds = %2104
  br label %2076, !llvm.loop !170

2107:                                             ; preds = %2104, %2080
  call void @llvm.lifetime.end.p0(i64 8, ptr %112) #14
  br label %2108

2108:                                             ; preds = %2107
  %2109 = load ptr, ptr %110, align 8, !tbaa !5
  %2110 = load i32, ptr %111, align 4, !tbaa !9
  %2111 = sext i32 %2110 to i64
  %2112 = getelementptr inbounds i16, ptr %2109, i64 %2111
  store i16 0, ptr %2112, align 2, !tbaa !149
  %2113 = load i32, ptr %111, align 4, !tbaa !9
  %2114 = icmp sgt i32 %2113, 0
  br i1 %2114, label %2115, label %2124

2115:                                             ; preds = %2108
  %2116 = load ptr, ptr %47, align 8, !tbaa !5
  %2117 = load ptr, ptr %47, align 8, !tbaa !5
  %2118 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2117, i32 0, i32 11
  %2119 = load ptr, ptr %110, align 8, !tbaa !5
  %2120 = load i32, ptr %111, align 4, !tbaa !9
  %2121 = call noundef i32 @_ZN5ImStbL18stb_textedit_pasteEP19ImGuiInputTextStatePNS_17STB_TexteditStateEPKti(ptr noundef %2116, ptr noundef %2118, ptr noundef %2119, i32 noundef %2120)
  %2122 = load ptr, ptr %47, align 8, !tbaa !5
  %2123 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2122, i32 0, i32 13
  store i8 1, ptr %2123, align 4, !tbaa !154
  br label %2124

2124:                                             ; preds = %2115, %2108
  %2125 = load ptr, ptr %110, align 8, !tbaa !5
  call void @_ZN5ImGui7MemFreeEPv(ptr noundef %2125)
  call void @llvm.lifetime.end.p0(i64 4, ptr %111) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %110) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %109) #14
  br label %2126

2126:                                             ; preds = %2124, %2062
  call void @llvm.lifetime.end.p0(i64 8, ptr %108) #14
  br label %2127

2127:                                             ; preds = %2126, %2059
  br label %2128

2128:                                             ; preds = %2127, %2058
  br label %2129

2129:                                             ; preds = %2128, %1955
  br label %2130

2130:                                             ; preds = %2129, %1945
  br label %2131

2131:                                             ; preds = %2130, %1938
  br label %2132

2132:                                             ; preds = %2131, %1921
  br label %2133

2133:                                             ; preds = %2132, %1860
  br label %2134

2134:                                             ; preds = %2133, %1821
  br label %2135

2135:                                             ; preds = %2134, %1811
  br label %2136

2136:                                             ; preds = %2135, %1795
  br label %2137

2137:                                             ; preds = %2136, %1770
  br label %2138

2138:                                             ; preds = %2137, %1753
  br label %2139

2139:                                             ; preds = %2138, %1747
  br label %2140

2140:                                             ; preds = %2139, %1716
  br label %2141

2141:                                             ; preds = %2140, %1683
  br label %2142

2142:                                             ; preds = %2141, %1667
  %2143 = load ptr, ptr %47, align 8, !tbaa !5
  %2144 = call noundef zeroext i1 @_ZNK19ImGuiInputTextState12HasSelectionEv(ptr noundef nonnull align 8 dereferenceable(3716) %2143)
  br i1 %2144, label %2145, label %2148

2145:                                             ; preds = %2142
  %2146 = load i8, ptr %62, align 1, !tbaa !42, !range !40, !noundef !41
  %2147 = trunc i8 %2146 to i1
  br label %2148

2148:                                             ; preds = %2145, %2142
  %2149 = phi i1 [ false, %2142 ], [ %2147, %2145 ]
  %2150 = zext i1 %2149 to i32
  %2151 = load i8, ptr %63, align 1, !tbaa !42, !range !40, !noundef !41
  %2152 = trunc i8 %2151 to i1
  %2153 = zext i1 %2152 to i32
  %2154 = or i32 %2153, %2150
  %2155 = icmp ne i32 %2154, 0
  %2156 = zext i1 %2155 to i8
  store i8 %2156, ptr %63, align 1, !tbaa !42
  call void @llvm.lifetime.end.p0(i64 1, ptr %101) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %100) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %99) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %98) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %97) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %96) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %95) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %94) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %93) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %92) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %91) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %90) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %89) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %88) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %87) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %86) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %85) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %84) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %83) #14
  br label %2157

2157:                                             ; preds = %2148, %1399, %1394, %1388
  call void @llvm.lifetime.start.p0(i64 8, ptr %114) #14
  store ptr null, ptr %114, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %115) #14
  store i32 0, ptr %115, align 4, !tbaa !9
  %2158 = load ptr, ptr %20, align 8, !tbaa !5
  %2159 = getelementptr inbounds %struct.ImGuiContext, ptr %2158, i32 0, i32 43
  %2160 = load i32, ptr %2159, align 4, !tbaa !106
  %2161 = load i32, ptr %29, align 4, !tbaa !9
  %2162 = icmp eq i32 %2160, %2161
  br i1 %2162, label %2163, label %2631

2163:                                             ; preds = %2157
  %2164 = load ptr, ptr %47, align 8, !tbaa !5
  %2165 = icmp ne ptr %2164, null
  br i1 %2165, label %2166, label %2167

2166:                                             ; preds = %2163
  br label %2169

2167:                                             ; preds = %2163
  call void @__assert_fail(ptr noundef @.str.63, ptr noundef @.str.2, i32 noundef 4461, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #15
  unreachable

2168:                                             ; No predecessors!
  br label %2169

2169:                                             ; preds = %2168, %2166
  %2170 = load i8, ptr %82, align 1, !tbaa !42, !range !40, !noundef !41
  %2171 = trunc i8 %2170 to i1
  br i1 %2171, label %2172, label %2246

2172:                                             ; preds = %2169
  %2173 = load i8, ptr %25, align 1, !tbaa !42, !range !40, !noundef !41
  %2174 = trunc i8 %2173 to i1
  br i1 %2174, label %2246, label %2175

2175:                                             ; preds = %2172
  %2176 = load i32, ptr %15, align 4, !tbaa !9
  %2177 = and i32 %2176, 1048576
  %2178 = icmp ne i32 %2177, 0
  br i1 %2178, label %2179, label %2183

2179:                                             ; preds = %2175
  store ptr @.str, ptr %114, align 8, !tbaa !5
  store i32 0, ptr %115, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2, ptr %116) #14
  %2180 = load ptr, ptr %47, align 8, !tbaa !5
  %2181 = load ptr, ptr %47, align 8, !tbaa !5
  %2182 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2181, i32 0, i32 11
  call void @_ZN5ImStbL20stb_textedit_replaceEP19ImGuiInputTextStatePNS_17STB_TexteditStateEPKti(ptr noundef %2180, ptr noundef %2182, ptr noundef %116, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 2, ptr %116) #14
  br label %2245

2183:                                             ; preds = %2175
  %2184 = load ptr, ptr %12, align 8, !tbaa !5
  %2185 = load ptr, ptr %47, align 8, !tbaa !5
  %2186 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2185, i32 0, i32 6
  %2187 = getelementptr inbounds %struct.ImVector.28, ptr %2186, i32 0, i32 2
  %2188 = load ptr, ptr %2187, align 8, !tbaa !113
  %2189 = call i32 @strcmp(ptr noundef %2184, ptr noundef %2188) #16
  %2190 = icmp ne i32 %2189, 0
  br i1 %2190, label %2191, label %2244

2191:                                             ; preds = %2183
  %2192 = load ptr, ptr %47, align 8, !tbaa !5
  %2193 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2192, i32 0, i32 6
  %2194 = getelementptr inbounds %struct.ImVector.28, ptr %2193, i32 0, i32 2
  %2195 = load ptr, ptr %2194, align 8, !tbaa !113
  store ptr %2195, ptr %114, align 8, !tbaa !5
  %2196 = load ptr, ptr %47, align 8, !tbaa !5
  %2197 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2196, i32 0, i32 6
  %2198 = getelementptr inbounds %struct.ImVector.28, ptr %2197, i32 0, i32 0
  %2199 = load i32, ptr %2198, align 8, !tbaa !171
  %2200 = sub nsw i32 %2199, 1
  store i32 %2200, ptr %115, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %117) #14
  call void @_ZN8ImVectorItEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %117)
  %2201 = load i32, ptr %115, align 4, !tbaa !9
  %2202 = icmp sgt i32 %2201, 0
  br i1 %2202, label %2203, label %2228

2203:                                             ; preds = %2191
  %2204 = load ptr, ptr %114, align 8, !tbaa !5
  %2205 = load ptr, ptr %114, align 8, !tbaa !5
  %2206 = load i32, ptr %115, align 4, !tbaa !9
  %2207 = sext i32 %2206 to i64
  %2208 = getelementptr inbounds i8, ptr %2205, i64 %2207
  %2209 = invoke noundef i32 @_Z24ImTextCountCharsFromUtf8PKcS0_(ptr noundef %2204, ptr noundef %2208)
          to label %2210 unwind label %2224

2210:                                             ; preds = %2203
  %2211 = add nsw i32 %2209, 1
  invoke void @_ZN8ImVectorItE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %117, i32 noundef %2211)
          to label %2212 unwind label %2224

2212:                                             ; preds = %2210
  %2213 = getelementptr inbounds %struct.ImVector.5, ptr %117, i32 0, i32 2
  %2214 = load ptr, ptr %2213, align 8, !tbaa !172
  %2215 = getelementptr inbounds %struct.ImVector.5, ptr %117, i32 0, i32 0
  %2216 = load i32, ptr %2215, align 8, !tbaa !173
  %2217 = load ptr, ptr %114, align 8, !tbaa !5
  %2218 = load ptr, ptr %114, align 8, !tbaa !5
  %2219 = load i32, ptr %115, align 4, !tbaa !9
  %2220 = sext i32 %2219 to i64
  %2221 = getelementptr inbounds i8, ptr %2218, i64 %2220
  %2222 = invoke noundef i32 @_Z17ImTextStrFromUtf8PtiPKcS1_PS1_(ptr noundef %2214, i32 noundef %2216, ptr noundef %2217, ptr noundef %2221, ptr noundef null)
          to label %2223 unwind label %2224

2223:                                             ; preds = %2212
  br label %2228

2224:                                             ; preds = %2241, %2212, %2210, %2203
  %2225 = landingpad { ptr, i32 }
          cleanup
  %2226 = extractvalue { ptr, i32 } %2225, 0
  store ptr %2226, ptr %118, align 8
  %2227 = extractvalue { ptr, i32 } %2225, 1
  store i32 %2227, ptr %119, align 4
  call void @_ZN8ImVectorItED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %117) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr %117) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %115) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %114) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %82) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %71) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %68) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %67) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %65) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %64) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %63) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %62) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %58) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %56) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %54) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #14
  call void @llvm.lifetime.end.p0(i64 60, ptr %41) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #14
  br label %3540

2228:                                             ; preds = %2223, %2191
  %2229 = load ptr, ptr %47, align 8, !tbaa !5
  %2230 = load ptr, ptr %47, align 8, !tbaa !5
  %2231 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2230, i32 0, i32 11
  %2232 = getelementptr inbounds %struct.ImVector.5, ptr %117, i32 0, i32 2
  %2233 = load ptr, ptr %2232, align 8, !tbaa !172
  %2234 = load i32, ptr %115, align 4, !tbaa !9
  %2235 = icmp sgt i32 %2234, 0
  br i1 %2235, label %2236, label %2240

2236:                                             ; preds = %2228
  %2237 = getelementptr inbounds %struct.ImVector.5, ptr %117, i32 0, i32 0
  %2238 = load i32, ptr %2237, align 8, !tbaa !173
  %2239 = sub nsw i32 %2238, 1
  br label %2241

2240:                                             ; preds = %2228
  br label %2241

2241:                                             ; preds = %2240, %2236
  %2242 = phi i32 [ %2239, %2236 ], [ 0, %2240 ]
  invoke void @_ZN5ImStbL20stb_textedit_replaceEP19ImGuiInputTextStatePNS_17STB_TexteditStateEPKti(ptr noundef %2229, ptr noundef %2231, ptr noundef %2233, i32 noundef %2242)
          to label %2243 unwind label %2224

2243:                                             ; preds = %2241
  call void @_ZN8ImVectorItED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %117) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr %117) #14
  br label %2244

2244:                                             ; preds = %2243, %2183
  br label %2245

2245:                                             ; preds = %2244, %2179
  br label %2246

2246:                                             ; preds = %2245, %2172, %2169
  %2247 = load i8, ptr %25, align 1, !tbaa !42, !range !40, !noundef !41
  %2248 = trunc i8 %2247 to i1
  br i1 %2248, label %2273, label %2249

2249:                                             ; preds = %2246
  %2250 = load ptr, ptr %47, align 8, !tbaa !5
  %2251 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2250, i32 0, i32 7
  store i8 1, ptr %2251, align 8, !tbaa !116
  %2252 = load ptr, ptr %47, align 8, !tbaa !5
  %2253 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2252, i32 0, i32 5
  %2254 = load ptr, ptr %47, align 8, !tbaa !5
  %2255 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2254, i32 0, i32 4
  %2256 = getelementptr inbounds %struct.ImVector.5, ptr %2255, i32 0, i32 0
  %2257 = load i32, ptr %2256, align 8, !tbaa !125
  %2258 = mul nsw i32 %2257, 4
  %2259 = add nsw i32 %2258, 1
  call void @_ZN8ImVectorIcE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %2253, i32 noundef %2259)
  %2260 = load ptr, ptr %47, align 8, !tbaa !5
  %2261 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2260, i32 0, i32 5
  %2262 = getelementptr inbounds %struct.ImVector.28, ptr %2261, i32 0, i32 2
  %2263 = load ptr, ptr %2262, align 8, !tbaa !117
  %2264 = load ptr, ptr %47, align 8, !tbaa !5
  %2265 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2264, i32 0, i32 5
  %2266 = getelementptr inbounds %struct.ImVector.28, ptr %2265, i32 0, i32 0
  %2267 = load i32, ptr %2266, align 8, !tbaa !174
  %2268 = load ptr, ptr %47, align 8, !tbaa !5
  %2269 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2268, i32 0, i32 4
  %2270 = getelementptr inbounds %struct.ImVector.5, ptr %2269, i32 0, i32 2
  %2271 = load ptr, ptr %2270, align 8, !tbaa !118
  %2272 = call noundef i32 @_Z15ImTextStrToUtf8PciPKtS1_(ptr noundef %2263, i32 noundef %2267, ptr noundef %2271, ptr noundef null)
  br label %2273

2273:                                             ; preds = %2249, %2246
  call void @llvm.lifetime.start.p0(i64 1, ptr %120) #14
  %2274 = load i8, ptr %82, align 1, !tbaa !42, !range !40, !noundef !41
  %2275 = trunc i8 %2274 to i1
  br i1 %2275, label %2276, label %2285

2276:                                             ; preds = %2273
  %2277 = load i8, ptr %65, align 1, !tbaa !42, !range !40, !noundef !41
  %2278 = trunc i8 %2277 to i1
  br i1 %2278, label %2279, label %2283

2279:                                             ; preds = %2276
  %2280 = load i32, ptr %15, align 4, !tbaa !9
  %2281 = and i32 %2280, 32
  %2282 = icmp ne i32 %2281, 0
  br label %2283

2283:                                             ; preds = %2279, %2276
  %2284 = phi i1 [ false, %2276 ], [ %2282, %2279 ]
  br label %2285

2285:                                             ; preds = %2283, %2273
  %2286 = phi i1 [ true, %2273 ], [ %2284, %2283 ]
  %2287 = zext i1 %2286 to i8
  store i8 %2287, ptr %120, align 1, !tbaa !42
  %2288 = load i8, ptr %120, align 1, !tbaa !42, !range !40, !noundef !41
  %2289 = trunc i8 %2288 to i1
  br i1 %2289, label %2290, label %2628

2290:                                             ; preds = %2285
  %2291 = load i32, ptr %15, align 4, !tbaa !9
  %2292 = and i32 %2291, 524736
  %2293 = icmp ne i32 %2292, 0
  br i1 %2293, label %2294, label %2608

2294:                                             ; preds = %2290
  %2295 = load ptr, ptr %16, align 8, !tbaa !5
  %2296 = icmp ne ptr %2295, null
  br i1 %2296, label %2297, label %2298

2297:                                             ; preds = %2294
  br label %2300

2298:                                             ; preds = %2294
  call void @__assert_fail(ptr noundef @.str.60, ptr noundef @.str.2, i32 noundef 4510, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #15
  unreachable

2299:                                             ; No predecessors!
  br label %2300

2300:                                             ; preds = %2299, %2297
  call void @llvm.lifetime.start.p0(i64 4, ptr %121) #14
  store i32 0, ptr %121, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %122) #14
  store i32 0, ptr %122, align 4, !tbaa !175
  %2301 = load i32, ptr %15, align 4, !tbaa !9
  %2302 = and i32 %2301, 64
  %2303 = icmp ne i32 %2302, 0
  br i1 %2303, label %2304, label %2307

2304:                                             ; preds = %2300
  %2305 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 512, i1 noundef zeroext true)
  br i1 %2305, label %2306, label %2307

2306:                                             ; preds = %2304
  store i32 64, ptr %121, align 4, !tbaa !9
  store i32 512, ptr %122, align 4, !tbaa !175
  br label %2340

2307:                                             ; preds = %2304, %2300
  %2308 = load i32, ptr %15, align 4, !tbaa !9
  %2309 = and i32 %2308, 128
  %2310 = icmp ne i32 %2309, 0
  br i1 %2310, label %2311, label %2314

2311:                                             ; preds = %2307
  %2312 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 515, i1 noundef zeroext true)
  br i1 %2312, label %2313, label %2314

2313:                                             ; preds = %2311
  store i32 128, ptr %121, align 4, !tbaa !9
  store i32 515, ptr %122, align 4, !tbaa !175
  br label %2339

2314:                                             ; preds = %2311, %2307
  %2315 = load i32, ptr %15, align 4, !tbaa !9
  %2316 = and i32 %2315, 128
  %2317 = icmp ne i32 %2316, 0
  br i1 %2317, label %2318, label %2321

2318:                                             ; preds = %2314
  %2319 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 516, i1 noundef zeroext true)
  br i1 %2319, label %2320, label %2321

2320:                                             ; preds = %2318
  store i32 128, ptr %121, align 4, !tbaa !9
  store i32 516, ptr %122, align 4, !tbaa !175
  br label %2338

2321:                                             ; preds = %2318, %2314
  %2322 = load i32, ptr %15, align 4, !tbaa !9
  %2323 = and i32 %2322, 524288
  %2324 = icmp ne i32 %2323, 0
  br i1 %2324, label %2325, label %2331

2325:                                             ; preds = %2321
  %2326 = load ptr, ptr %47, align 8, !tbaa !5
  %2327 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2326, i32 0, i32 15
  %2328 = load i8, ptr %2327, align 2, !tbaa !137, !range !40, !noundef !41
  %2329 = trunc i8 %2328 to i1
  br i1 %2329, label %2330, label %2331

2330:                                             ; preds = %2325
  store i32 524288, ptr %121, align 4, !tbaa !9
  br label %2337

2331:                                             ; preds = %2325, %2321
  %2332 = load i32, ptr %15, align 4, !tbaa !9
  %2333 = and i32 %2332, 256
  %2334 = icmp ne i32 %2333, 0
  br i1 %2334, label %2335, label %2336

2335:                                             ; preds = %2331
  store i32 256, ptr %121, align 4, !tbaa !9
  br label %2336

2336:                                             ; preds = %2335, %2331
  br label %2337

2337:                                             ; preds = %2336, %2330
  br label %2338

2338:                                             ; preds = %2337, %2320
  br label %2339

2339:                                             ; preds = %2338, %2313
  br label %2340

2340:                                             ; preds = %2339, %2306
  %2341 = load i32, ptr %121, align 4, !tbaa !9
  %2342 = icmp ne i32 %2341, 0
  br i1 %2342, label %2343, label %2607

2343:                                             ; preds = %2340
  call void @llvm.lifetime.start.p0(i64 56, ptr %123) #14
  call void @_ZN26ImGuiInputTextCallbackDataC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %123)
  call void @llvm.memset.p0.i64(ptr align 8 %123, i8 0, i64 56, i1 false)
  %2344 = load i32, ptr %121, align 4, !tbaa !9
  %2345 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 0
  store i32 %2344, ptr %2345, align 8, !tbaa !177
  %2346 = load i32, ptr %15, align 4, !tbaa !9
  %2347 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 1
  store i32 %2346, ptr %2347, align 4, !tbaa !179
  %2348 = load ptr, ptr %17, align 8, !tbaa !5
  %2349 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 2
  store ptr %2348, ptr %2349, align 8, !tbaa !180
  call void @llvm.lifetime.start.p0(i64 8, ptr %124) #14
  %2350 = load i8, ptr %25, align 1, !tbaa !42, !range !40, !noundef !41
  %2351 = trunc i8 %2350 to i1
  br i1 %2351, label %2352, label %2354

2352:                                             ; preds = %2343
  %2353 = load ptr, ptr %12, align 8, !tbaa !5
  br label %2359

2354:                                             ; preds = %2343
  %2355 = load ptr, ptr %47, align 8, !tbaa !5
  %2356 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2355, i32 0, i32 5
  %2357 = getelementptr inbounds %struct.ImVector.28, ptr %2356, i32 0, i32 2
  %2358 = load ptr, ptr %2357, align 8, !tbaa !117
  br label %2359

2359:                                             ; preds = %2354, %2352
  %2360 = phi ptr [ %2353, %2352 ], [ %2358, %2354 ]
  store ptr %2360, ptr %124, align 8, !tbaa !5
  %2361 = load i32, ptr %122, align 4, !tbaa !175
  %2362 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 4
  store i32 %2361, ptr %2362, align 4, !tbaa !181
  %2363 = load ptr, ptr %124, align 8, !tbaa !5
  %2364 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 5
  store ptr %2363, ptr %2364, align 8, !tbaa !182
  %2365 = load ptr, ptr %47, align 8, !tbaa !5
  %2366 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2365, i32 0, i32 2
  %2367 = load i32, ptr %2366, align 8, !tbaa !115
  %2368 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 6
  store i32 %2367, ptr %2368, align 8, !tbaa !183
  %2369 = load ptr, ptr %47, align 8, !tbaa !5
  %2370 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2369, i32 0, i32 9
  %2371 = load i32, ptr %2370, align 4, !tbaa !138
  %2372 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 7
  store i32 %2371, ptr %2372, align 4, !tbaa !184
  %2373 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 8
  store i8 0, ptr %2373, align 8, !tbaa !185
  call void @llvm.lifetime.start.p0(i64 8, ptr %125) #14
  %2374 = load ptr, ptr %47, align 8, !tbaa !5
  %2375 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2374, i32 0, i32 4
  %2376 = getelementptr inbounds %struct.ImVector.5, ptr %2375, i32 0, i32 2
  %2377 = load ptr, ptr %2376, align 8, !tbaa !118
  store ptr %2377, ptr %125, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %126) #14
  %2378 = load ptr, ptr %125, align 8, !tbaa !5
  %2379 = load ptr, ptr %125, align 8, !tbaa !5
  %2380 = load ptr, ptr %47, align 8, !tbaa !5
  %2381 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2380, i32 0, i32 11
  %2382 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %2381, i32 0, i32 0
  %2383 = load i32, ptr %2382, align 4, !tbaa !151
  %2384 = sext i32 %2383 to i64
  %2385 = getelementptr inbounds i16, ptr %2379, i64 %2384
  %2386 = call noundef i32 @_Z27ImTextCountUtf8BytesFromStrPKtS0_(ptr noundef %2378, ptr noundef %2385)
  %2387 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 9
  store i32 %2386, ptr %2387, align 4, !tbaa !186
  store i32 %2386, ptr %126, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %127) #14
  %2388 = load ptr, ptr %125, align 8, !tbaa !5
  %2389 = load ptr, ptr %125, align 8, !tbaa !5
  %2390 = load ptr, ptr %47, align 8, !tbaa !5
  %2391 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2390, i32 0, i32 11
  %2392 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %2391, i32 0, i32 1
  %2393 = load i32, ptr %2392, align 4, !tbaa !152
  %2394 = sext i32 %2393 to i64
  %2395 = getelementptr inbounds i16, ptr %2389, i64 %2394
  %2396 = call noundef i32 @_Z27ImTextCountUtf8BytesFromStrPKtS0_(ptr noundef %2388, ptr noundef %2395)
  %2397 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 10
  store i32 %2396, ptr %2397, align 8, !tbaa !187
  store i32 %2396, ptr %127, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %128) #14
  %2398 = load ptr, ptr %125, align 8, !tbaa !5
  %2399 = load ptr, ptr %125, align 8, !tbaa !5
  %2400 = load ptr, ptr %47, align 8, !tbaa !5
  %2401 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2400, i32 0, i32 11
  %2402 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %2401, i32 0, i32 2
  %2403 = load i32, ptr %2402, align 4, !tbaa !153
  %2404 = sext i32 %2403 to i64
  %2405 = getelementptr inbounds i16, ptr %2399, i64 %2404
  %2406 = call noundef i32 @_Z27ImTextCountUtf8BytesFromStrPKtS0_(ptr noundef %2398, ptr noundef %2405)
  %2407 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 11
  store i32 %2406, ptr %2407, align 4, !tbaa !188
  store i32 %2406, ptr %128, align 4, !tbaa !9
  %2408 = load ptr, ptr %16, align 8, !tbaa !5
  %2409 = call noundef i32 %2408(ptr noundef %123)
  %2410 = load i8, ptr %25, align 1, !tbaa !42, !range !40, !noundef !41
  %2411 = trunc i8 %2410 to i1
  br i1 %2411, label %2412, label %2414

2412:                                             ; preds = %2359
  %2413 = load ptr, ptr %12, align 8, !tbaa !5
  br label %2419

2414:                                             ; preds = %2359
  %2415 = load ptr, ptr %47, align 8, !tbaa !5
  %2416 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2415, i32 0, i32 5
  %2417 = getelementptr inbounds %struct.ImVector.28, ptr %2416, i32 0, i32 2
  %2418 = load ptr, ptr %2417, align 8, !tbaa !117
  br label %2419

2419:                                             ; preds = %2414, %2412
  %2420 = phi ptr [ %2413, %2412 ], [ %2418, %2414 ]
  store ptr %2420, ptr %124, align 8, !tbaa !5
  %2421 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 5
  %2422 = load ptr, ptr %2421, align 8, !tbaa !182
  %2423 = load ptr, ptr %124, align 8, !tbaa !5
  %2424 = icmp eq ptr %2422, %2423
  br i1 %2424, label %2425, label %2426

2425:                                             ; preds = %2419
  br label %2428

2426:                                             ; preds = %2419
  call void @__assert_fail(ptr noundef @.str.64, ptr noundef @.str.2, i32 noundef 4565, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #15
  unreachable

2427:                                             ; No predecessors!
  br label %2428

2428:                                             ; preds = %2427, %2425
  %2429 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 7
  %2430 = load i32, ptr %2429, align 4, !tbaa !184
  %2431 = load ptr, ptr %47, align 8, !tbaa !5
  %2432 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2431, i32 0, i32 9
  %2433 = load i32, ptr %2432, align 4, !tbaa !138
  %2434 = icmp eq i32 %2430, %2433
  br i1 %2434, label %2435, label %2436

2435:                                             ; preds = %2428
  br label %2438

2436:                                             ; preds = %2428
  call void @__assert_fail(ptr noundef @.str.65, ptr noundef @.str.2, i32 noundef 4566, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #15
  unreachable

2437:                                             ; No predecessors!
  br label %2438

2438:                                             ; preds = %2437, %2435
  %2439 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 1
  %2440 = load i32, ptr %2439, align 4, !tbaa !179
  %2441 = load i32, ptr %15, align 4, !tbaa !9
  %2442 = icmp eq i32 %2440, %2441
  br i1 %2442, label %2443, label %2444

2443:                                             ; preds = %2438
  br label %2446

2444:                                             ; preds = %2438
  call void @__assert_fail(ptr noundef @.str.66, ptr noundef @.str.2, i32 noundef 4567, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #15
  unreachable

2445:                                             ; No predecessors!
  br label %2446

2446:                                             ; preds = %2445, %2443
  call void @llvm.lifetime.start.p0(i64 1, ptr %129) #14
  %2447 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 8
  %2448 = load i8, ptr %2447, align 8, !tbaa !185, !range !40, !noundef !41
  %2449 = trunc i8 %2448 to i1
  %2450 = zext i1 %2449 to i8
  store i8 %2450, ptr %129, align 1, !tbaa !42
  %2451 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 9
  %2452 = load i32, ptr %2451, align 4, !tbaa !186
  %2453 = load i32, ptr %126, align 4, !tbaa !9
  %2454 = icmp ne i32 %2452, %2453
  br i1 %2454, label %2458, label %2455

2455:                                             ; preds = %2446
  %2456 = load i8, ptr %129, align 1, !tbaa !42, !range !40, !noundef !41
  %2457 = trunc i8 %2456 to i1
  br i1 %2457, label %2458, label %2473

2458:                                             ; preds = %2455, %2446
  %2459 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 5
  %2460 = load ptr, ptr %2459, align 8, !tbaa !182
  %2461 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 5
  %2462 = load ptr, ptr %2461, align 8, !tbaa !182
  %2463 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 9
  %2464 = load i32, ptr %2463, align 4, !tbaa !186
  %2465 = sext i32 %2464 to i64
  %2466 = getelementptr inbounds i8, ptr %2462, i64 %2465
  %2467 = call noundef i32 @_Z24ImTextCountCharsFromUtf8PKcS0_(ptr noundef %2460, ptr noundef %2466)
  %2468 = load ptr, ptr %47, align 8, !tbaa !5
  %2469 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2468, i32 0, i32 11
  %2470 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %2469, i32 0, i32 0
  store i32 %2467, ptr %2470, align 4, !tbaa !151
  %2471 = load ptr, ptr %47, align 8, !tbaa !5
  %2472 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2471, i32 0, i32 13
  store i8 1, ptr %2472, align 4, !tbaa !154
  br label %2473

2473:                                             ; preds = %2458, %2455
  %2474 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 10
  %2475 = load i32, ptr %2474, align 8, !tbaa !187
  %2476 = load i32, ptr %127, align 4, !tbaa !9
  %2477 = icmp ne i32 %2475, %2476
  br i1 %2477, label %2481, label %2478

2478:                                             ; preds = %2473
  %2479 = load i8, ptr %129, align 1, !tbaa !42, !range !40, !noundef !41
  %2480 = trunc i8 %2479 to i1
  br i1 %2480, label %2481, label %2507

2481:                                             ; preds = %2478, %2473
  %2482 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 10
  %2483 = load i32, ptr %2482, align 8, !tbaa !187
  %2484 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 9
  %2485 = load i32, ptr %2484, align 4, !tbaa !186
  %2486 = icmp eq i32 %2483, %2485
  br i1 %2486, label %2487, label %2492

2487:                                             ; preds = %2481
  %2488 = load ptr, ptr %47, align 8, !tbaa !5
  %2489 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2488, i32 0, i32 11
  %2490 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %2489, i32 0, i32 0
  %2491 = load i32, ptr %2490, align 4, !tbaa !151
  br label %2502

2492:                                             ; preds = %2481
  %2493 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 5
  %2494 = load ptr, ptr %2493, align 8, !tbaa !182
  %2495 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 5
  %2496 = load ptr, ptr %2495, align 8, !tbaa !182
  %2497 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 10
  %2498 = load i32, ptr %2497, align 8, !tbaa !187
  %2499 = sext i32 %2498 to i64
  %2500 = getelementptr inbounds i8, ptr %2496, i64 %2499
  %2501 = call noundef i32 @_Z24ImTextCountCharsFromUtf8PKcS0_(ptr noundef %2494, ptr noundef %2500)
  br label %2502

2502:                                             ; preds = %2492, %2487
  %2503 = phi i32 [ %2491, %2487 ], [ %2501, %2492 ]
  %2504 = load ptr, ptr %47, align 8, !tbaa !5
  %2505 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2504, i32 0, i32 11
  %2506 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %2505, i32 0, i32 1
  store i32 %2503, ptr %2506, align 4, !tbaa !152
  br label %2507

2507:                                             ; preds = %2502, %2478
  %2508 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 11
  %2509 = load i32, ptr %2508, align 4, !tbaa !188
  %2510 = load i32, ptr %128, align 4, !tbaa !9
  %2511 = icmp ne i32 %2509, %2510
  br i1 %2511, label %2515, label %2512

2512:                                             ; preds = %2507
  %2513 = load i8, ptr %129, align 1, !tbaa !42, !range !40, !noundef !41
  %2514 = trunc i8 %2513 to i1
  br i1 %2514, label %2515, label %2541

2515:                                             ; preds = %2512, %2507
  %2516 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 11
  %2517 = load i32, ptr %2516, align 4, !tbaa !188
  %2518 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 10
  %2519 = load i32, ptr %2518, align 8, !tbaa !187
  %2520 = icmp eq i32 %2517, %2519
  br i1 %2520, label %2521, label %2526

2521:                                             ; preds = %2515
  %2522 = load ptr, ptr %47, align 8, !tbaa !5
  %2523 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2522, i32 0, i32 11
  %2524 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %2523, i32 0, i32 1
  %2525 = load i32, ptr %2524, align 4, !tbaa !152
  br label %2536

2526:                                             ; preds = %2515
  %2527 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 5
  %2528 = load ptr, ptr %2527, align 8, !tbaa !182
  %2529 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 5
  %2530 = load ptr, ptr %2529, align 8, !tbaa !182
  %2531 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 11
  %2532 = load i32, ptr %2531, align 4, !tbaa !188
  %2533 = sext i32 %2532 to i64
  %2534 = getelementptr inbounds i8, ptr %2530, i64 %2533
  %2535 = call noundef i32 @_Z24ImTextCountCharsFromUtf8PKcS0_(ptr noundef %2528, ptr noundef %2534)
  br label %2536

2536:                                             ; preds = %2526, %2521
  %2537 = phi i32 [ %2525, %2521 ], [ %2535, %2526 ]
  %2538 = load ptr, ptr %47, align 8, !tbaa !5
  %2539 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2538, i32 0, i32 11
  %2540 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %2539, i32 0, i32 2
  store i32 %2537, ptr %2540, align 4, !tbaa !153
  br label %2541

2541:                                             ; preds = %2536, %2512
  %2542 = load i8, ptr %129, align 1, !tbaa !42, !range !40, !noundef !41
  %2543 = trunc i8 %2542 to i1
  br i1 %2543, label %2544, label %2606

2544:                                             ; preds = %2541
  %2545 = load i32, ptr %15, align 4, !tbaa !9
  %2546 = and i32 %2545, 16384
  %2547 = icmp eq i32 %2546, 0
  br i1 %2547, label %2548, label %2549

2548:                                             ; preds = %2544
  br label %2551

2549:                                             ; preds = %2544
  call void @__assert_fail(ptr noundef @.str.67, ptr noundef @.str.2, i32 noundef 4574, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #15
  unreachable

2550:                                             ; No predecessors!
  br label %2551

2551:                                             ; preds = %2550, %2548
  %2552 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 6
  %2553 = load i32, ptr %2552, align 8, !tbaa !183
  %2554 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 5
  %2555 = load ptr, ptr %2554, align 8, !tbaa !182
  %2556 = call i64 @strlen(ptr noundef %2555) #16
  %2557 = trunc i64 %2556 to i32
  %2558 = icmp eq i32 %2553, %2557
  br i1 %2558, label %2559, label %2560

2559:                                             ; preds = %2551
  br label %2562

2560:                                             ; preds = %2551
  call void @__assert_fail(ptr noundef @.str.68, ptr noundef @.str.2, i32 noundef 4575, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #15
  unreachable

2561:                                             ; No predecessors!
  br label %2562

2562:                                             ; preds = %2561, %2559
  %2563 = load ptr, ptr %47, align 8, !tbaa !5
  %2564 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 5
  %2565 = load ptr, ptr %2564, align 8, !tbaa !182
  %2566 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 6
  %2567 = load i32, ptr %2566, align 8, !tbaa !183
  call void @_ZL44InputTextReconcileUndoStateAfterUserCallbackP19ImGuiInputTextStatePKci(ptr noundef %2563, ptr noundef %2565, i32 noundef %2567)
  %2568 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 6
  %2569 = load i32, ptr %2568, align 8, !tbaa !183
  %2570 = load i32, ptr %71, align 4, !tbaa !9
  %2571 = icmp sgt i32 %2569, %2570
  br i1 %2571, label %2572, label %2587

2572:                                             ; preds = %2562
  %2573 = load i8, ptr %28, align 1, !tbaa !42, !range !40, !noundef !41
  %2574 = trunc i8 %2573 to i1
  br i1 %2574, label %2575, label %2587

2575:                                             ; preds = %2572
  %2576 = load ptr, ptr %47, align 8, !tbaa !5
  %2577 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2576, i32 0, i32 4
  %2578 = load ptr, ptr %47, align 8, !tbaa !5
  %2579 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2578, i32 0, i32 4
  %2580 = getelementptr inbounds %struct.ImVector.5, ptr %2579, i32 0, i32 0
  %2581 = load i32, ptr %2580, align 8, !tbaa !125
  %2582 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 6
  %2583 = load i32, ptr %2582, align 8, !tbaa !183
  %2584 = load i32, ptr %71, align 4, !tbaa !9
  %2585 = sub nsw i32 %2583, %2584
  %2586 = add nsw i32 %2581, %2585
  call void @_ZN8ImVectorItE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %2577, i32 noundef %2586)
  br label %2587

2587:                                             ; preds = %2575, %2572, %2562
  %2588 = load ptr, ptr %47, align 8, !tbaa !5
  %2589 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2588, i32 0, i32 4
  %2590 = getelementptr inbounds %struct.ImVector.5, ptr %2589, i32 0, i32 2
  %2591 = load ptr, ptr %2590, align 8, !tbaa !118
  %2592 = load ptr, ptr %47, align 8, !tbaa !5
  %2593 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2592, i32 0, i32 4
  %2594 = getelementptr inbounds %struct.ImVector.5, ptr %2593, i32 0, i32 0
  %2595 = load i32, ptr %2594, align 8, !tbaa !125
  %2596 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 5
  %2597 = load ptr, ptr %2596, align 8, !tbaa !182
  %2598 = call noundef i32 @_Z17ImTextStrFromUtf8PtiPKcS1_PS1_(ptr noundef %2591, i32 noundef %2595, ptr noundef %2597, ptr noundef null, ptr noundef null)
  %2599 = load ptr, ptr %47, align 8, !tbaa !5
  %2600 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2599, i32 0, i32 1
  store i32 %2598, ptr %2600, align 4, !tbaa !119
  %2601 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %123, i32 0, i32 6
  %2602 = load i32, ptr %2601, align 8, !tbaa !183
  %2603 = load ptr, ptr %47, align 8, !tbaa !5
  %2604 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2603, i32 0, i32 2
  store i32 %2602, ptr %2604, align 8, !tbaa !115
  %2605 = load ptr, ptr %47, align 8, !tbaa !5
  call void @_ZN19ImGuiInputTextState15CursorAnimResetEv(ptr noundef nonnull align 8 dereferenceable(3716) %2605)
  br label %2606

2606:                                             ; preds = %2587, %2541
  call void @llvm.lifetime.end.p0(i64 1, ptr %129) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %128) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %127) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %126) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %125) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %124) #14
  call void @llvm.lifetime.end.p0(i64 56, ptr %123) #14
  br label %2607

2607:                                             ; preds = %2606, %2340
  call void @llvm.lifetime.end.p0(i64 4, ptr %122) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %121) #14
  br label %2608

2608:                                             ; preds = %2607, %2290
  %2609 = load i8, ptr %25, align 1, !tbaa !42, !range !40, !noundef !41
  %2610 = trunc i8 %2609 to i1
  br i1 %2610, label %2627, label %2611

2611:                                             ; preds = %2608
  %2612 = load ptr, ptr %47, align 8, !tbaa !5
  %2613 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2612, i32 0, i32 5
  %2614 = getelementptr inbounds %struct.ImVector.28, ptr %2613, i32 0, i32 2
  %2615 = load ptr, ptr %2614, align 8, !tbaa !117
  %2616 = load ptr, ptr %12, align 8, !tbaa !5
  %2617 = call i32 @strcmp(ptr noundef %2615, ptr noundef %2616) #16
  %2618 = icmp ne i32 %2617, 0
  br i1 %2618, label %2619, label %2627

2619:                                             ; preds = %2611
  %2620 = load ptr, ptr %47, align 8, !tbaa !5
  %2621 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2620, i32 0, i32 5
  %2622 = getelementptr inbounds %struct.ImVector.28, ptr %2621, i32 0, i32 2
  %2623 = load ptr, ptr %2622, align 8, !tbaa !117
  store ptr %2623, ptr %114, align 8, !tbaa !5
  %2624 = load ptr, ptr %47, align 8, !tbaa !5
  %2625 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2624, i32 0, i32 2
  %2626 = load i32, ptr %2625, align 8, !tbaa !115
  store i32 %2626, ptr %115, align 4, !tbaa !9
  br label %2627

2627:                                             ; preds = %2619, %2611, %2608
  br label %2628

2628:                                             ; preds = %2627, %2285
  %2629 = load ptr, ptr %47, align 8, !tbaa !5
  %2630 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2629, i32 0, i32 17
  store i32 0, ptr %2630, align 8, !tbaa !139
  call void @llvm.lifetime.end.p0(i64 1, ptr %120) #14
  br label %2631

2631:                                             ; preds = %2628, %2157
  %2632 = load ptr, ptr %114, align 8, !tbaa !5
  %2633 = icmp ne ptr %2632, null
  br i1 %2633, label %2634, label %2684

2634:                                             ; preds = %2631
  %2635 = load i32, ptr %115, align 4, !tbaa !9
  %2636 = icmp sge i32 %2635, 0
  br i1 %2636, label %2637, label %2638

2637:                                             ; preds = %2634
  br label %2640

2638:                                             ; preds = %2634
  call void @__assert_fail(ptr noundef @.str.69, ptr noundef @.str.2, i32 noundef 4604, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #15
  unreachable

2639:                                             ; No predecessors!
  br label %2640

2640:                                             ; preds = %2639, %2637
  %2641 = load i8, ptr %28, align 1, !tbaa !42, !range !40, !noundef !41
  %2642 = trunc i8 %2641 to i1
  br i1 %2642, label %2643, label %2676

2643:                                             ; preds = %2640
  call void @llvm.lifetime.start.p0(i64 56, ptr %130) #14
  call void @_ZN26ImGuiInputTextCallbackDataC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %130)
  %2644 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %130, i32 0, i32 0
  store i32 262144, ptr %2644, align 8, !tbaa !177
  %2645 = load i32, ptr %15, align 4, !tbaa !9
  %2646 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %130, i32 0, i32 1
  store i32 %2645, ptr %2646, align 4, !tbaa !179
  %2647 = load ptr, ptr %12, align 8, !tbaa !5
  %2648 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %130, i32 0, i32 5
  store ptr %2647, ptr %2648, align 8, !tbaa !182
  %2649 = load i32, ptr %115, align 4, !tbaa !9
  %2650 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %130, i32 0, i32 6
  store i32 %2649, ptr %2650, align 8, !tbaa !183
  %2651 = load i32, ptr %13, align 4, !tbaa !9
  %2652 = load i32, ptr %115, align 4, !tbaa !9
  %2653 = add nsw i32 %2652, 1
  %2654 = call noundef i32 @_ZL5ImMaxIiET_S0_S0_(i32 noundef %2651, i32 noundef %2653)
  %2655 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %130, i32 0, i32 7
  store i32 %2654, ptr %2655, align 4, !tbaa !184
  %2656 = load ptr, ptr %17, align 8, !tbaa !5
  %2657 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %130, i32 0, i32 2
  store ptr %2656, ptr %2657, align 8, !tbaa !180
  %2658 = load ptr, ptr %16, align 8, !tbaa !5
  %2659 = call noundef i32 %2658(ptr noundef %130)
  %2660 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %130, i32 0, i32 5
  %2661 = load ptr, ptr %2660, align 8, !tbaa !182
  store ptr %2661, ptr %12, align 8, !tbaa !5
  %2662 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %130, i32 0, i32 7
  %2663 = load i32, ptr %2662, align 4, !tbaa !184
  store i32 %2663, ptr %13, align 4, !tbaa !9
  %2664 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %130, i32 0, i32 6
  %2665 = load i32, ptr %2664, align 8, !tbaa !183
  %2666 = load i32, ptr %13, align 4, !tbaa !9
  %2667 = sub nsw i32 %2666, 1
  %2668 = call noundef i32 @_ZL5ImMinIiET_S0_S0_(i32 noundef %2665, i32 noundef %2667)
  store i32 %2668, ptr %115, align 4, !tbaa !9
  %2669 = load i32, ptr %115, align 4, !tbaa !9
  %2670 = load i32, ptr %13, align 4, !tbaa !9
  %2671 = icmp sle i32 %2669, %2670
  br i1 %2671, label %2672, label %2673

2672:                                             ; preds = %2643
  br label %2675

2673:                                             ; preds = %2643
  call void @__assert_fail(ptr noundef @.str.70, ptr noundef @.str.2, i32 noundef 4618, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #15
  unreachable

2674:                                             ; No predecessors!
  br label %2675

2675:                                             ; preds = %2674, %2672
  call void @llvm.lifetime.end.p0(i64 56, ptr %130) #14
  br label %2676

2676:                                             ; preds = %2675, %2640
  %2677 = load ptr, ptr %12, align 8, !tbaa !5
  %2678 = load ptr, ptr %114, align 8, !tbaa !5
  %2679 = load i32, ptr %115, align 4, !tbaa !9
  %2680 = add nsw i32 %2679, 1
  %2681 = load i32, ptr %13, align 4, !tbaa !9
  %2682 = call noundef i32 @_ZL5ImMinIiET_S0_S0_(i32 noundef %2680, i32 noundef %2681)
  %2683 = sext i32 %2682 to i64
  call void @_Z9ImStrncpyPcPKcm(ptr noundef %2677, ptr noundef %2678, i64 noundef %2683)
  store i8 1, ptr %64, align 1, !tbaa !42
  br label %2684

2684:                                             ; preds = %2676, %2631
  %2685 = load i8, ptr %53, align 1, !tbaa !42, !range !40, !noundef !41
  %2686 = trunc i8 %2685 to i1
  br i1 %2686, label %2687, label %2694

2687:                                             ; preds = %2684
  %2688 = load ptr, ptr %20, align 8, !tbaa !5
  %2689 = getelementptr inbounds %struct.ImGuiContext, ptr %2688, i32 0, i32 43
  %2690 = load i32, ptr %2689, align 4, !tbaa !106
  %2691 = load i32, ptr %29, align 4, !tbaa !9
  %2692 = icmp eq i32 %2690, %2691
  br i1 %2692, label %2693, label %2694

2693:                                             ; preds = %2687
  call void @_ZN5ImGui13ClearActiveIDEv()
  br label %2694

2694:                                             ; preds = %2693, %2687, %2684
  %2695 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %2696 = trunc i8 %2695 to i1
  br i1 %2696, label %2707, label %2697

2697:                                             ; preds = %2694
  %2698 = load i32, ptr %29, align 4, !tbaa !9
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %34, i32 noundef %2698, i32 noundef 1)
  %2699 = getelementptr inbounds %struct.ImRect, ptr %34, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %131, ptr align 4 %2699, i64 8, i1 false), !tbaa.struct !43
  %2700 = getelementptr inbounds %struct.ImRect, ptr %34, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %132, ptr align 4 %2700, i64 8, i1 false), !tbaa.struct !43
  %2701 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 7, float noundef 1.000000e+00)
  %2702 = load ptr, ptr %22, align 8, !tbaa !5
  %2703 = getelementptr inbounds %struct.ImGuiStyle, ptr %2702, i32 0, i32 13
  %2704 = load float, ptr %2703, align 4, !tbaa !99
  %2705 = load <2 x float>, ptr %131, align 4
  %2706 = load <2 x float>, ptr %132, align 4
  call void @_ZN5ImGui11RenderFrameE6ImVec2S0_jbf(<2 x float> %2705, <2 x float> %2706, i32 noundef %2701, i1 noundef zeroext true, float noundef %2704)
  br label %2707

2707:                                             ; preds = %2697, %2694
  call void @llvm.lifetime.start.p0(i64 16, ptr %133) #14
  %2708 = getelementptr inbounds %struct.ImRect, ptr %34, i32 0, i32 0
  %2709 = getelementptr inbounds %struct.ImVec2, ptr %2708, i32 0, i32 0
  %2710 = load float, ptr %2709, align 4, !tbaa !143
  %2711 = getelementptr inbounds %struct.ImRect, ptr %34, i32 0, i32 0
  %2712 = getelementptr inbounds %struct.ImVec2, ptr %2711, i32 0, i32 1
  %2713 = load float, ptr %2712, align 4, !tbaa !189
  %2714 = getelementptr inbounds %struct.ImRect, ptr %34, i32 0, i32 0
  %2715 = getelementptr inbounds %struct.ImVec2, ptr %2714, i32 0, i32 0
  %2716 = load float, ptr %2715, align 4, !tbaa !143
  %2717 = getelementptr inbounds %struct.ImVec2, ptr %39, i32 0, i32 0
  %2718 = load float, ptr %2717, align 4, !tbaa !95
  %2719 = fadd float %2716, %2718
  %2720 = getelementptr inbounds %struct.ImRect, ptr %34, i32 0, i32 0
  %2721 = getelementptr inbounds %struct.ImVec2, ptr %2720, i32 0, i32 1
  %2722 = load float, ptr %2721, align 4, !tbaa !189
  %2723 = getelementptr inbounds %struct.ImVec2, ptr %39, i32 0, i32 1
  %2724 = load float, ptr %2723, align 4, !tbaa !93
  %2725 = fadd float %2722, %2724
  call void @_ZN6ImVec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %133, float noundef %2710, float noundef %2713, float noundef %2719, float noundef %2725)
  call void @llvm.lifetime.start.p0(i64 8, ptr %134) #14
  %2726 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %2727 = trunc i8 %2726 to i1
  br i1 %2727, label %2728, label %2732

2728:                                             ; preds = %2707
  %2729 = load ptr, ptr %38, align 8, !tbaa !5
  %2730 = getelementptr inbounds %struct.ImGuiWindow, ptr %2729, i32 0, i32 55
  %2731 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %2730, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %134, ptr align 8 %2731, i64 8, i1 false), !tbaa.struct !43
  br label %2737

2732:                                             ; preds = %2707
  %2733 = getelementptr inbounds %struct.ImRect, ptr %34, i32 0, i32 0
  %2734 = load ptr, ptr %22, align 8, !tbaa !5
  %2735 = getelementptr inbounds %struct.ImGuiStyle, ptr %2734, i32 0, i32 12
  %2736 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %2733, ptr noundef nonnull align 4 dereferenceable(8) %2735)
  store <2 x float> %2736, ptr %134, align 4
  br label %2737

2737:                                             ; preds = %2732, %2728
  call void @llvm.lifetime.start.p0(i64 8, ptr %135) #14
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %135, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %136) #14
  store i32 2097152, ptr %136, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %137) #14
  %2738 = load i8, ptr %67, align 1, !tbaa !42, !range !40, !noundef !41
  %2739 = trunc i8 %2738 to i1
  br i1 %2739, label %2740, label %2745

2740:                                             ; preds = %2737
  %2741 = load ptr, ptr %47, align 8, !tbaa !5
  %2742 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2741, i32 0, i32 5
  %2743 = getelementptr inbounds %struct.ImVector.28, ptr %2742, i32 0, i32 2
  %2744 = load ptr, ptr %2743, align 8, !tbaa !117
  br label %2747

2745:                                             ; preds = %2737
  %2746 = load ptr, ptr %12, align 8, !tbaa !5
  br label %2747

2747:                                             ; preds = %2745, %2740
  %2748 = phi ptr [ %2744, %2740 ], [ %2746, %2745 ]
  store ptr %2748, ptr %137, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %138) #14
  store ptr null, ptr %138, align 8, !tbaa !5
  %2749 = load i8, ptr %68, align 1, !tbaa !42, !range !40, !noundef !41
  %2750 = trunc i8 %2749 to i1
  br i1 %2750, label %2751, label %2757

2751:                                             ; preds = %2747
  %2752 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %2752, ptr %137, align 8, !tbaa !5
  %2753 = load ptr, ptr %11, align 8, !tbaa !5
  %2754 = load ptr, ptr %11, align 8, !tbaa !5
  %2755 = call i64 @strlen(ptr noundef %2754) #16
  %2756 = getelementptr inbounds i8, ptr %2753, i64 %2755
  store ptr %2756, ptr %138, align 8, !tbaa !5
  br label %2757

2757:                                             ; preds = %2751, %2747
  %2758 = load i8, ptr %62, align 1, !tbaa !42, !range !40, !noundef !41
  %2759 = trunc i8 %2758 to i1
  br i1 %2759, label %2763, label %2760

2760:                                             ; preds = %2757
  %2761 = load i8, ptr %63, align 1, !tbaa !42, !range !40, !noundef !41
  %2762 = trunc i8 %2761 to i1
  br i1 %2762, label %2763, label %3346

2763:                                             ; preds = %2760, %2757
  %2764 = load ptr, ptr %47, align 8, !tbaa !5
  %2765 = icmp ne ptr %2764, null
  br i1 %2765, label %2766, label %2767

2766:                                             ; preds = %2763
  br label %2769

2767:                                             ; preds = %2763
  call void @__assert_fail(ptr noundef @.str.63, ptr noundef @.str.2, i32 noundef 4658, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #15
  unreachable

2768:                                             ; No predecessors!
  br label %2769

2769:                                             ; preds = %2768, %2766
  %2770 = load i8, ptr %68, align 1, !tbaa !42, !range !40, !noundef !41
  %2771 = trunc i8 %2770 to i1
  br i1 %2771, label %2779, label %2772

2772:                                             ; preds = %2769
  %2773 = load ptr, ptr %137, align 8, !tbaa !5
  %2774 = load ptr, ptr %47, align 8, !tbaa !5
  %2775 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2774, i32 0, i32 2
  %2776 = load i32, ptr %2775, align 8, !tbaa !115
  %2777 = sext i32 %2776 to i64
  %2778 = getelementptr inbounds i8, ptr %2773, i64 %2777
  store ptr %2778, ptr %138, align 8, !tbaa !5
  br label %2779

2779:                                             ; preds = %2772, %2769
  call void @llvm.lifetime.start.p0(i64 8, ptr %139) #14
  %2780 = load ptr, ptr %47, align 8, !tbaa !5
  %2781 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2780, i32 0, i32 4
  %2782 = getelementptr inbounds %struct.ImVector.5, ptr %2781, i32 0, i32 2
  %2783 = load ptr, ptr %2782, align 8, !tbaa !118
  store ptr %2783, ptr %139, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %140) #14
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %140)
  call void @llvm.lifetime.start.p0(i64 8, ptr %141) #14
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %141)
  call void @llvm.lifetime.start.p0(i64 16, ptr %142) #14
  call void @llvm.memset.p0.i64(ptr align 16 %142, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %143) #14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %143, ptr align 4 @__const._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv.searches_result_line_no, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %144) #14
  store i32 0, ptr %144, align 4, !tbaa !9
  %2784 = load i8, ptr %62, align 1, !tbaa !42, !range !40, !noundef !41
  %2785 = trunc i8 %2784 to i1
  br i1 %2785, label %2786, label %2798

2786:                                             ; preds = %2779
  %2787 = load ptr, ptr %139, align 8, !tbaa !5
  %2788 = load ptr, ptr %47, align 8, !tbaa !5
  %2789 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2788, i32 0, i32 11
  %2790 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %2789, i32 0, i32 0
  %2791 = load i32, ptr %2790, align 4, !tbaa !151
  %2792 = sext i32 %2791 to i64
  %2793 = getelementptr inbounds i16, ptr %2787, i64 %2792
  %2794 = getelementptr inbounds [2 x ptr], ptr %142, i64 0, i64 0
  store ptr %2793, ptr %2794, align 16, !tbaa !5
  %2795 = getelementptr inbounds [2 x i32], ptr %143, i64 0, i64 0
  store i32 -1, ptr %2795, align 4, !tbaa !9
  %2796 = load i32, ptr %144, align 4, !tbaa !9
  %2797 = add nsw i32 %2796, 1
  store i32 %2797, ptr %144, align 4, !tbaa !9
  br label %2798

2798:                                             ; preds = %2786, %2779
  %2799 = load i8, ptr %63, align 1, !tbaa !42, !range !40, !noundef !41
  %2800 = trunc i8 %2799 to i1
  br i1 %2800, label %2801, label %2818

2801:                                             ; preds = %2798
  %2802 = load ptr, ptr %139, align 8, !tbaa !5
  %2803 = load ptr, ptr %47, align 8, !tbaa !5
  %2804 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2803, i32 0, i32 11
  %2805 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %2804, i32 0, i32 1
  %2806 = load i32, ptr %2805, align 4, !tbaa !152
  %2807 = load ptr, ptr %47, align 8, !tbaa !5
  %2808 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2807, i32 0, i32 11
  %2809 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %2808, i32 0, i32 2
  %2810 = load i32, ptr %2809, align 4, !tbaa !153
  %2811 = call noundef i32 @_ZL5ImMinIiET_S0_S0_(i32 noundef %2806, i32 noundef %2810)
  %2812 = sext i32 %2811 to i64
  %2813 = getelementptr inbounds i16, ptr %2802, i64 %2812
  %2814 = getelementptr inbounds [2 x ptr], ptr %142, i64 0, i64 1
  store ptr %2813, ptr %2814, align 8, !tbaa !5
  %2815 = getelementptr inbounds [2 x i32], ptr %143, i64 0, i64 1
  store i32 -1, ptr %2815, align 4, !tbaa !9
  %2816 = load i32, ptr %144, align 4, !tbaa !9
  %2817 = add nsw i32 %2816, 1
  store i32 %2817, ptr %144, align 4, !tbaa !9
  br label %2818

2818:                                             ; preds = %2801, %2798
  %2819 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %2820 = trunc i8 %2819 to i1
  %2821 = zext i1 %2820 to i64
  %2822 = select i1 %2820, i32 1, i32 0
  %2823 = load i32, ptr %144, align 4, !tbaa !9
  %2824 = add nsw i32 %2823, %2822
  store i32 %2824, ptr %144, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %145) #14
  store i32 0, ptr %145, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %146) #14
  %2825 = load ptr, ptr %139, align 8, !tbaa !5
  store ptr %2825, ptr %146, align 8, !tbaa !5
  br label %2826

2826:                                             ; preds = %2875, %2818
  %2827 = load ptr, ptr %146, align 8, !tbaa !5
  %2828 = load i16, ptr %2827, align 2, !tbaa !149
  %2829 = zext i16 %2828 to i32
  %2830 = icmp ne i32 %2829, 0
  br i1 %2830, label %2832, label %2831

2831:                                             ; preds = %2826
  store i32 7, ptr %19, align 4
  br label %2878

2832:                                             ; preds = %2826
  %2833 = load ptr, ptr %146, align 8, !tbaa !5
  %2834 = load i16, ptr %2833, align 2, !tbaa !149
  %2835 = zext i16 %2834 to i32
  %2836 = icmp eq i32 %2835, 10
  br i1 %2836, label %2837, label %2874

2837:                                             ; preds = %2832
  %2838 = load i32, ptr %145, align 4, !tbaa !9
  %2839 = add nsw i32 %2838, 1
  store i32 %2839, ptr %145, align 4, !tbaa !9
  %2840 = getelementptr inbounds [2 x i32], ptr %143, i64 0, i64 0
  %2841 = load i32, ptr %2840, align 4, !tbaa !9
  %2842 = icmp eq i32 %2841, -1
  br i1 %2842, label %2843, label %2856

2843:                                             ; preds = %2837
  %2844 = load ptr, ptr %146, align 8, !tbaa !5
  %2845 = getelementptr inbounds [2 x ptr], ptr %142, i64 0, i64 0
  %2846 = load ptr, ptr %2845, align 16, !tbaa !5
  %2847 = icmp uge ptr %2844, %2846
  br i1 %2847, label %2848, label %2856

2848:                                             ; preds = %2843
  %2849 = load i32, ptr %145, align 4, !tbaa !9
  %2850 = getelementptr inbounds [2 x i32], ptr %143, i64 0, i64 0
  store i32 %2849, ptr %2850, align 4, !tbaa !9
  %2851 = load i32, ptr %144, align 4, !tbaa !9
  %2852 = add nsw i32 %2851, -1
  store i32 %2852, ptr %144, align 4, !tbaa !9
  %2853 = icmp sle i32 %2852, 0
  br i1 %2853, label %2854, label %2855

2854:                                             ; preds = %2848
  store i32 7, ptr %19, align 4
  br label %2878

2855:                                             ; preds = %2848
  br label %2856

2856:                                             ; preds = %2855, %2843, %2837
  %2857 = getelementptr inbounds [2 x i32], ptr %143, i64 0, i64 1
  %2858 = load i32, ptr %2857, align 4, !tbaa !9
  %2859 = icmp eq i32 %2858, -1
  br i1 %2859, label %2860, label %2873

2860:                                             ; preds = %2856
  %2861 = load ptr, ptr %146, align 8, !tbaa !5
  %2862 = getelementptr inbounds [2 x ptr], ptr %142, i64 0, i64 1
  %2863 = load ptr, ptr %2862, align 8, !tbaa !5
  %2864 = icmp uge ptr %2861, %2863
  br i1 %2864, label %2865, label %2873

2865:                                             ; preds = %2860
  %2866 = load i32, ptr %145, align 4, !tbaa !9
  %2867 = getelementptr inbounds [2 x i32], ptr %143, i64 0, i64 1
  store i32 %2866, ptr %2867, align 4, !tbaa !9
  %2868 = load i32, ptr %144, align 4, !tbaa !9
  %2869 = add nsw i32 %2868, -1
  store i32 %2869, ptr %144, align 4, !tbaa !9
  %2870 = icmp sle i32 %2869, 0
  br i1 %2870, label %2871, label %2872

2871:                                             ; preds = %2865
  store i32 7, ptr %19, align 4
  br label %2878

2872:                                             ; preds = %2865
  br label %2873

2873:                                             ; preds = %2872, %2860, %2856
  br label %2874

2874:                                             ; preds = %2873, %2832
  br label %2875

2875:                                             ; preds = %2874
  %2876 = load ptr, ptr %146, align 8, !tbaa !5
  %2877 = getelementptr inbounds i16, ptr %2876, i32 1
  store ptr %2877, ptr %146, align 8, !tbaa !5
  br label %2826, !llvm.loop !190

2878:                                             ; preds = %2871, %2854, %2831
  call void @llvm.lifetime.end.p0(i64 8, ptr %146) #14
  br label %2879

2879:                                             ; preds = %2878
  %2880 = load i32, ptr %145, align 4, !tbaa !9
  %2881 = add nsw i32 %2880, 1
  store i32 %2881, ptr %145, align 4, !tbaa !9
  %2882 = getelementptr inbounds [2 x i32], ptr %143, i64 0, i64 0
  %2883 = load i32, ptr %2882, align 4, !tbaa !9
  %2884 = icmp eq i32 %2883, -1
  br i1 %2884, label %2885, label %2888

2885:                                             ; preds = %2879
  %2886 = load i32, ptr %145, align 4, !tbaa !9
  %2887 = getelementptr inbounds [2 x i32], ptr %143, i64 0, i64 0
  store i32 %2886, ptr %2887, align 4, !tbaa !9
  br label %2888

2888:                                             ; preds = %2885, %2879
  %2889 = getelementptr inbounds [2 x i32], ptr %143, i64 0, i64 1
  %2890 = load i32, ptr %2889, align 4, !tbaa !9
  %2891 = icmp eq i32 %2890, -1
  br i1 %2891, label %2892, label %2895

2892:                                             ; preds = %2888
  %2893 = load i32, ptr %145, align 4, !tbaa !9
  %2894 = getelementptr inbounds [2 x i32], ptr %143, i64 0, i64 1
  store i32 %2893, ptr %2894, align 4, !tbaa !9
  br label %2895

2895:                                             ; preds = %2892, %2888
  call void @llvm.lifetime.start.p0(i64 8, ptr %147) #14
  %2896 = getelementptr inbounds [2 x ptr], ptr %142, i64 0, i64 0
  %2897 = load ptr, ptr %2896, align 16, !tbaa !5
  %2898 = load ptr, ptr %139, align 8, !tbaa !5
  %2899 = call noundef ptr @_Z9ImStrbolWPKtS0_(ptr noundef %2897, ptr noundef %2898)
  %2900 = getelementptr inbounds [2 x ptr], ptr %142, i64 0, i64 0
  %2901 = load ptr, ptr %2900, align 16, !tbaa !5
  %2902 = call <2 x float> @_ZL22InputTextCalcTextSizeWPKtS0_PS0_P6ImVec2b(ptr noundef %2899, ptr noundef %2901, ptr noundef null, ptr noundef null, i1 noundef zeroext false)
  store <2 x float> %2902, ptr %147, align 4
  %2903 = getelementptr inbounds %struct.ImVec2, ptr %147, i32 0, i32 0
  %2904 = load float, ptr %2903, align 4, !tbaa !95
  %2905 = getelementptr inbounds %struct.ImVec2, ptr %140, i32 0, i32 0
  store float %2904, ptr %2905, align 4, !tbaa !95
  call void @llvm.lifetime.end.p0(i64 8, ptr %147) #14
  %2906 = getelementptr inbounds [2 x i32], ptr %143, i64 0, i64 0
  %2907 = load i32, ptr %2906, align 4, !tbaa !9
  %2908 = sitofp i32 %2907 to float
  %2909 = load ptr, ptr %20, align 8, !tbaa !5
  %2910 = getelementptr inbounds %struct.ImGuiContext, ptr %2909, i32 0, i32 7
  %2911 = load float, ptr %2910, align 8, !tbaa !45
  %2912 = fmul float %2908, %2911
  %2913 = getelementptr inbounds %struct.ImVec2, ptr %140, i32 0, i32 1
  store float %2912, ptr %2913, align 4, !tbaa !93
  %2914 = getelementptr inbounds [2 x i32], ptr %143, i64 0, i64 1
  %2915 = load i32, ptr %2914, align 4, !tbaa !9
  %2916 = icmp sge i32 %2915, 0
  br i1 %2916, label %2917, label %2936

2917:                                             ; preds = %2895
  call void @llvm.lifetime.start.p0(i64 8, ptr %148) #14
  %2918 = getelementptr inbounds [2 x ptr], ptr %142, i64 0, i64 1
  %2919 = load ptr, ptr %2918, align 8, !tbaa !5
  %2920 = load ptr, ptr %139, align 8, !tbaa !5
  %2921 = call noundef ptr @_Z9ImStrbolWPKtS0_(ptr noundef %2919, ptr noundef %2920)
  %2922 = getelementptr inbounds [2 x ptr], ptr %142, i64 0, i64 1
  %2923 = load ptr, ptr %2922, align 8, !tbaa !5
  %2924 = call <2 x float> @_ZL22InputTextCalcTextSizeWPKtS0_PS0_P6ImVec2b(ptr noundef %2921, ptr noundef %2923, ptr noundef null, ptr noundef null, i1 noundef zeroext false)
  store <2 x float> %2924, ptr %148, align 4
  %2925 = getelementptr inbounds %struct.ImVec2, ptr %148, i32 0, i32 0
  %2926 = load float, ptr %2925, align 4, !tbaa !95
  %2927 = getelementptr inbounds %struct.ImVec2, ptr %141, i32 0, i32 0
  store float %2926, ptr %2927, align 4, !tbaa !95
  call void @llvm.lifetime.end.p0(i64 8, ptr %148) #14
  %2928 = getelementptr inbounds [2 x i32], ptr %143, i64 0, i64 1
  %2929 = load i32, ptr %2928, align 4, !tbaa !9
  %2930 = sitofp i32 %2929 to float
  %2931 = load ptr, ptr %20, align 8, !tbaa !5
  %2932 = getelementptr inbounds %struct.ImGuiContext, ptr %2931, i32 0, i32 7
  %2933 = load float, ptr %2932, align 8, !tbaa !45
  %2934 = fmul float %2930, %2933
  %2935 = getelementptr inbounds %struct.ImVec2, ptr %141, i32 0, i32 1
  store float %2934, ptr %2935, align 4, !tbaa !93
  br label %2936

2936:                                             ; preds = %2917, %2895
  %2937 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %2938 = trunc i8 %2937 to i1
  br i1 %2938, label %2939, label %2948

2939:                                             ; preds = %2936
  call void @llvm.lifetime.start.p0(i64 8, ptr %149) #14
  %2940 = getelementptr inbounds %struct.ImVec2, ptr %39, i32 0, i32 0
  %2941 = load float, ptr %2940, align 4, !tbaa !95
  %2942 = load i32, ptr %145, align 4, !tbaa !9
  %2943 = sitofp i32 %2942 to float
  %2944 = load ptr, ptr %20, align 8, !tbaa !5
  %2945 = getelementptr inbounds %struct.ImGuiContext, ptr %2944, i32 0, i32 7
  %2946 = load float, ptr %2945, align 8, !tbaa !45
  %2947 = fmul float %2943, %2946
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %149, float noundef %2941, float noundef %2947)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %135, ptr align 4 %149, i64 8, i1 false), !tbaa.struct !43
  call void @llvm.lifetime.end.p0(i64 8, ptr %149) #14
  br label %2948

2948:                                             ; preds = %2939, %2936
  call void @llvm.lifetime.end.p0(i64 4, ptr %145) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %144) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %143) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr %142) #14
  %2949 = load i8, ptr %62, align 1, !tbaa !42, !range !40, !noundef !41
  %2950 = trunc i8 %2949 to i1
  br i1 %2950, label %2951, label %3089

2951:                                             ; preds = %2948
  %2952 = load ptr, ptr %47, align 8, !tbaa !5
  %2953 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2952, i32 0, i32 13
  %2954 = load i8, ptr %2953, align 4, !tbaa !154, !range !40, !noundef !41
  %2955 = trunc i8 %2954 to i1
  br i1 %2955, label %2956, label %3089

2956:                                             ; preds = %2951
  %2957 = load i32, ptr %15, align 4, !tbaa !9
  %2958 = and i32 %2957, 4096
  %2959 = icmp ne i32 %2958, 0
  br i1 %2959, label %3009, label %2960

2960:                                             ; preds = %2956
  call void @llvm.lifetime.start.p0(i64 4, ptr %150) #14
  %2961 = getelementptr inbounds %struct.ImVec2, ptr %39, i32 0, i32 0
  %2962 = load float, ptr %2961, align 4, !tbaa !95
  %2963 = fmul float %2962, 2.500000e-01
  store float %2963, ptr %150, align 4, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 4, ptr %151) #14
  %2964 = getelementptr inbounds %struct.ImVec2, ptr %39, i32 0, i32 0
  %2965 = load float, ptr %2964, align 4, !tbaa !95
  %2966 = load ptr, ptr %22, align 8, !tbaa !5
  %2967 = getelementptr inbounds %struct.ImGuiStyle, ptr %2966, i32 0, i32 12
  %2968 = getelementptr inbounds %struct.ImVec2, ptr %2967, i32 0, i32 0
  %2969 = load float, ptr %2968, align 4, !tbaa !144
  %2970 = fsub float %2965, %2969
  store float %2970, ptr %151, align 4, !tbaa !44
  %2971 = getelementptr inbounds %struct.ImVec2, ptr %140, i32 0, i32 0
  %2972 = load float, ptr %2971, align 4, !tbaa !95
  %2973 = load ptr, ptr %47, align 8, !tbaa !5
  %2974 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2973, i32 0, i32 10
  %2975 = load float, ptr %2974, align 8, !tbaa !120
  %2976 = fcmp olt float %2972, %2975
  br i1 %2976, label %2977, label %2987

2977:                                             ; preds = %2960
  %2978 = getelementptr inbounds %struct.ImVec2, ptr %140, i32 0, i32 0
  %2979 = load float, ptr %2978, align 4, !tbaa !95
  %2980 = load float, ptr %150, align 4, !tbaa !44
  %2981 = fsub float %2979, %2980
  %2982 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %2981)
  %2983 = fptosi float %2982 to i32
  %2984 = sitofp i32 %2983 to float
  %2985 = load ptr, ptr %47, align 8, !tbaa !5
  %2986 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2985, i32 0, i32 10
  store float %2984, ptr %2986, align 8, !tbaa !120
  br label %3008

2987:                                             ; preds = %2960
  %2988 = getelementptr inbounds %struct.ImVec2, ptr %140, i32 0, i32 0
  %2989 = load float, ptr %2988, align 4, !tbaa !95
  %2990 = load float, ptr %151, align 4, !tbaa !44
  %2991 = fsub float %2989, %2990
  %2992 = load ptr, ptr %47, align 8, !tbaa !5
  %2993 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %2992, i32 0, i32 10
  %2994 = load float, ptr %2993, align 8, !tbaa !120
  %2995 = fcmp oge float %2991, %2994
  br i1 %2995, label %2996, label %3007

2996:                                             ; preds = %2987
  %2997 = getelementptr inbounds %struct.ImVec2, ptr %140, i32 0, i32 0
  %2998 = load float, ptr %2997, align 4, !tbaa !95
  %2999 = load float, ptr %151, align 4, !tbaa !44
  %3000 = fsub float %2998, %2999
  %3001 = load float, ptr %150, align 4, !tbaa !44
  %3002 = fadd float %3000, %3001
  %3003 = fptosi float %3002 to i32
  %3004 = sitofp i32 %3003 to float
  %3005 = load ptr, ptr %47, align 8, !tbaa !5
  %3006 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %3005, i32 0, i32 10
  store float %3004, ptr %3006, align 8, !tbaa !120
  br label %3007

3007:                                             ; preds = %2996, %2987
  br label %3008

3008:                                             ; preds = %3007, %2977
  call void @llvm.lifetime.end.p0(i64 4, ptr %151) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %150) #14
  br label %3012

3009:                                             ; preds = %2956
  %3010 = load ptr, ptr %47, align 8, !tbaa !5
  %3011 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %3010, i32 0, i32 10
  store float 0.000000e+00, ptr %3011, align 8, !tbaa !120
  br label %3012

3012:                                             ; preds = %3009, %3008
  %3013 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %3014 = trunc i8 %3013 to i1
  br i1 %3014, label %3015, label %3086

3015:                                             ; preds = %3012
  %3016 = getelementptr inbounds %struct.ImVec2, ptr %140, i32 0, i32 1
  %3017 = load float, ptr %3016, align 4, !tbaa !93
  %3018 = load ptr, ptr %20, align 8, !tbaa !5
  %3019 = getelementptr inbounds %struct.ImGuiContext, ptr %3018, i32 0, i32 7
  %3020 = load float, ptr %3019, align 8, !tbaa !45
  %3021 = fsub float %3017, %3020
  %3022 = load float, ptr %55, align 4, !tbaa !44
  %3023 = fcmp olt float %3021, %3022
  br i1 %3023, label %3024, label %3032

3024:                                             ; preds = %3015
  %3025 = getelementptr inbounds %struct.ImVec2, ptr %140, i32 0, i32 1
  %3026 = load float, ptr %3025, align 4, !tbaa !93
  %3027 = load ptr, ptr %20, align 8, !tbaa !5
  %3028 = getelementptr inbounds %struct.ImGuiContext, ptr %3027, i32 0, i32 7
  %3029 = load float, ptr %3028, align 8, !tbaa !45
  %3030 = fsub float %3026, %3029
  %3031 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %3030)
  store float %3031, ptr %55, align 4, !tbaa !44
  br label %3058

3032:                                             ; preds = %3015
  %3033 = getelementptr inbounds %struct.ImVec2, ptr %140, i32 0, i32 1
  %3034 = load float, ptr %3033, align 4, !tbaa !93
  %3035 = getelementptr inbounds %struct.ImVec2, ptr %39, i32 0, i32 1
  %3036 = load float, ptr %3035, align 4, !tbaa !93
  %3037 = load ptr, ptr %22, align 8, !tbaa !5
  %3038 = getelementptr inbounds %struct.ImGuiStyle, ptr %3037, i32 0, i32 12
  %3039 = getelementptr inbounds %struct.ImVec2, ptr %3038, i32 0, i32 1
  %3040 = load float, ptr %3039, align 4, !tbaa !94
  %3041 = fneg float %3040
  %3042 = call float @llvm.fmuladd.f32(float %3041, float 2.000000e+00, float %3036)
  %3043 = fsub float %3034, %3042
  %3044 = load float, ptr %55, align 4, !tbaa !44
  %3045 = fcmp oge float %3043, %3044
  br i1 %3045, label %3046, label %3057

3046:                                             ; preds = %3032
  %3047 = getelementptr inbounds %struct.ImVec2, ptr %140, i32 0, i32 1
  %3048 = load float, ptr %3047, align 4, !tbaa !93
  %3049 = getelementptr inbounds %struct.ImVec2, ptr %39, i32 0, i32 1
  %3050 = load float, ptr %3049, align 4, !tbaa !93
  %3051 = fsub float %3048, %3050
  %3052 = load ptr, ptr %22, align 8, !tbaa !5
  %3053 = getelementptr inbounds %struct.ImGuiStyle, ptr %3052, i32 0, i32 12
  %3054 = getelementptr inbounds %struct.ImVec2, ptr %3053, i32 0, i32 1
  %3055 = load float, ptr %3054, align 4, !tbaa !94
  %3056 = call float @llvm.fmuladd.f32(float %3055, float 2.000000e+00, float %3051)
  store float %3056, ptr %55, align 4, !tbaa !44
  br label %3057

3057:                                             ; preds = %3046, %3032
  br label %3058

3058:                                             ; preds = %3057, %3024
  call void @llvm.lifetime.start.p0(i64 4, ptr %152) #14
  %3059 = getelementptr inbounds %struct.ImVec2, ptr %135, i32 0, i32 1
  %3060 = load float, ptr %3059, align 4, !tbaa !93
  %3061 = load ptr, ptr %22, align 8, !tbaa !5
  %3062 = getelementptr inbounds %struct.ImGuiStyle, ptr %3061, i32 0, i32 12
  %3063 = getelementptr inbounds %struct.ImVec2, ptr %3062, i32 0, i32 1
  %3064 = load float, ptr %3063, align 4, !tbaa !94
  %3065 = call float @llvm.fmuladd.f32(float %3064, float 2.000000e+00, float %3060)
  %3066 = getelementptr inbounds %struct.ImVec2, ptr %39, i32 0, i32 1
  %3067 = load float, ptr %3066, align 4, !tbaa !93
  %3068 = fsub float %3065, %3067
  %3069 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %3068, float noundef 0.000000e+00)
  store float %3069, ptr %152, align 4, !tbaa !44
  %3070 = load float, ptr %55, align 4, !tbaa !44
  %3071 = load float, ptr %152, align 4, !tbaa !44
  %3072 = call noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef %3070, float noundef 0.000000e+00, float noundef %3071)
  store float %3072, ptr %55, align 4, !tbaa !44
  %3073 = load ptr, ptr %38, align 8, !tbaa !5
  %3074 = getelementptr inbounds %struct.ImGuiWindow, ptr %3073, i32 0, i32 16
  %3075 = getelementptr inbounds %struct.ImVec2, ptr %3074, i32 0, i32 1
  %3076 = load float, ptr %3075, align 4, !tbaa !111
  %3077 = load float, ptr %55, align 4, !tbaa !44
  %3078 = fsub float %3076, %3077
  %3079 = getelementptr inbounds %struct.ImVec2, ptr %134, i32 0, i32 1
  %3080 = load float, ptr %3079, align 4, !tbaa !93
  %3081 = fadd float %3080, %3078
  store float %3081, ptr %3079, align 4, !tbaa !93
  %3082 = load float, ptr %55, align 4, !tbaa !44
  %3083 = load ptr, ptr %38, align 8, !tbaa !5
  %3084 = getelementptr inbounds %struct.ImGuiWindow, ptr %3083, i32 0, i32 16
  %3085 = getelementptr inbounds %struct.ImVec2, ptr %3084, i32 0, i32 1
  store float %3082, ptr %3085, align 4, !tbaa !111
  call void @llvm.lifetime.end.p0(i64 4, ptr %152) #14
  br label %3086

3086:                                             ; preds = %3058, %3012
  %3087 = load ptr, ptr %47, align 8, !tbaa !5
  %3088 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %3087, i32 0, i32 13
  store i8 0, ptr %3088, align 4, !tbaa !154
  br label %3089

3089:                                             ; preds = %3086, %2951, %2948
  call void @llvm.lifetime.start.p0(i64 8, ptr %153) #14
  %3090 = load ptr, ptr %47, align 8, !tbaa !5
  %3091 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %3090, i32 0, i32 10
  %3092 = load float, ptr %3091, align 8, !tbaa !120
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %153, float noundef %3092, float noundef 0.000000e+00)
  %3093 = load i8, ptr %63, align 1, !tbaa !42, !range !40, !noundef !41
  %3094 = trunc i8 %3093 to i1
  br i1 %3094, label %3095, label %3223

3095:                                             ; preds = %3089
  call void @llvm.lifetime.start.p0(i64 8, ptr %154) #14
  %3096 = load ptr, ptr %139, align 8, !tbaa !5
  %3097 = load ptr, ptr %47, align 8, !tbaa !5
  %3098 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %3097, i32 0, i32 11
  %3099 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %3098, i32 0, i32 1
  %3100 = load i32, ptr %3099, align 4, !tbaa !152
  %3101 = load ptr, ptr %47, align 8, !tbaa !5
  %3102 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %3101, i32 0, i32 11
  %3103 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %3102, i32 0, i32 2
  %3104 = load i32, ptr %3103, align 4, !tbaa !153
  %3105 = call noundef i32 @_ZL5ImMinIiET_S0_S0_(i32 noundef %3100, i32 noundef %3104)
  %3106 = sext i32 %3105 to i64
  %3107 = getelementptr inbounds i16, ptr %3096, i64 %3106
  store ptr %3107, ptr %154, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %155) #14
  %3108 = load ptr, ptr %139, align 8, !tbaa !5
  %3109 = load ptr, ptr %47, align 8, !tbaa !5
  %3110 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %3109, i32 0, i32 11
  %3111 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %3110, i32 0, i32 1
  %3112 = load i32, ptr %3111, align 4, !tbaa !152
  %3113 = load ptr, ptr %47, align 8, !tbaa !5
  %3114 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %3113, i32 0, i32 11
  %3115 = getelementptr inbounds %"struct.ImStb::STB_TexteditState", ptr %3114, i32 0, i32 2
  %3116 = load i32, ptr %3115, align 4, !tbaa !153
  %3117 = call noundef i32 @_ZL5ImMaxIiET_S0_S0_(i32 noundef %3112, i32 noundef %3116)
  %3118 = sext i32 %3117 to i64
  %3119 = getelementptr inbounds i16, ptr %3108, i64 %3118
  store ptr %3119, ptr %155, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %156) #14
  %3120 = load i8, ptr %62, align 1, !tbaa !42, !range !40, !noundef !41
  %3121 = trunc i8 %3120 to i1
  %3122 = zext i1 %3121 to i64
  %3123 = select i1 %3121, float 1.000000e+00, float 0x3FE3333340000000
  %3124 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 47, float noundef %3123)
  store i32 %3124, ptr %156, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %157) #14
  %3125 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %3126 = trunc i8 %3125 to i1
  %3127 = zext i1 %3126 to i64
  %3128 = select i1 %3126, float 0.000000e+00, float -1.000000e+00
  store float %3128, ptr %157, align 4, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 4, ptr %158) #14
  %3129 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %3130 = trunc i8 %3129 to i1
  %3131 = zext i1 %3130 to i64
  %3132 = select i1 %3130, float 0.000000e+00, float 2.000000e+00
  store float %3132, ptr %158, align 4, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 8, ptr %159) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr %160) #14
  %3133 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %134, ptr noundef nonnull align 4 dereferenceable(8) %141)
  store <2 x float> %3133, ptr %160, align 4
  %3134 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %160, ptr noundef nonnull align 4 dereferenceable(8) %153)
  store <2 x float> %3134, ptr %159, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %160) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr %161) #14
  %3135 = load ptr, ptr %154, align 8, !tbaa !5
  store ptr %3135, ptr %161, align 8, !tbaa !5
  br label %3136

3136:                                             ; preds = %3208, %3095
  %3137 = load ptr, ptr %161, align 8, !tbaa !5
  %3138 = load ptr, ptr %155, align 8, !tbaa !5
  %3139 = icmp ult ptr %3137, %3138
  br i1 %3139, label %3141, label %3140

3140:                                             ; preds = %3136
  store i32 10, ptr %19, align 4
  br label %3221

3141:                                             ; preds = %3136
  %3142 = getelementptr inbounds %struct.ImVec2, ptr %159, i32 0, i32 1
  %3143 = load float, ptr %3142, align 4, !tbaa !93
  %3144 = getelementptr inbounds %struct.ImVec4, ptr %133, i32 0, i32 3
  %3145 = load float, ptr %3144, align 4, !tbaa !191
  %3146 = load ptr, ptr %20, align 8, !tbaa !5
  %3147 = getelementptr inbounds %struct.ImGuiContext, ptr %3146, i32 0, i32 7
  %3148 = load float, ptr %3147, align 8, !tbaa !45
  %3149 = fadd float %3145, %3148
  %3150 = fcmp ogt float %3143, %3149
  br i1 %3150, label %3151, label %3152

3151:                                             ; preds = %3141
  store i32 10, ptr %19, align 4
  br label %3221

3152:                                             ; preds = %3141
  %3153 = getelementptr inbounds %struct.ImVec2, ptr %159, i32 0, i32 1
  %3154 = load float, ptr %3153, align 4, !tbaa !93
  %3155 = getelementptr inbounds %struct.ImVec4, ptr %133, i32 0, i32 1
  %3156 = load float, ptr %3155, align 4, !tbaa !192
  %3157 = fcmp olt float %3154, %3156
  br i1 %3157, label %3158, label %3172

3158:                                             ; preds = %3152
  br label %3159

3159:                                             ; preds = %3170, %3158
  %3160 = load ptr, ptr %161, align 8, !tbaa !5
  %3161 = load ptr, ptr %155, align 8, !tbaa !5
  %3162 = icmp ult ptr %3160, %3161
  br i1 %3162, label %3163, label %3171

3163:                                             ; preds = %3159
  %3164 = load ptr, ptr %161, align 8, !tbaa !5
  %3165 = getelementptr inbounds i16, ptr %3164, i32 1
  store ptr %3165, ptr %161, align 8, !tbaa !5
  %3166 = load i16, ptr %3164, align 2, !tbaa !149
  %3167 = zext i16 %3166 to i32
  %3168 = icmp eq i32 %3167, 10
  br i1 %3168, label %3169, label %3170

3169:                                             ; preds = %3163
  br label %3171

3170:                                             ; preds = %3163
  br label %3159, !llvm.loop !193

3171:                                             ; preds = %3169, %3159
  br label %3208

3172:                                             ; preds = %3152
  call void @llvm.lifetime.start.p0(i64 8, ptr %162) #14
  %3173 = load ptr, ptr %161, align 8, !tbaa !5
  %3174 = load ptr, ptr %155, align 8, !tbaa !5
  %3175 = call <2 x float> @_ZL22InputTextCalcTextSizeWPKtS0_PS0_P6ImVec2b(ptr noundef %3173, ptr noundef %3174, ptr noundef %161, ptr noundef null, i1 noundef zeroext true)
  store <2 x float> %3175, ptr %162, align 4
  %3176 = getelementptr inbounds %struct.ImVec2, ptr %162, i32 0, i32 0
  %3177 = load float, ptr %3176, align 4, !tbaa !95
  %3178 = fcmp ole float %3177, 0.000000e+00
  br i1 %3178, label %3179, label %3188

3179:                                             ; preds = %3172
  %3180 = load ptr, ptr %20, align 8, !tbaa !5
  %3181 = getelementptr inbounds %struct.ImGuiContext, ptr %3180, i32 0, i32 6
  %3182 = load ptr, ptr %3181, align 8, !tbaa !127
  %3183 = call noundef float @_ZNK6ImFont14GetCharAdvanceEt(ptr noundef nonnull align 8 dereferenceable(110) %3182, i16 noundef zeroext 32)
  %3184 = fmul float %3183, 5.000000e-01
  %3185 = fptosi float %3184 to i32
  %3186 = sitofp i32 %3185 to float
  %3187 = getelementptr inbounds %struct.ImVec2, ptr %162, i32 0, i32 0
  store float %3186, ptr %3187, align 4, !tbaa !95
  br label %3188

3188:                                             ; preds = %3179, %3172
  call void @llvm.lifetime.start.p0(i64 16, ptr %163) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr %164) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr %165) #14
  %3189 = load float, ptr %157, align 4, !tbaa !44
  %3190 = load ptr, ptr %20, align 8, !tbaa !5
  %3191 = getelementptr inbounds %struct.ImGuiContext, ptr %3190, i32 0, i32 7
  %3192 = load float, ptr %3191, align 8, !tbaa !45
  %3193 = fsub float %3189, %3192
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %165, float noundef 0.000000e+00, float noundef %3193)
  %3194 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %159, ptr noundef nonnull align 4 dereferenceable(8) %165)
  store <2 x float> %3194, ptr %164, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %166) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr %167) #14
  %3195 = getelementptr inbounds %struct.ImVec2, ptr %162, i32 0, i32 0
  %3196 = load float, ptr %3195, align 4, !tbaa !95
  %3197 = load float, ptr %158, align 4, !tbaa !44
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %167, float noundef %3196, float noundef %3197)
  %3198 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %159, ptr noundef nonnull align 4 dereferenceable(8) %167)
  store <2 x float> %3198, ptr %166, align 4
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %163, ptr noundef nonnull align 4 dereferenceable(8) %164, ptr noundef nonnull align 4 dereferenceable(8) %166)
  call void @llvm.lifetime.end.p0(i64 8, ptr %167) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %166) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %165) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %164) #14
  call void @llvm.lifetime.start.p0(i64 16, ptr %168) #14
  call void @_ZN6ImRectC2ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %168, ptr noundef nonnull align 4 dereferenceable(16) %133)
  call void @_ZN6ImRect8ClipWithERKS_(ptr noundef nonnull align 4 dereferenceable(16) %163, ptr noundef nonnull align 4 dereferenceable(16) %168)
  call void @llvm.lifetime.end.p0(i64 16, ptr %168) #14
  call void @llvm.lifetime.start.p0(i64 16, ptr %169) #14
  call void @_ZN6ImRectC2ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %169, ptr noundef nonnull align 4 dereferenceable(16) %133)
  %3199 = call noundef zeroext i1 @_ZNK6ImRect8OverlapsERKS_(ptr noundef nonnull align 4 dereferenceable(16) %163, ptr noundef nonnull align 4 dereferenceable(16) %169)
  call void @llvm.lifetime.end.p0(i64 16, ptr %169) #14
  br i1 %3199, label %3200, label %3207

3200:                                             ; preds = %3188
  %3201 = load ptr, ptr %38, align 8, !tbaa !5
  %3202 = getelementptr inbounds %struct.ImGuiWindow, ptr %3201, i32 0, i32 73
  %3203 = load ptr, ptr %3202, align 8, !tbaa !194
  %3204 = getelementptr inbounds %struct.ImRect, ptr %163, i32 0, i32 0
  %3205 = getelementptr inbounds %struct.ImRect, ptr %163, i32 0, i32 1
  %3206 = load i32, ptr %156, align 4, !tbaa !9
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %3203, ptr noundef nonnull align 4 dereferenceable(8) %3204, ptr noundef nonnull align 4 dereferenceable(8) %3205, i32 noundef %3206, float noundef 0.000000e+00, i32 noundef 0)
  br label %3207

3207:                                             ; preds = %3200, %3188
  call void @llvm.lifetime.end.p0(i64 16, ptr %163) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %162) #14
  br label %3208

3208:                                             ; preds = %3207, %3171
  %3209 = getelementptr inbounds %struct.ImVec2, ptr %134, i32 0, i32 0
  %3210 = load float, ptr %3209, align 4, !tbaa !95
  %3211 = getelementptr inbounds %struct.ImVec2, ptr %153, i32 0, i32 0
  %3212 = load float, ptr %3211, align 4, !tbaa !95
  %3213 = fsub float %3210, %3212
  %3214 = getelementptr inbounds %struct.ImVec2, ptr %159, i32 0, i32 0
  store float %3213, ptr %3214, align 4, !tbaa !95
  %3215 = load ptr, ptr %20, align 8, !tbaa !5
  %3216 = getelementptr inbounds %struct.ImGuiContext, ptr %3215, i32 0, i32 7
  %3217 = load float, ptr %3216, align 8, !tbaa !45
  %3218 = getelementptr inbounds %struct.ImVec2, ptr %159, i32 0, i32 1
  %3219 = load float, ptr %3218, align 4, !tbaa !93
  %3220 = fadd float %3219, %3217
  store float %3220, ptr %3218, align 4, !tbaa !93
  br label %3136, !llvm.loop !195

3221:                                             ; preds = %3151, %3140
  call void @llvm.lifetime.end.p0(i64 8, ptr %161) #14
  br label %3222

3222:                                             ; preds = %3221
  call void @llvm.lifetime.end.p0(i64 8, ptr %159) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %158) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %157) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %156) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %155) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %154) #14
  br label %3223

3223:                                             ; preds = %3222, %3089
  %3224 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %3225 = trunc i8 %3224 to i1
  br i1 %3225, label %3233, label %3226

3226:                                             ; preds = %3223
  %3227 = load ptr, ptr %138, align 8, !tbaa !5
  %3228 = load ptr, ptr %137, align 8, !tbaa !5
  %3229 = ptrtoint ptr %3227 to i64
  %3230 = ptrtoint ptr %3228 to i64
  %3231 = sub i64 %3229, %3230
  %3232 = icmp slt i64 %3231, 2097152
  br i1 %3232, label %3233, label %3258

3233:                                             ; preds = %3226, %3223
  call void @llvm.lifetime.start.p0(i64 4, ptr %170) #14
  %3234 = load i8, ptr %68, align 1, !tbaa !42, !range !40, !noundef !41
  %3235 = trunc i8 %3234 to i1
  %3236 = zext i1 %3235 to i64
  %3237 = select i1 %3235, i32 1, i32 0
  %3238 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %3237, float noundef 1.000000e+00)
  store i32 %3238, ptr %170, align 4, !tbaa !9
  %3239 = load ptr, ptr %38, align 8, !tbaa !5
  %3240 = getelementptr inbounds %struct.ImGuiWindow, ptr %3239, i32 0, i32 73
  %3241 = load ptr, ptr %3240, align 8, !tbaa !194
  %3242 = load ptr, ptr %20, align 8, !tbaa !5
  %3243 = getelementptr inbounds %struct.ImGuiContext, ptr %3242, i32 0, i32 6
  %3244 = load ptr, ptr %3243, align 8, !tbaa !127
  %3245 = load ptr, ptr %20, align 8, !tbaa !5
  %3246 = getelementptr inbounds %struct.ImGuiContext, ptr %3245, i32 0, i32 7
  %3247 = load float, ptr %3246, align 8, !tbaa !45
  call void @llvm.lifetime.start.p0(i64 8, ptr %171) #14
  %3248 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %134, ptr noundef nonnull align 4 dereferenceable(8) %153)
  store <2 x float> %3248, ptr %171, align 4
  %3249 = load i32, ptr %170, align 4, !tbaa !9
  %3250 = load ptr, ptr %137, align 8, !tbaa !5
  %3251 = load ptr, ptr %138, align 8, !tbaa !5
  %3252 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %3253 = trunc i8 %3252 to i1
  br i1 %3253, label %3254, label %3255

3254:                                             ; preds = %3233
  br label %3256

3255:                                             ; preds = %3233
  br label %3256

3256:                                             ; preds = %3255, %3254
  %3257 = phi ptr [ null, %3254 ], [ %133, %3255 ]
  call void @_ZN10ImDrawList7AddTextEPK6ImFontfRK6ImVec2jPKcS7_fPK6ImVec4(ptr noundef nonnull align 8 dereferenceable(196) %3241, ptr noundef %3244, float noundef %3247, ptr noundef nonnull align 4 dereferenceable(8) %171, i32 noundef %3249, ptr noundef %3250, ptr noundef %3251, float noundef 0.000000e+00, ptr noundef %3257)
  call void @llvm.lifetime.end.p0(i64 8, ptr %171) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %170) #14
  br label %3258

3258:                                             ; preds = %3256, %3226
  %3259 = load i8, ptr %62, align 1, !tbaa !42, !range !40, !noundef !41
  %3260 = trunc i8 %3259 to i1
  br i1 %3260, label %3261, label %3345

3261:                                             ; preds = %3258
  %3262 = load ptr, ptr %21, align 8, !tbaa !5
  %3263 = getelementptr inbounds %struct.ImGuiIO, ptr %3262, i32 0, i32 3
  %3264 = load float, ptr %3263, align 8, !tbaa !196
  %3265 = load ptr, ptr %47, align 8, !tbaa !5
  %3266 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %3265, i32 0, i32 12
  %3267 = load float, ptr %3266, align 8, !tbaa !197
  %3268 = fadd float %3267, %3264
  store float %3268, ptr %3266, align 8, !tbaa !197
  call void @llvm.lifetime.start.p0(i64 1, ptr %172) #14
  %3269 = load ptr, ptr %20, align 8, !tbaa !5
  %3270 = getelementptr inbounds %struct.ImGuiContext, ptr %3269, i32 0, i32 2
  %3271 = getelementptr inbounds %struct.ImGuiIO, ptr %3270, i32 0, i32 23
  %3272 = load i8, ptr %3271, align 1, !tbaa !198, !range !40, !noundef !41
  %3273 = trunc i8 %3272 to i1
  br i1 %3273, label %3274, label %3285

3274:                                             ; preds = %3261
  %3275 = load ptr, ptr %47, align 8, !tbaa !5
  %3276 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %3275, i32 0, i32 12
  %3277 = load float, ptr %3276, align 8, !tbaa !197
  %3278 = fcmp ole float %3277, 0.000000e+00
  br i1 %3278, label %3285, label %3279

3279:                                             ; preds = %3274
  %3280 = load ptr, ptr %47, align 8, !tbaa !5
  %3281 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %3280, i32 0, i32 12
  %3282 = load float, ptr %3281, align 8, !tbaa !197
  %3283 = call float @fmodf(float noundef %3282, float noundef 0x3FF3333340000000) #14
  %3284 = fcmp ole float %3283, 0x3FE99999A0000000
  br label %3285

3285:                                             ; preds = %3279, %3274, %3261
  %3286 = phi i1 [ true, %3274 ], [ true, %3261 ], [ %3284, %3279 ]
  %3287 = zext i1 %3286 to i8
  store i8 %3287, ptr %172, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 8, ptr %173) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr %174) #14
  call void @llvm.lifetime.start.p0(i64 8, ptr %175) #14
  %3288 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %134, ptr noundef nonnull align 4 dereferenceable(8) %140)
  store <2 x float> %3288, ptr %175, align 4
  %3289 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %175, ptr noundef nonnull align 4 dereferenceable(8) %153)
  store <2 x float> %3289, ptr %174, align 4
  %3290 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %174)
  store <2 x float> %3290, ptr %173, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %175) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %174) #14
  call void @llvm.lifetime.start.p0(i64 16, ptr %176) #14
  %3291 = getelementptr inbounds %struct.ImVec2, ptr %173, i32 0, i32 0
  %3292 = load float, ptr %3291, align 4, !tbaa !95
  %3293 = getelementptr inbounds %struct.ImVec2, ptr %173, i32 0, i32 1
  %3294 = load float, ptr %3293, align 4, !tbaa !93
  %3295 = load ptr, ptr %20, align 8, !tbaa !5
  %3296 = getelementptr inbounds %struct.ImGuiContext, ptr %3295, i32 0, i32 7
  %3297 = load float, ptr %3296, align 8, !tbaa !45
  %3298 = fsub float %3294, %3297
  %3299 = fadd float %3298, 5.000000e-01
  %3300 = getelementptr inbounds %struct.ImVec2, ptr %173, i32 0, i32 0
  %3301 = load float, ptr %3300, align 4, !tbaa !95
  %3302 = fadd float %3301, 1.000000e+00
  %3303 = getelementptr inbounds %struct.ImVec2, ptr %173, i32 0, i32 1
  %3304 = load float, ptr %3303, align 4, !tbaa !93
  %3305 = fsub float %3304, 1.500000e+00
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %176, float noundef %3292, float noundef %3299, float noundef %3302, float noundef %3305)
  %3306 = load i8, ptr %172, align 1, !tbaa !42, !range !40, !noundef !41
  %3307 = trunc i8 %3306 to i1
  call void @llvm.lifetime.start.p0(i64 16, ptr %177) #14
  br i1 %3307, label %3308, label %3310

3308:                                             ; preds = %3285
  call void @_ZN6ImRectC2ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %177, ptr noundef nonnull align 4 dereferenceable(16) %133)
  %3309 = call noundef zeroext i1 @_ZNK6ImRect8OverlapsERKS_(ptr noundef nonnull align 4 dereferenceable(16) %176, ptr noundef nonnull align 4 dereferenceable(16) %177)
  br label %3310

3310:                                             ; preds = %3308, %3285
  %3311 = phi i1 [ false, %3285 ], [ %3309, %3308 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr %177) #14
  br i1 %3311, label %3312, label %3319

3312:                                             ; preds = %3310
  %3313 = load ptr, ptr %38, align 8, !tbaa !5
  %3314 = getelementptr inbounds %struct.ImGuiWindow, ptr %3313, i32 0, i32 73
  %3315 = load ptr, ptr %3314, align 8, !tbaa !194
  %3316 = getelementptr inbounds %struct.ImRect, ptr %176, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %178) #14
  %3317 = call <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16) %176)
  store <2 x float> %3317, ptr %178, align 4
  %3318 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 0, float noundef 1.000000e+00)
  call void @_ZN10ImDrawList7AddLineERK6ImVec2S2_jf(ptr noundef nonnull align 8 dereferenceable(196) %3315, ptr noundef nonnull align 4 dereferenceable(8) %3316, ptr noundef nonnull align 4 dereferenceable(8) %178, i32 noundef %3318, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr %178) #14
  br label %3319

3319:                                             ; preds = %3312, %3310
  %3320 = load i8, ptr %25, align 1, !tbaa !42, !range !40, !noundef !41
  %3321 = trunc i8 %3320 to i1
  br i1 %3321, label %3344, label %3322

3322:                                             ; preds = %3319
  %3323 = load ptr, ptr %20, align 8, !tbaa !5
  %3324 = getelementptr inbounds %struct.ImGuiContext, ptr %3323, i32 0, i32 187
  %3325 = getelementptr inbounds %struct.ImGuiPlatformImeData, ptr %3324, i32 0, i32 0
  store i8 1, ptr %3325, align 8, !tbaa !199
  call void @llvm.lifetime.start.p0(i64 8, ptr %179) #14
  %3326 = getelementptr inbounds %struct.ImVec2, ptr %173, i32 0, i32 0
  %3327 = load float, ptr %3326, align 4, !tbaa !95
  %3328 = fsub float %3327, 1.000000e+00
  %3329 = getelementptr inbounds %struct.ImVec2, ptr %173, i32 0, i32 1
  %3330 = load float, ptr %3329, align 4, !tbaa !93
  %3331 = load ptr, ptr %20, align 8, !tbaa !5
  %3332 = getelementptr inbounds %struct.ImGuiContext, ptr %3331, i32 0, i32 7
  %3333 = load float, ptr %3332, align 8, !tbaa !45
  %3334 = fsub float %3330, %3333
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %179, float noundef %3328, float noundef %3334)
  %3335 = load ptr, ptr %20, align 8, !tbaa !5
  %3336 = getelementptr inbounds %struct.ImGuiContext, ptr %3335, i32 0, i32 187
  %3337 = getelementptr inbounds %struct.ImGuiPlatformImeData, ptr %3336, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3337, ptr align 4 %179, i64 8, i1 false), !tbaa.struct !43
  call void @llvm.lifetime.end.p0(i64 8, ptr %179) #14
  %3338 = load ptr, ptr %20, align 8, !tbaa !5
  %3339 = getelementptr inbounds %struct.ImGuiContext, ptr %3338, i32 0, i32 7
  %3340 = load float, ptr %3339, align 8, !tbaa !45
  %3341 = load ptr, ptr %20, align 8, !tbaa !5
  %3342 = getelementptr inbounds %struct.ImGuiContext, ptr %3341, i32 0, i32 187
  %3343 = getelementptr inbounds %struct.ImGuiPlatformImeData, ptr %3342, i32 0, i32 2
  store float %3340, ptr %3343, align 4, !tbaa !200
  br label %3344

3344:                                             ; preds = %3322, %3319
  call void @llvm.lifetime.end.p0(i64 16, ptr %176) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %173) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %172) #14
  br label %3345

3345:                                             ; preds = %3344, %3258
  call void @llvm.lifetime.end.p0(i64 8, ptr %153) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %141) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %140) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %139) #14
  br label %3420

3346:                                             ; preds = %2760
  %3347 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %3348 = trunc i8 %3347 to i1
  br i1 %3348, label %3349, label %3359

3349:                                             ; preds = %3346
  call void @llvm.lifetime.start.p0(i64 8, ptr %180) #14
  %3350 = getelementptr inbounds %struct.ImVec2, ptr %39, i32 0, i32 0
  %3351 = load float, ptr %3350, align 4, !tbaa !95
  %3352 = load ptr, ptr %137, align 8, !tbaa !5
  %3353 = call noundef i32 @_ZL32InputTextCalcTextLenAndLineCountPKcPS0_(ptr noundef %3352, ptr noundef %138)
  %3354 = sitofp i32 %3353 to float
  %3355 = load ptr, ptr %20, align 8, !tbaa !5
  %3356 = getelementptr inbounds %struct.ImGuiContext, ptr %3355, i32 0, i32 7
  %3357 = load float, ptr %3356, align 8, !tbaa !45
  %3358 = fmul float %3354, %3357
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %180, float noundef %3351, float noundef %3358)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %135, ptr align 4 %180, i64 8, i1 false), !tbaa.struct !43
  call void @llvm.lifetime.end.p0(i64 8, ptr %180) #14
  br label %3385

3359:                                             ; preds = %3346
  %3360 = load i8, ptr %68, align 1, !tbaa !42, !range !40, !noundef !41
  %3361 = trunc i8 %3360 to i1
  br i1 %3361, label %3375, label %3362

3362:                                             ; preds = %3359
  %3363 = load ptr, ptr %20, align 8, !tbaa !5
  %3364 = getelementptr inbounds %struct.ImGuiContext, ptr %3363, i32 0, i32 43
  %3365 = load i32, ptr %3364, align 4, !tbaa !106
  %3366 = load i32, ptr %29, align 4, !tbaa !9
  %3367 = icmp eq i32 %3365, %3366
  br i1 %3367, label %3368, label %3375

3368:                                             ; preds = %3362
  %3369 = load ptr, ptr %137, align 8, !tbaa !5
  %3370 = load ptr, ptr %47, align 8, !tbaa !5
  %3371 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %3370, i32 0, i32 2
  %3372 = load i32, ptr %3371, align 8, !tbaa !115
  %3373 = sext i32 %3372 to i64
  %3374 = getelementptr inbounds i8, ptr %3369, i64 %3373
  store ptr %3374, ptr %138, align 8, !tbaa !5
  br label %3384

3375:                                             ; preds = %3362, %3359
  %3376 = load i8, ptr %68, align 1, !tbaa !42, !range !40, !noundef !41
  %3377 = trunc i8 %3376 to i1
  br i1 %3377, label %3383, label %3378

3378:                                             ; preds = %3375
  %3379 = load ptr, ptr %137, align 8, !tbaa !5
  %3380 = load ptr, ptr %137, align 8, !tbaa !5
  %3381 = call i64 @strlen(ptr noundef %3380) #16
  %3382 = getelementptr inbounds i8, ptr %3379, i64 %3381
  store ptr %3382, ptr %138, align 8, !tbaa !5
  br label %3383

3383:                                             ; preds = %3378, %3375
  br label %3384

3384:                                             ; preds = %3383, %3368
  br label %3385

3385:                                             ; preds = %3384, %3349
  %3386 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %3387 = trunc i8 %3386 to i1
  br i1 %3387, label %3395, label %3388

3388:                                             ; preds = %3385
  %3389 = load ptr, ptr %138, align 8, !tbaa !5
  %3390 = load ptr, ptr %137, align 8, !tbaa !5
  %3391 = ptrtoint ptr %3389 to i64
  %3392 = ptrtoint ptr %3390 to i64
  %3393 = sub i64 %3391, %3392
  %3394 = icmp slt i64 %3393, 2097152
  br i1 %3394, label %3395, label %3419

3395:                                             ; preds = %3388, %3385
  call void @llvm.lifetime.start.p0(i64 4, ptr %181) #14
  %3396 = load i8, ptr %68, align 1, !tbaa !42, !range !40, !noundef !41
  %3397 = trunc i8 %3396 to i1
  %3398 = zext i1 %3397 to i64
  %3399 = select i1 %3397, i32 1, i32 0
  %3400 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %3399, float noundef 1.000000e+00)
  store i32 %3400, ptr %181, align 4, !tbaa !9
  %3401 = load ptr, ptr %38, align 8, !tbaa !5
  %3402 = getelementptr inbounds %struct.ImGuiWindow, ptr %3401, i32 0, i32 73
  %3403 = load ptr, ptr %3402, align 8, !tbaa !194
  %3404 = load ptr, ptr %20, align 8, !tbaa !5
  %3405 = getelementptr inbounds %struct.ImGuiContext, ptr %3404, i32 0, i32 6
  %3406 = load ptr, ptr %3405, align 8, !tbaa !127
  %3407 = load ptr, ptr %20, align 8, !tbaa !5
  %3408 = getelementptr inbounds %struct.ImGuiContext, ptr %3407, i32 0, i32 7
  %3409 = load float, ptr %3408, align 8, !tbaa !45
  %3410 = load i32, ptr %181, align 4, !tbaa !9
  %3411 = load ptr, ptr %137, align 8, !tbaa !5
  %3412 = load ptr, ptr %138, align 8, !tbaa !5
  %3413 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %3414 = trunc i8 %3413 to i1
  br i1 %3414, label %3415, label %3416

3415:                                             ; preds = %3395
  br label %3417

3416:                                             ; preds = %3395
  br label %3417

3417:                                             ; preds = %3416, %3415
  %3418 = phi ptr [ null, %3415 ], [ %133, %3416 ]
  call void @_ZN10ImDrawList7AddTextEPK6ImFontfRK6ImVec2jPKcS7_fPK6ImVec4(ptr noundef nonnull align 8 dereferenceable(196) %3403, ptr noundef %3406, float noundef %3409, ptr noundef nonnull align 4 dereferenceable(8) %134, i32 noundef %3410, ptr noundef %3411, ptr noundef %3412, float noundef 0.000000e+00, ptr noundef %3418)
  call void @llvm.lifetime.end.p0(i64 4, ptr %181) #14
  br label %3419

3419:                                             ; preds = %3417, %3388
  br label %3420

3420:                                             ; preds = %3419, %3345
  %3421 = load i8, ptr %26, align 1, !tbaa !42, !range !40, !noundef !41
  %3422 = trunc i8 %3421 to i1
  br i1 %3422, label %3423, label %3427

3423:                                             ; preds = %3420
  %3424 = load i8, ptr %68, align 1, !tbaa !42, !range !40, !noundef !41
  %3425 = trunc i8 %3424 to i1
  br i1 %3425, label %3427, label %3426

3426:                                             ; preds = %3423
  call void @_ZN5ImGui7PopFontEv()
  br label %3427

3427:                                             ; preds = %3426, %3423, %3420
  %3428 = load i8, ptr %24, align 1, !tbaa !42, !range !40, !noundef !41
  %3429 = trunc i8 %3428 to i1
  br i1 %3429, label %3430, label %3479

3430:                                             ; preds = %3427
  call void @llvm.lifetime.start.p0(i64 8, ptr %182) #14
  %3431 = getelementptr inbounds %struct.ImVec2, ptr %135, i32 0, i32 0
  %3432 = load float, ptr %3431, align 4, !tbaa !95
  %3433 = getelementptr inbounds %struct.ImVec2, ptr %135, i32 0, i32 1
  %3434 = load float, ptr %3433, align 4, !tbaa !93
  %3435 = load ptr, ptr %22, align 8, !tbaa !5
  %3436 = getelementptr inbounds %struct.ImGuiStyle, ptr %3435, i32 0, i32 12
  %3437 = getelementptr inbounds %struct.ImVec2, ptr %3436, i32 0, i32 1
  %3438 = load float, ptr %3437, align 4, !tbaa !94
  %3439 = fadd float %3434, %3438
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %182, float noundef %3432, float noundef %3439)
  call void @_ZN5ImGui5DummyERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %182)
  call void @llvm.lifetime.end.p0(i64 8, ptr %182) #14
  call void @llvm.lifetime.start.p0(i64 4, ptr %183) #14
  %3440 = load ptr, ptr %20, align 8, !tbaa !5
  %3441 = getelementptr inbounds %struct.ImGuiContext, ptr %3440, i32 0, i32 65
  %3442 = load i32, ptr %3441, align 4, !tbaa !201
  store i32 %3442, ptr %183, align 4, !tbaa !9
  %3443 = load ptr, ptr %20, align 8, !tbaa !5
  %3444 = getelementptr inbounds %struct.ImGuiContext, ptr %3443, i32 0, i32 65
  %3445 = load i32, ptr %3444, align 4, !tbaa !201
  %3446 = or i32 %3445, 257
  store i32 %3446, ptr %3444, align 4, !tbaa !201
  call void @_ZN5ImGui8EndChildEv()
  %3447 = load ptr, ptr %20, align 8, !tbaa !5
  %3448 = getelementptr inbounds %struct.ImGuiContext, ptr %3447, i32 0, i32 67
  %3449 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %3448, i32 0, i32 2
  %3450 = load i32, ptr %3449, align 4, !tbaa !97
  %3451 = and i32 %3450, 128
  %3452 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %41, i32 0, i32 2
  %3453 = load i32, ptr %3452, align 4, !tbaa !202
  %3454 = or i32 %3453, %3451
  store i32 %3454, ptr %3452, align 4, !tbaa !202
  %3455 = load i32, ptr %183, align 4, !tbaa !9
  %3456 = load ptr, ptr %20, align 8, !tbaa !5
  %3457 = getelementptr inbounds %struct.ImGuiContext, ptr %3456, i32 0, i32 65
  store i32 %3455, ptr %3457, align 4, !tbaa !201
  call void @_ZN5ImGui8EndGroupEv()
  %3458 = load ptr, ptr %20, align 8, !tbaa !5
  %3459 = getelementptr inbounds %struct.ImGuiContext, ptr %3458, i32 0, i32 67
  %3460 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %3459, i32 0, i32 0
  %3461 = load i32, ptr %3460, align 4, !tbaa !203
  %3462 = icmp eq i32 %3461, 0
  br i1 %3462, label %3463, label %3478

3463:                                             ; preds = %3430
  %3464 = load i32, ptr %29, align 4, !tbaa !9
  %3465 = load ptr, ptr %20, align 8, !tbaa !5
  %3466 = getelementptr inbounds %struct.ImGuiContext, ptr %3465, i32 0, i32 67
  %3467 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %3466, i32 0, i32 0
  store i32 %3464, ptr %3467, align 4, !tbaa !203
  %3468 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %41, i32 0, i32 1
  %3469 = load i32, ptr %3468, align 4, !tbaa !204
  %3470 = load ptr, ptr %20, align 8, !tbaa !5
  %3471 = getelementptr inbounds %struct.ImGuiContext, ptr %3470, i32 0, i32 67
  %3472 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %3471, i32 0, i32 1
  store i32 %3469, ptr %3472, align 4, !tbaa !205
  %3473 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %41, i32 0, i32 2
  %3474 = load i32, ptr %3473, align 4, !tbaa !202
  %3475 = load ptr, ptr %20, align 8, !tbaa !5
  %3476 = getelementptr inbounds %struct.ImGuiContext, ptr %3475, i32 0, i32 67
  %3477 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %3476, i32 0, i32 2
  store i32 %3474, ptr %3477, align 4, !tbaa !97
  br label %3478

3478:                                             ; preds = %3463, %3430
  call void @llvm.lifetime.end.p0(i64 4, ptr %183) #14
  br label %3479

3479:                                             ; preds = %3478, %3427
  %3480 = load ptr, ptr %20, align 8, !tbaa !5
  %3481 = getelementptr inbounds %struct.ImGuiContext, ptr %3480, i32 0, i32 198
  %3482 = load i8, ptr %3481, align 4, !tbaa !206, !range !40, !noundef !41
  %3483 = trunc i8 %3482 to i1
  br i1 %3483, label %3484, label %3493

3484:                                             ; preds = %3479
  %3485 = load i8, ptr %26, align 1, !tbaa !42, !range !40, !noundef !41
  %3486 = trunc i8 %3485 to i1
  br i1 %3486, label %3487, label %3490

3487:                                             ; preds = %3484
  %3488 = load i8, ptr %68, align 1, !tbaa !42, !range !40, !noundef !41
  %3489 = trunc i8 %3488 to i1
  br i1 %3489, label %3490, label %3493

3490:                                             ; preds = %3487, %3484
  call void @_ZN5ImGui24LogSetNextTextDecorationEPKcS1_(ptr noundef @.str.25, ptr noundef @.str.26)
  %3491 = load ptr, ptr %137, align 8, !tbaa !5
  %3492 = load ptr, ptr %138, align 8, !tbaa !5
  call void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef %134, ptr noundef %3491, ptr noundef %3492)
  br label %3493

3493:                                             ; preds = %3490, %3487, %3479
  %3494 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 0
  %3495 = load float, ptr %3494, align 4, !tbaa !95
  %3496 = fcmp ogt float %3495, 0.000000e+00
  br i1 %3496, label %3497, label %3516

3497:                                             ; preds = %3493
  %3498 = getelementptr inbounds %struct.ImRect, ptr %34, i32 0, i32 1
  %3499 = getelementptr inbounds %struct.ImVec2, ptr %3498, i32 0, i32 0
  %3500 = load float, ptr %3499, align 4, !tbaa !207
  %3501 = load ptr, ptr %22, align 8, !tbaa !5
  %3502 = getelementptr inbounds %struct.ImGuiStyle, ptr %3501, i32 0, i32 16
  %3503 = getelementptr inbounds %struct.ImVec2, ptr %3502, i32 0, i32 0
  %3504 = load float, ptr %3503, align 4, !tbaa !96
  %3505 = fadd float %3500, %3504
  %3506 = getelementptr inbounds %struct.ImRect, ptr %34, i32 0, i32 0
  %3507 = getelementptr inbounds %struct.ImVec2, ptr %3506, i32 0, i32 1
  %3508 = load float, ptr %3507, align 4, !tbaa !189
  %3509 = load ptr, ptr %22, align 8, !tbaa !5
  %3510 = getelementptr inbounds %struct.ImGuiStyle, ptr %3509, i32 0, i32 12
  %3511 = getelementptr inbounds %struct.ImVec2, ptr %3510, i32 0, i32 1
  %3512 = load float, ptr %3511, align 4, !tbaa !94
  %3513 = fadd float %3508, %3512
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %184, float noundef %3505, float noundef %3513)
  %3514 = load ptr, ptr %10, align 8, !tbaa !5
  %3515 = load <2 x float>, ptr %184, align 4
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %3515, ptr noundef %3514, ptr noundef null, i1 noundef zeroext true)
  br label %3516

3516:                                             ; preds = %3497, %3493
  %3517 = load i8, ptr %64, align 1, !tbaa !42, !range !40, !noundef !41
  %3518 = trunc i8 %3517 to i1
  br i1 %3518, label %3519, label %3525

3519:                                             ; preds = %3516
  %3520 = load i32, ptr %15, align 4, !tbaa !9
  %3521 = and i32 %3520, 134217728
  %3522 = icmp ne i32 %3521, 0
  br i1 %3522, label %3525, label %3523

3523:                                             ; preds = %3519
  %3524 = load i32, ptr %29, align 4, !tbaa !9
  call void @_ZN5ImGui14MarkItemEditedEj(i32 noundef %3524)
  br label %3525

3525:                                             ; preds = %3523, %3519, %3516
  %3526 = load ptr, ptr %20, align 8, !tbaa !5
  %3527 = load i32, ptr %15, align 4, !tbaa !9
  %3528 = and i32 %3527, 32
  %3529 = icmp ne i32 %3528, 0
  br i1 %3529, label %3530, label %3533

3530:                                             ; preds = %3525
  %3531 = load i8, ptr %65, align 1, !tbaa !42, !range !40, !noundef !41
  %3532 = trunc i8 %3531 to i1
  store i1 %3532, ptr %9, align 1
  store i32 1, ptr %19, align 4
  br label %3536

3533:                                             ; preds = %3525
  %3534 = load i8, ptr %64, align 1, !tbaa !42, !range !40, !noundef !41
  %3535 = trunc i8 %3534 to i1
  store i1 %3535, ptr %9, align 1
  store i32 1, ptr %19, align 4
  br label %3536

3536:                                             ; preds = %3533, %3530
  call void @llvm.lifetime.end.p0(i64 8, ptr %138) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %137) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %136) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %135) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %134) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr %133) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %115) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %114) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %82) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %71) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %68) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %67) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %65) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %64) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %63) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %62) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %58) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %56) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %54) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #14
  br label %3537

3537:                                             ; preds = %3536, %410, %396
  call void @llvm.lifetime.end.p0(i64 60, ptr %41) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #14
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #14
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #14
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #14
  br label %3538

3538:                                             ; preds = %3537, %190
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #14
  %3539 = load i1, ptr %9, align 1
  ret i1 %3539

3540:                                             ; preds = %2224
  %3541 = load ptr, ptr %118, align 8
  %3542 = load i32, ptr %119, align 4
  %3543 = insertvalue { ptr, i32 } poison, ptr %3541, 0
  %3544 = insertvalue { ptr, i32 } %3543, i32 %3542, 1
  resume { ptr, i32 } %3544

3545:                                             ; preds = %1377
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716), i32 noundef) #10 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN19ImGuiInputTextState15CursorAnimResetEv(ptr noundef nonnull align 8 dereferenceable(3716)) #3 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #11

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17ImGuiLastItemDataC2Ev(ptr noundef nonnull align 4 dereferenceable(60)) unnamed_addr #10 align 2

declare void @_ZN5ImGui12PushStyleVarEif(i32 noundef, float noundef) #4

declare noundef zeroext i1 @_ZN5ImGui12BeginChildExEPKcjRK6ImVec2bi(ptr noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext, i32 noundef) #4

declare void @_ZN5ImGui8EndChildEv() #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui17GetInputTextStateEj(i32 noundef) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorIcE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #12 align 2

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strncmp(ptr noundef, ptr noundef, i64 noundef) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorItE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #12 align 2

declare noundef i32 @_Z17ImTextStrFromUtf8PtiPKcS1_PS1_(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN19ImGuiInputTextState11CursorClampEv(ptr noundef nonnull align 8 dereferenceable(3716)) #10 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImStbL29stb_textedit_initialize_stateEPNS_17STB_TexteditStateEi(ptr noundef, i32 noundef) #10

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5ImGui19SetActiveIdUsingKeyE8ImGuiKey(i32 noundef) #12

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK19ImGuiInputTextState12HasSelectionEv(ptr noundef nonnull align 8 dereferenceable(3716)) #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8ImVectorI11ImFontGlyphE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8ImVectorIfE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK8ImVectorItE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

declare void @_ZN5ImGui8PushFontEP6ImFont(ptr noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN19ImGuiInputTextState9SelectAllEv(ptr noundef nonnull align 8 dereferenceable(3716)) #3 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImStbL18stb_textedit_clickEP19ImGuiInputTextStatePNS_17STB_TexteditStateEff(ptr noundef, ptr noundef, float noundef, float noundef) #10

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i16 @_ZN5ImStbL20STB_TEXTEDIT_GETCHAREPK19ImGuiInputTextStatei(ptr noundef, i32 noundef) #10

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN5ImStbL37stb_textedit_prep_selection_at_cursorEPNS_17STB_TexteditStateE(ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN5ImStbL30STB_TEXTEDIT_MOVEWORDRIGHT_MACEP19ImGuiInputTextStatei(ptr noundef, i32 noundef) #10

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN5ImStbL18stb_textedit_clampEP19ImGuiInputTextStatePNS_17STB_TexteditStateE(ptr noundef, ptr noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZL6ImSwapIiEvRT_S1_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImStbL17stb_textedit_dragEP19ImGuiInputTextStatePNS_17STB_TexteditStateEff(ptr noundef, ptr noundef, float noundef, float noundef) #10

declare noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef, i1 noundef zeroext) #4

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL24InputTextFilterCharacterPjiPFiP26ImGuiInputTextCallbackDataEPv16ImGuiInputSource(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 2 dereferenceable(2) ptr @_ZN8ImVectorItEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #1 align 2

declare void @_ZN5ImGui10SetScrollYEP11ImGuiWindowf(ptr noundef, float noundef) #4

declare noundef float @_ZN5ImGui13GetScrollMaxYEv() #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN19ImGuiInputTextState14ClearSelectionEv(ptr noundef nonnull align 8 dereferenceable(3716)) #3 align 2

declare noundef i32 @_Z27ImTextCountUtf8BytesFromStrPKtS0_(ptr noundef, ptr noundef) #4

declare noundef ptr @_ZN5ImGui8MemAllocEm(i64 noundef) #4

declare noundef i32 @_Z15ImTextStrToUtf8PciPKtS1_(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #4

declare void @_ZN5ImGui16SetClipboardTextEPKc(ptr noundef) #4

declare void @_ZN5ImGui7MemFreeEPv(ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN5ImStbL16stb_textedit_cutEP19ImGuiInputTextStatePNS_17STB_TexteditStateE(ptr noundef, ptr noundef) #10

declare noundef ptr @_ZN5ImGui16GetClipboardTextEv() #4

declare noundef i32 @_Z18ImTextCharFromUtf8PjPKcS1_(ptr noundef, ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN5ImStbL18stb_textedit_pasteEP19ImGuiInputTextStatePNS_17STB_TexteditStateEPKti(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #10

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImStbL20stb_textedit_replaceEP19ImGuiInputTextStatePNS_17STB_TexteditStateEPKti(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8ImVectorItEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

declare noundef i32 @_Z24ImTextCountCharsFromUtf8PKcS0_(ptr noundef, ptr noundef) #4

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8ImVectorItED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL44InputTextReconcileUndoStateAfterUserCallbackP19ImGuiInputTextStatePKci(ptr noundef, ptr noundef, i32 noundef) #10

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare hidden <2 x float> @_ZL22InputTextCalcTextSizeWPKtS0_PS0_P6ImVec2b(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) #9

declare noundef ptr @_Z9ImStrbolWPKtS0_(ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNK6ImFont14GetCharAdvanceEt(ptr noundef nonnull align 8 dereferenceable(110), i16 noundef zeroext) #10 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRect8ClipWithERKS_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #9 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #10 align 2

declare void @_ZN10ImDrawList7AddTextEPK6ImFontfRK6ImVec2jPKcS7_fPK6ImVec4(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef, float noundef, ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, ptr noundef, ptr noundef, float noundef, ptr noundef) #4

; Function Attrs: nounwind
declare float @fmodf(float noundef, float noundef) #13

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL32InputTextCalcTextLenAndLineCountPKcPS0_(ptr noundef, ptr noundef) #3

declare void @_ZN5ImGui7PopFontEv() #4

declare void @_ZN26ImGuiInputTextCallbackDataC1Ev(ptr)

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { 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 #10 = { 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 #11 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #12 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #13 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #14 = { nounwind }
attributes #15 = { noreturn nounwind }
attributes #16 = { nounwind willreturn memory(read) }

!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 = !{!"int", !7, i64 0}
!11 = !{!12, !15, i64 155}
!12 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !10, i64 8, !10, i64 12, !6, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !14, i64 80, !14, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !13, i64 100, !13, i64 108, !13, i64 116, !13, i64 124, !13, i64 132, !13, i64 140, !15, i64 148, !15, i64 149, !15, i64 150, !15, i64 151, !15, i64 152, !15, i64 153, !15, i64 154, !15, i64 155, !15, i64 156, !15, i64 157, !15, i64 158, !15, i64 159, !15, i64 160, !7, i64 161, !16, i64 162, !16, i64 164, !16, i64 166, !16, i64 168, !10, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !15, i64 179, !10, i64 180, !7, i64 184, !7, i64 185, !7, i64 186, !7, i64 187, !10, i64 188, !10, i64 189, !10, i64 190, !13, i64 192, !13, i64 200, !17, i64 208, !18, i64 224, !24, i64 464, !24, i64 480, !24, i64 496, !24, i64 512, !24, i64 528, !24, i64 544, !24, i64 560, !25, i64 576, !25, i64 580, !10, i64 584, !14, i64 588, !14, i64 592, !26, i64 600, !28, i64 616, !14, i64 632, !10, i64 636, !6, i64 640, !29, i64 648, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !7, i64 904, !7, i64 912, !10, i64 944, !10, i64 948, !15, i64 952}
!13 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!18 = !{!"_ZTS19ImGuiWindowTempData", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !14, i64 56, !14, i64 60, !15, i64 64, !15, i64 65, !19, i64 68, !19, i64 72, !19, i64 76, !13, i64 80, !20, i64 88, !16, i64 92, !16, i64 94, !10, i64 96, !15, i64 100, !15, i64 101, !15, i64 102, !13, i64 104, !21, i64 112, !10, i64 140, !10, i64 144, !22, i64 152, !6, i64 168, !6, i64 176, !10, i64 184, !10, i64 188, !10, i64 192, !14, i64 196, !14, i64 200, !23, i64 208, !23, i64 224}
!19 = !{!"_ZTS6ImVec1", !14, i64 0}
!20 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!21 = !{!"_ZTS16ImGuiMenuColumns", !10, i64 0, !10, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !7, i64 18}
!22 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!23 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!24 = !{!"_ZTS6ImRect", !13, i64 0, !13, i64 8}
!25 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!26 = !{!"_ZTS12ImGuiStorage", !27, i64 0}
!27 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!29 = !{!"_ZTS10ImDrawList", !30, i64 0, !31, i64 16, !32, i64 32, !10, i64 48, !10, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !33, i64 88, !34, i64 104, !35, i64 120, !36, i64 136, !38, i64 168, !14, i64 192}
!30 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!36 = !{!"_ZTS15ImDrawCmdHeader", !37, i64 0, !6, i64 16, !10, i64 24}
!37 = !{!"_ZTS6ImVec4", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!38 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !39, i64 8}
!39 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!40 = !{i8 0, i8 2}
!41 = !{}
!42 = !{!15, !15, i64 0}
!43 = !{i64 0, i64 4, !44, i64 4, i64 4, !44}
!44 = !{!14, !14, i64 0}
!45 = !{!46, !14, i64 15360}
!46 = !{!"_ZTS12ImGuiContext", !15, i64 0, !15, i64 1, !47, i64 8, !48, i64 14272, !48, i64 14288, !49, i64 14304, !6, i64 15352, !14, i64 15360, !14, i64 15364, !50, i64 15368, !51, i64 15880, !10, i64 15888, !10, i64 15892, !10, i64 15896, !15, i64 15900, !15, i64 15901, !15, i64 15902, !15, i64 15903, !15, i64 15904, !6, i64 15912, !22, i64 15920, !22, i64 15936, !22, i64 15952, !52, i64 15968, !26, i64 15984, !10, i64 16000, !13, i64 16004, !6, i64 16016, !6, i64 16024, !6, i64 16032, !6, i64 16040, !6, i64 16048, !13, i64 16056, !14, i64 16064, !10, i64 16068, !10, i64 16072, !10, i64 16076, !15, i64 16080, !15, i64 16081, !15, i64 16082, !15, i64 16083, !14, i64 16084, !14, i64 16088, !10, i64 16092, !10, i64 16096, !14, i64 16100, !15, i64 16104, !15, i64 16105, !15, i64 16106, !15, i64 16107, !15, i64 16108, !15, i64 16109, !13, i64 16112, !6, i64 16120, !53, i64 16128, !10, i64 16132, !10, i64 16136, !15, i64 16140, !15, i64 16141, !6, i64 16144, !10, i64 16152, !14, i64 16156, !10, i64 16160, !54, i64 16164, !10, i64 16184, !10, i64 16188, !55, i64 16192, !56, i64 16212, !57, i64 16272, !58, i64 16384, !59, i64 16400, !60, i64 16416, !17, i64 16432, !61, i64 16448, !62, i64 16464, !63, i64 16480, !63, i64 16496, !10, i64 16512, !64, i64 16520, !6, i64 16536, !10, i64 16544, !10, i64 16548, !10, i64 16552, !10, i64 16556, !10, i64 16560, !10, i64 16564, !10, i64 16568, !10, i64 16572, !10, i64 16576, !10, i64 16580, !10, i64 16584, !10, i64 16588, !53, i64 16592, !20, i64 16596, !15, i64 16600, !15, i64 16601, !15, i64 16602, !15, i64 16603, !15, i64 16604, !15, i64 16605, !15, i64 16606, !10, i64 16608, !24, i64 16612, !15, i64 16628, !15, i64 16629, !15, i64 16630, !10, i64 16632, !10, i64 16636, !10, i64 16640, !10, i64 16644, !10, i64 16648, !10, i64 16652, !24, i64 16656, !24, i64 16672, !10, i64 16688, !10, i64 16692, !10, i64 16696, !65, i64 16704, !65, i64 16752, !65, i64 16800, !65, i64 16848, !6, i64 16896, !6, i64 16904, !6, i64 16912, !14, i64 16920, !14, i64 16924, !15, i64 16928, !13, i64 16932, !13, i64 16940, !14, i64 16948, !10, i64 16952, !15, i64 16956, !15, i64 16957, !15, i64 16958, !10, i64 16960, !10, i64 16964, !10, i64 16968, !66, i64 16976, !24, i64 17040, !10, i64 17056, !10, i64 17060, !14, i64 17064, !10, i64 17068, !10, i64 17072, !10, i64 17076, !10, i64 17080, !67, i64 17088, !7, i64 17104, !10, i64 17120, !68, i64 17128, !6, i64 17144, !10, i64 17152, !69, i64 17160, !70, i64 17176, !23, i64 17216, !39, i64 17232, !6, i64 17248, !72, i64 17256, !74, i64 17296, !75, i64 17312, !10, i64 17328, !10, i64 17332, !14, i64 17336, !14, i64 17340, !13, i64 17344, !76, i64 17352, !80, i64 21072, !10, i64 21184, !10, i64 21188, !14, i64 21192, !14, i64 21196, !10, i64 21200, !37, i64 21204, !82, i64 21220, !14, i64 21268, !14, i64 21272, !15, i64 21276, !15, i64 21277, !14, i64 21280, !14, i64 21284, !14, i64 21288, !14, i64 21292, !16, i64 21296, !16, i64 21298, !77, i64 21304, !17, i64 21320, !83, i64 21336, !83, i64 21352, !7, i64 21368, !15, i64 21369, !14, i64 21372, !84, i64 21376, !85, i64 21392, !86, i64 21408, !87, i64 21424, !88, i64 21440, !10, i64 21456, !15, i64 21460, !89, i64 21464, !6, i64 21472, !84, i64 21480, !6, i64 21496, !6, i64 21504, !14, i64 21512, !15, i64 21516, !10, i64 21520, !10, i64 21524, !10, i64 21528, !10, i64 21532, !84, i64 21536, !15, i64 21552, !7, i64 21553, !10, i64 21556, !90, i64 21560, !91, i64 21576, !7, i64 21616, !10, i64 21856, !10, i64 21860, !14, i64 21864, !10, i64 21868, !10, i64 21872, !10, i64 21876, !77, i64 21880}
!47 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !13, i64 8, !14, i64 16, !14, i64 20, !6, i64 24, !6, i64 32, !14, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !14, i64 56, !14, i64 60, !14, i64 64, !6, i64 72, !6, i64 80, !14, i64 88, !15, i64 92, !6, i64 96, !13, i64 104, !15, i64 112, !15, i64 113, !15, i64 114, !15, i64 115, !15, i64 116, !15, i64 117, !15, i64 118, !15, i64 119, !14, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !15, i64 208, !15, i64 209, !15, i64 210, !15, i64 211, !15, i64 212, !15, i64 213, !15, i64 214, !14, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !13, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !13, i64 3572, !7, i64 3580, !14, i64 3588, !14, i64 3592, !15, i64 3596, !15, i64 3597, !15, i64 3598, !15, i64 3599, !10, i64 3600, !7, i64 3604, !15, i64 14036, !13, i64 14040, !7, i64 14048, !7, i64 14088, !7, i64 14128, !7, i64 14133, !7, i64 14138, !7, i64 14148, !7, i64 14158, !7, i64 14163, !7, i64 14168, !7, i64 14176, !7, i64 14196, !7, i64 14216, !14, i64 14236, !15, i64 14240, !15, i64 14241, !7, i64 14242, !15, i64 14243, !16, i64 14244, !31, i64 14248}
!48 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !10, i64 0, !10, i64 4, !6, i64 8}
!49 = !{!"_ZTS10ImGuiStyle", !14, i64 0, !14, i64 4, !13, i64 8, !14, i64 16, !14, i64 20, !13, i64 24, !13, i64 32, !10, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !14, i64 56, !13, i64 60, !14, i64 68, !14, i64 72, !13, i64 76, !13, i64 84, !13, i64 92, !13, i64 100, !14, i64 108, !14, i64 112, !14, i64 116, !14, i64 120, !14, i64 124, !14, i64 128, !14, i64 132, !14, i64 136, !14, i64 140, !14, i64 144, !10, i64 148, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !14, i64 184, !15, i64 188, !15, i64 189, !15, i64 190, !14, i64 192, !14, i64 196, !7, i64 200}
!50 = !{!"_ZTS20ImDrawListSharedData", !13, i64 0, !6, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !37, i64 28, !10, i64 44, !7, i64 48, !14, i64 432, !7, i64 436, !6, i64 504}
!51 = !{!"double", !7, i64 0}
!52 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!53 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!54 = !{!"_ZTS10ImBitArrayILi140ELin512EE", !7, i64 0}
!55 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !14, i64 4, !10, i64 8, !10, i64 12, !15, i64 16}
!56 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !24, i64 12, !24, i64 28, !24, i64 44}
!57 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !15, i64 56, !24, i64 60, !6, i64 80, !6, i64 88, !14, i64 96, !13, i64 100}
!58 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !6, i64 8}
!65 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !10, i64 8, !10, i64 12, !24, i64 16, !10, i64 32, !14, i64 36, !14, i64 40, !14, i64 44}
!66 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !15, i64 57, !15, i64 58}
!67 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!68 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!69 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!70 = !{!"_ZTS6ImPoolI10ImGuiTableE", !71, i64 0, !26, i64 16, !10, i64 32, !10, i64 36}
!71 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!72 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !73, i64 0, !26, i64 16, !10, i64 32, !10, i64 36}
!73 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!74 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!75 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!76 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !31, i64 16, !77, i64 32, !77, i64 48, !15, i64 64, !10, i64 68, !14, i64 72, !78, i64 76, !14, i64 3704, !15, i64 3708, !15, i64 3709, !15, i64 3710, !10, i64 3712}
!77 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!78 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 12, !10, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !14, i64 28, !79, i64 32}
!79 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !10, i64 3588, !10, i64 3592}
!80 = !{!"_ZTS6ImFont", !23, i64 0, !14, i64 16, !14, i64 20, !31, i64 24, !81, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !15, i64 88, !14, i64 92, !14, i64 96, !14, i64 100, !10, i64 104, !7, i64 108}
!81 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!82 = !{!"_ZTS21ImGuiComboPreviewData", !24, i64 0, !13, i64 16, !13, i64 24, !13, i64 32, !14, i64 40, !10, i64 44}
!83 = !{!"_ZTS20ImGuiPlatformImeData", !15, i64 0, !13, i64 4, !14, i64 12}
!84 = !{!"_ZTS15ImGuiTextBuffer", !77, i64 0}
!85 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!86 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !77, i64 0}
!87 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !77, i64 0}
!88 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!89 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!90 = !{!"_ZTS18ImGuiMetricsConfig", !15, i64 0, !15, i64 1, !15, i64 2, !15, i64 3, !15, i64 4, !15, i64 5, !15, i64 6, !10, i64 8, !10, i64 12}
!91 = !{!"_ZTS14ImGuiStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !92, i64 16, !15, i64 32, !14, i64 36}
!92 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !6, i64 8}
!93 = !{!13, !14, i64 4}
!94 = !{!49, !14, i64 64}
!95 = !{!13, !14, i64 0}
!96 = !{!49, !14, i64 84}
!97 = !{!46, !10, i64 16220}
!98 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 4, !9, i64 12, i64 4, !44, i64 16, i64 4, !44, i64 20, i64 4, !44, i64 24, i64 4, !44, i64 28, i64 4, !44, i64 32, i64 4, !44, i64 36, i64 4, !44, i64 40, i64 4, !44, i64 44, i64 4, !44, i64 48, i64 4, !44, i64 52, i64 4, !44, i64 56, i64 4, !44}
!99 = !{!49, !14, i64 68}
!100 = !{!49, !14, i64 72}
!101 = !{!46, !6, i64 16016}
!102 = !{!12, !20, i64 312}
!103 = !{!12, !16, i64 318}
!104 = !{!12, !14, i64 140}
!105 = !{!46, !10, i64 16952}
!106 = !{!46, !10, i64 16092}
!107 = !{!46, !10, i64 16564}
!108 = !{!46, !10, i64 16552}
!109 = !{!46, !53, i64 16592}
!110 = !{!46, !10, i64 16136}
!111 = !{!12, !14, i64 104}
!112 = !{!76, !7, i64 99}
!113 = !{!76, !6, i64 56}
!114 = !{!76, !10, i64 0}
!115 = !{!76, !10, i64 8}
!116 = !{!76, !15, i64 64}
!117 = !{!76, !6, i64 40}
!118 = !{!76, !6, i64 24}
!119 = !{!76, !10, i64 4}
!120 = !{!76, !14, i64 72}
!121 = !{!46, !10, i64 16568}
!122 = !{!47, !15, i64 3596}
!123 = !{!76, !7, i64 88}
!124 = !{!46, !10, i64 16160}
!125 = !{!76, !10, i64 16}
!126 = !{!7, !7, i64 0}
!127 = !{!46, !6, i64 15352}
!128 = !{!80, !14, i64 20}
!129 = !{!80, !14, i64 92}
!130 = !{!80, !14, i64 96}
!131 = !{!80, !14, i64 100}
!132 = !{!80, !6, i64 64}
!133 = !{!80, !6, i64 56}
!134 = !{!135, !14, i64 4}
!135 = !{!"_ZTS11ImFontGlyph", !10, i64 0, !10, i64 0, !10, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28, !14, i64 32, !14, i64 36}
!136 = !{!80, !14, i64 16}
!137 = !{!76, !15, i64 3710}
!138 = !{!76, !10, i64 68}
!139 = !{!76, !10, i64 3712}
!140 = !{!46, !15, i64 16105}
!141 = !{!46, !10, i64 21876}
!142 = !{!47, !14, i64 3572}
!143 = !{!24, !14, i64 0}
!144 = !{!49, !14, i64 60}
!145 = !{!47, !14, i64 3576}
!146 = !{!12, !14, i64 228}
!147 = !{!47, !15, i64 113}
!148 = !{!76, !15, i64 3709}
!149 = !{!16, !16, i64 0}
!150 = !{!47, !15, i64 3597}
!151 = !{!76, !10, i64 76}
!152 = !{!76, !10, i64 80}
!153 = !{!76, !10, i64 84}
!154 = !{!76, !15, i64 3708}
!155 = !{!47, !14, i64 240}
!156 = !{!47, !14, i64 244}
!157 = !{!47, !15, i64 3598}
!158 = !{!47, !15, i64 3599}
!159 = !{!47, !10, i64 14248}
!160 = distinct !{!160, !161}
!161 = !{!"llvm.loop.mustprogress"}
!162 = !{!46, !15, i64 16104}
!163 = !{!76, !10, i64 92}
!164 = !{!47, !10, i64 3600}
!165 = !{!46, !15, i64 121}
!166 = !{!47, !10, i64 0}
!167 = !{!47, !10, i64 4}
!168 = !{!47, !15, i64 116}
!169 = !{!47, !6, i64 176}
!170 = distinct !{!170, !161}
!171 = !{!76, !10, i64 48}
!172 = !{!31, !6, i64 8}
!173 = !{!31, !10, i64 0}
!174 = !{!76, !10, i64 32}
!175 = !{!176, !176, i64 0}
!176 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!177 = !{!178, !10, i64 0}
!178 = !{!"_ZTS26ImGuiInputTextCallbackData", !10, i64 0, !10, i64 4, !6, i64 8, !16, i64 16, !176, i64 20, !6, i64 24, !10, i64 32, !10, i64 36, !15, i64 40, !10, i64 44, !10, i64 48, !10, i64 52}
!179 = !{!178, !10, i64 4}
!180 = !{!178, !6, i64 8}
!181 = !{!178, !176, i64 20}
!182 = !{!178, !6, i64 24}
!183 = !{!178, !10, i64 32}
!184 = !{!178, !10, i64 36}
!185 = !{!178, !15, i64 40}
!186 = !{!178, !10, i64 44}
!187 = !{!178, !10, i64 48}
!188 = !{!178, !10, i64 52}
!189 = !{!24, !14, i64 4}
!190 = distinct !{!190, !161}
!191 = !{!37, !14, i64 12}
!192 = !{!37, !14, i64 4}
!193 = distinct !{!193, !161}
!194 = !{!12, !6, i64 640}
!195 = distinct !{!195, !161}
!196 = !{!47, !14, i64 16}
!197 = !{!76, !14, i64 3704}
!198 = !{!46, !15, i64 123}
!199 = !{!46, !15, i64 21336}
!200 = !{!46, !14, i64 21348}
!201 = !{!46, !10, i64 16188}
!202 = !{!56, !10, i64 8}
!203 = !{!46, !10, i64 16212}
!204 = !{!56, !10, i64 4}
!205 = !{!46, !10, i64 16216}
!206 = !{!46, !15, i64 21460}
!207 = !{!24, !14, i64 8}


; 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 }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiInputTextCallbackData = type { i32, i32, ptr, i16, i32, ptr, i32, i32, i8, i32, i32, i32 }
%struct.ImVec4 = type { float, float, float, float }

@GImGui = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [1 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [114 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [31 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv = external hidden unnamed_addr constant [134 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [34 x i8], align 1
@__const._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv.searches_result_line_no = external hidden unnamed_addr constant [2 x i32], align 4

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2

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

declare <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef, ptr noundef, i1 noundef zeroext, float noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #5

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

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

declare noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

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

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

declare void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float>, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #5

declare void @_ZN5ImGui14PushStyleColorEiRK6ImVec4(i32 noundef, ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4

declare void @_ZN5ImGui13PopStyleColorEi(i32 noundef) local_unnamed_addr #4

declare noundef float @_ZN5ImGui13CalcItemWidthEv() local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5ImGui8ItemSizeERK6ImRectf(ptr noundef nonnull align 4 dereferenceable(16), float noundef) local_unnamed_addr #5

declare noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef, float noundef) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN5ImGui13ItemHoverableERK6ImRectj(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) local_unnamed_addr #4

declare void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef) local_unnamed_addr #4

declare void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef, ptr noundef) local_unnamed_addr #4

declare void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef, ptr noundef) local_unnamed_addr #4

declare void @_ZN5ImGui13ClearActiveIDEv() local_unnamed_addr #4

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

declare noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(953), ptr noundef, ptr noundef) local_unnamed_addr #4

declare <2 x float> @_ZN5ImGui12CalcItemSizeE6ImVec2ff(<2 x float>, float noundef, float noundef) local_unnamed_addr #4

declare void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i32 noundef) local_unnamed_addr #4

declare void @_ZN5ImGui11RenderFrameE6ImVec2S0_jbf(<2 x float>, <2 x float>, i32 noundef, i1 noundef zeroext, float noundef) local_unnamed_addr #4

declare void @_ZN5ImGui24LogSetNextTextDecorationEPKcS1_(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #9 align 2

declare void @_ZN10ImDrawList7AddLineERK6ImVec2S2_jf(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #10 align 2

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

declare void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef nonnull align 4 dereferenceable(8) ptr @_ZpLR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #1

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

declare void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #4

declare void @_ZN5ImGui11PopStyleVarEi(i32 noundef) local_unnamed_addr #4

declare void @_ZN5ImGui14MarkItemEditedEj(i32 noundef) local_unnamed_addr #4

declare void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #9 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6ImRect8OverlapsERKS_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2

declare void @_ZN5ImGui10BeginGroupEv() local_unnamed_addr #4

declare void @_ZN5ImGui8EndGroupEv() local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL5ImMinIiET_S0_S0_(i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL5ImMaxIiET_S0_S0_(i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @_Z9ImStrncpyPcPKcm(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr nocapture noundef nonnull readonly align 4 dereferenceable(8) %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) local_unnamed_addr #9 personality ptr @__gxx_personality_v0 {
  %9 = alloca %struct.ImVec2, align 8
  %10 = alloca %struct.ImVec2, align 4
  %11 = alloca %struct.ImRect, align 8
  %12 = alloca %struct.ImVec2, align 8
  %13 = alloca %struct.ImRect, align 4
  %14 = alloca %struct.ImVec2, align 8
  %15 = alloca %struct.ImGuiLastItemData, align 4
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca %struct.ImVec2, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i16, align 2
  %25 = alloca %struct.ImVector.5, align 8
  %26 = alloca %struct.ImGuiInputTextCallbackData, align 8
  %27 = alloca %struct.ImGuiInputTextCallbackData, align 8
  %28 = alloca %struct.ImVec4, align 4
  %29 = alloca %struct.ImVec2, align 8
  %30 = alloca %struct.ImVec2, align 8
  %31 = alloca ptr, align 8
  %32 = alloca %struct.ImVec2, align 4
  %33 = alloca %struct.ImVec2, align 4
  %34 = alloca %struct.ImVec2, align 8
  %35 = alloca %struct.ImVec2, align 4
  %36 = alloca %struct.ImVec2, align 8
  %37 = alloca %struct.ImVec2, align 8
  %38 = alloca ptr, align 8
  %39 = alloca %struct.ImRect, align 4
  %40 = alloca %struct.ImVec2, align 8
  %41 = alloca %struct.ImVec2, align 4
  %42 = alloca %struct.ImVec2, align 8
  %43 = alloca %struct.ImVec2, align 4
  %44 = alloca %struct.ImRect, align 4
  %45 = alloca %struct.ImRect, align 4
  %46 = alloca %struct.ImVec2, align 8
  %47 = alloca %struct.ImVec2, align 8
  %48 = alloca %struct.ImVec2, align 8
  %49 = alloca %struct.ImRect, align 4
  %50 = alloca %struct.ImRect, align 4
  %51 = alloca %struct.ImVec2, align 8
  %52 = alloca %struct.ImVec2, align 8
  %53 = alloca %struct.ImVec2, align 8
  %54 = alloca %struct.ImVec2, align 4
  %55 = alloca %struct.ImVec2, align 8
  %56 = tail call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  %57 = getelementptr inbounds i8, ptr %56, i64 155
  %58 = load i8, ptr %57, align 1, !tbaa !5, !range !38, !noundef !39
  %59 = trunc nuw i8 %58 to i1
  br i1 %59, label %1518, label %60

60:                                               ; preds = %8
  %61 = icmp ne ptr %2, null
  %62 = icmp sgt i32 %3, -1
  %63 = and i1 %61, %62
  br i1 %63, label %65, label %64

64:                                               ; preds = %60
  tail call void @__assert_fail(ptr noundef nonnull @.str.57, ptr noundef nonnull @.str.2, i32 noundef 3974, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #14
  unreachable

65:                                               ; preds = %60
  %66 = and i32 %5, 128
  %.not968.not = icmp eq i32 %66, 0
  %67 = and i32 %5, 67108864
  %68 = icmp ne i32 %67, 0
  %69 = and i32 %5, 67108992
  %.not969 = icmp eq i32 %69, 67108992
  br i1 %.not969, label %70, label %71

70:                                               ; preds = %65
  tail call void @__assert_fail(ptr noundef nonnull @.str.58, ptr noundef nonnull @.str.2, i32 noundef 3975, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #14
  unreachable

71:                                               ; preds = %65
  %72 = and i32 %5, 64
  %.not970 = icmp eq i32 %72, 0
  %73 = and i32 %5, 1024
  %.not971 = icmp eq i32 %73, 0
  %74 = and i32 %5, 1088
  %.not972 = icmp eq i32 %74, 1088
  br i1 %.not972, label %75, label %76

75:                                               ; preds = %71
  tail call void @__assert_fail(ptr noundef nonnull @.str.59, ptr noundef nonnull @.str.2, i32 noundef 3976, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #14
  unreachable

76:                                               ; preds = %71
  %77 = load ptr, ptr @GImGui, align 8, !tbaa !40
  %78 = getelementptr inbounds i8, ptr %77, i64 8
  %79 = and i32 %5, 16384
  %80 = icmp ne i32 %79, 0
  %81 = and i32 %5, 32768
  %.not973 = icmp eq i32 %81, 0
  %82 = and i32 %5, 65536
  %83 = icmp eq i32 %82, 0
  %84 = and i32 %5, 262144
  %.not974 = icmp eq i32 %84, 0
  %85 = icmp ne ptr %6, null
  %or.cond17 = or i1 %.not974, %85
  br i1 %or.cond17, label %87, label %86

86:                                               ; preds = %76
  tail call void @__assert_fail(ptr noundef nonnull @.str.60, ptr noundef nonnull @.str.2, i32 noundef 3989, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #14
  unreachable

87:                                               ; preds = %76
  br i1 %68, label %88, label %89

88:                                               ; preds = %87
  tail call void @_ZN5ImGui10BeginGroupEv()
  br label %89

89:                                               ; preds = %88, %87
  %90 = tail call noundef i32 @_ZN11ImGuiWindow5GetIDEPKcS1_(ptr noundef nonnull align 8 dereferenceable(953) %56, ptr noundef %0, ptr noundef null)
  %91 = tail call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %0, ptr noundef null, i1 noundef zeroext true, float noundef -1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #15
  %.sroa.0541.0.copyload = load <2 x float>, ptr %4, align 4
  %92 = tail call noundef float @_ZN5ImGui13CalcItemWidthEv()
  br i1 %68, label %93, label %97

93:                                               ; preds = %89
  %94 = getelementptr inbounds i8, ptr %77, i64 15360
  %95 = load float, ptr %94, align 8, !tbaa !41
  %96 = fmul float %95, 8.000000e+00
  br label %98

97:                                               ; preds = %89
  %.sroa.0542.4.vec.extract = extractelement <2 x float> %91, i64 1
  br label %98

98:                                               ; preds = %97, %93
  %99 = phi float [ %96, %93 ], [ %.sroa.0542.4.vec.extract, %97 ]
  %100 = getelementptr inbounds i8, ptr %77, i64 14364
  %101 = getelementptr inbounds i8, ptr %77, i64 14368
  %102 = load float, ptr %101, align 4, !tbaa !89
  %103 = tail call float @llvm.fmuladd.f32(float %102, float 2.000000e+00, float %99)
  %104 = tail call <2 x float> @_ZN5ImGui12CalcItemSizeE6ImVec2ff(<2 x float> %.sroa.0541.0.copyload, float noundef %92, float noundef %103)
  store <2 x float> %104, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #15
  %105 = extractelement <2 x float> %104, i64 0
  %.sroa.0542.0.vec.extract = extractelement <2 x float> %91, i64 0
  %106 = fcmp ogt float %.sroa.0542.0.vec.extract, 0.000000e+00
  %107 = extractelement <2 x float> %104, i64 1
  br i1 %106, label %108, label %112

108:                                              ; preds = %98
  %109 = getelementptr inbounds i8, ptr %77, i64 14388
  %110 = load float, ptr %109, align 4, !tbaa !90
  %111 = fadd float %.sroa.0542.0.vec.extract, %110
  br label %112

112:                                              ; preds = %98, %108
  %113 = phi float [ %111, %108 ], [ 0.000000e+00, %98 ]
  %114 = fadd float %105, %113
  %115 = getelementptr inbounds i8, ptr %9, i64 4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef %114, float noundef %107)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #15
  %116 = getelementptr inbounds i8, ptr %56, i64 224
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #15
  %117 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %116, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %117, ptr %12, align 8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(8) %116, ptr noundef nonnull align 4 dereferenceable(8) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #15
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #15
  %118 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(8) %10)
  store <2 x float> %118, ptr %14, align 8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(8) %14)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #15
  %.sroa.0512.0.copyload = load float, ptr %9, align 8, !tbaa !91
  %.sroa.11.0.copyload = load float, ptr %115, align 4, !tbaa !91
  call void @llvm.lifetime.start.p0(i64 60, ptr nonnull %15) #15
  call void @_ZN17ImGuiLastItemDataC2Ev(ptr noundef nonnull align 4 dereferenceable(60) %15)
  br i1 %68, label %119, label %151

119:                                              ; preds = %112
  %120 = load i64, ptr %116, align 8
  %121 = load float, ptr %101, align 4, !tbaa !89
  call void @_ZN5ImGui8ItemSizeERK6ImRectf(ptr noundef nonnull align 4 dereferenceable(16) %13, float noundef %121)
  %122 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %13, i32 noundef %90, ptr noundef nonnull %11, i32 noundef 256)
  br i1 %122, label %124, label %123

123:                                              ; preds = %119
  call void @_ZN5ImGui8EndGroupEv()
  br label %.thread

124:                                              ; preds = %119
  %125 = getelementptr inbounds i8, ptr %77, i64 16212
  %126 = getelementptr inbounds i8, ptr %77, i64 16220
  %127 = load i32, ptr %126, align 4, !tbaa !92
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(60) %15, ptr noundef nonnull align 4 dereferenceable(60) %125, i64 60, i1 false), !tbaa.struct !93
  store i64 %120, ptr %116, align 8
  %128 = getelementptr inbounds i8, ptr %77, i64 14616
  call void @_ZN5ImGui14PushStyleColorEiRK6ImVec4(i32 noundef 3, ptr noundef nonnull align 4 dereferenceable(16) %128)
  %129 = getelementptr inbounds i8, ptr %77, i64 14372
  %130 = load float, ptr %129, align 4, !tbaa !95
  call void @_ZN5ImGui12PushStyleVarEif(i32 noundef 7, float noundef %130)
  %131 = getelementptr inbounds i8, ptr %77, i64 14376
  %132 = load float, ptr %131, align 4, !tbaa !96
  call void @_ZN5ImGui12PushStyleVarEif(i32 noundef 8, float noundef %132)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #15
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef 2, ptr noundef nonnull align 4 dereferenceable(8) %16)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #15
  %133 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %11)
  store <2 x float> %133, ptr %17, align 8
  %134 = call noundef zeroext i1 @_ZN5ImGui12BeginChildExEPKcjRK6ImVec2bi(ptr noundef %0, i32 noundef %90, ptr noundef nonnull align 4 dereferenceable(8) %17, i1 noundef zeroext true, i32 noundef 4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #15
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 3)
  call void @_ZN5ImGui13PopStyleColorEi(i32 noundef 1)
  br i1 %134, label %136, label %135

135:                                              ; preds = %124
  call void @_ZN5ImGui8EndChildEv()
  call void @_ZN5ImGui8EndGroupEv()
  br label %.thread

136:                                              ; preds = %124
  %137 = getelementptr inbounds i8, ptr %77, i64 16016
  %138 = load ptr, ptr %137, align 8, !tbaa !97
  %139 = getelementptr inbounds i8, ptr %138, i64 224
  %140 = getelementptr inbounds i8, ptr %138, i64 312
  %141 = load i32, ptr %140, align 8, !tbaa !98
  %142 = shl nuw i32 1, %141
  %143 = getelementptr inbounds i8, ptr %138, i64 318
  %144 = load i16, ptr %143, align 2, !tbaa !99
  %145 = trunc i32 %142 to i16
  %146 = or i16 %144, %145
  store i16 %146, ptr %143, align 2, !tbaa !99
  %147 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZpLR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %139, ptr noundef nonnull align 4 dereferenceable(8) %100)
  %148 = getelementptr inbounds i8, ptr %138, i64 140
  %149 = load float, ptr %148, align 4, !tbaa !100
  %150 = fsub float %.sroa.0512.0.copyload, %149
  br label %159

151:                                              ; preds = %112
  %152 = load float, ptr %101, align 4, !tbaa !89
  call void @_ZN5ImGui8ItemSizeERK6ImRectf(ptr noundef nonnull align 4 dereferenceable(16) %13, float noundef %152)
  %153 = and i32 %5, 268435456
  %.not975 = icmp eq i32 %153, 0
  br i1 %.not975, label %154, label %156

154:                                              ; preds = %151
  %155 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %13, i32 noundef %90, ptr noundef nonnull %11, i32 noundef 256)
  br i1 %155, label %156, label %.thread

156:                                              ; preds = %154, %151
  %157 = getelementptr inbounds i8, ptr %77, i64 16220
  %158 = load i32, ptr %157, align 4, !tbaa !92
  br label %159

159:                                              ; preds = %136, %156
  %.1890 = phi i32 [ %127, %136 ], [ %158, %156 ]
  %.sroa.0512.2 = phi float [ %150, %136 ], [ %.sroa.0512.0.copyload, %156 ]
  %.2888 = phi ptr [ %138, %136 ], [ %56, %156 ]
  %160 = call noundef zeroext i1 @_ZN5ImGui13ItemHoverableERK6ImRectj(ptr noundef nonnull align 4 dereferenceable(16) %11, i32 noundef %90)
  br i1 %160, label %161, label %163

161:                                              ; preds = %159
  %162 = getelementptr inbounds i8, ptr %77, i64 16952
  store i32 1, ptr %162, align 8, !tbaa !101
  br label %163

163:                                              ; preds = %161, %159
  %164 = call noundef ptr @_ZN5ImGui17GetInputTextStateEj(i32 noundef %90)
  %165 = and i32 %.1890, 256
  %166 = icmp ne i32 %165, 0
  %167 = getelementptr inbounds i8, ptr %77, i64 16092
  %168 = load i32, ptr %167, align 4, !tbaa !102
  %.not976 = icmp eq i32 %168, %90
  br i1 %.not976, label %181, label %169

169:                                              ; preds = %163
  %170 = getelementptr inbounds i8, ptr %77, i64 16564
  %171 = load i32, ptr %170, align 4, !tbaa !103
  %172 = icmp eq i32 %171, %90
  br i1 %172, label %181, label %173

173:                                              ; preds = %169
  %174 = getelementptr inbounds i8, ptr %77, i64 16552
  %175 = load i32, ptr %174, align 8, !tbaa !104
  %176 = icmp eq i32 %175, %90
  br i1 %176, label %177, label %181

177:                                              ; preds = %173
  %178 = getelementptr inbounds i8, ptr %77, i64 16592
  %179 = load i32, ptr %178, align 8, !tbaa !105
  %180 = icmp eq i32 %179, 2
  br label %181

181:                                              ; preds = %169, %177, %173, %163
  %182 = phi i1 [ false, %163 ], [ true, %169 ], [ false, %173 ], [ %180, %177 ]
  br i1 %160, label %183, label %187

183:                                              ; preds = %181
  %184 = getelementptr inbounds i8, ptr %77, i64 14136
  %185 = load i8, ptr %184, align 8, !tbaa !106, !range !38, !noundef !39
  %186 = trunc nuw i8 %185 to i1
  br label %187

187:                                              ; preds = %183, %181
  %188 = phi i1 [ false, %181 ], [ %186, %183 ]
  %189 = icmp ne ptr %164, null
  %or.cond = and i1 %68, %189
  br i1 %or.cond, label %190, label %200

190:                                              ; preds = %187
  %191 = icmp eq i32 %168, 0
  br i1 %191, label %192, label %.thread1126

192:                                              ; preds = %190
  %193 = getelementptr inbounds i8, ptr %77, i64 16136
  %194 = load i32, ptr %193, align 8, !tbaa !107
  %195 = call noundef i32 @_ZN5ImGui20GetWindowScrollbarIDEP11ImGuiWindow9ImGuiAxis(ptr noundef nonnull %.2888, i32 noundef 1)
  %196 = icmp eq i32 %194, %195
  %.pre = load i32, ptr %167, align 4, !tbaa !102
  br label %.thread1126

.thread1126:                                      ; preds = %190, %192
  %197 = phi i32 [ %.pre, %192 ], [ %168, %190 ]
  %.ph = phi i1 [ %196, %192 ], [ false, %190 ]
  %198 = call noundef i32 @_ZN5ImGui20GetWindowScrollbarIDEP11ImGuiWindow9ImGuiAxis(ptr noundef nonnull %.2888, i32 noundef 1)
  %199 = icmp eq i32 %197, %198
  br label %201

200:                                              ; preds = %187
  br i1 %68, label %201, label %206

201:                                              ; preds = %.thread1126, %200
  %202 = phi i1 [ %199, %.thread1126 ], [ false, %200 ]
  %203 = phi i1 [ %.ph, %.thread1126 ], [ false, %200 ]
  %204 = getelementptr inbounds i8, ptr %.2888, i64 104
  %205 = load float, ptr %204, align 4, !tbaa !108
  br label %206

206:                                              ; preds = %200, %201
  %207 = phi i1 [ %202, %201 ], [ false, %200 ]
  %208 = phi i1 [ %203, %201 ], [ false, %200 ]
  %209 = phi float [ %205, %201 ], [ 0x47EFFFFFE0000000, %200 ]
  br i1 %189, label %210, label %.thread1127

210:                                              ; preds = %206
  %211 = getelementptr inbounds i8, ptr %164, i64 99
  %212 = load i8, ptr %211, align 1, !tbaa !109
  %213 = xor i1 %68, true
  %214 = zext i1 %213 to i8
  %215 = icmp ne i8 %212, %214
  %brmerge = select i1 %188, i1 true, i1 %208
  %216 = select i1 %brmerge, i1 true, i1 %182
  %spec.select1117 = select i1 %216, i1 true, i1 %166
  %217 = select i1 %spec.select1117, i1 true, i1 %207
  br i1 %217, label %220, label %223

.thread1127:                                      ; preds = %206
  %brmerge1128 = select i1 %188, i1 true, i1 %208
  %218 = select i1 %brmerge1128, i1 true, i1 %182
  %spec.select11171130 = select i1 %218, i1 true, i1 %166
  %219 = select i1 %spec.select11171130, i1 true, i1 %207
  br i1 %219, label %220, label %.thread1135.thread

220:                                              ; preds = %.thread1127, %210
  %spec.select11171134 = phi i1 [ %spec.select11171130, %.thread1127 ], [ %spec.select1117, %210 ]
  %221 = phi i1 [ false, %.thread1127 ], [ %215, %210 ]
  %222 = load i32, ptr %167, align 4, !tbaa !102
  %.not977 = icmp ne i32 %222, %90
  %brmerge1015 = select i1 %.not977, i1 true, i1 %221
  br i1 %brmerge1015, label %224, label %.thread1135

223:                                              ; preds = %210
  br i1 %215, label %224, label %.thread1135.thread

224:                                              ; preds = %220, %223
  %225 = phi i8 [ 1, %220 ], [ 0, %223 ]
  %spec.select11171132 = phi i1 [ %spec.select11171134, %220 ], [ false, %223 ]
  %226 = phi i1 [ %221, %220 ], [ true, %223 ]
  %227 = getelementptr inbounds i8, ptr %77, i64 17352
  call void @_ZN19ImGuiInputTextState15CursorAnimResetEv(ptr noundef nonnull align 8 dereferenceable(3716) %227)
  %228 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %2) #16
  %229 = trunc i64 %228 to i32
  %230 = getelementptr inbounds i8, ptr %77, i64 17400
  %231 = add nsw i32 %229, 1
  call void @_ZN8ImVectorIcE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %230, i32 noundef %231)
  %232 = getelementptr inbounds i8, ptr %77, i64 17408
  %233 = load ptr, ptr %232, align 8, !tbaa !110
  %234 = sext i32 %231 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %233, ptr nonnull align 1 %2, i64 %234, i1 false)
  %235 = load i32, ptr %227, align 8, !tbaa !111
  %236 = icmp ne i32 %235, %90
  %.not1184 = select i1 %236, i1 true, i1 %226
  br i1 %.not1184, label %250, label %237

237:                                              ; preds = %224
  %238 = getelementptr inbounds i8, ptr %77, i64 17360
  %239 = load i32, ptr %238, align 8, !tbaa !112
  %.not978 = icmp eq i32 %239, %229
  br i1 %.not978, label %240, label %249

240:                                              ; preds = %237
  %241 = getelementptr inbounds i8, ptr %77, i64 17416
  %242 = load i8, ptr %241, align 8, !tbaa !113, !range !38, !noundef !39
  %243 = trunc nuw i8 %242 to i1
  br i1 %243, label %244, label %250

244:                                              ; preds = %240
  %245 = getelementptr inbounds i8, ptr %77, i64 17392
  %246 = load ptr, ptr %245, align 8, !tbaa !114
  %sext = shl i64 %228, 32
  %247 = ashr exact i64 %sext, 32
  %248 = call i32 @strncmp(ptr noundef %246, ptr noundef nonnull %2, i64 noundef %247) #16
  %.not979 = icmp eq i32 %248, 0
  br i1 %.not979, label %250, label %249

249:                                              ; preds = %244, %237
  br label %250

250:                                              ; preds = %249, %244, %240, %224
  %.0903.shrunk = phi i1 [ false, %249 ], [ true, %244 ], [ true, %240 ], [ false, %224 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #15
  store ptr null, ptr %18, align 8, !tbaa !40
  store i32 %90, ptr %227, align 8, !tbaa !111
  %251 = getelementptr inbounds i8, ptr %77, i64 17368
  %252 = add nuw nsw i32 %3, 1
  call void @_ZN8ImVectorItE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %251, i32 noundef %252)
  %253 = getelementptr inbounds i8, ptr %77, i64 17384
  call void @_ZN8ImVectorIcE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %253, i32 noundef 0)
  %254 = getelementptr inbounds i8, ptr %77, i64 17416
  store i8 0, ptr %254, align 8, !tbaa !113
  %255 = getelementptr inbounds i8, ptr %77, i64 17376
  %256 = load ptr, ptr %255, align 8, !tbaa !115
  %257 = call noundef i32 @_Z17ImTextStrFromUtf8PtiPKcS1_PS1_(ptr noundef %256, i32 noundef %3, ptr noundef nonnull %2, ptr noundef null, ptr noundef nonnull %18)
  %258 = getelementptr inbounds i8, ptr %77, i64 17356
  store i32 %257, ptr %258, align 4, !tbaa !116
  %259 = load ptr, ptr %18, align 8, !tbaa !40
  %260 = ptrtoint ptr %259 to i64
  %261 = ptrtoint ptr %2 to i64
  %262 = sub i64 %260, %261
  %263 = trunc i64 %262 to i32
  %264 = getelementptr inbounds i8, ptr %77, i64 17360
  store i32 %263, ptr %264, align 8, !tbaa !112
  br i1 %.0903.shrunk, label %265, label %266

265:                                              ; preds = %250
  call void @_ZN19ImGuiInputTextState11CursorClampEv(ptr noundef nonnull align 8 dereferenceable(3716) %227)
  br label %271

266:                                              ; preds = %250
  %267 = getelementptr inbounds i8, ptr %77, i64 17424
  store float 0.000000e+00, ptr %267, align 8, !tbaa !117
  %268 = getelementptr inbounds i8, ptr %77, i64 17428
  %269 = xor i1 %68, true
  %270 = zext i1 %269 to i32
  call void @_ZN5ImStbL29stb_textedit_initialize_stateEPNS_17STB_TexteditStateEi(ptr noundef nonnull %268, i32 noundef %270)
  br label %271

271:                                              ; preds = %266, %265
  br i1 %68, label %288, label %272

272:                                              ; preds = %271
  %273 = trunc i32 %5 to i8
  %274 = lshr i8 %273, 4
  br i1 %182, label %275, label %281

275:                                              ; preds = %272
  br i1 %.0903.shrunk, label %276, label %280

276:                                              ; preds = %275
  %277 = getelementptr inbounds i8, ptr %77, i64 16568
  %278 = load i32, ptr %277, align 8, !tbaa !118
  %279 = and i32 %278, 4
  %.not981 = icmp eq i32 %279, 0
  br i1 %.not981, label %280, label %281

280:                                              ; preds = %276, %275
  br label %281

281:                                              ; preds = %280, %276, %272
  %.1897 = phi i8 [ %274, %276 ], [ 1, %280 ], [ %274, %272 ]
  br i1 %166, label %287, label %282

282:                                              ; preds = %281
  br i1 %188, label %283, label %288

283:                                              ; preds = %282
  %284 = getelementptr inbounds i8, ptr %77, i64 3604
  %285 = load i8, ptr %284, align 4, !tbaa !119, !range !38, !noundef !39
  %286 = trunc nuw i8 %285 to i1
  br i1 %286, label %287, label %288

287:                                              ; preds = %283, %281
  br label %288

288:                                              ; preds = %282, %283, %287, %271
  %.2898 = phi i8 [ 0, %271 ], [ 1, %287 ], [ %.1897, %283 ], [ %.1897, %282 ]
  %289 = and i32 %5, 8192
  %.not982 = icmp eq i32 %289, 0
  br i1 %.not982, label %292, label %290

290:                                              ; preds = %288
  %291 = getelementptr inbounds i8, ptr %77, i64 17440
  store i8 1, ptr %291, align 4, !tbaa !120
  br label %292

292:                                              ; preds = %290, %288
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #15
  br label %.thread1135

.thread1135.thread:                               ; preds = %223, %.thread1127
  %293 = load i32, ptr %167, align 4, !tbaa !102
  br label %306

.thread1135:                                      ; preds = %220, %292
  %294 = phi i8 [ %225, %292 ], [ 1, %220 ]
  %spec.select11171131 = phi i1 [ %spec.select11171132, %292 ], [ %spec.select11171134, %220 ]
  %.3899 = phi i8 [ %.2898, %292 ], [ 0, %220 ]
  %.0891 = phi ptr [ %227, %292 ], [ %164, %220 ]
  %295 = load i32, ptr %167, align 4, !tbaa !102
  %.not983 = icmp ne i32 %295, %90
  %brmerge1018.not = and i1 %spec.select11171131, %.not983
  br i1 %brmerge1018.not, label %296, label %306

296:                                              ; preds = %.thread1135
  %.not984 = icmp eq ptr %.0891, null
  br i1 %.not984, label %.critedge, label %297

297:                                              ; preds = %296
  %298 = load i32, ptr %.0891, align 8, !tbaa !111
  %299 = icmp eq i32 %298, %90
  br i1 %299, label %300, label %.critedge

.critedge:                                        ; preds = %296, %297
  call void @__assert_fail(ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.2, i32 noundef 4123, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #14
  unreachable

300:                                              ; preds = %297
  call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %90, ptr noundef nonnull %56)
  call void @_ZN5ImGui10SetFocusIDEjP11ImGuiWindow(i32 noundef %90, ptr noundef nonnull %56)
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindow(ptr noundef nonnull %56)
  %301 = getelementptr inbounds i8, ptr %77, i64 16160
  %302 = load i32, ptr %301, align 8, !tbaa !121
  %brmerge1019.not = icmp eq i32 %69, 0
  %spec.select.v = select i1 %brmerge1019.not, i32 3, i32 15
  %spec.select = or i32 %302, %spec.select.v
  store i32 %spec.select, ptr %301, align 8, !tbaa !121
  call void @_ZN5ImGui19SetActiveIdUsingKeyE8ImGuiKey(i32 noundef 526)
  call void @_ZN5ImGui19SetActiveIdUsingKeyE8ImGuiKey(i32 noundef 620)
  call void @_ZN5ImGui19SetActiveIdUsingKeyE8ImGuiKey(i32 noundef 519)
  call void @_ZN5ImGui19SetActiveIdUsingKeyE8ImGuiKey(i32 noundef 520)
  br i1 %68, label %303, label %304

303:                                              ; preds = %300
  call void @_ZN5ImGui19SetActiveIdUsingKeyE8ImGuiKey(i32 noundef 517)
  call void @_ZN5ImGui19SetActiveIdUsingKeyE8ImGuiKey(i32 noundef 518)
  br label %304

304:                                              ; preds = %303, %300
  %.not985 = icmp eq i32 %74, 0
  br i1 %.not985, label %.thread1138, label %305

305:                                              ; preds = %304
  call void @_ZN5ImGui19SetActiveIdUsingKeyE8ImGuiKey(i32 noundef 512)
  br label %.thread1138

306:                                              ; preds = %.thread1135.thread, %.thread1135
  %307 = phi i32 [ %293, %.thread1135.thread ], [ %295, %.thread1135 ]
  %.08911232 = phi ptr [ %164, %.thread1135.thread ], [ %.0891, %.thread1135 ]
  %.38991231 = phi i8 [ 0, %.thread1135.thread ], [ %.3899, %.thread1135 ]
  %308 = phi i8 [ 0, %.thread1135.thread ], [ %294, %.thread1135 ]
  %309 = icmp eq i32 %307, %90
  %310 = icmp eq ptr %.08911232, null
  %or.cond5 = and i1 %310, %309
  br i1 %or.cond5, label %311, label %.thread1138

311:                                              ; preds = %306
  call void @_ZN5ImGui13ClearActiveIDEv()
  br label %.thread1138

.thread1138:                                      ; preds = %305, %304, %311, %306
  %.08911233 = phi ptr [ %.0891, %305 ], [ %.0891, %304 ], [ null, %311 ], [ %.08911232, %306 ]
  %.38991230 = phi i8 [ %.3899, %305 ], [ %.3899, %304 ], [ %.38991231, %311 ], [ %.38991231, %306 ]
  %312 = phi i8 [ %294, %305 ], [ %294, %304 ], [ %308, %311 ], [ %308, %306 ]
  %313 = load i32, ptr %167, align 4, !tbaa !102
  %314 = icmp eq i32 %313, %90
  br i1 %314, label %.thread1140, label %317

.thread1140:                                      ; preds = %.thread1138
  %315 = getelementptr inbounds i8, ptr %77, i64 14136
  %316 = load i8, ptr %315, align 8, !tbaa !106, !range !38, !noundef !39
  %.not1187 = xor i8 %312, 1
  %not.brmerge1021 = and i8 %316, %.not1187
  br label %320

317:                                              ; preds = %.thread1138
  %318 = icmp ne ptr %.08911233, null
  %319 = select i1 %318, i1 %207, i1 false
  br label %320

320:                                              ; preds = %.thread1140, %317
  %.08921142 = phi i8 [ 0, %317 ], [ %not.brmerge1021, %.thread1140 ]
  %321 = phi i1 [ %319, %317 ], [ true, %.thread1140 ]
  %322 = zext i1 %321 to i8
  %323 = icmp ne ptr %.08911233, null
  br i1 %323, label %324, label %.thread1143

324:                                              ; preds = %320
  %325 = call noundef zeroext i1 @_ZNK19ImGuiInputTextState12HasSelectionEv(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233)
  br i1 %325, label %328, label %326

326:                                              ; preds = %324
  %327 = trunc i8 %.38991230 to i1
  br i1 %327, label %328, label %329

328:                                              ; preds = %326, %324
  br label %329

329:                                              ; preds = %328, %326
  %330 = phi i1 [ false, %326 ], [ %321, %328 ]
  %brmerge1022 = or i1 %321, %330
  %or.cond1115 = select i1 %80, i1 %brmerge1022, i1 false
  br i1 %or.cond1115, label %331, label %.thread1143

331:                                              ; preds = %329
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #15
  store ptr null, ptr %19, align 8, !tbaa !40
  %332 = getelementptr inbounds i8, ptr %.08911233, i64 16
  %333 = add nuw nsw i32 %3, 1
  call void @_ZN8ImVectorItE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %332, i32 noundef %333)
  %334 = getelementptr inbounds i8, ptr %.08911233, i64 24
  %335 = load ptr, ptr %334, align 8, !tbaa !115
  %336 = load i32, ptr %332, align 8, !tbaa !122
  %337 = call noundef i32 @_Z17ImTextStrFromUtf8PtiPKcS1_PS1_(ptr noundef %335, i32 noundef %336, ptr noundef nonnull %2, ptr noundef null, ptr noundef nonnull %19)
  %338 = getelementptr inbounds i8, ptr %.08911233, i64 4
  store i32 %337, ptr %338, align 4, !tbaa !116
  %339 = load ptr, ptr %19, align 8, !tbaa !40
  %340 = ptrtoint ptr %339 to i64
  %341 = ptrtoint ptr %2 to i64
  %342 = sub i64 %340, %341
  %343 = trunc i64 %342 to i32
  %344 = getelementptr inbounds i8, ptr %.08911233, i64 8
  store i32 %343, ptr %344, align 8, !tbaa !112
  call void @_ZN19ImGuiInputTextState11CursorClampEv(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233)
  %345 = call noundef zeroext i1 @_ZNK19ImGuiInputTextState12HasSelectionEv(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233)
  %346 = and i1 %330, %345
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #15
  br label %.thread1143

.thread1143:                                      ; preds = %320, %331, %329
  %.0906.in = phi i1 [ %346, %331 ], [ %330, %329 ], [ false, %320 ]
  %.0906 = zext i1 %.0906.in to i8
  %brmerge1023 = select i1 %321, i1 true, i1 %.0906.in
  br i1 %brmerge1023, label %351, label %347

347:                                              ; preds = %.thread1143
  %348 = load i32, ptr %167, align 4, !tbaa !102
  %349 = icmp eq i32 %348, %90
  %.not = xor i1 %80, true
  %350 = and i1 %349, %.not
  %or.cond1024 = and i1 %323, %350
  br i1 %or.cond1024, label %352, label %356

351:                                              ; preds = %.thread1143
  %.not.old = xor i1 %80, true
  %or.cond9.old = and i1 %323, %.not.old
  br i1 %or.cond9.old, label %352, label %356

352:                                              ; preds = %347, %351
  %353 = getelementptr inbounds i8, ptr %.08911233, i64 64
  %354 = load i8, ptr %353, align 8, !tbaa !113, !range !38, !noundef !39
  %355 = trunc nuw i8 %354 to i1
  br label %356

356:                                              ; preds = %352, %351, %347
  %357 = phi i1 [ false, %351 ], [ false, %347 ], [ %355, %352 ]
  %.not986 = icmp eq ptr %1, null
  br i1 %.not986, label %366, label %358

358:                                              ; preds = %356
  br i1 %357, label %359, label %362

359:                                              ; preds = %358
  %360 = getelementptr inbounds i8, ptr %.08911233, i64 40
  %361 = load ptr, ptr %360, align 8, !tbaa !114
  br label %362

362:                                              ; preds = %358, %359
  %363 = phi ptr [ %361, %359 ], [ %2, %358 ]
  %364 = load i8, ptr %363, align 1, !tbaa !123
  %365 = icmp eq i8 %364, 0
  br label %366

366:                                              ; preds = %362, %356
  %367 = phi i1 [ false, %356 ], [ %365, %362 ]
  %brmerge1025 = select i1 %.not973, i1 true, i1 %367
  br i1 %brmerge1025, label %398, label %368

368:                                              ; preds = %366
  %369 = getelementptr inbounds i8, ptr %77, i64 15352
  %370 = load ptr, ptr %369, align 8, !tbaa !124
  %371 = call noundef ptr @_ZNK6ImFont9FindGlyphEt(ptr noundef nonnull align 8 dereferenceable(110) %370, i16 noundef zeroext 42)
  %372 = getelementptr inbounds i8, ptr %77, i64 21072
  %373 = load ptr, ptr %369, align 8, !tbaa !124
  %374 = getelementptr inbounds i8, ptr %373, i64 20
  %375 = load float, ptr %374, align 4, !tbaa !125
  %376 = getelementptr inbounds i8, ptr %77, i64 21092
  store float %375, ptr %376, align 4, !tbaa !125
  %377 = getelementptr inbounds i8, ptr %373, i64 92
  %378 = getelementptr inbounds i8, ptr %77, i64 21164
  %379 = load <2 x float>, ptr %377, align 4, !tbaa !91
  store <2 x float> %379, ptr %378, align 4, !tbaa !91
  %380 = getelementptr inbounds i8, ptr %373, i64 100
  %381 = load float, ptr %380, align 4, !tbaa !126
  %382 = getelementptr inbounds i8, ptr %77, i64 21172
  store float %381, ptr %382, align 4, !tbaa !126
  %383 = getelementptr inbounds i8, ptr %373, i64 64
  %384 = load ptr, ptr %383, align 8, !tbaa !127
  %385 = getelementptr inbounds i8, ptr %77, i64 21136
  store ptr %384, ptr %385, align 8, !tbaa !127
  %386 = getelementptr inbounds i8, ptr %77, i64 21128
  store ptr %371, ptr %386, align 8, !tbaa !128
  %387 = getelementptr inbounds i8, ptr %371, i64 4
  %388 = load float, ptr %387, align 4, !tbaa !129
  %389 = getelementptr inbounds i8, ptr %77, i64 21088
  store float %388, ptr %389, align 8, !tbaa !131
  %390 = getelementptr inbounds i8, ptr %77, i64 21112
  %391 = call noundef zeroext i1 @_ZNK8ImVectorI11ImFontGlyphE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %390)
  br i1 %391, label %392, label %.critedge11

392:                                              ; preds = %368
  %393 = call noundef zeroext i1 @_ZNK8ImVectorIfE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %372)
  br i1 %393, label %394, label %.critedge11

394:                                              ; preds = %392
  %395 = getelementptr inbounds i8, ptr %77, i64 21096
  %396 = call noundef zeroext i1 @_ZNK8ImVectorItE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %395)
  br i1 %396, label %397, label %.critedge11

.critedge11:                                      ; preds = %392, %368, %394
  call void @__assert_fail(ptr noundef nonnull @.str.62, ptr noundef nonnull @.str.2, i32 noundef 4189, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #14
  unreachable

397:                                              ; preds = %394
  call void @_ZN5ImGui8PushFontEP6ImFont(ptr noundef nonnull %372)
  br label %398

398:                                              ; preds = %366, %397
  %399 = load i32, ptr %167, align 4, !tbaa !102
  %400 = icmp eq i32 %399, %90
  br i1 %400, label %401, label %568

401:                                              ; preds = %398
  br i1 %323, label %403, label %402

402:                                              ; preds = %401
  call void @__assert_fail(ptr noundef nonnull @.str.63, ptr noundef nonnull @.str.2, i32 noundef 4197, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #14
  unreachable

403:                                              ; preds = %401
  %404 = getelementptr inbounds i8, ptr %.08911233, i64 8
  %405 = load i32, ptr %404, align 8, !tbaa !112
  %406 = getelementptr inbounds i8, ptr %.08911233, i64 3710
  store i8 0, ptr %406, align 2, !tbaa !132
  %407 = getelementptr inbounds i8, ptr %.08911233, i64 68
  store i32 %3, ptr %407, align 4, !tbaa !133
  %408 = getelementptr inbounds i8, ptr %.08911233, i64 3712
  store i32 %5, ptr %408, align 8, !tbaa !134
  %409 = getelementptr inbounds i8, ptr %77, i64 3588
  %410 = load i8, ptr %409, align 4, !tbaa !106, !range !38, !noundef !39
  %411 = xor i8 %410, 1
  %412 = getelementptr inbounds i8, ptr %77, i64 16105
  store i8 %411, ptr %412, align 1, !tbaa !135
  %413 = getelementptr inbounds i8, ptr %77, i64 21876
  store i32 1, ptr %413, align 4, !tbaa !136
  %414 = getelementptr inbounds i8, ptr %77, i64 3580
  %415 = load float, ptr %414, align 4, !tbaa !137
  %416 = load float, ptr %11, align 8, !tbaa !138
  %417 = fsub float %415, %416
  %418 = load float, ptr %100, align 4, !tbaa !139
  %419 = fsub float %417, %418
  %420 = getelementptr inbounds i8, ptr %.08911233, i64 72
  %421 = load float, ptr %420, align 8, !tbaa !117
  %422 = fadd float %419, %421
  br i1 %68, label %423, label %429

423:                                              ; preds = %403
  %424 = getelementptr inbounds i8, ptr %77, i64 3584
  %425 = load float, ptr %424, align 4, !tbaa !140
  %426 = getelementptr inbounds i8, ptr %.2888, i64 228
  %427 = load float, ptr %426, align 4, !tbaa !141
  %428 = fsub float %425, %427
  br label %433

429:                                              ; preds = %403
  %430 = getelementptr inbounds i8, ptr %77, i64 15360
  %431 = load float, ptr %430, align 8, !tbaa !41
  %432 = fmul float %431, 5.000000e-01
  br label %433

433:                                              ; preds = %429, %423
  %434 = phi float [ %428, %423 ], [ %432, %429 ]
  %435 = getelementptr inbounds i8, ptr %77, i64 121
  %436 = load i8, ptr %435, align 1, !tbaa !142, !range !38, !noundef !39
  %437 = trunc nuw i8 %436 to i1
  %438 = trunc i8 %.38991230 to i1
  br i1 %438, label %439, label %441

439:                                              ; preds = %433
  call void @_ZN19ImGuiInputTextState9SelectAllEv(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233)
  %440 = getelementptr inbounds i8, ptr %.08911233, i64 3709
  store i8 1, ptr %440, align 1, !tbaa !143
  br label %516

441:                                              ; preds = %433
  br i1 %160, label %442, label %482

442:                                              ; preds = %441
  %443 = getelementptr inbounds i8, ptr %77, i64 14146
  %444 = load i16, ptr %443, align 2, !tbaa !144
  %445 = icmp ugt i16 %444, 1
  br i1 %445, label %446, label %482

446:                                              ; preds = %442
  %447 = getelementptr inbounds i8, ptr %77, i64 3605
  %448 = load i8, ptr %447, align 1, !tbaa !145, !range !38, !noundef !39
  %449 = trunc nuw i8 %448 to i1
  br i1 %449, label %482, label %450

450:                                              ; preds = %446
  %451 = getelementptr inbounds i8, ptr %.08911233, i64 76
  call void @_ZN5ImStbL18stb_textedit_clickEP19ImGuiInputTextStatePNS_17STB_TexteditStateEff(ptr noundef nonnull %.08911233, ptr noundef nonnull %451, float noundef %422, float noundef %434)
  %452 = load i16, ptr %443, align 2, !tbaa !144
  %453 = and i16 %452, 1
  %454 = icmp eq i16 %453, 0
  %455 = load i32, ptr %451, align 4, !tbaa !146
  br i1 %454, label %456, label %472

456:                                              ; preds = %450
  %457 = icmp eq i32 %455, 0
  br i1 %457, label %462, label %458

458:                                              ; preds = %456
  %459 = add nsw i32 %455, -1
  %460 = call noundef zeroext i16 @_ZN5ImStbL20STB_TEXTEDIT_GETCHAREPK19ImGuiInputTextStatei(ptr noundef nonnull %.08911233, i32 noundef %459)
  %461 = icmp eq i16 %460, 10
  br label %462

462:                                              ; preds = %458, %456
  %463 = phi i1 [ true, %456 ], [ %461, %458 ]
  %464 = getelementptr inbounds i8, ptr %.08911233, i64 80
  %465 = load i32, ptr %464, align 4, !tbaa !147
  %466 = getelementptr inbounds i8, ptr %.08911233, i64 84
  %467 = load i32, ptr %466, align 4, !tbaa !148
  %.not987 = icmp eq i32 %465, %467
  %brmerge1027.not = and i1 %463, %.not987
  br i1 %brmerge1027.not, label %.thread1241, label %468

468:                                              ; preds = %462
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233, i32 noundef 2097164)
  %.pre1205 = load i32, ptr %464, align 4, !tbaa !147
  %.pre1206 = load i32, ptr %466, align 4, !tbaa !148
  %.not988 = icmp eq i32 %.pre1205, %.pre1206
  br i1 %.not988, label %.thread1241, label %469

.thread1241:                                      ; preds = %462, %468
  call void @_ZN5ImStbL37stb_textedit_prep_selection_at_cursorEPNS_17STB_TexteditStateE(ptr noundef nonnull %451)
  br label %469

469:                                              ; preds = %.thread1241, %468
  %470 = load i32, ptr %451, align 4, !tbaa !146
  %471 = call noundef i32 @_ZN5ImStbL30STB_TEXTEDIT_MOVEWORDRIGHT_MACEP19ImGuiInputTextStatei(ptr noundef nonnull %.08911233, i32 noundef %470)
  store i32 %471, ptr %451, align 4, !tbaa !146
  store i32 %471, ptr %466, align 4, !tbaa !148
  call void @_ZN5ImStbL18stb_textedit_clampEP19ImGuiInputTextStatePNS_17STB_TexteditStateE(ptr noundef nonnull %.08911233, ptr noundef nonnull %451)
  br label %481

472:                                              ; preds = %450
  %473 = call noundef zeroext i16 @_ZN5ImStbL20STB_TEXTEDIT_GETCHAREPK19ImGuiInputTextStatei(ptr noundef nonnull %.08911233, i32 noundef %455)
  %474 = icmp ne i16 %473, 10
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233, i32 noundef 2097156)
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233, i32 noundef 6291461)
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233, i32 noundef 6291457)
  %brmerge1029.not = and i1 %68, %474
  br i1 %brmerge1029.not, label %475, label %479

475:                                              ; preds = %472
  %476 = getelementptr inbounds i8, ptr %.08911233, i64 80
  %477 = getelementptr inbounds i8, ptr %.08911233, i64 84
  call void @_ZL6ImSwapIiEvRT_S1_(ptr noundef nonnull align 4 dereferenceable(4) %476, ptr noundef nonnull align 4 dereferenceable(4) %477)
  %478 = load i32, ptr %477, align 4, !tbaa !148
  store i32 %478, ptr %451, align 4, !tbaa !146
  br label %479

479:                                              ; preds = %472, %475
  %480 = getelementptr inbounds i8, ptr %.08911233, i64 3708
  store i8 0, ptr %480, align 4, !tbaa !149
  br label %481

481:                                              ; preds = %479, %469
  call void @_ZN19ImGuiInputTextState15CursorAnimResetEv(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233)
  br label %516

482:                                              ; preds = %446, %442, %441
  %483 = getelementptr inbounds i8, ptr %77, i64 14136
  %484 = load i8, ptr %483, align 8, !tbaa !106, !range !38, !noundef !39
  %485 = trunc nuw i8 %484 to i1
  br i1 %485, label %486, label %499

486:                                              ; preds = %482
  %487 = getelementptr inbounds i8, ptr %.08911233, i64 3709
  %488 = load i8, ptr %487, align 1, !tbaa !143, !range !38, !noundef !39
  %489 = trunc nuw i8 %488 to i1
  br i1 %489, label %499, label %490

490:                                              ; preds = %486
  br i1 %160, label %491, label %516

491:                                              ; preds = %490
  %492 = getelementptr inbounds i8, ptr %77, i64 3605
  %493 = load i8, ptr %492, align 1, !tbaa !145, !range !38, !noundef !39
  %494 = trunc nuw i8 %493 to i1
  %495 = getelementptr inbounds i8, ptr %.08911233, i64 76
  br i1 %494, label %496, label %497

496:                                              ; preds = %491
  call void @_ZN5ImStbL17stb_textedit_dragEP19ImGuiInputTextStatePNS_17STB_TexteditStateEff(ptr noundef nonnull %.08911233, ptr noundef nonnull %495, float noundef %422, float noundef %434)
  br label %498

497:                                              ; preds = %491
  call void @_ZN5ImStbL18stb_textedit_clickEP19ImGuiInputTextStatePNS_17STB_TexteditStateEff(ptr noundef nonnull %.08911233, ptr noundef nonnull %495, float noundef %422, float noundef %434)
  br label %498

498:                                              ; preds = %497, %496
  call void @_ZN19ImGuiInputTextState15CursorAnimResetEv(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233)
  br label %516

499:                                              ; preds = %486, %482
  %500 = trunc nuw i8 %410 to i1
  br i1 %500, label %501, label %516

501:                                              ; preds = %499
  %502 = getelementptr inbounds i8, ptr %.08911233, i64 3709
  %503 = load i8, ptr %502, align 1, !tbaa !143, !range !38, !noundef !39
  %504 = trunc nuw i8 %503 to i1
  br i1 %504, label %516, label %505

505:                                              ; preds = %501
  %506 = getelementptr inbounds i8, ptr %77, i64 248
  %507 = load float, ptr %506, align 8, !tbaa !150
  %508 = fcmp une float %507, 0.000000e+00
  br i1 %508, label %513, label %509

509:                                              ; preds = %505
  %510 = getelementptr inbounds i8, ptr %77, i64 252
  %511 = load float, ptr %510, align 4, !tbaa !151
  %512 = fcmp une float %511, 0.000000e+00
  br i1 %512, label %513, label %516

513:                                              ; preds = %509, %505
  %514 = getelementptr inbounds i8, ptr %.08911233, i64 76
  call void @_ZN5ImStbL17stb_textedit_dragEP19ImGuiInputTextStatePNS_17STB_TexteditStateEff(ptr noundef nonnull %.08911233, ptr noundef nonnull %514, float noundef %422, float noundef %434)
  call void @_ZN19ImGuiInputTextState15CursorAnimResetEv(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233)
  %515 = getelementptr inbounds i8, ptr %.08911233, i64 3708
  store i8 1, ptr %515, align 4, !tbaa !149
  br label %516

516:                                              ; preds = %481, %499, %501, %509, %513, %490, %498, %439
  %517 = getelementptr inbounds i8, ptr %.08911233, i64 3709
  %518 = load i8, ptr %517, align 1, !tbaa !143, !range !38, !noundef !39
  %519 = trunc nuw i8 %518 to i1
  br i1 %519, label %520, label %524

520:                                              ; preds = %516
  %521 = load i8, ptr %409, align 4, !tbaa !106, !range !38, !noundef !39
  %522 = trunc nuw i8 %521 to i1
  br i1 %522, label %524, label %523

523:                                              ; preds = %520
  store i8 0, ptr %517, align 1, !tbaa !143
  br label %524

524:                                              ; preds = %523, %520, %516
  %525 = getelementptr inbounds i8, ptr %77, i64 3604
  %526 = load i8, ptr %525, align 4, !tbaa !119, !range !38, !noundef !39
  %527 = trunc nuw i8 %526 to i1
  br i1 %527, label %528, label %533

528:                                              ; preds = %524
  %529 = getelementptr inbounds i8, ptr %77, i64 3606
  %530 = load i8, ptr %529, align 2, !tbaa !152, !range !38, !noundef !39
  %531 = trunc nuw i8 %530 to i1
  %.not1030 = xor i1 %531, true
  %532 = select i1 %531, i1 %437, i1 false
  br i1 %532, label %534, label %538

533:                                              ; preds = %524
  br i1 %437, label %534, label %538

534:                                              ; preds = %528, %533
  %535 = getelementptr inbounds i8, ptr %77, i64 3607
  %536 = load i8, ptr %535, align 1, !tbaa !153, !range !38, !noundef !39
  %537 = trunc nuw i8 %536 to i1
  br label %538

538:                                              ; preds = %528, %533, %534
  %539 = phi i1 [ %.not1030, %528 ], [ false, %533 ], [ %537, %534 ]
  br i1 %.not971, label %551, label %540

540:                                              ; preds = %538
  %541 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 512, i1 noundef zeroext true)
  %.not1033 = xor i1 %541, true
  %brmerge1034 = select i1 %.not1033, i1 true, i1 %539
  br i1 %brmerge1034, label %551, label %542

542:                                              ; preds = %540
  %543 = getelementptr inbounds i8, ptr %77, i64 3605
  %544 = load i8, ptr %543, align 1, !tbaa !145, !range !38, !noundef !39
  %545 = trunc nuw i8 %544 to i1
  %brmerge1035 = or i1 %80, %545
  br i1 %brmerge1035, label %551, label %546

546:                                              ; preds = %542
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #15
  store i32 9, ptr %20, align 4, !tbaa !94
  %547 = call noundef zeroext i1 @_ZL24InputTextFilterCharacterPjiPFiP26ImGuiInputTextCallbackDataEPv16ImGuiInputSource(ptr noundef nonnull %20, i32 noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 2)
  br i1 %547, label %548, label %550

548:                                              ; preds = %546
  %549 = load i32, ptr %20, align 4, !tbaa !94
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233, i32 noundef %549)
  br label %550

550:                                              ; preds = %548, %546
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #15
  br label %551

551:                                              ; preds = %542, %540, %550, %538
  %552 = getelementptr inbounds i8, ptr %77, i64 14256
  %553 = load i32, ptr %552, align 8, !tbaa !154
  %554 = icmp sgt i32 %553, 0
  br i1 %554, label %555, label %568

555:                                              ; preds = %551
  %brmerge1036 = or i1 %80, %539
  %brmerge1037 = select i1 %brmerge1036, i1 true, i1 %182
  br i1 %brmerge1037, label %.loopexit1194, label %.lr.ph

.lr.ph:                                           ; preds = %555, %564
  %.09241197 = phi i32 [ %565, %564 ], [ 0, %555 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #15
  %556 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZN8ImVectorItEixEi(ptr noundef nonnull align 8 dereferenceable(16) %552, i32 noundef %.09241197)
  %557 = load i16, ptr %556, align 2, !tbaa !144
  %558 = zext i16 %557 to i32
  store i32 %558, ptr %21, align 4, !tbaa !94
  %559 = icmp eq i16 %557, 9
  br i1 %559, label %564, label %560

560:                                              ; preds = %.lr.ph
  %561 = call noundef zeroext i1 @_ZL24InputTextFilterCharacterPjiPFiP26ImGuiInputTextCallbackDataEPv16ImGuiInputSource(ptr noundef nonnull %21, i32 noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 2)
  br i1 %561, label %562, label %564

562:                                              ; preds = %560
  %563 = load i32, ptr %21, align 4, !tbaa !94
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233, i32 noundef %563)
  br label %564

564:                                              ; preds = %560, %562, %.lr.ph
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #15
  %565 = add nuw nsw i32 %.09241197, 1
  %566 = load i32, ptr %552, align 8, !tbaa !154
  %567 = icmp slt i32 %565, %566
  br i1 %567, label %.lr.ph, label %.loopexit1194, !llvm.loop !155

.loopexit1194:                                    ; preds = %564, %555
  call void @_ZN8ImVectorItE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %552, i32 noundef 0)
  br label %568

568:                                              ; preds = %551, %.loopexit1194, %398
  %.0923 = phi i32 [ 0, %398 ], [ %405, %.loopexit1194 ], [ %405, %551 ]
  %569 = load i32, ptr %167, align 4, !tbaa !102
  %570 = icmp eq i32 %569, %90
  br i1 %570, label %571, label %907

571:                                              ; preds = %568
  %572 = getelementptr inbounds i8, ptr %77, i64 16104
  %573 = load i8, ptr %572, align 8, !tbaa !157, !range !38, !noundef !39
  %574 = trunc nuw i8 %573 to i1
  br i1 %574, label %.thread1244, label %575

575:                                              ; preds = %571
  %576 = trunc nuw i8 %.08921142 to i1
  br i1 %576, label %.thread1244, label %577

577:                                              ; preds = %575
  br i1 %323, label %579, label %578

578:                                              ; preds = %577
  call void @__assert_fail(ptr noundef nonnull @.str.63, ptr noundef nonnull @.str.2, i32 noundef 4307, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #14
  unreachable

579:                                              ; preds = %577
  %580 = load float, ptr %101, align 4, !tbaa !89
  %581 = fsub float %.sroa.11.0.copyload, %580
  %582 = getelementptr inbounds i8, ptr %77, i64 15360
  %583 = load float, ptr %582, align 8, !tbaa !41
  %584 = fdiv float %581, %583
  %585 = fptosi float %584 to i32
  %586 = call noundef i32 @_ZL5ImMaxIiET_S0_S0_(i32 noundef %585, i32 noundef 1)
  %587 = getelementptr inbounds i8, ptr %.08911233, i64 76
  %588 = getelementptr inbounds i8, ptr %.08911233, i64 92
  store i32 %586, ptr %588, align 4, !tbaa !158
  %589 = getelementptr inbounds i8, ptr %77, i64 3605
  %590 = load i8, ptr %589, align 1, !tbaa !145, !range !38, !noundef !39
  %591 = trunc nuw i8 %590 to i1
  %592 = select i1 %591, i32 4194304, i32 0
  %593 = getelementptr inbounds i8, ptr %77, i64 121
  %594 = load i8, ptr %593, align 1, !tbaa !142, !range !38, !noundef !39
  %595 = trunc nuw i8 %594 to i1
  br i1 %595, label %599, label %596

596:                                              ; preds = %579
  %597 = getelementptr inbounds i8, ptr %77, i64 3606
  %598 = getelementptr inbounds i8, ptr %77, i64 3604
  %.in = load i8, ptr %598, align 2, !tbaa !106, !range !38, !noundef !39
  %.phi.trans.insert = getelementptr inbounds i8, ptr %77, i64 3608
  %.pre1207 = load i32, ptr %.phi.trans.insert, align 8, !tbaa !159
  br label %614

599:                                              ; preds = %579
  %600 = getelementptr inbounds i8, ptr %77, i64 3608
  %601 = load i32, ptr %600, align 8, !tbaa !159
  %602 = icmp eq i32 %601, 10
  %603 = getelementptr inbounds i8, ptr %77, i64 3606
  %604 = getelementptr inbounds i8, ptr %77, i64 3604
  %.in1149 = load i8, ptr %603, align 2, !tbaa !106, !range !38, !noundef !39
  %605 = getelementptr inbounds i8, ptr %77, i64 3607
  %606 = load i8, ptr %605, align 1, !tbaa !153, !range !38, !noundef !39
  %607 = trunc nuw i8 %606 to i1
  br i1 %607, label %608, label %614

608:                                              ; preds = %599
  %609 = load i8, ptr %604, align 4, !tbaa !119, !range !38, !noundef !39
  %610 = trunc nuw i8 %609 to i1
  br i1 %610, label %614, label %611

611:                                              ; preds = %608
  %612 = trunc nuw i8 %.in1149 to i1
  %613 = xor i1 %612, true
  br label %614

614:                                              ; preds = %596, %611, %608, %599
  %615 = phi i32 [ %601, %608 ], [ %601, %599 ], [ %.pre1207, %596 ], [ %601, %611 ]
  %.v1190 = phi i32 [ 8, %608 ], [ 8, %599 ], [ 1, %596 ], [ 8, %611 ]
  %.in1189 = phi i8 [ %.in1149, %608 ], [ %.in1149, %599 ], [ %.in, %596 ], [ %.in1149, %611 ]
  %616 = phi ptr [ %604, %608 ], [ %604, %599 ], [ %598, %596 ], [ %604, %611 ]
  %617 = phi ptr [ %603, %608 ], [ %603, %599 ], [ %597, %596 ], [ %603, %611 ]
  %618 = phi i1 [ %602, %608 ], [ %602, %599 ], [ false, %596 ], [ %602, %611 ]
  %619 = phi i1 [ false, %608 ], [ false, %599 ], [ false, %596 ], [ %613, %611 ]
  %620 = trunc nuw i8 %.in1189 to i1
  %621 = icmp eq i32 %615, 1
  %622 = icmp eq i32 %615, 2
  %623 = icmp eq i32 %615, %.v1190
  br i1 %623, label %624, label %626

624:                                              ; preds = %614
  %625 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 569, i1 noundef zeroext true)
  br i1 %625, label %631, label %626

626:                                              ; preds = %624, %614
  br i1 %622, label %627, label %634

627:                                              ; preds = %626
  %628 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 522, i1 noundef zeroext true)
  %629 = and i1 %.not973, %628
  %630 = xor i1 %629, true
  %brmerge1040 = or i1 %80, %630
  %.not1046 = xor i1 %68, true
  %brmerge1047 = or i1 %brmerge1040, %.not1046
  %not.brmerge1040 = xor i1 %brmerge1040, true
  br i1 %brmerge1047, label %634, label %632

631:                                              ; preds = %624
  %.not973.not1041 = xor i1 %.not973, true
  %brmerge1042 = or i1 %80, %.not973.not1041
  %.not1043 = xor i1 %68, true
  %brmerge1044 = or i1 %brmerge1042, %.not1043
  %not.brmerge1042 = xor i1 %brmerge1042, true
  br i1 %brmerge1044, label %.thread1150, label %632

632:                                              ; preds = %627, %631
  %633 = call noundef zeroext i1 @_ZNK19ImGuiInputTextState12HasSelectionEv(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233)
  br label %634

634:                                              ; preds = %627, %632, %626
  %635 = phi i1 [ %not.brmerge1040, %627 ], [ false, %626 ], [ %633, %632 ]
  br i1 %623, label %.thread1150, label %638

.thread1150:                                      ; preds = %631, %634
  %636 = phi i1 [ %635, %634 ], [ %not.brmerge1042, %631 ]
  %637 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 548, i1 noundef zeroext true)
  br i1 %637, label %642, label %638

638:                                              ; preds = %.thread1150, %634
  %639 = phi i1 [ %636, %.thread1150 ], [ %635, %634 ]
  br i1 %621, label %640, label %647

640:                                              ; preds = %638
  %641 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 521, i1 noundef zeroext true)
  %brmerge1051.demorgan = and i1 %.not973, %641
  %brmerge1053.not = and i1 %68, %brmerge1051.demorgan
  br i1 %brmerge1053.not, label %644, label %647

642:                                              ; preds = %.thread1150
  %643 = and i32 %5, 67141632
  %brmerge1057.not = icmp eq i32 %643, 67108864
  br i1 %brmerge1057.not, label %644, label %.thread1151

644:                                              ; preds = %642, %640
  %645 = phi i1 [ %636, %642 ], [ %639, %640 ]
  %646 = call noundef zeroext i1 @_ZNK19ImGuiInputTextState12HasSelectionEv(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233)
  br label %647

647:                                              ; preds = %640, %644, %638
  %648 = phi i1 [ %639, %640 ], [ %639, %638 ], [ %645, %644 ]
  %649 = phi i1 [ %brmerge1051.demorgan, %640 ], [ false, %638 ], [ %646, %644 ]
  br i1 %623, label %.thread1151, label %653

.thread1151:                                      ; preds = %642, %647
  %650 = phi i1 [ %649, %647 ], [ %.not973, %642 ]
  %651 = phi i1 [ %648, %647 ], [ %636, %642 ]
  %652 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 567, i1 noundef zeroext true)
  br i1 %652, label %658, label %653

653:                                              ; preds = %.thread1151, %647
  %654 = phi i1 [ %650, %.thread1151 ], [ %649, %647 ]
  %655 = phi i1 [ %651, %.thread1151 ], [ %648, %647 ]
  br i1 %622, label %656, label %662

656:                                              ; preds = %653
  %657 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 521, i1 noundef zeroext true)
  br i1 %657, label %658, label %662

658:                                              ; preds = %656, %.thread1151
  %659 = phi i1 [ %654, %656 ], [ %650, %.thread1151 ]
  %660 = phi i1 [ %655, %656 ], [ %651, %.thread1151 ]
  %661 = xor i1 %80, true
  br label %662

662:                                              ; preds = %658, %656, %653
  %663 = phi i1 [ %654, %656 ], [ %654, %653 ], [ %659, %658 ]
  %664 = phi i1 [ %655, %656 ], [ %655, %653 ], [ %660, %658 ]
  %665 = phi i1 [ false, %656 ], [ false, %653 ], [ %661, %658 ]
  br i1 %623, label %666, label %670

666:                                              ; preds = %662
  %667 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 571, i1 noundef zeroext true)
  %not. = xor i1 %80, true
  %668 = and i1 %667, %not.
  %spec.select1118 = and i1 %83, %668
  %669 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 570, i1 noundef zeroext true)
  br i1 %669, label %674, label %670

670:                                              ; preds = %662, %666
  %671 = phi i1 [ %spec.select1118, %666 ], [ false, %662 ]
  br i1 %618, label %672, label %676

672:                                              ; preds = %670
  %673 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 571, i1 noundef zeroext true)
  br i1 %673, label %._crit_edge1219, label %676

._crit_edge1219:                                  ; preds = %672
  %.pre1220 = xor i1 %80, true
  br label %674

674:                                              ; preds = %._crit_edge1219, %666
  %not.1191.pre-phi = phi i1 [ %.pre1220, %._crit_edge1219 ], [ %not., %666 ]
  %675 = phi i1 [ %671, %._crit_edge1219 ], [ %spec.select1118, %666 ]
  %spec.select1060 = and i1 %83, %not.1191.pre-phi
  br label %676

676:                                              ; preds = %674, %672, %670
  %677 = phi i1 [ %671, %672 ], [ %671, %670 ], [ %675, %674 ]
  %678 = phi i1 [ false, %672 ], [ false, %670 ], [ %spec.select1060, %674 ]
  br i1 %623, label %679, label %681

679:                                              ; preds = %676
  %680 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 546, i1 noundef zeroext true)
  br label %681

681:                                              ; preds = %679, %676
  %682 = phi i1 [ false, %676 ], [ %680, %679 ]
  %683 = load i32, ptr %78, align 8, !tbaa !160
  %684 = and i32 %683, 2
  %.not989 = icmp eq i32 %684, 0
  br i1 %.not989, label %690, label %685

685:                                              ; preds = %681
  %686 = getelementptr inbounds i8, ptr %77, i64 12
  %687 = load i32, ptr %686, align 4, !tbaa !161
  %688 = and i32 %687, 1
  %689 = icmp ne i32 %688, 0
  br label %690

690:                                              ; preds = %685, %681
  %691 = phi i1 [ false, %681 ], [ %689, %685 ]
  %692 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 525, i1 noundef zeroext true)
  br i1 %692, label %695, label %693

693:                                              ; preds = %690
  %694 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 615, i1 noundef zeroext true)
  br label %695

695:                                              ; preds = %693, %690
  %696 = phi i1 [ true, %690 ], [ %694, %693 ]
  br i1 %691, label %697, label %.sink.split

697:                                              ; preds = %695
  %698 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 622, i1 noundef zeroext false)
  br i1 %698, label %701, label %699

699:                                              ; preds = %697
  %700 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 621, i1 noundef zeroext false)
  br label %701

701:                                              ; preds = %697, %699
  %702 = phi i1 [ true, %697 ], [ %700, %699 ]
  %703 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 526, i1 noundef zeroext false)
  br i1 %703, label %705, label %.sink.split

.sink.split:                                      ; preds = %701, %695
  %.sink = phi i32 [ 526, %695 ], [ 620, %701 ]
  %.ph1267 = phi i1 [ false, %695 ], [ %702, %701 ]
  %704 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef %.sink, i1 noundef zeroext false)
  br label %705

705:                                              ; preds = %.sink.split, %701
  %706 = phi i1 [ %702, %701 ], [ %.ph1267, %.sink.split ]
  %707 = phi i1 [ true, %701 ], [ %704, %.sink.split ]
  %708 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 513, i1 noundef zeroext true)
  br i1 %708, label %709, label %712

709:                                              ; preds = %705
  %710 = select i1 %620, i32 2097164, i32 2097152
  %spec.select1064 = select i1 %619, i32 2097156, i32 %710
  %711 = or disjoint i32 %spec.select1064, %592
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233, i32 noundef %711)
  br label %.thread1157

712:                                              ; preds = %705
  %713 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 514, i1 noundef zeroext true)
  br i1 %713, label %714, label %717

714:                                              ; preds = %712
  %715 = select i1 %620, i32 2097165, i32 2097153
  %spec.select1065 = select i1 %619, i32 2097157, i32 %715
  %716 = or disjoint i32 %spec.select1065, %592
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233, i32 noundef %716)
  br label %.thread1157

717:                                              ; preds = %712
  %718 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 515, i1 noundef zeroext true)
  %.not1067 = xor i1 %68, true
  %brmerge1068.not = and i1 %68, %718
  br i1 %brmerge1068.not, label %719, label %731

719:                                              ; preds = %717
  %720 = load i8, ptr %616, align 4, !tbaa !119, !range !38, !noundef !39
  %721 = trunc nuw i8 %720 to i1
  br i1 %721, label %722, label %728

722:                                              ; preds = %719
  %723 = getelementptr inbounds i8, ptr %.2888, i64 104
  %724 = load float, ptr %723, align 4, !tbaa !108
  %725 = load float, ptr %582, align 8, !tbaa !41
  %726 = fsub float %724, %725
  %727 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %726, float noundef 0.000000e+00)
  call void @_ZN5ImGui10SetScrollYEP11ImGuiWindowf(ptr noundef %.2888, float noundef %727)
  br label %.thread1157

728:                                              ; preds = %719
  %729 = select i1 %619, i32 2097158, i32 2097154
  %730 = or disjoint i32 %729, %592
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233, i32 noundef %730)
  br label %.thread1157

731:                                              ; preds = %717
  %732 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 516, i1 noundef zeroext true)
  %brmerge1071.not = and i1 %68, %732
  br i1 %brmerge1071.not, label %733, label %746

733:                                              ; preds = %731
  %734 = load i8, ptr %616, align 4, !tbaa !119, !range !38, !noundef !39
  %735 = trunc nuw i8 %734 to i1
  br i1 %735, label %736, label %743

736:                                              ; preds = %733
  %737 = getelementptr inbounds i8, ptr %.2888, i64 104
  %738 = load float, ptr %737, align 4, !tbaa !108
  %739 = load float, ptr %582, align 8, !tbaa !41
  %740 = fadd float %738, %739
  %741 = call noundef float @_ZN5ImGui13GetScrollMaxYEv()
  %742 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %740, float noundef %741)
  call void @_ZN5ImGui10SetScrollYEP11ImGuiWindowf(ptr noundef %.2888, float noundef %742)
  br label %.thread1157

743:                                              ; preds = %733
  %744 = select i1 %619, i32 2097159, i32 2097155
  %745 = or disjoint i32 %744, %592
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233, i32 noundef %745)
  br label %.thread1157

746:                                              ; preds = %731
  %747 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 517, i1 noundef zeroext true)
  %brmerge1074.not = and i1 %68, %747
  br i1 %brmerge1074.not, label %748, label %754

748:                                              ; preds = %746
  %749 = or disjoint i32 %592, 2097166
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233, i32 noundef %749)
  %750 = sitofp i32 %586 to float
  %751 = load float, ptr %582, align 8, !tbaa !41
  %752 = fneg float %750
  %753 = call float @llvm.fmuladd.f32(float %752, float %751, float %209)
  br label %.thread1157

754:                                              ; preds = %746
  %755 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 518, i1 noundef zeroext true)
  %brmerge1077.not = and i1 %68, %755
  br i1 %brmerge1077.not, label %756, label %761

756:                                              ; preds = %754
  %757 = or disjoint i32 %592, 2097167
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233, i32 noundef %757)
  %758 = sitofp i32 %586 to float
  %759 = load float, ptr %582, align 8, !tbaa !41
  %760 = call float @llvm.fmuladd.f32(float %758, float %759, float %209)
  br label %.thread1157

761:                                              ; preds = %754
  %762 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 519, i1 noundef zeroext true)
  br i1 %762, label %763, label %767

763:                                              ; preds = %761
  %764 = load i8, ptr %616, align 4, !tbaa !119, !range !38, !noundef !39
  %765 = trunc nuw i8 %764 to i1
  %.v996 = select i1 %765, i32 2097158, i32 2097156
  %766 = or disjoint i32 %.v996, %592
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233, i32 noundef %766)
  br label %.thread1157

767:                                              ; preds = %761
  %768 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 520, i1 noundef zeroext true)
  br i1 %768, label %769, label %773

769:                                              ; preds = %767
  %770 = load i8, ptr %616, align 4, !tbaa !119, !range !38, !noundef !39
  %771 = trunc nuw i8 %770 to i1
  %.v = select i1 %771, i32 2097159, i32 2097157
  %772 = or disjoint i32 %.v, %592
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233, i32 noundef %772)
  br label %.thread1157

773:                                              ; preds = %767
  %774 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 522, i1 noundef zeroext true)
  %.not1078 = xor i1 %774, true
  %brmerge1079 = or i1 %80, %.not1078
  %brmerge1080 = or i1 %664, %brmerge1079
  br i1 %brmerge1080, label %777, label %775

775:                                              ; preds = %773
  %776 = or disjoint i32 %592, 2097160
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233, i32 noundef %776)
  br label %.thread1157

777:                                              ; preds = %773
  %778 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 523, i1 noundef zeroext true)
  %.not1081 = xor i1 %778, true
  %brmerge1082 = or i1 %80, %.not1081
  br i1 %brmerge1082, label %795, label %779

779:                                              ; preds = %777
  %780 = call noundef zeroext i1 @_ZNK19ImGuiInputTextState12HasSelectionEv(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233)
  br i1 %780, label %793, label %781

781:                                              ; preds = %779
  br i1 %620, label %.sink.split1269, label %782

782:                                              ; preds = %781
  br i1 %595, label %783, label %793

783:                                              ; preds = %782
  %784 = getelementptr inbounds i8, ptr %77, i64 3607
  %785 = load i8, ptr %784, align 1, !tbaa !153, !range !38, !noundef !39
  %786 = trunc nuw i8 %785 to i1
  br i1 %786, label %787, label %793

787:                                              ; preds = %783
  %788 = load i8, ptr %617, align 2, !tbaa !152, !range !38, !noundef !39
  %789 = trunc nuw i8 %788 to i1
  br i1 %789, label %793, label %790

790:                                              ; preds = %787
  %791 = load i8, ptr %616, align 4, !tbaa !119, !range !38, !noundef !39
  %792 = trunc nuw i8 %791 to i1
  br i1 %792, label %793, label %.sink.split1269

.sink.split1269:                                  ; preds = %790, %781
  %.sink1270 = phi i32 [ 6291468, %781 ], [ 6291460, %790 ]
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233, i32 noundef %.sink1270)
  br label %793

793:                                              ; preds = %.sink.split1269, %790, %787, %783, %782, %779
  %794 = or disjoint i32 %592, 2097161
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233, i32 noundef %794)
  br label %.thread1157

795:                                              ; preds = %777
  %brmerge1083 = or i1 %696, %706
  br i1 %brmerge1083, label %796, label %813

796:                                              ; preds = %795
  %brmerge1085 = or i1 %706, %.not1067
  br i1 %brmerge1085, label %802, label %797

797:                                              ; preds = %796
  %798 = and i32 %5, 2048
  %.not995 = icmp eq i32 %798, 0
  %799 = load i8, ptr %616, align 4, !tbaa !119, !range !38, !noundef !39
  %800 = trunc nuw i8 %799 to i1
  br i1 %.not995, label %.critedge1087, label %801

801:                                              ; preds = %797
  br i1 %800, label %807, label %.thread1157

.critedge1087:                                    ; preds = %797
  br i1 %800, label %.thread1157, label %807

802:                                              ; preds = %796
  %803 = getelementptr inbounds i8, ptr %77, i64 124
  %804 = load i8, ptr %803, align 4, !tbaa !162, !range !38, !noundef !39
  %805 = trunc nuw i8 %804 to i1
  %.not1088 = xor i1 %805, true
  %brmerge1089 = or i1 %68, %.not1088
  br i1 %brmerge1089, label %.thread1157, label %806

806:                                              ; preds = %802
  call void @_ZN19ImGuiInputTextState9SelectAllEv(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233)
  br label %.thread1157

807:                                              ; preds = %801, %.critedge1087
  br i1 %80, label %.thread1157, label %808

808:                                              ; preds = %807
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #15
  store i32 10, ptr %22, align 4, !tbaa !94
  %809 = call noundef zeroext i1 @_ZL24InputTextFilterCharacterPjiPFiP26ImGuiInputTextCallbackDataEPv16ImGuiInputSource(ptr noundef nonnull %22, i32 noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 2)
  br i1 %809, label %810, label %812

810:                                              ; preds = %808
  %811 = load i32, ptr %22, align 4, !tbaa !94
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233, i32 noundef %811)
  br label %812

812:                                              ; preds = %810, %808
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #15
  br label %.thread1157

813:                                              ; preds = %795
  br i1 %707, label %814, label %820

814:                                              ; preds = %813
  %815 = and i32 %5, 1048576
  %.not994 = icmp eq i32 %815, 0
  br i1 %.not994, label %.thread1157, label %816

816:                                              ; preds = %814
  %817 = getelementptr inbounds i8, ptr %.08911233, i64 8
  %818 = load i32, ptr %817, align 8, !tbaa !112
  %819 = icmp sgt i32 %818, 0
  %.0906.in. = select i1 %819, i1 %.0906.in, i1 false
  %.1091 = select i1 %819, i8 %322, i8 0
  %.0892. = select i1 %819, i8 %.08921142, i8 1
  br label %.thread1157

820:                                              ; preds = %813
  %brmerge1092 = or i1 %677, %678
  br i1 %brmerge1092, label %821, label %822

821:                                              ; preds = %820
  %.mux1093 = select i1 %677, i32 2097162, i32 2097163
  call void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233, i32 noundef %.mux1093)
  call void @_ZN19ImGuiInputTextState14ClearSelectionEv(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233)
  br label %.thread1157

822:                                              ; preds = %820
  br i1 %682, label %823, label %825

823:                                              ; preds = %822
  call void @_ZN19ImGuiInputTextState9SelectAllEv(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233)
  %824 = getelementptr inbounds i8, ptr %.08911233, i64 3708
  store i8 1, ptr %824, align 4, !tbaa !149
  br label %.thread1157

825:                                              ; preds = %822
  %brmerge1094 = or i1 %663, %664
  br i1 %brmerge1094, label %826, label %872

826:                                              ; preds = %825
  %827 = getelementptr inbounds i8, ptr %77, i64 184
  %828 = load ptr, ptr %827, align 8, !tbaa !163
  %.not993 = icmp eq ptr %828, null
  br i1 %.not993, label %865, label %829

829:                                              ; preds = %826
  %830 = call noundef zeroext i1 @_ZNK19ImGuiInputTextState12HasSelectionEv(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233)
  br i1 %830, label %831, label %837

831:                                              ; preds = %829
  %832 = getelementptr inbounds i8, ptr %.08911233, i64 80
  %833 = load i32, ptr %832, align 4, !tbaa !147
  %834 = getelementptr inbounds i8, ptr %.08911233, i64 84
  %835 = load i32, ptr %834, align 4, !tbaa !148
  %836 = call noundef i32 @_ZL5ImMinIiET_S0_S0_(i32 noundef %833, i32 noundef %835)
  br label %837

837:                                              ; preds = %829, %831
  %838 = phi i32 [ %836, %831 ], [ 0, %829 ]
  %839 = call noundef zeroext i1 @_ZNK19ImGuiInputTextState12HasSelectionEv(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233)
  br i1 %839, label %840, label %846

840:                                              ; preds = %837
  %841 = getelementptr inbounds i8, ptr %.08911233, i64 80
  %842 = load i32, ptr %841, align 4, !tbaa !147
  %843 = getelementptr inbounds i8, ptr %.08911233, i64 84
  %844 = load i32, ptr %843, align 4, !tbaa !148
  %845 = call noundef i32 @_ZL5ImMaxIiET_S0_S0_(i32 noundef %842, i32 noundef %844)
  br label %849

846:                                              ; preds = %837
  %847 = getelementptr inbounds i8, ptr %.08911233, i64 4
  %848 = load i32, ptr %847, align 4, !tbaa !116
  br label %849

849:                                              ; preds = %846, %840
  %850 = phi i32 [ %845, %840 ], [ %848, %846 ]
  %851 = getelementptr inbounds i8, ptr %.08911233, i64 24
  %852 = load ptr, ptr %851, align 8, !tbaa !115
  %853 = sext i32 %838 to i64
  %854 = getelementptr inbounds i16, ptr %852, i64 %853
  %855 = sext i32 %850 to i64
  %856 = getelementptr inbounds i16, ptr %852, i64 %855
  %857 = call noundef i32 @_Z27ImTextCountUtf8BytesFromStrPKtS0_(ptr noundef %854, ptr noundef %856)
  %858 = add nsw i32 %857, 1
  %859 = sext i32 %858 to i64
  %860 = call noundef ptr @_ZN5ImGui8MemAllocEm(i64 noundef %859)
  %861 = load ptr, ptr %851, align 8, !tbaa !115
  %862 = getelementptr inbounds i16, ptr %861, i64 %853
  %863 = getelementptr inbounds i16, ptr %861, i64 %855
  %864 = call noundef i32 @_Z15ImTextStrToUtf8PciPKtS1_(ptr noundef %860, i32 noundef %858, ptr noundef %862, ptr noundef %863)
  call void @_ZN5ImGui16SetClipboardTextEPKc(ptr noundef %860)
  call void @_ZN5ImGui7MemFreeEPv(ptr noundef %860)
  br label %865

865:                                              ; preds = %849, %826
  br i1 %664, label %866, label %.thread1157

866:                                              ; preds = %865
  %867 = call noundef zeroext i1 @_ZNK19ImGuiInputTextState12HasSelectionEv(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233)
  br i1 %867, label %869, label %868

868:                                              ; preds = %866
  call void @_ZN19ImGuiInputTextState9SelectAllEv(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233)
  br label %869

869:                                              ; preds = %868, %866
  %870 = getelementptr inbounds i8, ptr %.08911233, i64 3708
  store i8 1, ptr %870, align 4, !tbaa !149
  %871 = call noundef i32 @_ZN5ImStbL16stb_textedit_cutEP19ImGuiInputTextStatePNS_17STB_TexteditStateE(ptr noundef nonnull %.08911233, ptr noundef nonnull %587)
  br label %.thread1157

872:                                              ; preds = %825
  br i1 %665, label %873, label %.thread1157

873:                                              ; preds = %872
  %874 = call noundef ptr @_ZN5ImGui16GetClipboardTextEv()
  %.not990 = icmp eq ptr %874, null
  br i1 %.not990, label %.thread1157, label %875

875:                                              ; preds = %873
  %876 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %874) #16
  %877 = shl i64 %876, 32
  %sext991 = add i64 %877, 4294967296
  %878 = ashr exact i64 %sext991, 31
  %879 = call noundef ptr @_ZN5ImGui8MemAllocEm(i64 noundef %878)
  %880 = load i8, ptr %874, align 1, !tbaa !123
  %.not9921198 = icmp eq i8 %880, 0
  br i1 %.not9921198, label %.loopexit1192.thread, label %.lr.ph1201

.loopexit1192.thread:                             ; preds = %875
  store i16 0, ptr %879, align 2, !tbaa !144
  br label %902

.lr.ph1201:                                       ; preds = %875, %894
  %.09271200 = phi i32 [ %.1928, %894 ], [ 0, %875 ]
  %.09301199 = phi ptr [ %883, %894 ], [ %874, %875 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #15
  %881 = call noundef i32 @_Z18ImTextCharFromUtf8PjPKcS1_(ptr noundef nonnull %23, ptr noundef nonnull %.09301199, ptr noundef null)
  %882 = sext i32 %881 to i64
  %883 = getelementptr inbounds i8, ptr %.09301199, i64 %882
  %884 = load i32, ptr %23, align 4, !tbaa !94
  %885 = icmp eq i32 %884, 0
  br i1 %885, label %.thread1160, label %886

.thread1160:                                      ; preds = %.lr.ph1201
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #15
  br label %.loopexit1192

886:                                              ; preds = %.lr.ph1201
  %887 = call noundef zeroext i1 @_ZL24InputTextFilterCharacterPjiPFiP26ImGuiInputTextCallbackDataEPv16ImGuiInputSource(ptr noundef nonnull %23, i32 noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 4)
  br i1 %887, label %888, label %894, !llvm.loop !164

888:                                              ; preds = %886
  %889 = load i32, ptr %23, align 4, !tbaa !94
  %890 = trunc i32 %889 to i16
  %891 = add nsw i32 %.09271200, 1
  %892 = sext i32 %.09271200 to i64
  %893 = getelementptr inbounds i16, ptr %879, i64 %892
  store i16 %890, ptr %893, align 2, !tbaa !144
  br label %894

894:                                              ; preds = %886, %888
  %.1928 = phi i32 [ %891, %888 ], [ %.09271200, %886 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #15
  %895 = load i8, ptr %883, align 1, !tbaa !123
  %.not992 = icmp eq i8 %895, 0
  br i1 %.not992, label %.loopexit1192, label %.lr.ph1201

.loopexit1192:                                    ; preds = %894, %.thread1160
  %.09271196 = phi i32 [ %.09271200, %.thread1160 ], [ %.1928, %894 ]
  %896 = sext i32 %.09271196 to i64
  %897 = getelementptr inbounds i16, ptr %879, i64 %896
  store i16 0, ptr %897, align 2, !tbaa !144
  %898 = icmp sgt i32 %.09271196, 0
  br i1 %898, label %899, label %902

899:                                              ; preds = %.loopexit1192
  %900 = call noundef i32 @_ZN5ImStbL18stb_textedit_pasteEP19ImGuiInputTextStatePNS_17STB_TexteditStateEPKti(ptr noundef %.08911233, ptr noundef nonnull %587, ptr noundef nonnull %879, i32 noundef %.09271196)
  %901 = getelementptr inbounds i8, ptr %.08911233, i64 3708
  store i8 1, ptr %901, align 4, !tbaa !149
  br label %902

902:                                              ; preds = %.loopexit1192.thread, %899, %.loopexit1192
  call void @_ZN5ImGui7MemFreeEPv(ptr noundef nonnull %879)
  br label %.thread1157

.thread1157:                                      ; preds = %801, %.critedge1087, %873, %902, %814, %816, %806, %812, %807, %802, %714, %743, %736, %756, %769, %793, %823, %872, %865, %869, %821, %775, %763, %748, %722, %728, %709
  %.0925 = phi i1 [ false, %709 ], [ false, %714 ], [ false, %722 ], [ false, %728 ], [ false, %736 ], [ false, %743 ], [ false, %748 ], [ false, %756 ], [ false, %763 ], [ false, %769 ], [ false, %821 ], [ false, %823 ], [ false, %869 ], [ false, %865 ], [ false, %872 ], [ false, %793 ], [ false, %775 ], [ false, %802 ], [ false, %807 ], [ false, %812 ], [ false, %806 ], [ %819, %816 ], [ true, %814 ], [ false, %902 ], [ false, %873 ], [ false, %.critedge1087 ], [ false, %801 ]
  %.1920 = phi i8 [ 0, %709 ], [ 0, %714 ], [ 0, %722 ], [ 0, %728 ], [ 0, %736 ], [ 0, %743 ], [ 0, %748 ], [ 0, %756 ], [ 0, %763 ], [ 0, %769 ], [ 0, %821 ], [ 0, %823 ], [ 0, %869 ], [ 0, %865 ], [ 0, %872 ], [ 0, %793 ], [ 0, %775 ], [ 1, %802 ], [ 0, %807 ], [ 0, %812 ], [ 1, %806 ], [ 0, %816 ], [ 0, %814 ], [ 0, %902 ], [ 0, %873 ], [ 1, %.critedge1087 ], [ 1, %801 ]
  %.1907 = phi i1 [ %.0906.in, %709 ], [ %.0906.in, %714 ], [ %.0906.in, %722 ], [ %.0906.in, %728 ], [ %.0906.in, %736 ], [ %.0906.in, %743 ], [ %.0906.in, %748 ], [ %.0906.in, %756 ], [ %.0906.in, %763 ], [ %.0906.in, %769 ], [ %.0906.in, %821 ], [ %.0906.in, %823 ], [ %.0906.in, %869 ], [ %.0906.in, %865 ], [ %.0906.in, %872 ], [ %.0906.in, %793 ], [ %.0906.in, %775 ], [ %.0906.in, %802 ], [ %.0906.in, %807 ], [ %.0906.in, %812 ], [ %.0906.in, %806 ], [ %.0906.in., %816 ], [ false, %814 ], [ %.0906.in, %902 ], [ %.0906.in, %873 ], [ %.0906.in, %.critedge1087 ], [ %.0906.in, %801 ]
  %.0904 = phi i8 [ %322, %709 ], [ %322, %714 ], [ %322, %722 ], [ %322, %728 ], [ %322, %736 ], [ %322, %743 ], [ %322, %748 ], [ %322, %756 ], [ %322, %763 ], [ %322, %769 ], [ %322, %821 ], [ %322, %823 ], [ %322, %869 ], [ %322, %865 ], [ %322, %872 ], [ %322, %793 ], [ %322, %775 ], [ %322, %802 ], [ %322, %807 ], [ %322, %812 ], [ %322, %806 ], [ %.1091, %816 ], [ 0, %814 ], [ %322, %902 ], [ %322, %873 ], [ %322, %.critedge1087 ], [ %322, %801 ]
  %.0900 = phi float [ %209, %709 ], [ %209, %714 ], [ %209, %722 ], [ %209, %728 ], [ %209, %736 ], [ %209, %743 ], [ %753, %748 ], [ %760, %756 ], [ %209, %763 ], [ %209, %769 ], [ %209, %821 ], [ %209, %823 ], [ %209, %869 ], [ %209, %865 ], [ %209, %872 ], [ %209, %793 ], [ %209, %775 ], [ %209, %802 ], [ %209, %807 ], [ %209, %812 ], [ %209, %806 ], [ %209, %816 ], [ %209, %814 ], [ %209, %902 ], [ %209, %873 ], [ %209, %.critedge1087 ], [ %209, %801 ]
  %.2894 = phi i8 [ %.08921142, %709 ], [ %.08921142, %714 ], [ %.08921142, %722 ], [ %.08921142, %728 ], [ %.08921142, %736 ], [ %.08921142, %743 ], [ %.08921142, %748 ], [ %.08921142, %756 ], [ %.08921142, %763 ], [ %.08921142, %769 ], [ %.08921142, %821 ], [ %.08921142, %823 ], [ %.08921142, %869 ], [ %.08921142, %865 ], [ %.08921142, %872 ], [ %.08921142, %793 ], [ %.08921142, %775 ], [ 1, %802 ], [ %.08921142, %807 ], [ %.08921142, %812 ], [ %.08921142, %806 ], [ %.0892., %816 ], [ 1, %814 ], [ %.08921142, %902 ], [ %.08921142, %873 ], [ 1, %.critedge1087 ], [ 1, %801 ]
  %903 = call noundef zeroext i1 @_ZNK19ImGuiInputTextState12HasSelectionEv(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233)
  %904 = select i1 %903, i8 %.0904, i8 0
  %905 = zext i1 %.1907 to i8
  %906 = or i8 %904, %905
  %.pre1208 = load i32, ptr %167, align 4, !tbaa !102
  br label %907

907:                                              ; preds = %.thread1157, %568
  %908 = phi i32 [ %.pre1208, %.thread1157 ], [ %569, %568 ]
  %.1926 = phi i1 [ %.0925, %.thread1157 ], [ false, %568 ]
  %.2921 = phi i8 [ %.1920, %.thread1157 ], [ 0, %568 ]
  %.2908 = phi i8 [ %906, %.thread1157 ], [ %.0906, %568 ]
  %.1905 = phi i8 [ %.0904, %.thread1157 ], [ %322, %568 ]
  %.1901 = phi float [ %.0900, %.thread1157 ], [ %209, %568 ]
  %.3895 = phi i8 [ %.2894, %.thread1157 ], [ %.08921142, %568 ]
  %909 = icmp eq i32 %908, %90
  br i1 %909, label %.thread1244, label %.thread1178

.thread1244:                                      ; preds = %575, %571, %907
  %.38951264 = phi i8 [ %.3895, %907 ], [ %.08921142, %571 ], [ %.08921142, %575 ]
  %.19011262 = phi float [ %.1901, %907 ], [ %209, %571 ], [ %209, %575 ]
  %.19051260 = phi i8 [ %.1905, %907 ], [ %322, %571 ], [ %322, %575 ]
  %.29081258 = phi i8 [ %.2908, %907 ], [ %.0906, %571 ], [ %.0906, %575 ]
  %.29211254 = phi i8 [ %.2921, %907 ], [ 0, %571 ], [ 0, %575 ]
  %.19261253 = phi i1 [ %.1926, %907 ], [ false, %571 ], [ false, %575 ]
  br i1 %323, label %911, label %910

910:                                              ; preds = %.thread1244
  call void @__assert_fail(ptr noundef nonnull @.str.63, ptr noundef nonnull @.str.2, i32 noundef 4461, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #14
  unreachable

911:                                              ; preds = %.thread1244
  %.1926.not = xor i1 %.19261253, true
  %brmerge1095 = or i1 %80, %.1926.not
  br i1 %brmerge1095, label %946, label %912

912:                                              ; preds = %911
  %913 = and i32 %5, 1048576
  %.not997 = icmp eq i32 %913, 0
  br i1 %.not997, label %916, label %914

914:                                              ; preds = %912
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %24) #15
  %915 = getelementptr inbounds i8, ptr %.08911233, i64 76
  call void @_ZN5ImStbL20stb_textedit_replaceEP19ImGuiInputTextStatePNS_17STB_TexteditStateEPKti(ptr noundef nonnull %.08911233, ptr noundef nonnull %915, ptr noundef nonnull %24, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %24) #15
  br label %.thread1164

916:                                              ; preds = %912
  %917 = getelementptr inbounds i8, ptr %.08911233, i64 56
  %918 = load ptr, ptr %917, align 8, !tbaa !110
  %919 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) %918) #16
  %.not998 = icmp eq i32 %919, 0
  br i1 %.not998, label %.thread1164, label %920

920:                                              ; preds = %916
  %921 = getelementptr inbounds i8, ptr %.08911233, i64 48
  %922 = load i32, ptr %921, align 8, !tbaa !165
  %923 = add nsw i32 %922, -1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #15
  call void @_ZN8ImVectorItEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25)
  %924 = icmp sgt i32 %922, 1
  br i1 %924, label %925, label %938

925:                                              ; preds = %920
  %926 = zext nneg i32 %923 to i64
  %927 = getelementptr inbounds i8, ptr %918, i64 %926
  %928 = invoke noundef i32 @_Z24ImTextCountCharsFromUtf8PKcS0_(ptr noundef %918, ptr noundef %927)
          to label %929 unwind label %936

929:                                              ; preds = %925
  %930 = add nsw i32 %928, 1
  invoke void @_ZN8ImVectorItE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %25, i32 noundef %930)
          to label %931 unwind label %936

931:                                              ; preds = %929
  %932 = getelementptr inbounds i8, ptr %25, i64 8
  %933 = load ptr, ptr %932, align 8, !tbaa !166
  %934 = load i32, ptr %25, align 8, !tbaa !167
  %935 = invoke noundef i32 @_Z17ImTextStrFromUtf8PtiPKcS1_PS1_(ptr noundef %933, i32 noundef %934, ptr noundef %918, ptr noundef %927, ptr noundef null)
          to label %938 unwind label %936

936:                                              ; preds = %938, %931, %929, %925
  %937 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8ImVectorItED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #15
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #15
  call void @llvm.lifetime.end.p0(i64 60, ptr nonnull %15) #15
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #15
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #15
  resume { ptr, i32 } %937

938:                                              ; preds = %931, %920
  %939 = getelementptr inbounds i8, ptr %.08911233, i64 76
  %940 = getelementptr inbounds i8, ptr %25, i64 8
  %941 = load ptr, ptr %940, align 8, !tbaa !166
  %942 = load i32, ptr %25, align 8
  %943 = add nsw i32 %942, -1
  %944 = select i1 %924, i32 %943, i32 0
  invoke void @_ZN5ImStbL20stb_textedit_replaceEP19ImGuiInputTextStatePNS_17STB_TexteditStateEPKti(ptr noundef nonnull %.08911233, ptr noundef nonnull %939, ptr noundef %941, i32 noundef %944)
          to label %945 unwind label %936

945:                                              ; preds = %938
  call void @_ZN8ImVectorItED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #15
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #15
  br label %.thread1164

946:                                              ; preds = %911
  br i1 %80, label %959, label %.thread1164

.thread1164:                                      ; preds = %916, %945, %914, %946
  %.09311169 = phi ptr [ null, %946 ], [ null, %916 ], [ %918, %945 ], [ @.str, %914 ]
  %.09341167 = phi i32 [ 0, %946 ], [ 0, %916 ], [ %923, %945 ], [ 0, %914 ]
  %947 = getelementptr inbounds i8, ptr %.08911233, i64 64
  store i8 1, ptr %947, align 8, !tbaa !113
  %948 = getelementptr inbounds i8, ptr %.08911233, i64 32
  %949 = getelementptr inbounds i8, ptr %.08911233, i64 16
  %950 = load i32, ptr %949, align 8, !tbaa !122
  %951 = shl nsw i32 %950, 2
  %952 = or disjoint i32 %951, 1
  call void @_ZN8ImVectorIcE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %948, i32 noundef %952)
  %953 = getelementptr inbounds i8, ptr %.08911233, i64 40
  %954 = load ptr, ptr %953, align 8, !tbaa !114
  %955 = load i32, ptr %948, align 8, !tbaa !168
  %956 = getelementptr inbounds i8, ptr %.08911233, i64 24
  %957 = load ptr, ptr %956, align 8, !tbaa !115
  %958 = call noundef i32 @_Z15ImTextStrToUtf8PciPKtS1_(ptr noundef %954, i32 noundef %955, ptr noundef %957, ptr noundef null)
  br label %959

959:                                              ; preds = %.thread1164, %946
  %.09311170 = phi ptr [ %.09311169, %.thread1164 ], [ null, %946 ]
  %.09341168 = phi i32 [ %.09341167, %.thread1164 ], [ 0, %946 ]
  br i1 %.19261253, label %960, label %.critedge1097

960:                                              ; preds = %959
  %961 = trunc nuw i8 %.29211254 to i1
  %962 = and i32 %5, 32
  %963 = icmp ne i32 %962, 0
  %964 = and i1 %963, %961
  br i1 %964, label %.critedge1097, label %1110

.critedge1097:                                    ; preds = %959, %960
  %965 = and i32 %5, 524736
  %.not999 = icmp eq i32 %965, 0
  br i1 %.not999, label %1102, label %966

966:                                              ; preds = %.critedge1097
  br i1 %85, label %968, label %967

967:                                              ; preds = %966
  call void @__assert_fail(ptr noundef nonnull @.str.60, ptr noundef nonnull @.str.2, i32 noundef 4510, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #14
  unreachable

968:                                              ; preds = %966
  br i1 %.not970, label %971, label %969

969:                                              ; preds = %968
  %970 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 512, i1 noundef zeroext true)
  br i1 %970, label %.thread1172, label %971

971:                                              ; preds = %969, %968
  br i1 %.not968.not, label %.critedge1099, label %972

972:                                              ; preds = %971
  %973 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 515, i1 noundef zeroext true)
  br i1 %973, label %.thread1172, label %974

974:                                              ; preds = %972
  %975 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 516, i1 noundef zeroext true)
  br i1 %975, label %.thread1172, label %.critedge1099

.critedge1099:                                    ; preds = %971, %974
  %976 = and i32 %5, 524288
  %.not1000 = icmp eq i32 %976, 0
  br i1 %.not1000, label %981, label %977

977:                                              ; preds = %.critedge1099
  %978 = getelementptr inbounds i8, ptr %.08911233, i64 3710
  %979 = load i8, ptr %978, align 2, !tbaa !132, !range !38, !noundef !39
  %980 = trunc nuw i8 %979 to i1
  br i1 %980, label %.thread1172, label %981

981:                                              ; preds = %.critedge1099, %977
  %982 = and i32 %5, 256
  %.not1001 = icmp eq i32 %982, 0
  br i1 %.not1001, label %1102, label %.thread1172

.thread1172:                                      ; preds = %977, %974, %972, %969, %981
  %.09381177 = phi i32 [ 256, %981 ], [ 524288, %977 ], [ 128, %974 ], [ 128, %972 ], [ 64, %969 ]
  %.09391176 = phi i32 [ 0, %981 ], [ 0, %977 ], [ 516, %974 ], [ 515, %972 ], [ 512, %969 ]
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %26) #15
  call void @_ZN26ImGuiInputTextCallbackDataC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %26)
  %983 = getelementptr inbounds i8, ptr %26, i64 16
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(56) %983, i8 0, i64 40, i1 false)
  store i32 %.09381177, ptr %26, align 8, !tbaa !169
  %984 = getelementptr inbounds i8, ptr %26, i64 4
  store i32 %5, ptr %984, align 4, !tbaa !172
  %985 = getelementptr inbounds i8, ptr %26, i64 8
  store ptr %7, ptr %985, align 8, !tbaa !173
  br i1 %80, label %989, label %986

986:                                              ; preds = %.thread1172
  %987 = getelementptr inbounds i8, ptr %.08911233, i64 40
  %988 = load ptr, ptr %987, align 8, !tbaa !114
  br label %989

989:                                              ; preds = %.thread1172, %986
  %990 = phi ptr [ %988, %986 ], [ %2, %.thread1172 ]
  %991 = getelementptr inbounds i8, ptr %26, i64 20
  store i32 %.09391176, ptr %991, align 4, !tbaa !174
  %992 = getelementptr inbounds i8, ptr %26, i64 24
  store ptr %990, ptr %992, align 8, !tbaa !175
  %993 = getelementptr inbounds i8, ptr %.08911233, i64 8
  %994 = load i32, ptr %993, align 8, !tbaa !112
  %995 = getelementptr inbounds i8, ptr %26, i64 32
  store i32 %994, ptr %995, align 8, !tbaa !176
  %996 = getelementptr inbounds i8, ptr %.08911233, i64 68
  %997 = load i32, ptr %996, align 4, !tbaa !133
  %998 = getelementptr inbounds i8, ptr %26, i64 36
  store i32 %997, ptr %998, align 4, !tbaa !177
  %999 = getelementptr inbounds i8, ptr %26, i64 40
  %1000 = getelementptr inbounds i8, ptr %.08911233, i64 16
  %1001 = getelementptr inbounds i8, ptr %.08911233, i64 24
  %1002 = load ptr, ptr %1001, align 8, !tbaa !115
  %1003 = getelementptr inbounds i8, ptr %.08911233, i64 76
  %1004 = load i32, ptr %1003, align 4, !tbaa !146
  %1005 = sext i32 %1004 to i64
  %1006 = getelementptr inbounds i16, ptr %1002, i64 %1005
  %1007 = call noundef i32 @_Z27ImTextCountUtf8BytesFromStrPKtS0_(ptr noundef %1002, ptr noundef %1006)
  %1008 = getelementptr inbounds i8, ptr %26, i64 44
  store i32 %1007, ptr %1008, align 4, !tbaa !178
  %1009 = getelementptr inbounds i8, ptr %.08911233, i64 80
  %1010 = load i32, ptr %1009, align 4, !tbaa !147
  %1011 = sext i32 %1010 to i64
  %1012 = getelementptr inbounds i16, ptr %1002, i64 %1011
  %1013 = call noundef i32 @_Z27ImTextCountUtf8BytesFromStrPKtS0_(ptr noundef %1002, ptr noundef %1012)
  %1014 = getelementptr inbounds i8, ptr %26, i64 48
  store i32 %1013, ptr %1014, align 8, !tbaa !179
  %1015 = getelementptr inbounds i8, ptr %.08911233, i64 84
  %1016 = load i32, ptr %1015, align 4, !tbaa !148
  %1017 = sext i32 %1016 to i64
  %1018 = getelementptr inbounds i16, ptr %1002, i64 %1017
  %1019 = call noundef i32 @_Z27ImTextCountUtf8BytesFromStrPKtS0_(ptr noundef %1002, ptr noundef %1018)
  %1020 = getelementptr inbounds i8, ptr %26, i64 52
  store i32 %1019, ptr %1020, align 4, !tbaa !180
  %1021 = call noundef i32 %6(ptr noundef nonnull %26)
  br i1 %80, label %1025, label %1022

1022:                                             ; preds = %989
  %1023 = getelementptr inbounds i8, ptr %.08911233, i64 40
  %1024 = load ptr, ptr %1023, align 8, !tbaa !114
  br label %1025

1025:                                             ; preds = %989, %1022
  %1026 = phi ptr [ %1024, %1022 ], [ %2, %989 ]
  %1027 = load ptr, ptr %992, align 8, !tbaa !175
  %1028 = icmp eq ptr %1027, %1026
  br i1 %1028, label %1030, label %1029

1029:                                             ; preds = %1025
  call void @__assert_fail(ptr noundef nonnull @.str.64, ptr noundef nonnull @.str.2, i32 noundef 4565, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #14
  unreachable

1030:                                             ; preds = %1025
  %1031 = load i32, ptr %998, align 4, !tbaa !177
  %1032 = load i32, ptr %996, align 4, !tbaa !133
  %1033 = icmp eq i32 %1031, %1032
  br i1 %1033, label %1035, label %1034

1034:                                             ; preds = %1030
  call void @__assert_fail(ptr noundef nonnull @.str.65, ptr noundef nonnull @.str.2, i32 noundef 4566, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #14
  unreachable

1035:                                             ; preds = %1030
  %1036 = load i32, ptr %984, align 4, !tbaa !172
  %1037 = icmp eq i32 %1036, %5
  br i1 %1037, label %1039, label %1038

1038:                                             ; preds = %1035
  call void @__assert_fail(ptr noundef nonnull @.str.66, ptr noundef nonnull @.str.2, i32 noundef 4567, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #14
  unreachable

1039:                                             ; preds = %1035
  %1040 = load i8, ptr %999, align 8, !tbaa !181, !range !38, !noundef !39
  %1041 = trunc nuw i8 %1040 to i1
  %1042 = load i32, ptr %1008, align 4, !tbaa !178
  %.not1003 = icmp ne i32 %1042, %1007
  %brmerge1102 = select i1 %.not1003, i1 true, i1 %1041
  br i1 %brmerge1102, label %1043, label %1048

1043:                                             ; preds = %1039
  %1044 = sext i32 %1042 to i64
  %1045 = getelementptr inbounds i8, ptr %1027, i64 %1044
  %1046 = call noundef i32 @_Z24ImTextCountCharsFromUtf8PKcS0_(ptr noundef %1027, ptr noundef %1045)
  store i32 %1046, ptr %1003, align 4, !tbaa !146
  %1047 = getelementptr inbounds i8, ptr %.08911233, i64 3708
  store i8 1, ptr %1047, align 4, !tbaa !149
  br label %1048

1048:                                             ; preds = %1039, %1043
  %1049 = load i32, ptr %1014, align 8, !tbaa !179
  %.not1004 = icmp ne i32 %1049, %1013
  %brmerge1103 = select i1 %.not1004, i1 true, i1 %1041
  br i1 %brmerge1103, label %1050, label %1062

1050:                                             ; preds = %1048
  %1051 = load i32, ptr %1008, align 4, !tbaa !178
  %1052 = icmp eq i32 %1049, %1051
  br i1 %1052, label %1053, label %1055

1053:                                             ; preds = %1050
  %1054 = load i32, ptr %1003, align 4, !tbaa !146
  br label %1060

1055:                                             ; preds = %1050
  %1056 = load ptr, ptr %992, align 8, !tbaa !175
  %1057 = sext i32 %1049 to i64
  %1058 = getelementptr inbounds i8, ptr %1056, i64 %1057
  %1059 = call noundef i32 @_Z24ImTextCountCharsFromUtf8PKcS0_(ptr noundef %1056, ptr noundef %1058)
  br label %1060

1060:                                             ; preds = %1055, %1053
  %1061 = phi i32 [ %1054, %1053 ], [ %1059, %1055 ]
  store i32 %1061, ptr %1009, align 4, !tbaa !147
  br label %1062

1062:                                             ; preds = %1048, %1060
  %1063 = load i32, ptr %1020, align 4, !tbaa !180
  %.not1005 = icmp ne i32 %1063, %1019
  %brmerge1104 = select i1 %.not1005, i1 true, i1 %1041
  br i1 %brmerge1104, label %1064, label %1076

1064:                                             ; preds = %1062
  %1065 = load i32, ptr %1014, align 8, !tbaa !179
  %1066 = icmp eq i32 %1063, %1065
  br i1 %1066, label %1067, label %1069

1067:                                             ; preds = %1064
  %1068 = load i32, ptr %1009, align 4, !tbaa !147
  br label %1074

1069:                                             ; preds = %1064
  %1070 = load ptr, ptr %992, align 8, !tbaa !175
  %1071 = sext i32 %1063 to i64
  %1072 = getelementptr inbounds i8, ptr %1070, i64 %1071
  %1073 = call noundef i32 @_Z24ImTextCountCharsFromUtf8PKcS0_(ptr noundef %1070, ptr noundef %1072)
  br label %1074

1074:                                             ; preds = %1069, %1067
  %1075 = phi i32 [ %1068, %1067 ], [ %1073, %1069 ]
  store i32 %1075, ptr %1015, align 4, !tbaa !148
  br label %1076

1076:                                             ; preds = %1062, %1074
  br i1 %1041, label %1077, label %1101

1077:                                             ; preds = %1076
  %1078 = icmp eq i32 %79, 0
  br i1 %1078, label %1080, label %1079

1079:                                             ; preds = %1077
  call void @__assert_fail(ptr noundef nonnull @.str.67, ptr noundef nonnull @.str.2, i32 noundef 4574, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #14
  unreachable

1080:                                             ; preds = %1077
  %1081 = load i32, ptr %995, align 8, !tbaa !176
  %1082 = load ptr, ptr %992, align 8, !tbaa !175
  %1083 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1082) #16
  %1084 = trunc i64 %1083 to i32
  %1085 = icmp eq i32 %1081, %1084
  br i1 %1085, label %1087, label %1086

1086:                                             ; preds = %1080
  call void @__assert_fail(ptr noundef nonnull @.str.68, ptr noundef nonnull @.str.2, i32 noundef 4575, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #14
  unreachable

1087:                                             ; preds = %1080
  call void @_ZL44InputTextReconcileUndoStateAfterUserCallbackP19ImGuiInputTextStatePKci(ptr noundef nonnull %.08911233, ptr noundef %1082, i32 noundef %1081)
  %1088 = load i32, ptr %995, align 8, !tbaa !176
  %1089 = icmp sle i32 %1088, %.0923
  %brmerge1106 = or i1 %.not974, %1089
  br i1 %brmerge1106, label %1094, label %1090

1090:                                             ; preds = %1087
  %1091 = load i32, ptr %1000, align 8, !tbaa !122
  %1092 = sub i32 %1088, %.0923
  %1093 = add nsw i32 %1092, %1091
  call void @_ZN8ImVectorItE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %1000, i32 noundef %1093)
  br label %1094

1094:                                             ; preds = %1087, %1090
  %1095 = load ptr, ptr %1001, align 8, !tbaa !115
  %1096 = load i32, ptr %1000, align 8, !tbaa !122
  %1097 = load ptr, ptr %992, align 8, !tbaa !175
  %1098 = call noundef i32 @_Z17ImTextStrFromUtf8PtiPKcS1_PS1_(ptr noundef %1095, i32 noundef %1096, ptr noundef %1097, ptr noundef null, ptr noundef null)
  %1099 = getelementptr inbounds i8, ptr %.08911233, i64 4
  store i32 %1098, ptr %1099, align 4, !tbaa !116
  %1100 = load i32, ptr %995, align 8, !tbaa !176
  store i32 %1100, ptr %993, align 8, !tbaa !112
  call void @_ZN19ImGuiInputTextState15CursorAnimResetEv(ptr noundef nonnull align 8 dereferenceable(3716) %.08911233)
  br label %1101

1101:                                             ; preds = %1094, %1076
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %26) #15
  br label %1102

1102:                                             ; preds = %981, %1101, %.critedge1097
  br i1 %80, label %1110, label %1103

1103:                                             ; preds = %1102
  %1104 = getelementptr inbounds i8, ptr %.08911233, i64 40
  %1105 = load ptr, ptr %1104, align 8, !tbaa !114
  %1106 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1105, ptr noundef nonnull dereferenceable(1) %2) #16
  %.not1006 = icmp eq i32 %1106, 0
  br i1 %.not1006, label %1110, label %1107

1107:                                             ; preds = %1103
  %1108 = getelementptr inbounds i8, ptr %.08911233, i64 8
  %1109 = load i32, ptr %1108, align 8, !tbaa !112
  br label %1110

1110:                                             ; preds = %960, %1107, %1103, %1102
  %.1935 = phi i32 [ %.09341168, %1102 ], [ %1109, %1107 ], [ %.09341168, %1103 ], [ %.09341168, %960 ]
  %.1932 = phi ptr [ %.09311170, %1102 ], [ %1105, %1107 ], [ %.09311170, %1103 ], [ %.09311170, %960 ]
  %1111 = getelementptr inbounds i8, ptr %.08911233, i64 3712
  store i32 0, ptr %1111, align 8, !tbaa !134
  %.not1007.not = icmp eq ptr %.1932, null
  br i1 %.not1007.not, label %.thread1178, label %1112

1112:                                             ; preds = %1110
  %1113 = icmp sgt i32 %.1935, -1
  br i1 %1113, label %1115, label %1114

1114:                                             ; preds = %1112
  call void @__assert_fail(ptr noundef nonnull @.str.69, ptr noundef nonnull @.str.2, i32 noundef 4604, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #14
  unreachable

1115:                                             ; preds = %1112
  br i1 %.not974, label %1132, label %1116

1116:                                             ; preds = %1115
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %27) #15
  call void @_ZN26ImGuiInputTextCallbackDataC1Ev(ptr noundef nonnull align 8 dereferenceable(56) %27)
  store i32 262144, ptr %27, align 8, !tbaa !169
  %1117 = getelementptr inbounds i8, ptr %27, i64 4
  store i32 %5, ptr %1117, align 4, !tbaa !172
  %1118 = getelementptr inbounds i8, ptr %27, i64 24
  store ptr %2, ptr %1118, align 8, !tbaa !175
  %1119 = getelementptr inbounds i8, ptr %27, i64 32
  store i32 %.1935, ptr %1119, align 8, !tbaa !176
  %1120 = add nuw nsw i32 %.1935, 1
  %1121 = call noundef i32 @_ZL5ImMaxIiET_S0_S0_(i32 noundef %3, i32 noundef %1120)
  %1122 = getelementptr inbounds i8, ptr %27, i64 36
  store i32 %1121, ptr %1122, align 4, !tbaa !177
  %1123 = getelementptr inbounds i8, ptr %27, i64 8
  store ptr %7, ptr %1123, align 8, !tbaa !173
  %1124 = call noundef i32 %6(ptr noundef nonnull %27)
  %1125 = load ptr, ptr %1118, align 8, !tbaa !175
  %1126 = load i32, ptr %1122, align 4, !tbaa !177
  %1127 = load i32, ptr %1119, align 8, !tbaa !176
  %1128 = add nsw i32 %1126, -1
  %1129 = call noundef i32 @_ZL5ImMinIiET_S0_S0_(i32 noundef %1127, i32 noundef %1128)
  %.not1008 = icmp sgt i32 %1129, %1126
  br i1 %.not1008, label %1130, label %1131

1130:                                             ; preds = %1116
  call void @__assert_fail(ptr noundef nonnull @.str.70, ptr noundef nonnull @.str.2, i32 noundef 4618, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #14
  unreachable

1131:                                             ; preds = %1116
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %27) #15
  br label %1132

1132:                                             ; preds = %1131, %1115
  %.3937 = phi i32 [ %1129, %1131 ], [ %.1935, %1115 ]
  %.0882 = phi i32 [ %1126, %1131 ], [ %3, %1115 ]
  %.0880 = phi ptr [ %1125, %1131 ], [ %2, %1115 ]
  %1133 = add nsw i32 %.3937, 1
  %1134 = call noundef i32 @_ZL5ImMinIiET_S0_S0_(i32 noundef %1133, i32 noundef %.0882)
  %1135 = sext i32 %1134 to i64
  call void @_Z9ImStrncpyPcPKcm(ptr noundef %.0880, ptr noundef nonnull %.1932, i64 noundef %1135)
  br label %.thread1178

.thread1178:                                      ; preds = %907, %1132, %1110
  %.38951263 = phi i8 [ %.38951264, %1132 ], [ %.38951264, %1110 ], [ %.3895, %907 ]
  %.19011261 = phi float [ %.19011262, %1132 ], [ %.19011262, %1110 ], [ %.1901, %907 ]
  %.19051259 = phi i8 [ %.19051260, %1132 ], [ %.19051260, %1110 ], [ %.1905, %907 ]
  %.29081257 = phi i8 [ %.29081258, %1132 ], [ %.29081258, %1110 ], [ %.2908, %907 ]
  %.29211255 = phi i8 [ %.29211254, %1132 ], [ %.29211254, %1110 ], [ %.2921, %907 ]
  %.not10071182 = phi i1 [ true, %1132 ], [ false, %1110 ], [ false, %907 ]
  %.1881 = phi ptr [ %.0880, %1132 ], [ %2, %1110 ], [ %2, %907 ]
  %1136 = trunc nuw i8 %.38951263 to i1
  br i1 %1136, label %1137, label %1141

1137:                                             ; preds = %.thread1178
  %1138 = load i32, ptr %167, align 4, !tbaa !102
  %1139 = icmp eq i32 %1138, %90
  br i1 %1139, label %1140, label %1141

1140:                                             ; preds = %1137
  call void @_ZN5ImGui13ClearActiveIDEv()
  br label %1141

1141:                                             ; preds = %1140, %1137, %.thread1178
  br i1 %68, label %1147, label %1142

1142:                                             ; preds = %1141
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %11, i32 noundef %90, i32 noundef 1)
  %.sroa.092.0.copyload = load <2 x float>, ptr %11, align 8
  %1143 = getelementptr inbounds i8, ptr %11, i64 8
  %.sroa.091.0.copyload = load <2 x float>, ptr %1143, align 8
  %1144 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 7, float noundef 1.000000e+00)
  %1145 = getelementptr inbounds i8, ptr %77, i64 14372
  %1146 = load float, ptr %1145, align 4, !tbaa !95
  call void @_ZN5ImGui11RenderFrameE6ImVec2S0_jbf(<2 x float> %.sroa.092.0.copyload, <2 x float> %.sroa.091.0.copyload, i32 noundef %1144, i1 noundef zeroext true, float noundef %1146)
  br label %1147

1147:                                             ; preds = %1142, %1141
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %28) #15
  %1148 = load float, ptr %11, align 8, !tbaa !138
  %1149 = getelementptr inbounds i8, ptr %11, i64 4
  %1150 = load float, ptr %1149, align 4, !tbaa !182
  %1151 = fadd float %.sroa.0512.2, %1148
  %1152 = fadd float %.sroa.11.0.copyload, %1150
  call void @_ZN6ImVec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %28, float noundef %1148, float noundef %1150, float noundef %1151, float noundef %1152)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #15
  br i1 %68, label %1153, label %1156

1153:                                             ; preds = %1147
  %1154 = getelementptr inbounds i8, ptr %.2888, i64 224
  %1155 = load i64, ptr %1154, align 8
  br label %1159

1156:                                             ; preds = %1147
  %1157 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(8) %100)
  %1158 = bitcast <2 x float> %1157 to i64
  br label %1159

1159:                                             ; preds = %1156, %1153
  %storemerge = phi i64 [ %1155, %1153 ], [ %1158, %1156 ]
  store i64 %storemerge, ptr %29, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #15
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %30, float noundef 0.000000e+00, float noundef 0.000000e+00)
  br i1 %357, label %1160, label %1163

1160:                                             ; preds = %1159
  %1161 = getelementptr inbounds i8, ptr %.08911233, i64 40
  %1162 = load ptr, ptr %1161, align 8, !tbaa !114
  br label %1163

1163:                                             ; preds = %1159, %1160
  %1164 = phi ptr [ %1162, %1160 ], [ %.1881, %1159 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #15
  store ptr null, ptr %31, align 8, !tbaa !40
  br i1 %367, label %1165, label %1168

1165:                                             ; preds = %1163
  %1166 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #16
  %1167 = getelementptr inbounds i8, ptr %1, i64 %1166
  store ptr %1167, ptr %31, align 8, !tbaa !40
  br label %1168

1168:                                             ; preds = %1165, %1163
  %1169 = phi ptr [ %1167, %1165 ], [ null, %1163 ]
  %.0922 = phi ptr [ %1, %1165 ], [ %1164, %1163 ]
  %1170 = trunc nuw i8 %.19051259 to i1
  br i1 %1170, label %1173, label %1171

1171:                                             ; preds = %1168
  %1172 = trunc nuw i8 %.29081257 to i1
  br i1 %1172, label %1173, label %1435

1173:                                             ; preds = %1171, %1168
  br i1 %323, label %1175, label %1174

1174:                                             ; preds = %1173
  call void @__assert_fail(ptr noundef nonnull @.str.63, ptr noundef nonnull @.str.2, i32 noundef 4658, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv) #14
  unreachable

1175:                                             ; preds = %1173
  br i1 %367, label %1181, label %1176

1176:                                             ; preds = %1175
  %1177 = getelementptr inbounds i8, ptr %.08911233, i64 8
  %1178 = load i32, ptr %1177, align 8, !tbaa !112
  %1179 = sext i32 %1178 to i64
  %1180 = getelementptr inbounds i8, ptr %.0922, i64 %1179
  store ptr %1180, ptr %31, align 8, !tbaa !40
  br label %1181

1181:                                             ; preds = %1176, %1175
  %.pre12141216 = phi ptr [ %1180, %1176 ], [ %1169, %1175 ]
  %1182 = getelementptr inbounds i8, ptr %.08911233, i64 24
  %1183 = load ptr, ptr %1182, align 8, !tbaa !115
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #15
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %32)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #15
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %33)
  %.sroa.063.0.copyload = load i32, ptr @__const._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv.searches_result_line_no, align 4
  %.sroa.9.0.copyload = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN5ImGui11InputTextExEPKcS1_PciRK6ImVec2iPFiP26ImGuiInputTextCallbackDataEPv.searches_result_line_no, i64 4), align 4
  br i1 %1170, label %1184, label %1189

1184:                                             ; preds = %1181
  %1185 = getelementptr inbounds i8, ptr %.08911233, i64 76
  %1186 = load i32, ptr %1185, align 4, !tbaa !146
  %1187 = sext i32 %1186 to i64
  %1188 = getelementptr inbounds i16, ptr %1183, i64 %1187
  br label %1189

1189:                                             ; preds = %1184, %1181
  %.sroa.069.0 = phi ptr [ %1188, %1184 ], [ null, %1181 ]
  %.sroa.063.0 = phi i32 [ -1, %1184 ], [ %.sroa.063.0.copyload, %1181 ]
  %.0914 = phi i32 [ 1, %1184 ], [ 0, %1181 ]
  %1190 = trunc nuw i8 %.29081257 to i1
  br i1 %1190, label %1191, label %1200

1191:                                             ; preds = %1189
  %1192 = getelementptr inbounds i8, ptr %.08911233, i64 80
  %1193 = load i32, ptr %1192, align 4, !tbaa !147
  %1194 = getelementptr inbounds i8, ptr %.08911233, i64 84
  %1195 = load i32, ptr %1194, align 4, !tbaa !148
  %1196 = call noundef i32 @_ZL5ImMinIiET_S0_S0_(i32 noundef %1193, i32 noundef %1195)
  %1197 = sext i32 %1196 to i64
  %1198 = getelementptr inbounds i16, ptr %1183, i64 %1197
  %1199 = add nuw nsw i32 %.0914, 1
  br label %1200

1200:                                             ; preds = %1191, %1189
  %.sroa.7.0 = phi ptr [ %1198, %1191 ], [ null, %1189 ]
  %.sroa.9.0 = phi i32 [ -1, %1191 ], [ %.sroa.9.0.copyload, %1189 ]
  %.1915 = phi i32 [ %1199, %1191 ], [ %.0914, %1189 ]
  %.lobit = lshr exact i32 %67, 26
  %1201 = add nuw nsw i32 %.1915, %.lobit
  br label %1202

1202:                                             ; preds = %1217, %1200
  %.sroa.9.1 = phi i32 [ %.sroa.9.0, %1200 ], [ %.sroa.9.2, %1217 ]
  %.sroa.063.1 = phi i32 [ %.sroa.063.0, %1200 ], [ %.sroa.063.3, %1217 ]
  %.2916 = phi i32 [ %1201, %1200 ], [ %.4918, %1217 ]
  %.0911 = phi i32 [ 0, %1200 ], [ %.1912, %1217 ]
  %.0910 = phi ptr [ %1183, %1200 ], [ %1218, %1217 ]
  %1203 = load i16, ptr %.0910, align 2, !tbaa !144
  switch i16 %1203, label %1217 [
    i16 0, label %1219
    i16 10, label %1204
  ]

1204:                                             ; preds = %1202
  %1205 = add nsw i32 %.0911, 1
  %1206 = icmp eq i32 %.sroa.063.1, -1
  br i1 %1206, label %1207, label %1211

1207:                                             ; preds = %1204
  %.not1010 = icmp ult ptr %.0910, %.sroa.069.0
  br i1 %.not1010, label %1211, label %1208

1208:                                             ; preds = %1207
  %1209 = add nsw i32 %.2916, -1
  %1210 = icmp slt i32 %.2916, 2
  br i1 %1210, label %1219, label %1211

1211:                                             ; preds = %1208, %1207, %1204
  %.sroa.063.2 = phi i32 [ %1205, %1208 ], [ -1, %1207 ], [ %.sroa.063.1, %1204 ]
  %.3917 = phi i32 [ %1209, %1208 ], [ %.2916, %1207 ], [ %.2916, %1204 ]
  %1212 = icmp eq i32 %.sroa.9.1, -1
  br i1 %1212, label %1213, label %1217

1213:                                             ; preds = %1211
  %.not1011 = icmp ult ptr %.0910, %.sroa.7.0
  br i1 %.not1011, label %1217, label %1214

1214:                                             ; preds = %1213
  %1215 = add nsw i32 %.3917, -1
  %1216 = icmp slt i32 %.3917, 2
  br i1 %1216, label %1219, label %1217

1217:                                             ; preds = %1202, %1214, %1213, %1211
  %.sroa.9.2 = phi i32 [ %1205, %1214 ], [ -1, %1213 ], [ %.sroa.9.1, %1211 ], [ %.sroa.9.1, %1202 ]
  %.sroa.063.3 = phi i32 [ %.sroa.063.2, %1214 ], [ %.sroa.063.2, %1213 ], [ %.sroa.063.2, %1211 ], [ %.sroa.063.1, %1202 ]
  %.4918 = phi i32 [ %1215, %1214 ], [ %.3917, %1213 ], [ %.3917, %1211 ], [ %.2916, %1202 ]
  %.1912 = phi i32 [ %1205, %1214 ], [ %1205, %1213 ], [ %1205, %1211 ], [ %.0911, %1202 ]
  %1218 = getelementptr inbounds i8, ptr %.0910, i64 2
  br label %1202, !llvm.loop !183

1219:                                             ; preds = %1214, %1208, %1202
  %.sroa.9.3 = phi i32 [ %.sroa.9.1, %1202 ], [ %.sroa.9.1, %1208 ], [ %1205, %1214 ]
  %.sroa.063.4 = phi i32 [ %.sroa.063.1, %1202 ], [ %1205, %1208 ], [ %.sroa.063.2, %1214 ]
  %.2913 = phi i32 [ %.0911, %1202 ], [ %1205, %1208 ], [ %1205, %1214 ]
  %1220 = add nsw i32 %.2913, 1
  %1221 = icmp eq i32 %.sroa.063.4, -1
  %spec.select1107 = select i1 %1221, i32 %1220, i32 %.sroa.063.4
  %1222 = icmp eq i32 %.sroa.9.3, -1
  %.sroa.9.4 = select i1 %1222, i32 %1220, i32 %.sroa.9.3
  %1223 = call noundef ptr @_Z9ImStrbolWPKtS0_(ptr noundef %.sroa.069.0, ptr noundef %1183)
  %1224 = call <2 x float> @_ZL22InputTextCalcTextSizeWPKtS0_PS0_P6ImVec2b(ptr noundef %1223, ptr noundef %.sroa.069.0, ptr noundef null, ptr noundef null, i1 noundef zeroext false)
  %.sroa.045.0.vec.extract = extractelement <2 x float> %1224, i64 0
  store float %.sroa.045.0.vec.extract, ptr %32, align 4, !tbaa !184
  %1225 = sitofp i32 %spec.select1107 to float
  %1226 = getelementptr inbounds i8, ptr %77, i64 15360
  %1227 = load float, ptr %1226, align 8, !tbaa !41
  %1228 = fmul float %1227, %1225
  %1229 = getelementptr inbounds i8, ptr %32, i64 4
  store float %1228, ptr %1229, align 4, !tbaa !185
  %1230 = icmp sgt i32 %.sroa.9.4, -1
  br i1 %1230, label %1231, label %1238

1231:                                             ; preds = %1219
  %1232 = call noundef ptr @_Z9ImStrbolWPKtS0_(ptr noundef %.sroa.7.0, ptr noundef %1183)
  %1233 = call <2 x float> @_ZL22InputTextCalcTextSizeWPKtS0_PS0_P6ImVec2b(ptr noundef %1232, ptr noundef %.sroa.7.0, ptr noundef null, ptr noundef null, i1 noundef zeroext false)
  %.sroa.044.0.vec.extract = extractelement <2 x float> %1233, i64 0
  store float %.sroa.044.0.vec.extract, ptr %33, align 4, !tbaa !184
  %1234 = uitofp nneg i32 %.sroa.9.4 to float
  %1235 = load float, ptr %1226, align 8, !tbaa !41
  %1236 = fmul float %1235, %1234
  %1237 = getelementptr inbounds i8, ptr %33, i64 4
  store float %1236, ptr %1237, align 4, !tbaa !185
  br label %1238

1238:                                             ; preds = %1231, %1219
  %1239 = phi float [ %1235, %1231 ], [ %1227, %1219 ]
  br i1 %68, label %1240, label %1244

1240:                                             ; preds = %1238
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #15
  %1241 = sitofp i32 %1220 to float
  %1242 = fmul float %1239, %1241
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %34, float noundef %.sroa.0512.2, float noundef %1242)
  %1243 = load i64, ptr %34, align 8
  store i64 %1243, ptr %30, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #15
  br label %1244

1244:                                             ; preds = %1240, %1238
  br i1 %1170, label %1245, label %1305

1245:                                             ; preds = %1244
  %1246 = getelementptr inbounds i8, ptr %.08911233, i64 3708
  %1247 = load i8, ptr %1246, align 4, !tbaa !149, !range !38, !noundef !39
  %1248 = trunc nuw i8 %1247 to i1
  br i1 %1248, label %1249, label %1305

1249:                                             ; preds = %1245
  %1250 = and i32 %5, 4096
  %.not1012 = icmp eq i32 %1250, 0
  br i1 %.not1012, label %1251, label %1271

1251:                                             ; preds = %1249
  %1252 = fmul float %.sroa.0512.2, 2.500000e-01
  %1253 = load float, ptr %32, align 4, !tbaa !184
  %1254 = getelementptr inbounds i8, ptr %.08911233, i64 72
  %1255 = load float, ptr %1254, align 8, !tbaa !117
  %1256 = fcmp olt float %1253, %1255
  br i1 %1256, label %1257, label %1262

1257:                                             ; preds = %1251
  %1258 = fsub float %1253, %1252
  %1259 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %1258)
  %1260 = fptosi float %1259 to i32
  %1261 = sitofp i32 %1260 to float
  store float %1261, ptr %1254, align 8, !tbaa !117
  br label %1273

1262:                                             ; preds = %1251
  %1263 = load float, ptr %100, align 4, !tbaa !139
  %1264 = fsub float %.sroa.0512.2, %1263
  %1265 = fsub float %1253, %1264
  %1266 = fcmp ult float %1265, %1255
  br i1 %1266, label %1273, label %1267

1267:                                             ; preds = %1262
  %1268 = fadd float %1252, %1265
  %1269 = fptosi float %1268 to i32
  %1270 = sitofp i32 %1269 to float
  store float %1270, ptr %1254, align 8, !tbaa !117
  br label %1273

1271:                                             ; preds = %1249
  %1272 = getelementptr inbounds i8, ptr %.08911233, i64 72
  store float 0.000000e+00, ptr %1272, align 8, !tbaa !117
  br label %1273

1273:                                             ; preds = %1257, %1267, %1262, %1271
  br i1 %68, label %1274, label %1304

1274:                                             ; preds = %1273
  %1275 = load float, ptr %1229, align 4, !tbaa !185
  %1276 = load float, ptr %1226, align 8, !tbaa !41
  %1277 = fsub float %1275, %1276
  %1278 = fcmp olt float %1277, %.19011261
  br i1 %1278, label %1279, label %1281

1279:                                             ; preds = %1274
  %1280 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %1277)
  %.pre1209 = load float, ptr %101, align 4, !tbaa !89
  br label %1290

1281:                                             ; preds = %1274
  %1282 = load float, ptr %101, align 4, !tbaa !89
  %1283 = fneg float %1282
  %1284 = call float @llvm.fmuladd.f32(float %1283, float 2.000000e+00, float %.sroa.11.0.copyload)
  %1285 = fsub float %1275, %1284
  %1286 = fcmp ult float %1285, %.19011261
  br i1 %1286, label %1290, label %1287

1287:                                             ; preds = %1281
  %1288 = fsub float %1275, %.sroa.11.0.copyload
  %1289 = call float @llvm.fmuladd.f32(float %1282, float 2.000000e+00, float %1288)
  br label %1290

1290:                                             ; preds = %1281, %1287, %1279
  %1291 = phi float [ %.pre1209, %1279 ], [ %1282, %1287 ], [ %1282, %1281 ]
  %.2902 = phi float [ %1280, %1279 ], [ %1289, %1287 ], [ %.19011261, %1281 ]
  %1292 = getelementptr inbounds i8, ptr %30, i64 4
  %1293 = load float, ptr %1292, align 4, !tbaa !185
  %1294 = call float @llvm.fmuladd.f32(float %1291, float 2.000000e+00, float %1293)
  %1295 = fsub float %1294, %.sroa.11.0.copyload
  %1296 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %1295, float noundef 0.000000e+00)
  %1297 = call noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef %.2902, float noundef 0.000000e+00, float noundef %1296)
  %1298 = getelementptr inbounds i8, ptr %.2888, i64 104
  %1299 = load float, ptr %1298, align 4, !tbaa !108
  %1300 = fsub float %1299, %1297
  %1301 = getelementptr inbounds i8, ptr %29, i64 4
  %1302 = load float, ptr %1301, align 4, !tbaa !185
  %1303 = fadd float %1302, %1300
  store float %1303, ptr %1301, align 4, !tbaa !185
  store float %1297, ptr %1298, align 4, !tbaa !108
  br label %1304

1304:                                             ; preds = %1290, %1273
  store i8 0, ptr %1246, align 4, !tbaa !149
  br label %1305

1305:                                             ; preds = %1304, %1245, %1244
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #15
  %1306 = getelementptr inbounds i8, ptr %.08911233, i64 72
  %1307 = load float, ptr %1306, align 8, !tbaa !117
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %35, float noundef %1307, float noundef 0.000000e+00)
  br i1 %1190, label %1308, label %1377

1308:                                             ; preds = %1305
  %1309 = getelementptr inbounds i8, ptr %.08911233, i64 80
  %1310 = load i32, ptr %1309, align 4, !tbaa !147
  %1311 = getelementptr inbounds i8, ptr %.08911233, i64 84
  %1312 = load i32, ptr %1311, align 4, !tbaa !148
  %1313 = call noundef i32 @_ZL5ImMinIiET_S0_S0_(i32 noundef %1310, i32 noundef %1312)
  %1314 = sext i32 %1313 to i64
  %1315 = getelementptr inbounds i16, ptr %1183, i64 %1314
  %1316 = load i32, ptr %1309, align 4, !tbaa !147
  %1317 = load i32, ptr %1311, align 4, !tbaa !148
  %1318 = call noundef i32 @_ZL5ImMaxIiET_S0_S0_(i32 noundef %1316, i32 noundef %1317)
  %1319 = sext i32 %1318 to i64
  %1320 = getelementptr inbounds i16, ptr %1183, i64 %1319
  %1321 = select i1 %1170, float 1.000000e+00, float 0x3FE3333340000000
  %1322 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 47, float noundef %1321)
  %1323 = select i1 %68, float 0.000000e+00, float -1.000000e+00
  %1324 = select i1 %68, float 0.000000e+00, float 2.000000e+00
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %36) #15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %37) #15
  %1325 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %29, ptr noundef nonnull align 4 dereferenceable(8) %33)
  store <2 x float> %1325, ptr %37, align 8
  %1326 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %37, ptr noundef nonnull align 4 dereferenceable(8) %35)
  store <2 x float> %1326, ptr %36, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %38) #15
  store ptr %1315, ptr %38, align 8, !tbaa !40
  %1327 = getelementptr inbounds i8, ptr %36, i64 4
  %1328 = icmp slt i32 %1313, %1318
  br i1 %1328, label %.lr.ph1202, label %._crit_edge

.lr.ph1202:                                       ; preds = %1308
  %1329 = extractelement <2 x float> %1326, i64 1
  %1330 = getelementptr inbounds i8, ptr %28, i64 12
  %1331 = getelementptr inbounds i8, ptr %28, i64 4
  %1332 = getelementptr inbounds i8, ptr %77, i64 15352
  %1333 = getelementptr inbounds i8, ptr %.2888, i64 640
  %1334 = getelementptr inbounds i8, ptr %39, i64 8
  %.pre1210 = load float, ptr %1226, align 8, !tbaa !41
  br label %1335

1335:                                             ; preds = %.lr.ph1202, %.loopexit
  %1336 = phi ptr [ %1315, %.lr.ph1202 ], [ %1369, %.loopexit ]
  %1337 = phi float [ %1329, %.lr.ph1202 ], [ %1375, %.loopexit ]
  %1338 = phi float [ %.pre1210, %.lr.ph1202 ], [ %1371, %.loopexit ]
  %1339 = load float, ptr %1330, align 4, !tbaa !186
  %1340 = fadd float %1339, %1338
  %1341 = fcmp ogt float %1337, %1340
  br i1 %1341, label %._crit_edge.loopexit, label %1342

1342:                                             ; preds = %1335
  %1343 = load float, ptr %1331, align 4, !tbaa !187
  %1344 = fcmp olt float %1337, %1343
  br i1 %1344, label %.preheader, label %1351

.preheader:                                       ; preds = %1342, %1347
  %1345 = phi ptr [ %1348, %1347 ], [ %1336, %1342 ]
  %1346 = icmp ult ptr %1345, %1320
  br i1 %1346, label %1347, label %.loopexit

1347:                                             ; preds = %.preheader
  %1348 = getelementptr inbounds i8, ptr %1345, i64 2
  store ptr %1348, ptr %38, align 8, !tbaa !40
  %1349 = load i16, ptr %1345, align 2, !tbaa !144
  %1350 = icmp eq i16 %1349, 10
  br i1 %1350, label %.loopexit, label %.preheader, !llvm.loop !188

1351:                                             ; preds = %1342
  %1352 = call <2 x float> @_ZL22InputTextCalcTextSizeWPKtS0_PS0_P6ImVec2b(ptr noundef %1336, ptr noundef nonnull %1320, ptr noundef nonnull %38, ptr noundef null, i1 noundef zeroext true)
  %.sroa.029.0.vec.extract = extractelement <2 x float> %1352, i64 0
  %1353 = fcmp ugt float %.sroa.029.0.vec.extract, 0.000000e+00
  br i1 %1353, label %1360, label %1354

1354:                                             ; preds = %1351
  %1355 = load ptr, ptr %1332, align 8, !tbaa !124
  %1356 = call noundef float @_ZNK6ImFont14GetCharAdvanceEt(ptr noundef nonnull align 8 dereferenceable(110) %1355, i16 noundef zeroext 32)
  %1357 = fmul float %1356, 5.000000e-01
  %1358 = fptosi float %1357 to i32
  %1359 = sitofp i32 %1358 to float
  br label %1360

1360:                                             ; preds = %1354, %1351
  %.sroa.029.0.vec.extract32.pre-phi = phi float [ %1359, %1354 ], [ %.sroa.029.0.vec.extract, %1351 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %39) #15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %40) #15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %41) #15
  %1361 = load float, ptr %1226, align 8, !tbaa !41
  %1362 = fsub float %1323, %1361
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %41, float noundef 0.000000e+00, float noundef %1362)
  %1363 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %36, ptr noundef nonnull align 4 dereferenceable(8) %41)
  store <2 x float> %1363, ptr %40, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %42) #15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %43) #15
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %43, float noundef %.sroa.029.0.vec.extract32.pre-phi, float noundef %1324)
  %1364 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %36, ptr noundef nonnull align 4 dereferenceable(8) %43)
  store <2 x float> %1364, ptr %42, align 8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %39, ptr noundef nonnull align 4 dereferenceable(8) %40, ptr noundef nonnull align 4 dereferenceable(8) %42)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %43) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %42) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %41) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %40) #15
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %44) #15
  call void @_ZN6ImRectC2ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %44, ptr noundef nonnull align 4 dereferenceable(16) %28)
  call void @_ZN6ImRect8ClipWithERKS_(ptr noundef nonnull align 4 dereferenceable(16) %39, ptr noundef nonnull align 4 dereferenceable(16) %44)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %44) #15
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %45) #15
  call void @_ZN6ImRectC2ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %45, ptr noundef nonnull align 4 dereferenceable(16) %28)
  %1365 = call noundef zeroext i1 @_ZNK6ImRect8OverlapsERKS_(ptr noundef nonnull align 4 dereferenceable(16) %39, ptr noundef nonnull align 4 dereferenceable(16) %45)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %45) #15
  br i1 %1365, label %1366, label %1368

1366:                                             ; preds = %1360
  %1367 = load ptr, ptr %1333, align 8, !tbaa !189
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %1367, ptr noundef nonnull align 4 dereferenceable(8) %39, ptr noundef nonnull align 4 dereferenceable(8) %1334, i32 noundef %1322, float noundef 0.000000e+00, i32 noundef 0)
  br label %1368

1368:                                             ; preds = %1366, %1360
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %39) #15
  %.pre1211 = load float, ptr %1226, align 8, !tbaa !41
  %.pre1212 = load float, ptr %1327, align 4, !tbaa !185
  %.pre1213 = load ptr, ptr %38, align 8, !tbaa !40
  br label %.loopexit

.loopexit:                                        ; preds = %.preheader, %1347, %1368
  %1369 = phi ptr [ %.pre1213, %1368 ], [ %1345, %.preheader ], [ %1348, %1347 ]
  %1370 = phi float [ %.pre1212, %1368 ], [ %1337, %1347 ], [ %1337, %.preheader ]
  %1371 = phi float [ %.pre1211, %1368 ], [ %1338, %1347 ], [ %1338, %.preheader ]
  %1372 = load float, ptr %29, align 8, !tbaa !184
  %1373 = load float, ptr %35, align 4, !tbaa !184
  %1374 = fsub float %1372, %1373
  store float %1374, ptr %36, align 8, !tbaa !184
  %1375 = fadd float %1371, %1370
  store float %1375, ptr %1327, align 4, !tbaa !185
  %1376 = icmp ult ptr %1369, %1320
  br i1 %1376, label %1335, label %._crit_edge.loopexit, !llvm.loop !190

._crit_edge.loopexit:                             ; preds = %1335, %.loopexit
  %.pre1214.pre.pre = load ptr, ptr %31, align 8, !tbaa !40
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %1308
  %.pre1214.pre = phi ptr [ %.pre1214.pre.pre, %._crit_edge.loopexit ], [ %.pre12141216, %1308 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %36) #15
  br label %1377

1377:                                             ; preds = %._crit_edge, %1305
  %.pre1214 = phi ptr [ %.pre1214.pre, %._crit_edge ], [ %.pre12141216, %1305 ]
  br i1 %68, label %1383, label %1378

1378:                                             ; preds = %1377
  %1379 = ptrtoint ptr %.pre1214 to i64
  %1380 = ptrtoint ptr %.0922 to i64
  %1381 = sub i64 %1379, %1380
  %1382 = icmp slt i64 %1381, 2097152
  br i1 %1382, label %1383, label %1392

1383:                                             ; preds = %1378, %1377
  %. = phi ptr [ %28, %1378 ], [ null, %1377 ]
  %1384 = zext i1 %367 to i32
  %1385 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %1384, float noundef 1.000000e+00)
  %1386 = getelementptr inbounds i8, ptr %.2888, i64 640
  %1387 = load ptr, ptr %1386, align 8, !tbaa !189
  %1388 = getelementptr inbounds i8, ptr %77, i64 15352
  %1389 = load ptr, ptr %1388, align 8, !tbaa !124
  %1390 = load float, ptr %1226, align 8, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %46) #15
  %1391 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %29, ptr noundef nonnull align 4 dereferenceable(8) %35)
  store <2 x float> %1391, ptr %46, align 8
  call void @_ZN10ImDrawList7AddTextEPK6ImFontfRK6ImVec2jPKcS7_fPK6ImVec4(ptr noundef nonnull align 8 dereferenceable(196) %1387, ptr noundef %1389, float noundef %1390, ptr noundef nonnull align 4 dereferenceable(8) %46, i32 noundef %1385, ptr noundef %.0922, ptr noundef %.pre1214, float noundef 0.000000e+00, ptr noundef %.)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %46) #15
  br label %1392

1392:                                             ; preds = %1383, %1378
  br i1 %1170, label %1393, label %1434

1393:                                             ; preds = %1392
  %1394 = getelementptr inbounds i8, ptr %77, i64 24
  %1395 = load float, ptr %1394, align 8, !tbaa !191
  %1396 = getelementptr inbounds i8, ptr %.08911233, i64 3704
  %1397 = load float, ptr %1396, align 8, !tbaa !192
  %1398 = fadd float %1395, %1397
  store float %1398, ptr %1396, align 8, !tbaa !192
  %1399 = getelementptr inbounds i8, ptr %77, i64 123
  %1400 = load i8, ptr %1399, align 1, !tbaa !193, !range !38, !noundef !39
  %1401 = trunc nuw i8 %1400 to i1
  %1402 = fcmp ugt float %1398, 0.000000e+00
  %or.cond1108 = select i1 %1401, i1 %1402, i1 false
  br i1 %or.cond1108, label %1403, label %1406

1403:                                             ; preds = %1393
  %1404 = call float @fmodf(float noundef %1398, float noundef 0x3FF3333340000000) #15
  %1405 = fcmp ole float %1404, 0x3FE99999A0000000
  br label %1406

1406:                                             ; preds = %1403, %1393
  %1407 = phi i1 [ true, %1393 ], [ %1405, %1403 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %47) #15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %48) #15
  %1408 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %29, ptr noundef nonnull align 4 dereferenceable(8) %32)
  store <2 x float> %1408, ptr %48, align 8
  %1409 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %48, ptr noundef nonnull align 4 dereferenceable(8) %35)
  store <2 x float> %1409, ptr %47, align 8
  %1410 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %47)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %47) #15
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %49) #15
  %.sroa.0.0.vec.extract = extractelement <2 x float> %1410, i64 0
  %.sroa.0.4.vec.extract = extractelement <2 x float> %1410, i64 1
  %1411 = load float, ptr %1226, align 8, !tbaa !41
  %1412 = fsub float %.sroa.0.4.vec.extract, %1411
  %1413 = fadd float %1412, 5.000000e-01
  %1414 = fadd float %.sroa.0.0.vec.extract, 1.000000e+00
  %1415 = fadd float %.sroa.0.4.vec.extract, -1.500000e+00
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %49, float noundef %.sroa.0.0.vec.extract, float noundef %1413, float noundef %1414, float noundef %1415)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %50) #15
  br i1 %1407, label %1416, label %.critedge13

1416:                                             ; preds = %1406
  call void @_ZN6ImRectC2ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %50, ptr noundef nonnull align 4 dereferenceable(16) %28)
  %1417 = call noundef zeroext i1 @_ZNK6ImRect8OverlapsERKS_(ptr noundef nonnull align 4 dereferenceable(16) %49, ptr noundef nonnull align 4 dereferenceable(16) %50)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %50) #15
  br i1 %1417, label %1418, label %1423

1418:                                             ; preds = %1416
  %1419 = getelementptr inbounds i8, ptr %.2888, i64 640
  %1420 = load ptr, ptr %1419, align 8, !tbaa !189
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %51) #15
  %1421 = call <2 x float> @_ZNK6ImRect5GetBLEv(ptr noundef nonnull align 4 dereferenceable(16) %49)
  store <2 x float> %1421, ptr %51, align 8
  %1422 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 0, float noundef 1.000000e+00)
  call void @_ZN10ImDrawList7AddLineERK6ImVec2S2_jf(ptr noundef nonnull align 8 dereferenceable(196) %1420, ptr noundef nonnull align 4 dereferenceable(8) %49, ptr noundef nonnull align 4 dereferenceable(8) %51, i32 noundef %1422, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %51) #15
  br label %1423

.critedge13:                                      ; preds = %1406
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %50) #15
  br label %1423

1423:                                             ; preds = %.critedge13, %1418, %1416
  br i1 %80, label %1433, label %1424

1424:                                             ; preds = %1423
  %1425 = getelementptr inbounds i8, ptr %77, i64 21336
  store i8 1, ptr %1425, align 8, !tbaa !194
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %52) #15
  %1426 = fadd float %.sroa.0.0.vec.extract, -1.000000e+00
  %1427 = load float, ptr %1226, align 8, !tbaa !41
  %1428 = fsub float %.sroa.0.4.vec.extract, %1427
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %52, float noundef %1426, float noundef %1428)
  %1429 = getelementptr inbounds i8, ptr %77, i64 21340
  %1430 = load i64, ptr %52, align 8
  store i64 %1430, ptr %1429, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %52) #15
  %1431 = load float, ptr %1226, align 8, !tbaa !41
  %1432 = getelementptr inbounds i8, ptr %77, i64 21348
  store float %1431, ptr %1432, align 4, !tbaa !195
  br label %1433

1433:                                             ; preds = %1424, %1423
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %49) #15
  br label %1434

1434:                                             ; preds = %1433, %1392
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #15
  br label %1470

1435:                                             ; preds = %1171
  br i1 %68, label %.critedge1110, label %1436

1436:                                             ; preds = %1435
  br i1 %367, label %1454, label %1437

1437:                                             ; preds = %1436
  %1438 = load i32, ptr %167, align 4, !tbaa !102
  %1439 = icmp eq i32 %1438, %90
  br i1 %1439, label %1440, label %1445

1440:                                             ; preds = %1437
  %1441 = getelementptr inbounds i8, ptr %.08911233, i64 8
  %1442 = load i32, ptr %1441, align 8, !tbaa !112
  %1443 = sext i32 %1442 to i64
  %1444 = getelementptr inbounds i8, ptr %.0922, i64 %1443
  store ptr %1444, ptr %31, align 8, !tbaa !40
  br label %1454

1445:                                             ; preds = %1437
  %1446 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %.0922) #16
  %1447 = getelementptr inbounds i8, ptr %.0922, i64 %1446
  store ptr %1447, ptr %31, align 8, !tbaa !40
  br label %1454

.critedge1110:                                    ; preds = %1435
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %53) #15
  %1448 = call noundef i32 @_ZL32InputTextCalcTextLenAndLineCountPKcPS0_(ptr noundef %.0922, ptr noundef nonnull %31)
  %1449 = sitofp i32 %1448 to float
  %1450 = getelementptr inbounds i8, ptr %77, i64 15360
  %1451 = load float, ptr %1450, align 8, !tbaa !41
  %1452 = fmul float %1451, %1449
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %53, float noundef %.sroa.0512.2, float noundef %1452)
  %1453 = load i64, ptr %53, align 8
  store i64 %1453, ptr %30, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %53) #15
  br label %1460

1454:                                             ; preds = %1436, %1440, %1445
  %1455 = phi ptr [ %1169, %1436 ], [ %1444, %1440 ], [ %1447, %1445 ]
  %1456 = ptrtoint ptr %1455 to i64
  %1457 = ptrtoint ptr %.0922 to i64
  %1458 = sub i64 %1456, %1457
  %1459 = icmp slt i64 %1458, 2097152
  br i1 %1459, label %1460, label %1470

1460:                                             ; preds = %.critedge1110, %1454
  %.14 = phi ptr [ %28, %1454 ], [ null, %.critedge1110 ]
  %1461 = zext i1 %367 to i32
  %1462 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %1461, float noundef 1.000000e+00)
  %1463 = getelementptr inbounds i8, ptr %.2888, i64 640
  %1464 = load ptr, ptr %1463, align 8, !tbaa !189
  %1465 = getelementptr inbounds i8, ptr %77, i64 15352
  %1466 = load ptr, ptr %1465, align 8, !tbaa !124
  %1467 = getelementptr inbounds i8, ptr %77, i64 15360
  %1468 = load float, ptr %1467, align 8, !tbaa !41
  %1469 = load ptr, ptr %31, align 8, !tbaa !40
  call void @_ZN10ImDrawList7AddTextEPK6ImFontfRK6ImVec2jPKcS7_fPK6ImVec4(ptr noundef nonnull align 8 dereferenceable(196) %1464, ptr noundef %1466, float noundef %1468, ptr noundef nonnull align 4 dereferenceable(8) %29, i32 noundef %1462, ptr noundef %.0922, ptr noundef %1469, float noundef 0.000000e+00, ptr noundef %.14)
  br label %1470

1470:                                             ; preds = %1454, %1460, %1434
  br i1 %brmerge1025, label %1472, label %1471

1471:                                             ; preds = %1470
  call void @_ZN5ImGui7PopFontEv()
  br label %1472

1472:                                             ; preds = %1470, %1471
  br i1 %68, label %1473, label %1495

1473:                                             ; preds = %1472
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %54) #15
  %1474 = load float, ptr %30, align 8, !tbaa !184
  %1475 = getelementptr inbounds i8, ptr %30, i64 4
  %1476 = load float, ptr %1475, align 4, !tbaa !185
  %1477 = load float, ptr %101, align 4, !tbaa !89
  %1478 = fadd float %1476, %1477
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %54, float noundef %1474, float noundef %1478)
  call void @_ZN5ImGui5DummyERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %54)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %54) #15
  %1479 = getelementptr inbounds i8, ptr %77, i64 16188
  %1480 = load i32, ptr %1479, align 4, !tbaa !196
  %1481 = or i32 %1480, 257
  store i32 %1481, ptr %1479, align 4, !tbaa !196
  call void @_ZN5ImGui8EndChildEv()
  %1482 = getelementptr inbounds i8, ptr %77, i64 16212
  %1483 = getelementptr inbounds i8, ptr %77, i64 16220
  %1484 = load i32, ptr %1483, align 4, !tbaa !92
  %1485 = and i32 %1484, 128
  %1486 = getelementptr inbounds i8, ptr %15, i64 8
  %1487 = load i32, ptr %1486, align 4, !tbaa !197
  %1488 = or i32 %1487, %1485
  store i32 %1488, ptr %1486, align 4, !tbaa !197
  store i32 %1480, ptr %1479, align 4, !tbaa !196
  call void @_ZN5ImGui8EndGroupEv()
  %1489 = load i32, ptr %1482, align 4, !tbaa !198
  %1490 = icmp eq i32 %1489, 0
  br i1 %1490, label %1491, label %1495

1491:                                             ; preds = %1473
  store i32 %90, ptr %1482, align 4, !tbaa !198
  %1492 = getelementptr inbounds i8, ptr %15, i64 4
  %1493 = getelementptr inbounds i8, ptr %77, i64 16216
  %1494 = load <2 x i32>, ptr %1492, align 4, !tbaa !94
  store <2 x i32> %1494, ptr %1493, align 4, !tbaa !94
  br label %1495

1495:                                             ; preds = %1473, %1491, %1472
  %1496 = getelementptr inbounds i8, ptr %77, i64 21460
  %1497 = load i8, ptr %1496, align 4, !tbaa !199, !range !38, !noundef !39
  %1498 = trunc nuw i8 %1497 to i1
  %or.cond1116 = and i1 %brmerge1025, %1498
  br i1 %or.cond1116, label %1499, label %1501

1499:                                             ; preds = %1495
  call void @_ZN5ImGui24LogSetNextTextDecorationEPKcS1_(ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.26)
  %1500 = load ptr, ptr %31, align 8, !tbaa !40
  call void @_ZN5ImGui15LogRenderedTextEPK6ImVec2PKcS4_(ptr noundef nonnull %29, ptr noundef %.0922, ptr noundef %1500)
  br label %1501

1501:                                             ; preds = %1499, %1495
  br i1 %106, label %1502, label %1512

1502:                                             ; preds = %1501
  %1503 = getelementptr inbounds i8, ptr %11, i64 8
  %1504 = load float, ptr %1503, align 8, !tbaa !200
  %1505 = getelementptr inbounds i8, ptr %77, i64 14388
  %1506 = load float, ptr %1505, align 4, !tbaa !90
  %1507 = fadd float %1504, %1506
  %1508 = load float, ptr %1149, align 4, !tbaa !182
  %1509 = load float, ptr %101, align 4, !tbaa !89
  %1510 = fadd float %1508, %1509
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %55, float noundef %1507, float noundef %1510)
  %1511 = load <2 x float>, ptr %55, align 8
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %1511, ptr noundef %0, ptr noundef null, i1 noundef zeroext true)
  br label %1512

1512:                                             ; preds = %1502, %1501
  %1513 = and i32 %5, 134217728
  %.not1013 = icmp eq i32 %1513, 0
  %or.cond1113 = and i1 %.not1013, %.not10071182
  br i1 %or.cond1113, label %1514, label %1515

1514:                                             ; preds = %1512
  call void @_ZN5ImGui14MarkItemEditedEj(i32 noundef %90)
  br label %1515

1515:                                             ; preds = %1514, %1512
  %1516 = and i32 %5, 32
  %.not1014 = icmp eq i32 %1516, 0
  %1517 = trunc nuw i8 %.29211255 to i1
  %.2 = select i1 %.not1014, i1 %.not10071182, i1 %1517
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #15
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #15
  br label %.thread

.thread:                                          ; preds = %135, %123, %154, %1515
  %.3 = phi i1 [ %.2, %1515 ], [ false, %154 ], [ false, %123 ], [ false, %135 ]
  call void @llvm.lifetime.end.p0(i64 60, ptr nonnull %15) #15
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #15
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #15
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #15
  br label %1518

1518:                                             ; preds = %8, %.thread
  %.4 = phi i1 [ %.3, %.thread ], [ false, %8 ]
  ret i1 %.4
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN19ImGuiInputTextState12OnKeyPressedEi(ptr noundef nonnull align 8 dereferenceable(3716), i32 noundef) local_unnamed_addr #10 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN19ImGuiInputTextState15CursorAnimResetEv(ptr noundef nonnull align 8 dereferenceable(3716)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #11

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17ImGuiLastItemDataC2Ev(ptr noundef nonnull align 4 dereferenceable(60)) unnamed_addr #10 align 2

declare void @_ZN5ImGui12PushStyleVarEif(i32 noundef, float noundef) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN5ImGui12BeginChildExEPKcjRK6ImVec2bi(ptr noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(8), i1 noundef zeroext, i32 noundef) local_unnamed_addr #4

declare void @_ZN5ImGui8EndChildEv() local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui17GetInputTextStateEj(i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorIcE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #12 align 2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strncmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorItE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #12 align 2

declare noundef i32 @_Z17ImTextStrFromUtf8PtiPKcS1_PS1_(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN19ImGuiInputTextState11CursorClampEv(ptr noundef nonnull align 8 dereferenceable(3716)) local_unnamed_addr #10 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImStbL29stb_textedit_initialize_stateEPNS_17STB_TexteditStateEi(ptr noundef, i32 noundef) local_unnamed_addr #10

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5ImGui19SetActiveIdUsingKeyE8ImGuiKey(i32 noundef) local_unnamed_addr #12

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK19ImGuiInputTextState12HasSelectionEv(ptr noundef nonnull align 8 dereferenceable(3716)) local_unnamed_addr #3 align 2

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

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

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

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

declare void @_ZN5ImGui8PushFontEP6ImFont(ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN19ImGuiInputTextState9SelectAllEv(ptr noundef nonnull align 8 dereferenceable(3716)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImStbL18stb_textedit_clickEP19ImGuiInputTextStatePNS_17STB_TexteditStateEff(ptr noundef, ptr noundef, float noundef, float noundef) local_unnamed_addr #10

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i16 @_ZN5ImStbL20STB_TEXTEDIT_GETCHAREPK19ImGuiInputTextStatei(ptr noundef, i32 noundef) local_unnamed_addr #10

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN5ImStbL37stb_textedit_prep_selection_at_cursorEPNS_17STB_TexteditStateE(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN5ImStbL30STB_TEXTEDIT_MOVEWORDRIGHT_MACEP19ImGuiInputTextStatei(ptr noundef, i32 noundef) local_unnamed_addr #10

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN5ImStbL18stb_textedit_clampEP19ImGuiInputTextStatePNS_17STB_TexteditStateE(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZL6ImSwapIiEvRT_S1_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImStbL17stb_textedit_dragEP19ImGuiInputTextStatePNS_17STB_TexteditStateEff(ptr noundef, ptr noundef, float noundef, float noundef) local_unnamed_addr #10

declare noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef, i1 noundef zeroext) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL24InputTextFilterCharacterPjiPFiP26ImGuiInputTextCallbackDataEPv16ImGuiInputSource(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #10

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

declare void @_ZN5ImGui10SetScrollYEP11ImGuiWindowf(ptr noundef, float noundef) local_unnamed_addr #4

declare noundef float @_ZN5ImGui13GetScrollMaxYEv() local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN19ImGuiInputTextState14ClearSelectionEv(ptr noundef nonnull align 8 dereferenceable(3716)) local_unnamed_addr #3 align 2

declare noundef i32 @_Z27ImTextCountUtf8BytesFromStrPKtS0_(ptr noundef, ptr noundef) local_unnamed_addr #4

declare noundef ptr @_ZN5ImGui8MemAllocEm(i64 noundef) local_unnamed_addr #4

declare noundef i32 @_Z15ImTextStrToUtf8PciPKtS1_(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare void @_ZN5ImGui16SetClipboardTextEPKc(ptr noundef) local_unnamed_addr #4

declare void @_ZN5ImGui7MemFreeEPv(ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN5ImStbL16stb_textedit_cutEP19ImGuiInputTextStatePNS_17STB_TexteditStateE(ptr noundef, ptr noundef) local_unnamed_addr #10

declare noundef ptr @_ZN5ImGui16GetClipboardTextEv() local_unnamed_addr #4

declare noundef i32 @_Z18ImTextCharFromUtf8PjPKcS1_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN5ImStbL18stb_textedit_pasteEP19ImGuiInputTextStatePNS_17STB_TexteditStateEPKti(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #10

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImStbL20stb_textedit_replaceEP19ImGuiInputTextStatePNS_17STB_TexteditStateEPKti(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #10

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8ImVectorItEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

declare noundef i32 @_Z24ImTextCountCharsFromUtf8PKcS0_(ptr noundef, ptr noundef) local_unnamed_addr #4

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8ImVectorItED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL44InputTextReconcileUndoStateAfterUserCallbackP19ImGuiInputTextStatePKci(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #10

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare hidden <2 x float> @_ZL22InputTextCalcTextSizeWPKtS0_PS0_P6ImVec2b(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #9

declare noundef ptr @_Z9ImStrbolWPKtS0_(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZNK6ImFont14GetCharAdvanceEt(ptr noundef nonnull align 8 dereferenceable(110), i16 noundef zeroext) local_unnamed_addr #10 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRect8ClipWithERKS_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #9 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #10 align 2

declare void @_ZN10ImDrawList7AddTextEPK6ImFontfRK6ImVec2jPKcS7_fPK6ImVec4(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef, float noundef, ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, ptr noundef, ptr noundef, float noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @fmodf(float noundef, float noundef) local_unnamed_addr #13

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL32InputTextCalcTextLenAndLineCountPKcPS0_(ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN5ImGui7PopFontEv() local_unnamed_addr #4

declare void @_ZN26ImGuiInputTextCallbackDataC1Ev(ptr) local_unnamed_addr

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { 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 #10 = { 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 #11 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #12 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #13 = { mustprogress nofree nounwind willreturn memory(write) "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 #14 = { noreturn nounwind }
attributes #15 = { nounwind }
attributes #16 = { nounwind willreturn memory(read) }

!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, !13, i64 155}
!6 = !{!"_ZTS11ImGuiWindow", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !12, i64 80, !12, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !11, i64 100, !11, i64 108, !11, i64 116, !11, i64 124, !11, i64 132, !11, i64 140, !13, i64 148, !13, i64 149, !13, i64 150, !13, i64 151, !13, i64 152, !13, i64 153, !13, i64 154, !13, i64 155, !13, i64 156, !13, i64 157, !13, i64 158, !13, i64 159, !13, i64 160, !8, i64 161, !14, i64 162, !14, i64 164, !14, i64 166, !14, i64 168, !10, i64 172, !8, i64 176, !8, i64 177, !8, i64 178, !13, i64 179, !10, i64 180, !8, i64 184, !8, i64 185, !8, i64 186, !8, i64 187, !10, i64 188, !10, i64 189, !10, i64 190, !11, i64 192, !11, i64 200, !15, i64 208, !16, i64 224, !22, i64 464, !22, i64 480, !22, i64 496, !22, i64 512, !22, i64 528, !22, i64 544, !22, i64 560, !23, i64 576, !23, i64 580, !10, i64 584, !12, i64 588, !12, i64 592, !24, i64 600, !26, i64 616, !12, i64 632, !10, i64 636, !7, i64 640, !27, i64 648, !7, i64 848, !7, i64 856, !7, i64 864, !7, i64 872, !7, i64 880, !7, i64 888, !7, i64 896, !8, i64 904, !8, i64 912, !10, i64 944, !10, i64 948, !13, i64 952}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTS6ImVec2", !12, i64 0, !12, i64 4}
!12 = !{!"float", !8, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{!"short", !8, i64 0}
!15 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !7, i64 8}
!16 = !{!"_ZTS19ImGuiWindowTempData", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !12, i64 56, !12, i64 60, !13, i64 64, !13, i64 65, !17, i64 68, !17, i64 72, !17, i64 76, !11, i64 80, !18, i64 88, !14, i64 92, !14, i64 94, !10, i64 96, !13, i64 100, !13, i64 101, !13, i64 102, !11, i64 104, !19, i64 112, !10, i64 140, !10, i64 144, !20, i64 152, !7, i64 168, !7, i64 176, !10, i64 184, !10, i64 188, !10, i64 192, !12, i64 196, !12, i64 200, !21, i64 208, !21, i64 224}
!17 = !{!"_ZTS6ImVec1", !12, i64 0}
!18 = !{!"_ZTS13ImGuiNavLayer", !8, i64 0}
!19 = !{!"_ZTS16ImGuiMenuColumns", !10, i64 0, !10, i64 4, !14, i64 8, !14, i64 10, !14, i64 12, !14, i64 14, !14, i64 16, !8, i64 18}
!20 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !7, i64 8}
!21 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !7, i64 8}
!22 = !{!"_ZTS6ImRect", !11, i64 0, !11, i64 8}
!23 = !{!"_ZTS8ImVec2ih", !14, i64 0, !14, i64 2}
!24 = !{!"_ZTS12ImGuiStorage", !25, i64 0}
!25 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !7, i64 8}
!26 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !7, i64 8}
!27 = !{!"_ZTS10ImDrawList", !28, i64 0, !29, i64 16, !30, i64 32, !10, i64 48, !10, i64 52, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !31, i64 88, !32, i64 104, !33, i64 120, !34, i64 136, !36, i64 168, !12, i64 192}
!28 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !7, i64 8}
!29 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !7, i64 8}
!30 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !7, i64 8}
!31 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !7, i64 8}
!32 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !7, i64 8}
!33 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !7, i64 8}
!34 = !{!"_ZTS15ImDrawCmdHeader", !35, i64 0, !7, i64 16, !10, i64 24}
!35 = !{!"_ZTS6ImVec4", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!36 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !37, i64 8}
!37 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !7, i64 8}
!38 = !{i8 0, i8 2}
!39 = !{}
!40 = !{!7, !7, i64 0}
!41 = !{!42, !12, i64 15360}
!42 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !43, i64 8, !44, i64 14272, !44, i64 14288, !45, i64 14304, !7, i64 15352, !12, i64 15360, !12, i64 15364, !46, i64 15368, !47, i64 15880, !10, i64 15888, !10, i64 15892, !10, i64 15896, !13, i64 15900, !13, i64 15901, !13, i64 15902, !13, i64 15903, !13, i64 15904, !7, i64 15912, !20, i64 15920, !20, i64 15936, !20, i64 15952, !48, i64 15968, !24, i64 15984, !10, i64 16000, !11, i64 16004, !7, i64 16016, !7, i64 16024, !7, i64 16032, !7, i64 16040, !7, i64 16048, !11, i64 16056, !12, i64 16064, !10, i64 16068, !10, i64 16072, !10, i64 16076, !13, i64 16080, !13, i64 16081, !13, i64 16082, !13, i64 16083, !12, i64 16084, !12, i64 16088, !10, i64 16092, !10, i64 16096, !12, i64 16100, !13, i64 16104, !13, i64 16105, !13, i64 16106, !13, i64 16107, !13, i64 16108, !13, i64 16109, !11, i64 16112, !7, i64 16120, !49, i64 16128, !10, i64 16132, !10, i64 16136, !13, i64 16140, !13, i64 16141, !7, i64 16144, !10, i64 16152, !12, i64 16156, !10, i64 16160, !50, i64 16164, !10, i64 16184, !10, i64 16188, !51, i64 16192, !52, i64 16212, !53, i64 16272, !54, i64 16384, !55, i64 16400, !56, i64 16416, !15, i64 16432, !57, i64 16448, !58, i64 16464, !59, i64 16480, !59, i64 16496, !10, i64 16512, !60, i64 16520, !7, i64 16536, !10, i64 16544, !10, i64 16548, !10, i64 16552, !10, i64 16556, !10, i64 16560, !10, i64 16564, !10, i64 16568, !10, i64 16572, !10, i64 16576, !10, i64 16580, !10, i64 16584, !10, i64 16588, !49, i64 16592, !18, i64 16596, !13, i64 16600, !13, i64 16601, !13, i64 16602, !13, i64 16603, !13, i64 16604, !13, i64 16605, !13, i64 16606, !10, i64 16608, !22, i64 16612, !13, i64 16628, !13, i64 16629, !13, i64 16630, !10, i64 16632, !10, i64 16636, !10, i64 16640, !10, i64 16644, !10, i64 16648, !10, i64 16652, !22, i64 16656, !22, i64 16672, !10, i64 16688, !10, i64 16692, !10, i64 16696, !61, i64 16704, !61, i64 16752, !61, i64 16800, !61, i64 16848, !7, i64 16896, !7, i64 16904, !7, i64 16912, !12, i64 16920, !12, i64 16924, !13, i64 16928, !11, i64 16932, !11, i64 16940, !12, i64 16948, !10, i64 16952, !13, i64 16956, !13, i64 16957, !13, i64 16958, !10, i64 16960, !10, i64 16964, !10, i64 16968, !62, i64 16976, !22, i64 17040, !10, i64 17056, !10, i64 17060, !12, i64 17064, !10, i64 17068, !10, i64 17072, !10, i64 17076, !10, i64 17080, !63, i64 17088, !8, i64 17104, !10, i64 17120, !64, i64 17128, !7, i64 17144, !10, i64 17152, !65, i64 17160, !66, i64 17176, !21, i64 17216, !37, i64 17232, !7, i64 17248, !68, i64 17256, !70, i64 17296, !71, i64 17312, !10, i64 17328, !10, i64 17332, !12, i64 17336, !12, i64 17340, !11, i64 17344, !72, i64 17352, !76, i64 21072, !10, i64 21184, !10, i64 21188, !12, i64 21192, !12, i64 21196, !10, i64 21200, !35, i64 21204, !78, i64 21220, !12, i64 21268, !12, i64 21272, !13, i64 21276, !13, i64 21277, !12, i64 21280, !12, i64 21284, !12, i64 21288, !12, i64 21292, !14, i64 21296, !14, i64 21298, !73, i64 21304, !15, i64 21320, !79, i64 21336, !79, i64 21352, !8, i64 21368, !13, i64 21369, !12, i64 21372, !80, i64 21376, !81, i64 21392, !82, i64 21408, !83, i64 21424, !84, i64 21440, !10, i64 21456, !13, i64 21460, !85, i64 21464, !7, i64 21472, !80, i64 21480, !7, i64 21496, !7, i64 21504, !12, i64 21512, !13, i64 21516, !10, i64 21520, !10, i64 21524, !10, i64 21528, !10, i64 21532, !80, i64 21536, !13, i64 21552, !8, i64 21553, !10, i64 21556, !86, i64 21560, !87, i64 21576, !8, i64 21616, !10, i64 21856, !10, i64 21860, !12, i64 21864, !10, i64 21868, !10, i64 21872, !10, i64 21876, !73, i64 21880}
!43 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !11, i64 8, !12, i64 16, !12, i64 20, !7, i64 24, !7, i64 32, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !7, i64 72, !7, i64 80, !12, i64 88, !13, i64 92, !7, i64 96, !11, i64 104, !13, i64 112, !13, i64 113, !13, i64 114, !13, i64 115, !13, i64 116, !13, i64 117, !13, i64 118, !13, i64 119, !12, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !7, i64 176, !7, i64 184, !7, i64 192, !7, i64 200, !13, i64 208, !13, i64 209, !13, i64 210, !13, i64 211, !13, i64 212, !13, i64 213, !13, i64 214, !12, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !11, i64 240, !8, i64 248, !8, i64 2856, !8, i64 3508, !11, i64 3572, !8, i64 3580, !12, i64 3588, !12, i64 3592, !13, i64 3596, !13, i64 3597, !13, i64 3598, !13, i64 3599, !10, i64 3600, !8, i64 3604, !13, i64 14036, !11, i64 14040, !8, i64 14048, !8, i64 14088, !8, i64 14128, !8, i64 14133, !8, i64 14138, !8, i64 14148, !8, i64 14158, !8, i64 14163, !8, i64 14168, !8, i64 14176, !8, i64 14196, !8, i64 14216, !12, i64 14236, !13, i64 14240, !13, i64 14241, !8, i64 14242, !13, i64 14243, !14, i64 14244, !29, i64 14248}
!44 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !10, i64 0, !10, i64 4, !7, i64 8}
!45 = !{!"_ZTS10ImGuiStyle", !12, i64 0, !12, i64 4, !11, i64 8, !12, i64 16, !12, i64 20, !11, i64 24, !11, i64 32, !10, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !11, i64 60, !12, i64 68, !12, i64 72, !11, i64 76, !11, i64 84, !11, i64 92, !11, i64 100, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !12, i64 136, !12, i64 140, !12, i64 144, !10, i64 148, !11, i64 152, !11, i64 160, !11, i64 168, !11, i64 176, !12, i64 184, !13, i64 188, !13, i64 189, !13, i64 190, !12, i64 192, !12, i64 196, !8, i64 200}
!46 = !{!"_ZTS20ImDrawListSharedData", !11, i64 0, !7, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !35, i64 28, !10, i64 44, !8, i64 48, !12, i64 432, !8, i64 436, !7, i64 504}
!47 = !{!"double", !8, i64 0}
!48 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!49 = !{!"_ZTS16ImGuiInputSource", !8, i64 0}
!50 = !{!"_ZTS10ImBitArrayILi140ELin512EE", !8, i64 0}
!51 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !12, i64 4, !10, i64 8, !10, i64 12, !13, i64 16}
!52 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !22, i64 12, !22, i64 28, !22, i64 44}
!53 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !13, i64 56, !22, i64 60, !7, i64 80, !7, i64 88, !12, i64 96, !11, i64 100}
!54 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !7, i64 8}
!55 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !7, i64 8}
!56 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !7, i64 8}
!57 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !7, i64 8}
!58 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!59 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!60 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !7, i64 8}
!61 = !{!"_ZTS16ImGuiNavItemData", !7, i64 0, !10, i64 8, !10, i64 12, !22, i64 16, !10, i64 32, !12, i64 36, !12, i64 40, !12, i64 44}
!62 = !{!"_ZTS12ImGuiPayload", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !8, i64 24, !13, i64 57, !13, i64 58}
!63 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !7, i64 8}
!64 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!65 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!66 = !{!"_ZTS6ImPoolI10ImGuiTableE", !67, i64 0, !24, i64 16, !10, i64 32, !10, i64 36}
!67 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !7, i64 8}
!68 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !69, i64 0, !24, i64 16, !10, i64 32, !10, i64 36}
!69 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !7, i64 8}
!70 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !7, i64 8}
!71 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !7, i64 8}
!72 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !29, i64 16, !73, i64 32, !73, i64 48, !13, i64 64, !10, i64 68, !12, i64 72, !74, i64 76, !12, i64 3704, !13, i64 3708, !13, i64 3709, !13, i64 3710, !10, i64 3712}
!73 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !7, i64 8}
!74 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !8, i64 12, !10, i64 16, !8, i64 20, !8, i64 21, !8, i64 22, !8, i64 23, !8, i64 24, !8, i64 25, !8, i64 26, !12, i64 28, !75, i64 32}
!75 = !{!"_ZTSN5ImStb12StbUndoStateE", !8, i64 0, !8, i64 1584, !14, i64 3582, !14, i64 3584, !10, i64 3588, !10, i64 3592}
!76 = !{!"_ZTS6ImFont", !21, i64 0, !12, i64 16, !12, i64 20, !29, i64 24, !77, i64 40, !7, i64 56, !7, i64 64, !7, i64 72, !14, i64 80, !14, i64 82, !14, i64 84, !14, i64 86, !13, i64 88, !12, i64 92, !12, i64 96, !12, i64 100, !10, i64 104, !8, i64 108}
!77 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !7, i64 8}
!78 = !{!"_ZTS21ImGuiComboPreviewData", !22, i64 0, !11, i64 16, !11, i64 24, !11, i64 32, !12, i64 40, !10, i64 44}
!79 = !{!"_ZTS20ImGuiPlatformImeData", !13, i64 0, !11, i64 4, !12, i64 12}
!80 = !{!"_ZTS15ImGuiTextBuffer", !73, i64 0}
!81 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !7, i64 8}
!82 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !73, i64 0}
!83 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !73, i64 0}
!84 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !7, i64 8}
!85 = !{!"_ZTS12ImGuiLogType", !8, i64 0}
!86 = !{!"_ZTS18ImGuiMetricsConfig", !13, i64 0, !13, i64 1, !13, i64 2, !13, i64 3, !13, i64 4, !13, i64 5, !13, i64 6, !10, i64 8, !10, i64 12}
!87 = !{!"_ZTS14ImGuiStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !88, i64 16, !13, i64 32, !12, i64 36}
!88 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !7, i64 8}
!89 = !{!45, !12, i64 64}
!90 = !{!45, !12, i64 84}
!91 = !{!12, !12, i64 0}
!92 = !{!42, !10, i64 16220}
!93 = !{i64 0, i64 4, !94, i64 4, i64 4, !94, i64 8, i64 4, !94, i64 12, i64 4, !91, i64 16, i64 4, !91, i64 20, i64 4, !91, i64 24, i64 4, !91, i64 28, i64 4, !91, i64 32, i64 4, !91, i64 36, i64 4, !91, i64 40, i64 4, !91, i64 44, i64 4, !91, i64 48, i64 4, !91, i64 52, i64 4, !91, i64 56, i64 4, !91}
!94 = !{!10, !10, i64 0}
!95 = !{!45, !12, i64 68}
!96 = !{!45, !12, i64 72}
!97 = !{!42, !7, i64 16016}
!98 = !{!6, !18, i64 312}
!99 = !{!6, !14, i64 318}
!100 = !{!6, !12, i64 140}
!101 = !{!42, !10, i64 16952}
!102 = !{!42, !10, i64 16092}
!103 = !{!42, !10, i64 16564}
!104 = !{!42, !10, i64 16552}
!105 = !{!42, !49, i64 16592}
!106 = !{!13, !13, i64 0}
!107 = !{!42, !10, i64 16136}
!108 = !{!6, !12, i64 104}
!109 = !{!72, !8, i64 99}
!110 = !{!72, !7, i64 56}
!111 = !{!72, !10, i64 0}
!112 = !{!72, !10, i64 8}
!113 = !{!72, !13, i64 64}
!114 = !{!72, !7, i64 40}
!115 = !{!72, !7, i64 24}
!116 = !{!72, !10, i64 4}
!117 = !{!72, !12, i64 72}
!118 = !{!42, !10, i64 16568}
!119 = !{!43, !13, i64 3596}
!120 = !{!72, !8, i64 88}
!121 = !{!42, !10, i64 16160}
!122 = !{!72, !10, i64 16}
!123 = !{!8, !8, i64 0}
!124 = !{!42, !7, i64 15352}
!125 = !{!76, !12, i64 20}
!126 = !{!76, !12, i64 100}
!127 = !{!76, !7, i64 64}
!128 = !{!76, !7, i64 56}
!129 = !{!130, !12, i64 4}
!130 = !{!"_ZTS11ImFontGlyph", !10, i64 0, !10, i64 0, !10, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36}
!131 = !{!76, !12, i64 16}
!132 = !{!72, !13, i64 3710}
!133 = !{!72, !10, i64 68}
!134 = !{!72, !10, i64 3712}
!135 = !{!42, !13, i64 16105}
!136 = !{!42, !10, i64 21876}
!137 = !{!43, !12, i64 3572}
!138 = !{!22, !12, i64 0}
!139 = !{!45, !12, i64 60}
!140 = !{!43, !12, i64 3576}
!141 = !{!6, !12, i64 228}
!142 = !{!43, !13, i64 113}
!143 = !{!72, !13, i64 3709}
!144 = !{!14, !14, i64 0}
!145 = !{!43, !13, i64 3597}
!146 = !{!72, !10, i64 76}
!147 = !{!72, !10, i64 80}
!148 = !{!72, !10, i64 84}
!149 = !{!72, !13, i64 3708}
!150 = !{!43, !12, i64 240}
!151 = !{!43, !12, i64 244}
!152 = !{!43, !13, i64 3598}
!153 = !{!43, !13, i64 3599}
!154 = !{!43, !10, i64 14248}
!155 = distinct !{!155, !156}
!156 = !{!"llvm.loop.mustprogress"}
!157 = !{!42, !13, i64 16104}
!158 = !{!72, !10, i64 92}
!159 = !{!43, !10, i64 3600}
!160 = !{!43, !10, i64 0}
!161 = !{!43, !10, i64 4}
!162 = !{!43, !13, i64 116}
!163 = !{!43, !7, i64 176}
!164 = distinct !{!164, !156}
!165 = !{!72, !10, i64 48}
!166 = !{!29, !7, i64 8}
!167 = !{!29, !10, i64 0}
!168 = !{!72, !10, i64 32}
!169 = !{!170, !10, i64 0}
!170 = !{!"_ZTS26ImGuiInputTextCallbackData", !10, i64 0, !10, i64 4, !7, i64 8, !14, i64 16, !171, i64 20, !7, i64 24, !10, i64 32, !10, i64 36, !13, i64 40, !10, i64 44, !10, i64 48, !10, i64 52}
!171 = !{!"_ZTS8ImGuiKey", !8, i64 0}
!172 = !{!170, !10, i64 4}
!173 = !{!170, !7, i64 8}
!174 = !{!170, !171, i64 20}
!175 = !{!170, !7, i64 24}
!176 = !{!170, !10, i64 32}
!177 = !{!170, !10, i64 36}
!178 = !{!170, !10, i64 44}
!179 = !{!170, !10, i64 48}
!180 = !{!170, !10, i64 52}
!181 = !{!170, !13, i64 40}
!182 = !{!22, !12, i64 4}
!183 = distinct !{!183, !156}
!184 = !{!11, !12, i64 0}
!185 = !{!11, !12, i64 4}
!186 = !{!35, !12, i64 12}
!187 = !{!35, !12, i64 4}
!188 = distinct !{!188, !156}
!189 = !{!6, !7, i64 640}
!190 = distinct !{!190, !156}
!191 = !{!43, !12, i64 16}
!192 = !{!72, !12, i64 3704}
!193 = !{!42, !13, i64 123}
!194 = !{!42, !13, i64 21336}
!195 = !{!42, !12, i64 21348}
!196 = !{!42, !10, i64 16188}
!197 = !{!52, !10, i64 8}
!198 = !{!42, !10, i64 16212}
!199 = !{!42, !13, i64 21460}
!200 = !{!22, !12, i64 8}


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