; LLVM IR from xhub/reshop :: gui/external/imgui/imgui_widgets.ll (ZN5ImGui7ListBoxEPKcPiPFS1_PviES3_ii)

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

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

@GImGui = external global ptr, align 8
@.str.31 = external hidden unnamed_addr constant [15 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: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #1 align 2

; 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 nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2

declare void @_ZN5ImGui14MarkItemEditedEj(i32 noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL7ImTruncf(float noundef) #4

declare void @_ZN16ImGuiListClipperC1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3

declare void @_ZN16ImGuiListClipper5BeginEif(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, float noundef) #3

declare i32 @__gxx_personality_v0(...)

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

declare noundef zeroext i1 @_ZN16ImGuiListClipper4StepEv(ptr noundef nonnull align 8 dereferenceable(48)) #3

declare void @_ZN5ImGui6PushIDEi(i32 noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef, i1 noundef zeroext, i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) #6

declare void @_ZN5ImGui19SetItemDefaultFocusEv() #3

declare void @_ZN5ImGui5PopIDEv() #3

; Function Attrs: nounwind
declare void @_ZN16ImGuiListClipperD1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #7

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui7ListBoxEPKcPiPFS1_PviES3_ii(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #8 personality ptr @__gxx_personality_v0 {
  %7 = alloca i1, align 1
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca float, align 4
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca i32, align 4
  %18 = alloca i8, align 1
  %19 = alloca %struct.ImGuiListClipper, align 8
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca i8, align 1
  %25 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store i32 %4, ptr %12, align 4, !tbaa !9
  store i32 %5, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %26 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %26, ptr %14, align 8, !tbaa !5
  %27 = load i32, ptr %13, align 4, !tbaa !9
  %28 = icmp slt i32 %27, 0
  br i1 %28, label %29, label %32

29:                                               ; preds = %6
  %30 = load i32, ptr %12, align 4, !tbaa !9
  %31 = call noundef i32 @_ZL5ImMinIiET_S0_S0_(i32 noundef %30, i32 noundef 7)
  store i32 %31, ptr %13, align 4, !tbaa !9
  br label %32

32:                                               ; preds = %29, %6
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  %33 = load i32, ptr %13, align 4, !tbaa !9
  %34 = sitofp i32 %33 to float
  %35 = fadd float %34, 2.500000e-01
  store float %35, ptr %15, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  %36 = call noundef float @_ZN5ImGui28GetTextLineHeightWithSpacingEv()
  %37 = load float, ptr %15, align 4, !tbaa !11
  %38 = load ptr, ptr %14, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.ImGuiContext, ptr %38, i32 0, i32 4
  %40 = getelementptr inbounds %struct.ImGuiStyle, ptr %39, i32 0, i32 12
  %41 = getelementptr inbounds %struct.ImVec2, ptr %40, i32 0, i32 1
  %42 = load float, ptr %41, align 4, !tbaa !13
  %43 = fmul float %42, 2.000000e+00
  %44 = call float @llvm.fmuladd.f32(float %36, float %37, float %43)
  %45 = call noundef float @_ZL7ImTruncf(float noundef %44)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef 0.000000e+00, float noundef %45)
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = call noundef zeroext i1 @_ZN5ImGui12BeginListBoxEPKcRK6ImVec2(ptr noundef %46, ptr noundef nonnull align 4 dereferenceable(8) %16)
  br i1 %47, label %49, label %48

48:                                               ; preds = %32
  store i1 false, ptr %7, align 1
  store i32 1, ptr %17, align 4
  br label %138

49:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #9
  store i8 0, ptr %18, align 1, !tbaa !93
  call void @llvm.lifetime.start.p0(i64 48, ptr %19) #9
  call void @_ZN16ImGuiListClipperC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %19)
  %50 = load i32, ptr %12, align 4, !tbaa !9
  %51 = invoke noundef float @_ZN5ImGui28GetTextLineHeightWithSpacingEv()
          to label %52 unwind label %69

52:                                               ; preds = %49
  invoke void @_ZN16ImGuiListClipper5BeginEif(ptr noundef nonnull align 8 dereferenceable(48) %19, i32 noundef %50, float noundef %51)
          to label %53 unwind label %69

53:                                               ; preds = %52
  %54 = load ptr, ptr %9, align 8, !tbaa !5
  %55 = load i32, ptr %54, align 4, !tbaa !9
  invoke void @_ZN16ImGuiListClipper18IncludeItemByIndexEi(ptr noundef nonnull align 8 dereferenceable(48) %19, i32 noundef %55)
          to label %56 unwind label %69

56:                                               ; preds = %53
  br label %57

57:                                               ; preds = %123, %56
  %58 = invoke noundef zeroext i1 @_ZN16ImGuiListClipper4StepEv(ptr noundef nonnull align 8 dereferenceable(48) %19)
          to label %59 unwind label %69

59:                                               ; preds = %57
  br i1 %58, label %60, label %124

60:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  %61 = getelementptr inbounds %struct.ImGuiListClipper, ptr %19, i32 0, i32 1
  %62 = load i32, ptr %61, align 8, !tbaa !94
  store i32 %62, ptr %22, align 4, !tbaa !9
  br label %63

63:                                               ; preds = %118, %60
  %64 = load i32, ptr %22, align 4, !tbaa !9
  %65 = getelementptr inbounds %struct.ImGuiListClipper, ptr %19, i32 0, i32 2
  %66 = load i32, ptr %65, align 4, !tbaa !96
  %67 = icmp slt i32 %64, %66
  br i1 %67, label %73, label %68

68:                                               ; preds = %63
  store i32 4, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  br label %123

69:                                               ; preds = %128, %124, %57, %53, %52, %49
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %20, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %21, align 4
  br label %137

73:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  %74 = load ptr, ptr %10, align 8, !tbaa !5
  %75 = load ptr, ptr %11, align 8, !tbaa !5
  %76 = load i32, ptr %22, align 4, !tbaa !9
  %77 = invoke noundef ptr %74(ptr noundef %75, i32 noundef %76)
          to label %78 unwind label %82

78:                                               ; preds = %73
  store ptr %77, ptr %23, align 8, !tbaa !5
  %79 = load ptr, ptr %23, align 8, !tbaa !5
  %80 = icmp eq ptr %79, null
  br i1 %80, label %81, label %86

81:                                               ; preds = %78
  store ptr @.str.31, ptr %23, align 8, !tbaa !5
  br label %86

82:                                               ; preds = %86, %73
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %20, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %21, align 4
  br label %122

86:                                               ; preds = %81, %78
  %87 = load i32, ptr %22, align 4, !tbaa !9
  invoke void @_ZN5ImGui6PushIDEi(i32 noundef %87)
          to label %88 unwind label %82

88:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #9
  %89 = load i32, ptr %22, align 4, !tbaa !9
  %90 = load ptr, ptr %9, align 8, !tbaa !5
  %91 = load i32, ptr %90, align 4, !tbaa !9
  %92 = icmp eq i32 %89, %91
  %93 = zext i1 %92 to i8
  store i8 %93, ptr %24, align 1, !tbaa !93
  %94 = load ptr, ptr %23, align 8, !tbaa !5
  %95 = load i8, ptr %24, align 1, !tbaa !93, !range !97, !noundef !98
  %96 = trunc i8 %95 to i1
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  invoke void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %25, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %97 unwind label %103

97:                                               ; preds = %88
  %98 = invoke noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef %94, i1 noundef zeroext %96, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(8) %25)
          to label %99 unwind label %103

99:                                               ; preds = %97
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  br i1 %98, label %100, label %107

100:                                              ; preds = %99
  %101 = load i32, ptr %22, align 4, !tbaa !9
  %102 = load ptr, ptr %9, align 8, !tbaa !5
  store i32 %101, ptr %102, align 4, !tbaa !9
  store i8 1, ptr %18, align 1, !tbaa !93
  br label %107

103:                                              ; preds = %97, %88
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %20, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  br label %121

107:                                              ; preds = %100, %99
  %108 = load i8, ptr %24, align 1, !tbaa !93, !range !97, !noundef !98
  %109 = trunc i8 %108 to i1
  br i1 %109, label %110, label %116

110:                                              ; preds = %107
  invoke void @_ZN5ImGui19SetItemDefaultFocusEv()
          to label %111 unwind label %112

111:                                              ; preds = %110
  br label %116

112:                                              ; preds = %116, %110
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %20, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %21, align 4
  br label %121

116:                                              ; preds = %111, %107
  invoke void @_ZN5ImGui5PopIDEv()
          to label %117 unwind label %112

117:                                              ; preds = %116
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  br label %118

118:                                              ; preds = %117
  %119 = load i32, ptr %22, align 4, !tbaa !9
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %22, align 4, !tbaa !9
  br label %63, !llvm.loop !99

121:                                              ; preds = %112, %103
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #9
  br label %122

122:                                              ; preds = %121, %82
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  br label %137

123:                                              ; preds = %68
  br label %57, !llvm.loop !101

124:                                              ; preds = %59
  invoke void @_ZN5ImGui10EndListBoxEv()
          to label %125 unwind label %69

125:                                              ; preds = %124
  %126 = load i8, ptr %18, align 1, !tbaa !93, !range !97, !noundef !98
  %127 = trunc i8 %126 to i1
  br i1 %127, label %128, label %134

128:                                              ; preds = %125
  %129 = load ptr, ptr %14, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.ImGuiContext, ptr %129, i32 0, i32 88
  %131 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %130, i32 0, i32 0
  %132 = load i32, ptr %131, align 8, !tbaa !102
  invoke void @_ZN5ImGui14MarkItemEditedEj(i32 noundef %132)
          to label %133 unwind label %69

133:                                              ; preds = %128
  br label %134

134:                                              ; preds = %133, %125
  %135 = load i8, ptr %18, align 1, !tbaa !93, !range !97, !noundef !98
  %136 = trunc i8 %135 to i1
  store i1 %136, ptr %7, align 1
  store i32 1, ptr %17, align 4
  call void @_ZN16ImGuiListClipperD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #9
  br label %138

137:                                              ; preds = %122, %69
  call void @_ZN16ImGuiListClipperD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  br label %140

138:                                              ; preds = %134, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  %139 = load i1, ptr %7, align 1
  ret i1 %139

140:                                              ; preds = %137
  %141 = load ptr, ptr %20, align 8
  %142 = load i32, ptr %21, align 4
  %143 = insertvalue { ptr, i32 } poison, ptr %141, 0
  %144 = insertvalue { ptr, i32 } %143, i32 %142, 1
  resume { ptr, i32 } %144
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui12BeginListBoxEPKcRK6ImVec2(ptr noundef, ptr noundef nonnull align 4 dereferenceable(8)) #6

declare noundef float @_ZN5ImGui28GetTextLineHeightWithSpacingEv() #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui10EndListBoxEv() #8

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { "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 = { 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 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { 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 #9 = { 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, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !12, i64 3120}
!14 = !{!"_ZTS12ImGuiContext", !15, i64 0, !15, i64 1, !16, i64 8, !21, i64 2984, !22, i64 3056, !6, i64 4216, !12, i64 4224, !12, i64 4228, !12, i64 4232, !12, i64 4236, !24, i64 4240, !27, i64 4776, !10, i64 4784, !10, i64 4788, !10, i64 4792, !10, i64 4796, !15, i64 4800, !15, i64 4801, !15, i64 4802, !15, i64 4803, !6, i64 4808, !7, i64 4816, !28, i64 4832, !28, i64 4848, !18, i64 4864, !10, i64 4868, !29, i64 4872, !29, i64 4888, !29, i64 4904, !30, i64 4920, !31, i64 4936, !10, i64 4952, !17, i64 4956, !10, i64 4964, !6, i64 4968, !6, i64 4976, !6, i64 4984, !6, i64 4992, !6, i64 5000, !6, i64 5008, !17, i64 5016, !10, i64 5024, !10, i64 5028, !12, i64 5032, !17, i64 5036, !17, i64 5044, !10, i64 5052, !10, i64 5056, !10, i64 5060, !10, i64 5064, !10, i64 5068, !12, i64 5072, !12, i64 5076, !15, i64 5080, !15, i64 5081, !15, i64 5082, !10, i64 5084, !10, i64 5088, !12, i64 5092, !15, i64 5096, !15, i64 5097, !15, i64 5098, !15, i64 5099, !15, i64 5100, !15, i64 5101, !15, i64 5102, !10, i64 5103, !17, i64 5104, !6, i64 5112, !33, i64 5120, !10, i64 5124, !34, i64 5128, !35, i64 5140, !10, i64 5148, !12, i64 5152, !27, i64 5160, !27, i64 5168, !27, i64 5176, !36, i64 5184, !7, i64 5204, !37, i64 7056, !10, i64 7400, !15, i64 7404, !10, i64 7408, !10, i64 7412, !10, i64 7416, !10, i64 7420, !39, i64 7424, !41, i64 7480, !43, i64 7560, !15, i64 7672, !10, i64 7676, !44, i64 7680, !45, i64 7696, !46, i64 7712, !47, i64 7728, !48, i64 7744, !49, i64 7760, !50, i64 7776, !50, i64 7792, !51, i64 7808, !52, i64 7824, !15, i64 7840, !15, i64 7841, !15, i64 7842, !15, i64 7843, !10, i64 7844, !6, i64 7848, !10, i64 7856, !53, i64 7860, !10, i64 7864, !10, i64 7868, !10, i64 7872, !10, i64 7876, !47, i64 7880, !10, i64 7896, !12, i64 7900, !10, i64 7904, !10, i64 7908, !33, i64 7912, !40, i64 7920, !7, i64 7928, !15, i64 7929, !15, i64 7930, !15, i64 7931, !54, i64 7936, !15, i64 7992, !15, i64 7993, !15, i64 7994, !10, i64 7996, !10, i64 8000, !10, i64 8004, !23, i64 8008, !23, i64 8012, !23, i64 8016, !42, i64 8020, !42, i64 8036, !10, i64 8052, !10, i64 8056, !10, i64 8060, !54, i64 8064, !54, i64 8120, !54, i64 8176, !54, i64 8232, !10, i64 8288, !10, i64 8292, !10, i64 8296, !10, i64 8300, !15, i64 8304, !15, i64 8305, !10, i64 8308, !10, i64 8312, !6, i64 8320, !6, i64 8328, !6, i64 8336, !12, i64 8344, !12, i64 8348, !15, i64 8352, !55, i64 8356, !17, i64 8360, !17, i64 8368, !12, i64 8376, !15, i64 8380, !15, i64 8381, !15, i64 8382, !10, i64 8384, !10, i64 8388, !10, i64 8392, !56, i64 8400, !42, i64 8464, !42, i64 8480, !10, i64 8496, !10, i64 8500, !12, i64 8504, !10, i64 8508, !10, i64 8512, !10, i64 8516, !10, i64 8520, !57, i64 8528, !7, i64 8544, !10, i64 8560, !58, i64 8568, !6, i64 8584, !10, i64 8592, !10, i64 8596, !59, i64 8600, !60, i64 8616, !62, i64 8656, !63, i64 8672, !6, i64 8688, !64, i64 8696, !66, i64 8736, !67, i64 8752, !68, i64 8768, !6, i64 8872, !10, i64 8880, !69, i64 8888, !70, i64 8904, !10, i64 8944, !10, i64 8948, !12, i64 8952, !12, i64 8956, !10, i64 8960, !10, i64 8964, !10, i64 8968, !12, i64 8972, !17, i64 8976, !72, i64 8984, !74, i64 9104, !75, i64 9128, !10, i64 9248, !35, i64 9252, !10, i64 9260, !10, i64 9264, !10, i64 9268, !10, i64 9272, !10, i64 9276, !12, i64 9280, !12, i64 9284, !10, i64 9288, !25, i64 9292, !77, i64 9308, !42, i64 9356, !15, i64 9372, !19, i64 9374, !12, i64 9376, !12, i64 9380, !12, i64 9384, !15, i64 9388, !15, i64 9389, !12, i64 9392, !12, i64 9396, !12, i64 9400, !19, i64 9404, !19, i64 9406, !6, i64 9408, !73, i64 9416, !78, i64 9432, !79, i64 9448, !81, i64 9552, !81, i64 9568, !15, i64 9584, !12, i64 9588, !82, i64 9592, !83, i64 9608, !84, i64 9624, !85, i64 9640, !86, i64 9656, !10, i64 9672, !7, i64 9680, !15, i64 9760, !10, i64 9764, !6, i64 9768, !6, i64 9776, !82, i64 9784, !6, i64 9800, !6, i64 9808, !12, i64 9816, !15, i64 9820, !10, i64 9824, !10, i64 9828, !10, i64 9832, !6, i64 9840, !6, i64 9848, !17, i64 9856, !15, i64 9864, !10, i64 9868, !87, i64 9872, !6, i64 9896, !10, i64 9904, !10, i64 9908, !82, i64 9912, !88, i64 9928, !10, i64 9952, !10, i64 9956, !7, i64 9960, !7, i64 9961, !15, i64 9962, !10, i64 9964, !7, i64 9968, !15, i64 9969, !7, i64 9970, !10, i64 9972, !12, i64 9976, !25, i64 9980, !89, i64 9996, !90, i64 10024, !92, i64 10064, !7, i64 10124, !10, i64 10364, !10, i64 10368, !12, i64 10372, !10, i64 10376, !10, i64 10380, !10, i64 10384, !73, i64 10392, !7, i64 10408}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !17, i64 8, !12, i64 16, !12, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !12, i64 56, !15, i64 60, !6, i64 64, !17, 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, !15, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !15, i64 124, !15, i64 125, !15, i64 126, !15, i64 127, !15, i64 128, !15, i64 129, !15, i64 130, !15, i64 131, !15, i64 132, !15, i64 133, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !15, i64 176, !15, i64 177, !15, i64 178, !15, i64 179, !15, i64 180, !15, i64 181, !15, i64 182, !12, i64 184, !10, i64 188, !10, i64 192, !10, i64 196, !10, i64 200, !17, i64 204, !6, i64 216, !17, i64 224, !7, i64 232, !12, i64 240, !12, i64 244, !18, i64 248, !15, i64 252, !15, i64 253, !15, i64 254, !15, i64 255, !10, i64 256, !7, i64 260, !15, i64 2724, !17, i64 2728, !7, i64 2736, !7, i64 2776, !7, i64 2816, !7, i64 2821, !7, i64 2826, !7, i64 2836, !7, i64 2846, !7, i64 2851, !7, i64 2856, !15, i64 2861, !15, i64 2862, !7, i64 2864, !7, i64 2884, !7, i64 2904, !12, i64 2924, !15, i64 2928, !15, i64 2929, !19, i64 2930, !20, i64 2936, !6, i64 2952, !6, i64 2960, !6, i64 2968}
!17 = !{!"_ZTS6ImVec2", !12, i64 0, !12, i64 4}
!18 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!19 = !{!"short", !7, i64 0}
!20 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!21 = !{!"_ZTS15ImGuiPlatformIO", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !19, i64 56, !6, i64 64}
!22 = !{!"_ZTS10ImGuiStyle", !12, i64 0, !12, i64 4, !17, i64 8, !12, i64 16, !12, i64 20, !17, i64 24, !17, i64 32, !23, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !17, i64 60, !12, i64 68, !12, i64 72, !17, i64 76, !17, i64 84, !17, i64 92, !17, i64 100, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !12, i64 136, !12, i64 140, !12, i64 144, !12, i64 148, !12, i64 152, !12, i64 156, !17, i64 160, !23, i64 168, !17, i64 172, !17, i64 180, !12, i64 188, !17, i64 192, !17, i64 200, !17, i64 208, !17, i64 216, !12, i64 224, !15, i64 228, !15, i64 229, !15, i64 230, !12, i64 232, !12, i64 236, !7, i64 240, !12, i64 1136, !12, i64 1140, !12, i64 1144, !10, i64 1148, !10, i64 1152}
!23 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!24 = !{!"_ZTS20ImDrawListSharedData", !17, i64 0, !6, i64 8, !6, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !25, i64 40, !10, i64 56, !26, i64 64, !7, i64 80, !12, i64 464, !7, i64 468}
!25 = !{!"_ZTS6ImVec4", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!26 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!27 = !{!"double", !7, i64 0}
!28 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !10, i64 0, !10, i64 4, !6, i64 8}
!29 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!30 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!31 = !{!"_ZTS12ImGuiStorage", !32, i64 0}
!32 = !{!"_ZTS8ImVectorI16ImGuiStoragePairE", !10, i64 0, !10, i64 4, !6, i64 8}
!33 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!34 = !{!"_ZTS24ImGuiDeactivatedItemData", !10, i64 0, !10, i64 4, !15, i64 8, !15, i64 9}
!35 = !{!"_ZTS20ImGuiDataTypeStorage", !7, i64 0}
!36 = !{!"_ZTS10ImBitArrayILi154ELin512EE", !7, i64 0}
!37 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !38, i64 312, !38, i64 328}
!38 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!39 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !10, i64 4, !10, i64 8, !40, i64 16, !12, i64 24, !10, i64 28, !10, i64 32, !15, i64 36, !7, i64 37, !35, i64 38, !10, i64 48}
!40 = !{!"long long", !7, i64 0}
!41 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !42, i64 12, !42, i64 28, !42, i64 44, !42, i64 60, !10, i64 76}
!42 = !{!"_ZTS6ImRect", !17, i64 0, !17, i64 8}
!43 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !17, i64 16, !17, i64 24, !17, i64 32, !17, i64 40, !17, i64 48, !10, i64 56, !15, i64 60, !42, i64 64, !6, i64 80, !6, i64 88, !12, i64 96, !17, i64 100, !10, i64 108}
!44 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!51 = !{!"_ZTS8ImVectorI22ImGuiTreeNodeStackDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !6, i64 8}
!53 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!54 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !10, i64 8, !10, i64 12, !42, i64 16, !10, i64 32, !12, i64 36, !12, i64 40, !12, i64 44, !40, i64 48}
!55 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!56 = !{!"_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}
!57 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!60 = !{!"_ZTS6ImPoolI10ImGuiTableE", !61, i64 0, !31, i64 16, !10, i64 32, !10, i64 36}
!61 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!64 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !65, i64 0, !31, i64 16, !10, i64 32, !10, i64 36}
!65 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!66 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!67 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!68 = !{!"_ZTS19ImGuiBoxSelectState", !10, i64 0, !15, i64 4, !15, i64 5, !15, i64 6, !15, i64 7, !15, i64 8, !10, i64 9, !17, i64 12, !17, i64 20, !17, i64 28, !6, i64 40, !15, i64 48, !42, i64 52, !42, i64 68, !42, i64 84}
!69 = !{!"_ZTS8ImVectorI24ImGuiMultiSelectTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!70 = !{!"_ZTS6ImPoolI21ImGuiMultiSelectStateE", !71, i64 0, !31, i64 16, !10, i64 32, !10, i64 36}
!71 = !{!"_ZTS8ImVectorI21ImGuiMultiSelectStateE", !10, i64 0, !10, i64 4, !6, i64 8}
!72 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !6, i64 32, !73, i64 40, !73, i64 56, !73, i64 72, !10, i64 88, !17, i64 92, !12, i64 100, !15, i64 104, !15, i64 105, !15, i64 106, !15, i64 107, !10, i64 108, !10, i64 112}
!73 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!74 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !10, i64 0, !73, i64 8}
!75 = !{!"_ZTS6ImFont", !62, i64 0, !12, i64 16, !12, i64 20, !20, i64 24, !76, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !19, i64 80, !19, i64 82, !19, i64 84, !19, i64 86, !12, i64 88, !12, i64 92, !15, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !10, i64 112, !7, i64 116}
!76 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!77 = !{!"_ZTS21ImGuiComboPreviewData", !42, i64 0, !17, i64 16, !17, i64 24, !17, i64 32, !12, i64 40, !10, i64 44}
!78 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!79 = !{!"_ZTS22ImGuiTypingSelectState", !80, i64 0, !7, i64 24, !10, i64 88, !10, i64 92, !12, i64 96, !15, i64 100}
!80 = !{!"_ZTS24ImGuiTypingSelectRequest", !10, i64 0, !10, i64 4, !6, i64 8, !15, i64 16, !15, i64 17, !7, i64 18}
!81 = !{!"_ZTS20ImGuiPlatformImeData", !15, i64 0, !17, i64 4, !12, i64 12}
!82 = !{!"_ZTS15ImGuiTextBuffer", !73, i64 0}
!83 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!84 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !73, i64 0}
!85 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !73, i64 0}
!86 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!87 = !{!"_ZTS23ImGuiErrorRecoveryState", !19, i64 0, !19, i64 2, !19, i64 4, !19, i64 6, !19, i64 8, !19, i64 10, !19, i64 12, !19, i64 14, !19, i64 16, !19, i64 18, !19, i64 20}
!88 = !{!"_ZTS14ImGuiTextIndex", !48, i64 0, !10, i64 16}
!89 = !{!"_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, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24}
!90 = !{!"_ZTS16ImGuiIDStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !91, i64 16, !15, i64 32, !12, i64 36}
!91 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !6, i64 8}
!92 = !{!"_ZTS19ImGuiDebugAllocInfo", !10, i64 0, !10, i64 4, !19, i64 8, !7, i64 12}
!93 = !{!15, !15, i64 0}
!94 = !{!95, !10, i64 8}
!95 = !{!"_ZTS16ImGuiListClipper", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !12, i64 20, !12, i64 24, !27, i64 32, !6, i64 40}
!96 = !{!95, !10, i64 12}
!97 = !{i8 0, i8 2}
!98 = !{}
!99 = distinct !{!99, !100}
!100 = !{!"llvm.loop.mustprogress"}
!101 = distinct !{!101, !100}
!102 = !{!14, !10, i64 7480}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.ImVec2 = type { float, float }
%struct.ImGuiListClipper = type { ptr, i32, i32, i32, float, float, double, ptr }

@GImGui = external local_unnamed_addr global ptr, align 8
@.str.31 = external hidden unnamed_addr constant [15 x i8], align 1

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

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

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

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

declare void @_ZN5ImGui14MarkItemEditedEj(i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL7ImTruncf(float noundef) local_unnamed_addr #4

declare void @_ZN16ImGuiListClipperC1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3

declare void @_ZN16ImGuiListClipper5BeginEif(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, float noundef) local_unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

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

declare noundef zeroext i1 @_ZN16ImGuiListClipper4StepEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3

declare void @_ZN5ImGui6PushIDEi(i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef, i1 noundef zeroext, i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #6

declare void @_ZN5ImGui19SetItemDefaultFocusEv() local_unnamed_addr #3

declare void @_ZN5ImGui5PopIDEv() local_unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN16ImGuiListClipperD1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #7

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui7ListBoxEPKcPiPFS1_PviES3_ii(ptr noundef %0, ptr nocapture noundef %1, ptr nocapture noundef readonly %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #8 personality ptr @__gxx_personality_v0 {
  %7 = alloca %struct.ImVec2, align 4
  %8 = alloca %struct.ImGuiListClipper, align 8
  %9 = alloca %struct.ImVec2, align 4
  %10 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %11 = icmp slt i32 %5, 0
  br i1 %11, label %12, label %14

12:                                               ; preds = %6
  %13 = tail call noundef i32 @_ZL5ImMinIiET_S0_S0_(i32 noundef %4, i32 noundef 7)
  br label %14

14:                                               ; preds = %12, %6
  %.035 = phi i32 [ %13, %12 ], [ %5, %6 ]
  %15 = sitofp i32 %.035 to float
  %16 = fadd float %15, 2.500000e-01
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  %17 = tail call noundef float @_ZN5ImGui28GetTextLineHeightWithSpacingEv()
  %18 = getelementptr inbounds i8, ptr %10, i64 3120
  %19 = load float, ptr %18, align 4, !tbaa !9
  %20 = fmul float %19, 2.000000e+00
  %21 = tail call float @llvm.fmuladd.f32(float %17, float %16, float %20)
  %22 = tail call noundef float @_ZL7ImTruncf(float noundef %21)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef 0.000000e+00, float noundef %22)
  %23 = call noundef zeroext i1 @_ZN5ImGui12BeginListBoxEPKcRK6ImVec2(ptr noundef %0, ptr noundef nonnull align 4 dereferenceable(8) %7)
  br i1 %23, label %24, label %67

24:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #9
  call void @_ZN16ImGuiListClipperC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %8)
  %25 = invoke noundef float @_ZN5ImGui28GetTextLineHeightWithSpacingEv()
          to label %26 unwind label %.loopexit.split-lp

26:                                               ; preds = %24
  invoke void @_ZN16ImGuiListClipper5BeginEif(ptr noundef nonnull align 8 dereferenceable(48) %8, i32 noundef %4, float noundef %25)
          to label %27 unwind label %.loopexit.split-lp

27:                                               ; preds = %26
  %28 = load i32, ptr %1, align 4, !tbaa !91
  invoke void @_ZN16ImGuiListClipper18IncludeItemByIndexEi(ptr noundef nonnull align 8 dereferenceable(48) %8, i32 noundef %28)
          to label %.preheader unwind label %.loopexit.split-lp

.preheader:                                       ; preds = %27
  %29 = getelementptr inbounds i8, ptr %8, i64 8
  %30 = getelementptr inbounds i8, ptr %8, i64 12
  br label %31

.loopexit:                                        ; preds = %56, %34
  %.133.lcssa = phi i1 [ %.032, %34 ], [ %.234, %56 ]
  br label %31, !llvm.loop !92

31:                                               ; preds = %.preheader, %.loopexit
  %.032 = phi i1 [ %.133.lcssa, %.loopexit ], [ false, %.preheader ]
  %32 = invoke noundef zeroext i1 @_ZN16ImGuiListClipper4StepEv(ptr noundef nonnull align 8 dereferenceable(48) %8)
          to label %33 unwind label %.loopexit40

33:                                               ; preds = %31
  br i1 %32, label %34, label %60

34:                                               ; preds = %33
  %35 = load i32, ptr %29, align 8, !tbaa !94
  %36 = load i32, ptr %30, align 4, !tbaa !96
  %37 = icmp slt i32 %35, %36
  br i1 %37, label %.lr.ph, label %.loopexit

.loopexit40:                                      ; preds = %31
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %66

.loopexit.split-lp:                               ; preds = %24, %26, %27, %60, %62
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %66

.lr.ph:                                           ; preds = %34, %56
  %.02749 = phi i32 [ %57, %56 ], [ %35, %34 ]
  %.13348 = phi i1 [ %.234, %56 ], [ %.032, %34 ]
  %38 = invoke noundef ptr %2(ptr noundef %3, i32 noundef %.02749)
          to label %39 unwind label %40

39:                                               ; preds = %.lr.ph
  invoke void @_ZN5ImGui6PushIDEi(i32 noundef %.02749)
          to label %42 unwind label %40

40:                                               ; preds = %39, %.lr.ph
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %66

42:                                               ; preds = %39
  %43 = icmp eq ptr %38, null
  %spec.store.select = select i1 %43, ptr @.str.31, ptr %38
  %44 = load i32, ptr %1, align 4, !tbaa !91
  %45 = icmp eq i32 %.02749, %44
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %46 = invoke noundef zeroext i1 @_ZN5ImGui10SelectableEPKcbiRK6ImVec2(ptr noundef nonnull %spec.store.select, i1 noundef zeroext %45, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(8) %9)
          to label %47 unwind label %49

47:                                               ; preds = %42
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  br i1 %46, label %48, label %51

48:                                               ; preds = %47
  store i32 %.02749, ptr %1, align 4, !tbaa !91
  br label %51

49:                                               ; preds = %42
  %50 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  br label %66

51:                                               ; preds = %48, %47
  %.234 = phi i1 [ true, %48 ], [ %.13348, %47 ]
  br i1 %45, label %52, label %55

52:                                               ; preds = %51
  invoke void @_ZN5ImGui19SetItemDefaultFocusEv()
          to label %55 unwind label %53

53:                                               ; preds = %55, %52
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %66

55:                                               ; preds = %52, %51
  invoke void @_ZN5ImGui5PopIDEv()
          to label %56 unwind label %53

56:                                               ; preds = %55
  %57 = add nsw i32 %.02749, 1
  %58 = load i32, ptr %30, align 4, !tbaa !96
  %59 = icmp slt i32 %57, %58
  br i1 %59, label %.lr.ph, label %.loopexit, !llvm.loop !97

60:                                               ; preds = %33
  invoke void @_ZN5ImGui10EndListBoxEv()
          to label %61 unwind label %.loopexit.split-lp

61:                                               ; preds = %60
  br i1 %.032, label %62, label %65

62:                                               ; preds = %61
  %63 = getelementptr inbounds i8, ptr %10, i64 7480
  %64 = load i32, ptr %63, align 8, !tbaa !98
  invoke void @_ZN5ImGui14MarkItemEditedEj(i32 noundef %64)
          to label %65 unwind label %.loopexit.split-lp

65:                                               ; preds = %62, %61
  call void @_ZN16ImGuiListClipperD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #9
  br label %67

66:                                               ; preds = %.loopexit40, %.loopexit.split-lp, %40, %53, %49
  %.pn.pn.pn = phi { ptr, i32 } [ %41, %40 ], [ %54, %53 ], [ %50, %49 ], [ %lpad.loopexit, %.loopexit40 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZN16ImGuiListClipperD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  resume { ptr, i32 } %.pn.pn.pn

67:                                               ; preds = %14, %65
  %.0 = phi i1 [ %.032, %65 ], [ false, %14 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  ret i1 %.0
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui12BeginListBoxEPKcRK6ImVec2(ptr noundef, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #6

declare noundef float @_ZN5ImGui28GetTextLineHeightWithSpacingEv() local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui10EndListBoxEv() local_unnamed_addr #8

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { "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 = { 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 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { 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 #9 = { 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, !15, i64 3120}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !19, i64 2984, !20, i64 3056, !6, i64 4216, !15, i64 4224, !15, i64 4228, !15, i64 4232, !15, i64 4236, !22, i64 4240, !25, i64 4776, !13, i64 4784, !13, i64 4788, !13, i64 4792, !13, i64 4796, !11, i64 4800, !11, i64 4801, !11, i64 4802, !11, i64 4803, !6, i64 4808, !7, i64 4816, !26, i64 4832, !26, i64 4848, !16, i64 4864, !13, i64 4868, !27, i64 4872, !27, i64 4888, !27, i64 4904, !28, i64 4920, !29, i64 4936, !13, i64 4952, !14, i64 4956, !13, i64 4964, !6, i64 4968, !6, i64 4976, !6, i64 4984, !6, i64 4992, !6, i64 5000, !6, i64 5008, !14, i64 5016, !13, i64 5024, !13, i64 5028, !15, i64 5032, !14, i64 5036, !14, i64 5044, !13, i64 5052, !13, i64 5056, !13, i64 5060, !13, i64 5064, !13, i64 5068, !15, i64 5072, !15, i64 5076, !11, i64 5080, !11, i64 5081, !11, i64 5082, !13, i64 5084, !13, i64 5088, !15, i64 5092, !11, i64 5096, !11, i64 5097, !11, i64 5098, !11, i64 5099, !11, i64 5100, !11, i64 5101, !11, i64 5102, !13, i64 5103, !14, i64 5104, !6, i64 5112, !31, i64 5120, !13, i64 5124, !32, i64 5128, !33, i64 5140, !13, i64 5148, !15, i64 5152, !25, i64 5160, !25, i64 5168, !25, i64 5176, !34, i64 5184, !7, i64 5204, !35, i64 7056, !13, i64 7400, !11, i64 7404, !13, i64 7408, !13, i64 7412, !13, i64 7416, !13, i64 7420, !37, i64 7424, !39, i64 7480, !41, i64 7560, !11, i64 7672, !13, i64 7676, !42, i64 7680, !43, i64 7696, !44, i64 7712, !45, i64 7728, !46, i64 7744, !47, i64 7760, !48, i64 7776, !48, i64 7792, !49, i64 7808, !50, i64 7824, !11, i64 7840, !11, i64 7841, !11, i64 7842, !11, i64 7843, !13, i64 7844, !6, i64 7848, !13, i64 7856, !51, i64 7860, !13, i64 7864, !13, i64 7868, !13, i64 7872, !13, i64 7876, !45, i64 7880, !13, i64 7896, !15, i64 7900, !13, i64 7904, !13, i64 7908, !31, i64 7912, !38, i64 7920, !7, i64 7928, !11, i64 7929, !11, i64 7930, !11, i64 7931, !52, i64 7936, !11, i64 7992, !11, i64 7993, !11, i64 7994, !13, i64 7996, !13, i64 8000, !13, i64 8004, !21, i64 8008, !21, i64 8012, !21, i64 8016, !40, i64 8020, !40, i64 8036, !13, i64 8052, !13, i64 8056, !13, i64 8060, !52, i64 8064, !52, i64 8120, !52, i64 8176, !52, i64 8232, !13, i64 8288, !13, i64 8292, !13, i64 8296, !13, i64 8300, !11, i64 8304, !11, i64 8305, !13, i64 8308, !13, i64 8312, !6, i64 8320, !6, i64 8328, !6, i64 8336, !15, i64 8344, !15, i64 8348, !11, i64 8352, !53, i64 8356, !14, i64 8360, !14, i64 8368, !15, i64 8376, !11, i64 8380, !11, i64 8381, !11, i64 8382, !13, i64 8384, !13, i64 8388, !13, i64 8392, !54, i64 8400, !40, i64 8464, !40, i64 8480, !13, i64 8496, !13, i64 8500, !15, i64 8504, !13, i64 8508, !13, i64 8512, !13, i64 8516, !13, i64 8520, !55, i64 8528, !7, i64 8544, !13, i64 8560, !56, i64 8568, !6, i64 8584, !13, i64 8592, !13, i64 8596, !57, i64 8600, !58, i64 8616, !60, i64 8656, !61, i64 8672, !6, i64 8688, !62, i64 8696, !64, i64 8736, !65, i64 8752, !66, i64 8768, !6, i64 8872, !13, i64 8880, !67, i64 8888, !68, i64 8904, !13, i64 8944, !13, i64 8948, !15, i64 8952, !15, i64 8956, !13, i64 8960, !13, i64 8964, !13, i64 8968, !15, i64 8972, !14, i64 8976, !70, i64 8984, !72, i64 9104, !73, i64 9128, !13, i64 9248, !33, i64 9252, !13, i64 9260, !13, i64 9264, !13, i64 9268, !13, i64 9272, !13, i64 9276, !15, i64 9280, !15, i64 9284, !13, i64 9288, !23, i64 9292, !75, i64 9308, !40, i64 9356, !11, i64 9372, !17, i64 9374, !15, i64 9376, !15, i64 9380, !15, i64 9384, !11, i64 9388, !11, i64 9389, !15, i64 9392, !15, i64 9396, !15, i64 9400, !17, i64 9404, !17, i64 9406, !6, i64 9408, !71, i64 9416, !76, i64 9432, !77, i64 9448, !79, i64 9552, !79, i64 9568, !11, i64 9584, !15, i64 9588, !80, i64 9592, !81, i64 9608, !82, i64 9624, !83, i64 9640, !84, i64 9656, !13, i64 9672, !7, i64 9680, !11, i64 9760, !13, i64 9764, !6, i64 9768, !6, i64 9776, !80, i64 9784, !6, i64 9800, !6, i64 9808, !15, i64 9816, !11, i64 9820, !13, i64 9824, !13, i64 9828, !13, i64 9832, !6, i64 9840, !6, i64 9848, !14, i64 9856, !11, i64 9864, !13, i64 9868, !85, i64 9872, !6, i64 9896, !13, i64 9904, !13, i64 9908, !80, i64 9912, !86, i64 9928, !13, i64 9952, !13, i64 9956, !7, i64 9960, !7, i64 9961, !11, i64 9962, !13, i64 9964, !7, i64 9968, !11, i64 9969, !7, i64 9970, !13, i64 9972, !15, i64 9976, !23, i64 9980, !87, i64 9996, !88, i64 10024, !90, i64 10064, !7, i64 10124, !13, i64 10364, !13, i64 10368, !15, i64 10372, !13, i64 10376, !13, i64 10380, !13, i64 10384, !71, i64 10392, !7, i64 10408}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !15, i64 56, !11, i64 60, !6, i64 64, !14, i64 72, !11, i64 80, !11, i64 81, !11, i64 82, !11, i64 83, !11, i64 84, !11, i64 85, !11, i64 86, !11, i64 87, !11, i64 88, !11, i64 89, !11, i64 90, !11, i64 91, !11, i64 92, !11, i64 93, !11, i64 94, !11, i64 95, !11, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !11, i64 124, !11, i64 125, !11, i64 126, !11, i64 127, !11, i64 128, !11, i64 129, !11, i64 130, !11, i64 131, !11, i64 132, !11, i64 133, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !11, i64 176, !11, i64 177, !11, i64 178, !11, i64 179, !11, i64 180, !11, i64 181, !11, i64 182, !15, i64 184, !13, i64 188, !13, i64 192, !13, i64 196, !13, i64 200, !14, i64 204, !6, i64 216, !14, i64 224, !7, i64 232, !15, i64 240, !15, i64 244, !16, i64 248, !11, i64 252, !11, i64 253, !11, i64 254, !11, i64 255, !13, i64 256, !7, i64 260, !11, i64 2724, !14, i64 2728, !7, i64 2736, !7, i64 2776, !7, i64 2816, !7, i64 2821, !7, i64 2826, !7, i64 2836, !7, i64 2846, !7, i64 2851, !7, i64 2856, !11, i64 2861, !11, i64 2862, !7, i64 2864, !7, i64 2884, !7, i64 2904, !15, i64 2924, !11, i64 2928, !11, i64 2929, !17, i64 2930, !18, i64 2936, !6, i64 2952, !6, i64 2960, !6, i64 2968}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!19 = !{!"_ZTS15ImGuiPlatformIO", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !17, i64 56, !6, i64 64}
!20 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !14, i64 24, !14, i64 32, !21, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !14, i64 60, !15, i64 68, !15, i64 72, !14, i64 76, !14, i64 84, !14, i64 92, !14, 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, !15, i64 156, !14, i64 160, !21, i64 168, !14, i64 172, !14, i64 180, !15, i64 188, !14, i64 192, !14, i64 200, !14, i64 208, !14, i64 216, !15, i64 224, !11, i64 228, !11, i64 229, !11, i64 230, !15, i64 232, !15, i64 236, !7, i64 240, !15, i64 1136, !15, i64 1140, !15, i64 1144, !13, i64 1148, !13, i64 1152}
!21 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!22 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !6, i64 16, !15, i64 24, !15, i64 28, !15, i64 32, !15, i64 36, !23, i64 40, !13, i64 56, !24, i64 64, !7, i64 80, !15, i64 464, !7, i64 468}
!23 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!24 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"double", !7, i64 0}
!26 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!29 = !{!"_ZTS12ImGuiStorage", !30, i64 0}
!30 = !{!"_ZTS8ImVectorI16ImGuiStoragePairE", !13, i64 0, !13, i64 4, !6, i64 8}
!31 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!32 = !{!"_ZTS24ImGuiDeactivatedItemData", !13, i64 0, !13, i64 4, !11, i64 8, !11, i64 9}
!33 = !{!"_ZTS20ImGuiDataTypeStorage", !7, i64 0}
!34 = !{!"_ZTS10ImBitArrayILi154ELin512EE", !7, i64 0}
!35 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !36, i64 312, !36, i64 328}
!36 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !13, i64 4, !13, i64 8, !38, i64 16, !15, i64 24, !13, i64 28, !13, i64 32, !11, i64 36, !7, i64 37, !33, i64 38, !13, i64 48}
!38 = !{!"long long", !7, i64 0}
!39 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !40, i64 12, !40, i64 28, !40, i64 44, !40, i64 60, !13, i64 76}
!40 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!41 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !13, i64 56, !11, i64 60, !40, i64 64, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100, !13, i64 108}
!42 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI22ImGuiTreeNodeStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!52 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !40, i64 16, !13, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !38, i64 48}
!53 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!54 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !7, i64 24, !11, i64 57, !11, i64 58}
!55 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!58 = !{!"_ZTS6ImPoolI10ImGuiTableE", !59, i64 0, !29, i64 16, !13, i64 32, !13, i64 36}
!59 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !63, i64 0, !29, i64 16, !13, i64 32, !13, i64 36}
!63 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS19ImGuiBoxSelectState", !13, i64 0, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !11, i64 8, !13, i64 9, !14, i64 12, !14, i64 20, !14, i64 28, !6, i64 40, !11, i64 48, !40, i64 52, !40, i64 68, !40, i64 84}
!67 = !{!"_ZTS8ImVectorI24ImGuiMultiSelectTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTS6ImPoolI21ImGuiMultiSelectStateE", !69, i64 0, !29, i64 16, !13, i64 32, !13, i64 36}
!69 = !{!"_ZTS8ImVectorI21ImGuiMultiSelectStateE", !13, i64 0, !13, i64 4, !6, i64 8}
!70 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !6, i64 32, !71, i64 40, !71, i64 56, !71, i64 72, !13, i64 88, !14, i64 92, !15, i64 100, !11, i64 104, !11, i64 105, !11, i64 106, !11, i64 107, !13, i64 108, !13, i64 112}
!71 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!72 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !13, i64 0, !71, i64 8}
!73 = !{!"_ZTS6ImFont", !60, i64 0, !15, i64 16, !15, i64 20, !18, i64 24, !74, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !17, i64 80, !17, i64 82, !17, i64 84, !17, i64 86, !15, i64 88, !15, i64 92, !11, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !13, i64 112, !7, i64 116}
!74 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!75 = !{!"_ZTS21ImGuiComboPreviewData", !40, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!76 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!77 = !{!"_ZTS22ImGuiTypingSelectState", !78, i64 0, !7, i64 24, !13, i64 88, !13, i64 92, !15, i64 96, !11, i64 100}
!78 = !{!"_ZTS24ImGuiTypingSelectRequest", !13, i64 0, !13, i64 4, !6, i64 8, !11, i64 16, !11, i64 17, !7, i64 18}
!79 = !{!"_ZTS20ImGuiPlatformImeData", !11, i64 0, !14, i64 4, !15, i64 12}
!80 = !{!"_ZTS15ImGuiTextBuffer", !71, i64 0}
!81 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!82 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !71, i64 0}
!83 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !71, i64 0}
!84 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!85 = !{!"_ZTS23ImGuiErrorRecoveryState", !17, i64 0, !17, i64 2, !17, i64 4, !17, i64 6, !17, i64 8, !17, i64 10, !17, i64 12, !17, i64 14, !17, i64 16, !17, i64 18, !17, i64 20}
!86 = !{!"_ZTS14ImGuiTextIndex", !46, i64 0, !13, i64 16}
!87 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !11, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24}
!88 = !{!"_ZTS16ImGuiIDStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !89, i64 16, !11, i64 32, !15, i64 36}
!89 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!90 = !{!"_ZTS19ImGuiDebugAllocInfo", !13, i64 0, !13, i64 4, !17, i64 8, !7, i64 12}
!91 = !{!13, !13, i64 0}
!92 = distinct !{!92, !93}
!93 = !{!"llvm.loop.mustprogress"}
!94 = !{!95, !13, i64 8}
!95 = !{!"_ZTS16ImGuiListClipper", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !15, i64 20, !15, i64 24, !25, i64 32, !6, i64 40}
!96 = !{!95, !13, i64 12}
!97 = distinct !{!97, !93}
!98 = !{!10, !13, i64 7480}


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