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

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

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

@GImGui = external global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui23InputTextDeactivateHookEj = external hidden unnamed_addr constant [45 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: 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) #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui23InputTextDeactivateHookEj(i32 noundef %0) #3 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  store i32 %0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %6 = load ptr, ptr @GImGui, align 8, !tbaa !9
  store ptr %6, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %7 = load ptr, ptr %3, align 8, !tbaa !9
  %8 = getelementptr inbounds %struct.ImGuiContext, ptr %7, i32 0, i32 208
  store ptr %8, ptr %4, align 8, !tbaa !9
  %9 = load i32, ptr %2, align 4, !tbaa !5
  %10 = icmp eq i32 %9, 0
  br i1 %10, label %17, label %11

11:                                               ; preds = %1
  %12 = load ptr, ptr %4, align 8, !tbaa !9
  %13 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %12, i32 0, i32 1
  %14 = load i32, ptr %13, align 8, !tbaa !11
  %15 = load i32, ptr %2, align 4, !tbaa !5
  %16 = icmp ne i32 %14, %15
  br i1 %16, label %17, label %18

17:                                               ; preds = %11, %1
  store i32 1, ptr %5, align 4
  br label %66

18:                                               ; preds = %11
  %19 = load ptr, ptr %4, align 8, !tbaa !9
  %20 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %19, i32 0, i32 1
  %21 = load i32, ptr %20, align 8, !tbaa !11
  %22 = load ptr, ptr %3, align 8, !tbaa !9
  %23 = getelementptr inbounds %struct.ImGuiContext, ptr %22, i32 0, i32 209
  %24 = getelementptr inbounds %struct.ImGuiInputTextDeactivatedState, ptr %23, i32 0, i32 0
  store i32 %21, ptr %24, align 8, !tbaa !20
  %25 = load ptr, ptr %4, align 8, !tbaa !9
  %26 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %25, i32 0, i32 18
  %27 = load i32, ptr %26, align 8, !tbaa !94
  %28 = and i32 %27, 16384
  %29 = icmp ne i32 %28, 0
  br i1 %29, label %30, label %34

30:                                               ; preds = %18
  %31 = load ptr, ptr %3, align 8, !tbaa !9
  %32 = getelementptr inbounds %struct.ImGuiContext, ptr %31, i32 0, i32 209
  %33 = getelementptr inbounds %struct.ImGuiInputTextDeactivatedState, ptr %32, i32 0, i32 1
  call void @_ZN8ImVectorIcE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %33, i32 noundef 0)
  br label %65

34:                                               ; preds = %18
  %35 = load ptr, ptr %4, align 8, !tbaa !9
  %36 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %35, i32 0, i32 6
  %37 = getelementptr inbounds %struct.ImVector.33, ptr %36, i32 0, i32 2
  %38 = load ptr, ptr %37, align 8, !tbaa !95
  %39 = icmp ne ptr %38, null
  br i1 %39, label %40, label %41

40:                                               ; preds = %34
  br label %43

41:                                               ; preds = %34
  call void @__assert_fail(ptr noundef @.str.57, ptr noundef @.str.4, i32 noundef 4075, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui23InputTextDeactivateHookEj) #6
  unreachable

42:                                               ; No predecessors!
  br label %43

43:                                               ; preds = %42, %40
  %44 = load ptr, ptr %3, align 8, !tbaa !9
  %45 = getelementptr inbounds %struct.ImGuiContext, ptr %44, i32 0, i32 209
  %46 = getelementptr inbounds %struct.ImGuiInputTextDeactivatedState, ptr %45, i32 0, i32 1
  %47 = load ptr, ptr %4, align 8, !tbaa !9
  %48 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %47, i32 0, i32 3
  %49 = load i32, ptr %48, align 8, !tbaa !96
  %50 = add nsw i32 %49, 1
  call void @_ZN8ImVectorIcE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %46, i32 noundef %50)
  %51 = load ptr, ptr %3, align 8, !tbaa !9
  %52 = getelementptr inbounds %struct.ImGuiContext, ptr %51, i32 0, i32 209
  %53 = getelementptr inbounds %struct.ImGuiInputTextDeactivatedState, ptr %52, i32 0, i32 1
  %54 = getelementptr inbounds %struct.ImVector.33, ptr %53, i32 0, i32 2
  %55 = load ptr, ptr %54, align 8, !tbaa !97
  %56 = load ptr, ptr %4, align 8, !tbaa !9
  %57 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %56, i32 0, i32 6
  %58 = getelementptr inbounds %struct.ImVector.33, ptr %57, i32 0, i32 2
  %59 = load ptr, ptr %58, align 8, !tbaa !95
  %60 = load ptr, ptr %4, align 8, !tbaa !9
  %61 = getelementptr inbounds %struct.ImGuiInputTextState, ptr %60, i32 0, i32 3
  %62 = load i32, ptr %61, align 8, !tbaa !96
  %63 = add nsw i32 %62, 1
  %64 = sext i32 %63 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %55, ptr align 1 %59, i64 %64, i1 false)
  br label %65

65:                                               ; preds = %43, %30
  store i32 0, ptr %5, align 4
  br label %66

66:                                               ; preds = %65, %17
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  %67 = load i32, ptr %5, align 4
  switch i32 %67, label %69 [
    i32 0, label %68
    i32 1, label %68
  ]

68:                                               ; preds = %66, %66
  ret void

69:                                               ; preds = %66
  unreachable
}

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

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


; 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 [80 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui23InputTextDeactivateHookEj = external hidden unnamed_addr constant [45 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui23InputTextDeactivateHookEj(i32 noundef %0) local_unnamed_addr #2 {
  %2 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %3 = icmp eq i32 %0, 0
  br i1 %3, label %29, label %4

4:                                                ; preds = %1
  %5 = getelementptr inbounds i8, ptr %2, i64 20688
  %6 = load i32, ptr %5, align 8, !tbaa !9
  %.not = icmp eq i32 %6, %0
  br i1 %.not, label %7, label %29

7:                                                ; preds = %4
  %8 = getelementptr inbounds i8, ptr %2, i64 24408
  store i32 %0, ptr %8, align 8, !tbaa !19
  %9 = getelementptr inbounds i8, ptr %2, i64 24400
  %10 = load i32, ptr %9, align 8, !tbaa !93
  %11 = and i32 %10, 16384
  %.not14 = icmp eq i32 %11, 0
  br i1 %.not14, label %14, label %12

12:                                               ; preds = %7
  %13 = getelementptr inbounds i8, ptr %2, i64 24416
  tail call void @_ZN8ImVectorIcE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %13, i32 noundef 0)
  br label %29

14:                                               ; preds = %7
  %15 = getelementptr inbounds i8, ptr %2, i64 20728
  %16 = load ptr, ptr %15, align 8, !tbaa !94
  %.not15 = icmp eq ptr %16, null
  br i1 %.not15, label %17, label %18

17:                                               ; preds = %14
  tail call void @__assert_fail(ptr noundef nonnull @.str.57, ptr noundef nonnull @.str.4, i32 noundef 4075, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui23InputTextDeactivateHookEj) #4
  unreachable

18:                                               ; preds = %14
  %19 = getelementptr inbounds i8, ptr %2, i64 24416
  %20 = getelementptr inbounds i8, ptr %2, i64 20696
  %21 = load i32, ptr %20, align 8, !tbaa !95
  %22 = add nsw i32 %21, 1
  tail call void @_ZN8ImVectorIcE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %19, i32 noundef %22)
  %23 = getelementptr inbounds i8, ptr %2, i64 24424
  %24 = load ptr, ptr %23, align 8, !tbaa !96
  %25 = load ptr, ptr %15, align 8, !tbaa !94
  %26 = load i32, ptr %20, align 8, !tbaa !95
  %27 = add nsw i32 %26, 1
  %28 = sext i32 %27 to i64
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %24, ptr align 1 %25, i64 %28, i1 false)
  br label %29

29:                                               ; preds = %12, %18, %1, %4
  ret void
}

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

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


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