; LLVM IR from Devaniti/BoolkaEngine :: ThirdParty/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.ImGuiStyle, [4 x i8], ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, [3 x 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, %struct.ImVec2, float, i32, i32, i8, i8, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, 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.11, %struct.ImVector.12, %struct.ImVector.13, %struct.ImVector, %struct.ImVector.14, %struct.ImVector.15, %struct.ImVector.16, %struct.ImVector.16, 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, [3 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, [7 x i8], %struct.ImDrawData, %struct.ImDrawDataBuilder, float, [4 x i8], %struct.ImDrawList, %struct.ImDrawList, 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.18, [16 x i8], ptr, %struct.ImPool, %struct.ImVector.20, %struct.ImVector.1, %struct.ImVector.10, ptr, %struct.ImPool.21, %struct.ImVector.20, %struct.ImVector.24, %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, float, %struct.ImVector.25, %struct.ImVector, %struct.ImVec2, %struct.ImVec2, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.27, %struct.ImChunkStream, %struct.ImChunkStream.28, %struct.ImVector.29, i8, [3 x i8], i32, ptr, %struct.ImGuiTextBuffer, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, %struct.ImGuiMetricsConfig, [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, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, 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.5 }
%struct.ImVector.5 = 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, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [53 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, [12 x %struct.ImVec2], [64 x i8], ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.2 }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], %struct.ImRect, [4 x i8], ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImGuiNavMoveResult = type <{ ptr, i32, i32, float, float, float, %struct.ImRect, [4 x i8] }>
%struct.ImDrawData = type <{ i8, [7 x i8], ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, [4 x i8] }>
%struct.ImDrawDataBuilder = type { [2 x %struct.ImVector.17] }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.4, %struct.ImVector.5, %struct.ImVector.6, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.10 }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImPool = type <{ %struct.ImVector.19, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImPool.21 = type <{ %struct.ImVector.22, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector.5, %struct.ImVector.25, %struct.ImVector.25, i8, i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i32, ptr, ptr }
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImStb::StbUndoState" }
%"struct.ImStb::StbUndoState" = type { [99 x %"struct.ImStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImFont = type <{ %struct.ImVector.1, float, float, %struct.ImVector.5, %struct.ImVector.26, ptr, ptr, ptr, i16, i16, i16, i8, i8, float, float, float, i32, [2 x i8], [6 x i8] }>
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.25 }
%struct.ImChunkStream.28 = type { %struct.ImVector.25 }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.25 }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i32, i32 }

@GImGui = external global ptr, align 8
@.str.175 = 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 void @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjjbPbS8_(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, ptr noundef %8, ptr noundef %9) #6 {
  %11 = alloca %struct.ImVec2, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i8, align 1
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca %struct.ImVec2, align 4
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  %25 = alloca %struct.ImRect, align 4
  %26 = alloca %struct.ImVec2, align 4
  %27 = alloca %struct.ImVec2, align 4
  %28 = alloca %struct.ImVec2, align 4
  %29 = alloca %struct.ImVec2, align 4
  %30 = alloca %struct.ImRect, align 4
  %31 = alloca i8, align 1
  %32 = alloca i8, align 1
  %33 = alloca %struct.ImGuiLastItemDataBackup, align 4
  %34 = alloca float, align 4
  %35 = alloca %struct.ImVec2, align 4
  %36 = alloca float, align 4
  store <2 x float> %3, ptr %11, align 4
  store ptr %0, ptr %12, align 8, !tbaa !5
  store ptr %1, ptr %13, align 8, !tbaa !5
  store i32 %2, ptr %14, align 4, !tbaa !9
  store ptr %4, ptr %15, align 8, !tbaa !5
  store i32 %5, ptr %16, align 4, !tbaa !9
  store i32 %6, ptr %17, align 4, !tbaa !9
  %37 = zext i1 %7 to i8
  store i8 %37, ptr %18, align 1, !tbaa !11
  store ptr %8, ptr %19, align 8, !tbaa !5
  store ptr %9, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %38 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %38, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  %39 = load ptr, ptr %15, align 8, !tbaa !5
  %40 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %39, ptr noundef null, i1 noundef zeroext true, float noundef -1.000000e+00)
  store <2 x float> %40, ptr %22, align 4
  %41 = load ptr, ptr %19, align 8, !tbaa !5
  %42 = icmp ne ptr %41, null
  br i1 %42, label %43, label %45

43:                                               ; preds = %10
  %44 = load ptr, ptr %19, align 8, !tbaa !5
  store i8 0, ptr %44, align 1, !tbaa !11
  br label %45

45:                                               ; preds = %43, %10
  %46 = load ptr, ptr %20, align 8, !tbaa !5
  %47 = icmp ne ptr %46, null
  br i1 %47, label %48, label %50

48:                                               ; preds = %45
  %49 = load ptr, ptr %20, align 8, !tbaa !5
  store i8 0, ptr %49, align 1, !tbaa !11
  br label %50

50:                                               ; preds = %48, %45
  %51 = load ptr, ptr %13, align 8, !tbaa !5
  %52 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %51)
  %53 = fcmp ole float %52, 1.000000e+00
  br i1 %53, label %54, label %55

54:                                               ; preds = %50
  store i32 1, ptr %23, align 4
  br label %253

55:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  store ptr @.str.175, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #9
  %56 = load ptr, ptr %13, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.ImRect, ptr %56, i32 0, i32 0
  %58 = getelementptr inbounds %struct.ImVec2, ptr %57, i32 0, i32 0
  %59 = load float, ptr %58, align 4, !tbaa !13
  %60 = getelementptr inbounds %struct.ImVec2, ptr %11, i32 0, i32 0
  %61 = load float, ptr %60, align 4, !tbaa !17
  %62 = fadd float %59, %61
  %63 = load ptr, ptr %13, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.ImRect, ptr %63, i32 0, i32 0
  %65 = getelementptr inbounds %struct.ImVec2, ptr %64, i32 0, i32 1
  %66 = load float, ptr %65, align 4, !tbaa !18
  %67 = getelementptr inbounds %struct.ImVec2, ptr %11, i32 0, i32 1
  %68 = load float, ptr %67, align 4, !tbaa !19
  %69 = fadd float %66, %68
  %70 = load ptr, ptr %13, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.ImRect, ptr %70, i32 0, i32 1
  %72 = getelementptr inbounds %struct.ImVec2, ptr %71, i32 0, i32 0
  %73 = load float, ptr %72, align 4, !tbaa !20
  %74 = getelementptr inbounds %struct.ImVec2, ptr %11, i32 0, i32 0
  %75 = load float, ptr %74, align 4, !tbaa !17
  %76 = fsub float %73, %75
  %77 = load ptr, ptr %13, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.ImRect, ptr %77, i32 0, i32 1
  %79 = getelementptr inbounds %struct.ImVec2, ptr %78, i32 0, i32 1
  %80 = load float, ptr %79, align 4, !tbaa !21
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %25, float noundef %62, float noundef %69, float noundef %76, float noundef %80)
  %81 = load i32, ptr %14, align 4, !tbaa !9
  %82 = and i32 %81, 1
  %83 = icmp ne i32 %82, 0
  br i1 %83, label %84, label %128

84:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  %85 = load ptr, ptr %24, align 8, !tbaa !5
  %86 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %85, ptr noundef null, i1 noundef zeroext false, float noundef -1.000000e+00)
  store <2 x float> %86, ptr %26, align 4
  %87 = getelementptr inbounds %struct.ImVec2, ptr %26, i32 0, i32 0
  %88 = load float, ptr %87, align 4, !tbaa !17
  %89 = getelementptr inbounds %struct.ImRect, ptr %25, i32 0, i32 1
  %90 = getelementptr inbounds %struct.ImVec2, ptr %89, i32 0, i32 0
  %91 = load float, ptr %90, align 4, !tbaa !20
  %92 = fsub float %91, %88
  store float %92, ptr %90, align 4, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  %93 = load ptr, ptr %13, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.ImRect, ptr %93, i32 0, i32 0
  %95 = getelementptr inbounds %struct.ImVec2, ptr %94, i32 0, i32 0
  %96 = load float, ptr %95, align 4, !tbaa !13
  %97 = getelementptr inbounds %struct.ImVec2, ptr %11, i32 0, i32 0
  %98 = load float, ptr %97, align 4, !tbaa !17
  %99 = fadd float %96, %98
  %100 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %101 = load float, ptr %100, align 4, !tbaa !17
  %102 = fadd float %99, %101
  %103 = fadd float %102, 2.000000e+00
  %104 = getelementptr inbounds %struct.ImRect, ptr %25, i32 0, i32 1
  %105 = getelementptr inbounds %struct.ImVec2, ptr %104, i32 0, i32 0
  %106 = load float, ptr %105, align 4, !tbaa !20
  %107 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %103, float noundef %106)
  %108 = load ptr, ptr %13, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.ImRect, ptr %108, i32 0, i32 0
  %110 = getelementptr inbounds %struct.ImVec2, ptr %109, i32 0, i32 1
  %111 = load float, ptr %110, align 4, !tbaa !18
  %112 = getelementptr inbounds %struct.ImVec2, ptr %11, i32 0, i32 1
  %113 = load float, ptr %112, align 4, !tbaa !19
  %114 = fadd float %111, %113
  %115 = load ptr, ptr %21, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.ImGuiContext, ptr %115, i32 0, i32 7
  %117 = load float, ptr %116, align 8, !tbaa !22
  %118 = fneg float %117
  %119 = fmul float %118, 2.500000e-01
  %120 = fptosi float %119 to i32
  %121 = sitofp i32 %120 to float
  %122 = fadd float %114, %121
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef %107, float noundef %122)
  %123 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  %124 = load ptr, ptr %13, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.ImRect, ptr %124, i32 0, i32 1
  %126 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %125, ptr noundef nonnull align 4 dereferenceable(8) %11)
  store <2 x float> %126, ptr %28, align 4
  %127 = load ptr, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %29, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui19RenderTextClippedExEP10ImDrawListRK6ImVec2S4_PKcS6_PS3_S4_PK6ImRect(ptr noundef %123, ptr noundef nonnull align 4 dereferenceable(8) %27, ptr noundef nonnull align 4 dereferenceable(8) %28, ptr noundef %127, ptr noundef null, ptr noundef null, ptr noundef nonnull align 4 dereferenceable(8) %29, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  br label %128

128:                                              ; preds = %84, %55
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 %25, i64 16, i1 false), !tbaa.struct !81
  %129 = load ptr, ptr %20, align 8, !tbaa !5
  %130 = icmp ne ptr %129, null
  br i1 %130, label %131, label %144

131:                                              ; preds = %128
  %132 = getelementptr inbounds %struct.ImRect, ptr %30, i32 0, i32 0
  %133 = getelementptr inbounds %struct.ImVec2, ptr %132, i32 0, i32 0
  %134 = load float, ptr %133, align 4, !tbaa !13
  %135 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %136 = load float, ptr %135, align 4, !tbaa !17
  %137 = fadd float %134, %136
  %138 = getelementptr inbounds %struct.ImRect, ptr %25, i32 0, i32 1
  %139 = getelementptr inbounds %struct.ImVec2, ptr %138, i32 0, i32 0
  %140 = load float, ptr %139, align 4, !tbaa !20
  %141 = fcmp ogt float %137, %140
  %142 = load ptr, ptr %20, align 8, !tbaa !5
  %143 = zext i1 %141 to i8
  store i8 %143, ptr %142, align 1, !tbaa !11
  br label %144

144:                                              ; preds = %131, %128
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #9
  store i8 0, ptr %31, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #9
  store i8 0, ptr %32, align 1, !tbaa !11
  %145 = load i32, ptr %17, align 4, !tbaa !9
  %146 = icmp ne i32 %145, 0
  br i1 %146, label %147, label %185

147:                                              ; preds = %144
  %148 = load i8, ptr %18, align 1, !tbaa !11, !range !83, !noundef !84
  %149 = trunc i8 %148 to i1
  br i1 %149, label %158, label %150

150:                                              ; preds = %147
  %151 = load ptr, ptr %13, align 8, !tbaa !5
  %152 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %151)
  %153 = load ptr, ptr %21, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.ImGuiContext, ptr %153, i32 0, i32 4
  %155 = getelementptr inbounds %struct.ImGuiStyle, ptr %154, i32 0, i32 27
  %156 = load float, ptr %155, align 4, !tbaa !85
  %157 = fcmp oge float %152, %156
  br i1 %157, label %158, label %184

158:                                              ; preds = %150, %147
  %159 = load ptr, ptr %21, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.ImGuiContext, ptr %159, i32 0, i32 37
  %161 = load i32, ptr %160, align 4, !tbaa !86
  %162 = load i32, ptr %16, align 4, !tbaa !9
  %163 = icmp eq i32 %161, %162
  br i1 %163, label %182, label %164

164:                                              ; preds = %158
  %165 = load ptr, ptr %21, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.ImGuiContext, ptr %165, i32 0, i32 37
  %167 = load i32, ptr %166, align 4, !tbaa !86
  %168 = load i32, ptr %17, align 4, !tbaa !9
  %169 = icmp eq i32 %167, %168
  br i1 %169, label %182, label %170

170:                                              ; preds = %164
  %171 = load ptr, ptr %21, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.ImGuiContext, ptr %171, i32 0, i32 45
  %173 = load i32, ptr %172, align 8, !tbaa !87
  %174 = load i32, ptr %16, align 4, !tbaa !9
  %175 = icmp eq i32 %173, %174
  br i1 %175, label %182, label %176

176:                                              ; preds = %170
  %177 = load ptr, ptr %21, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.ImGuiContext, ptr %177, i32 0, i32 45
  %179 = load i32, ptr %178, align 8, !tbaa !87
  %180 = load i32, ptr %17, align 4, !tbaa !9
  %181 = icmp eq i32 %179, %180
  br i1 %181, label %182, label %183

182:                                              ; preds = %176, %170, %164, %158
  store i8 1, ptr %32, align 1, !tbaa !11
  br label %183

183:                                              ; preds = %182, %176
  br label %184

184:                                              ; preds = %183, %150
  br label %185

185:                                              ; preds = %184, %144
  %186 = load i8, ptr %32, align 1, !tbaa !11, !range !83, !noundef !84
  %187 = trunc i8 %186 to i1
  br i1 %187, label %188, label %222

188:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 40, ptr %33) #9
  call void @_ZN23ImGuiLastItemDataBackupC2Ev(ptr noundef nonnull align 4 dereferenceable(40) %33)
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #9
  %189 = load ptr, ptr %21, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.ImGuiContext, ptr %189, i32 0, i32 7
  %191 = load float, ptr %190, align 8, !tbaa !22
  store float %191, ptr %34, align 4, !tbaa !82
  call void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef 10, ptr noundef nonnull align 4 dereferenceable(8) %11)
  %192 = load i32, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #9
  %193 = load ptr, ptr %13, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.ImRect, ptr %193, i32 0, i32 1
  %195 = getelementptr inbounds %struct.ImVec2, ptr %194, i32 0, i32 0
  %196 = load float, ptr %195, align 4, !tbaa !20
  %197 = getelementptr inbounds %struct.ImVec2, ptr %11, i32 0, i32 0
  %198 = load float, ptr %197, align 4, !tbaa !17
  %199 = fneg float %198
  %200 = call float @llvm.fmuladd.f32(float %199, float 2.000000e+00, float %196)
  %201 = load float, ptr %34, align 4, !tbaa !82
  %202 = fsub float %200, %201
  %203 = load ptr, ptr %13, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.ImRect, ptr %203, i32 0, i32 0
  %205 = getelementptr inbounds %struct.ImVec2, ptr %204, i32 0, i32 1
  %206 = load float, ptr %205, align 4, !tbaa !18
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %35, float noundef %202, float noundef %206)
  %207 = call noundef zeroext i1 @_ZN5ImGui11CloseButtonEjRK6ImVec2(i32 noundef %192, ptr noundef nonnull align 4 dereferenceable(8) %35)
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  br i1 %207, label %208, label %209

208:                                              ; preds = %188
  store i8 1, ptr %31, align 1, !tbaa !11
  br label %209

209:                                              ; preds = %208, %188
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  call void @_ZNK23ImGuiLastItemDataBackup7RestoreEv(ptr noundef nonnull align 4 dereferenceable(40) %33)
  %210 = load i32, ptr %14, align 4, !tbaa !9
  %211 = and i32 %210, 4
  %212 = icmp ne i32 %211, 0
  br i1 %212, label %216, label %213

213:                                              ; preds = %209
  %214 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 2, i1 noundef zeroext false)
  br i1 %214, label %215, label %216

215:                                              ; preds = %213
  store i8 1, ptr %31, align 1, !tbaa !11
  br label %216

216:                                              ; preds = %215, %213, %209
  %217 = load float, ptr %34, align 4, !tbaa !82
  %218 = getelementptr inbounds %struct.ImRect, ptr %25, i32 0, i32 1
  %219 = getelementptr inbounds %struct.ImVec2, ptr %218, i32 0, i32 0
  %220 = load float, ptr %219, align 4, !tbaa !20
  %221 = fsub float %220, %217
  store float %221, ptr %219, align 4, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %33) #9
  br label %222

222:                                              ; preds = %216, %185
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #9
  %223 = load i8, ptr %32, align 1, !tbaa !11, !range !83, !noundef !84
  %224 = trunc i8 %223 to i1
  br i1 %224, label %225, label %229

225:                                              ; preds = %222
  %226 = getelementptr inbounds %struct.ImRect, ptr %25, i32 0, i32 1
  %227 = getelementptr inbounds %struct.ImVec2, ptr %226, i32 0, i32 0
  %228 = load float, ptr %227, align 4, !tbaa !20
  br label %235

229:                                              ; preds = %222
  %230 = load ptr, ptr %13, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.ImRect, ptr %230, i32 0, i32 1
  %232 = getelementptr inbounds %struct.ImVec2, ptr %231, i32 0, i32 0
  %233 = load float, ptr %232, align 4, !tbaa !20
  %234 = fsub float %233, 1.000000e+00
  br label %235

235:                                              ; preds = %229, %225
  %236 = phi float [ %228, %225 ], [ %234, %229 ]
  store float %236, ptr %36, align 4, !tbaa !82
  %237 = load ptr, ptr %12, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.ImRect, ptr %30, i32 0, i32 0
  %239 = getelementptr inbounds %struct.ImRect, ptr %30, i32 0, i32 1
  %240 = getelementptr inbounds %struct.ImRect, ptr %25, i32 0, i32 1
  %241 = getelementptr inbounds %struct.ImVec2, ptr %240, i32 0, i32 0
  %242 = load float, ptr %241, align 4, !tbaa !20
  %243 = load float, ptr %36, align 4, !tbaa !82
  %244 = load ptr, ptr %15, align 8, !tbaa !5
  call void @_ZN5ImGui18RenderTextEllipsisEP10ImDrawListRK6ImVec2S4_ffPKcS6_PS3_(ptr noundef %237, ptr noundef nonnull align 4 dereferenceable(8) %238, ptr noundef nonnull align 4 dereferenceable(8) %239, float noundef %242, float noundef %243, ptr noundef %244, ptr noundef null, ptr noundef %22)
  %245 = load ptr, ptr %19, align 8, !tbaa !5
  %246 = icmp ne ptr %245, null
  br i1 %246, label %247, label %252

247:                                              ; preds = %235
  %248 = load i8, ptr %31, align 1, !tbaa !11, !range !83, !noundef !84
  %249 = trunc i8 %248 to i1
  %250 = load ptr, ptr %19, align 8, !tbaa !5
  %251 = zext i1 %249 to i8
  store i8 %251, ptr %250, align 1, !tbaa !11
  br label %252

252:                                              ; preds = %247, %235
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  store i32 0, ptr %23, align 4
  br label %253

253:                                              ; preds = %252, %54
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  %254 = load i32, ptr %23, align 4
  switch i32 %254, label %256 [
    i32 0, label %255
    i32 1, label %255
  ]

255:                                              ; preds = %253, %253
  ret void

256:                                              ; preds = %253
  unreachable
}

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 6528}
!23 = !{!"_ZTS12ImGuiContext", !12, i64 0, !12, i64 1, !24, i64 8, !27, i64 5472, !6, i64 6520, !16, i64 6528, !16, i64 6532, !28, i64 6536, !30, i64 6752, !10, i64 6760, !10, i64 6764, !10, i64 6768, !12, i64 6772, !12, i64 6773, !12, i64 6774, !12, i64 6775, !12, i64 6776, !10, i64 6780, !6, i64 6784, !31, i64 6792, !31, i64 6808, !31, i64 6824, !31, i64 6840, !32, i64 6856, !10, i64 6872, !6, i64 6880, !6, i64 6888, !6, i64 6896, !6, i64 6904, !6, i64 6912, !6, i64 6920, !15, i64 6928, !16, i64 6936, !10, i64 6940, !10, i64 6944, !12, i64 6948, !12, i64 6949, !12, i64 6950, !12, i64 6951, !16, i64 6952, !16, i64 6956, !10, i64 6960, !10, i64 6964, !16, i64 6968, !12, i64 6972, !12, i64 6973, !12, i64 6974, !12, i64 6975, !12, i64 6976, !12, i64 6977, !12, i64 6978, !10, i64 6980, !10, i64 6984, !34, i64 6992, !15, i64 7000, !6, i64 7008, !35, i64 7016, !10, i64 7020, !10, i64 7024, !12, i64 7028, !12, i64 7029, !6, i64 7032, !10, i64 7040, !16, i64 7044, !36, i64 7048, !37, i64 7160, !38, i64 7184, !39, i64 7200, !40, i64 7216, !41, i64 7232, !42, i64 7248, !43, i64 7264, !44, i64 7280, !44, i64 7296, !6, i64 7312, !10, i64 7320, !10, i64 7324, !10, i64 7328, !10, i64 7332, !10, i64 7336, !10, i64 7340, !10, i64 7344, !10, i64 7348, !10, i64 7352, !10, i64 7356, !10, i64 7360, !35, i64 7364, !14, i64 7368, !10, i64 7384, !45, i64 7388, !10, i64 7392, !12, i64 7396, !12, i64 7397, !12, i64 7398, !12, i64 7399, !12, i64 7400, !12, i64 7401, !12, i64 7402, !10, i64 7404, !14, i64 7408, !12, i64 7424, !10, i64 7428, !46, i64 7432, !10, i64 7436, !10, i64 7440, !10, i64 7444, !10, i64 7448, !47, i64 7456, !47, i64 7504, !47, i64 7552, !6, i64 7600, !10, i64 7608, !6, i64 7616, !6, i64 7624, !6, i64 7632, !16, i64 7640, !16, i64 7644, !12, i64 7648, !6, i64 7656, !6, i64 7664, !10, i64 7672, !10, i64 7676, !10, i64 7680, !10, i64 7684, !12, i64 7688, !48, i64 7696, !49, i64 7752, !16, i64 7784, !50, i64 7792, !50, i64 7992, !10, i64 8192, !12, i64 8196, !12, i64 8197, !12, i64 8198, !10, i64 8200, !10, i64 8204, !10, i64 8208, !59, i64 8216, !14, i64 8280, !10, i64 8296, !10, i64 8300, !16, i64 8304, !10, i64 8308, !10, i64 8312, !10, i64 8316, !10, i64 8320, !60, i64 8328, !7, i64 8344, !6, i64 8360, !61, i64 8368, !63, i64 8408, !64, i64 8424, !58, i64 8440, !6, i64 8456, !65, i64 8464, !63, i64 8504, !67, i64 8520, !15, i64 8536, !68, i64 8544, !72, i64 12280, !10, i64 12392, !10, i64 12396, !16, i64 12400, !16, i64 12404, !7, i64 12408, !29, i64 12420, !16, i64 12436, !12, i64 12440, !12, i64 12441, !16, i64 12444, !16, i64 12448, !16, i64 12452, !10, i64 12456, !16, i64 12460, !69, i64 12464, !41, i64 12480, !15, i64 12496, !15, i64 12504, !7, i64 12512, !12, i64 12513, !16, i64 12516, !74, i64 12520, !75, i64 12536, !76, i64 12552, !77, i64 12568, !78, i64 12584, !12, i64 12600, !79, i64 12604, !6, i64 12608, !74, i64 12616, !16, i64 12632, !12, i64 12636, !10, i64 12640, !10, i64 12644, !10, i64 12648, !12, i64 12652, !10, i64 12656, !80, i64 12660, !7, i64 12676, !10, i64 13156, !16, i64 13160, !10, i64 13164, !10, i64 13168, !10, i64 13172, !7, i64 13176}
!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, !16, i64 200, !6, 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, !12, i64 312, !12, i64 313, !12, i64 314, !12, i64 315, !7, i64 316, !7, i64 828, !12, i64 912, !12, i64 913, !12, i64 914, !12, i64 915, !12, i64 916, !12, i64 917, !12, i64 918, !16, i64 920, !10, i64 924, !10, i64 928, !10, i64 932, !10, i64 936, !10, i64 940, !15, i64 944, !10, i64 952, !15, i64 956, !7, i64 964, !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 = !{!"_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, !15, i64 96, !16, i64 104, !16, i64 108, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124, !16, i64 128, !16, i64 132, !16, i64 136, !16, i64 140, !10, i64 144, !15, i64 148, !15, i64 156, !15, i64 164, !15, i64 172, !16, i64 180, !12, i64 184, !12, i64 185, !12, i64 186, !16, i64 188, !16, i64 192, !7, i64 196}
!28 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !6, i64 8, !16, i64 16, !16, i64 20, !16, i64 24, !29, i64 28, !10, i64 44, !7, i64 48, !7, i64 144, !6, i64 208}
!29 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!30 = !{!"double", !7, i64 0}
!31 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!32 = !{!"_ZTS12ImGuiStorage", !33, i64 0}
!33 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!34 = !{!"long long", !7, i64 0}
!35 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!36 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !12, i64 56, !14, i64 60, !6, i64 80, !6, i64 88, !16, i64 96, !15, i64 100}
!37 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !16, i64 4, !10, i64 8, !10, i64 12, !12, i64 16}
!38 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!45 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!46 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!47 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !10, i64 8, !10, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !14, i64 28}
!48 = !{!"_ZTS10ImDrawData", !12, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !15, i64 28, !15, i64 36, !15, i64 44}
!49 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!50 = !{!"_ZTS10ImDrawList", !51, i64 0, !26, i64 16, !52, i64 32, !10, i64 48, !10, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !53, i64 88, !54, i64 104, !55, i64 120, !56, i64 136, !57, i64 168, !16, i64 192}
!51 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!56 = !{!"_ZTS15ImDrawCmdHeader", !29, i64 0, !6, i64 16, !10, i64 24}
!57 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !58, i64 8}
!58 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!59 = !{!"_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}
!60 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!61 = !{!"_ZTS6ImPoolI10ImGuiTableE", !62, i64 0, !32, i64 16, !10, i64 32}
!62 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!65 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !66, i64 0, !32, i64 16, !10, i64 32}
!66 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!67 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!68 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !26, i64 16, !69, i64 32, !69, i64 48, !12, i64 64, !10, i64 68, !16, i64 72, !70, i64 76, !16, i64 3704, !12, i64 3708, !12, i64 3709, !12, i64 3710, !10, i64 3712, !6, i64 3720, !6, i64 3728}
!69 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!70 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 12, !10, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !16, i64 28, !71, i64 32}
!71 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !25, i64 3582, !25, i64 3584, !10, i64 3588, !10, i64 3592}
!72 = !{!"_ZTS6ImFont", !64, i64 0, !16, i64 16, !16, i64 20, !26, i64 24, !73, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !25, i64 80, !25, i64 82, !25, i64 84, !12, i64 86, !16, i64 88, !16, i64 92, !16, i64 96, !10, i64 100, !7, i64 104}
!73 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!74 = !{!"_ZTS15ImGuiTextBuffer", !69, i64 0}
!75 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!76 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !69, i64 0}
!77 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !69, i64 0}
!78 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!79 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!80 = !{!"_ZTS18ImGuiMetricsConfig", !12, i64 0, !12, i64 1, !12, i64 2, !12, i64 3, !12, i64 4, !10, i64 8, !10, i64 12}
!81 = !{i64 0, i64 4, !82, i64 4, i64 4, !82, i64 8, i64 4, !82, i64 12, i64 4, !82}
!82 = !{!16, !16, i64 0}
!83 = !{i8 0, i8 2}
!84 = !{}
!85 = !{!23, !16, i64 5612}
!86 = !{!23, !10, i64 6940}
!87 = !{!23, !10, i64 6960}


; 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.175 = 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 void @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjjbPbS8_(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, ptr noundef writeonly %8, ptr noundef writeonly %9) local_unnamed_addr #6 {
  %11 = alloca %struct.ImVec2, align 8
  %12 = alloca %struct.ImVec2, align 8
  %13 = alloca %struct.ImRect, align 4
  %14 = alloca %struct.ImVec2, align 4
  %15 = alloca %struct.ImVec2, align 8
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca %struct.ImRect, align 4
  %18 = alloca %struct.ImGuiLastItemDataBackup, align 4
  %19 = alloca %struct.ImVec2, align 4
  store <2 x float> %3, ptr %11, align 8
  %20 = load ptr, ptr @GImGui, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %21 = 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> %21, ptr %12, align 8
  %.not = icmp eq ptr %8, null
  %22 = extractelement <2 x float> %3, i64 0
  %23 = extractelement <2 x float> %3, i64 1
  %24 = extractelement <2 x float> %21, i64 0
  br i1 %.not, label %26, label %25

25:                                               ; preds = %10
  store i8 0, ptr %8, align 1, !tbaa !9
  br label %26

26:                                               ; preds = %25, %10
  %.not56 = icmp eq ptr %9, null
  br i1 %.not56, label %28, label %27

27:                                               ; preds = %26
  store i8 0, ptr %9, align 1, !tbaa !9
  br label %28

28:                                               ; preds = %27, %26
  %29 = tail call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %1)
  %30 = fcmp ugt float %29, 1.000000e+00
  br i1 %30, label %31, label %118

31:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #9
  %32 = load float, ptr %1, align 4, !tbaa !11
  %33 = fadd float %32, %22
  %34 = getelementptr inbounds i8, ptr %1, i64 4
  %35 = load float, ptr %34, align 4, !tbaa !15
  %36 = fadd float %35, %23
  %37 = getelementptr inbounds i8, ptr %1, i64 8
  %38 = load float, ptr %37, align 4, !tbaa !16
  %39 = fsub float %38, %22
  %40 = getelementptr inbounds i8, ptr %1, i64 12
  %41 = load float, ptr %40, align 4, !tbaa !17
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %13, float noundef %33, float noundef %36, float noundef %39, float noundef %41)
  %42 = and i32 %2, 1
  %.not57 = icmp eq i32 %42, 0
  br i1 %.not57, label %65, label %43

43:                                               ; preds = %31
  %44 = getelementptr inbounds i8, ptr %11, i64 4
  %45 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef nonnull @.str.175, ptr noundef null, i1 noundef zeroext false, float noundef -1.000000e+00)
  %.sroa.0.0.vec.extract = extractelement <2 x float> %45, i64 0
  %46 = getelementptr inbounds i8, ptr %13, i64 8
  %47 = load float, ptr %46, align 4, !tbaa !16
  %48 = fsub float %47, %.sroa.0.0.vec.extract
  store float %48, ptr %46, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #9
  %49 = load float, ptr %1, align 4, !tbaa !11
  %50 = load float, ptr %11, align 8, !tbaa !18
  %51 = fadd float %49, %50
  %52 = fadd float %51, %24
  %53 = fadd float %52, 2.000000e+00
  %54 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %53, float noundef %48)
  %55 = load float, ptr %34, align 4, !tbaa !15
  %56 = load float, ptr %44, align 4, !tbaa !19
  %57 = fadd float %55, %56
  %58 = getelementptr inbounds i8, ptr %20, i64 6528
  %59 = load float, ptr %58, align 8, !tbaa !20
  %60 = fmul float %59, -2.500000e-01
  %61 = fptosi float %60 to i32
  %62 = sitofp i32 %61 to float
  %63 = fadd float %57, %62
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef %54, float noundef %63)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #9
  %64 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %37, ptr noundef nonnull align 4 dereferenceable(8) %11)
  store <2 x float> %64, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, 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) %14, ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull @.str.175, ptr noundef null, ptr noundef null, ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  br label %65

65:                                               ; preds = %43, %31
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #9
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %17, ptr noundef nonnull align 4 dereferenceable(16) %13, i64 16, i1 false), !tbaa.struct !80
  br i1 %.not56, label %73, label %66

66:                                               ; preds = %65
  %67 = load float, ptr %17, align 4, !tbaa !11
  %68 = fadd float %67, %24
  %69 = getelementptr inbounds i8, ptr %13, i64 8
  %70 = load float, ptr %69, align 4, !tbaa !16
  %71 = fcmp ogt float %68, %70
  %72 = zext i1 %71 to i8
  store i8 %72, ptr %9, align 1, !tbaa !9
  br label %73

73:                                               ; preds = %66, %65
  %.not58 = icmp eq i32 %6, 0
  br i1 %.not58, label %103, label %74

74:                                               ; preds = %73
  br i1 %7, label %80, label %75

75:                                               ; preds = %74
  %76 = call noundef float @_ZNK6ImRect8GetWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %1)
  %77 = getelementptr inbounds i8, ptr %20, i64 5612
  %78 = load float, ptr %77, align 4, !tbaa !82
  %79 = fcmp ult float %76, %78
  br i1 %79, label %103, label %80

80:                                               ; preds = %75, %74
  %81 = getelementptr inbounds i8, ptr %20, i64 6940
  %82 = load i32, ptr %81, align 4, !tbaa !83
  %83 = icmp eq i32 %82, %5
  %84 = icmp eq i32 %82, %6
  %or.cond = or i1 %83, %84
  br i1 %or.cond, label %90, label %85

85:                                               ; preds = %80
  %86 = getelementptr inbounds i8, ptr %20, i64 6960
  %87 = load i32, ptr %86, align 8, !tbaa !84
  %88 = icmp eq i32 %87, %5
  %89 = icmp eq i32 %87, %6
  %or.cond60 = or i1 %88, %89
  br i1 %or.cond60, label %90, label %103

90:                                               ; preds = %85, %80
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %18) #9
  call void @_ZN23ImGuiLastItemDataBackupC2Ev(ptr noundef nonnull align 4 dereferenceable(40) %18)
  %91 = getelementptr inbounds i8, ptr %20, i64 6528
  %92 = load float, ptr %91, align 8, !tbaa !20
  call void @_ZN5ImGui12PushStyleVarEiRK6ImVec2(i32 noundef 10, ptr noundef nonnull align 4 dereferenceable(8) %11)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  %93 = load float, ptr %37, align 4, !tbaa !16
  %94 = load float, ptr %11, align 8, !tbaa !18
  %95 = fneg float %94
  %96 = call float @llvm.fmuladd.f32(float %95, float 2.000000e+00, float %93)
  %97 = fsub float %96, %92
  %98 = load float, ptr %34, align 4, !tbaa !15
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef %97, float noundef %98)
  %99 = call noundef zeroext i1 @_ZN5ImGui11CloseButtonEjRK6ImVec2(i32 noundef %6, ptr noundef nonnull align 4 dereferenceable(8) %19)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  %spec.select = zext i1 %99 to i8
  call void @_ZN5ImGui11PopStyleVarEi(i32 noundef 1)
  call void @_ZNK23ImGuiLastItemDataBackup7RestoreEv(ptr noundef nonnull align 4 dereferenceable(40) %18)
  %100 = and i32 %2, 4
  %.not59 = icmp eq i32 %100, 0
  br i1 %.not59, label %101, label %108

101:                                              ; preds = %90
  %102 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 2, i1 noundef zeroext false)
  %spec.select61 = select i1 %102, i8 1, i8 %spec.select
  br label %108

103:                                              ; preds = %75, %73, %85
  %104 = getelementptr inbounds i8, ptr %13, i64 8
  %105 = load float, ptr %104, align 4
  %106 = load float, ptr %37, align 4
  %107 = fadd float %106, -1.000000e+00
  br label %112

108:                                              ; preds = %90, %101
  %.1 = phi i8 [ %spec.select, %90 ], [ %spec.select61, %101 ]
  %109 = getelementptr inbounds i8, ptr %13, i64 8
  %110 = load float, ptr %109, align 4, !tbaa !16
  %111 = fsub float %110, %92
  store float %111, ptr %109, align 4, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %18) #9
  br label %112

112:                                              ; preds = %103, %108
  %113 = phi float [ %111, %108 ], [ %105, %103 ]
  %.267 = phi i8 [ %.1, %108 ], [ 0, %103 ]
  %114 = phi float [ %111, %108 ], [ %107, %103 ]
  %115 = getelementptr inbounds i8, ptr %17, i64 8
  call void @_ZN5ImGui18RenderTextEllipsisEP10ImDrawListRK6ImVec2S4_ffPKcS6_PS3_(ptr noundef %0, ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %115, float noundef %113, float noundef %114, ptr noundef %4, ptr noundef null, ptr noundef nonnull %12)
  br i1 %.not, label %117, label %116

116:                                              ; preds = %112
  store i8 %.267, ptr %8, align 1, !tbaa !9
  br label %117

117:                                              ; preds = %116, %112
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  br label %118

118:                                              ; preds = %28, %117
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  ret void
}

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, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !14, i64 0}
!12 = !{!"_ZTS6ImRect", !13, i64 0, !13, i64 8}
!13 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !7, i64 0}
!15 = !{!12, !14, i64 4}
!16 = !{!12, !14, i64 8}
!17 = !{!12, !14, i64 12}
!18 = !{!13, !14, i64 0}
!19 = !{!13, !14, i64 4}
!20 = !{!21, !14, i64 6528}
!21 = !{!"_ZTS12ImGuiContext", !10, i64 0, !10, i64 1, !22, i64 8, !26, i64 5472, !6, i64 6520, !14, i64 6528, !14, i64 6532, !27, i64 6536, !29, i64 6752, !23, i64 6760, !23, i64 6764, !23, i64 6768, !10, i64 6772, !10, i64 6773, !10, i64 6774, !10, i64 6775, !10, i64 6776, !23, i64 6780, !6, i64 6784, !30, i64 6792, !30, i64 6808, !30, i64 6824, !30, i64 6840, !31, i64 6856, !23, i64 6872, !6, i64 6880, !6, i64 6888, !6, i64 6896, !6, i64 6904, !6, i64 6912, !6, i64 6920, !13, i64 6928, !14, i64 6936, !23, i64 6940, !23, i64 6944, !10, i64 6948, !10, i64 6949, !10, i64 6950, !10, i64 6951, !14, i64 6952, !14, i64 6956, !23, i64 6960, !23, i64 6964, !14, i64 6968, !10, i64 6972, !10, i64 6973, !10, i64 6974, !10, i64 6975, !10, i64 6976, !10, i64 6977, !10, i64 6978, !23, i64 6980, !23, i64 6984, !33, i64 6992, !13, i64 7000, !6, i64 7008, !34, i64 7016, !23, i64 7020, !23, i64 7024, !10, i64 7028, !10, i64 7029, !6, i64 7032, !23, i64 7040, !14, i64 7044, !35, i64 7048, !36, i64 7160, !37, i64 7184, !38, i64 7200, !39, i64 7216, !40, i64 7232, !41, i64 7248, !42, i64 7264, !43, i64 7280, !43, i64 7296, !6, i64 7312, !23, i64 7320, !23, i64 7324, !23, i64 7328, !23, i64 7332, !23, i64 7336, !23, i64 7340, !23, i64 7344, !23, i64 7348, !23, i64 7352, !23, i64 7356, !23, i64 7360, !34, i64 7364, !12, i64 7368, !23, i64 7384, !44, i64 7388, !23, i64 7392, !10, i64 7396, !10, i64 7397, !10, i64 7398, !10, i64 7399, !10, i64 7400, !10, i64 7401, !10, i64 7402, !23, i64 7404, !12, i64 7408, !10, i64 7424, !23, i64 7428, !45, i64 7432, !23, i64 7436, !23, i64 7440, !23, i64 7444, !23, i64 7448, !46, i64 7456, !46, i64 7504, !46, i64 7552, !6, i64 7600, !23, i64 7608, !6, i64 7616, !6, i64 7624, !6, i64 7632, !14, i64 7640, !14, i64 7644, !10, i64 7648, !6, i64 7656, !6, i64 7664, !23, i64 7672, !23, i64 7676, !23, i64 7680, !23, i64 7684, !10, i64 7688, !47, i64 7696, !48, i64 7752, !14, i64 7784, !49, i64 7792, !49, i64 7992, !23, i64 8192, !10, i64 8196, !10, i64 8197, !10, i64 8198, !23, i64 8200, !23, i64 8204, !23, i64 8208, !58, i64 8216, !12, i64 8280, !23, i64 8296, !23, i64 8300, !14, i64 8304, !23, i64 8308, !23, i64 8312, !23, i64 8316, !23, i64 8320, !59, i64 8328, !7, i64 8344, !6, i64 8360, !60, i64 8368, !62, i64 8408, !63, i64 8424, !57, i64 8440, !6, i64 8456, !64, i64 8464, !62, i64 8504, !66, i64 8520, !13, i64 8536, !67, i64 8544, !71, i64 12280, !23, i64 12392, !23, i64 12396, !14, i64 12400, !14, i64 12404, !7, i64 12408, !28, i64 12420, !14, i64 12436, !10, i64 12440, !10, i64 12441, !14, i64 12444, !14, i64 12448, !14, i64 12452, !23, i64 12456, !14, i64 12460, !68, i64 12464, !40, i64 12480, !13, i64 12496, !13, i64 12504, !7, i64 12512, !10, i64 12513, !14, i64 12516, !73, i64 12520, !74, i64 12536, !75, i64 12552, !76, i64 12568, !77, i64 12584, !10, i64 12600, !78, i64 12604, !6, i64 12608, !73, i64 12616, !14, i64 12632, !10, i64 12636, !23, i64 12640, !23, i64 12644, !23, i64 12648, !10, i64 12652, !23, i64 12656, !79, i64 12660, !7, i64 12676, !23, i64 13156, !14, i64 13160, !23, i64 13164, !23, i64 13168, !23, i64 13172, !7, i64 13176}
!22 = !{!"_ZTS7ImGuiIO", !23, i64 0, !23, i64 4, !13, i64 8, !14, i64 16, !14, i64 20, !6, i64 24, !6, i64 32, !14, i64 40, !14, i64 44, !14, i64 48, !7, i64 52, !14, i64 140, !14, i64 144, !6, i64 152, !6, i64 160, !14, i64 168, !10, i64 172, !6, i64 176, !13, i64 184, !10, i64 192, !10, i64 193, !10, i64 194, !10, i64 195, !10, i64 196, !10, i64 197, !14, i64 200, !6, 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, !13, i64 288, !7, i64 296, !14, i64 304, !14, i64 308, !10, i64 312, !10, i64 313, !10, i64 314, !10, i64 315, !7, i64 316, !7, i64 828, !10, i64 912, !10, i64 913, !10, i64 914, !10, i64 915, !10, i64 916, !10, i64 917, !10, i64 918, !14, i64 920, !23, i64 924, !23, i64 928, !23, i64 932, !23, i64 936, !23, i64 940, !13, i64 944, !23, i64 952, !13, i64 956, !7, i64 964, !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, !14, i64 5440, !24, i64 5444, !25, i64 5448}
!23 = !{!"int", !7, i64 0}
!24 = !{!"short", !7, i64 0}
!25 = !{!"_ZTS8ImVectorItE", !23, i64 0, !23, i64 4, !6, i64 8}
!26 = !{!"_ZTS10ImGuiStyle", !14, i64 0, !13, i64 4, !14, i64 12, !14, i64 16, !13, i64 20, !13, i64 28, !23, i64 36, !14, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !13, i64 56, !14, i64 64, !14, i64 68, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !14, i64 104, !14, i64 108, !14, i64 112, !14, i64 116, !14, i64 120, !14, i64 124, !14, i64 128, !14, i64 132, !14, i64 136, !14, i64 140, !23, i64 144, !13, i64 148, !13, i64 156, !13, i64 164, !13, i64 172, !14, i64 180, !10, i64 184, !10, i64 185, !10, i64 186, !14, i64 188, !14, i64 192, !7, i64 196}
!27 = !{!"_ZTS20ImDrawListSharedData", !13, i64 0, !6, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !28, i64 28, !23, i64 44, !7, i64 48, !7, i64 144, !6, i64 208}
!28 = !{!"_ZTS6ImVec4", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!29 = !{!"double", !7, i64 0}
!30 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !23, i64 0, !23, i64 4, !6, i64 8}
!31 = !{!"_ZTS12ImGuiStorage", !32, i64 0}
!32 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !23, i64 0, !23, i64 4, !6, i64 8}
!33 = !{!"long long", !7, i64 0}
!34 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!35 = !{!"_ZTS19ImGuiNextWindowData", !23, i64 0, !23, i64 4, !23, i64 8, !23, i64 12, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !10, i64 56, !12, i64 60, !6, i64 80, !6, i64 88, !14, i64 96, !13, i64 100}
!36 = !{!"_ZTS17ImGuiNextItemData", !23, i64 0, !14, i64 4, !23, i64 8, !23, i64 12, !10, i64 16}
!37 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !23, i64 0, !23, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !23, i64 0, !23, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorIP6ImFontE", !23, i64 0, !23, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorIjE", !23, i64 0, !23, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorIiE", !23, i64 0, !23, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !23, i64 0, !23, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !23, i64 0, !23, i64 4, !6, i64 8}
!44 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!45 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!46 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !23, i64 8, !23, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !12, i64 28}
!47 = !{!"_ZTS10ImDrawData", !10, i64 0, !6, i64 8, !23, i64 16, !23, i64 20, !23, i64 24, !13, i64 28, !13, i64 36, !13, i64 44}
!48 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!49 = !{!"_ZTS10ImDrawList", !50, i64 0, !25, i64 16, !51, i64 32, !23, i64 48, !23, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !52, i64 88, !53, i64 104, !54, i64 120, !55, i64 136, !56, i64 168, !14, i64 192}
!50 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !23, i64 0, !23, i64 4, !6, i64 8}
!51 = !{!"_ZTS8ImVectorI10ImDrawVertE", !23, i64 0, !23, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI6ImVec4E", !23, i64 0, !23, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorIPvE", !23, i64 0, !23, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI6ImVec2E", !23, i64 0, !23, i64 4, !6, i64 8}
!55 = !{!"_ZTS15ImDrawCmdHeader", !28, i64 0, !6, i64 16, !23, i64 24}
!56 = !{!"_ZTS18ImDrawListSplitter", !23, i64 0, !23, i64 4, !57, i64 8}
!57 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !23, i64 0, !23, i64 4, !6, i64 8}
!58 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !23, i64 8, !23, i64 12, !23, i64 16, !23, i64 20, !7, i64 24, !10, i64 57, !10, i64 58}
!59 = !{!"_ZTS8ImVectorIhE", !23, i64 0, !23, i64 4, !6, i64 8}
!60 = !{!"_ZTS6ImPoolI10ImGuiTableE", !61, i64 0, !31, i64 16, !23, i64 32}
!61 = !{!"_ZTS8ImVectorI10ImGuiTableE", !23, i64 0, !23, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !23, i64 0, !23, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorIfE", !23, i64 0, !23, i64 4, !6, i64 8}
!64 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !65, i64 0, !31, i64 16, !23, i64 32}
!65 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !23, i64 0, !23, i64 4, !6, i64 8}
!66 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !23, i64 0, !23, i64 4, !6, i64 8}
!67 = !{!"_ZTS19ImGuiInputTextState", !23, i64 0, !23, i64 4, !23, i64 8, !25, i64 16, !68, i64 32, !68, i64 48, !10, i64 64, !23, i64 68, !14, i64 72, !69, i64 76, !14, i64 3704, !10, i64 3708, !10, i64 3709, !10, i64 3710, !23, i64 3712, !6, i64 3720, !6, i64 3728}
!68 = !{!"_ZTS8ImVectorIcE", !23, i64 0, !23, i64 4, !6, i64 8}
!69 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !23, i64 0, !23, i64 4, !23, i64 8, !7, i64 12, !23, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !14, i64 28, !70, i64 32}
!70 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !24, i64 3582, !24, i64 3584, !23, i64 3588, !23, i64 3592}
!71 = !{!"_ZTS6ImFont", !63, i64 0, !14, i64 16, !14, i64 20, !25, i64 24, !72, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !24, i64 80, !24, i64 82, !24, i64 84, !10, i64 86, !14, i64 88, !14, i64 92, !14, i64 96, !23, i64 100, !7, i64 104}
!72 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !23, i64 0, !23, i64 4, !6, i64 8}
!73 = !{!"_ZTS15ImGuiTextBuffer", !68, i64 0}
!74 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !23, i64 0, !23, i64 4, !6, i64 8}
!75 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !68, i64 0}
!76 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !68, i64 0}
!77 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !23, i64 0, !23, i64 4, !6, i64 8}
!78 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!79 = !{!"_ZTS18ImGuiMetricsConfig", !10, i64 0, !10, i64 1, !10, i64 2, !10, i64 3, !10, i64 4, !23, i64 8, !23, i64 12}
!80 = !{i64 0, i64 4, !81, i64 4, i64 4, !81, i64 8, i64 4, !81, i64 12, i64 4, !81}
!81 = !{!14, !14, i64 0}
!82 = !{!21, !14, i64 5612}
!83 = !{!21, !23, i64 6940}
!84 = !{!21, !23, i64 6960}


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