; LLVM IR from drohmer/cgp :: library/third_party/src/imgui/imgui.ll (ZN5ImGui8ItemSizeERK6ImVec2f)

; 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.ImGuiContext = type <{ i8, i8, i8, [5 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, [4 x i8], %class.ImVector, %class.ImVector, %class.ImVector, %class.ImVector, %struct.ImGuiStorage, i32, [4 x i8], ptr, ptr, ptr, i32, i8, [3 x i8], i32, float, float, i32, i32, i32, float, i8, i8, i8, i8, i8, [3 x i8], i32, %struct.ImVec2, ptr, ptr, i32, i32, float, [4 x i8], ptr, %class.ImVector.1, %class.ImVector.2, %class.ImVector.3, %class.ImVector.4, %class.ImVector.4, %struct.ImGuiNextWindowData, i8, [3 x i8], i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, i32, ptr, ptr, ptr, float, float, i8, [3 x i8], i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, [2 x i8], i32, i32, i32, i32, i32, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImDrawData, %struct.ImDrawDataBuilder, float, [4 x i8], %struct.ImDrawList, i32, i8, i8, [2 x i8], i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, %class.ImVector.13, [8 x i8], %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, %struct.ImVec4, i8, [3 x i8], float, float, %struct.ImVec2, i32, %class.ImVector.14, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], float, %struct.ImGuiTextBuffer, %class.ImVector.17, %class.ImVector.18, i8, [7 x i8], ptr, %struct.ImGuiTextBuffer, i32, i32, [120 x float], i32, float, i32, i32, i32, [3073 x i8], [3 x i8] }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, [21 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, [512 x i8], [17 x i16], [21 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [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] }
%struct.ImGuiStyle = type { float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, float, [43 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, %struct.ImVec4, [12 x %struct.ImVec2] }
%class.ImVector = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %class.ImVector.0 }
%class.ImVector.0 = type { i32, i32, ptr }
%class.ImVector.1 = type { i32, i32, ptr }
%class.ImVector.2 = type { i32, i32, ptr }
%class.ImVector.3 = type { i32, i32, ptr }
%class.ImVector.4 = type { i32, i32, ptr }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], %struct.ImRect, ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImGuiNavMoveResult = type <{ i32, [4 x i8], ptr, float, float, float, %struct.ImRect, [4 x i8] }>
%struct.ImDrawData = type <{ i8, [7 x i8], ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, [4 x i8] }>
%struct.ImDrawDataBuilder = type { [2 x %class.ImVector.5] }
%class.ImVector.5 = type { i32, i32, ptr }
%struct.ImDrawList = type { %class.ImVector.6, %class.ImVector.7, %class.ImVector.8, i32, ptr, ptr, i32, ptr, ptr, %class.ImVector.9, %class.ImVector.10, %class.ImVector.11, i32, i32, %class.ImVector.12 }
%class.ImVector.6 = type { i32, i32, ptr }
%class.ImVector.7 = type { i32, i32, ptr }
%class.ImVector.8 = type { i32, i32, ptr }
%class.ImVector.9 = type { i32, i32, ptr }
%class.ImVector.10 = type { i32, i32, ptr }
%class.ImVector.11 = type { i32, i32, ptr }
%class.ImVector.12 = type { i32, i32, ptr }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%class.ImVector.13 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, %class.ImVector.7, %class.ImVector.14, %class.ImVector.14, i32, i32, i32, float, %"struct.ImGuiStb::STB_TexteditState", float, i8, i8, i32, ptr, ptr }
%"struct.ImGuiStb::STB_TexteditState" = type { i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImGuiStb::StbUndoState" }
%"struct.ImGuiStb::StbUndoState" = type { [99 x %"struct.ImGuiStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImGuiStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImFont = type { float, float, %struct.ImVec2, %class.ImVector.15, %class.ImVector.16, %class.ImVector.7, ptr, float, i16, i16, ptr, ptr, float, float, i8, i32 }
%class.ImVector.15 = type { i32, i32, ptr }
%class.ImVector.16 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%class.ImVector.14 = type { i32, i32, ptr }
%class.ImVector.17 = type { i32, i32, ptr }
%class.ImVector.18 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %class.ImVector.14 }
%struct.ImGuiWindow = type { ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImGuiWindowTempData, %class.ImVector.22, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, i32, float, %struct.ImGuiMenuColumns, %struct.ImGuiStorage, %class.ImVector.23, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i32, i32, i32, i32, i32, i32 }
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, %struct.ImVec2, float, float, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i8, i8, i32, i32, i32, i32, i8, %struct.ImVec2, %class.ImVector, ptr, i32, i32, i32, float, float, %class.ImVector.20, %class.ImVector.16, %class.ImVector.16, %class.ImVector.21, [6 x i32], %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, ptr }
%class.ImVector.20 = type { i32, i32, ptr }
%class.ImVector.21 = type { i32, i32, ptr }
%struct.ImVec1 = type { float }
%class.ImVector.22 = type { i32, i32, ptr }
%struct.ImGuiMenuColumns = type { i32, float, float, float, [4 x float], [4 x float] }
%class.ImVector.23 = type { i32, i32, ptr }

@GImGui = external dso_local global ptr, align 8

; 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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %0, float noundef %1) #4 {
  %3 = alloca ptr, align 8
  %4 = alloca float, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca %struct.ImVec2, align 4
  %11 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store float %1, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %12 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %12, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %13 = load ptr, ptr %5, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.ImGuiContext, ptr %13, i32 0, i32 22
  %15 = load ptr, ptr %14, align 8, !tbaa !11
  store ptr %15, ptr %6, align 8, !tbaa !5
  %16 = load ptr, ptr %6, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.ImGuiWindow, ptr %16, i32 0, i32 25
  %18 = load i8, ptr %17, align 1, !tbaa !56, !range !65, !noundef !66
  %19 = trunc i8 %18 to i1
  br i1 %19, label %20, label %21

20:                                               ; preds = %2
  store i32 1, ptr %7, align 4
  br label %149

21:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.ImGuiWindow, ptr %22, i32 0, i32 45
  %24 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %23, i32 0, i32 4
  %25 = getelementptr inbounds %struct.ImVec2, ptr %24, i32 0, i32 1
  %26 = load float, ptr %25, align 4, !tbaa !67
  %27 = load ptr, ptr %3, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.ImVec2, ptr %27, i32 0, i32 1
  %29 = load float, ptr %28, align 4, !tbaa !68
  %30 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %26, float noundef %29)
  store float %30, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.ImGuiWindow, ptr %31, i32 0, i32 45
  %33 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %32, i32 0, i32 5
  %34 = load float, ptr %33, align 8, !tbaa !69
  %35 = load float, ptr %4, align 4, !tbaa !9
  %36 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %34, float noundef %35)
  store float %36, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.ImGuiWindow, ptr %37, i32 0, i32 45
  %39 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %38, i32 0, i32 0
  %40 = getelementptr inbounds %struct.ImVec2, ptr %39, i32 0, i32 0
  %41 = load float, ptr %40, align 8, !tbaa !70
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.ImVec2, ptr %42, i32 0, i32 0
  %44 = load float, ptr %43, align 4, !tbaa !71
  %45 = fadd float %41, %44
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.ImGuiWindow, ptr %46, i32 0, i32 45
  %48 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %47, i32 0, i32 0
  %49 = getelementptr inbounds %struct.ImVec2, ptr %48, i32 0, i32 1
  %50 = load float, ptr %49, align 4, !tbaa !72
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef %45, float noundef %50)
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.ImGuiWindow, ptr %51, i32 0, i32 45
  %53 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %52, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %53, ptr align 4 %10, i64 8, i1 false), !tbaa.struct !73
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.ImGuiWindow, ptr %54, i32 0, i32 3
  %56 = getelementptr inbounds %struct.ImVec2, ptr %55, i32 0, i32 0
  %57 = load float, ptr %56, align 8, !tbaa !74
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.ImGuiWindow, ptr %58, i32 0, i32 45
  %60 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %59, i32 0, i32 35
  %61 = getelementptr inbounds %struct.ImVec1, ptr %60, i32 0, i32 0
  %62 = load float, ptr %61, align 8, !tbaa !75
  %63 = fadd float %57, %62
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.ImGuiWindow, ptr %64, i32 0, i32 45
  %66 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %65, i32 0, i32 37
  %67 = getelementptr inbounds %struct.ImVec1, ptr %66, i32 0, i32 0
  %68 = load float, ptr %67, align 8, !tbaa !76
  %69 = fadd float %63, %68
  %70 = fptosi float %69 to i32
  %71 = sitofp i32 %70 to float
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.ImGuiWindow, ptr %72, i32 0, i32 45
  %74 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %73, i32 0, i32 0
  %75 = getelementptr inbounds %struct.ImVec2, ptr %74, i32 0, i32 1
  %76 = load float, ptr %75, align 4, !tbaa !72
  %77 = load float, ptr %8, align 4, !tbaa !9
  %78 = fadd float %76, %77
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.ImGuiContext, ptr %79, i32 0, i32 5
  %81 = getelementptr inbounds %struct.ImGuiStyle, ptr %80, i32 0, i32 13
  %82 = getelementptr inbounds %struct.ImVec2, ptr %81, i32 0, i32 1
  %83 = load float, ptr %82, align 4, !tbaa !77
  %84 = fadd float %78, %83
  %85 = fptosi float %84 to i32
  %86 = sitofp i32 %85 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef %71, float noundef %86)
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.ImGuiWindow, ptr %87, i32 0, i32 45
  %89 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %88, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %89, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !73
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  %90 = load ptr, ptr %6, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.ImGuiWindow, ptr %90, i32 0, i32 45
  %92 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %91, i32 0, i32 3
  %93 = getelementptr inbounds %struct.ImVec2, ptr %92, i32 0, i32 0
  %94 = load float, ptr %93, align 8, !tbaa !78
  %95 = load ptr, ptr %6, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.ImGuiWindow, ptr %95, i32 0, i32 45
  %97 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %96, i32 0, i32 1
  %98 = getelementptr inbounds %struct.ImVec2, ptr %97, i32 0, i32 0
  %99 = load float, ptr %98, align 8, !tbaa !79
  %100 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %94, float noundef %99)
  %101 = load ptr, ptr %6, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.ImGuiWindow, ptr %101, i32 0, i32 45
  %103 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %102, i32 0, i32 3
  %104 = getelementptr inbounds %struct.ImVec2, ptr %103, i32 0, i32 0
  store float %100, ptr %104, align 8, !tbaa !78
  %105 = load ptr, ptr %6, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.ImGuiWindow, ptr %105, i32 0, i32 45
  %107 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %106, i32 0, i32 3
  %108 = getelementptr inbounds %struct.ImVec2, ptr %107, i32 0, i32 1
  %109 = load float, ptr %108, align 4, !tbaa !80
  %110 = load ptr, ptr %6, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.ImGuiWindow, ptr %110, i32 0, i32 45
  %112 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %111, i32 0, i32 0
  %113 = getelementptr inbounds %struct.ImVec2, ptr %112, i32 0, i32 1
  %114 = load float, ptr %113, align 4, !tbaa !72
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.ImGuiContext, ptr %115, i32 0, i32 5
  %117 = getelementptr inbounds %struct.ImGuiStyle, ptr %116, i32 0, i32 13
  %118 = getelementptr inbounds %struct.ImVec2, ptr %117, i32 0, i32 1
  %119 = load float, ptr %118, align 4, !tbaa !77
  %120 = fsub float %114, %119
  %121 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %109, float noundef %120)
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.ImGuiWindow, ptr %122, i32 0, i32 45
  %124 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %123, i32 0, i32 3
  %125 = getelementptr inbounds %struct.ImVec2, ptr %124, i32 0, i32 1
  store float %121, ptr %125, align 4, !tbaa !80
  %126 = load float, ptr %8, align 4, !tbaa !9
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.ImGuiWindow, ptr %127, i32 0, i32 45
  %129 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %128, i32 0, i32 6
  %130 = getelementptr inbounds %struct.ImVec2, ptr %129, i32 0, i32 1
  store float %126, ptr %130, align 4, !tbaa !81
  %131 = load float, ptr %9, align 4, !tbaa !9
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.ImGuiWindow, ptr %132, i32 0, i32 45
  %134 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %133, i32 0, i32 7
  store float %131, ptr %134, align 4, !tbaa !82
  %135 = load ptr, ptr %6, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.ImGuiWindow, ptr %135, i32 0, i32 45
  %137 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %136, i32 0, i32 5
  store float 0.000000e+00, ptr %137, align 8, !tbaa !69
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.ImGuiWindow, ptr %138, i32 0, i32 45
  %140 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %139, i32 0, i32 4
  %141 = getelementptr inbounds %struct.ImVec2, ptr %140, i32 0, i32 1
  store float 0.000000e+00, ptr %141, align 4, !tbaa !67
  %142 = load ptr, ptr %6, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.ImGuiWindow, ptr %142, i32 0, i32 45
  %144 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %143, i32 0, i32 25
  %145 = load i32, ptr %144, align 8, !tbaa !83
  %146 = icmp eq i32 %145, 1
  br i1 %146, label %147, label %148

147:                                              ; preds = %21
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  br label %148

148:                                              ; preds = %147, %21
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  store i32 0, ptr %7, align 4
  br label %149

149:                                              ; preds = %148, %20
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  %150 = load i32, ptr %7, align 4
  switch i32 %150, label %152 [
    i32 0, label %151
    i32 1, label %151
  ]

151:                                              ; preds = %149, %149
  ret void

152:                                              ; preds = %149
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8SameLineEff(float noundef, float noundef) #4

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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!"float", !7, i64 0}
!11 = !{!12, !6, i64 6544}
!12 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !13, i64 2, !14, i64 8, !17, i64 5440, !6, i64 6280, !10, i64 6288, !10, i64 6292, !18, i64 6296, !20, i64 6432, !15, i64 6440, !15, i64 6444, !15, i64 6448, !21, i64 6456, !21, i64 6472, !21, i64 6488, !21, i64 6504, !22, i64 6520, !15, i64 6536, !6, i64 6544, !6, i64 6552, !6, i64 6560, !15, i64 6568, !13, i64 6572, !15, i64 6576, !10, i64 6580, !10, i64 6584, !15, i64 6588, !15, i64 6592, !15, i64 6596, !10, i64 6600, !13, i64 6604, !13, i64 6605, !13, i64 6606, !13, i64 6607, !13, i64 6608, !15, i64 6612, !16, i64 6616, !6, i64 6624, !6, i64 6632, !24, i64 6640, !15, i64 6644, !10, i64 6648, !6, i64 6656, !25, i64 6664, !26, i64 6680, !27, i64 6696, !28, i64 6712, !28, i64 6728, !29, i64 6744, !13, i64 6856, !15, i64 6860, !6, i64 6864, !15, i64 6872, !15, i64 6876, !15, i64 6880, !15, i64 6884, !15, i64 6888, !15, i64 6892, !15, i64 6896, !15, i64 6900, !24, i64 6904, !30, i64 6908, !15, i64 6924, !6, i64 6928, !6, i64 6936, !6, i64 6944, !10, i64 6952, !10, i64 6956, !13, i64 6960, !15, i64 6964, !15, i64 6968, !13, i64 6972, !13, i64 6973, !13, i64 6974, !13, i64 6975, !13, i64 6976, !13, i64 6977, !13, i64 6978, !15, i64 6980, !30, i64 6984, !13, i64 7000, !13, i64 7001, !15, i64 7004, !31, i64 7008, !15, i64 7012, !15, i64 7016, !15, i64 7020, !32, i64 7024, !32, i64 7072, !32, i64 7120, !33, i64 7168, !34, i64 7216, !10, i64 7248, !35, i64 7256, !15, i64 7424, !13, i64 7428, !13, i64 7429, !15, i64 7432, !15, i64 7436, !15, i64 7440, !43, i64 7448, !30, i64 7512, !15, i64 7528, !15, i64 7532, !10, i64 7536, !15, i64 7540, !15, i64 7544, !15, i64 7548, !44, i64 7552, !7, i64 7568, !45, i64 7576, !50, i64 11296, !15, i64 11408, !15, i64 11412, !19, i64 11416, !13, i64 11432, !10, i64 11436, !10, i64 11440, !16, i64 11444, !15, i64 11452, !46, i64 11456, !16, i64 11472, !16, i64 11480, !13, i64 11488, !10, i64 11492, !53, i64 11496, !54, i64 11512, !55, i64 11528, !13, i64 11544, !6, i64 11552, !53, i64 11560, !15, i64 11576, !15, i64 11580, !7, i64 11584, !15, i64 12064, !10, i64 12068, !15, i64 12072, !15, i64 12076, !15, i64 12080, !7, i64 12084}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTS7ImGuiIO", !15, i64 0, !15, i64 4, !16, i64 8, !10, i64 16, !10, i64 20, !6, i64 24, !6, i64 32, !10, i64 40, !10, i64 44, !10, i64 48, !7, i64 52, !10, i64 136, !10, i64 140, !6, i64 144, !6, i64 152, !10, i64 160, !13, i64 164, !6, i64 168, !16, i64 176, !16, i64 184, !16, i64 192, !13, i64 200, !13, i64 201, !13, i64 202, !13, i64 203, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !16, i64 256, !7, i64 264, !10, i64 272, !10, i64 276, !13, i64 280, !13, i64 281, !13, i64 282, !13, i64 283, !7, i64 284, !7, i64 796, !7, i64 832, !13, i64 916, !13, i64 917, !13, i64 918, !13, i64 919, !13, i64 920, !13, i64 921, !13, i64 922, !10, i64 924, !15, i64 928, !15, i64 932, !15, i64 936, !15, i64 940, !15, i64 944, !16, i64 948, !16, 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 1088, !7, i64 1108, !7, i64 1148, !7, i64 1168, !7, i64 3216, !7, i64 5264, !7, i64 5348}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTS6ImVec2", !10, i64 0, !10, i64 4}
!17 = !{!"_ZTS10ImGuiStyle", !10, i64 0, !16, i64 4, !10, i64 12, !10, i64 16, !16, i64 20, !16, i64 28, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !16, i64 52, !10, i64 60, !10, i64 64, !16, i64 68, !16, i64 76, !16, i64 84, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !16, i64 116, !16, i64 124, !16, i64 132, !10, i64 140, !13, i64 144, !13, i64 145, !10, i64 148, !7, i64 152}
!18 = !{!"_ZTS20ImDrawListSharedData", !16, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !19, i64 24, !7, i64 40}
!19 = !{!"_ZTS6ImVec4", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!20 = !{!"double", !7, i64 0}
!21 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !15, i64 0, !15, i64 4, !6, i64 8}
!22 = !{!"_ZTS12ImGuiStorage", !23, i64 0}
!23 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !15, i64 0, !15, i64 4, !6, i64 8}
!24 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!25 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !15, i64 0, !15, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !15, i64 0, !15, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorIP6ImFontE", !15, i64 0, !15, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorI13ImGuiPopupRefE", !15, i64 0, !15, i64 4, !6, i64 8}
!29 = !{!"_ZTS19ImGuiNextWindowData", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !16, i64 28, !16, i64 36, !16, i64 44, !16, i64 52, !13, i64 60, !30, i64 64, !6, i64 80, !6, i64 88, !10, i64 96, !16, i64 100}
!30 = !{!"_ZTS6ImRect", !16, i64 0, !16, i64 8}
!31 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!32 = !{!"_ZTS18ImGuiNavMoveResult", !15, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !30, i64 28}
!33 = !{!"_ZTS10ImDrawData", !13, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !16, i64 28, !16, i64 36}
!34 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!35 = !{!"_ZTS10ImDrawList", !36, i64 0, !37, i64 16, !38, i64 32, !15, i64 48, !6, i64 56, !6, i64 64, !15, i64 72, !6, i64 80, !6, i64 88, !39, i64 96, !40, i64 112, !41, i64 128, !15, i64 144, !15, i64 148, !42, i64 152}
!36 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !15, i64 0, !15, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorItE", !15, i64 0, !15, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorI10ImDrawVertE", !15, i64 0, !15, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorI6ImVec4E", !15, i64 0, !15, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorIPvE", !15, i64 0, !15, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI6ImVec2E", !15, i64 0, !15, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !15, i64 0, !15, i64 4, !6, i64 8}
!43 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !7, i64 24, !13, i64 57, !13, i64 58}
!44 = !{!"_ZTS8ImVectorIhE", !15, i64 0, !15, i64 4, !6, i64 8}
!45 = !{!"_ZTS19ImGuiInputTextState", !15, i64 0, !37, i64 8, !46, i64 24, !46, i64 40, !15, i64 56, !15, i64 60, !15, i64 64, !10, i64 68, !47, i64 72, !10, i64 3692, !13, i64 3696, !13, i64 3697, !15, i64 3700, !6, i64 3704, !6, i64 3712}
!46 = !{!"_ZTS8ImVectorIcE", !15, i64 0, !15, i64 4, !6, i64 8}
!47 = !{!"_ZTSN8ImGuiStb17STB_TexteditStateE", !15, i64 0, !15, i64 4, !15, 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, !10, i64 20, !48, i64 24}
!48 = !{!"_ZTSN8ImGuiStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !49, i64 3582, !49, i64 3584, !15, i64 3588, !15, i64 3592}
!49 = !{!"short", !7, i64 0}
!50 = !{!"_ZTS6ImFont", !10, i64 0, !10, i64 4, !16, i64 8, !51, i64 16, !52, i64 32, !37, i64 48, !6, i64 64, !10, i64 72, !49, i64 76, !49, i64 78, !6, i64 80, !6, i64 88, !10, i64 96, !10, i64 100, !13, i64 104, !15, i64 108}
!51 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !15, i64 0, !15, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorIfE", !15, i64 0, !15, i64 4, !6, i64 8}
!53 = !{!"_ZTS15ImGuiTextBuffer", !46, i64 0}
!54 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !15, i64 0, !15, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !15, i64 0, !15, i64 4, !6, i64 8}
!56 = !{!57, !13, i64 127}
!57 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !15, i64 8, !15, i64 12, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !10, i64 72, !10, i64 76, !15, i64 80, !15, i64 84, !16, i64 88, !16, i64 96, !16, i64 104, !16, i64 112, !13, i64 120, !13, i64 121, !13, i64 122, !13, i64 123, !13, i64 124, !13, i64 125, !13, i64 126, !13, i64 127, !13, i64 128, !13, i64 129, !13, i64 130, !15, i64 132, !15, i64 136, !15, i64 140, !15, i64 144, !15, i64 148, !15, i64 152, !13, i64 156, !15, i64 160, !15, i64 164, !15, i64 168, !15, i64 172, !15, i64 176, !15, i64 180, !15, i64 184, !16, i64 188, !16, i64 196, !58, i64 208, !62, i64 512, !30, i64 528, !30, i64 544, !30, i64 560, !30, i64 576, !30, i64 592, !15, i64 608, !10, i64 612, !63, i64 616, !22, i64 664, !64, i64 680, !10, i64 696, !15, i64 700, !6, i64 704, !35, i64 712, !6, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !6, i64 912, !7, i64 920, !7, i64 928, !15, i64 960, !15, i64 964, !15, i64 968, !15, i64 972, !15, i64 976, !15, i64 980}
!58 = !{!"_ZTS19ImGuiWindowTempData", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !10, i64 40, !16, i64 44, !10, i64 52, !10, i64 56, !15, i64 60, !15, i64 64, !15, i64 68, !15, i64 72, !30, i64 76, !30, i64 92, !13, i64 108, !13, i64 109, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !13, i64 128, !16, i64 132, !21, i64 144, !6, i64 160, !15, i64 168, !15, i64 172, !15, i64 176, !10, i64 180, !10, i64 184, !59, i64 192, !52, i64 208, !52, i64 224, !60, i64 240, !7, i64 256, !61, i64 280, !61, i64 284, !61, i64 288, !6, i64 296}
!59 = !{!"_ZTS8ImVectorIiE", !15, i64 0, !15, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !15, i64 0, !15, i64 4, !6, i64 8}
!61 = !{!"_ZTS6ImVec1", !10, i64 0}
!62 = !{!"_ZTS8ImVectorIjE", !15, i64 0, !15, i64 4, !6, i64 8}
!63 = !{!"_ZTS16ImGuiMenuColumns", !15, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !7, i64 16, !7, i64 32}
!64 = !{!"_ZTS8ImVectorI15ImGuiColumnsSetE", !15, i64 0, !15, i64 4, !6, i64 8}
!65 = !{i8 0, i8 2}
!66 = !{}
!67 = !{!57, !10, i64 244}
!68 = !{!16, !10, i64 4}
!69 = !{!57, !10, i64 248}
!70 = !{!57, !10, i64 208}
!71 = !{!16, !10, i64 0}
!72 = !{!57, !10, i64 212}
!73 = !{i64 0, i64 4, !9, i64 4, i64 4, !9}
!74 = !{!57, !10, i64 16}
!75 = !{!57, !10, i64 488}
!76 = !{!57, !10, i64 496}
!77 = !{!12, !10, i64 5512}
!78 = !{!57, !10, i64 232}
!79 = !{!57, !10, i64 216}
!80 = !{!57, !10, i64 236}
!81 = !{!57, !10, i64 256}
!82 = !{!57, !10, i64 260}
!83 = !{!57, !15, i64 376}


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

@GImGui = external dso_local local_unnamed_addr global ptr, align 8

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr nocapture noundef nonnull readonly align 4 dereferenceable(8) %0, float noundef %1) local_unnamed_addr #3 {
  %3 = alloca %struct.ImVec2, align 8
  %4 = alloca %struct.ImVec2, align 8
  %5 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %5, i64 6544
  %7 = load ptr, ptr %6, align 8, !tbaa !9
  %8 = getelementptr inbounds i8, ptr %7, i64 127
  %9 = load i8, ptr %8, align 1, !tbaa !55, !range !64, !noundef !65
  %10 = trunc nuw i8 %9 to i1
  br i1 %10, label %62, label %11

11:                                               ; preds = %2
  %12 = getelementptr inbounds i8, ptr %7, i64 208
  %13 = getelementptr inbounds i8, ptr %7, i64 244
  %14 = load float, ptr %13, align 4, !tbaa !66
  %15 = getelementptr inbounds i8, ptr %0, i64 4
  %16 = load float, ptr %15, align 4, !tbaa !67
  %17 = tail call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %14, float noundef %16)
  %18 = getelementptr inbounds i8, ptr %7, i64 248
  %19 = load float, ptr %18, align 8, !tbaa !68
  %20 = tail call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %19, float noundef %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  %21 = load float, ptr %12, align 8, !tbaa !69
  %22 = load float, ptr %0, align 4, !tbaa !70
  %23 = fadd float %21, %22
  %24 = getelementptr inbounds i8, ptr %7, i64 212
  %25 = load float, ptr %24, align 4, !tbaa !71
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef %23, float noundef %25)
  %26 = getelementptr inbounds i8, ptr %7, i64 216
  %27 = load i64, ptr %3, align 8
  store i64 %27, ptr %26, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  %28 = getelementptr inbounds i8, ptr %7, i64 16
  %29 = load float, ptr %28, align 8, !tbaa !72
  %30 = getelementptr inbounds i8, ptr %7, i64 488
  %31 = load float, ptr %30, align 8, !tbaa !73
  %32 = fadd float %29, %31
  %33 = getelementptr inbounds i8, ptr %7, i64 496
  %34 = load float, ptr %33, align 8, !tbaa !74
  %35 = fadd float %32, %34
  %36 = fptosi float %35 to i32
  %37 = sitofp i32 %36 to float
  %38 = load float, ptr %24, align 4, !tbaa !71
  %39 = fadd float %17, %38
  %40 = getelementptr inbounds i8, ptr %5, i64 5512
  %41 = load float, ptr %40, align 4, !tbaa !75
  %42 = fadd float %39, %41
  %43 = fptosi float %42 to i32
  %44 = sitofp i32 %43 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %4, float noundef %37, float noundef %44)
  %45 = load i64, ptr %4, align 8
  store i64 %45, ptr %12, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  %46 = getelementptr inbounds i8, ptr %7, i64 232
  %47 = load float, ptr %46, align 8, !tbaa !76
  %48 = load float, ptr %26, align 8, !tbaa !77
  %49 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %47, float noundef %48)
  store float %49, ptr %46, align 8, !tbaa !76
  %50 = getelementptr inbounds i8, ptr %7, i64 236
  %51 = load float, ptr %50, align 4, !tbaa !78
  %52 = load float, ptr %24, align 4, !tbaa !71
  %53 = load float, ptr %40, align 4, !tbaa !75
  %54 = fsub float %52, %53
  %55 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %51, float noundef %54)
  store float %55, ptr %50, align 4, !tbaa !78
  %56 = getelementptr inbounds i8, ptr %7, i64 256
  store float %17, ptr %56, align 4, !tbaa !79
  %57 = getelementptr inbounds i8, ptr %7, i64 260
  store float %20, ptr %57, align 4, !tbaa !80
  store <2 x float> zeroinitializer, ptr %13, align 4, !tbaa !81
  %58 = getelementptr inbounds i8, ptr %7, i64 376
  %59 = load i32, ptr %58, align 8, !tbaa !82
  %60 = icmp eq i32 %59, 1
  br i1 %60, label %61, label %62

61:                                               ; preds = %11
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  br label %62

62:                                               ; preds = %11, %61, %2
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8SameLineEff(float noundef, float 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 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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, !6, i64 6544}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !11, i64 2, !12, i64 8, !16, i64 5440, !6, i64 6280, !15, i64 6288, !15, i64 6292, !17, i64 6296, !19, i64 6432, !13, i64 6440, !13, i64 6444, !13, i64 6448, !20, i64 6456, !20, i64 6472, !20, i64 6488, !20, i64 6504, !21, i64 6520, !13, i64 6536, !6, i64 6544, !6, i64 6552, !6, i64 6560, !13, i64 6568, !11, i64 6572, !13, i64 6576, !15, i64 6580, !15, i64 6584, !13, i64 6588, !13, i64 6592, !13, i64 6596, !15, i64 6600, !11, i64 6604, !11, i64 6605, !11, i64 6606, !11, i64 6607, !11, i64 6608, !13, i64 6612, !14, i64 6616, !6, i64 6624, !6, i64 6632, !23, i64 6640, !13, i64 6644, !15, i64 6648, !6, i64 6656, !24, i64 6664, !25, i64 6680, !26, i64 6696, !27, i64 6712, !27, i64 6728, !28, i64 6744, !11, i64 6856, !13, i64 6860, !6, i64 6864, !13, i64 6872, !13, i64 6876, !13, i64 6880, !13, i64 6884, !13, i64 6888, !13, i64 6892, !13, i64 6896, !13, i64 6900, !23, i64 6904, !29, i64 6908, !13, i64 6924, !6, i64 6928, !6, i64 6936, !6, i64 6944, !15, i64 6952, !15, i64 6956, !11, i64 6960, !13, i64 6964, !13, i64 6968, !11, i64 6972, !11, i64 6973, !11, i64 6974, !11, i64 6975, !11, i64 6976, !11, i64 6977, !11, i64 6978, !13, i64 6980, !29, i64 6984, !11, i64 7000, !11, i64 7001, !13, i64 7004, !30, i64 7008, !13, i64 7012, !13, i64 7016, !13, i64 7020, !31, i64 7024, !31, i64 7072, !31, i64 7120, !32, i64 7168, !33, i64 7216, !15, i64 7248, !34, i64 7256, !13, i64 7424, !11, i64 7428, !11, i64 7429, !13, i64 7432, !13, i64 7436, !13, i64 7440, !42, i64 7448, !29, i64 7512, !13, i64 7528, !13, i64 7532, !15, i64 7536, !13, i64 7540, !13, i64 7544, !13, i64 7548, !43, i64 7552, !7, i64 7568, !44, i64 7576, !49, i64 11296, !13, i64 11408, !13, i64 11412, !18, i64 11416, !11, i64 11432, !15, i64 11436, !15, i64 11440, !14, i64 11444, !13, i64 11452, !45, i64 11456, !14, i64 11472, !14, i64 11480, !11, i64 11488, !15, i64 11492, !52, i64 11496, !53, i64 11512, !54, i64 11528, !11, i64 11544, !6, i64 11552, !52, i64 11560, !13, i64 11576, !13, i64 11580, !7, i64 11584, !13, i64 12064, !15, i64 12068, !13, i64 12072, !13, i64 12076, !13, i64 12080, !7, i64 12084}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !6, i64 24, !6, i64 32, !15, i64 40, !15, i64 44, !15, i64 48, !7, i64 52, !15, i64 136, !15, i64 140, !6, i64 144, !6, i64 152, !15, i64 160, !11, i64 164, !6, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !11, i64 200, !11, i64 201, !11, i64 202, !11, i64 203, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !14, i64 256, !7, i64 264, !15, i64 272, !15, i64 276, !11, i64 280, !11, i64 281, !11, i64 282, !11, i64 283, !7, i64 284, !7, i64 796, !7, i64 832, !11, i64 916, !11, i64 917, !11, i64 918, !11, i64 919, !11, i64 920, !11, i64 921, !11, i64 922, !15, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !13, i64 940, !13, i64 944, !14, i64 948, !14, 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 1088, !7, i64 1108, !7, i64 1148, !7, i64 1168, !7, i64 3216, !7, i64 5264, !7, i64 5348}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !14, i64 4, !15, i64 12, !15, i64 16, !14, i64 20, !14, i64 28, !15, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !14, i64 52, !15, i64 60, !15, i64 64, !14, i64 68, !14, i64 76, !14, i64 84, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !14, i64 116, !14, i64 124, !14, i64 132, !15, i64 140, !11, i64 144, !11, i64 145, !15, i64 148, !7, i64 152}
!17 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !18, i64 24, !7, i64 40}
!18 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!19 = !{!"double", !7, i64 0}
!20 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!21 = !{!"_ZTS12ImGuiStorage", !22, i64 0}
!22 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!23 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!24 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorI13ImGuiPopupRefE", !13, i64 0, !13, i64 4, !6, i64 8}
!28 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36, !14, i64 44, !14, i64 52, !11, i64 60, !29, i64 64, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!29 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!30 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!31 = !{!"_ZTS18ImGuiNavMoveResult", !13, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !29, i64 28}
!32 = !{!"_ZTS10ImDrawData", !11, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36}
!33 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!34 = !{!"_ZTS10ImDrawList", !35, i64 0, !36, i64 16, !37, i64 32, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !6, i64 80, !6, i64 88, !38, i64 96, !39, i64 112, !40, i64 128, !13, i64 144, !13, i64 148, !41, i64 152}
!35 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!42 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !7, i64 24, !11, i64 57, !11, i64 58}
!43 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !36, i64 8, !45, i64 24, !45, i64 40, !13, i64 56, !13, i64 60, !13, i64 64, !15, i64 68, !46, i64 72, !15, i64 3692, !11, i64 3696, !11, i64 3697, !13, i64 3700, !6, i64 3704, !6, i64 3712}
!45 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTSN8ImGuiStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, 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, !15, i64 20, !47, i64 24}
!47 = !{!"_ZTSN8ImGuiStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !48, i64 3582, !48, i64 3584, !13, i64 3588, !13, i64 3592}
!48 = !{!"short", !7, i64 0}
!49 = !{!"_ZTS6ImFont", !15, i64 0, !15, i64 4, !14, i64 8, !50, i64 16, !51, i64 32, !36, i64 48, !6, i64 64, !15, i64 72, !48, i64 76, !48, i64 78, !6, i64 80, !6, i64 88, !15, i64 96, !15, i64 100, !11, i64 104, !13, i64 108}
!50 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS15ImGuiTextBuffer", !45, i64 0}
!53 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{!56, !11, i64 127}
!56 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !15, i64 72, !15, i64 76, !13, i64 80, !13, i64 84, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !11, i64 120, !11, i64 121, !11, i64 122, !11, i64 123, !11, i64 124, !11, i64 125, !11, i64 126, !11, i64 127, !11, i64 128, !11, i64 129, !11, i64 130, !13, i64 132, !13, i64 136, !13, i64 140, !13, i64 144, !13, i64 148, !13, i64 152, !11, i64 156, !13, i64 160, !13, i64 164, !13, i64 168, !13, i64 172, !13, i64 176, !13, i64 180, !13, i64 184, !14, i64 188, !14, i64 196, !57, i64 208, !61, i64 512, !29, i64 528, !29, i64 544, !29, i64 560, !29, i64 576, !29, i64 592, !13, i64 608, !15, i64 612, !62, i64 616, !21, i64 664, !63, i64 680, !15, i64 696, !13, i64 700, !6, i64 704, !34, i64 712, !6, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !6, i64 912, !7, i64 920, !7, i64 928, !13, i64 960, !13, i64 964, !13, i64 968, !13, i64 972, !13, i64 976, !13, i64 980}
!57 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !14, i64 44, !15, i64 52, !15, i64 56, !13, i64 60, !13, i64 64, !13, i64 68, !13, i64 72, !29, i64 76, !29, i64 92, !11, i64 108, !11, i64 109, !13, i64 112, !13, i64 116, !13, i64 120, !13, i64 124, !11, i64 128, !14, i64 132, !20, i64 144, !6, i64 160, !13, i64 168, !13, i64 172, !13, i64 176, !15, i64 180, !15, i64 184, !58, i64 192, !51, i64 208, !51, i64 224, !59, i64 240, !7, i64 256, !60, i64 280, !60, i64 284, !60, i64 288, !6, i64 296}
!58 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS6ImVec1", !15, i64 0}
!61 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !7, i64 16, !7, i64 32}
!63 = !{!"_ZTS8ImVectorI15ImGuiColumnsSetE", !13, i64 0, !13, i64 4, !6, i64 8}
!64 = !{i8 0, i8 2}
!65 = !{}
!66 = !{!56, !15, i64 244}
!67 = !{!14, !15, i64 4}
!68 = !{!56, !15, i64 248}
!69 = !{!56, !15, i64 208}
!70 = !{!14, !15, i64 0}
!71 = !{!56, !15, i64 212}
!72 = !{!56, !15, i64 16}
!73 = !{!56, !15, i64 488}
!74 = !{!56, !15, i64 496}
!75 = !{!10, !15, i64 5512}
!76 = !{!56, !15, i64 232}
!77 = !{!56, !15, i64 216}
!78 = !{!56, !15, i64 236}
!79 = !{!56, !15, i64 256}
!80 = !{!56, !15, i64 260}
!81 = !{!15, !15, i64 0}
!82 = !{!56, !13, i64 376}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass