; LLVM IR from l1mey112/yr11-physics-applied :: cimgui/imgui/imgui_widgets.ll (ZN26ImGuiInputTextCallbackData11InsertCharsEiPKcS1_)

; 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.ImGuiInputTextCallbackData = type { i32, i32, ptr, i16, i32, ptr, i32, i32, i8, i32, i32, i32 }
%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, i32, float, %struct.ImVec2, %struct.ImVec2, i32, i32, i32, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, ptr, i32, float, [140 x %struct.ImGuiKeyOwnerData], %struct.ImGuiKeyRoutingTable, i32, i8, i32, i32, i32, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, %struct.ImGuiNextWindowData, %struct.ImVector.14, %struct.ImVector.15, %struct.ImVector.16, %struct.ImVector, %struct.ImVector.17, %struct.ImVector.18, %struct.ImVector.19, %struct.ImVector.19, i32, %struct.ImVector.20, 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, i32, i32, 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.21, [16 x i8], i32, %struct.ImVector.22, ptr, i32, %struct.ImVector.23, %struct.ImPool, %struct.ImVector.1, %struct.ImVector.10, ptr, %struct.ImPool.25, %struct.ImVector.27, %struct.ImVector.28, 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.29, %struct.ImVector, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i8, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.31, %struct.ImChunkStream, %struct.ImChunkStream.32, %struct.ImVector.33, i32, [7 x ptr], i8, i32, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, i32, %struct.ImGuiTextBuffer, %struct.ImGuiTextIndex, i8, i8, i8, i32, %struct.ImGuiMetricsConfig, %struct.ImGuiStackTool, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.29 }
%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.5 = type { i32, i32, ptr }
%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, %struct.ImVector.9, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.2 }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImGuiKeyOwnerData = type <{ i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiKeyRoutingTable = type { [140 x i16], %struct.ImVector.13, %struct.ImVector.13 }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], %struct.ImRect, [4 x i8], ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImVector.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.ImVector.20 = 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.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.24, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImPool.25 = type { %struct.ImVector.26, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImVec2 = type { float, float }
%struct.ImGuiInputTextState = type <{ ptr, i32, i32, i32, [4 x i8], %struct.ImVector.5, %struct.ImVector.29, %struct.ImVector.29, 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.30, ptr, ptr, ptr, i16, i16, i16, i16, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiPlatformImeData = type { i8, %struct.ImVec2, float }
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.29 }
%struct.ImChunkStream.32 = type { %struct.ImVector.29 }
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.29 }
%struct.ImGuiTextIndex = type <{ %struct.ImVector.17, i32, [4 x i8] }>
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiStackTool = type { i32, i32, i32, %struct.ImVector.34, i8, float }
%struct.ImVector.34 = type { i32, i32, ptr }
%struct.ImVector.29 = type { i32, i32, ptr }

@GImGui = external global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [52 x i8], align 1
@__PRETTY_FUNCTION__._ZN26ImGuiInputTextCallbackData11InsertCharsEiPKcS1_ = external hidden unnamed_addr constant [78 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [30 x i8], align 1

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN26ImGuiInputTextCallbackData11InsertCharsEiPKcS1_(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #5 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i8, align 1
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %15 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #7
  %16 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 1
  %17 = load i32, ptr %16, align 4, !tbaa !11
  %18 = and i32 %17, 262144
  %19 = icmp ne i32 %18, 0
  %20 = zext i1 %19 to i8
  store i8 %20, ptr %9, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  %22 = icmp ne ptr %21, null
  br i1 %22, label %23, label %30

23:                                               ; preds = %4
  %24 = load ptr, ptr %8, align 8, !tbaa !5
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  %26 = ptrtoint ptr %24 to i64
  %27 = ptrtoint ptr %25 to i64
  %28 = sub i64 %26, %27
  %29 = trunc i64 %28 to i32
  br label %34

30:                                               ; preds = %4
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = call i64 @strlen(ptr noundef %31) #8
  %33 = trunc i64 %32 to i32
  br label %34

34:                                               ; preds = %30, %23
  %35 = phi i32 [ %29, %23 ], [ %33, %30 ]
  store i32 %35, ptr %10, align 4, !tbaa !9
  %36 = load i32, ptr %10, align 4, !tbaa !9
  %37 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 6
  %38 = load i32, ptr %37, align 8, !tbaa !17
  %39 = add nsw i32 %36, %38
  %40 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 7
  %41 = load i32, ptr %40, align 4, !tbaa !18
  %42 = icmp sge i32 %39, %41
  br i1 %42, label %43, label %102

43:                                               ; preds = %34
  %44 = load i8, ptr %9, align 1, !tbaa !16, !range !19, !noundef !20
  %45 = trunc i8 %44 to i1
  br i1 %45, label %47, label %46

46:                                               ; preds = %43
  store i32 1, ptr %11, align 4
  br label %163

47:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %48 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %48, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %49 = load ptr, ptr %12, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.ImGuiContext, ptr %49, i32 0, i32 173
  store ptr %50, ptr %13, align 8, !tbaa !5
  %51 = load ptr, ptr %13, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %51, i32 0, i32 1
  %53 = load i32, ptr %52, align 8, !tbaa !21
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %63

55:                                               ; preds = %47
  %56 = load ptr, ptr %12, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.ImGuiContext, ptr %56, i32 0, i32 44
  %58 = load i32, ptr %57, align 8, !tbaa !28
  %59 = load ptr, ptr %13, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %59, i32 0, i32 1
  %61 = load i32, ptr %60, align 8, !tbaa !21
  %62 = icmp eq i32 %58, %61
  br label %63

63:                                               ; preds = %55, %47
  %64 = phi i1 [ false, %47 ], [ %62, %55 ]
  br i1 %64, label %65, label %66

65:                                               ; preds = %63
  br label %68

66:                                               ; preds = %63
  call void @__assert_fail(ptr noundef @.str.54, ptr noundef @.str.4, i32 noundef 3785, ptr noundef @__PRETTY_FUNCTION__._ZN26ImGuiInputTextCallbackData11InsertCharsEiPKcS1_) #9
  unreachable

67:                                               ; No predecessors!
  br label %68

68:                                               ; preds = %67, %65
  %69 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 5
  %70 = load ptr, ptr %69, align 8, !tbaa !85
  %71 = load ptr, ptr %13, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %71, i32 0, i32 6
  %73 = getelementptr inbounds %struct.ImVector.29, ptr %72, i32 0, i32 2
  %74 = load ptr, ptr %73, align 8, !tbaa !86
  %75 = icmp eq ptr %70, %74
  br i1 %75, label %76, label %77

76:                                               ; preds = %68
  br label %79

77:                                               ; preds = %68
  call void @__assert_fail(ptr noundef @.str.55, ptr noundef @.str.4, i32 noundef 3786, ptr noundef @__PRETTY_FUNCTION__._ZN26ImGuiInputTextCallbackData11InsertCharsEiPKcS1_) #9
  unreachable

78:                                               ; No predecessors!
  br label %79

79:                                               ; preds = %78, %76
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  %80 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 6
  %81 = load i32, ptr %80, align 8, !tbaa !17
  %82 = load i32, ptr %10, align 4, !tbaa !9
  %83 = mul nsw i32 %82, 4
  %84 = load i32, ptr %10, align 4, !tbaa !9
  %85 = call noundef i32 @_ZL5ImMaxIiET_S0_S0_(i32 noundef 256, i32 noundef %84)
  %86 = call noundef i32 @_ZL7ImClampIiET_S0_S0_S0_(i32 noundef %83, i32 noundef 32, i32 noundef %85)
  %87 = add nsw i32 %81, %86
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %14, align 4, !tbaa !9
  %89 = load ptr, ptr %13, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %89, i32 0, i32 6
  %91 = load i32, ptr %14, align 4, !tbaa !9
  %92 = add nsw i32 %91, 1
  call void @_ZN8ImVectorIcE7reserveEi(ptr noundef nonnull align 8 dereferenceable(16) %90, i32 noundef %92)
  %93 = load ptr, ptr %13, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %93, i32 0, i32 6
  %95 = getelementptr inbounds %struct.ImVector.29, ptr %94, i32 0, i32 2
  %96 = load ptr, ptr %95, align 8, !tbaa !86
  %97 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 5
  store ptr %96, ptr %97, align 8, !tbaa !85
  %98 = load i32, ptr %14, align 4, !tbaa !9
  %99 = load ptr, ptr %13, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %99, i32 0, i32 10
  store i32 %98, ptr %100, align 4, !tbaa !87
  %101 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 7
  store i32 %98, ptr %101, align 4, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  br label %102

102:                                              ; preds = %79, %34
  %103 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 6
  %104 = load i32, ptr %103, align 8, !tbaa !17
  %105 = load i32, ptr %6, align 4, !tbaa !9
  %106 = icmp ne i32 %104, %105
  br i1 %106, label %107, label %126

107:                                              ; preds = %102
  %108 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 5
  %109 = load ptr, ptr %108, align 8, !tbaa !85
  %110 = load i32, ptr %6, align 4, !tbaa !9
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds i8, ptr %109, i64 %111
  %113 = load i32, ptr %10, align 4, !tbaa !9
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds i8, ptr %112, i64 %114
  %116 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 5
  %117 = load ptr, ptr %116, align 8, !tbaa !85
  %118 = load i32, ptr %6, align 4, !tbaa !9
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds i8, ptr %117, i64 %119
  %121 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 6
  %122 = load i32, ptr %121, align 8, !tbaa !17
  %123 = load i32, ptr %6, align 4, !tbaa !9
  %124 = sub nsw i32 %122, %123
  %125 = sext i32 %124 to i64
  call void @llvm.memmove.p0.p0.i64(ptr align 1 %115, ptr align 1 %120, i64 %125, i1 false)
  br label %126

126:                                              ; preds = %107, %102
  %127 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 5
  %128 = load ptr, ptr %127, align 8, !tbaa !85
  %129 = load i32, ptr %6, align 4, !tbaa !9
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds i8, ptr %128, i64 %130
  %132 = load ptr, ptr %7, align 8, !tbaa !5
  %133 = load i32, ptr %10, align 4, !tbaa !9
  %134 = sext i32 %133 to i64
  %135 = mul i64 %134, 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %131, ptr align 1 %132, i64 %135, i1 false)
  %136 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 5
  %137 = load ptr, ptr %136, align 8, !tbaa !85
  %138 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 6
  %139 = load i32, ptr %138, align 8, !tbaa !17
  %140 = load i32, ptr %10, align 4, !tbaa !9
  %141 = add nsw i32 %139, %140
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds i8, ptr %137, i64 %142
  store i8 0, ptr %143, align 1, !tbaa !88
  %144 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 9
  %145 = load i32, ptr %144, align 4, !tbaa !89
  %146 = load i32, ptr %6, align 4, !tbaa !9
  %147 = icmp sge i32 %145, %146
  br i1 %147, label %148, label %153

148:                                              ; preds = %126
  %149 = load i32, ptr %10, align 4, !tbaa !9
  %150 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 9
  %151 = load i32, ptr %150, align 4, !tbaa !89
  %152 = add nsw i32 %151, %149
  store i32 %152, ptr %150, align 4, !tbaa !89
  br label %153

153:                                              ; preds = %148, %126
  %154 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 9
  %155 = load i32, ptr %154, align 4, !tbaa !89
  %156 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 11
  store i32 %155, ptr %156, align 4, !tbaa !90
  %157 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 10
  store i32 %155, ptr %157, align 8, !tbaa !91
  %158 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 8
  store i8 1, ptr %158, align 8, !tbaa !92
  %159 = load i32, ptr %10, align 4, !tbaa !9
  %160 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 6
  %161 = load i32, ptr %160, align 8, !tbaa !17
  %162 = add nsw i32 %161, %159
  store i32 %162, ptr %160, align 8, !tbaa !17
  store i32 0, ptr %11, align 4
  br label %163

163:                                              ; preds = %153, %46
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #7
  %164 = load i32, ptr %11, align 4
  switch i32 %164, label %166 [
    i32 0, label %165
    i32 1, label %165
  ]

165:                                              ; preds = %163, %163
  ret void

166:                                              ; preds = %163
  unreachable
}

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

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

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 = { 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 #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="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 = { 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 #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }
attributes #9 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !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, !10, i64 4}
!12 = !{!"_ZTS26ImGuiInputTextCallbackData", !10, i64 0, !10, i64 4, !6, i64 8, !13, i64 16, !14, i64 20, !6, i64 24, !10, i64 32, !10, i64 36, !15, i64 40, !10, i64 44, !10, i64 48, !10, i64 52}
!13 = !{!"short", !7, i64 0}
!14 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!12, !10, i64 32}
!18 = !{!12, !10, i64 36}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!22, !10, i64 8}
!22 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !23, i64 24, !24, i64 40, !24, i64 56, !15, i64 72, !10, i64 76, !25, i64 80, !26, i64 84, !25, i64 3712, !15, i64 3716, !15, i64 3717, !15, i64 3718, !10, i64 3720}
!23 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!24 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!25 = !{!"float", !7, i64 0}
!26 = !{!"_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, !25, i64 28, !27, i64 32}
!27 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !13, i64 3582, !13, i64 3584, !10, i64 3588, !10, i64 3592}
!28 = !{!29, !10, i64 16128}
!29 = !{!"_ZTS12ImGuiContext", !15, i64 0, !15, i64 1, !30, i64 8, !32, i64 14272, !32, i64 14288, !33, i64 14304, !6, i64 15352, !25, i64 15360, !25, i64 15364, !34, i64 15368, !37, i64 15896, !10, i64 15904, !10, i64 15908, !10, i64 15912, !15, i64 15916, !15, i64 15917, !15, i64 15918, !15, i64 15919, !15, i64 15920, !6, i64 15928, !38, i64 15936, !38, i64 15952, !38, i64 15968, !39, i64 15984, !40, i64 16000, !10, i64 16016, !31, i64 16020, !6, i64 16032, !6, i64 16040, !6, i64 16048, !6, i64 16056, !6, i64 16064, !31, i64 16072, !10, i64 16080, !25, i64 16084, !31, i64 16088, !31, i64 16096, !10, i64 16104, !10, i64 16108, !10, i64 16112, !15, i64 16116, !15, i64 16117, !25, i64 16120, !25, i64 16124, !10, i64 16128, !10, i64 16132, !25, i64 16136, !15, i64 16140, !15, i64 16141, !15, i64 16142, !15, i64 16143, !15, i64 16144, !15, i64 16145, !31, i64 16148, !6, i64 16160, !42, i64 16168, !10, i64 16172, !10, i64 16176, !15, i64 16180, !15, i64 16181, !6, i64 16184, !10, i64 16192, !25, i64 16196, !7, i64 16200, !43, i64 17880, !10, i64 18192, !15, i64 18196, !10, i64 18200, !10, i64 18204, !10, i64 18208, !10, i64 18212, !45, i64 18216, !46, i64 18236, !48, i64 18296, !49, i64 18408, !50, i64 18424, !51, i64 18440, !52, i64 18456, !53, i64 18472, !54, i64 18488, !55, i64 18504, !55, i64 18520, !10, i64 18536, !56, i64 18544, !6, i64 18560, !10, i64 18568, !10, i64 18572, !10, i64 18576, !10, i64 18580, !10, i64 18584, !10, i64 18588, !10, i64 18592, !10, i64 18596, !10, i64 18600, !10, i64 18604, !10, i64 18608, !10, i64 18612, !42, i64 18616, !57, i64 18620, !15, i64 18624, !15, i64 18625, !15, i64 18626, !15, i64 18627, !15, i64 18628, !15, i64 18629, !15, i64 18630, !10, i64 18632, !47, i64 18636, !15, i64 18652, !15, i64 18653, !15, i64 18654, !10, i64 18656, !10, i64 18660, !10, i64 18664, !10, i64 18668, !10, i64 18672, !10, i64 18676, !47, i64 18680, !47, i64 18696, !10, i64 18712, !10, i64 18716, !10, i64 18720, !58, i64 18728, !58, i64 18776, !58, i64 18824, !58, i64 18872, !10, i64 18920, !10, i64 18924, !6, i64 18928, !6, i64 18936, !6, i64 18944, !25, i64 18952, !25, i64 18956, !15, i64 18960, !31, i64 18964, !31, i64 18972, !25, i64 18980, !10, i64 18984, !15, i64 18988, !15, i64 18989, !15, i64 18990, !10, i64 18992, !10, i64 18996, !10, i64 19000, !59, i64 19008, !47, i64 19072, !10, i64 19088, !10, i64 19092, !25, i64 19096, !10, i64 19100, !10, i64 19104, !10, i64 19108, !10, i64 19112, !60, i64 19120, !7, i64 19136, !10, i64 19152, !61, i64 19160, !6, i64 19176, !10, i64 19184, !62, i64 19192, !63, i64 19208, !65, i64 19248, !66, i64 19264, !6, i64 19280, !67, i64 19288, !69, i64 19328, !70, i64 19344, !10, i64 19360, !10, i64 19364, !25, i64 19368, !25, i64 19372, !31, i64 19376, !22, i64 19384, !71, i64 23112, !10, i64 23224, !10, i64 23228, !25, i64 23232, !25, i64 23236, !10, i64 23240, !35, i64 23244, !73, i64 23260, !25, i64 23308, !25, i64 23312, !15, i64 23316, !15, i64 23317, !25, i64 23320, !25, i64 23324, !25, i64 23328, !25, i64 23332, !13, i64 23336, !13, i64 23338, !24, i64 23344, !52, i64 23360, !74, i64 23376, !74, i64 23392, !7, i64 23408, !15, i64 23409, !25, i64 23412, !75, i64 23416, !76, i64 23432, !77, i64 23448, !78, i64 23464, !79, i64 23480, !10, i64 23496, !7, i64 23504, !15, i64 23560, !80, i64 23564, !6, i64 23568, !75, i64 23576, !6, i64 23592, !6, i64 23600, !25, i64 23608, !15, i64 23612, !10, i64 23616, !10, i64 23620, !10, i64 23624, !10, i64 23628, !75, i64 23632, !81, i64 23648, !7, i64 23672, !15, i64 23673, !7, i64 23674, !10, i64 23676, !82, i64 23680, !83, i64 23696, !7, i64 23736, !10, i64 23976, !10, i64 23980, !25, i64 23984, !10, i64 23988, !10, i64 23992, !10, i64 23996, !24, i64 24000}
!30 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !31, i64 8, !25, i64 16, !25, i64 20, !6, i64 24, !6, i64 32, !25, i64 40, !25, i64 44, !25, i64 48, !25, i64 52, !25, i64 56, !25, i64 60, !25, i64 64, !6, i64 72, !6, i64 80, !25, i64 88, !15, i64 92, !6, i64 96, !31, 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, !25, 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, !25, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !31, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !31, i64 3572, !7, i64 3580, !25, i64 3588, !25, i64 3592, !15, i64 3596, !15, i64 3597, !15, i64 3598, !15, i64 3599, !10, i64 3600, !7, i64 3604, !15, i64 14036, !31, 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, !25, i64 14236, !15, i64 14240, !15, i64 14241, !7, i64 14242, !15, i64 14243, !13, i64 14244, !23, i64 14248}
!31 = !{!"_ZTS6ImVec2", !25, i64 0, !25, i64 4}
!32 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !10, i64 0, !10, i64 4, !6, i64 8}
!33 = !{!"_ZTS10ImGuiStyle", !25, i64 0, !25, i64 4, !31, i64 8, !25, i64 16, !25, i64 20, !31, i64 24, !31, i64 32, !10, i64 40, !25, i64 44, !25, i64 48, !25, i64 52, !25, i64 56, !31, i64 60, !25, i64 68, !25, i64 72, !31, i64 76, !31, i64 84, !31, i64 92, !31, i64 100, !25, i64 108, !25, i64 112, !25, i64 116, !25, i64 120, !25, i64 124, !25, i64 128, !25, i64 132, !25, i64 136, !25, i64 140, !25, i64 144, !10, i64 148, !31, i64 152, !31, i64 160, !31, i64 168, !31, i64 176, !25, i64 184, !15, i64 188, !15, i64 189, !15, i64 190, !25, i64 192, !25, i64 196, !7, i64 200}
!34 = !{!"_ZTS20ImDrawListSharedData", !31, i64 0, !6, i64 8, !25, i64 16, !25, i64 20, !25, i64 24, !35, i64 28, !10, i64 44, !36, i64 48, !7, i64 64, !25, i64 448, !7, i64 452, !6, i64 520}
!35 = !{!"_ZTS6ImVec4", !25, i64 0, !25, i64 4, !25, i64 8, !25, i64 12}
!36 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!37 = !{!"double", !7, i64 0}
!38 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!40 = !{!"_ZTS12ImGuiStorage", !41, i64 0}
!41 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!42 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!43 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !44, i64 280, !44, i64 296}
!44 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!45 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !25, i64 4, !10, i64 8, !10, i64 12, !15, i64 16}
!46 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !47, i64 12, !47, i64 28, !47, i64 44}
!47 = !{!"_ZTS6ImRect", !31, i64 0, !31, i64 8}
!48 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !31, i64 16, !31, i64 24, !31, i64 32, !31, i64 40, !31, i64 48, !15, i64 56, !47, i64 60, !6, i64 80, !6, i64 88, !25, i64 96, !31, i64 100}
!49 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!51 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !6, i64 8}
!57 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!58 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !10, i64 8, !10, i64 12, !47, i64 16, !10, i64 32, !25, i64 36, !25, i64 40, !25, i64 44}
!59 = !{!"_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}
!60 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!63 = !{!"_ZTS6ImPoolI10ImGuiTableE", !64, i64 0, !40, i64 16, !10, i64 32, !10, i64 36}
!64 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!66 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!67 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !68, i64 0, !40, i64 16, !10, i64 32, !10, i64 36}
!68 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!69 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!70 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!71 = !{!"_ZTS6ImFont", !65, i64 0, !25, i64 16, !25, i64 20, !23, i64 24, !72, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !13, i64 80, !13, i64 82, !13, i64 84, !13, i64 86, !15, i64 88, !25, i64 92, !25, i64 96, !25, i64 100, !10, i64 104, !7, i64 108}
!72 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!73 = !{!"_ZTS21ImGuiComboPreviewData", !47, i64 0, !31, i64 16, !31, i64 24, !31, i64 32, !25, i64 40, !10, i64 44}
!74 = !{!"_ZTS20ImGuiPlatformImeData", !15, i64 0, !31, i64 4, !25, i64 12}
!75 = !{!"_ZTS15ImGuiTextBuffer", !24, i64 0}
!76 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!77 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !24, i64 0}
!78 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !24, i64 0}
!79 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!80 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!81 = !{!"_ZTS14ImGuiTextIndex", !53, i64 0, !10, i64 16}
!82 = !{!"_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}
!83 = !{!"_ZTS14ImGuiStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !84, i64 16, !15, i64 32, !25, i64 36}
!84 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !6, i64 8}
!85 = !{!12, !6, i64 24}
!86 = !{!22, !6, i64 48}
!87 = !{!22, !10, i64 76}
!88 = !{!7, !7, i64 0}
!89 = !{!12, !10, i64 44}
!90 = !{!12, !10, i64 52}
!91 = !{!12, !10, i64 48}
!92 = !{!12, !15, i64 40}


; 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
@.str.4 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [52 x i8], align 1
@__PRETTY_FUNCTION__._ZN26ImGuiInputTextCallbackData11InsertCharsEiPKcS1_ = external hidden unnamed_addr constant [78 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [30 x i8], align 1

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #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) #1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN26ImGuiInputTextCallbackData11InsertCharsEiPKcS1_(ptr nocapture noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #4 align 2 {
  %5 = getelementptr inbounds i8, ptr %0, i64 4
  %6 = load i32, ptr %5, align 4, !tbaa !5
  %7 = and i32 %6, 262144
  %.not = icmp eq i32 %7, 0
  %.not34 = icmp eq ptr %3, null
  br i1 %.not34, label %12, label %8

8:                                                ; preds = %4
  %9 = ptrtoint ptr %3 to i64
  %10 = ptrtoint ptr %2 to i64
  %11 = sub i64 %9, %10
  br label %14

12:                                               ; preds = %4
  %13 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %2) #6
  br label %14

14:                                               ; preds = %12, %8
  %.in = phi i64 [ %11, %8 ], [ %13, %12 ]
  %15 = trunc i64 %.in to i32
  %16 = getelementptr inbounds i8, ptr %0, i64 32
  %17 = load i32, ptr %16, align 8, !tbaa !14
  %18 = add nsw i32 %17, %15
  %19 = getelementptr inbounds i8, ptr %0, i64 36
  %20 = load i32, ptr %19, align 4, !tbaa !15
  %.not35 = icmp slt i32 %18, %20
  br i1 %.not35, label %47, label %21

21:                                               ; preds = %14
  br i1 %.not, label %78, label %22

22:                                               ; preds = %21
  %23 = load ptr, ptr @GImGui, align 8, !tbaa !16
  %24 = getelementptr inbounds i8, ptr %23, i64 19392
  %25 = load i32, ptr %24, align 8, !tbaa !17
  %.not36 = icmp eq i32 %25, 0
  br i1 %.not36, label %.critedge, label %26

26:                                               ; preds = %22
  %27 = getelementptr inbounds i8, ptr %23, i64 16128
  %28 = load i32, ptr %27, align 8, !tbaa !24
  %29 = icmp eq i32 %28, %25
  br i1 %29, label %30, label %.critedge

.critedge:                                        ; preds = %22, %26
  tail call void @__assert_fail(ptr noundef nonnull @.str.54, ptr noundef nonnull @.str.4, i32 noundef 3785, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN26ImGuiInputTextCallbackData11InsertCharsEiPKcS1_) #7
  unreachable

30:                                               ; preds = %26
  %31 = getelementptr inbounds i8, ptr %0, i64 24
  %32 = load ptr, ptr %31, align 8, !tbaa !81
  %33 = getelementptr inbounds i8, ptr %23, i64 19432
  %34 = load ptr, ptr %33, align 8, !tbaa !82
  %35 = icmp eq ptr %32, %34
  br i1 %35, label %37, label %36

36:                                               ; preds = %30
  tail call void @__assert_fail(ptr noundef nonnull @.str.55, ptr noundef nonnull @.str.4, i32 noundef 3786, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN26ImGuiInputTextCallbackData11InsertCharsEiPKcS1_) #7
  unreachable

37:                                               ; preds = %30
  %38 = getelementptr inbounds i8, ptr %23, i64 19424
  %39 = shl nsw i32 %15, 2
  %40 = tail call noundef i32 @_ZL5ImMaxIiET_S0_S0_(i32 noundef 256, i32 noundef %15)
  %41 = tail call noundef i32 @_ZL7ImClampIiET_S0_S0_S0_(i32 noundef %39, i32 noundef 32, i32 noundef %40)
  %42 = add nsw i32 %41, %17
  %43 = add nsw i32 %42, 1
  %44 = add nsw i32 %42, 2
  tail call void @_ZN8ImVectorIcE7reserveEi(ptr noundef nonnull align 8 dereferenceable(16) %38, i32 noundef %44)
  %45 = load ptr, ptr %33, align 8, !tbaa !82
  store ptr %45, ptr %31, align 8, !tbaa !81
  %46 = getelementptr inbounds i8, ptr %23, i64 19460
  store i32 %43, ptr %46, align 4, !tbaa !83
  store i32 %43, ptr %19, align 4, !tbaa !15
  %.pre = load i32, ptr %16, align 8, !tbaa !14
  br label %47

47:                                               ; preds = %37, %14
  %48 = phi i32 [ %.pre, %37 ], [ %17, %14 ]
  %.not37 = icmp eq i32 %48, %1
  br i1 %.not37, label %._crit_edge, label %49

._crit_edge:                                      ; preds = %47
  %.pre40 = sext i32 %1 to i64
  %.pre41 = shl i64 %.in, 32
  %.pre42 = ashr exact i64 %.pre41, 32
  br label %58

49:                                               ; preds = %47
  %50 = getelementptr inbounds i8, ptr %0, i64 24
  %51 = load ptr, ptr %50, align 8, !tbaa !81
  %52 = sext i32 %1 to i64
  %53 = getelementptr inbounds i8, ptr %51, i64 %52
  %sext = shl i64 %.in, 32
  %54 = ashr exact i64 %sext, 32
  %55 = getelementptr inbounds i8, ptr %53, i64 %54
  %56 = sub nsw i32 %48, %1
  %57 = sext i32 %56 to i64
  tail call void @llvm.memmove.p0.p0.i64(ptr align 1 %55, ptr align 1 %53, i64 %57, i1 false)
  br label %58

58:                                               ; preds = %._crit_edge, %49
  %.pre-phi43 = phi i64 [ %.pre42, %._crit_edge ], [ %54, %49 ]
  %.pre-phi = phi i64 [ %.pre40, %._crit_edge ], [ %52, %49 ]
  %59 = getelementptr inbounds i8, ptr %0, i64 24
  %60 = load ptr, ptr %59, align 8, !tbaa !81
  %61 = getelementptr inbounds i8, ptr %60, i64 %.pre-phi
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %61, ptr align 1 %2, i64 %.pre-phi43, i1 false)
  %62 = load ptr, ptr %59, align 8, !tbaa !81
  %63 = load i32, ptr %16, align 8, !tbaa !14
  %64 = add nsw i32 %63, %15
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds i8, ptr %62, i64 %65
  store i8 0, ptr %66, align 1, !tbaa !84
  %67 = getelementptr inbounds i8, ptr %0, i64 44
  %68 = load i32, ptr %67, align 4, !tbaa !85
  %.not39 = icmp slt i32 %68, %1
  br i1 %.not39, label %71, label %69

69:                                               ; preds = %58
  %70 = add nsw i32 %68, %15
  store i32 %70, ptr %67, align 4, !tbaa !85
  br label %71

71:                                               ; preds = %69, %58
  %72 = phi i32 [ %70, %69 ], [ %68, %58 ]
  %73 = getelementptr inbounds i8, ptr %0, i64 52
  store i32 %72, ptr %73, align 4, !tbaa !86
  %74 = getelementptr inbounds i8, ptr %0, i64 48
  store i32 %72, ptr %74, align 8, !tbaa !87
  %75 = getelementptr inbounds i8, ptr %0, i64 40
  store i8 1, ptr %75, align 8, !tbaa !88
  %76 = load i32, ptr %16, align 8, !tbaa !14
  %77 = add nsw i32 %76, %15
  store i32 %77, ptr %16, align 8, !tbaa !14
  br label %78

78:                                               ; preds = %21, %71
  ret void
}

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 4}
!6 = !{!"_ZTS26ImGuiInputTextCallbackData", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16, !12, i64 20, !10, i64 24, !7, i64 32, !7, i64 36, !13, i64 40, !7, i64 44, !7, i64 48, !7, i64 52}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"short", !8, i64 0}
!12 = !{!"_ZTS8ImGuiKey", !8, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{!6, !7, i64 32}
!15 = !{!6, !7, i64 36}
!16 = !{!10, !10, i64 0}
!17 = !{!18, !7, i64 8}
!18 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !19, i64 24, !20, i64 40, !20, i64 56, !13, i64 72, !7, i64 76, !21, i64 80, !22, i64 84, !21, i64 3712, !13, i64 3716, !13, i64 3717, !13, i64 3718, !7, i64 3720}
!19 = !{!"_ZTS8ImVectorItE", !7, i64 0, !7, i64 4, !10, i64 8}
!20 = !{!"_ZTS8ImVectorIcE", !7, i64 0, !7, i64 4, !10, i64 8}
!21 = !{!"float", !8, i64 0}
!22 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !7, i64 0, !7, i64 4, !7, i64 8, !8, i64 12, !7, i64 16, !8, i64 20, !8, i64 21, !8, i64 22, !8, i64 23, !8, i64 24, !8, i64 25, !8, i64 26, !21, i64 28, !23, i64 32}
!23 = !{!"_ZTSN5ImStb12StbUndoStateE", !8, i64 0, !8, i64 1584, !11, i64 3582, !11, i64 3584, !7, i64 3588, !7, i64 3592}
!24 = !{!25, !7, i64 16128}
!25 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !26, i64 8, !28, i64 14272, !28, i64 14288, !29, i64 14304, !10, i64 15352, !21, i64 15360, !21, i64 15364, !30, i64 15368, !33, i64 15896, !7, i64 15904, !7, i64 15908, !7, i64 15912, !13, i64 15916, !13, i64 15917, !13, i64 15918, !13, i64 15919, !13, i64 15920, !10, i64 15928, !34, i64 15936, !34, i64 15952, !34, i64 15968, !35, i64 15984, !36, i64 16000, !7, i64 16016, !27, i64 16020, !10, i64 16032, !10, i64 16040, !10, i64 16048, !10, i64 16056, !10, i64 16064, !27, i64 16072, !7, i64 16080, !21, i64 16084, !27, i64 16088, !27, i64 16096, !7, i64 16104, !7, i64 16108, !7, i64 16112, !13, i64 16116, !13, i64 16117, !21, i64 16120, !21, i64 16124, !7, i64 16128, !7, i64 16132, !21, i64 16136, !13, i64 16140, !13, i64 16141, !13, i64 16142, !13, i64 16143, !13, i64 16144, !13, i64 16145, !27, i64 16148, !10, i64 16160, !38, i64 16168, !7, i64 16172, !7, i64 16176, !13, i64 16180, !13, i64 16181, !10, i64 16184, !7, i64 16192, !21, i64 16196, !8, i64 16200, !39, i64 17880, !7, i64 18192, !13, i64 18196, !7, i64 18200, !7, i64 18204, !7, i64 18208, !7, i64 18212, !41, i64 18216, !42, i64 18236, !44, i64 18296, !45, i64 18408, !46, i64 18424, !47, i64 18440, !48, i64 18456, !49, i64 18472, !50, i64 18488, !51, i64 18504, !51, i64 18520, !7, i64 18536, !52, i64 18544, !10, i64 18560, !7, i64 18568, !7, i64 18572, !7, i64 18576, !7, i64 18580, !7, i64 18584, !7, i64 18588, !7, i64 18592, !7, i64 18596, !7, i64 18600, !7, i64 18604, !7, i64 18608, !7, i64 18612, !38, i64 18616, !53, i64 18620, !13, i64 18624, !13, i64 18625, !13, i64 18626, !13, i64 18627, !13, i64 18628, !13, i64 18629, !13, i64 18630, !7, i64 18632, !43, i64 18636, !13, i64 18652, !13, i64 18653, !13, i64 18654, !7, i64 18656, !7, i64 18660, !7, i64 18664, !7, i64 18668, !7, i64 18672, !7, i64 18676, !43, i64 18680, !43, i64 18696, !7, i64 18712, !7, i64 18716, !7, i64 18720, !54, i64 18728, !54, i64 18776, !54, i64 18824, !54, i64 18872, !7, i64 18920, !7, i64 18924, !10, i64 18928, !10, i64 18936, !10, i64 18944, !21, i64 18952, !21, i64 18956, !13, i64 18960, !27, i64 18964, !27, i64 18972, !21, i64 18980, !7, i64 18984, !13, i64 18988, !13, i64 18989, !13, i64 18990, !7, i64 18992, !7, i64 18996, !7, i64 19000, !55, i64 19008, !43, i64 19072, !7, i64 19088, !7, i64 19092, !21, i64 19096, !7, i64 19100, !7, i64 19104, !7, i64 19108, !7, i64 19112, !56, i64 19120, !8, i64 19136, !7, i64 19152, !57, i64 19160, !10, i64 19176, !7, i64 19184, !58, i64 19192, !59, i64 19208, !61, i64 19248, !62, i64 19264, !10, i64 19280, !63, i64 19288, !65, i64 19328, !66, i64 19344, !7, i64 19360, !7, i64 19364, !21, i64 19368, !21, i64 19372, !27, i64 19376, !18, i64 19384, !67, i64 23112, !7, i64 23224, !7, i64 23228, !21, i64 23232, !21, i64 23236, !7, i64 23240, !31, i64 23244, !69, i64 23260, !21, i64 23308, !21, i64 23312, !13, i64 23316, !13, i64 23317, !21, i64 23320, !21, i64 23324, !21, i64 23328, !21, i64 23332, !11, i64 23336, !11, i64 23338, !20, i64 23344, !48, i64 23360, !70, i64 23376, !70, i64 23392, !8, i64 23408, !13, i64 23409, !21, i64 23412, !71, i64 23416, !72, i64 23432, !73, i64 23448, !74, i64 23464, !75, i64 23480, !7, i64 23496, !8, i64 23504, !13, i64 23560, !76, i64 23564, !10, i64 23568, !71, i64 23576, !10, i64 23592, !10, i64 23600, !21, i64 23608, !13, i64 23612, !7, i64 23616, !7, i64 23620, !7, i64 23624, !7, i64 23628, !71, i64 23632, !77, i64 23648, !8, i64 23672, !13, i64 23673, !8, i64 23674, !7, i64 23676, !78, i64 23680, !79, i64 23696, !8, i64 23736, !7, i64 23976, !7, i64 23980, !21, i64 23984, !7, i64 23988, !7, i64 23992, !7, i64 23996, !20, i64 24000}
!26 = !{!"_ZTS7ImGuiIO", !7, i64 0, !7, i64 4, !27, i64 8, !21, i64 16, !21, i64 20, !10, i64 24, !10, i64 32, !21, i64 40, !21, i64 44, !21, i64 48, !21, i64 52, !21, i64 56, !21, i64 60, !21, i64 64, !10, i64 72, !10, i64 80, !21, i64 88, !13, i64 92, !10, i64 96, !27, 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, !21, i64 120, !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, !10, i64 200, !13, i64 208, !13, i64 209, !13, i64 210, !13, i64 211, !13, i64 212, !13, i64 213, !13, i64 214, !21, i64 216, !7, i64 220, !7, i64 224, !7, i64 228, !7, i64 232, !7, i64 236, !27, i64 240, !8, i64 248, !8, i64 2856, !8, i64 3508, !27, i64 3572, !8, i64 3580, !21, i64 3588, !21, i64 3592, !13, i64 3596, !13, i64 3597, !13, i64 3598, !13, i64 3599, !7, i64 3600, !8, i64 3604, !13, i64 14036, !27, 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, !21, i64 14236, !13, i64 14240, !13, i64 14241, !8, i64 14242, !13, i64 14243, !11, i64 14244, !19, i64 14248}
!27 = !{!"_ZTS6ImVec2", !21, i64 0, !21, i64 4}
!28 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !7, i64 0, !7, i64 4, !10, i64 8}
!29 = !{!"_ZTS10ImGuiStyle", !21, i64 0, !21, i64 4, !27, i64 8, !21, i64 16, !21, i64 20, !27, i64 24, !27, i64 32, !7, i64 40, !21, i64 44, !21, i64 48, !21, i64 52, !21, i64 56, !27, i64 60, !21, i64 68, !21, i64 72, !27, i64 76, !27, i64 84, !27, i64 92, !27, i64 100, !21, i64 108, !21, i64 112, !21, i64 116, !21, i64 120, !21, i64 124, !21, i64 128, !21, i64 132, !21, i64 136, !21, i64 140, !21, i64 144, !7, i64 148, !27, i64 152, !27, i64 160, !27, i64 168, !27, i64 176, !21, i64 184, !13, i64 188, !13, i64 189, !13, i64 190, !21, i64 192, !21, i64 196, !8, i64 200}
!30 = !{!"_ZTS20ImDrawListSharedData", !27, i64 0, !10, i64 8, !21, i64 16, !21, i64 20, !21, i64 24, !31, i64 28, !7, i64 44, !32, i64 48, !8, i64 64, !21, i64 448, !8, i64 452, !10, i64 520}
!31 = !{!"_ZTS6ImVec4", !21, i64 0, !21, i64 4, !21, i64 8, !21, i64 12}
!32 = !{!"_ZTS8ImVectorI6ImVec2E", !7, i64 0, !7, i64 4, !10, i64 8}
!33 = !{!"double", !8, i64 0}
!34 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !7, i64 0, !7, i64 4, !10, i64 8}
!35 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !7, i64 0, !7, i64 4, !10, i64 8}
!36 = !{!"_ZTS12ImGuiStorage", !37, i64 0}
!37 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !7, i64 0, !7, i64 4, !10, i64 8}
!38 = !{!"_ZTS16ImGuiInputSource", !8, i64 0}
!39 = !{!"_ZTS20ImGuiKeyRoutingTable", !8, i64 0, !40, i64 280, !40, i64 296}
!40 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !7, i64 0, !7, i64 4, !10, i64 8}
!41 = !{!"_ZTS17ImGuiNextItemData", !7, i64 0, !21, i64 4, !7, i64 8, !7, i64 12, !13, i64 16}
!42 = !{!"_ZTS17ImGuiLastItemData", !7, i64 0, !7, i64 4, !7, i64 8, !43, i64 12, !43, i64 28, !43, i64 44}
!43 = !{!"_ZTS6ImRect", !27, i64 0, !27, i64 8}
!44 = !{!"_ZTS19ImGuiNextWindowData", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !27, i64 16, !27, i64 24, !27, i64 32, !27, i64 40, !27, i64 48, !13, i64 56, !43, i64 60, !10, i64 80, !10, i64 88, !21, i64 96, !27, i64 100}
!45 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !7, i64 0, !7, i64 4, !10, i64 8}
!46 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !7, i64 0, !7, i64 4, !10, i64 8}
!47 = !{!"_ZTS8ImVectorIP6ImFontE", !7, i64 0, !7, i64 4, !10, i64 8}
!48 = !{!"_ZTS8ImVectorIjE", !7, i64 0, !7, i64 4, !10, i64 8}
!49 = !{!"_ZTS8ImVectorIiE", !7, i64 0, !7, i64 4, !10, i64 8}
!50 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !7, i64 0, !7, i64 4, !10, i64 8}
!51 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !7, i64 0, !7, i64 4, !10, i64 8}
!52 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !7, i64 0, !7, i64 4, !10, i64 8}
!53 = !{!"_ZTS13ImGuiNavLayer", !8, i64 0}
!54 = !{!"_ZTS16ImGuiNavItemData", !10, i64 0, !7, i64 8, !7, i64 12, !43, i64 16, !7, i64 32, !21, i64 36, !21, i64 40, !21, i64 44}
!55 = !{!"_ZTS12ImGuiPayload", !10, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !8, i64 24, !13, i64 57, !13, i64 58}
!56 = !{!"_ZTS8ImVectorIhE", !7, i64 0, !7, i64 4, !10, i64 8}
!57 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !7, i64 0, !7, i64 4, !10, i64 8}
!58 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !7, i64 0, !7, i64 4, !10, i64 8}
!59 = !{!"_ZTS6ImPoolI10ImGuiTableE", !60, i64 0, !36, i64 16, !7, i64 32, !7, i64 36}
!60 = !{!"_ZTS8ImVectorI10ImGuiTableE", !7, i64 0, !7, i64 4, !10, i64 8}
!61 = !{!"_ZTS8ImVectorIfE", !7, i64 0, !7, i64 4, !10, i64 8}
!62 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !7, i64 0, !7, i64 4, !10, i64 8}
!63 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !64, i64 0, !36, i64 16, !7, i64 32, !7, i64 36}
!64 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !7, i64 0, !7, i64 4, !10, i64 8}
!65 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !7, i64 0, !7, i64 4, !10, i64 8}
!66 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !7, i64 0, !7, i64 4, !10, i64 8}
!67 = !{!"_ZTS6ImFont", !61, i64 0, !21, i64 16, !21, i64 20, !19, i64 24, !68, i64 40, !10, i64 56, !10, i64 64, !10, i64 72, !11, i64 80, !11, i64 82, !11, i64 84, !11, i64 86, !13, i64 88, !21, i64 92, !21, i64 96, !21, i64 100, !7, i64 104, !8, i64 108}
!68 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !7, i64 0, !7, i64 4, !10, i64 8}
!69 = !{!"_ZTS21ImGuiComboPreviewData", !43, i64 0, !27, i64 16, !27, i64 24, !27, i64 32, !21, i64 40, !7, i64 44}
!70 = !{!"_ZTS20ImGuiPlatformImeData", !13, i64 0, !27, i64 4, !21, i64 12}
!71 = !{!"_ZTS15ImGuiTextBuffer", !20, i64 0}
!72 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !7, i64 0, !7, i64 4, !10, i64 8}
!73 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !20, i64 0}
!74 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !20, i64 0}
!75 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !7, i64 0, !7, i64 4, !10, i64 8}
!76 = !{!"_ZTS12ImGuiLogType", !8, i64 0}
!77 = !{!"_ZTS14ImGuiTextIndex", !49, i64 0, !7, i64 16}
!78 = !{!"_ZTS18ImGuiMetricsConfig", !13, i64 0, !13, i64 1, !13, i64 2, !13, i64 3, !13, i64 4, !13, i64 5, !13, i64 6, !7, i64 8, !7, i64 12}
!79 = !{!"_ZTS14ImGuiStackTool", !7, i64 0, !7, i64 4, !7, i64 8, !80, i64 16, !13, i64 32, !21, i64 36}
!80 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !7, i64 0, !7, i64 4, !10, i64 8}
!81 = !{!6, !10, i64 24}
!82 = !{!18, !10, i64 48}
!83 = !{!18, !7, i64 76}
!84 = !{!8, !8, i64 0}
!85 = !{!6, !7, i64 44}
!86 = !{!6, !7, i64 52}
!87 = !{!6, !7, i64 48}
!88 = !{!6, !13, i64 40}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass