; LLVM IR from Samson-Mano/EM_Propogation_simulation :: EM_Propogation_simulation/src/ImGui (imgui_widgets)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.ImGuiInputTextCallbackData = type { ptr, i32, i32, ptr, i16, i32, ptr, i32, i32, i8, i32, i32, i32 }
%struct.ImGuiContext = type { i8, i8, %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, ptr, %struct.ImVector.11, %struct.ImVector.11, i32, i32, %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, 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.ImGuiInputTextDeactivatedState, %struct.ImFont, i32, i32, 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, 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, i8, i8, 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], ptr, %struct.ImVec2, [5 x i8], float, float, i32, 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], 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.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, float, %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.11 = 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.ImGuiInputTextDeactivatedState = type { i32, %struct.ImVector.29 }
%struct.ImFont = type <{ %struct.ImVector.1, float, float, %struct.ImVector.5, %struct.ImVector.30, 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.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, 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 }

@.str.4 = external hidden unnamed_addr constant [125 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [52 x i8], align 1
@__PRETTY_FUNCTION__._ZN26ImGuiInputTextCallbackData11InsertCharsEiPKcS1_ = external hidden unnamed_addr constant [78 x i8], align 1
@.str.56 = 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(64) %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 2
  %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 7
  %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 8
  %41 = load i32, ptr %40, align 4, !tbaa !18
  %42 = icmp sge i32 %39, %41
  br i1 %42, label %43, label %103

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

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

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

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

66:                                               ; preds = %64
  br label %69

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

68:                                               ; No predecessors!
  br label %69

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

77:                                               ; preds = %69
  br label %80

78:                                               ; preds = %69
  call void @__assert_fail(ptr noundef @.str.56, ptr noundef @.str.4, i32 noundef 3879, ptr noundef @__PRETTY_FUNCTION__._ZN26ImGuiInputTextCallbackData11InsertCharsEiPKcS1_) #9
  unreachable

79:                                               ; No predecessors!
  br label %80

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

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

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

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

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

154:                                              ; preds = %149, %127
  %155 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 10
  %156 = load i32, ptr %155, align 4, !tbaa !92
  %157 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 12
  store i32 %156, ptr %157, align 4, !tbaa !93
  %158 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 11
  store i32 %156, ptr %158, align 8, !tbaa !94
  %159 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 9
  store i8 1, ptr %159, align 8, !tbaa !95
  %160 = load i32, ptr %10, align 4, !tbaa !9
  %161 = getelementptr inbounds %struct.ImGuiInputTextCallbackData, ptr %15, i32 0, i32 7
  %162 = load i32, ptr %161, align 8, !tbaa !17
  %163 = add nsw i32 %162, %160
  store i32 %163, ptr %161, align 8, !tbaa !17
  store i32 0, ptr %11, align 4
  br label %164

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

166:                                              ; preds = %164, %164
  ret void

167:                                              ; preds = %164
  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 12}
!12 = !{!"_ZTS26ImGuiInputTextCallbackData", !6, i64 0, !10, i64 8, !10, i64 12, !6, i64 16, !13, i64 24, !14, i64 28, !6, i64 32, !10, i64 40, !10, i64 44, !15, i64 48, !10, i64 52, !10, i64 56, !10, i64 60}
!13 = !{!"short", !7, i64 0}
!14 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!12, !10, i64 40}
!18 = !{!12, !10, i64 44}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!12, !6, i64 0}
!22 = !{!23, !10, i64 8}
!23 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !24, i64 24, !25, i64 40, !25, i64 56, !15, i64 72, !10, i64 76, !26, i64 80, !27, i64 84, !26, i64 3712, !15, i64 3716, !15, i64 3717, !15, i64 3718, !10, i64 3720}
!24 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!25 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!26 = !{!"float", !7, i64 0}
!27 = !{!"_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, !26, i64 28, !28, i64 32}
!28 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !13, i64 3582, !13, i64 3584, !10, i64 3588, !10, i64 3592}
!29 = !{!30, !10, i64 16176}
!30 = !{!"_ZTS12ImGuiContext", !15, i64 0, !15, i64 1, !31, i64 8, !34, i64 14288, !6, i64 15360, !26, i64 15368, !26, i64 15372, !35, i64 15376, !38, i64 15904, !10, i64 15912, !10, i64 15916, !10, i64 15920, !15, i64 15924, !15, i64 15925, !15, i64 15926, !15, i64 15927, !15, i64 15928, !6, i64 15936, !39, i64 15944, !39, i64 15960, !33, i64 15976, !10, i64 15980, !40, i64 15984, !40, i64 16000, !40, i64 16016, !41, i64 16032, !42, i64 16048, !10, i64 16064, !32, i64 16068, !6, i64 16080, !6, i64 16088, !6, i64 16096, !6, i64 16104, !6, i64 16112, !32, i64 16120, !10, i64 16128, !26, i64 16132, !32, i64 16136, !32, i64 16144, !10, i64 16152, !10, i64 16156, !10, i64 16160, !15, i64 16164, !15, i64 16165, !26, i64 16168, !26, i64 16172, !10, i64 16176, !10, i64 16180, !26, i64 16184, !15, i64 16188, !15, i64 16189, !15, i64 16190, !15, i64 16191, !15, i64 16192, !15, i64 16193, !32, i64 16196, !6, i64 16208, !44, i64 16216, !10, i64 16220, !10, i64 16224, !15, i64 16228, !15, i64 16229, !6, i64 16232, !10, i64 16240, !26, i64 16244, !7, i64 16248, !45, i64 17928, !10, i64 18240, !15, i64 18244, !10, i64 18248, !10, i64 18252, !10, i64 18256, !10, i64 18260, !47, i64 18264, !48, i64 18284, !50, i64 18344, !51, i64 18456, !52, i64 18472, !53, i64 18488, !54, i64 18504, !55, i64 18520, !56, i64 18536, !57, i64 18552, !57, i64 18568, !10, i64 18584, !58, i64 18592, !6, i64 18608, !10, i64 18616, !10, i64 18620, !10, i64 18624, !10, i64 18628, !10, i64 18632, !10, i64 18636, !10, i64 18640, !10, i64 18644, !10, i64 18648, !10, i64 18652, !10, i64 18656, !44, i64 18660, !59, i64 18664, !15, i64 18668, !15, i64 18669, !15, i64 18670, !15, i64 18671, !15, i64 18672, !15, i64 18673, !15, i64 18674, !10, i64 18676, !49, i64 18680, !15, i64 18696, !15, i64 18697, !15, i64 18698, !10, i64 18700, !10, i64 18704, !10, i64 18708, !10, i64 18712, !10, i64 18716, !10, i64 18720, !49, i64 18724, !49, i64 18740, !10, i64 18756, !10, i64 18760, !10, i64 18764, !60, i64 18768, !60, i64 18816, !60, i64 18864, !60, i64 18912, !10, i64 18960, !10, i64 18964, !6, i64 18968, !6, i64 18976, !6, i64 18984, !26, i64 18992, !26, i64 18996, !15, i64 19000, !32, i64 19004, !32, i64 19012, !26, i64 19020, !10, i64 19024, !15, i64 19028, !15, i64 19029, !15, i64 19030, !10, i64 19032, !10, i64 19036, !10, i64 19040, !61, i64 19048, !49, i64 19112, !10, i64 19128, !10, i64 19132, !26, i64 19136, !10, i64 19140, !10, i64 19144, !10, i64 19148, !10, i64 19152, !62, i64 19160, !7, i64 19176, !10, i64 19192, !63, i64 19200, !6, i64 19216, !10, i64 19224, !64, i64 19232, !65, i64 19248, !67, i64 19288, !68, i64 19304, !6, i64 19320, !69, i64 19328, !71, i64 19368, !72, i64 19384, !10, i64 19400, !10, i64 19404, !26, i64 19408, !26, i64 19412, !32, i64 19416, !23, i64 19424, !73, i64 23152, !74, i64 23176, !10, i64 23296, !10, i64 23300, !10, i64 23304, !10, i64 23308, !26, i64 23312, !26, i64 23316, !10, i64 23320, !36, i64 23324, !76, i64 23340, !26, i64 23388, !26, i64 23392, !15, i64 23396, !15, i64 23397, !26, i64 23400, !26, i64 23404, !26, i64 23408, !26, i64 23412, !13, i64 23416, !13, i64 23418, !25, i64 23424, !54, i64 23440, !77, i64 23456, !77, i64 23472, !7, i64 23488, !15, i64 23489, !26, i64 23492, !78, i64 23496, !79, i64 23512, !80, i64 23528, !81, i64 23544, !82, i64 23560, !10, i64 23576, !7, i64 23584, !15, i64 23640, !83, i64 23644, !6, i64 23648, !78, i64 23656, !6, i64 23672, !6, i64 23680, !26, i64 23688, !15, i64 23692, !10, i64 23696, !10, i64 23700, !10, i64 23704, !10, i64 23708, !78, i64 23712, !84, i64 23728, !7, i64 23752, !7, i64 23753, !7, i64 23754, !15, i64 23755, !7, i64 23756, !10, i64 23760, !85, i64 23764, !86, i64 23784, !7, i64 23824, !10, i64 24064, !10, i64 24068, !26, i64 24072, !10, i64 24076, !10, i64 24080, !10, i64 24084, !25, i64 24088}
!31 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !32, i64 8, !26, i64 16, !26, i64 20, !6, i64 24, !6, i64 32, !26, i64 40, !26, i64 44, !26, i64 48, !26, i64 52, !26, i64 56, !26, i64 60, !26, i64 64, !6, i64 72, !6, i64 80, !26, i64 88, !15, i64 92, !6, i64 96, !32, 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, !26, i64 120, !15, i64 124, !15, i64 125, !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, !26, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !32, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !6, i64 3576, !32, i64 3584, !7, i64 3592, !26, i64 3600, !26, i64 3604, !33, i64 3608, !15, i64 3612, !15, i64 3613, !15, i64 3614, !15, i64 3615, !10, i64 3616, !7, i64 3620, !15, i64 14052, !32, i64 14056, !7, i64 14064, !7, i64 14104, !7, i64 14144, !7, i64 14149, !7, i64 14154, !7, i64 14164, !7, i64 14174, !7, i64 14179, !7, i64 14184, !15, i64 14189, !7, i64 14192, !7, i64 14212, !7, i64 14232, !26, i64 14252, !15, i64 14256, !15, i64 14257, !7, i64 14258, !15, i64 14259, !13, i64 14260, !24, i64 14264}
!32 = !{!"_ZTS6ImVec2", !26, i64 0, !26, i64 4}
!33 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!34 = !{!"_ZTS10ImGuiStyle", !26, i64 0, !26, i64 4, !32, i64 8, !26, i64 16, !26, i64 20, !32, i64 24, !32, i64 32, !10, i64 40, !26, i64 44, !26, i64 48, !26, i64 52, !26, i64 56, !32, i64 60, !26, i64 68, !26, i64 72, !32, i64 76, !32, i64 84, !32, i64 92, !32, i64 100, !26, i64 108, !26, i64 112, !26, i64 116, !26, i64 120, !26, i64 124, !26, i64 128, !26, i64 132, !26, i64 136, !26, i64 140, !26, i64 144, !10, i64 148, !32, i64 152, !32, i64 160, !26, i64 168, !32, i64 172, !32, i64 180, !32, i64 188, !32, i64 196, !26, i64 204, !15, i64 208, !15, i64 209, !15, i64 210, !26, i64 212, !26, i64 216, !7, i64 220}
!35 = !{!"_ZTS20ImDrawListSharedData", !32, i64 0, !6, i64 8, !26, i64 16, !26, i64 20, !26, i64 24, !36, i64 28, !10, i64 44, !37, i64 48, !7, i64 64, !26, i64 448, !7, i64 452, !6, i64 520}
!36 = !{!"_ZTS6ImVec4", !26, i64 0, !26, i64 4, !26, i64 8, !26, i64 12}
!37 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!38 = !{!"double", !7, i64 0}
!39 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !10, i64 0, !10, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!42 = !{!"_ZTS12ImGuiStorage", !43, i64 0}
!43 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!44 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!45 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !46, i64 280, !46, i64 296}
!46 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!47 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !26, i64 4, !10, i64 8, !10, i64 12, !15, i64 16}
!48 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !49, i64 12, !49, i64 28, !49, i64 44}
!49 = !{!"_ZTS6ImRect", !32, i64 0, !32, i64 8}
!50 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !32, i64 16, !32, i64 24, !32, i64 32, !32, i64 40, !32, i64 48, !15, i64 56, !49, i64 60, !6, i64 80, !6, i64 88, !26, i64 96, !32, i64 100}
!51 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !6, i64 8}
!59 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!60 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !10, i64 8, !10, i64 12, !49, i64 16, !10, i64 32, !26, i64 36, !26, i64 40, !26, i64 44}
!61 = !{!"_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}
!62 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!65 = !{!"_ZTS6ImPoolI10ImGuiTableE", !66, i64 0, !42, i64 16, !10, i64 32, !10, i64 36}
!66 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!67 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!68 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!69 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !70, i64 0, !42, i64 16, !10, i64 32, !10, i64 36}
!70 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!71 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!72 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!73 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !10, i64 0, !25, i64 8}
!74 = !{!"_ZTS6ImFont", !67, i64 0, !26, i64 16, !26, i64 20, !24, i64 24, !75, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !13, i64 80, !13, i64 82, !13, i64 84, !13, i64 86, !26, i64 88, !26, i64 92, !15, i64 96, !26, i64 100, !26, i64 104, !26, i64 108, !10, i64 112, !7, i64 116}
!75 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!76 = !{!"_ZTS21ImGuiComboPreviewData", !49, i64 0, !32, i64 16, !32, i64 24, !32, i64 32, !26, i64 40, !10, i64 44}
!77 = !{!"_ZTS20ImGuiPlatformImeData", !15, i64 0, !32, i64 4, !26, i64 12}
!78 = !{!"_ZTS15ImGuiTextBuffer", !25, i64 0}
!79 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!80 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !25, i64 0}
!81 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !25, i64 0}
!82 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!83 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!84 = !{!"_ZTS14ImGuiTextIndex", !55, i64 0, !10, i64 16}
!85 = !{!"_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, !10, i64 8, !10, i64 12}
!86 = !{!"_ZTS14ImGuiStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !87, i64 16, !15, i64 32, !26, i64 36}
!87 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !6, i64 8}
!88 = !{!12, !6, i64 32}
!89 = !{!23, !6, i64 48}
!90 = !{!23, !10, i64 76}
!91 = !{!7, !7, i64 0}
!92 = !{!12, !10, i64 52}
!93 = !{!12, !10, i64 60}
!94 = !{!12, !10, i64 56}
!95 = !{!12, !15, i64 48}


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

@.str.4 = external hidden unnamed_addr constant [125 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [52 x i8], align 1
@__PRETTY_FUNCTION__._ZN26ImGuiInputTextCallbackData11InsertCharsEiPKcS1_ = external hidden unnamed_addr constant [78 x i8], align 1
@.str.56 = 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(64) %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #4 align 2 {
  %5 = getelementptr inbounds i8, ptr %0, i64 12
  %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 40
  %17 = load i32, ptr %16, align 8, !tbaa !14
  %18 = add nsw i32 %17, %15
  %19 = getelementptr inbounds i8, ptr %0, i64 44
  %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 %0, align 8, !tbaa !16
  %24 = getelementptr inbounds i8, ptr %23, i64 19432
  %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 16176
  %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.55, ptr noundef nonnull @.str.4, i32 noundef 3878, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN26ImGuiInputTextCallbackData11InsertCharsEiPKcS1_) #7
  unreachable

30:                                               ; preds = %26
  %31 = getelementptr inbounds i8, ptr %0, i64 32
  %32 = load ptr, ptr %31, align 8, !tbaa !83
  %33 = getelementptr inbounds i8, ptr %23, i64 19472
  %34 = load ptr, ptr %33, align 8, !tbaa !84
  %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.56, ptr noundef nonnull @.str.4, i32 noundef 3879, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN26ImGuiInputTextCallbackData11InsertCharsEiPKcS1_) #7
  unreachable

37:                                               ; preds = %30
  %38 = getelementptr inbounds i8, ptr %23, i64 19464
  %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 !84
  store ptr %45, ptr %31, align 8, !tbaa !83
  %46 = getelementptr inbounds i8, ptr %23, i64 19500
  store i32 %43, ptr %46, align 4, !tbaa !85
  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 32
  %51 = load ptr, ptr %50, align 8, !tbaa !83
  %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 32
  %60 = load ptr, ptr %59, align 8, !tbaa !83
  %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 !83
  %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 !86
  %67 = getelementptr inbounds i8, ptr %0, i64 52
  %68 = load i32, ptr %67, align 4, !tbaa !87
  %.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 !87
  br label %71

71:                                               ; preds = %69, %58
  %72 = phi i32 [ %70, %69 ], [ %68, %58 ]
  %73 = getelementptr inbounds i8, ptr %0, i64 60
  store i32 %72, ptr %73, align 4, !tbaa !88
  %74 = getelementptr inbounds i8, ptr %0, i64 56
  store i32 %72, ptr %74, align 8, !tbaa !89
  %75 = getelementptr inbounds i8, ptr %0, i64 48
  store i8 1, ptr %75, align 8, !tbaa !90
  %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, !10, i64 12}
!6 = !{!"_ZTS26ImGuiInputTextCallbackData", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16, !11, i64 24, !12, i64 28, !7, i64 32, !10, i64 40, !10, i64 44, !13, i64 48, !10, i64 52, !10, i64 56, !10, i64 60}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"short", !8, i64 0}
!12 = !{!"_ZTS8ImGuiKey", !8, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{!6, !10, i64 40}
!15 = !{!6, !10, i64 44}
!16 = !{!6, !7, i64 0}
!17 = !{!18, !10, i64 8}
!18 = !{!"_ZTS19ImGuiInputTextState", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !19, i64 24, !20, i64 40, !20, i64 56, !13, i64 72, !10, i64 76, !21, i64 80, !22, i64 84, !21, i64 3712, !13, i64 3716, !13, i64 3717, !13, i64 3718, !10, i64 3720}
!19 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !7, i64 8}
!20 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !7, i64 8}
!21 = !{!"float", !8, i64 0}
!22 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !8, i64 12, !10, i64 16, !8, i64 20, !8, i64 21, !8, i64 22, !8, i64 23, !8, i64 24, !8, i64 25, !8, i64 26, !21, i64 28, !23, i64 32}
!23 = !{!"_ZTSN5ImStb12StbUndoStateE", !8, i64 0, !8, i64 1584, !11, i64 3582, !11, i64 3584, !10, i64 3588, !10, i64 3592}
!24 = !{!25, !10, i64 16176}
!25 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !26, i64 8, !29, i64 14288, !7, i64 15360, !21, i64 15368, !21, i64 15372, !30, i64 15376, !33, i64 15904, !10, i64 15912, !10, i64 15916, !10, i64 15920, !13, i64 15924, !13, i64 15925, !13, i64 15926, !13, i64 15927, !13, i64 15928, !7, i64 15936, !34, i64 15944, !34, i64 15960, !28, i64 15976, !10, i64 15980, !35, i64 15984, !35, i64 16000, !35, i64 16016, !36, i64 16032, !37, i64 16048, !10, i64 16064, !27, i64 16068, !7, i64 16080, !7, i64 16088, !7, i64 16096, !7, i64 16104, !7, i64 16112, !27, i64 16120, !10, i64 16128, !21, i64 16132, !27, i64 16136, !27, i64 16144, !10, i64 16152, !10, i64 16156, !10, i64 16160, !13, i64 16164, !13, i64 16165, !21, i64 16168, !21, i64 16172, !10, i64 16176, !10, i64 16180, !21, i64 16184, !13, i64 16188, !13, i64 16189, !13, i64 16190, !13, i64 16191, !13, i64 16192, !13, i64 16193, !27, i64 16196, !7, i64 16208, !39, i64 16216, !10, i64 16220, !10, i64 16224, !13, i64 16228, !13, i64 16229, !7, i64 16232, !10, i64 16240, !21, i64 16244, !8, i64 16248, !40, i64 17928, !10, i64 18240, !13, i64 18244, !10, i64 18248, !10, i64 18252, !10, i64 18256, !10, i64 18260, !42, i64 18264, !43, i64 18284, !45, i64 18344, !46, i64 18456, !47, i64 18472, !48, i64 18488, !49, i64 18504, !50, i64 18520, !51, i64 18536, !52, i64 18552, !52, i64 18568, !10, i64 18584, !53, i64 18592, !7, i64 18608, !10, i64 18616, !10, i64 18620, !10, i64 18624, !10, i64 18628, !10, i64 18632, !10, i64 18636, !10, i64 18640, !10, i64 18644, !10, i64 18648, !10, i64 18652, !10, i64 18656, !39, i64 18660, !54, i64 18664, !13, i64 18668, !13, i64 18669, !13, i64 18670, !13, i64 18671, !13, i64 18672, !13, i64 18673, !13, i64 18674, !10, i64 18676, !44, i64 18680, !13, i64 18696, !13, i64 18697, !13, i64 18698, !10, i64 18700, !10, i64 18704, !10, i64 18708, !10, i64 18712, !10, i64 18716, !10, i64 18720, !44, i64 18724, !44, i64 18740, !10, i64 18756, !10, i64 18760, !10, i64 18764, !55, i64 18768, !55, i64 18816, !55, i64 18864, !55, i64 18912, !10, i64 18960, !10, i64 18964, !7, i64 18968, !7, i64 18976, !7, i64 18984, !21, i64 18992, !21, i64 18996, !13, i64 19000, !27, i64 19004, !27, i64 19012, !21, i64 19020, !10, i64 19024, !13, i64 19028, !13, i64 19029, !13, i64 19030, !10, i64 19032, !10, i64 19036, !10, i64 19040, !56, i64 19048, !44, i64 19112, !10, i64 19128, !10, i64 19132, !21, i64 19136, !10, i64 19140, !10, i64 19144, !10, i64 19148, !10, i64 19152, !57, i64 19160, !8, i64 19176, !10, i64 19192, !58, i64 19200, !7, i64 19216, !10, i64 19224, !59, i64 19232, !60, i64 19248, !62, i64 19288, !63, i64 19304, !7, i64 19320, !64, i64 19328, !66, i64 19368, !67, i64 19384, !10, i64 19400, !10, i64 19404, !21, i64 19408, !21, i64 19412, !27, i64 19416, !18, i64 19424, !68, i64 23152, !69, i64 23176, !10, i64 23296, !10, i64 23300, !10, i64 23304, !10, i64 23308, !21, i64 23312, !21, i64 23316, !10, i64 23320, !31, i64 23324, !71, i64 23340, !21, i64 23388, !21, i64 23392, !13, i64 23396, !13, i64 23397, !21, i64 23400, !21, i64 23404, !21, i64 23408, !21, i64 23412, !11, i64 23416, !11, i64 23418, !20, i64 23424, !49, i64 23440, !72, i64 23456, !72, i64 23472, !8, i64 23488, !13, i64 23489, !21, i64 23492, !73, i64 23496, !74, i64 23512, !75, i64 23528, !76, i64 23544, !77, i64 23560, !10, i64 23576, !8, i64 23584, !13, i64 23640, !78, i64 23644, !7, i64 23648, !73, i64 23656, !7, i64 23672, !7, i64 23680, !21, i64 23688, !13, i64 23692, !10, i64 23696, !10, i64 23700, !10, i64 23704, !10, i64 23708, !73, i64 23712, !79, i64 23728, !8, i64 23752, !8, i64 23753, !8, i64 23754, !13, i64 23755, !8, i64 23756, !10, i64 23760, !80, i64 23764, !81, i64 23784, !8, i64 23824, !10, i64 24064, !10, i64 24068, !21, i64 24072, !10, i64 24076, !10, i64 24080, !10, i64 24084, !20, i64 24088}
!26 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !27, i64 8, !21, i64 16, !21, i64 20, !7, i64 24, !7, i64 32, !21, i64 40, !21, i64 44, !21, i64 48, !21, i64 52, !21, i64 56, !21, i64 60, !21, i64 64, !7, i64 72, !7, i64 80, !21, i64 88, !13, i64 92, !7, 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, !13, i64 124, !13, i64 125, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !7, i64 176, !7, i64 184, !7, i64 192, !7, i64 200, !13, i64 208, !13, i64 209, !13, i64 210, !13, i64 211, !13, i64 212, !13, i64 213, !13, i64 214, !21, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !27, i64 240, !8, i64 248, !8, i64 2856, !8, i64 3508, !7, i64 3576, !27, i64 3584, !8, i64 3592, !21, i64 3600, !21, i64 3604, !28, i64 3608, !13, i64 3612, !13, i64 3613, !13, i64 3614, !13, i64 3615, !10, i64 3616, !8, i64 3620, !13, i64 14052, !27, i64 14056, !8, i64 14064, !8, i64 14104, !8, i64 14144, !8, i64 14149, !8, i64 14154, !8, i64 14164, !8, i64 14174, !8, i64 14179, !8, i64 14184, !13, i64 14189, !8, i64 14192, !8, i64 14212, !8, i64 14232, !21, i64 14252, !13, i64 14256, !13, i64 14257, !8, i64 14258, !13, i64 14259, !11, i64 14260, !19, i64 14264}
!27 = !{!"_ZTS6ImVec2", !21, i64 0, !21, i64 4}
!28 = !{!"_ZTS16ImGuiMouseSource", !8, i64 0}
!29 = !{!"_ZTS10ImGuiStyle", !21, i64 0, !21, i64 4, !27, i64 8, !21, i64 16, !21, i64 20, !27, i64 24, !27, i64 32, !10, 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, !10, i64 148, !27, i64 152, !27, i64 160, !21, i64 168, !27, i64 172, !27, i64 180, !27, i64 188, !27, i64 196, !21, i64 204, !13, i64 208, !13, i64 209, !13, i64 210, !21, i64 212, !21, i64 216, !8, i64 220}
!30 = !{!"_ZTS20ImDrawListSharedData", !27, i64 0, !7, i64 8, !21, i64 16, !21, i64 20, !21, i64 24, !31, i64 28, !10, i64 44, !32, i64 48, !8, i64 64, !21, i64 448, !8, i64 452, !7, i64 520}
!31 = !{!"_ZTS6ImVec4", !21, i64 0, !21, i64 4, !21, i64 8, !21, i64 12}
!32 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !7, i64 8}
!33 = !{!"double", !8, i64 0}
!34 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !10, i64 0, !10, i64 4, !7, i64 8}
!35 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !7, i64 8}
!36 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!37 = !{!"_ZTS12ImGuiStorage", !38, i64 0}
!38 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !7, i64 8}
!39 = !{!"_ZTS16ImGuiInputSource", !8, i64 0}
!40 = !{!"_ZTS20ImGuiKeyRoutingTable", !8, i64 0, !41, i64 280, !41, i64 296}
!41 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!42 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !21, i64 4, !10, i64 8, !10, i64 12, !13, i64 16}
!43 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !44, i64 12, !44, i64 28, !44, i64 44}
!44 = !{!"_ZTS6ImRect", !27, i64 0, !27, i64 8}
!45 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !27, i64 16, !27, i64 24, !27, i64 32, !27, i64 40, !27, i64 48, !13, i64 56, !44, i64 60, !7, i64 80, !7, i64 88, !21, i64 96, !27, i64 100}
!46 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !7, i64 8}
!47 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !7, i64 8}
!48 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !7, i64 8}
!49 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !7, i64 8}
!50 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !7, i64 8}
!51 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!52 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!53 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !7, i64 8}
!54 = !{!"_ZTS13ImGuiNavLayer", !8, i64 0}
!55 = !{!"_ZTS16ImGuiNavItemData", !7, i64 0, !10, i64 8, !10, i64 12, !44, i64 16, !10, i64 32, !21, i64 36, !21, i64 40, !21, i64 44}
!56 = !{!"_ZTS12ImGuiPayload", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !8, i64 24, !13, i64 57, !13, i64 58}
!57 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !7, i64 8}
!58 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!59 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!60 = !{!"_ZTS6ImPoolI10ImGuiTableE", !61, i64 0, !37, i64 16, !10, i64 32, !10, i64 36}
!61 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !7, i64 8}
!62 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !7, i64 8}
!63 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !7, i64 8}
!64 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !65, i64 0, !37, i64 16, !10, i64 32, !10, i64 36}
!65 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !7, i64 8}
!66 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !7, i64 8}
!67 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !7, i64 8}
!68 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !10, i64 0, !20, i64 8}
!69 = !{!"_ZTS6ImFont", !62, i64 0, !21, i64 16, !21, i64 20, !19, i64 24, !70, i64 40, !7, i64 56, !7, i64 64, !7, i64 72, !11, i64 80, !11, i64 82, !11, i64 84, !11, i64 86, !21, i64 88, !21, i64 92, !13, i64 96, !21, i64 100, !21, i64 104, !21, i64 108, !10, i64 112, !8, i64 116}
!70 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !7, i64 8}
!71 = !{!"_ZTS21ImGuiComboPreviewData", !44, i64 0, !27, i64 16, !27, i64 24, !27, i64 32, !21, i64 40, !10, i64 44}
!72 = !{!"_ZTS20ImGuiPlatformImeData", !13, i64 0, !27, i64 4, !21, i64 12}
!73 = !{!"_ZTS15ImGuiTextBuffer", !20, i64 0}
!74 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !7, i64 8}
!75 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !20, i64 0}
!76 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !20, i64 0}
!77 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !7, i64 8}
!78 = !{!"_ZTS12ImGuiLogType", !8, i64 0}
!79 = !{!"_ZTS14ImGuiTextIndex", !50, i64 0, !10, i64 16}
!80 = !{!"_ZTS18ImGuiMetricsConfig", !13, i64 0, !13, i64 1, !13, i64 2, !13, i64 3, !13, i64 4, !13, i64 5, !13, i64 6, !13, i64 7, !10, i64 8, !10, i64 12}
!81 = !{!"_ZTS14ImGuiStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !82, i64 16, !13, i64 32, !21, i64 36}
!82 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !7, i64 8}
!83 = !{!6, !7, i64 32}
!84 = !{!18, !7, i64 48}
!85 = !{!18, !10, i64 76}
!86 = !{!8, !8, i64 0}
!87 = !{!6, !10, i64 52}
!88 = !{!6, !10, i64 60}
!89 = !{!6, !10, i64 56}
!90 = !{!6, !13, i64 48}


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