; LLVM IR from hadryansalles/Luz :: deps/imgui/imgui_widgets.ll (ZN5ImGui22GetTypingSelectRequestEi)

; 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.ImGuiContext = type { i8, i8, %struct.ImGuiIO, %struct.ImGuiPlatformIO, %struct.ImGuiStyle, i32, i32, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i32, i8, i8, i8, i8, i8, ptr, %struct.ImVector.13, %struct.ImVector.13, i32, i32, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.14, %struct.ImGuiStorage, i32, %struct.ImVec2, i32, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, i32, i32, float, %struct.ImVec2, %struct.ImVec2, i32, i32, i32, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, i8, i8, ptr, i32, float, double, double, double, %struct.ImBitArray, [154 x %struct.ImGuiKeyOwnerData], %struct.ImGuiKeyRoutingTable, i32, i8, i32, i32, i32, i32, i32, [4 x i8], %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, [4 x i8], %struct.ImGuiNextWindowData, i8, i32, %struct.ImVector.16, %struct.ImVector.17, %struct.ImVector.18, %struct.ImVector.19, %struct.ImVector.20, %struct.ImVector.21, %struct.ImVector.22, %struct.ImVector.22, %struct.ImVector.23, i32, %struct.ImVector.24, float, ptr, ptr, ptr, i32, %struct.ImGuiPlatformMonitor, i32, i32, i32, ptr, i32, i32, %struct.ImVector.19, i32, i32, i32, i32, i32, float, i32, i32, i32, i32, i32, i32, i32, i64, i8, i8, i8, i8, i8, i8, i8, i8, %struct.ImGuiNavItemData, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, i32, i32, ptr, ptr, ptr, float, float, i8, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, i32, i32, i32, %struct.ImGuiPayload, %struct.ImRect, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, %struct.ImVector.25, [16 x i8], i32, %struct.ImVector.26, ptr, i32, i32, %struct.ImVector.27, %struct.ImPool, %struct.ImVector.1, %struct.ImVector.10, ptr, %struct.ImPool.29, %struct.ImVector.31, %struct.ImVector.32, i32, i32, float, float, i32, i32, i32, float, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImGuiInputTextDeactivatedState, %struct.ImFont, i32, i32, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, %struct.ImRect, i8, float, float, i8, i8, float, float, float, float, i16, i16, i16, %struct.ImVector.33, %struct.ImVector, %struct.ImGuiTypingSelectState, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i32, [4 x i8], %struct.ImGuiDockContext, ptr, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.37, %struct.ImChunkStream, %struct.ImChunkStream.38, %struct.ImVector.39, i32, [11 x ptr], i8, i32, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, i32, %struct.ImGuiTextBuffer, %struct.ImGuiTextIndex, i32, i8, i8, i8, i32, i8, i8, i8, i32, float, %struct.ImVec4, %struct.ImGuiMetricsConfig, %struct.ImGuiIDStackTool, %struct.ImGuiDebugAllocInfo, ptr, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.33, [64 x i8] }
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, float, float, float, float, float, i8, i8, i8, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i16, i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, %struct.ImVec2, [666 x i32], [666 x i8], [16 x float], ptr, %struct.ImVec2, [5 x i8], float, float, i32, i32, i8, i8, i8, i8, i32, [666 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], i8, [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], float, i8, i8, i8, i8, i16, %struct.ImVector.5 }
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiPlatformIO = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVector.11, %struct.ImVector.12 }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImVector.12 = 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, float, float, i32, %struct.ImVec2, %struct.ImVec2, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, i8, float, float, [55 x %struct.ImVec4], float, float, float, i32, i32 }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, %struct.ImVector.9, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.2 }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImBitArray = type { [5 x i32] }
%struct.ImGuiKeyOwnerData = type <{ i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiKeyRoutingTable = type { [154 x i16], %struct.ImVector.15, %struct.ImVector.15 }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, i32, i64, float, i32, i8, i8, [6 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i32, i8, i8, [2 x i8], %struct.ImRect, [4 x i8], ptr, ptr, float, i32, i32, %struct.ImGuiWindowClass, %struct.ImVec2, [4 x i8] }>
%struct.ImGuiWindowClass = type <{ i32, i32, i32, i32, i32, i32, i32, i8, i8, [2 x i8] }>
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImGuiPlatformMonitor = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImGuiNavItemData = type <{ ptr, i32, i32, %struct.ImRect, i32, [4 x i8], i64, float, float, float, [4 x i8] }>
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.28, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImPool.29 = type { %struct.ImVector.30, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImVector.32 = type { i32, i32, ptr }
%struct.ImVec2 = type { float, float }
%struct.ImGuiInputTextState = type <{ ptr, i32, i32, i32, [4 x i8], %struct.ImVector.5, %struct.ImVector.33, %struct.ImVector.33, 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.ImGuiInputTextDeactivatedState = type { i32, %struct.ImVector.33 }
%struct.ImFont = type <{ %struct.ImVector.1, float, float, %struct.ImVector.5, %struct.ImVector.34, ptr, ptr, ptr, i16, i16, i16, i16, float, float, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.34 = type { i32, i32, ptr }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiTypingSelectState = type <{ %struct.ImGuiTypingSelectRequest, [64 x i8], i32, i32, float, i8, [3 x i8] }>
%struct.ImGuiTypingSelectRequest = type { i32, i32, ptr, i8, i8, i8 }
%struct.ImGuiPlatformImeData = type { i8, %struct.ImVec2, float }
%struct.ImGuiDockContext = type <{ %struct.ImGuiStorage, %struct.ImVector.35, %struct.ImVector.36, i8, [7 x i8] }>
%struct.ImVector.35 = type { i32, i32, ptr }
%struct.ImVector.36 = type { i32, i32, ptr }
%struct.ImVector.37 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.33 }
%struct.ImChunkStream.38 = type { %struct.ImVector.33 }
%struct.ImVector.39 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.33 }
%struct.ImGuiTextIndex = type <{ %struct.ImVector.20, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiIDStackTool = type { i32, i32, i32, %struct.ImVector.40, i8, float }
%struct.ImVector.40 = type { i32, i32, ptr }
%struct.ImGuiDebugAllocInfo = type { i32, i32, i16, [6 x %struct.ImGuiDebugAllocEntry] }
%struct.ImGuiDebugAllocEntry = type { i32, i16, i16 }
%struct.ImVector.33 = type { i32, i32, ptr }

@GImGui = external global ptr, align 8

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN5ImGui22GetTypingSelectRequestEi(i32 noundef %0) #5 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca float, align 4
  %8 = alloca i32, align 4
  %9 = alloca i8, align 1
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i8, align 1
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i16, align 2
  %18 = alloca i32, align 4
  %19 = alloca [5 x i8], align 1
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  store i32 %0, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #8
  %26 = load ptr, ptr @GImGui, align 8, !tbaa !9
  store ptr %26, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #8
  %27 = load ptr, ptr %4, align 8, !tbaa !9
  %28 = getelementptr inbounds %struct.ImGuiContext, ptr %27, i32 0, i32 235
  store ptr %28, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  %29 = load ptr, ptr %5, align 8, !tbaa !9
  %30 = getelementptr inbounds %struct.ImGuiTypingSelectState, ptr %29, i32 0, i32 0
  store ptr %30, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store float 0x3FFCCCCCC0000000, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store i32 4, ptr %8, align 4, !tbaa !5
  %31 = load ptr, ptr %5, align 8, !tbaa !9
  %32 = getelementptr inbounds %struct.ImGuiTypingSelectState, ptr %31, i32 0, i32 1
  %33 = getelementptr inbounds [64 x i8], ptr %32, i64 0, i64 0
  %34 = load i8, ptr %33, align 8, !tbaa !13
  %35 = sext i8 %34 to i32
  %36 = icmp ne i32 %35, 0
  br i1 %36, label %37, label %128

37:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #8
  store i8 0, ptr %9, align 1, !tbaa !14
  %38 = load ptr, ptr %4, align 8, !tbaa !9
  %39 = getelementptr inbounds %struct.ImGuiContext, ptr %38, i32 0, i32 114
  %40 = load i32, ptr %39, align 4, !tbaa !16
  %41 = load ptr, ptr %5, align 8, !tbaa !9
  %42 = getelementptr inbounds %struct.ImGuiTypingSelectState, ptr %41, i32 0, i32 2
  %43 = load i32, ptr %42, align 8, !tbaa !96
  %44 = icmp ne i32 %40, %43
  %45 = zext i1 %44 to i32
  %46 = load i8, ptr %9, align 1, !tbaa !14, !range !97, !noundef !98
  %47 = trunc i8 %46 to i1
  %48 = zext i1 %47 to i32
  %49 = or i32 %48, %45
  %50 = icmp ne i32 %49, 0
  %51 = zext i1 %50 to i8
  store i8 %51, ptr %9, align 1, !tbaa !14
  %52 = load ptr, ptr %5, align 8, !tbaa !9
  %53 = getelementptr inbounds %struct.ImGuiTypingSelectState, ptr %52, i32 0, i32 4
  %54 = load float, ptr %53, align 8, !tbaa !99
  %55 = fadd float %54, 0x3FFCCCCCC0000000
  %56 = fpext float %55 to double
  %57 = load ptr, ptr %4, align 8, !tbaa !9
  %58 = getelementptr inbounds %struct.ImGuiContext, ptr %57, i32 0, i32 11
  %59 = load double, ptr %58, align 8, !tbaa !100
  %60 = fcmp olt double %56, %59
  %61 = zext i1 %60 to i32
  %62 = load i8, ptr %9, align 1, !tbaa !14, !range !97, !noundef !98
  %63 = trunc i8 %62 to i1
  %64 = zext i1 %63 to i32
  %65 = or i32 %64, %61
  %66 = icmp ne i32 %65, 0
  %67 = zext i1 %66 to i8
  store i8 %67, ptr %9, align 1, !tbaa !14
  %68 = load ptr, ptr %4, align 8, !tbaa !9
  %69 = getelementptr inbounds %struct.ImGuiContext, ptr %68, i32 0, i32 134
  %70 = load i8, ptr %69, align 4, !tbaa !101, !range !97, !noundef !98
  %71 = trunc i8 %70 to i1
  %72 = zext i1 %71 to i32
  %73 = load i8, ptr %9, align 1, !tbaa !14, !range !97, !noundef !98
  %74 = trunc i8 %73 to i1
  %75 = zext i1 %74 to i32
  %76 = or i32 %75, %72
  %77 = icmp ne i32 %76, 0
  %78 = zext i1 %77 to i8
  store i8 %78, ptr %9, align 1, !tbaa !14
  %79 = load ptr, ptr %4, align 8, !tbaa !9
  %80 = getelementptr inbounds %struct.ImGuiContext, ptr %79, i32 0, i32 52
  %81 = load i32, ptr %80, align 4, !tbaa !102
  %82 = icmp ne i32 %81, 0
  br i1 %82, label %83, label %88

83:                                               ; preds = %37
  %84 = load ptr, ptr %4, align 8, !tbaa !9
  %85 = getelementptr inbounds %struct.ImGuiContext, ptr %84, i32 0, i32 116
  %86 = load i32, ptr %85, align 8, !tbaa !103
  %87 = icmp eq i32 %86, 0
  br label %88

88:                                               ; preds = %83, %37
  %89 = phi i1 [ false, %37 ], [ %87, %83 ]
  %90 = zext i1 %89 to i32
  %91 = load i8, ptr %9, align 1, !tbaa !14, !range !97, !noundef !98
  %92 = trunc i8 %91 to i1
  %93 = zext i1 %92 to i32
  %94 = or i32 %93, %90
  %95 = icmp ne i32 %94, 0
  %96 = zext i1 %95 to i8
  store i8 %96, ptr %9, align 1, !tbaa !14
  %97 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 526, i1 noundef zeroext true)
  br i1 %97, label %100, label %98

98:                                               ; preds = %88
  %99 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 525, i1 noundef zeroext true)
  br label %100

100:                                              ; preds = %98, %88
  %101 = phi i1 [ true, %88 ], [ %99, %98 ]
  %102 = zext i1 %101 to i32
  %103 = load i8, ptr %9, align 1, !tbaa !14, !range !97, !noundef !98
  %104 = trunc i8 %103 to i1
  %105 = zext i1 %104 to i32
  %106 = or i32 %105, %102
  %107 = icmp ne i32 %106, 0
  %108 = zext i1 %107 to i8
  store i8 %108, ptr %9, align 1, !tbaa !14
  %109 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 523, i1 noundef zeroext true)
  br i1 %109, label %110, label %114

110:                                              ; preds = %100
  %111 = load i32, ptr %3, align 4, !tbaa !5
  %112 = and i32 %111, 1
  %113 = icmp eq i32 %112, 0
  br label %114

114:                                              ; preds = %110, %100
  %115 = phi i1 [ false, %100 ], [ %113, %110 ]
  %116 = zext i1 %115 to i32
  %117 = load i8, ptr %9, align 1, !tbaa !14, !range !97, !noundef !98
  %118 = trunc i8 %117 to i1
  %119 = zext i1 %118 to i32
  %120 = or i32 %119, %116
  %121 = icmp ne i32 %120, 0
  %122 = zext i1 %121 to i8
  store i8 %122, ptr %9, align 1, !tbaa !14
  %123 = load i8, ptr %9, align 1, !tbaa !14, !range !97, !noundef !98
  %124 = trunc i8 %123 to i1
  br i1 %124, label %125, label %127

125:                                              ; preds = %114
  %126 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN22ImGuiTypingSelectState5ClearEv(ptr noundef nonnull align 8 dereferenceable(101) %126)
  br label %127

127:                                              ; preds = %125, %114
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #8
  br label %128

128:                                              ; preds = %127, %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  store i32 63, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  %129 = load ptr, ptr %5, align 8, !tbaa !9
  %130 = getelementptr inbounds %struct.ImGuiTypingSelectState, ptr %129, i32 0, i32 1
  %131 = getelementptr inbounds [64 x i8], ptr %130, i64 0, i64 0
  %132 = call i64 @strlen(ptr noundef %131) #9
  %133 = trunc i64 %132 to i32
  store i32 %133, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #8
  store i8 0, ptr %12, align 1, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %134 = load ptr, ptr %4, align 8, !tbaa !9
  %135 = getelementptr inbounds %struct.ImGuiContext, ptr %134, i32 0, i32 2
  %136 = getelementptr inbounds %struct.ImGuiIO, ptr %135, i32 0, i32 101
  store ptr %136, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %137 = load ptr, ptr %13, align 8, !tbaa !9
  %138 = call noundef ptr @_ZN8ImVectorItE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %137)
  store ptr %138, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %139 = load ptr, ptr %13, align 8, !tbaa !9
  %140 = call noundef ptr @_ZN8ImVectorItE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %139)
  store ptr %140, ptr %15, align 8, !tbaa !9
  br label %141

141:                                              ; preds = %221, %128
  %142 = load ptr, ptr %14, align 8, !tbaa !9
  %143 = load ptr, ptr %15, align 8, !tbaa !9
  %144 = icmp ne ptr %142, %143
  br i1 %144, label %146, label %145

145:                                              ; preds = %141
  store i32 2, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %224

146:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 2, ptr %17) #8
  %147 = load ptr, ptr %14, align 8, !tbaa !9
  %148 = load i16, ptr %147, align 2, !tbaa !104
  store i16 %148, ptr %17, align 2, !tbaa !104
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  %149 = getelementptr inbounds i16, ptr %17, i64 1
  %150 = call noundef i32 @_Z27ImTextCountUtf8BytesFromStrPKtS0_(ptr noundef %17, ptr noundef %149)
  store i32 %150, ptr %18, align 4, !tbaa !5
  %151 = load i16, ptr %17, align 2, !tbaa !104
  %152 = zext i16 %151 to i32
  %153 = icmp slt i32 %152, 32
  br i1 %153, label %166, label %154

154:                                              ; preds = %146
  %155 = load i32, ptr %11, align 4, !tbaa !5
  %156 = icmp eq i32 %155, 0
  br i1 %156, label %157, label %161

157:                                              ; preds = %154
  %158 = load i16, ptr %17, align 2, !tbaa !104
  %159 = zext i16 %158 to i32
  %160 = call noundef zeroext i1 @_ZL14ImCharIsBlankWj(i32 noundef %159)
  br i1 %160, label %166, label %161

161:                                              ; preds = %157, %154
  %162 = load i32, ptr %11, align 4, !tbaa !5
  %163 = load i32, ptr %18, align 4, !tbaa !5
  %164 = add nsw i32 %162, %163
  %165 = icmp sgt i32 %164, 63
  br i1 %165, label %166, label %167

166:                                              ; preds = %161, %157, %146
  store i32 3, ptr %16, align 4
  br label %215

167:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 5, ptr %19) #8
  %168 = getelementptr inbounds [5 x i8], ptr %19, i64 0, i64 0
  %169 = load i16, ptr %17, align 2, !tbaa !104
  %170 = zext i16 %169 to i32
  %171 = call noundef ptr @_Z16ImTextCharToUtf8Pcj(ptr noundef %168, i32 noundef %170)
  %172 = load ptr, ptr %5, align 8, !tbaa !9
  %173 = getelementptr inbounds %struct.ImGuiTypingSelectState, ptr %172, i32 0, i32 5
  %174 = load i8, ptr %173, align 4, !tbaa !105, !range !97, !noundef !98
  %175 = trunc i8 %174 to i1
  br i1 %175, label %176, label %193

176:                                              ; preds = %167
  %177 = load i32, ptr %18, align 4, !tbaa !5
  %178 = load ptr, ptr %6, align 8, !tbaa !9
  %179 = getelementptr inbounds %struct.ImGuiTypingSelectRequest, ptr %178, i32 0, i32 5
  %180 = load i8, ptr %179, align 2, !tbaa !106
  %181 = sext i8 %180 to i32
  %182 = icmp eq i32 %177, %181
  br i1 %182, label %183, label %193

183:                                              ; preds = %176
  %184 = getelementptr inbounds [5 x i8], ptr %19, i64 0, i64 0
  %185 = load ptr, ptr %5, align 8, !tbaa !9
  %186 = getelementptr inbounds %struct.ImGuiTypingSelectState, ptr %185, i32 0, i32 1
  %187 = getelementptr inbounds [64 x i8], ptr %186, i64 0, i64 0
  %188 = load i32, ptr %18, align 4, !tbaa !5
  %189 = sext i32 %188 to i64
  %190 = call i32 @memcmp(ptr noundef %184, ptr noundef %187, i64 noundef %189) #9
  %191 = icmp eq i32 %190, 0
  br i1 %191, label %192, label %193

192:                                              ; preds = %183
  store i8 1, ptr %12, align 1, !tbaa !14
  store i32 3, ptr %16, align 4
  br label %214

193:                                              ; preds = %183, %176, %167
  %194 = load ptr, ptr %5, align 8, !tbaa !9
  %195 = getelementptr inbounds %struct.ImGuiTypingSelectState, ptr %194, i32 0, i32 5
  %196 = load i8, ptr %195, align 4, !tbaa !105, !range !97, !noundef !98
  %197 = trunc i8 %196 to i1
  br i1 %197, label %198, label %200

198:                                              ; preds = %193
  %199 = load ptr, ptr %5, align 8, !tbaa !9
  call void @_ZN22ImGuiTypingSelectState5ClearEv(ptr noundef nonnull align 8 dereferenceable(101) %199)
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %200

200:                                              ; preds = %198, %193
  %201 = load ptr, ptr %5, align 8, !tbaa !9
  %202 = getelementptr inbounds %struct.ImGuiTypingSelectState, ptr %201, i32 0, i32 1
  %203 = getelementptr inbounds [64 x i8], ptr %202, i64 0, i64 0
  %204 = load i32, ptr %11, align 4, !tbaa !5
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds i8, ptr %203, i64 %205
  %207 = getelementptr inbounds [5 x i8], ptr %19, i64 0, i64 0
  %208 = load i32, ptr %18, align 4, !tbaa !5
  %209 = add nsw i32 %208, 1
  %210 = sext i32 %209 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %206, ptr align 1 %207, i64 %210, i1 false)
  %211 = load i32, ptr %18, align 4, !tbaa !5
  %212 = load i32, ptr %11, align 4, !tbaa !5
  %213 = add nsw i32 %212, %211
  store i32 %213, ptr %11, align 4, !tbaa !5
  store i8 1, ptr %12, align 1, !tbaa !14
  store i32 0, ptr %16, align 4
  br label %214

214:                                              ; preds = %200, %192
  call void @llvm.lifetime.end.p0(i64 5, ptr %19) #8
  br label %215

215:                                              ; preds = %214, %166
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  %216 = load i32, ptr %16, align 4
  switch i32 %216, label %218 [
    i32 0, label %217
  ]

217:                                              ; preds = %215
  store i32 0, ptr %16, align 4
  br label %218

218:                                              ; preds = %217, %215
  call void @llvm.lifetime.end.p0(i64 2, ptr %17) #8
  %219 = load i32, ptr %16, align 4
  switch i32 %219, label %387 [
    i32 0, label %220
    i32 3, label %221
  ]

220:                                              ; preds = %218
  br label %221

221:                                              ; preds = %220, %218
  %222 = load ptr, ptr %14, align 8, !tbaa !9
  %223 = getelementptr inbounds i16, ptr %222, i32 1
  store ptr %223, ptr %14, align 8, !tbaa !9
  br label %141

224:                                              ; preds = %145
  %225 = load ptr, ptr %4, align 8, !tbaa !9
  %226 = getelementptr inbounds %struct.ImGuiContext, ptr %225, i32 0, i32 2
  %227 = getelementptr inbounds %struct.ImGuiIO, ptr %226, i32 0, i32 101
  call void @_ZN8ImVectorItE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %227, i32 noundef 0)
  %228 = load i32, ptr %3, align 4, !tbaa !5
  %229 = and i32 %228, 1
  %230 = icmp ne i32 %229, 0
  br i1 %230, label %231, label %253

231:                                              ; preds = %224
  %232 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyji(i32 noundef 523, i32 noundef 0, i32 noundef 1)
  br i1 %232, label %233, label %253

233:                                              ; preds = %231
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %234 = load ptr, ptr %5, align 8, !tbaa !9
  %235 = getelementptr inbounds %struct.ImGuiTypingSelectState, ptr %234, i32 0, i32 1
  %236 = getelementptr inbounds [64 x i8], ptr %235, i64 0, i64 0
  %237 = load ptr, ptr %5, align 8, !tbaa !9
  %238 = getelementptr inbounds %struct.ImGuiTypingSelectState, ptr %237, i32 0, i32 1
  %239 = getelementptr inbounds [64 x i8], ptr %238, i64 0, i64 0
  %240 = load i32, ptr %11, align 4, !tbaa !5
  %241 = sext i32 %240 to i64
  %242 = getelementptr inbounds i8, ptr %239, i64 %241
  %243 = call noundef ptr @_Z31ImTextFindPreviousUtf8CodepointPKcS0_(ptr noundef %236, ptr noundef %242)
  store ptr %243, ptr %20, align 8, !tbaa !9
  %244 = load ptr, ptr %20, align 8, !tbaa !9
  store i8 0, ptr %244, align 1, !tbaa !13
  %245 = load ptr, ptr %20, align 8, !tbaa !9
  %246 = load ptr, ptr %5, align 8, !tbaa !9
  %247 = getelementptr inbounds %struct.ImGuiTypingSelectState, ptr %246, i32 0, i32 1
  %248 = getelementptr inbounds [64 x i8], ptr %247, i64 0, i64 0
  %249 = ptrtoint ptr %245 to i64
  %250 = ptrtoint ptr %248 to i64
  %251 = sub i64 %249, %250
  %252 = trunc i64 %251 to i32
  store i32 %252, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %253

253:                                              ; preds = %233, %231, %224
  %254 = load i32, ptr %11, align 4, !tbaa !5
  %255 = icmp eq i32 %254, 0
  br i1 %255, label %256, label %257

256:                                              ; preds = %253
  store ptr null, ptr %2, align 8
  store i32 1, ptr %16, align 4
  br label %385

257:                                              ; preds = %253
  %258 = load i8, ptr %12, align 1, !tbaa !14, !range !97, !noundef !98
  %259 = trunc i8 %258 to i1
  br i1 %259, label %260, label %277

260:                                              ; preds = %257
  %261 = load ptr, ptr %4, align 8, !tbaa !9
  %262 = getelementptr inbounds %struct.ImGuiContext, ptr %261, i32 0, i32 114
  %263 = load i32, ptr %262, align 4, !tbaa !16
  %264 = load ptr, ptr %5, align 8, !tbaa !9
  %265 = getelementptr inbounds %struct.ImGuiTypingSelectState, ptr %264, i32 0, i32 2
  store i32 %263, ptr %265, align 8, !tbaa !96
  %266 = load ptr, ptr %4, align 8, !tbaa !9
  %267 = getelementptr inbounds %struct.ImGuiContext, ptr %266, i32 0, i32 12
  %268 = load i32, ptr %267, align 8, !tbaa !107
  %269 = load ptr, ptr %5, align 8, !tbaa !9
  %270 = getelementptr inbounds %struct.ImGuiTypingSelectState, ptr %269, i32 0, i32 3
  store i32 %268, ptr %270, align 4, !tbaa !108
  %271 = load ptr, ptr %4, align 8, !tbaa !9
  %272 = getelementptr inbounds %struct.ImGuiContext, ptr %271, i32 0, i32 11
  %273 = load double, ptr %272, align 8, !tbaa !100
  %274 = fptrunc double %273 to float
  %275 = load ptr, ptr %5, align 8, !tbaa !9
  %276 = getelementptr inbounds %struct.ImGuiTypingSelectState, ptr %275, i32 0, i32 4
  store float %274, ptr %276, align 8, !tbaa !99
  br label %277

277:                                              ; preds = %260, %257
  %278 = load i32, ptr %3, align 4, !tbaa !5
  %279 = load ptr, ptr %6, align 8, !tbaa !9
  %280 = getelementptr inbounds %struct.ImGuiTypingSelectRequest, ptr %279, i32 0, i32 0
  store i32 %278, ptr %280, align 8, !tbaa !109
  %281 = load i32, ptr %11, align 4, !tbaa !5
  %282 = load ptr, ptr %6, align 8, !tbaa !9
  %283 = getelementptr inbounds %struct.ImGuiTypingSelectRequest, ptr %282, i32 0, i32 1
  store i32 %281, ptr %283, align 4, !tbaa !110
  %284 = load ptr, ptr %5, align 8, !tbaa !9
  %285 = getelementptr inbounds %struct.ImGuiTypingSelectState, ptr %284, i32 0, i32 1
  %286 = getelementptr inbounds [64 x i8], ptr %285, i64 0, i64 0
  %287 = load ptr, ptr %6, align 8, !tbaa !9
  %288 = getelementptr inbounds %struct.ImGuiTypingSelectRequest, ptr %287, i32 0, i32 2
  store ptr %286, ptr %288, align 8, !tbaa !111
  %289 = load ptr, ptr %5, align 8, !tbaa !9
  %290 = getelementptr inbounds %struct.ImGuiTypingSelectState, ptr %289, i32 0, i32 3
  %291 = load i32, ptr %290, align 4, !tbaa !108
  %292 = load ptr, ptr %4, align 8, !tbaa !9
  %293 = getelementptr inbounds %struct.ImGuiContext, ptr %292, i32 0, i32 12
  %294 = load i32, ptr %293, align 8, !tbaa !107
  %295 = icmp eq i32 %291, %294
  %296 = load ptr, ptr %6, align 8, !tbaa !9
  %297 = getelementptr inbounds %struct.ImGuiTypingSelectRequest, ptr %296, i32 0, i32 3
  %298 = zext i1 %295 to i8
  store i8 %298, ptr %297, align 8, !tbaa !112
  %299 = load ptr, ptr %6, align 8, !tbaa !9
  %300 = getelementptr inbounds %struct.ImGuiTypingSelectRequest, ptr %299, i32 0, i32 4
  store i8 0, ptr %300, align 1, !tbaa !113
  %301 = load ptr, ptr %6, align 8, !tbaa !9
  %302 = getelementptr inbounds %struct.ImGuiTypingSelectRequest, ptr %301, i32 0, i32 5
  store i8 0, ptr %302, align 2, !tbaa !106
  %303 = load i32, ptr %3, align 4, !tbaa !5
  %304 = and i32 %303, 2
  %305 = icmp ne i32 %304, 0
  br i1 %305, label %306, label %383

306:                                              ; preds = %277
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %307 = load ptr, ptr %6, align 8, !tbaa !9
  %308 = getelementptr inbounds %struct.ImGuiTypingSelectRequest, ptr %307, i32 0, i32 2
  %309 = load ptr, ptr %308, align 8, !tbaa !111
  store ptr %309, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %310 = load ptr, ptr %6, align 8, !tbaa !9
  %311 = getelementptr inbounds %struct.ImGuiTypingSelectRequest, ptr %310, i32 0, i32 2
  %312 = load ptr, ptr %311, align 8, !tbaa !111
  %313 = load ptr, ptr %6, align 8, !tbaa !9
  %314 = getelementptr inbounds %struct.ImGuiTypingSelectRequest, ptr %313, i32 0, i32 1
  %315 = load i32, ptr %314, align 4, !tbaa !110
  %316 = sext i32 %315 to i64
  %317 = getelementptr inbounds i8, ptr %312, i64 %316
  store ptr %317, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  %318 = load ptr, ptr %21, align 8, !tbaa !9
  %319 = load ptr, ptr %22, align 8, !tbaa !9
  %320 = call noundef i32 @_Z28ImTextCountUtf8BytesFromCharPKcS0_(ptr noundef %318, ptr noundef %319)
  store i32 %320, ptr %23, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %321 = load ptr, ptr %21, align 8, !tbaa !9
  %322 = load i32, ptr %23, align 4, !tbaa !5
  %323 = sext i32 %322 to i64
  %324 = getelementptr inbounds i8, ptr %321, i64 %323
  store ptr %324, ptr %24, align 8, !tbaa !9
  br label %325

325:                                              ; preds = %338, %306
  %326 = load ptr, ptr %24, align 8, !tbaa !9
  %327 = load ptr, ptr %22, align 8, !tbaa !9
  %328 = icmp ult ptr %326, %327
  br i1 %328, label %329, label %343

329:                                              ; preds = %325
  %330 = load ptr, ptr %21, align 8, !tbaa !9
  %331 = load ptr, ptr %24, align 8, !tbaa !9
  %332 = load i32, ptr %23, align 4, !tbaa !5
  %333 = sext i32 %332 to i64
  %334 = call i32 @memcmp(ptr noundef %330, ptr noundef %331, i64 noundef %333) #9
  %335 = icmp ne i32 %334, 0
  br i1 %335, label %336, label %337

336:                                              ; preds = %329
  br label %343

337:                                              ; preds = %329
  br label %338

338:                                              ; preds = %337
  %339 = load i32, ptr %23, align 4, !tbaa !5
  %340 = load ptr, ptr %24, align 8, !tbaa !9
  %341 = sext i32 %339 to i64
  %342 = getelementptr inbounds i8, ptr %340, i64 %341
  store ptr %342, ptr %24, align 8, !tbaa !9
  br label %325, !llvm.loop !114

343:                                              ; preds = %336, %325
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  %344 = load ptr, ptr %24, align 8, !tbaa !9
  %345 = load ptr, ptr %22, align 8, !tbaa !9
  %346 = icmp eq ptr %344, %345
  br i1 %346, label %347, label %353

347:                                              ; preds = %343
  %348 = load ptr, ptr %6, align 8, !tbaa !9
  %349 = getelementptr inbounds %struct.ImGuiTypingSelectRequest, ptr %348, i32 0, i32 1
  %350 = load i32, ptr %349, align 4, !tbaa !110
  %351 = load i32, ptr %23, align 4, !tbaa !5
  %352 = sdiv i32 %350, %351
  br label %354

353:                                              ; preds = %343
  br label %354

354:                                              ; preds = %353, %347
  %355 = phi i32 [ %352, %347 ], [ 0, %353 ]
  store i32 %355, ptr %25, align 4, !tbaa !5
  %356 = load i32, ptr %25, align 4, !tbaa !5
  %357 = icmp sgt i32 %356, 0
  br i1 %357, label %363, label %358

358:                                              ; preds = %354
  %359 = load ptr, ptr %5, align 8, !tbaa !9
  %360 = getelementptr inbounds %struct.ImGuiTypingSelectState, ptr %359, i32 0, i32 5
  %361 = load i8, ptr %360, align 4, !tbaa !105, !range !97, !noundef !98
  %362 = trunc i8 %361 to i1
  br label %363

363:                                              ; preds = %358, %354
  %364 = phi i1 [ true, %354 ], [ %362, %358 ]
  %365 = load ptr, ptr %6, align 8, !tbaa !9
  %366 = getelementptr inbounds %struct.ImGuiTypingSelectRequest, ptr %365, i32 0, i32 4
  %367 = zext i1 %364 to i8
  store i8 %367, ptr %366, align 1, !tbaa !113
  %368 = load i32, ptr %23, align 4, !tbaa !5
  %369 = trunc i32 %368 to i8
  %370 = load ptr, ptr %6, align 8, !tbaa !9
  %371 = getelementptr inbounds %struct.ImGuiTypingSelectRequest, ptr %370, i32 0, i32 5
  store i8 %369, ptr %371, align 2, !tbaa !106
  %372 = load i32, ptr %25, align 4, !tbaa !5
  %373 = icmp sge i32 %372, 4
  %374 = zext i1 %373 to i32
  %375 = load ptr, ptr %5, align 8, !tbaa !9
  %376 = getelementptr inbounds %struct.ImGuiTypingSelectState, ptr %375, i32 0, i32 5
  %377 = load i8, ptr %376, align 4, !tbaa !105, !range !97, !noundef !98
  %378 = trunc i8 %377 to i1
  %379 = zext i1 %378 to i32
  %380 = or i32 %379, %374
  %381 = icmp ne i32 %380, 0
  %382 = zext i1 %381 to i8
  store i8 %382, ptr %376, align 4, !tbaa !105
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br label %383

383:                                              ; preds = %363, %277
  %384 = load ptr, ptr %6, align 8, !tbaa !9
  store ptr %384, ptr %2, align 8
  store i32 1, ptr %16, align 4
  br label %385

385:                                              ; preds = %383, %256
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  %386 = load ptr, ptr %2, align 8
  ret ptr %386

387:                                              ; preds = %218
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN22ImGuiTypingSelectState5ClearEv(ptr noundef nonnull align 8 dereferenceable(101)) #6 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL14ImCharIsBlankWj(i32 noundef) #7

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!17, !6, i64 19708}
!17 = !{!"_ZTS12ImGuiContext", !15, i64 0, !15, i64 1, !18, i64 8, !23, i64 14624, !26, i64 14840, !6, i64 15972, !6, i64 15976, !10, i64 15984, !12, i64 15992, !12, i64 15996, !27, i64 16000, !30, i64 16528, !6, i64 16536, !6, i64 16540, !6, i64 16544, !6, i64 16548, !15, i64 16552, !15, i64 16553, !15, i64 16554, !15, i64 16555, !15, i64 16556, !10, i64 16560, !31, i64 16568, !31, i64 16584, !21, i64 16600, !6, i64 16604, !32, i64 16608, !32, i64 16624, !32, i64 16640, !33, i64 16656, !34, i64 16672, !6, i64 16688, !19, i64 16692, !6, i64 16700, !10, i64 16704, !10, i64 16712, !10, i64 16720, !10, i64 16728, !10, i64 16736, !19, i64 16744, !6, i64 16752, !6, i64 16756, !12, i64 16760, !19, i64 16764, !19, i64 16772, !6, i64 16780, !6, i64 16784, !6, i64 16788, !15, i64 16792, !15, i64 16793, !12, i64 16796, !12, i64 16800, !6, i64 16804, !6, i64 16808, !12, i64 16812, !15, i64 16816, !15, i64 16817, !15, i64 16818, !15, i64 16819, !15, i64 16820, !15, i64 16821, !15, i64 16822, !6, i64 16823, !19, i64 16824, !10, i64 16832, !36, i64 16840, !6, i64 16844, !15, i64 16848, !15, i64 16849, !10, i64 16856, !6, i64 16864, !12, i64 16868, !30, i64 16872, !30, i64 16880, !30, i64 16888, !37, i64 16896, !7, i64 16916, !38, i64 18768, !6, i64 19112, !15, i64 19116, !6, i64 19120, !6, i64 19124, !6, i64 19128, !6, i64 19132, !6, i64 19136, !40, i64 19144, !42, i64 19176, !44, i64 19256, !15, i64 19416, !6, i64 19420, !46, i64 19424, !47, i64 19440, !48, i64 19456, !49, i64 19472, !50, i64 19488, !51, i64 19504, !52, i64 19520, !52, i64 19536, !53, i64 19552, !6, i64 19568, !54, i64 19576, !12, i64 19592, !10, i64 19600, !10, i64 19608, !10, i64 19616, !6, i64 19624, !55, i64 19632, !6, i64 19680, !6, i64 19684, !6, i64 19688, !10, i64 19696, !6, i64 19704, !6, i64 19708, !49, i64 19712, !6, i64 19728, !6, i64 19732, !6, i64 19736, !6, i64 19740, !6, i64 19744, !12, i64 19748, !6, i64 19752, !6, i64 19756, !6, i64 19760, !6, i64 19764, !6, i64 19768, !36, i64 19772, !56, i64 19776, !41, i64 19784, !15, i64 19792, !15, i64 19793, !15, i64 19794, !15, i64 19795, !15, i64 19796, !15, i64 19797, !15, i64 19798, !57, i64 19800, !15, i64 19864, !15, i64 19865, !15, i64 19866, !6, i64 19868, !6, i64 19872, !6, i64 19876, !6, i64 19880, !6, i64 19884, !6, i64 19888, !43, i64 19892, !43, i64 19908, !6, i64 19924, !6, i64 19928, !6, i64 19932, !57, i64 19936, !57, i64 20000, !57, i64 20064, !57, i64 20128, !6, i64 20192, !6, i64 20196, !10, i64 20200, !10, i64 20208, !10, i64 20216, !12, i64 20224, !12, i64 20228, !15, i64 20232, !19, i64 20236, !19, i64 20244, !12, i64 20252, !15, i64 20256, !15, i64 20257, !15, i64 20258, !6, i64 20260, !6, i64 20264, !6, i64 20268, !58, i64 20272, !43, i64 20336, !43, i64 20352, !6, i64 20368, !6, i64 20372, !12, i64 20376, !6, i64 20380, !6, i64 20384, !6, i64 20388, !6, i64 20392, !59, i64 20400, !7, i64 20416, !6, i64 20432, !60, i64 20440, !10, i64 20456, !6, i64 20464, !6, i64 20468, !61, i64 20472, !62, i64 20488, !64, i64 20528, !65, i64 20544, !10, i64 20560, !66, i64 20568, !68, i64 20608, !69, i64 20624, !6, i64 20640, !6, i64 20644, !12, i64 20648, !12, i64 20652, !6, i64 20656, !6, i64 20660, !6, i64 20664, !12, i64 20668, !19, i64 20672, !70, i64 20680, !74, i64 24408, !75, i64 24432, !6, i64 24552, !6, i64 24556, !6, i64 24560, !6, i64 24564, !12, i64 24568, !12, i64 24572, !6, i64 24576, !28, i64 24580, !77, i64 24596, !43, i64 24644, !15, i64 24660, !12, i64 24664, !12, i64 24668, !15, i64 24672, !15, i64 24673, !12, i64 24676, !12, i64 24680, !12, i64 24684, !12, i64 24688, !20, i64 24692, !20, i64 24694, !20, i64 24696, !71, i64 24704, !78, i64 24720, !79, i64 24736, !81, i64 24840, !81, i64 24856, !6, i64 24872, !82, i64 24880, !10, i64 24936, !15, i64 24944, !12, i64 24948, !85, i64 24952, !86, i64 24968, !87, i64 24984, !88, i64 25000, !89, i64 25016, !6, i64 25032, !7, i64 25040, !15, i64 25128, !90, i64 25132, !10, i64 25136, !85, i64 25144, !10, i64 25160, !10, i64 25168, !12, i64 25176, !15, i64 25180, !6, i64 25184, !6, i64 25188, !6, i64 25192, !6, i64 25196, !85, i64 25200, !91, i64 25216, !6, i64 25240, !7, i64 25244, !7, i64 25245, !15, i64 25246, !6, i64 25248, !7, i64 25252, !15, i64 25253, !7, i64 25254, !6, i64 25256, !12, i64 25260, !28, i64 25264, !92, i64 25280, !93, i64 25304, !95, i64 25344, !10, i64 25408, !7, i64 25416, !6, i64 25656, !6, i64 25660, !12, i64 25664, !6, i64 25668, !6, i64 25672, !6, i64 25676, !71, i64 25680, !7, i64 25696}
!18 = !{!"_ZTS7ImGuiIO", !6, i64 0, !6, i64 4, !19, i64 8, !12, i64 16, !12, i64 20, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !12, i64 56, !15, i64 60, !10, i64 64, !19, i64 72, !15, i64 80, !15, i64 81, !15, i64 82, !15, i64 83, !15, i64 84, !15, i64 85, !15, i64 86, !15, i64 87, !15, i64 88, !15, i64 89, !15, i64 90, !15, i64 91, !15, i64 92, !15, i64 93, !15, i64 94, !15, i64 95, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !12, i64 116, !15, i64 120, !15, i64 121, !15, i64 122, !15, i64 123, !15, i64 124, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !20, i64 200, !15, i64 202, !15, i64 203, !15, i64 204, !15, i64 205, !15, i64 206, !15, i64 207, !15, i64 208, !12, i64 212, !6, i64 216, !6, i64 220, !6, i64 224, !6, i64 228, !19, i64 232, !7, i64 240, !7, i64 2904, !7, i64 3572, !10, i64 3640, !19, i64 3648, !7, i64 3656, !12, i64 3664, !12, i64 3668, !21, i64 3672, !6, i64 3676, !15, i64 3680, !15, i64 3681, !15, i64 3682, !15, i64 3683, !6, i64 3684, !7, i64 3688, !15, i64 14344, !19, i64 14348, !7, i64 14356, !7, i64 14400, !7, i64 14440, !7, i64 14445, !7, i64 14450, !7, i64 14460, !7, i64 14470, !7, i64 14475, !7, i64 14480, !15, i64 14485, !7, i64 14488, !7, i64 14508, !7, i64 14528, !7, i64 14568, !12, i64 14588, !15, i64 14592, !15, i64 14593, !7, i64 14594, !15, i64 14595, !20, i64 14596, !22, i64 14600}
!19 = !{!"_ZTS6ImVec2", !12, i64 0, !12, i64 4}
!20 = !{!"short", !7, i64 0}
!21 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!22 = !{!"_ZTS8ImVectorItE", !6, i64 0, !6, i64 4, !10, i64 8}
!23 = !{!"_ZTS15ImGuiPlatformIO", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !24, i64 184, !25, i64 200}
!24 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !6, i64 0, !6, i64 4, !10, i64 8}
!25 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !6, i64 0, !6, i64 4, !10, i64 8}
!26 = !{!"_ZTS10ImGuiStyle", !12, i64 0, !12, i64 4, !19, i64 8, !12, i64 16, !12, i64 20, !19, i64 24, !19, i64 32, !6, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !19, i64 60, !12, i64 68, !12, i64 72, !19, i64 76, !19, i64 84, !19, i64 92, !19, 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, !12, i64 148, !12, i64 152, !6, i64 156, !19, i64 160, !19, i64 168, !12, i64 176, !19, i64 180, !19, i64 188, !19, i64 196, !19, i64 204, !12, i64 212, !12, i64 216, !15, i64 220, !15, i64 221, !15, i64 222, !12, i64 224, !12, i64 228, !7, i64 232, !12, i64 1112, !12, i64 1116, !12, i64 1120, !6, i64 1124, !6, i64 1128}
!27 = !{!"_ZTS20ImDrawListSharedData", !19, i64 0, !10, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !28, i64 28, !6, i64 44, !29, i64 48, !7, i64 64, !12, i64 448, !7, i64 452, !10, i64 520}
!28 = !{!"_ZTS6ImVec4", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!29 = !{!"_ZTS8ImVectorI6ImVec2E", !6, i64 0, !6, i64 4, !10, i64 8}
!30 = !{!"double", !7, i64 0}
!31 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !6, i64 0, !6, i64 4, !10, i64 8}
!32 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !6, i64 0, !6, i64 4, !10, i64 8}
!33 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!34 = !{!"_ZTS12ImGuiStorage", !35, i64 0}
!35 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !6, i64 0, !6, i64 4, !10, i64 8}
!36 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!37 = !{!"_ZTS10ImBitArrayILi154ELin512EE", !7, i64 0}
!38 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !39, i64 312, !39, i64 328}
!39 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!40 = !{!"_ZTS17ImGuiNextItemData", !6, i64 0, !6, i64 4, !41, i64 8, !12, i64 16, !6, i64 20, !15, i64 24, !6, i64 25}
!41 = !{!"long long", !7, i64 0}
!42 = !{!"_ZTS17ImGuiLastItemData", !6, i64 0, !6, i64 4, !6, i64 8, !43, i64 12, !43, i64 28, !43, i64 44, !43, i64 60}
!43 = !{!"_ZTS6ImRect", !19, i64 0, !19, i64 8}
!44 = !{!"_ZTS19ImGuiNextWindowData", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !19, i64 20, !19, i64 28, !19, i64 36, !19, i64 44, !19, i64 52, !6, i64 60, !15, i64 64, !15, i64 65, !43, i64 68, !10, i64 88, !10, i64 96, !12, i64 104, !6, i64 108, !6, i64 112, !45, i64 116, !19, i64 148}
!45 = !{!"_ZTS16ImGuiWindowClass", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !15, i64 28, !15, i64 29}
!46 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !6, i64 0, !6, i64 4, !10, i64 8}
!47 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !6, i64 0, !6, i64 4, !10, i64 8}
!48 = !{!"_ZTS8ImVectorIP6ImFontE", !6, i64 0, !6, i64 4, !10, i64 8}
!49 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!50 = !{!"_ZTS8ImVectorIiE", !6, i64 0, !6, i64 4, !10, i64 8}
!51 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!52 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!53 = !{!"_ZTS8ImVectorI20ImGuiNavTreeNodeDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!54 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !6, i64 0, !6, i64 4, !10, i64 8}
!55 = !{!"_ZTS20ImGuiPlatformMonitor", !19, i64 0, !19, i64 8, !19, i64 16, !19, i64 24, !12, i64 32, !10, i64 40}
!56 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!57 = !{!"_ZTS16ImGuiNavItemData", !10, i64 0, !6, i64 8, !6, i64 12, !43, i64 16, !6, i64 32, !41, i64 40, !12, i64 48, !12, i64 52, !12, i64 56}
!58 = !{!"_ZTS12ImGuiPayload", !10, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !7, i64 24, !15, i64 57, !15, i64 58}
!59 = !{!"_ZTS8ImVectorIhE", !6, i64 0, !6, i64 4, !10, i64 8}
!60 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!61 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !6, i64 0, !6, i64 4, !10, i64 8}
!62 = !{!"_ZTS6ImPoolI10ImGuiTableE", !63, i64 0, !34, i64 16, !6, i64 32, !6, i64 36}
!63 = !{!"_ZTS8ImVectorI10ImGuiTableE", !6, i64 0, !6, i64 4, !10, i64 8}
!64 = !{!"_ZTS8ImVectorIfE", !6, i64 0, !6, i64 4, !10, i64 8}
!65 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !6, i64 0, !6, i64 4, !10, i64 8}
!66 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !67, i64 0, !34, i64 16, !6, i64 32, !6, i64 36}
!67 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !6, i64 0, !6, i64 4, !10, i64 8}
!68 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !6, i64 0, !6, i64 4, !10, i64 8}
!69 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !6, i64 0, !6, i64 4, !10, i64 8}
!70 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !22, i64 24, !71, i64 40, !71, i64 56, !15, i64 72, !6, i64 76, !12, i64 80, !72, i64 84, !12, i64 3712, !15, i64 3716, !15, i64 3717, !15, i64 3718, !6, i64 3720}
!71 = !{!"_ZTS8ImVectorIcE", !6, i64 0, !6, i64 4, !10, i64 8}
!72 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !6, i64 0, !6, i64 4, !6, i64 8, !7, i64 12, !6, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !12, i64 28, !73, i64 32}
!73 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !20, i64 3582, !20, i64 3584, !6, i64 3588, !6, i64 3592}
!74 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !6, i64 0, !71, i64 8}
!75 = !{!"_ZTS6ImFont", !64, i64 0, !12, i64 16, !12, i64 20, !22, i64 24, !76, i64 40, !10, i64 56, !10, i64 64, !10, i64 72, !20, i64 80, !20, i64 82, !20, i64 84, !20, i64 86, !12, i64 88, !12, i64 92, !15, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !6, i64 112, !7, i64 116}
!76 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !6, i64 0, !6, i64 4, !10, i64 8}
!77 = !{!"_ZTS21ImGuiComboPreviewData", !43, i64 0, !19, i64 16, !19, i64 24, !19, i64 32, !12, i64 40, !6, i64 44}
!78 = !{!"_ZTS8ImVectorIjE", !6, i64 0, !6, i64 4, !10, i64 8}
!79 = !{!"_ZTS22ImGuiTypingSelectState", !80, i64 0, !7, i64 24, !6, i64 88, !6, i64 92, !12, i64 96, !15, i64 100}
!80 = !{!"_ZTS24ImGuiTypingSelectRequest", !6, i64 0, !6, i64 4, !10, i64 8, !15, i64 16, !15, i64 17, !7, i64 18}
!81 = !{!"_ZTS20ImGuiPlatformImeData", !15, i64 0, !19, i64 4, !12, i64 12}
!82 = !{!"_ZTS16ImGuiDockContext", !34, i64 0, !83, i64 16, !84, i64 32, !15, i64 48}
!83 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !6, i64 0, !6, i64 4, !10, i64 8}
!84 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !6, i64 0, !6, i64 4, !10, i64 8}
!85 = !{!"_ZTS15ImGuiTextBuffer", !71, i64 0}
!86 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !6, i64 0, !6, i64 4, !10, i64 8}
!87 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !71, i64 0}
!88 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !71, i64 0}
!89 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !6, i64 0, !6, i64 4, !10, i64 8}
!90 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!91 = !{!"_ZTS14ImGuiTextIndex", !50, i64 0, !6, i64 16}
!92 = !{!"_ZTS18ImGuiMetricsConfig", !15, i64 0, !15, i64 1, !15, i64 2, !15, i64 3, !15, i64 4, !15, i64 5, !15, i64 6, !15, i64 7, !15, i64 8, !15, i64 9, !6, i64 12, !6, i64 16}
!93 = !{!"_ZTS16ImGuiIDStackTool", !6, i64 0, !6, i64 4, !6, i64 8, !94, i64 16, !15, i64 32, !12, i64 36}
!94 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !6, i64 0, !6, i64 4, !10, i64 8}
!95 = !{!"_ZTS19ImGuiDebugAllocInfo", !6, i64 0, !6, i64 4, !20, i64 8, !7, i64 12}
!96 = !{!79, !6, i64 88}
!97 = !{i8 0, i8 2}
!98 = !{}
!99 = !{!79, !12, i64 96}
!100 = !{!17, !30, i64 16528}
!101 = !{!17, !15, i64 19796}
!102 = !{!17, !6, i64 16804}
!103 = !{!17, !6, i64 19728}
!104 = !{!20, !20, i64 0}
!105 = !{!79, !15, i64 100}
!106 = !{!80, !7, i64 18}
!107 = !{!17, !6, i64 16536}
!108 = !{!79, !6, i64 92}
!109 = !{!80, !6, i64 0}
!110 = !{!80, !6, i64 4}
!111 = !{!80, !10, i64 8}
!112 = !{!80, !15, i64 16}
!113 = !{!80, !15, i64 17}
!114 = distinct !{!114, !115}
!115 = !{!"llvm.loop.mustprogress"}


; 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"

@GImGui = external local_unnamed_addr global ptr, align 8

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN5ImGui22GetTypingSelectRequestEi(i32 noundef %0) local_unnamed_addr #5 {
  %2 = alloca i16, align 2
  %3 = alloca [5 x i8], align 1
  %4 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %4, i64 24736
  %6 = getelementptr inbounds i8, ptr %4, i64 24760
  %7 = load i8, ptr %6, align 8, !tbaa !9
  %.not = icmp eq i8 %7, 0
  br i1 %.not, label %50, label %8

8:                                                ; preds = %1
  %9 = getelementptr inbounds i8, ptr %4, i64 19708
  %10 = load i32, ptr %9, align 4, !tbaa !10
  %11 = getelementptr inbounds i8, ptr %4, i64 24824
  %12 = load i32, ptr %11, align 8, !tbaa !93
  %13 = icmp ne i32 %10, %12
  %14 = getelementptr inbounds i8, ptr %4, i64 24832
  %15 = load float, ptr %14, align 8, !tbaa !94
  %16 = fadd float %15, 0x3FFCCCCCC0000000
  %17 = fpext float %16 to double
  %18 = getelementptr inbounds i8, ptr %4, i64 16528
  %19 = load double, ptr %18, align 8, !tbaa !95
  %20 = fcmp ogt double %19, %17
  %21 = or i1 %13, %20
  %22 = getelementptr inbounds i8, ptr %4, i64 19796
  %23 = load i8, ptr %22, align 4, !tbaa !96, !range !97, !noundef !98
  %24 = zext i1 %21 to i8
  %25 = or i8 %23, %24
  %26 = getelementptr inbounds i8, ptr %4, i64 16804
  %27 = load i32, ptr %26, align 4, !tbaa !99
  %.not107 = icmp eq i32 %27, 0
  br i1 %.not107, label %33, label %28

28:                                               ; preds = %8
  %29 = getelementptr inbounds i8, ptr %4, i64 19728
  %30 = load i32, ptr %29, align 8, !tbaa !100
  %31 = icmp eq i32 %30, 0
  %32 = zext i1 %31 to i8
  br label %33

33:                                               ; preds = %28, %8
  %34 = phi i8 [ 0, %8 ], [ %32, %28 ]
  %35 = or i8 %25, %34
  %36 = tail call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 526, i1 noundef zeroext true)
  br i1 %36, label %40, label %37

37:                                               ; preds = %33
  %38 = tail call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 525, i1 noundef zeroext true)
  %39 = zext i1 %38 to i8
  br label %40

40:                                               ; preds = %37, %33
  %41 = phi i8 [ 1, %33 ], [ %39, %37 ]
  %42 = or i8 %35, %41
  %43 = tail call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyb(i32 noundef 523, i1 noundef zeroext true)
  %44 = and i32 %0, 1
  %45 = icmp eq i32 %44, 0
  %46 = and i1 %45, %43
  %47 = zext i1 %46 to i8
  %48 = or i8 %42, %47
  %.not108 = icmp eq i8 %48, 0
  br i1 %.not108, label %50, label %49

49:                                               ; preds = %40
  tail call void @_ZN22ImGuiTypingSelectState5ClearEv(ptr noundef nonnull align 8 dereferenceable(101) %5)
  br label %50

50:                                               ; preds = %40, %49, %1
  %51 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %6) #9
  %52 = trunc i64 %51 to i32
  %53 = getelementptr inbounds i8, ptr %4, i64 14608
  %54 = tail call noundef ptr @_ZN8ImVectorItE5beginEv(ptr noundef nonnull align 8 dereferenceable(16) %53)
  %55 = tail call noundef ptr @_ZN8ImVectorItE3endEv(ptr noundef nonnull align 8 dereferenceable(16) %53)
  %.not109116 = icmp eq ptr %54, %55
  br i1 %.not109116, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %50
  %56 = getelementptr inbounds i8, ptr %2, i64 2
  %57 = getelementptr inbounds i8, ptr %4, i64 24836
  %58 = getelementptr inbounds i8, ptr %4, i64 24754
  br label %60

._crit_edge:                                      ; preds = %91, %50
  %.099.lcssa = phi i1 [ false, %50 ], [ %.2101, %91 ]
  %.098.lcssa = phi i32 [ %52, %50 ], [ %.3, %91 ]
  call void @_ZN8ImVectorItE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %53, i32 noundef 0)
  %59 = and i32 %0, 1
  %.not110 = icmp eq i32 %59, 0
  br i1 %.not110, label %103, label %93

60:                                               ; preds = %.lr.ph, %91
  %.098119 = phi i32 [ %52, %.lr.ph ], [ %.3, %91 ]
  %.099118 = phi i1 [ false, %.lr.ph ], [ %.2101, %91 ]
  %.0102117 = phi ptr [ %54, %.lr.ph ], [ %92, %91 ]
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %2) #10
  %61 = load i16, ptr %.0102117, align 2, !tbaa !101
  store i16 %61, ptr %2, align 2, !tbaa !101
  %62 = call noundef i32 @_Z27ImTextCountUtf8BytesFromStrPKtS0_(ptr noundef nonnull %2, ptr noundef nonnull %56)
  %63 = load i16, ptr %2, align 2, !tbaa !101
  %64 = zext i16 %63 to i32
  %65 = icmp ult i16 %63, 32
  br i1 %65, label %91, label %66

66:                                               ; preds = %60
  %67 = icmp eq i32 %.098119, 0
  br i1 %67, label %68, label %71

68:                                               ; preds = %66
  %69 = call noundef zeroext i1 @_ZL14ImCharIsBlankWj(i32 noundef %64)
  %70 = icmp sgt i32 %62, 63
  %or.cond = or i1 %70, %69
  br i1 %or.cond, label %91, label %._crit_edge121

._crit_edge121:                                   ; preds = %68
  %.pre = load i16, ptr %2, align 2, !tbaa !101
  %.pre129 = zext i16 %.pre to i32
  br label %72

71:                                               ; preds = %66
  %.old = add nsw i32 %62, %.098119
  %.old114 = icmp sgt i32 %.old, 63
  br i1 %.old114, label %91, label %72

72:                                               ; preds = %._crit_edge121, %71
  %.pre-phi = phi i32 [ %.pre129, %._crit_edge121 ], [ %64, %71 ]
  call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %3) #10
  %73 = call noundef ptr @_Z16ImTextCharToUtf8Pcj(ptr noundef nonnull %3, i32 noundef %.pre-phi)
  %74 = load i8, ptr %57, align 4, !tbaa !102, !range !97, !noundef !98
  %75 = trunc nuw i8 %74 to i1
  br i1 %75, label %76, label %84

76:                                               ; preds = %72
  %77 = load i8, ptr %58, align 2, !tbaa !103
  %78 = sext i8 %77 to i32
  %79 = icmp eq i32 %62, %78
  br i1 %79, label %80, label %83

80:                                               ; preds = %76
  %81 = sext i32 %62 to i64
  %bcmp113 = call i32 @bcmp(ptr nonnull %3, ptr nonnull %6, i64 %81)
  %82 = icmp eq i32 %bcmp113, 0
  br i1 %82, label %90, label %83

83:                                               ; preds = %80, %76
  call void @_ZN22ImGuiTypingSelectState5ClearEv(ptr noundef nonnull align 8 dereferenceable(101) %5)
  br label %84

84:                                               ; preds = %72, %83
  %.1 = phi i32 [ 0, %83 ], [ %.098119, %72 ]
  %85 = sext i32 %.1 to i64
  %86 = getelementptr inbounds i8, ptr %6, i64 %85
  %87 = add nsw i32 %62, 1
  %88 = sext i32 %87 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %86, ptr nonnull align 1 %3, i64 %88, i1 false)
  %89 = add nsw i32 %.1, %62
  br label %90

90:                                               ; preds = %80, %84
  %.2 = phi i32 [ %89, %84 ], [ %.098119, %80 ]
  call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %3) #10
  br label %91

91:                                               ; preds = %60, %68, %71, %90
  %.2101 = phi i1 [ true, %90 ], [ %.099118, %71 ], [ %.099118, %68 ], [ %.099118, %60 ]
  %.3 = phi i32 [ %.2, %90 ], [ %.098119, %71 ], [ 0, %68 ], [ %.098119, %60 ]
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %2) #10
  %92 = getelementptr inbounds i8, ptr %.0102117, i64 2
  %.not109 = icmp eq ptr %92, %55
  br i1 %.not109, label %._crit_edge, label %60

93:                                               ; preds = %._crit_edge
  %94 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyji(i32 noundef 523, i32 noundef 0, i32 noundef 1)
  br i1 %94, label %95, label %103

95:                                               ; preds = %93
  %96 = sext i32 %.098.lcssa to i64
  %97 = getelementptr inbounds i8, ptr %6, i64 %96
  %98 = call noundef ptr @_Z31ImTextFindPreviousUtf8CodepointPKcS0_(ptr noundef nonnull %6, ptr noundef nonnull %97)
  store i8 0, ptr %98, align 1, !tbaa !9
  %99 = ptrtoint ptr %98 to i64
  %100 = ptrtoint ptr %6 to i64
  %101 = sub i64 %99, %100
  %102 = trunc i64 %101 to i32
  br label %103

103:                                              ; preds = %95, %93, %._crit_edge
  %.4 = phi i32 [ %102, %95 ], [ %.098.lcssa, %93 ], [ %.098.lcssa, %._crit_edge ]
  %104 = icmp eq i32 %.4, 0
  br i1 %104, label %154, label %105

105:                                              ; preds = %103
  br i1 %.099.lcssa, label %106, label %._crit_edge122

._crit_edge122:                                   ; preds = %105
  %.phi.trans.insert = getelementptr inbounds i8, ptr %4, i64 24828
  %.pre123 = load i32, ptr %.phi.trans.insert, align 4, !tbaa !104
  %.phi.trans.insert124 = getelementptr inbounds i8, ptr %4, i64 16536
  %.pre125 = load i32, ptr %.phi.trans.insert124, align 8, !tbaa !105
  br label %117

106:                                              ; preds = %105
  %107 = getelementptr inbounds i8, ptr %4, i64 19708
  %108 = load i32, ptr %107, align 4, !tbaa !10
  %109 = getelementptr inbounds i8, ptr %4, i64 24824
  store i32 %108, ptr %109, align 8, !tbaa !93
  %110 = getelementptr inbounds i8, ptr %4, i64 16536
  %111 = load i32, ptr %110, align 8, !tbaa !105
  %112 = getelementptr inbounds i8, ptr %4, i64 24828
  store i32 %111, ptr %112, align 4, !tbaa !104
  %113 = getelementptr inbounds i8, ptr %4, i64 16528
  %114 = load double, ptr %113, align 8, !tbaa !95
  %115 = fptrunc double %114 to float
  %116 = getelementptr inbounds i8, ptr %4, i64 24832
  store float %115, ptr %116, align 8, !tbaa !94
  br label %117

117:                                              ; preds = %._crit_edge122, %106
  %118 = phi i32 [ %.pre125, %._crit_edge122 ], [ %111, %106 ]
  %119 = phi i32 [ %.pre123, %._crit_edge122 ], [ %111, %106 ]
  store i32 %0, ptr %5, align 8, !tbaa !106
  %120 = getelementptr inbounds i8, ptr %4, i64 24740
  store i32 %.4, ptr %120, align 4, !tbaa !107
  %121 = getelementptr inbounds i8, ptr %4, i64 24744
  store ptr %6, ptr %121, align 8, !tbaa !108
  %122 = icmp eq i32 %119, %118
  %123 = getelementptr inbounds i8, ptr %4, i64 24752
  %124 = zext i1 %122 to i8
  store i8 %124, ptr %123, align 8, !tbaa !109
  %125 = getelementptr inbounds i8, ptr %4, i64 24753
  store i8 0, ptr %125, align 1, !tbaa !110
  %126 = getelementptr inbounds i8, ptr %4, i64 24754
  store i8 0, ptr %126, align 2, !tbaa !103
  %127 = and i32 %0, 2
  %.not111 = icmp eq i32 %127, 0
  br i1 %.not111, label %154, label %128

128:                                              ; preds = %117
  %129 = sext i32 %.4 to i64
  %130 = getelementptr inbounds i8, ptr %6, i64 %129
  %131 = call noundef i32 @_Z28ImTextCountUtf8BytesFromCharPKcS0_(ptr noundef nonnull %6, ptr noundef nonnull %130)
  %132 = sext i32 %131 to i64
  br label %133

133:                                              ; preds = %135, %128
  %.pn = phi ptr [ %6, %128 ], [ %.097, %135 ]
  %.097 = getelementptr inbounds i8, ptr %.pn, i64 %132
  %134 = icmp ult ptr %.097, %130
  br i1 %134, label %135, label %136

135:                                              ; preds = %133
  %bcmp = call i32 @bcmp(ptr nonnull %6, ptr %.097, i64 %132)
  %.not112 = icmp eq i32 %bcmp, 0
  br i1 %.not112, label %133, label %136, !llvm.loop !111

136:                                              ; preds = %135, %133
  %137 = icmp eq ptr %.097, %130
  br i1 %137, label %138, label %.thread115

138:                                              ; preds = %136
  %139 = load i32, ptr %120, align 4, !tbaa !107
  %140 = sdiv i32 %139, %131
  %141 = icmp sgt i32 %140, 0
  br i1 %141, label %._crit_edge126, label %.thread115

._crit_edge126:                                   ; preds = %138
  %.phi.trans.insert127 = getelementptr inbounds i8, ptr %4, i64 24836
  %.pre128 = load i8, ptr %.phi.trans.insert127, align 4, !tbaa !102, !range !97
  br label %145

.thread115:                                       ; preds = %136, %138
  %142 = phi i32 [ %140, %138 ], [ 0, %136 ]
  %143 = getelementptr inbounds i8, ptr %4, i64 24836
  %144 = load i8, ptr %143, align 4, !tbaa !102, !range !97, !noundef !98
  br label %145

145:                                              ; preds = %._crit_edge126, %.thread115
  %146 = phi i8 [ %.pre128, %._crit_edge126 ], [ %144, %.thread115 ]
  %147 = phi i32 [ %140, %._crit_edge126 ], [ %142, %.thread115 ]
  %148 = phi i8 [ 1, %._crit_edge126 ], [ %144, %.thread115 ]
  store i8 %148, ptr %125, align 1, !tbaa !110
  %149 = trunc i32 %131 to i8
  store i8 %149, ptr %126, align 2, !tbaa !103
  %150 = icmp sgt i32 %147, 3
  %151 = getelementptr inbounds i8, ptr %4, i64 24836
  %152 = zext i1 %150 to i8
  %153 = or i8 %146, %152
  store i8 %153, ptr %151, align 4, !tbaa !102
  br label %154

154:                                              ; preds = %117, %145, %103
  %.0 = phi ptr [ null, %103 ], [ %5, %145 ], [ %5, %117 ]
  ret ptr %.0
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN22ImGuiTypingSelectState5ClearEv(ptr noundef nonnull align 8 dereferenceable(101)) local_unnamed_addr #6 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL14ImCharIsBlankWj(i32 noundef) local_unnamed_addr #7

declare noundef ptr @_Z16ImTextCharToUtf8Pcj(ptr noundef, i32 noundef) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN5ImGui12IsKeyPressedE8ImGuiKeyji(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

declare noundef ptr @_Z31ImTextFindPreviousUtf8CodepointPKcS0_(ptr noundef, ptr noundef) local_unnamed_addr #4

declare noundef i32 @_Z28ImTextCountUtf8BytesFromCharPKcS0_(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #8

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !14, i64 19708}
!11 = !{!"_ZTS12ImGuiContext", !12, i64 0, !12, i64 1, !13, i64 8, !20, i64 14624, !23, i64 14840, !14, i64 15972, !14, i64 15976, !6, i64 15984, !16, i64 15992, !16, i64 15996, !24, i64 16000, !27, i64 16528, !14, i64 16536, !14, i64 16540, !14, i64 16544, !14, i64 16548, !12, i64 16552, !12, i64 16553, !12, i64 16554, !12, i64 16555, !12, i64 16556, !6, i64 16560, !28, i64 16568, !28, i64 16584, !18, i64 16600, !14, i64 16604, !29, i64 16608, !29, i64 16624, !29, i64 16640, !30, i64 16656, !31, i64 16672, !14, i64 16688, !15, i64 16692, !14, i64 16700, !6, i64 16704, !6, i64 16712, !6, i64 16720, !6, i64 16728, !6, i64 16736, !15, i64 16744, !14, i64 16752, !14, i64 16756, !16, i64 16760, !15, i64 16764, !15, i64 16772, !14, i64 16780, !14, i64 16784, !14, i64 16788, !12, i64 16792, !12, i64 16793, !16, i64 16796, !16, i64 16800, !14, i64 16804, !14, i64 16808, !16, i64 16812, !12, i64 16816, !12, i64 16817, !12, i64 16818, !12, i64 16819, !12, i64 16820, !12, i64 16821, !12, i64 16822, !14, i64 16823, !15, i64 16824, !6, i64 16832, !33, i64 16840, !14, i64 16844, !12, i64 16848, !12, i64 16849, !6, i64 16856, !14, i64 16864, !16, i64 16868, !27, i64 16872, !27, i64 16880, !27, i64 16888, !34, i64 16896, !7, i64 16916, !35, i64 18768, !14, i64 19112, !12, i64 19116, !14, i64 19120, !14, i64 19124, !14, i64 19128, !14, i64 19132, !14, i64 19136, !37, i64 19144, !39, i64 19176, !41, i64 19256, !12, i64 19416, !14, i64 19420, !43, i64 19424, !44, i64 19440, !45, i64 19456, !46, i64 19472, !47, i64 19488, !48, i64 19504, !49, i64 19520, !49, i64 19536, !50, i64 19552, !14, i64 19568, !51, i64 19576, !16, i64 19592, !6, i64 19600, !6, i64 19608, !6, i64 19616, !14, i64 19624, !52, i64 19632, !14, i64 19680, !14, i64 19684, !14, i64 19688, !6, i64 19696, !14, i64 19704, !14, i64 19708, !46, i64 19712, !14, i64 19728, !14, i64 19732, !14, i64 19736, !14, i64 19740, !14, i64 19744, !16, i64 19748, !14, i64 19752, !14, i64 19756, !14, i64 19760, !14, i64 19764, !14, i64 19768, !33, i64 19772, !53, i64 19776, !38, i64 19784, !12, i64 19792, !12, i64 19793, !12, i64 19794, !12, i64 19795, !12, i64 19796, !12, i64 19797, !12, i64 19798, !54, i64 19800, !12, i64 19864, !12, i64 19865, !12, i64 19866, !14, i64 19868, !14, i64 19872, !14, i64 19876, !14, i64 19880, !14, i64 19884, !14, i64 19888, !40, i64 19892, !40, i64 19908, !14, i64 19924, !14, i64 19928, !14, i64 19932, !54, i64 19936, !54, i64 20000, !54, i64 20064, !54, i64 20128, !14, i64 20192, !14, i64 20196, !6, i64 20200, !6, i64 20208, !6, i64 20216, !16, i64 20224, !16, i64 20228, !12, i64 20232, !15, i64 20236, !15, i64 20244, !16, i64 20252, !12, i64 20256, !12, i64 20257, !12, i64 20258, !14, i64 20260, !14, i64 20264, !14, i64 20268, !55, i64 20272, !40, i64 20336, !40, i64 20352, !14, i64 20368, !14, i64 20372, !16, i64 20376, !14, i64 20380, !14, i64 20384, !14, i64 20388, !14, i64 20392, !56, i64 20400, !7, i64 20416, !14, i64 20432, !57, i64 20440, !6, i64 20456, !14, i64 20464, !14, i64 20468, !58, i64 20472, !59, i64 20488, !61, i64 20528, !62, i64 20544, !6, i64 20560, !63, i64 20568, !65, i64 20608, !66, i64 20624, !14, i64 20640, !14, i64 20644, !16, i64 20648, !16, i64 20652, !14, i64 20656, !14, i64 20660, !14, i64 20664, !16, i64 20668, !15, i64 20672, !67, i64 20680, !71, i64 24408, !72, i64 24432, !14, i64 24552, !14, i64 24556, !14, i64 24560, !14, i64 24564, !16, i64 24568, !16, i64 24572, !14, i64 24576, !25, i64 24580, !74, i64 24596, !40, i64 24644, !12, i64 24660, !16, i64 24664, !16, i64 24668, !12, i64 24672, !12, i64 24673, !16, i64 24676, !16, i64 24680, !16, i64 24684, !16, i64 24688, !17, i64 24692, !17, i64 24694, !17, i64 24696, !68, i64 24704, !75, i64 24720, !76, i64 24736, !78, i64 24840, !78, i64 24856, !14, i64 24872, !79, i64 24880, !6, i64 24936, !12, i64 24944, !16, i64 24948, !82, i64 24952, !83, i64 24968, !84, i64 24984, !85, i64 25000, !86, i64 25016, !14, i64 25032, !7, i64 25040, !12, i64 25128, !87, i64 25132, !6, i64 25136, !82, i64 25144, !6, i64 25160, !6, i64 25168, !16, i64 25176, !12, i64 25180, !14, i64 25184, !14, i64 25188, !14, i64 25192, !14, i64 25196, !82, i64 25200, !88, i64 25216, !14, i64 25240, !7, i64 25244, !7, i64 25245, !12, i64 25246, !14, i64 25248, !7, i64 25252, !12, i64 25253, !7, i64 25254, !14, i64 25256, !16, i64 25260, !25, i64 25264, !89, i64 25280, !90, i64 25304, !92, i64 25344, !6, i64 25408, !7, i64 25416, !14, i64 25656, !14, i64 25660, !16, i64 25664, !14, i64 25668, !14, i64 25672, !14, i64 25676, !68, i64 25680, !7, i64 25696}
!12 = !{!"bool", !7, i64 0}
!13 = !{!"_ZTS7ImGuiIO", !14, i64 0, !14, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !16, i64 56, !12, i64 60, !6, i64 64, !15, i64 72, !12, i64 80, !12, i64 81, !12, i64 82, !12, i64 83, !12, i64 84, !12, i64 85, !12, i64 86, !12, i64 87, !12, i64 88, !12, i64 89, !12, i64 90, !12, i64 91, !12, i64 92, !12, i64 93, !12, i64 94, !12, i64 95, !16, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !16, i64 112, !16, i64 116, !12, i64 120, !12, i64 121, !12, i64 122, !12, i64 123, !12, i64 124, !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, !17, i64 200, !12, i64 202, !12, i64 203, !12, i64 204, !12, i64 205, !12, i64 206, !12, i64 207, !12, i64 208, !16, i64 212, !14, i64 216, !14, i64 220, !14, i64 224, !14, i64 228, !15, i64 232, !7, i64 240, !7, i64 2904, !7, i64 3572, !6, i64 3640, !15, i64 3648, !7, i64 3656, !16, i64 3664, !16, i64 3668, !18, i64 3672, !14, i64 3676, !12, i64 3680, !12, i64 3681, !12, i64 3682, !12, i64 3683, !14, i64 3684, !7, i64 3688, !12, i64 14344, !15, i64 14348, !7, i64 14356, !7, i64 14400, !7, i64 14440, !7, i64 14445, !7, i64 14450, !7, i64 14460, !7, i64 14470, !7, i64 14475, !7, i64 14480, !12, i64 14485, !7, i64 14488, !7, i64 14508, !7, i64 14528, !7, i64 14568, !16, i64 14588, !12, i64 14592, !12, i64 14593, !7, i64 14594, !12, i64 14595, !17, i64 14596, !19, i64 14600}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTS6ImVec2", !16, i64 0, !16, i64 4}
!16 = !{!"float", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!19 = !{!"_ZTS8ImVectorItE", !14, i64 0, !14, i64 4, !6, i64 8}
!20 = !{!"_ZTS15ImGuiPlatformIO", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !21, i64 184, !22, i64 200}
!21 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !14, i64 0, !14, i64 4, !6, i64 8}
!22 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !14, i64 0, !14, i64 4, !6, i64 8}
!23 = !{!"_ZTS10ImGuiStyle", !16, i64 0, !16, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !15, i64 24, !15, i64 32, !14, i64 40, !16, i64 44, !16, i64 48, !16, i64 52, !16, i64 56, !15, i64 60, !16, i64 68, !16, i64 72, !15, i64 76, !15, i64 84, !15, i64 92, !15, i64 100, !16, i64 108, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124, !16, i64 128, !16, i64 132, !16, i64 136, !16, i64 140, !16, i64 144, !16, i64 148, !16, i64 152, !14, i64 156, !15, i64 160, !15, i64 168, !16, i64 176, !15, i64 180, !15, i64 188, !15, i64 196, !15, i64 204, !16, i64 212, !16, i64 216, !12, i64 220, !12, i64 221, !12, i64 222, !16, i64 224, !16, i64 228, !7, i64 232, !16, i64 1112, !16, i64 1116, !16, i64 1120, !14, i64 1124, !14, i64 1128}
!24 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !6, i64 8, !16, i64 16, !16, i64 20, !16, i64 24, !25, i64 28, !14, i64 44, !26, i64 48, !7, i64 64, !16, i64 448, !7, i64 452, !6, i64 520}
!25 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!26 = !{!"_ZTS8ImVectorI6ImVec2E", !14, i64 0, !14, i64 4, !6, i64 8}
!27 = !{!"double", !7, i64 0}
!28 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !14, i64 0, !14, i64 4, !6, i64 8}
!29 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !14, i64 0, !14, i64 4, !6, i64 8}
!30 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!31 = !{!"_ZTS12ImGuiStorage", !32, i64 0}
!32 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !14, i64 0, !14, i64 4, !6, i64 8}
!33 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!34 = !{!"_ZTS10ImBitArrayILi154ELin512EE", !7, i64 0}
!35 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !36, i64 312, !36, i64 328}
!36 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!37 = !{!"_ZTS17ImGuiNextItemData", !14, i64 0, !14, i64 4, !38, i64 8, !16, i64 16, !14, i64 20, !12, i64 24, !14, i64 25}
!38 = !{!"long long", !7, i64 0}
!39 = !{!"_ZTS17ImGuiLastItemData", !14, i64 0, !14, i64 4, !14, i64 8, !40, i64 12, !40, i64 28, !40, i64 44, !40, i64 60}
!40 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!41 = !{!"_ZTS19ImGuiNextWindowData", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !15, i64 20, !15, i64 28, !15, i64 36, !15, i64 44, !15, i64 52, !14, i64 60, !12, i64 64, !12, i64 65, !40, i64 68, !6, i64 88, !6, i64 96, !16, i64 104, !14, i64 108, !14, i64 112, !42, i64 116, !15, i64 148}
!42 = !{!"_ZTS16ImGuiWindowClass", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !12, i64 28, !12, i64 29}
!43 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !14, i64 0, !14, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !14, i64 0, !14, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorIP6ImFontE", !14, i64 0, !14, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorIiE", !14, i64 0, !14, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorI20ImGuiNavTreeNodeDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!51 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !14, i64 0, !14, i64 4, !6, i64 8}
!52 = !{!"_ZTS20ImGuiPlatformMonitor", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !16, i64 32, !6, i64 40}
!53 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!54 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !14, i64 8, !14, i64 12, !40, i64 16, !14, i64 32, !38, i64 40, !16, i64 48, !16, i64 52, !16, i64 56}
!55 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !7, i64 24, !12, i64 57, !12, i64 58}
!56 = !{!"_ZTS8ImVectorIhE", !14, i64 0, !14, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!59 = !{!"_ZTS6ImPoolI10ImGuiTableE", !60, i64 0, !31, i64 16, !14, i64 32, !14, i64 36}
!60 = !{!"_ZTS8ImVectorI10ImGuiTableE", !14, i64 0, !14, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorIfE", !14, i64 0, !14, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !14, i64 0, !14, i64 4, !6, i64 8}
!63 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !64, i64 0, !31, i64 16, !14, i64 32, !14, i64 36}
!64 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !14, i64 0, !14, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !14, i64 0, !14, i64 4, !6, i64 8}
!66 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !14, i64 0, !14, i64 4, !6, i64 8}
!67 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !14, i64 8, !14, i64 12, !14, i64 16, !19, i64 24, !68, i64 40, !68, i64 56, !12, i64 72, !14, i64 76, !16, i64 80, !69, i64 84, !16, i64 3712, !12, i64 3716, !12, i64 3717, !12, i64 3718, !14, i64 3720}
!68 = !{!"_ZTS8ImVectorIcE", !14, i64 0, !14, i64 4, !6, i64 8}
!69 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !14, i64 0, !14, i64 4, !14, i64 8, !7, i64 12, !14, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !16, i64 28, !70, i64 32}
!70 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !17, i64 3582, !17, i64 3584, !14, i64 3588, !14, i64 3592}
!71 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !14, i64 0, !68, i64 8}
!72 = !{!"_ZTS6ImFont", !61, i64 0, !16, i64 16, !16, i64 20, !19, i64 24, !73, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !17, i64 80, !17, i64 82, !17, i64 84, !17, i64 86, !16, i64 88, !16, i64 92, !12, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !14, i64 112, !7, i64 116}
!73 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !14, i64 0, !14, i64 4, !6, i64 8}
!74 = !{!"_ZTS21ImGuiComboPreviewData", !40, i64 0, !15, i64 16, !15, i64 24, !15, i64 32, !16, i64 40, !14, i64 44}
!75 = !{!"_ZTS8ImVectorIjE", !14, i64 0, !14, i64 4, !6, i64 8}
!76 = !{!"_ZTS22ImGuiTypingSelectState", !77, i64 0, !7, i64 24, !14, i64 88, !14, i64 92, !16, i64 96, !12, i64 100}
!77 = !{!"_ZTS24ImGuiTypingSelectRequest", !14, i64 0, !14, i64 4, !6, i64 8, !12, i64 16, !12, i64 17, !7, i64 18}
!78 = !{!"_ZTS20ImGuiPlatformImeData", !12, i64 0, !15, i64 4, !16, i64 12}
!79 = !{!"_ZTS16ImGuiDockContext", !31, i64 0, !80, i64 16, !81, i64 32, !12, i64 48}
!80 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !14, i64 0, !14, i64 4, !6, i64 8}
!81 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !14, i64 0, !14, i64 4, !6, i64 8}
!82 = !{!"_ZTS15ImGuiTextBuffer", !68, i64 0}
!83 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !14, i64 0, !14, i64 4, !6, i64 8}
!84 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !68, i64 0}
!85 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !68, i64 0}
!86 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !14, i64 0, !14, i64 4, !6, i64 8}
!87 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!88 = !{!"_ZTS14ImGuiTextIndex", !47, i64 0, !14, i64 16}
!89 = !{!"_ZTS18ImGuiMetricsConfig", !12, i64 0, !12, i64 1, !12, i64 2, !12, i64 3, !12, i64 4, !12, i64 5, !12, i64 6, !12, i64 7, !12, i64 8, !12, i64 9, !14, i64 12, !14, i64 16}
!90 = !{!"_ZTS16ImGuiIDStackTool", !14, i64 0, !14, i64 4, !14, i64 8, !91, i64 16, !12, i64 32, !16, i64 36}
!91 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !14, i64 0, !14, i64 4, !6, i64 8}
!92 = !{!"_ZTS19ImGuiDebugAllocInfo", !14, i64 0, !14, i64 4, !17, i64 8, !7, i64 12}
!93 = !{!76, !14, i64 88}
!94 = !{!76, !16, i64 96}
!95 = !{!11, !27, i64 16528}
!96 = !{!11, !12, i64 19796}
!97 = !{i8 0, i8 2}
!98 = !{}
!99 = !{!11, !14, i64 16804}
!100 = !{!11, !14, i64 19728}
!101 = !{!17, !17, i64 0}
!102 = !{!76, !12, i64 100}
!103 = !{!77, !7, i64 18}
!104 = !{!76, !14, i64 92}
!105 = !{!11, !14, i64 16536}
!106 = !{!77, !14, i64 0}
!107 = !{!77, !14, i64 4}
!108 = !{!77, !6, i64 8}
!109 = !{!77, !12, i64 16}
!110 = !{!77, !12, i64 17}
!111 = distinct !{!111, !112}
!112 = !{!"llvm.loop.mustprogress"}


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