; LLVM IR from erwincoumans/tiny-differentiable-simulator :: third_party/dear_imgui (imgui_widgets)

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

%struct.ImVec2 = type { float, float }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImGuiLastItemDataBackup = type { i32, i32, %struct.ImRect, %struct.ImRect }
%struct.ImGuiContext = type <{ i8, i8, [6 x i8], %struct.ImGuiIO, %struct.ImGuiPlatformIO, %struct.ImGuiStyle, i32, i32, [4 x i8], ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i32, i8, i8, i8, i8, i32, ptr, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImGuiStorage, i32, [4 x i8], ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i32, i8, i8, [2 x i8], float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, [2 x i8], i32, i32, [4 x i8], i64, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, [2 x i8], ptr, i32, float, %struct.ImGuiNextWindowData, %struct.ImGuiNextItemData, [4 x i8], %struct.ImVector.15, %struct.ImVector.16, %struct.ImVector.17, %struct.ImVector.18, %struct.ImVector.18, %struct.ImVector.19, float, [4 x i8], ptr, ptr, ptr, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, [2 x i8], i32, i32, i32, i32, i32, i32, [4 x i8], %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, ptr, i32, [4 x i8], ptr, ptr, ptr, float, float, i8, [7 x i8], ptr, ptr, i32, i32, i32, i32, i8, [3 x i8], float, i32, i8, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, [4 x i8], %struct.ImVector.20, [16 x i8], ptr, %struct.ImPool, %struct.ImVector.22, %struct.ImVector.23, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, [3 x float], %struct.ImVec4, float, i8, i8, [2 x i8], float, float, float, i32, [4 x i8], %struct.ImVector.24, %struct.ImVector, %struct.ImVec2, %struct.ImVec2, ptr, %struct.ImGuiDockContext, i8, [3 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.28, %struct.ImChunkStream, i8, [3 x i8], i32, ptr, %struct.ImGuiTextBuffer, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, [120 x float], i32, float, i32, i32, i32, [3073 x i8], [7 x i8] }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, [22 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i32, i8, i8, i8, i8, [512 x i8], [21 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, i32, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], [512 x float], [512 x float], [21 x float], [21 x float], float, i16, %struct.ImVector.7 }
%struct.ImVector.7 = 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, ptr, %struct.ImVector.13, ptr, %struct.ImVector.14 }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImGuiStyle = type { float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [50 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, [12 x %struct.ImVec2], [64 x i8], ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.4 }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImGuiNextWindowData = type { i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, %struct.ImRect, ptr, ptr, float, i32, i32, %struct.ImGuiWindowClass, %struct.ImVec2 }
%struct.ImGuiWindowClass = type <{ i32, i32, i32, i32, i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImGuiNavMoveResult = type <{ ptr, i32, i32, float, float, float, %struct.ImRect, [4 x i8] }>
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImPool = type <{ %struct.ImVector.21, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector.7, %struct.ImVector.24, %struct.ImVector.24, i8, i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i32, ptr, ptr }
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImStb::StbUndoState" }
%"struct.ImStb::StbUndoState" = type { [99 x %"struct.ImStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImFont = type <{ %struct.ImVector.2, float, float, %struct.ImVector.7, %struct.ImVector.25, ptr, %struct.ImVec2, ptr, ptr, i16, i16, i16, i8, i8, float, float, float, i32, [2 x i8], [6 x i8] }>
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiDockContext = type <{ %struct.ImGuiStorage, %struct.ImVector.26, %struct.ImVector.27, i8, [7 x i8] }>
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.24 }
%struct.ImGuiTextBuffer = type { %struct.ImVector.24 }

@GImGui = external global ptr, align 8
@.str.173 = external hidden unnamed_addr constant [2 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

declare <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef, ptr noundef, i1 noundef zeroext, float noundef) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #5

declare noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef, i1 noundef zeroext) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMinIfET_S0_S0_(float noundef, float noundef) #8

declare void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) #3

declare void @_ZN5ImGui11PopStyleVarEi(i32 noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN23ImGuiLastItemDataBackupC2Ev(ptr noundef nonnull align 4 dereferenceable(40)) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK23ImGuiLastItemDataBackup7RestoreEv(ptr noundef nonnull align 4 dereferenceable(40)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjjb(ptr noundef %0, ptr noundef nonnull align 4 dereferenceable(16) %1, i32 noundef %2, <2 x float> %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i1 noundef zeroext %7) #6 {
  %9 = alloca i1, align 1
  %10 = alloca %struct.ImVec2, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i8, align 1
  %18 = alloca ptr, align 8
  %19 = alloca %struct.ImVec2, align 4
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca %struct.ImRect, align 4
  %23 = alloca %struct.ImVec2, align 4
  %24 = alloca %struct.ImVec2, align 4
  %25 = alloca %struct.ImVec2, align 4
  %26 = alloca %struct.ImVec2, align 4
  %27 = alloca %struct.ImRect, align 4
  %28 = alloca i8, align 1
  %29 = alloca i8, align 1
  %30 = alloca %struct.ImGuiLastItemDataBackup, align 4
  %31 = alloca float, align 4
  %32 = alloca %struct.ImVec2, align 4
  %33 = alloca float, align 4
  store <2 x float> %3, ptr %10, align 4
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store i32 %2, ptr %13, align 4, !tbaa !9
  store ptr %4, ptr %14, align 8, !tbaa !5
  store i32 %5, ptr %15, align 4, !tbaa !9
  store i32 %6, ptr %16, align 4, !tbaa !9
  %34 = zext i1 %7 to i8
  store i8 %34, ptr %17, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  %35 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %35, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  %36 = load ptr, ptr %14, align 8, !tbaa !5
  %37 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %36, ptr noundef null, i1 noundef zeroext true, float noundef -1.000000e+00)
  store <2 x float> %37, ptr %19, align 4
  %38 = load ptr, ptr %12, align 8, !tbaa !5
  %39 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %38)
  %40 = fcmp ole float %39, 1.000000e+00
  br i1 %40, label %41, label %42

41:                                               ; preds = %8
  store i1 false, ptr %9, align 1
  store i32 1, ptr %20, align 4
  br label %218

42:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  store ptr @.str.173, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #9
  %43 = load ptr, ptr %12, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.ImRect, ptr %43, i32 0, i32 0
  %45 = getelementptr inbounds %struct.ImVec2, ptr %44, i32 0, i32 0
  %46 = load float, ptr %45, align 4, !tbaa !13
  %47 = getelementptr inbounds %struct.ImVec2, ptr %10, i32 0, i32 0
  %48 = load float, ptr %47, align 4, !tbaa !17
  %49 = fadd float %46, %48
  %50 = load ptr, ptr %12, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.ImRect, ptr %50, i32 0, i32 0
  %52 = getelementptr inbounds %struct.ImVec2, ptr %51, i32 0, i32 1
  %53 = load float, ptr %52, align 4, !tbaa !18
  %54 = getelementptr inbounds %struct.ImVec2, ptr %10, i32 0, i32 1
  %55 = load float, ptr %54, align 4, !tbaa !19
  %56 = fadd float %53, %55
  %57 = load ptr, ptr %12, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.ImRect, ptr %57, i32 0, i32 1
  %59 = getelementptr inbounds %struct.ImVec2, ptr %58, i32 0, i32 0
  %60 = load float, ptr %59, align 4, !tbaa !20
  %61 = getelementptr inbounds %struct.ImVec2, ptr %10, i32 0, i32 0
  %62 = load float, ptr %61, align 4, !tbaa !17
  %63 = fsub float %60, %62
  %64 = load ptr, ptr %12, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.ImRect, ptr %64, i32 0, i32 1
  %66 = getelementptr inbounds %struct.ImVec2, ptr %65, i32 0, i32 1
  %67 = load float, ptr %66, align 4, !tbaa !21
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %22, float noundef %49, float noundef %56, float noundef %63, float noundef %67)
  %68 = load i32, ptr %13, align 4, !tbaa !9
  %69 = and i32 %68, 1
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %71, label %115

71:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  %72 = load ptr, ptr %21, align 8, !tbaa !5
  %73 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %72, ptr noundef null, i1 noundef zeroext false, float noundef -1.000000e+00)
  store <2 x float> %73, ptr %23, align 4
  %74 = getelementptr inbounds %struct.ImVec2, ptr %23, i32 0, i32 0
  %75 = load float, ptr %74, align 4, !tbaa !17
  %76 = getelementptr inbounds %struct.ImRect, ptr %22, i32 0, i32 1
  %77 = getelementptr inbounds %struct.ImVec2, ptr %76, i32 0, i32 0
  %78 = load float, ptr %77, align 4, !tbaa !20
  %79 = fsub float %78, %75
  store float %79, ptr %77, align 4, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  %80 = load ptr, ptr %12, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.ImRect, ptr %80, i32 0, i32 0
  %82 = getelementptr inbounds %struct.ImVec2, ptr %81, i32 0, i32 0
  %83 = load float, ptr %82, align 4, !tbaa !13
  %84 = getelementptr inbounds %struct.ImVec2, ptr %10, i32 0, i32 0
  %85 = load float, ptr %84, align 4, !tbaa !17
  %86 = fadd float %83, %85
  %87 = getelementptr inbounds %struct.ImVec2, ptr %19, i32 0, i32 0
  %88 = load float, ptr %87, align 4, !tbaa !17
  %89 = fadd float %86, %88
  %90 = fadd float %89, 2.000000e+00
  %91 = getelementptr inbounds %struct.ImRect, ptr %22, i32 0, i32 1
  %92 = getelementptr inbounds %struct.ImVec2, ptr %91, i32 0, i32 0
  %93 = load float, ptr %92, align 4, !tbaa !20
  %94 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %90, float noundef %93)
  %95 = load ptr, ptr %12, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.ImRect, ptr %95, i32 0, i32 0
  %97 = getelementptr inbounds %struct.ImVec2, ptr %96, i32 0, i32 1
  %98 = load float, ptr %97, align 4, !tbaa !18
  %99 = getelementptr inbounds %struct.ImVec2, ptr %10, i32 0, i32 1
  %100 = load float, ptr %99, align 4, !tbaa !19
  %101 = fadd float %98, %100
  %102 = load ptr, ptr %18, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.ImGuiContext, ptr %102, i32 0, i32 10
  %104 = load float, ptr %103, align 8, !tbaa !22
  %105 = fneg float %104
  %106 = fmul float %105, 2.500000e-01
  %107 = fptosi float %106 to i32
  %108 = sitofp i32 %107 to float
  %109 = fadd float %101, %108
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %24, float noundef %94, float noundef %109)
  %110 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  %111 = load ptr, ptr %12, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.ImRect, ptr %111, i32 0, i32 1
  %113 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %112, ptr noundef nonnull align 4 dereferenceable(8) %10)
  store <2 x float> %113, ptr %25, align 4
  %114 = load ptr, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %26, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui19RenderTextClippedExEP10ImDrawListRK6ImVec2S4_PKcS6_PS3_S4_PK6ImRect(ptr noundef %110, ptr noundef nonnull align 4 dereferenceable(8) %24, ptr noundef nonnull align 4 dereferenceable(8) %25, ptr noundef %114, ptr noundef null, ptr noundef null, ptr noundef nonnull align 4 dereferenceable(8) %26, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  br label %115

115:                                              ; preds = %71, %42
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %22, i64 16, i1 false), !tbaa.struct !71
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #9
  store i8 0, ptr %28, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #9
  store i8 0, ptr %29, align 1, !tbaa !11
  %116 = load i32, ptr %16, align 4, !tbaa !9
  %117 = icmp ne i32 %116, 0
  br i1 %117, label %118, label %156

118:                                              ; preds = %115
  %119 = load i8, ptr %17, align 1, !tbaa !11, !range !73, !noundef !74
  %120 = trunc i8 %119 to i1
  br i1 %120, label %129, label %121

121:                                              ; preds = %118
  %122 = load ptr, ptr %12, align 8, !tbaa !5
  %123 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %122)
  %124 = load ptr, ptr %18, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.ImGuiContext, ptr %124, i32 0, i32 5
  %126 = getelementptr inbounds %struct.ImGuiStyle, ptr %125, i32 0, i32 26
  %127 = load float, ptr %126, align 4, !tbaa !75
  %128 = fcmp oge float %123, %127
  br i1 %128, label %129, label %155

129:                                              ; preds = %121, %118
  %130 = load ptr, ptr %18, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.ImGuiContext, ptr %130, i32 0, i32 40
  %132 = load i32, ptr %131, align 4, !tbaa !76
  %133 = load i32, ptr %15, align 4, !tbaa !9
  %134 = icmp eq i32 %132, %133
  br i1 %134, label %153, label %135

135:                                              ; preds = %129
  %136 = load ptr, ptr %18, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.ImGuiContext, ptr %136, i32 0, i32 40
  %138 = load i32, ptr %137, align 4, !tbaa !76
  %139 = load i32, ptr %16, align 4, !tbaa !9
  %140 = icmp eq i32 %138, %139
  br i1 %140, label %153, label %141

141:                                              ; preds = %135
  %142 = load ptr, ptr %18, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.ImGuiContext, ptr %142, i32 0, i32 47
  %144 = load i32, ptr %143, align 8, !tbaa !77
  %145 = load i32, ptr %15, align 4, !tbaa !9
  %146 = icmp eq i32 %144, %145
  br i1 %146, label %153, label %147

147:                                              ; preds = %141
  %148 = load ptr, ptr %18, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.ImGuiContext, ptr %148, i32 0, i32 47
  %150 = load i32, ptr %149, align 8, !tbaa !77
  %151 = load i32, ptr %16, align 4, !tbaa !9
  %152 = icmp eq i32 %150, %151
  br i1 %152, label %153, label %154

153:                                              ; preds = %147, %141, %135, %129
  store i8 1, ptr %29, align 1, !tbaa !11
  br label %154

154:                                              ; preds = %153, %147
  br label %155

155:                                              ; preds = %154, %121
  br label %156

156:                                              ; preds = %155, %115
  %157 = load i8, ptr %29, align 1, !tbaa !11, !range !73, !noundef !74
  %158 = trunc i8 %157 to i1
  br i1 %158, label %159, label %193

159:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 40, ptr %30) #9
  call void @_ZN23ImGuiLastItemDataBackupC2Ev(ptr noundef nonnull align 4 dereferenceable(40) %30)
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #9
  %160 = load ptr, ptr %18, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.ImGuiContext, ptr %160, i32 0, i32 10
  %162 = load float, ptr %161, align 8, !tbaa !22
  store float %162, ptr %31, align 4, !tbaa !72
  call void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef 10, ptr noundef nonnull align 4 dereferenceable(8) %10)
  %163 = load i32, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #9
  %164 = load ptr, ptr %12, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.ImRect, ptr %164, i32 0, i32 1
  %166 = getelementptr inbounds %struct.ImVec2, ptr %165, i32 0, i32 0
  %167 = load float, ptr %166, align 4, !tbaa !20
  %168 = getelementptr inbounds %struct.ImVec2, ptr %10, i32 0, i32 0
  %169 = load float, ptr %168, align 4, !tbaa !17
  %170 = fneg float %169
  %171 = call float @llvm.fmuladd.f32(float %170, float 2.000000e+00, float %167)
  %172 = load float, ptr %31, align 4, !tbaa !72
  %173 = fsub float %171, %172
  %174 = load ptr, ptr %12, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.ImRect, ptr %174, i32 0, i32 0
  %176 = getelementptr inbounds %struct.ImVec2, ptr %175, i32 0, i32 1
  %177 = load float, ptr %176, align 4, !tbaa !18
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %32, float noundef %173, float noundef %177)
  %178 = call noundef zeroext i1 @_ZN5ImGui11CloseButtonEjRK6ImVec2(i32 noundef %163, ptr noundef nonnull align 4 dereferenceable(8) %32)
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  br i1 %178, label %179, label %180

179:                                              ; preds = %159
  store i8 1, ptr %28, align 1, !tbaa !11
  br label %180

180:                                              ; preds = %179, %159
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  call void @_ZNK23ImGuiLastItemDataBackup7RestoreEv(ptr noundef nonnull align 4 dereferenceable(40) %30)
  %181 = load i32, ptr %13, align 4, !tbaa !9
  %182 = and i32 %181, 4
  %183 = icmp ne i32 %182, 0
  br i1 %183, label %187, label %184

184:                                              ; preds = %180
  %185 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 2, i1 noundef zeroext false)
  br i1 %185, label %186, label %187

186:                                              ; preds = %184
  store i8 1, ptr %28, align 1, !tbaa !11
  br label %187

187:                                              ; preds = %186, %184, %180
  %188 = load float, ptr %31, align 4, !tbaa !72
  %189 = getelementptr inbounds %struct.ImRect, ptr %22, i32 0, i32 1
  %190 = getelementptr inbounds %struct.ImVec2, ptr %189, i32 0, i32 0
  %191 = load float, ptr %190, align 4, !tbaa !20
  %192 = fsub float %191, %188
  store float %192, ptr %190, align 4, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %30) #9
  br label %193

193:                                              ; preds = %187, %156
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #9
  %194 = load i8, ptr %29, align 1, !tbaa !11, !range !73, !noundef !74
  %195 = trunc i8 %194 to i1
  br i1 %195, label %196, label %200

196:                                              ; preds = %193
  %197 = getelementptr inbounds %struct.ImRect, ptr %22, i32 0, i32 1
  %198 = getelementptr inbounds %struct.ImVec2, ptr %197, i32 0, i32 0
  %199 = load float, ptr %198, align 4, !tbaa !20
  br label %206

200:                                              ; preds = %193
  %201 = load ptr, ptr %12, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.ImRect, ptr %201, i32 0, i32 1
  %203 = getelementptr inbounds %struct.ImVec2, ptr %202, i32 0, i32 0
  %204 = load float, ptr %203, align 4, !tbaa !20
  %205 = fsub float %204, 1.000000e+00
  br label %206

206:                                              ; preds = %200, %196
  %207 = phi float [ %199, %196 ], [ %205, %200 ]
  store float %207, ptr %33, align 4, !tbaa !72
  %208 = load ptr, ptr %11, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.ImRect, ptr %27, i32 0, i32 0
  %210 = getelementptr inbounds %struct.ImRect, ptr %27, i32 0, i32 1
  %211 = getelementptr inbounds %struct.ImRect, ptr %22, i32 0, i32 1
  %212 = getelementptr inbounds %struct.ImVec2, ptr %211, i32 0, i32 0
  %213 = load float, ptr %212, align 4, !tbaa !20
  %214 = load float, ptr %33, align 4, !tbaa !72
  %215 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN5ImGui18RenderTextEllipsisEP10ImDrawListRK6ImVec2S4_ffPKcS6_PS3_(ptr noundef %208, ptr noundef nonnull align 4 dereferenceable(8) %209, ptr noundef nonnull align 4 dereferenceable(8) %210, float noundef %213, float noundef %214, ptr noundef %215, ptr noundef null, ptr noundef %19)
  %216 = load i8, ptr %28, align 1, !tbaa !11, !range !73, !noundef !74
  %217 = trunc i8 %216 to i1
  store i1 %217, ptr %9, align 1
  store i32 1, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  br label %218

218:                                              ; preds = %206, %41
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  %219 = load i1, ptr %9, align 1
  ret i1 %219
}

declare void @_ZN5ImGui19RenderTextClippedExEP10ImDrawListRK6ImVec2S4_PKcS6_PS3_S4_PK6ImRect(ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), ptr noundef) #3

declare void @_ZN5ImGui18RenderTextEllipsisEP10ImDrawListRK6ImVec2S4_ffPKcS6_PS3_(ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef, ptr noundef, ptr noundef, ptr noundef) #3

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 nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { inlinehint 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 #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 = { 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 #8 = { 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 #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 = !{!"bool", !7, i64 0}
!13 = !{!14, !16, i64 0}
!14 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!15 = !{!"_ZTS6ImVec2", !16, i64 0, !16, i64 4}
!16 = !{!"float", !7, i64 0}
!17 = !{!15, !16, i64 0}
!18 = !{!14, !16, i64 4}
!19 = !{!15, !16, i64 4}
!20 = !{!14, !16, i64 8}
!21 = !{!14, !16, i64 12}
!22 = !{!23, !16, i64 6712}
!23 = !{!"_ZTS12ImGuiContext", !12, i64 0, !12, i64 1, !24, i64 8, !27, i64 5472, !30, i64 5704, !10, i64 6692, !10, i64 6696, !6, i64 6704, !16, i64 6712, !16, i64 6716, !31, i64 6720, !33, i64 6936, !10, i64 6944, !10, i64 6948, !10, i64 6952, !10, i64 6956, !12, i64 6960, !12, i64 6961, !12, i64 6962, !12, i64 6963, !10, i64 6964, !6, i64 6968, !34, i64 6976, !34, i64 6992, !34, i64 7008, !34, i64 7024, !35, i64 7040, !10, i64 7056, !6, i64 7064, !6, i64 7072, !6, i64 7080, !6, i64 7088, !6, i64 7096, !6, i64 7104, !6, i64 7112, !15, i64 7120, !16, i64 7128, !10, i64 7132, !10, i64 7136, !12, i64 7140, !12, i64 7141, !16, i64 7144, !16, i64 7148, !10, i64 7152, !10, i64 7156, !16, i64 7160, !12, i64 7164, !12, i64 7165, !12, i64 7166, !12, i64 7167, !12, i64 7168, !12, i64 7169, !10, i64 7172, !10, i64 7176, !37, i64 7184, !15, i64 7192, !6, i64 7200, !38, i64 7208, !10, i64 7212, !10, i64 7216, !12, i64 7220, !12, i64 7221, !6, i64 7224, !10, i64 7232, !16, i64 7236, !39, i64 7240, !41, i64 7384, !42, i64 7408, !43, i64 7424, !44, i64 7440, !45, i64 7456, !45, i64 7472, !46, i64 7488, !16, i64 7504, !6, i64 7512, !6, i64 7520, !6, i64 7528, !10, i64 7536, !10, i64 7540, !6, i64 7544, !10, i64 7552, !10, i64 7556, !10, i64 7560, !10, i64 7564, !10, i64 7568, !10, i64 7572, !10, i64 7576, !10, i64 7580, !10, i64 7584, !10, i64 7588, !10, i64 7592, !38, i64 7596, !14, i64 7600, !10, i64 7616, !47, i64 7620, !10, i64 7624, !12, i64 7628, !12, i64 7629, !12, i64 7630, !12, i64 7631, !12, i64 7632, !12, i64 7633, !12, i64 7634, !10, i64 7636, !14, i64 7640, !12, i64 7656, !12, i64 7657, !10, i64 7660, !48, i64 7664, !10, i64 7668, !10, i64 7672, !10, i64 7676, !10, i64 7680, !49, i64 7688, !49, i64 7736, !49, i64 7784, !6, i64 7832, !10, i64 7840, !6, i64 7848, !6, i64 7856, !6, i64 7864, !16, i64 7872, !16, i64 7876, !12, i64 7880, !6, i64 7888, !6, i64 7896, !10, i64 7904, !10, i64 7908, !10, i64 7912, !10, i64 7916, !12, i64 7920, !16, i64 7924, !10, i64 7928, !12, i64 7932, !12, i64 7933, !12, i64 7934, !10, i64 7936, !10, i64 7940, !10, i64 7944, !50, i64 7952, !14, i64 8016, !10, i64 8032, !10, i64 8036, !16, i64 8040, !10, i64 8044, !10, i64 8048, !10, i64 8052, !10, i64 8056, !51, i64 8064, !7, i64 8080, !6, i64 8096, !52, i64 8104, !54, i64 8144, !55, i64 8160, !15, i64 8176, !56, i64 8184, !60, i64 11912, !10, i64 12032, !10, i64 12036, !16, i64 12040, !16, i64 12044, !7, i64 12048, !32, i64 12060, !16, i64 12076, !12, i64 12080, !12, i64 12081, !16, i64 12084, !16, i64 12088, !16, i64 12092, !10, i64 12096, !57, i64 12104, !63, i64 12120, !15, i64 12136, !15, i64 12144, !6, i64 12152, !64, i64 12160, !12, i64 12216, !16, i64 12220, !67, i64 12224, !68, i64 12240, !69, i64 12256, !12, i64 12272, !70, i64 12276, !6, i64 12280, !67, i64 12288, !16, i64 12304, !12, i64 12308, !10, i64 12312, !10, i64 12316, !10, i64 12320, !12, i64 12324, !10, i64 12328, !7, i64 12332, !10, i64 12812, !16, i64 12816, !10, i64 12820, !10, i64 12824, !10, i64 12828, !7, i64 12832}
!24 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !6, i64 24, !6, i64 32, !16, i64 40, !16, i64 44, !16, i64 48, !7, i64 52, !16, i64 140, !16, i64 144, !6, i64 152, !6, i64 160, !16, i64 168, !12, i64 172, !6, i64 176, !15, i64 184, !12, i64 192, !12, i64 193, !12, i64 194, !12, i64 195, !12, i64 196, !12, i64 197, !12, i64 198, !12, i64 199, !12, i64 200, !12, i64 201, !12, i64 202, !12, i64 203, !12, i64 204, !16, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !15, i64 288, !7, i64 296, !16, i64 304, !16, i64 308, !10, i64 312, !12, i64 316, !12, i64 317, !12, i64 318, !12, i64 319, !7, i64 320, !7, i64 832, !12, i64 916, !12, i64 917, !12, i64 918, !12, i64 919, !12, i64 920, !12, i64 921, !12, i64 922, !16, i64 924, !10, i64 928, !10, i64 932, !10, i64 936, !10, i64 940, !10, i64 944, !15, i64 948, !10, i64 956, !15, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5356, !16, i64 5440, !25, i64 5444, !26, i64 5448}
!25 = !{!"short", !7, i64 0}
!26 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!27 = !{!"_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, !6, i64 184, !28, i64 192, !6, i64 208, !29, i64 216}
!28 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !10, i64 0, !10, i64 4, !6, i64 8}
!29 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !10, i64 0, !10, i64 4, !6, i64 8}
!30 = !{!"_ZTS10ImGuiStyle", !16, i64 0, !15, i64 4, !16, i64 12, !16, i64 16, !15, i64 20, !15, i64 28, !10, i64 36, !16, i64 40, !16, i64 44, !16, i64 48, !16, i64 52, !15, i64 56, !16, i64 64, !16, i64 68, !15, i64 72, !15, i64 80, !15, i64 88, !16, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124, !16, i64 128, !16, i64 132, !10, i64 136, !15, i64 140, !15, i64 148, !15, i64 156, !15, i64 164, !16, i64 172, !12, i64 176, !12, i64 177, !12, i64 178, !16, i64 180, !16, i64 184, !7, i64 188}
!31 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !6, i64 8, !16, i64 16, !16, i64 20, !16, i64 24, !32, i64 28, !10, i64 44, !7, i64 48, !7, i64 144, !6, i64 208}
!32 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!33 = !{!"double", !7, i64 0}
!34 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!35 = !{!"_ZTS12ImGuiStorage", !36, i64 0}
!36 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!37 = !{!"long long", !7, i64 0}
!38 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!39 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !15, i64 20, !15, i64 28, !15, i64 36, !15, i64 44, !15, i64 52, !12, i64 60, !12, i64 61, !14, i64 64, !6, i64 80, !6, i64 88, !16, i64 96, !10, i64 100, !10, i64 104, !40, i64 108, !15, i64 136}
!40 = !{!"_ZTS16ImGuiWindowClass", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !12, i64 24, !12, i64 25}
!41 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !16, i64 4, !10, i64 8, !10, i64 12, !12, i64 16}
!42 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !6, i64 8}
!47 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!48 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!49 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !10, i64 8, !10, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !14, i64 28}
!50 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !12, i64 57, !12, i64 58}
!51 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!52 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !53, i64 0, !35, i64 16, !10, i64 32}
!53 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!56 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !26, i64 16, !57, i64 32, !57, i64 48, !12, i64 64, !10, i64 68, !16, i64 72, !58, i64 76, !16, i64 3696, !12, i64 3700, !12, i64 3701, !12, i64 3702, !10, i64 3704, !6, i64 3712, !6, i64 3720}
!57 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!58 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !16, i64 20, !59, i64 24}
!59 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !25, i64 3582, !25, i64 3584, !10, i64 3588, !10, i64 3592}
!60 = !{!"_ZTS6ImFont", !61, i64 0, !16, i64 16, !16, i64 20, !26, i64 24, !62, i64 40, !6, i64 56, !15, i64 64, !6, i64 72, !6, i64 80, !25, i64 88, !25, i64 90, !25, i64 92, !12, i64 94, !16, i64 96, !16, i64 100, !16, i64 104, !10, i64 108, !7, i64 112}
!61 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!64 = !{!"_ZTS16ImGuiDockContext", !35, i64 0, !65, i64 16, !66, i64 32, !12, i64 48}
!65 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !10, i64 0, !10, i64 4, !6, i64 8}
!66 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !10, i64 0, !10, i64 4, !6, i64 8}
!67 = !{!"_ZTS15ImGuiTextBuffer", !57, i64 0}
!68 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!69 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !57, i64 0}
!70 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!71 = !{i64 0, i64 4, !72, i64 4, i64 4, !72, i64 8, i64 4, !72, i64 12, i64 4, !72}
!72 = !{!16, !16, i64 0}
!73 = !{i8 0, i8 2}
!74 = !{}
!75 = !{!23, !16, i64 5836}
!76 = !{!23, !10, i64 7132}
!77 = !{!23, !10, i64 7152}


; 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.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImGuiLastItemDataBackup = type { i32, i32, %struct.ImRect, %struct.ImRect }

@GImGui = external local_unnamed_addr global ptr, align 8
@.str.173 = external hidden unnamed_addr constant [2 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

declare <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef, ptr noundef, i1 noundef zeroext, float noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #5

declare noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef, i1 noundef zeroext) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMinIfET_S0_S0_(float noundef, float noundef) local_unnamed_addr #8

declare void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3

declare void @_ZN5ImGui11PopStyleVarEi(i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN23ImGuiLastItemDataBackupC2Ev(ptr noundef nonnull align 4 dereferenceable(40)) unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK23ImGuiLastItemDataBackup7RestoreEv(ptr noundef nonnull align 4 dereferenceable(40)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjjb(ptr noundef %0, ptr noundef nonnull align 4 dereferenceable(16) %1, i32 noundef %2, <2 x float> %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, i1 noundef zeroext %7) local_unnamed_addr #6 {
  %9 = alloca %struct.ImVec2, align 8
  %10 = alloca %struct.ImVec2, align 8
  %11 = alloca %struct.ImRect, align 4
  %12 = alloca %struct.ImVec2, align 4
  %13 = alloca %struct.ImVec2, align 8
  %14 = alloca %struct.ImVec2, align 4
  %15 = alloca %struct.ImRect, align 4
  %16 = alloca %struct.ImGuiLastItemDataBackup, align 4
  %17 = alloca %struct.ImVec2, align 4
  store <2 x float> %3, ptr %9, align 8
  %18 = load ptr, ptr @GImGui, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #9
  %19 = tail call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %4, ptr noundef null, i1 noundef zeroext true, float noundef -1.000000e+00)
  store <2 x float> %19, ptr %10, align 8
  %20 = tail call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %1)
  %21 = fcmp ugt float %20, 1.000000e+00
  %22 = extractelement <2 x float> %19, i64 0
  br i1 %21, label %23, label %103

23:                                               ; preds = %8
  %24 = extractelement <2 x float> %3, i64 1
  %25 = extractelement <2 x float> %3, i64 0
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #9
  %26 = load float, ptr %1, align 4, !tbaa !9
  %27 = fadd float %26, %25
  %28 = getelementptr inbounds i8, ptr %1, i64 4
  %29 = load float, ptr %28, align 4, !tbaa !13
  %30 = fadd float %29, %24
  %31 = getelementptr inbounds i8, ptr %1, i64 8
  %32 = load float, ptr %31, align 4, !tbaa !14
  %33 = fsub float %32, %25
  %34 = getelementptr inbounds i8, ptr %1, i64 12
  %35 = load float, ptr %34, align 4, !tbaa !15
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %11, float noundef %27, float noundef %30, float noundef %33, float noundef %35)
  %36 = and i32 %2, 1
  %.not = icmp eq i32 %36, 0
  br i1 %.not, label %59, label %37

37:                                               ; preds = %23
  %38 = getelementptr inbounds i8, ptr %9, i64 4
  %39 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef nonnull @.str.173, ptr noundef null, i1 noundef zeroext false, float noundef -1.000000e+00)
  %.sroa.0.0.vec.extract = extractelement <2 x float> %39, i64 0
  %40 = getelementptr inbounds i8, ptr %11, i64 8
  %41 = load float, ptr %40, align 4, !tbaa !14
  %42 = fsub float %41, %.sroa.0.0.vec.extract
  store float %42, ptr %40, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %43 = load float, ptr %1, align 4, !tbaa !9
  %44 = load float, ptr %9, align 8, !tbaa !16
  %45 = fadd float %43, %44
  %46 = fadd float %45, %22
  %47 = fadd float %46, 2.000000e+00
  %48 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %47, float noundef %42)
  %49 = load float, ptr %28, align 4, !tbaa !13
  %50 = load float, ptr %38, align 4, !tbaa !17
  %51 = fadd float %49, %50
  %52 = getelementptr inbounds i8, ptr %18, i64 6712
  %53 = load float, ptr %52, align 8, !tbaa !18
  %54 = fmul float %53, -2.500000e-01
  %55 = fptosi float %54 to i32
  %56 = sitofp i32 %55 to float
  %57 = fadd float %51, %56
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef %48, float noundef %57)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  %58 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %31, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %58, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui19RenderTextClippedExEP10ImDrawListRK6ImVec2S4_PKcS6_PS3_S4_PK6ImRect(ptr noundef %0, ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull @.str.173, ptr noundef null, ptr noundef null, ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  br label %59

59:                                               ; preds = %37, %23
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #9
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(16) %11, i64 16, i1 false), !tbaa.struct !69
  %.not46 = icmp eq i32 %6, 0
  br i1 %.not46, label %90, label %60

60:                                               ; preds = %59
  br i1 %7, label %66, label %61

61:                                               ; preds = %60
  %62 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %1)
  %63 = getelementptr inbounds i8, ptr %18, i64 5836
  %64 = load float, ptr %63, align 4, !tbaa !71
  %65 = fcmp ult float %62, %64
  br i1 %65, label %90, label %66

66:                                               ; preds = %61, %60
  %67 = getelementptr inbounds i8, ptr %18, i64 7132
  %68 = load i32, ptr %67, align 4, !tbaa !72
  %69 = icmp eq i32 %68, %5
  %70 = icmp eq i32 %68, %6
  %or.cond = or i1 %69, %70
  br i1 %or.cond, label %76, label %71

71:                                               ; preds = %66
  %72 = getelementptr inbounds i8, ptr %18, i64 7152
  %73 = load i32, ptr %72, align 8, !tbaa !73
  %74 = icmp eq i32 %73, %5
  %75 = icmp eq i32 %73, %6
  %or.cond48 = or i1 %74, %75
  br i1 %or.cond48, label %76, label %90

76:                                               ; preds = %71, %66
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %16) #9
  call void @_ZN23ImGuiLastItemDataBackupC2Ev(ptr noundef nonnull align 4 dereferenceable(40) %16)
  %77 = getelementptr inbounds i8, ptr %18, i64 6712
  %78 = load float, ptr %77, align 8, !tbaa !18
  call void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef 10, ptr noundef nonnull align 4 dereferenceable(8) %9)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #9
  %79 = load float, ptr %31, align 4, !tbaa !14
  %80 = load float, ptr %9, align 8, !tbaa !16
  %81 = fneg float %80
  %82 = call float @llvm.fmuladd.f32(float %81, float 2.000000e+00, float %79)
  %83 = fsub float %82, %78
  %84 = load float, ptr %28, align 4, !tbaa !13
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef %83, float noundef %84)
  %85 = call noundef zeroext i1 @_ZN5ImGui11CloseButtonEjRK6ImVec2(i32 noundef %6, ptr noundef nonnull align 4 dereferenceable(8) %17)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  call void @_ZNK23ImGuiLastItemDataBackup7RestoreEv(ptr noundef nonnull align 4 dereferenceable(40) %16)
  %86 = and i32 %2, 4
  %.not47 = icmp eq i32 %86, 0
  br i1 %.not47, label %87, label %95

87:                                               ; preds = %76
  %88 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 2, i1 noundef zeroext false)
  %89 = or i1 %85, %88
  br label %95

90:                                               ; preds = %61, %59, %71
  %91 = getelementptr inbounds i8, ptr %11, i64 8
  %92 = load float, ptr %91, align 4
  %93 = load float, ptr %31, align 4
  %94 = fadd float %93, -1.000000e+00
  br label %99

95:                                               ; preds = %76, %87
  %.1 = phi i1 [ %85, %76 ], [ %89, %87 ]
  %96 = getelementptr inbounds i8, ptr %11, i64 8
  %97 = load float, ptr %96, align 4, !tbaa !14
  %98 = fsub float %97, %78
  store float %98, ptr %96, align 4, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %16) #9
  br label %99

99:                                               ; preds = %90, %95
  %100 = phi float [ %98, %95 ], [ %92, %90 ]
  %.255 = phi i1 [ %.1, %95 ], [ false, %90 ]
  %101 = phi float [ %98, %95 ], [ %94, %90 ]
  %102 = getelementptr inbounds i8, ptr %15, i64 8
  call void @_ZN5ImGui18RenderTextEllipsisEP10ImDrawListRK6ImVec2S4_ffPKcS6_PS3_(ptr noundef %0, ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(8) %102, float noundef %100, float noundef %101, ptr noundef %4, ptr noundef null, ptr noundef nonnull %10)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #9
  br label %103

103:                                              ; preds = %8, %99
  %.0 = phi i1 [ %.255, %99 ], [ false, %8 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  ret i1 %.0
}

declare void @_ZN5ImGui19RenderTextClippedExEP10ImDrawListRK6ImVec2S4_PKcS6_PS3_S4_PK6ImRect(ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), ptr noundef) local_unnamed_addr #3

declare void @_ZN5ImGui18RenderTextEllipsisEP10ImDrawListRK6ImVec2S4_ffPKcS6_PS3_(ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

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 nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { inlinehint 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 #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 = { 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 #8 = { 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 #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, !12, i64 0}
!10 = !{!"_ZTS6ImRect", !11, i64 0, !11, i64 8}
!11 = !{!"_ZTS6ImVec2", !12, i64 0, !12, i64 4}
!12 = !{!"float", !7, i64 0}
!13 = !{!10, !12, i64 4}
!14 = !{!10, !12, i64 8}
!15 = !{!10, !12, i64 12}
!16 = !{!11, !12, i64 0}
!17 = !{!11, !12, i64 4}
!18 = !{!19, !12, i64 6712}
!19 = !{!"_ZTS12ImGuiContext", !20, i64 0, !20, i64 1, !21, i64 8, !25, i64 5472, !28, i64 5704, !22, i64 6692, !22, i64 6696, !6, i64 6704, !12, i64 6712, !12, i64 6716, !29, i64 6720, !31, i64 6936, !22, i64 6944, !22, i64 6948, !22, i64 6952, !22, i64 6956, !20, i64 6960, !20, i64 6961, !20, i64 6962, !20, i64 6963, !22, i64 6964, !6, i64 6968, !32, i64 6976, !32, i64 6992, !32, i64 7008, !32, i64 7024, !33, i64 7040, !22, i64 7056, !6, i64 7064, !6, i64 7072, !6, i64 7080, !6, i64 7088, !6, i64 7096, !6, i64 7104, !6, i64 7112, !11, i64 7120, !12, i64 7128, !22, i64 7132, !22, i64 7136, !20, i64 7140, !20, i64 7141, !12, i64 7144, !12, i64 7148, !22, i64 7152, !22, i64 7156, !12, i64 7160, !20, i64 7164, !20, i64 7165, !20, i64 7166, !20, i64 7167, !20, i64 7168, !20, i64 7169, !22, i64 7172, !22, i64 7176, !35, i64 7184, !11, i64 7192, !6, i64 7200, !36, i64 7208, !22, i64 7212, !22, i64 7216, !20, i64 7220, !20, i64 7221, !6, i64 7224, !22, i64 7232, !12, i64 7236, !37, i64 7240, !39, i64 7384, !40, i64 7408, !41, i64 7424, !42, i64 7440, !43, i64 7456, !43, i64 7472, !44, i64 7488, !12, i64 7504, !6, i64 7512, !6, i64 7520, !6, i64 7528, !22, i64 7536, !22, i64 7540, !6, i64 7544, !22, i64 7552, !22, i64 7556, !22, i64 7560, !22, i64 7564, !22, i64 7568, !22, i64 7572, !22, i64 7576, !22, i64 7580, !22, i64 7584, !22, i64 7588, !22, i64 7592, !36, i64 7596, !10, i64 7600, !22, i64 7616, !45, i64 7620, !22, i64 7624, !20, i64 7628, !20, i64 7629, !20, i64 7630, !20, i64 7631, !20, i64 7632, !20, i64 7633, !20, i64 7634, !22, i64 7636, !10, i64 7640, !20, i64 7656, !20, i64 7657, !22, i64 7660, !46, i64 7664, !22, i64 7668, !22, i64 7672, !22, i64 7676, !22, i64 7680, !47, i64 7688, !47, i64 7736, !47, i64 7784, !6, i64 7832, !22, i64 7840, !6, i64 7848, !6, i64 7856, !6, i64 7864, !12, i64 7872, !12, i64 7876, !20, i64 7880, !6, i64 7888, !6, i64 7896, !22, i64 7904, !22, i64 7908, !22, i64 7912, !22, i64 7916, !20, i64 7920, !12, i64 7924, !22, i64 7928, !20, i64 7932, !20, i64 7933, !20, i64 7934, !22, i64 7936, !22, i64 7940, !22, i64 7944, !48, i64 7952, !10, i64 8016, !22, i64 8032, !22, i64 8036, !12, i64 8040, !22, i64 8044, !22, i64 8048, !22, i64 8052, !22, i64 8056, !49, i64 8064, !7, i64 8080, !6, i64 8096, !50, i64 8104, !52, i64 8144, !53, i64 8160, !11, i64 8176, !54, i64 8184, !58, i64 11912, !22, i64 12032, !22, i64 12036, !12, i64 12040, !12, i64 12044, !7, i64 12048, !30, i64 12060, !12, i64 12076, !20, i64 12080, !20, i64 12081, !12, i64 12084, !12, i64 12088, !12, i64 12092, !22, i64 12096, !55, i64 12104, !61, i64 12120, !11, i64 12136, !11, i64 12144, !6, i64 12152, !62, i64 12160, !20, i64 12216, !12, i64 12220, !65, i64 12224, !66, i64 12240, !67, i64 12256, !20, i64 12272, !68, i64 12276, !6, i64 12280, !65, i64 12288, !12, i64 12304, !20, i64 12308, !22, i64 12312, !22, i64 12316, !22, i64 12320, !20, i64 12324, !22, i64 12328, !7, i64 12332, !22, i64 12812, !12, i64 12816, !22, i64 12820, !22, i64 12824, !22, i64 12828, !7, i64 12832}
!20 = !{!"bool", !7, i64 0}
!21 = !{!"_ZTS7ImGuiIO", !22, i64 0, !22, i64 4, !11, i64 8, !12, i64 16, !12, i64 20, !6, i64 24, !6, i64 32, !12, i64 40, !12, i64 44, !12, i64 48, !7, i64 52, !12, i64 140, !12, i64 144, !6, i64 152, !6, i64 160, !12, i64 168, !20, i64 172, !6, i64 176, !11, i64 184, !20, i64 192, !20, i64 193, !20, i64 194, !20, i64 195, !20, i64 196, !20, i64 197, !20, i64 198, !20, i64 199, !20, i64 200, !20, i64 201, !20, i64 202, !20, i64 203, !20, i64 204, !12, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !11, i64 288, !7, i64 296, !12, i64 304, !12, i64 308, !22, i64 312, !20, i64 316, !20, i64 317, !20, i64 318, !20, i64 319, !7, i64 320, !7, i64 832, !20, i64 916, !20, i64 917, !20, i64 918, !20, i64 919, !20, i64 920, !20, i64 921, !20, i64 922, !12, i64 924, !22, i64 928, !22, i64 932, !22, i64 936, !22, i64 940, !22, i64 944, !11, i64 948, !22, i64 956, !11, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5356, !12, i64 5440, !23, i64 5444, !24, i64 5448}
!22 = !{!"int", !7, i64 0}
!23 = !{!"short", !7, i64 0}
!24 = !{!"_ZTS8ImVectorItE", !22, i64 0, !22, i64 4, !6, i64 8}
!25 = !{!"_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, !6, i64 184, !26, i64 192, !6, i64 208, !27, i64 216}
!26 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !22, i64 0, !22, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !22, i64 0, !22, i64 4, !6, i64 8}
!28 = !{!"_ZTS10ImGuiStyle", !12, i64 0, !11, i64 4, !12, i64 12, !12, i64 16, !11, i64 20, !11, i64 28, !22, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !11, i64 56, !12, i64 64, !12, i64 68, !11, i64 72, !11, i64 80, !11, i64 88, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !22, i64 136, !11, i64 140, !11, i64 148, !11, i64 156, !11, i64 164, !12, i64 172, !20, i64 176, !20, i64 177, !20, i64 178, !12, i64 180, !12, i64 184, !7, i64 188}
!29 = !{!"_ZTS20ImDrawListSharedData", !11, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !30, i64 28, !22, i64 44, !7, i64 48, !7, i64 144, !6, i64 208}
!30 = !{!"_ZTS6ImVec4", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!31 = !{!"double", !7, i64 0}
!32 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !22, i64 0, !22, i64 4, !6, i64 8}
!33 = !{!"_ZTS12ImGuiStorage", !34, i64 0}
!34 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !22, i64 0, !22, i64 4, !6, i64 8}
!35 = !{!"long long", !7, i64 0}
!36 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!37 = !{!"_ZTS19ImGuiNextWindowData", !22, i64 0, !22, i64 4, !22, i64 8, !22, i64 12, !22, i64 16, !11, i64 20, !11, i64 28, !11, i64 36, !11, i64 44, !11, i64 52, !20, i64 60, !20, i64 61, !10, i64 64, !6, i64 80, !6, i64 88, !12, i64 96, !22, i64 100, !22, i64 104, !38, i64 108, !11, i64 136}
!38 = !{!"_ZTS16ImGuiWindowClass", !22, i64 0, !22, i64 4, !22, i64 8, !22, i64 12, !22, i64 16, !22, i64 20, !20, i64 24, !20, i64 25}
!39 = !{!"_ZTS17ImGuiNextItemData", !22, i64 0, !12, i64 4, !22, i64 8, !22, i64 12, !20, i64 16}
!40 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !22, i64 0, !22, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !22, i64 0, !22, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorIP6ImFontE", !22, i64 0, !22, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !22, i64 0, !22, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !22, i64 0, !22, i64 4, !6, i64 8}
!45 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!46 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!47 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !22, i64 8, !22, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !10, i64 28}
!48 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !22, i64 8, !22, i64 12, !22, i64 16, !22, i64 20, !7, i64 24, !20, i64 57, !20, i64 58}
!49 = !{!"_ZTS8ImVectorIhE", !22, i64 0, !22, i64 4, !6, i64 8}
!50 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !51, i64 0, !33, i64 16, !22, i64 32}
!51 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !22, i64 0, !22, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !22, i64 0, !22, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !22, i64 0, !22, i64 4, !6, i64 8}
!54 = !{!"_ZTS19ImGuiInputTextState", !22, i64 0, !22, i64 4, !22, i64 8, !24, i64 16, !55, i64 32, !55, i64 48, !20, i64 64, !22, i64 68, !12, i64 72, !56, i64 76, !12, i64 3696, !20, i64 3700, !20, i64 3701, !20, i64 3702, !22, i64 3704, !6, i64 3712, !6, i64 3720}
!55 = !{!"_ZTS8ImVectorIcE", !22, i64 0, !22, i64 4, !6, i64 8}
!56 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !22, i64 0, !22, i64 4, !22, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !12, i64 20, !57, i64 24}
!57 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !23, i64 3582, !23, i64 3584, !22, i64 3588, !22, i64 3592}
!58 = !{!"_ZTS6ImFont", !59, i64 0, !12, i64 16, !12, i64 20, !24, i64 24, !60, i64 40, !6, i64 56, !11, i64 64, !6, i64 72, !6, i64 80, !23, i64 88, !23, i64 90, !23, i64 92, !20, i64 94, !12, i64 96, !12, i64 100, !12, i64 104, !22, i64 108, !7, i64 112}
!59 = !{!"_ZTS8ImVectorIfE", !22, i64 0, !22, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !22, i64 0, !22, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorIjE", !22, i64 0, !22, i64 4, !6, i64 8}
!62 = !{!"_ZTS16ImGuiDockContext", !33, i64 0, !63, i64 16, !64, i64 32, !20, i64 48}
!63 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !22, i64 0, !22, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !22, i64 0, !22, i64 4, !6, i64 8}
!65 = !{!"_ZTS15ImGuiTextBuffer", !55, i64 0}
!66 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !22, i64 0, !22, i64 4, !6, i64 8}
!67 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !55, i64 0}
!68 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!69 = !{i64 0, i64 4, !70, i64 4, i64 4, !70, i64 8, i64 4, !70, i64 12, i64 4, !70}
!70 = !{!12, !12, i64 0}
!71 = !{!19, !12, i64 5836}
!72 = !{!19, !22, i64 7132}
!73 = !{!19, !22, i64 7152}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass