; LLVM IR from Eukky/TRender :: lib/imgui/imgui.ll (ZN5ImGui10EndColumnsEv)

; 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.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%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, i32, i32, i32, i32, i32, i32, i8, 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, 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, float, float, float, 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], float, float, float, ptr }
%class.ImVector = type { i32, i32, ptr }
%class.ImVector.20 = type { i32, i32, ptr }
%class.ImVector.16 = type { i32, i32, ptr }
%class.ImVector.21 = type { i32, i32, ptr }
%class.ImVector.22 = type { i32, i32, ptr }
%struct.ImGuiMenuColumns = type { i32, float, float, float, [4 x float], [4 x float] }
%struct.ImGuiStorage = type { %class.ImVector.0 }
%class.ImVector.0 = type { i32, i32, ptr }
%class.ImVector.23 = 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.ImGuiColumnsSet = type { i32, i32, i8, i8, i32, i32, float, float, float, float, float, float, %class.ImVector.24 }
%class.ImVector.24 = type { i32, i32, ptr }
%struct.ImGuiContext = type <{ i8, i8, [6 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, float, i32, i32, i32, %class.ImVector, %class.ImVector, %class.ImVector, %struct.ImGuiStorage, i32, [4 x i8], ptr, ptr, ptr, i32, i8, [3 x i8], i32, float, i32, i32, float, i8, i8, i8, i8, i8, i8, [2 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, 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, [3 x i8], i32, i32, %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, %class.ImVector.13, [8 x i8], %struct.ImGuiTextEditState, %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, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, i8, [512 x i8], [17 x i16], [21 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, [5 x %struct.ImVec2], [5 x float], [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, [42 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, %struct.ImVec4, [12 x %struct.ImVec2] }
%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.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%class.ImVector.13 = type { i32, i32, ptr }
%struct.ImGuiTextEditState = type <{ i32, [4 x i8], %class.ImVector.7, %class.ImVector.14, %class.ImVector.14, i32, i32, i32, float, %"struct.ImGuiStb::STB_TexteditState", float, i8, i8, [6 x i8] }>
%"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 }
%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.ImGuiColumnData = type { float, float, i32, %struct.ImRect }

@GImGui = external dso_local global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.256 = external hidden unnamed_addr constant [18 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui10EndColumnsEv = external hidden unnamed_addr constant [25 x i8], align 1

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef, float noundef) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui12PopItemWidthEv() #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui11KeepAliveIDEj(i32 noundef) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui11IsClippedExERK6ImRectjb(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i1 noundef zeroext) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui16GetCurrentWindowEv() #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui11PopClipRectEv() #3

declare void @_ZN10ImDrawList7AddLineERK6ImVec2S2_jf(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef) #5

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui10EndColumnsEv() #3 {
  %1 = alloca ptr, align 8
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i8, align 1
  %5 = alloca float, align 4
  %6 = alloca float, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca float, align 4
  %11 = alloca i32, align 4
  %12 = alloca float, align 4
  %13 = alloca %struct.ImRect, align 4
  %14 = alloca %struct.ImVec2, align 4
  %15 = alloca %struct.ImVec2, align 4
  %16 = alloca i8, align 1
  %17 = alloca i8, align 1
  %18 = alloca i32, align 4
  %19 = alloca float, align 4
  %20 = alloca %struct.ImVec2, align 4
  %21 = alloca %struct.ImVec2, align 4
  %22 = alloca i32, align 4
  %23 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #7
  %24 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %24, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #7
  %25 = call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  store ptr %25, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  %26 = load ptr, ptr %2, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.ImGuiWindow, ptr %26, i32 0, i32 43
  %28 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %27, i32 0, i32 38
  %29 = load ptr, ptr %28, align 8, !tbaa !9
  store ptr %29, ptr %3, align 8, !tbaa !5
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = icmp ne ptr %30, null
  br i1 %31, label %32, label %33

32:                                               ; preds = %0
  br label %35

33:                                               ; preds = %0
  call void @__assert_fail(ptr noundef @.str.256, ptr noundef @.str.3, i32 noundef 13214, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui10EndColumnsEv) #8
  unreachable

34:                                               ; No predecessors!
  br label %35

35:                                               ; preds = %34, %32
  call void @_ZN5ImGui12PopItemWidthEv()
  call void @_ZN5ImGui11PopClipRectEv()
  %36 = load ptr, ptr %2, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.ImGuiWindow, ptr %36, i32 0, i32 57
  %38 = load ptr, ptr %37, align 8, !tbaa !34
  call void @_ZN10ImDrawList13ChannelsMergeEv(ptr noundef nonnull align 8 dereferenceable(168) %38)
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.ImGuiColumnsSet, ptr %39, i32 0, i32 9
  %41 = load float, ptr %40, align 8, !tbaa !35
  %42 = load ptr, ptr %2, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.ImGuiWindow, ptr %42, i32 0, i32 43
  %44 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %43, i32 0, i32 0
  %45 = getelementptr inbounds %struct.ImVec2, ptr %44, i32 0, i32 1
  %46 = load float, ptr %45, align 4, !tbaa !38
  %47 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %41, float noundef %46)
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.ImGuiColumnsSet, ptr %48, i32 0, i32 9
  store float %47, ptr %49, align 8, !tbaa !35
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.ImGuiColumnsSet, ptr %50, i32 0, i32 9
  %52 = load float, ptr %51, align 8, !tbaa !35
  %53 = load ptr, ptr %2, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.ImGuiWindow, ptr %53, i32 0, i32 43
  %55 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %54, i32 0, i32 0
  %56 = getelementptr inbounds %struct.ImVec2, ptr %55, i32 0, i32 1
  store float %52, ptr %56, align 4, !tbaa !38
  %57 = load ptr, ptr %3, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.ImGuiColumnsSet, ptr %57, i32 0, i32 1
  %59 = load i32, ptr %58, align 4, !tbaa !39
  %60 = and i32 %59, 16
  %61 = icmp ne i32 %60, 0
  br i1 %61, label %70, label %62

62:                                               ; preds = %35
  %63 = load ptr, ptr %3, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.ImGuiColumnsSet, ptr %63, i32 0, i32 11
  %65 = load float, ptr %64, align 8, !tbaa !40
  %66 = load ptr, ptr %2, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.ImGuiWindow, ptr %66, i32 0, i32 43
  %68 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %67, i32 0, i32 3
  %69 = getelementptr inbounds %struct.ImVec2, ptr %68, i32 0, i32 0
  store float %65, ptr %69, align 8, !tbaa !41
  br label %70

70:                                               ; preds = %62, %35
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #7
  store i8 0, ptr %4, align 1, !tbaa !42
  %71 = load ptr, ptr %3, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.ImGuiColumnsSet, ptr %71, i32 0, i32 1
  %73 = load i32, ptr %72, align 4, !tbaa !39
  %74 = and i32 %73, 1
  %75 = icmp ne i32 %74, 0
  br i1 %75, label %239, label %76

76:                                               ; preds = %70
  %77 = load ptr, ptr %2, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.ImGuiWindow, ptr %77, i32 0, i32 25
  %79 = load i8, ptr %78, align 1, !tbaa !43, !range !44, !noundef !45
  %80 = trunc i8 %79 to i1
  br i1 %80, label %239, label %81

81:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  %82 = load ptr, ptr %3, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.ImGuiColumnsSet, ptr %82, i32 0, i32 10
  %84 = load float, ptr %83, align 4, !tbaa !46
  store float %84, ptr %5, align 4, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  %85 = load ptr, ptr %2, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.ImGuiWindow, ptr %85, i32 0, i32 43
  %87 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %86, i32 0, i32 0
  %88 = getelementptr inbounds %struct.ImVec2, ptr %87, i32 0, i32 1
  %89 = load float, ptr %88, align 4, !tbaa !38
  store float %89, ptr %6, align 4, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store i32 -1, ptr %7, align 4, !tbaa !48
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 1, ptr %8, align 4, !tbaa !48
  br label %90

90:                                               ; preds = %194, %81
  %91 = load i32, ptr %8, align 4, !tbaa !48
  %92 = load ptr, ptr %3, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.ImGuiColumnsSet, ptr %92, i32 0, i32 5
  %94 = load i32, ptr %93, align 8, !tbaa !49
  %95 = icmp slt i32 %91, %94
  br i1 %95, label %97, label %96

96:                                               ; preds = %90
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %197

97:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  %98 = load ptr, ptr %2, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.ImGuiWindow, ptr %98, i32 0, i32 3
  %100 = getelementptr inbounds %struct.ImVec2, ptr %99, i32 0, i32 0
  %101 = load float, ptr %100, align 8, !tbaa !50
  %102 = load i32, ptr %8, align 4, !tbaa !48
  %103 = call noundef float @_ZN5ImGui15GetColumnOffsetEi(i32 noundef %102)
  %104 = fadd float %101, %103
  store float %104, ptr %10, align 4, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  %105 = load ptr, ptr %3, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.ImGuiColumnsSet, ptr %105, i32 0, i32 0
  %107 = load i32, ptr %106, align 8, !tbaa !51
  %108 = load i32, ptr %8, align 4, !tbaa !48
  %109 = add i32 %107, %108
  store i32 %109, ptr %11, align 4, !tbaa !48
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %110 = call noundef float @_ZL23GetColumnsRectHalfWidthv()
  store float %110, ptr %12, align 4, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %111 = load float, ptr %10, align 4, !tbaa !47
  %112 = load float, ptr %12, align 4, !tbaa !47
  %113 = fsub float %111, %112
  %114 = load float, ptr %5, align 4, !tbaa !47
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef %113, float noundef %114)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %115 = load float, ptr %10, align 4, !tbaa !47
  %116 = load float, ptr %12, align 4, !tbaa !47
  %117 = fadd float %115, %116
  %118 = load float, ptr %6, align 4, !tbaa !47
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %117, float noundef %118)
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %15)
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  %119 = load i32, ptr %11, align 4, !tbaa !48
  call void @_ZN5ImGui11KeepAliveIDEj(i32 noundef %119)
  %120 = load i32, ptr %11, align 4, !tbaa !48
  %121 = call noundef zeroext i1 @_ZN5ImGui11IsClippedExERK6ImRectjb(ptr noundef nonnull align 4 dereferenceable(16) %13, i32 noundef %120, i1 noundef zeroext false)
  br i1 %121, label %122, label %123

122:                                              ; preds = %97
  store i32 4, ptr %9, align 4
  br label %191

123:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #7
  store i8 0, ptr %16, align 1, !tbaa !42
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #7
  store i8 0, ptr %17, align 1, !tbaa !42
  %124 = load ptr, ptr %3, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.ImGuiColumnsSet, ptr %124, i32 0, i32 1
  %126 = load i32, ptr %125, align 4, !tbaa !39
  %127 = and i32 %126, 2
  %128 = icmp ne i32 %127, 0
  br i1 %128, label %155, label %129

129:                                              ; preds = %123
  %130 = load i32, ptr %11, align 4, !tbaa !48
  %131 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %13, i32 noundef %130, ptr noundef %16, ptr noundef %17, i32 noundef 0)
  %132 = load i8, ptr %16, align 1, !tbaa !42, !range !44, !noundef !45
  %133 = trunc i8 %132 to i1
  br i1 %133, label %137, label %134

134:                                              ; preds = %129
  %135 = load i8, ptr %17, align 1, !tbaa !42, !range !44, !noundef !45
  %136 = trunc i8 %135 to i1
  br i1 %136, label %137, label %140

137:                                              ; preds = %134, %129
  %138 = load ptr, ptr %1, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.ImGuiContext, ptr %138, i32 0, i32 100
  store i32 4, ptr %139, align 8, !tbaa !52
  br label %140

140:                                              ; preds = %137, %134
  %141 = load i8, ptr %17, align 1, !tbaa !42, !range !44, !noundef !45
  %142 = trunc i8 %141 to i1
  br i1 %142, label %143, label %154

143:                                              ; preds = %140
  %144 = load ptr, ptr %3, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.ImGuiColumnsSet, ptr %144, i32 0, i32 12
  %146 = load i32, ptr %8, align 4, !tbaa !48
  %147 = call noundef nonnull align 4 dereferenceable(28) ptr @_ZN8ImVectorI15ImGuiColumnDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %145, i32 noundef %146)
  %148 = getelementptr inbounds %struct.ImGuiColumnData, ptr %147, i32 0, i32 2
  %149 = load i32, ptr %148, align 4, !tbaa !80
  %150 = and i32 %149, 2
  %151 = icmp ne i32 %150, 0
  br i1 %151, label %154, label %152

152:                                              ; preds = %143
  %153 = load i32, ptr %8, align 4, !tbaa !48
  store i32 %153, ptr %7, align 4, !tbaa !48
  br label %154

154:                                              ; preds = %152, %143, %140
  br label %155

155:                                              ; preds = %154, %123
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %156 = load i8, ptr %17, align 1, !tbaa !42, !range !44, !noundef !45
  %157 = trunc i8 %156 to i1
  br i1 %157, label %158, label %159

158:                                              ; preds = %155
  br label %164

159:                                              ; preds = %155
  %160 = load i8, ptr %16, align 1, !tbaa !42, !range !44, !noundef !45
  %161 = trunc i8 %160 to i1
  %162 = zext i1 %161 to i64
  %163 = select i1 %161, i32 28, i32 27
  br label %164

164:                                              ; preds = %159, %158
  %165 = phi i32 [ 29, %158 ], [ %163, %159 ]
  %166 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %165, float noundef 1.000000e+00)
  store i32 %166, ptr %18, align 4, !tbaa !48
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %167 = load float, ptr %10, align 4, !tbaa !47
  %168 = fptosi float %167 to i32
  %169 = sitofp i32 %168 to float
  store float %169, ptr %19, align 4, !tbaa !47
  %170 = load ptr, ptr %2, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.ImGuiWindow, ptr %170, i32 0, i32 57
  %172 = load ptr, ptr %171, align 8, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %173 = load float, ptr %19, align 4, !tbaa !47
  %174 = load float, ptr %5, align 4, !tbaa !47
  %175 = fadd float %174, 1.000000e+00
  %176 = load ptr, ptr %2, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.ImGuiWindow, ptr %176, i32 0, i32 45
  %178 = getelementptr inbounds %struct.ImRect, ptr %177, i32 0, i32 0
  %179 = getelementptr inbounds %struct.ImVec2, ptr %178, i32 0, i32 1
  %180 = load float, ptr %179, align 4, !tbaa !82
  %181 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %175, float noundef %180)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %20, float noundef %173, float noundef %181)
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %182 = load float, ptr %19, align 4, !tbaa !47
  %183 = load float, ptr %6, align 4, !tbaa !47
  %184 = load ptr, ptr %2, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.ImGuiWindow, ptr %184, i32 0, i32 45
  %186 = getelementptr inbounds %struct.ImRect, ptr %185, i32 0, i32 1
  %187 = getelementptr inbounds %struct.ImVec2, ptr %186, i32 0, i32 1
  %188 = load float, ptr %187, align 4, !tbaa !83
  %189 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %183, float noundef %188)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %21, float noundef %182, float noundef %189)
  %190 = load i32, ptr %18, align 4, !tbaa !48
  call void @_ZN10ImDrawList7AddLineERK6ImVec2S2_jf(ptr noundef nonnull align 8 dereferenceable(168) %172, ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(8) %21, i32 noundef %190, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  store i32 0, ptr %9, align 4
  br label %191

191:                                              ; preds = %164, %122
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  %192 = load i32, ptr %9, align 4
  switch i32 %192, label %271 [
    i32 0, label %193
    i32 4, label %194
  ]

193:                                              ; preds = %191
  br label %194

194:                                              ; preds = %193, %191
  %195 = load i32, ptr %8, align 4, !tbaa !48
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr %8, align 4, !tbaa !48
  br label %90, !llvm.loop !84

197:                                              ; preds = %96
  %198 = load i32, ptr %7, align 4, !tbaa !48
  %199 = icmp ne i32 %198, -1
  br i1 %199, label %200, label %238

200:                                              ; preds = %197
  %201 = load ptr, ptr %3, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.ImGuiColumnsSet, ptr %201, i32 0, i32 3
  %203 = load i8, ptr %202, align 1, !tbaa !86, !range !44, !noundef !45
  %204 = trunc i8 %203 to i1
  br i1 %204, label %230, label %205

205:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  store i32 0, ptr %22, align 4, !tbaa !48
  br label %206

206:                                              ; preds = %226, %205
  %207 = load i32, ptr %22, align 4, !tbaa !48
  %208 = load ptr, ptr %3, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.ImGuiColumnsSet, ptr %208, i32 0, i32 5
  %210 = load i32, ptr %209, align 8, !tbaa !49
  %211 = add nsw i32 %210, 1
  %212 = icmp slt i32 %207, %211
  br i1 %212, label %214, label %213

213:                                              ; preds = %206
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  br label %229

214:                                              ; preds = %206
  %215 = load ptr, ptr %3, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.ImGuiColumnsSet, ptr %215, i32 0, i32 12
  %217 = load i32, ptr %22, align 4, !tbaa !48
  %218 = call noundef nonnull align 4 dereferenceable(28) ptr @_ZN8ImVectorI15ImGuiColumnDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %216, i32 noundef %217)
  %219 = getelementptr inbounds %struct.ImGuiColumnData, ptr %218, i32 0, i32 0
  %220 = load float, ptr %219, align 4, !tbaa !87
  %221 = load ptr, ptr %3, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.ImGuiColumnsSet, ptr %221, i32 0, i32 12
  %223 = load i32, ptr %22, align 4, !tbaa !48
  %224 = call noundef nonnull align 4 dereferenceable(28) ptr @_ZN8ImVectorI15ImGuiColumnDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %222, i32 noundef %223)
  %225 = getelementptr inbounds %struct.ImGuiColumnData, ptr %224, i32 0, i32 1
  store float %220, ptr %225, align 4, !tbaa !88
  br label %226

226:                                              ; preds = %214
  %227 = load i32, ptr %22, align 4, !tbaa !48
  %228 = add nsw i32 %227, 1
  store i32 %228, ptr %22, align 4, !tbaa !48
  br label %206, !llvm.loop !89

229:                                              ; preds = %213
  br label %230

230:                                              ; preds = %229, %200
  store i8 1, ptr %4, align 1, !tbaa !42
  %231 = load ptr, ptr %3, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.ImGuiColumnsSet, ptr %231, i32 0, i32 3
  store i8 1, ptr %232, align 1, !tbaa !86
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  %233 = load ptr, ptr %3, align 8, !tbaa !5
  %234 = load i32, ptr %7, align 4, !tbaa !48
  %235 = call noundef float @_ZL22GetDraggedColumnOffsetP15ImGuiColumnsSeti(ptr noundef %233, i32 noundef %234)
  store float %235, ptr %23, align 4, !tbaa !47
  %236 = load i32, ptr %7, align 4, !tbaa !48
  %237 = load float, ptr %23, align 4, !tbaa !47
  call void @_ZN5ImGui15SetColumnOffsetEif(i32 noundef %236, float noundef %237)
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  br label %238

238:                                              ; preds = %230, %197
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %239

239:                                              ; preds = %238, %76, %70
  %240 = load i8, ptr %4, align 1, !tbaa !42, !range !44, !noundef !45
  %241 = trunc i8 %240 to i1
  %242 = load ptr, ptr %3, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.ImGuiColumnsSet, ptr %242, i32 0, i32 3
  %244 = zext i1 %241 to i8
  store i8 %244, ptr %243, align 1, !tbaa !86
  %245 = load ptr, ptr %2, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.ImGuiWindow, ptr %245, i32 0, i32 43
  %247 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %246, i32 0, i32 38
  store ptr null, ptr %247, align 8, !tbaa !9
  %248 = load ptr, ptr %2, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.ImGuiWindow, ptr %248, i32 0, i32 43
  %250 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %249, i32 0, i32 37
  store float 0.000000e+00, ptr %250, align 8, !tbaa !90
  %251 = load ptr, ptr %2, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.ImGuiWindow, ptr %251, i32 0, i32 3
  %253 = getelementptr inbounds %struct.ImVec2, ptr %252, i32 0, i32 0
  %254 = load float, ptr %253, align 8, !tbaa !50
  %255 = load ptr, ptr %2, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.ImGuiWindow, ptr %255, i32 0, i32 43
  %257 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %256, i32 0, i32 35
  %258 = load float, ptr %257, align 8, !tbaa !91
  %259 = fadd float %254, %258
  %260 = load ptr, ptr %2, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.ImGuiWindow, ptr %260, i32 0, i32 43
  %262 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %261, i32 0, i32 37
  %263 = load float, ptr %262, align 8, !tbaa !90
  %264 = fadd float %259, %263
  %265 = fptosi float %264 to i32
  %266 = sitofp i32 %265 to float
  %267 = load ptr, ptr %2, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.ImGuiWindow, ptr %267, i32 0, i32 43
  %269 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %268, i32 0, i32 0
  %270 = getelementptr inbounds %struct.ImVec2, ptr %269, i32 0, i32 0
  store float %266, ptr %270, align 8, !tbaa !92
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #7
  ret void

271:                                              ; preds = %191
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN5ImGui15GetColumnOffsetEi(i32 noundef) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui15SetColumnOffsetEif(i32 noundef, float noundef) #3

declare void @_ZN10ImDrawList13ChannelsMergeEv(ptr noundef nonnull align 8 dereferenceable(168)) #5

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

; Function Attrs: mustprogress uwtable
declare hidden noundef float @_ZL22GetDraggedColumnOffsetP15ImGuiColumnsSeti(ptr noundef, i32 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 = { 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 488}
!10 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !11, i64 8, !11, i64 12, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !13, i64 72, !13, i64 76, !11, i64 80, !11, i64 84, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !14, i64 120, !14, i64 121, !14, i64 122, !14, i64 123, !14, i64 124, !14, i64 125, !14, i64 126, !14, i64 127, !14, i64 128, !14, i64 129, !11, i64 132, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !11, i64 152, !14, i64 156, !11, i64 160, !11, i64 164, !11, i64 168, !11, i64 172, !11, i64 176, !11, i64 180, !12, i64 184, !12, i64 192, !15, i64 200, !21, i64 496, !16, i64 512, !16, i64 528, !16, i64 544, !16, i64 560, !16, i64 576, !11, i64 592, !13, i64 596, !22, i64 600, !23, i64 648, !25, i64 664, !13, i64 680, !11, i64 684, !6, i64 688, !26, i64 696, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !7, i64 912, !7, i64 920, !11, i64 952, !11, i64 956, !11, i64 960, !11, i64 964, !11, i64 968, !11, i64 972}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTS19ImGuiWindowTempData", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32, !13, i64 36, !13, i64 40, !13, i64 44, !13, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !16, i64 68, !16, i64 84, !14, i64 100, !14, i64 101, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !14, i64 120, !12, i64 124, !17, i64 136, !6, i64 152, !11, i64 160, !11, i64 164, !11, i64 168, !13, i64 172, !13, i64 176, !18, i64 184, !19, i64 200, !19, i64 216, !20, i64 232, !7, i64 248, !13, i64 272, !13, i64 276, !13, i64 280, !6, i64 288}
!16 = !{!"_ZTS6ImRect", !12, i64 0, !12, i64 8}
!17 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !11, i64 0, !11, i64 4, !6, i64 8}
!18 = !{!"_ZTS8ImVectorIiE", !11, i64 0, !11, i64 4, !6, i64 8}
!19 = !{!"_ZTS8ImVectorIfE", !11, i64 0, !11, i64 4, !6, i64 8}
!20 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!21 = !{!"_ZTS8ImVectorIjE", !11, i64 0, !11, i64 4, !6, i64 8}
!22 = !{!"_ZTS16ImGuiMenuColumns", !11, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !7, i64 16, !7, i64 32}
!23 = !{!"_ZTS12ImGuiStorage", !24, i64 0}
!24 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !11, i64 0, !11, i64 4, !6, i64 8}
!25 = !{!"_ZTS8ImVectorI15ImGuiColumnsSetE", !11, i64 0, !11, i64 4, !6, i64 8}
!26 = !{!"_ZTS10ImDrawList", !27, i64 0, !28, i64 16, !29, i64 32, !11, i64 48, !6, i64 56, !6, i64 64, !11, i64 72, !6, i64 80, !6, i64 88, !30, i64 96, !31, i64 112, !32, i64 128, !11, i64 144, !11, i64 148, !33, i64 152}
!27 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !11, i64 0, !11, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorItE", !11, i64 0, !11, i64 4, !6, i64 8}
!29 = !{!"_ZTS8ImVectorI10ImDrawVertE", !11, i64 0, !11, i64 4, !6, i64 8}
!30 = !{!"_ZTS8ImVectorI6ImVec4E", !11, i64 0, !11, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorIPvE", !11, i64 0, !11, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorI6ImVec2E", !11, i64 0, !11, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !11, i64 0, !11, i64 4, !6, i64 8}
!34 = !{!10, !6, i64 688}
!35 = !{!36, !13, i64 32}
!36 = !{!"_ZTS15ImGuiColumnsSet", !11, i64 0, !11, i64 4, !14, i64 8, !14, i64 9, !11, i64 12, !11, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 40, !37, i64 48}
!37 = !{!"_ZTS8ImVectorI15ImGuiColumnDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!38 = !{!10, !13, i64 204}
!39 = !{!36, !11, i64 4}
!40 = !{!36, !13, i64 40}
!41 = !{!10, !13, i64 224}
!42 = !{!14, !14, i64 0}
!43 = !{!10, !14, i64 127}
!44 = !{i8 0, i8 2}
!45 = !{}
!46 = !{!36, !13, i64 36}
!47 = !{!13, !13, i64 0}
!48 = !{!11, !11, i64 0}
!49 = !{!36, !11, i64 16}
!50 = !{!10, !13, i64 16}
!51 = !{!36, !11, i64 0}
!52 = !{!53, !11, i64 7328}
!53 = !{!"_ZTS12ImGuiContext", !14, i64 0, !14, i64 1, !54, i64 8, !55, i64 5408, !6, i64 6232, !13, i64 6240, !13, i64 6244, !56, i64 6248, !13, i64 6384, !11, i64 6388, !11, i64 6392, !11, i64 6396, !17, i64 6400, !17, i64 6416, !17, i64 6432, !23, i64 6448, !11, i64 6464, !6, i64 6472, !6, i64 6480, !6, i64 6488, !11, i64 6496, !14, i64 6500, !11, i64 6504, !13, i64 6508, !11, i64 6512, !11, i64 6516, !13, i64 6520, !14, i64 6524, !14, i64 6525, !14, i64 6526, !14, i64 6527, !14, i64 6528, !14, i64 6529, !11, i64 6532, !12, i64 6536, !6, i64 6544, !6, i64 6552, !58, i64 6560, !11, i64 6564, !13, i64 6568, !6, i64 6576, !59, i64 6584, !60, i64 6600, !61, i64 6616, !62, i64 6632, !62, i64 6648, !63, i64 6664, !14, i64 6776, !11, i64 6780, !6, i64 6784, !11, i64 6792, !11, i64 6796, !11, i64 6800, !11, i64 6804, !11, i64 6808, !11, i64 6812, !11, i64 6816, !11, i64 6820, !58, i64 6824, !16, i64 6828, !11, i64 6844, !6, i64 6848, !13, i64 6856, !13, i64 6860, !14, i64 6864, !11, i64 6868, !11, i64 6872, !14, i64 6876, !14, i64 6877, !14, i64 6878, !14, i64 6879, !14, i64 6880, !14, i64 6881, !14, i64 6882, !11, i64 6884, !16, i64 6888, !14, i64 6904, !14, i64 6905, !11, i64 6908, !64, i64 6912, !11, i64 6916, !11, i64 6920, !11, i64 6924, !65, i64 6928, !65, i64 6976, !65, i64 7024, !66, i64 7072, !67, i64 7120, !13, i64 7152, !26, i64 7160, !11, i64 7328, !14, i64 7332, !11, i64 7336, !11, i64 7340, !68, i64 7344, !16, i64 7408, !11, i64 7424, !11, i64 7428, !13, i64 7432, !11, i64 7436, !11, i64 7440, !11, i64 7444, !69, i64 7448, !7, i64 7464, !70, i64 7472, !75, i64 11176, !11, i64 11288, !11, i64 11292, !57, i64 11296, !14, i64 11312, !13, i64 11316, !13, i64 11320, !12, i64 11324, !11, i64 11332, !71, i64 11336, !12, i64 11352, !12, i64 11360, !14, i64 11368, !13, i64 11372, !77, i64 11376, !78, i64 11392, !79, i64 11408, !14, i64 11424, !6, i64 11432, !77, i64 11440, !11, i64 11456, !11, i64 11460, !7, i64 11464, !11, i64 11944, !13, i64 11948, !11, i64 11952, !11, i64 11956, !11, i64 11960, !7, i64 11964}
!54 = !{!"_ZTS7ImGuiIO", !11, i64 0, !11, i64 4, !12, i64 8, !13, i64 16, !13, i64 20, !6, i64 24, !6, i64 32, !13, i64 40, !13, i64 44, !13, i64 48, !7, i64 52, !13, i64 136, !13, i64 140, !6, i64 144, !6, i64 152, !13, i64 160, !14, i64 164, !6, i64 168, !12, i64 176, !12, i64 184, !12, i64 192, !14, i64 200, !14, i64 201, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !12, i64 256, !7, i64 264, !13, i64 272, !13, i64 276, !14, i64 280, !14, i64 281, !14, i64 282, !14, i64 283, !14, i64 284, !7, i64 285, !7, i64 798, !7, i64 832, !14, i64 916, !14, i64 917, !14, i64 918, !14, i64 919, !14, i64 920, !14, i64 921, !14, i64 922, !13, i64 924, !11, i64 928, !11, i64 932, !11, i64 936, !12, i64 940, !12, i64 948, !7, i64 956, !7, i64 996, !7, i64 1016, !7, i64 1021, !7, i64 1026, !7, i64 1031, !7, i64 1036, !7, i64 1056, !7, i64 1076, !7, i64 1116, !7, i64 1136, !7, i64 3184, !7, i64 5232, !7, i64 5316}
!55 = !{!"_ZTS10ImGuiStyle", !13, i64 0, !12, i64 4, !13, i64 12, !13, i64 16, !12, i64 20, !12, i64 28, !13, i64 36, !13, i64 40, !13, i64 44, !13, i64 48, !12, i64 52, !13, i64 60, !13, i64 64, !12, i64 68, !12, i64 76, !12, i64 84, !13, i64 92, !13, i64 96, !13, i64 100, !13, i64 104, !13, i64 108, !13, i64 112, !12, i64 116, !12, i64 124, !12, i64 132, !13, i64 140, !14, i64 144, !14, i64 145, !13, i64 148, !7, i64 152}
!56 = !{!"_ZTS20ImDrawListSharedData", !12, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !57, i64 24, !7, i64 40}
!57 = !{!"_ZTS6ImVec4", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!58 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!59 = !{!"_ZTS8ImVectorI11ImGuiColModE", !11, i64 0, !11, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !11, i64 0, !11, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorIP6ImFontE", !11, i64 0, !11, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorI13ImGuiPopupRefE", !11, i64 0, !11, i64 4, !6, i64 8}
!63 = !{!"_ZTS19ImGuiNextWindowData", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !12, i64 28, !12, i64 36, !12, i64 44, !12, i64 52, !14, i64 60, !16, i64 64, !6, i64 80, !6, i64 88, !13, i64 96, !12, i64 100}
!64 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!65 = !{!"_ZTS18ImGuiNavMoveResult", !11, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !16, i64 28}
!66 = !{!"_ZTS10ImDrawData", !14, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !12, i64 28, !12, i64 36}
!67 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!68 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !7, i64 24, !14, i64 57, !14, i64 58}
!69 = !{!"_ZTS8ImVectorIhE", !11, i64 0, !11, i64 4, !6, i64 8}
!70 = !{!"_ZTS18ImGuiTextEditState", !11, i64 0, !28, i64 8, !71, i64 24, !71, i64 40, !11, i64 56, !11, i64 60, !11, i64 64, !13, i64 68, !72, i64 72, !13, i64 3692, !14, i64 3696, !14, i64 3697}
!71 = !{!"_ZTS8ImVectorIcE", !11, i64 0, !11, i64 4, !6, i64 8}
!72 = !{!"_ZTSN8ImGuiStb17STB_TexteditStateE", !11, i64 0, !11, i64 4, !11, 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, !13, i64 20, !73, i64 24}
!73 = !{!"_ZTSN8ImGuiStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !74, i64 3582, !74, i64 3584, !11, i64 3588, !11, i64 3592}
!74 = !{!"short", !7, i64 0}
!75 = !{!"_ZTS6ImFont", !13, i64 0, !13, i64 4, !12, i64 8, !76, i64 16, !19, i64 32, !28, i64 48, !6, i64 64, !13, i64 72, !74, i64 76, !74, i64 78, !6, i64 80, !6, i64 88, !13, i64 96, !13, i64 100, !14, i64 104, !11, i64 108}
!76 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !11, i64 0, !11, i64 4, !6, i64 8}
!77 = !{!"_ZTS15ImGuiTextBuffer", !71, i64 0}
!78 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !11, i64 0, !11, i64 4, !6, i64 8}
!79 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !11, i64 0, !11, i64 4, !6, i64 8}
!80 = !{!81, !11, i64 8}
!81 = !{!"_ZTS15ImGuiColumnData", !13, i64 0, !13, i64 4, !11, i64 8, !16, i64 12}
!82 = !{!10, !13, i64 516}
!83 = !{!10, !13, i64 524}
!84 = distinct !{!84, !85}
!85 = !{!"llvm.loop.mustprogress"}
!86 = !{!36, !14, i64 9}
!87 = !{!81, !13, i64 0}
!88 = !{!81, !13, i64 4}
!89 = distinct !{!89, !85}
!90 = !{!10, !13, i64 480}
!91 = !{!10, !13, i64 472}
!92 = !{!10, !13, i64 200}


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

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.256 = external hidden unnamed_addr constant [18 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui10EndColumnsEv = external hidden unnamed_addr constant [25 x i8], align 1

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef, float noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui12PopItemWidthEv() local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui11KeepAliveIDEj(i32 noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui11IsClippedExERK6ImRectjb(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i1 noundef zeroext) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui16GetCurrentWindowEv() local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui11PopClipRectEv() local_unnamed_addr #3

declare void @_ZN10ImDrawList7AddLineERK6ImVec2S2_jf(ptr noundef nonnull align 8 dereferenceable(168), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui10EndColumnsEv() local_unnamed_addr #3 {
  %1 = alloca %struct.ImRect, align 4
  %2 = alloca %struct.ImVec2, align 4
  %3 = alloca %struct.ImVec2, align 4
  %4 = alloca i8, align 1
  %5 = alloca i8, align 1
  %6 = alloca %struct.ImVec2, align 4
  %7 = alloca %struct.ImVec2, align 4
  %8 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %9 = tail call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  %10 = getelementptr inbounds i8, ptr %9, i64 488
  %11 = load ptr, ptr %10, align 8, !tbaa !9
  %.not = icmp eq ptr %11, null
  br i1 %.not, label %12, label %13

12:                                               ; preds = %0
  tail call void @__assert_fail(ptr noundef nonnull @.str.256, ptr noundef nonnull @.str.3, i32 noundef 13214, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui10EndColumnsEv) #7
  unreachable

13:                                               ; preds = %0
  tail call void @_ZN5ImGui12PopItemWidthEv()
  tail call void @_ZN5ImGui11PopClipRectEv()
  %14 = getelementptr inbounds i8, ptr %9, i64 688
  %15 = load ptr, ptr %14, align 8, !tbaa !34
  tail call void @_ZN10ImDrawList13ChannelsMergeEv(ptr noundef nonnull align 8 dereferenceable(168) %15)
  %16 = getelementptr inbounds i8, ptr %11, i64 32
  %17 = load float, ptr %16, align 8, !tbaa !35
  %18 = getelementptr inbounds i8, ptr %9, i64 204
  %19 = load float, ptr %18, align 4, !tbaa !38
  %20 = tail call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %17, float noundef %19)
  store float %20, ptr %16, align 8, !tbaa !35
  store float %20, ptr %18, align 4, !tbaa !38
  %21 = getelementptr inbounds i8, ptr %11, i64 4
  %22 = load i32, ptr %21, align 4, !tbaa !39
  %23 = and i32 %22, 16
  %.not71 = icmp eq i32 %23, 0
  br i1 %.not71, label %24, label %28

24:                                               ; preds = %13
  %25 = getelementptr inbounds i8, ptr %11, i64 40
  %26 = load float, ptr %25, align 8, !tbaa !40
  %27 = getelementptr inbounds i8, ptr %9, i64 224
  store float %26, ptr %27, align 8, !tbaa !41
  br label %28

28:                                               ; preds = %24, %13
  %29 = and i32 %22, 1
  %.not72 = icmp eq i32 %29, 0
  br i1 %.not72, label %30, label %._crit_edge.thread

30:                                               ; preds = %28
  %31 = getelementptr inbounds i8, ptr %9, i64 127
  %32 = load i8, ptr %31, align 1, !tbaa !42, !range !43, !noundef !44
  %33 = trunc nuw i8 %32 to i1
  br i1 %33, label %._crit_edge.thread, label %34

34:                                               ; preds = %30
  %35 = getelementptr inbounds i8, ptr %11, i64 36
  %36 = load float, ptr %35, align 4, !tbaa !45
  %37 = getelementptr inbounds i8, ptr %11, i64 16
  %38 = load i32, ptr %37, align 8, !tbaa !46
  %39 = icmp sgt i32 %38, 1
  br i1 %39, label %.lr.ph, label %._crit_edge.thread

.lr.ph:                                           ; preds = %34
  %40 = getelementptr inbounds i8, ptr %9, i64 16
  %41 = getelementptr inbounds i8, ptr %8, i64 7328
  %42 = getelementptr inbounds i8, ptr %11, i64 48
  %43 = fadd float %36, 1.000000e+00
  %44 = getelementptr inbounds i8, ptr %9, i64 516
  %45 = getelementptr inbounds i8, ptr %9, i64 524
  br label %46

._crit_edge:                                      ; preds = %84
  %.not73 = icmp ne i32 %.2, -1
  br i1 %.not73, label %88, label %._crit_edge.thread

46:                                               ; preds = %.lr.ph, %84
  %.06779 = phi i32 [ -1, %.lr.ph ], [ %.2, %84 ]
  %.06977 = phi i32 [ 1, %.lr.ph ], [ %85, %84 ]
  %47 = load float, ptr %40, align 8, !tbaa !47
  %48 = call noundef float @_ZN5ImGui15GetColumnOffsetEi(i32 noundef %.06977)
  %49 = fadd float %47, %48
  %50 = load i32, ptr %11, align 8, !tbaa !48
  %51 = add i32 %50, %.06977
  %52 = call noundef float @_ZL23GetColumnsRectHalfWidthv()
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #8
  %53 = fsub float %49, %52
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %2, float noundef %53, float noundef %36)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  %54 = fadd float %49, %52
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef %54, float noundef %20)
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #8
  call void @_ZN5ImGui11KeepAliveIDEj(i32 noundef %51)
  %55 = call noundef zeroext i1 @_ZN5ImGui11IsClippedExERK6ImRectjb(ptr noundef nonnull align 4 dereferenceable(16) %1, i32 noundef %51, i1 noundef zeroext false)
  br i1 %55, label %84, label %56

56:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #8
  store i8 0, ptr %4, align 1, !tbaa !49
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #8
  store i8 0, ptr %5, align 1, !tbaa !49
  %57 = load i32, ptr %21, align 4, !tbaa !39
  %58 = and i32 %57, 2
  %.not75 = icmp eq i32 %58, 0
  br i1 %.not75, label %59, label %.thread

59:                                               ; preds = %56
  %60 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %1, i32 noundef %51, ptr noundef nonnull %4, ptr noundef nonnull %5, i32 noundef 0)
  %61 = load i8, ptr %4, align 1, !range !43, !noundef !44
  %62 = trunc nuw i8 %61 to i1
  %.pre.pre = load i8, ptr %5, align 1, !tbaa !49, !range !43
  %.pre86 = trunc nuw i8 %.pre.pre to i1
  br i1 %62, label %64, label %63

63:                                               ; preds = %59
  br i1 %.pre86, label %.thread91, label %.thread

.thread91:                                        ; preds = %63
  store i32 4, ptr %41, align 8, !tbaa !50
  br label %65

64:                                               ; preds = %59
  store i32 4, ptr %41, align 8, !tbaa !50
  br i1 %.pre86, label %65, label %.thread

65:                                               ; preds = %.thread91, %64
  %66 = call noundef nonnull align 4 dereferenceable(28) ptr @_ZN8ImVectorI15ImGuiColumnDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %42, i32 noundef %.06977)
  %67 = getelementptr inbounds i8, ptr %66, i64 8
  %68 = load i32, ptr %67, align 4, !tbaa !78
  %69 = and i32 %68, 2
  %.not76 = icmp eq i32 %69, 0
  %spec.select = select i1 %.not76, i32 %.06977, i32 %.06779
  %.pre83 = load i8, ptr %5, align 1, !tbaa !49, !range !43
  %.pre84 = load i8, ptr %4, align 1, !range !43
  br label %.thread

.thread:                                          ; preds = %63, %65, %64, %56
  %70 = phi i8 [ 0, %56 ], [ %61, %64 ], [ %.pre84, %65 ], [ %61, %63 ]
  %71 = phi i8 [ 0, %56 ], [ %.pre.pre, %64 ], [ %.pre83, %65 ], [ %.pre.pre, %63 ]
  %.168 = phi i32 [ %.06779, %56 ], [ %.06779, %64 ], [ %spec.select, %65 ], [ %.06779, %63 ]
  %72 = trunc nuw i8 %71 to i1
  %73 = trunc nuw i8 %70 to i1
  %74 = select i1 %73, i32 28, i32 27
  %75 = select i1 %72, i32 29, i32 %74
  %76 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %75, float noundef 1.000000e+00)
  %77 = fptosi float %49 to i32
  %78 = sitofp i32 %77 to float
  %79 = load ptr, ptr %14, align 8, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  %80 = load float, ptr %44, align 4, !tbaa !80
  %81 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %43, float noundef %80)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef %78, float noundef %81)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  %82 = load float, ptr %45, align 4, !tbaa !81
  %83 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %20, float noundef %82)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef %78, float noundef %83)
  call void @_ZN10ImDrawList7AddLineERK6ImVec2S2_jf(ptr noundef nonnull align 8 dereferenceable(168) %79, ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %7, i32 noundef %76, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #8
  br label %84

84:                                               ; preds = %46, %.thread
  %.2 = phi i32 [ %.168, %.thread ], [ %.06779, %46 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #8
  %85 = add nuw nsw i32 %.06977, 1
  %86 = load i32, ptr %37, align 8, !tbaa !46
  %87 = icmp slt i32 %85, %86
  br i1 %87, label %46, label %._crit_edge, !llvm.loop !82

88:                                               ; preds = %._crit_edge
  %89 = getelementptr inbounds i8, ptr %11, i64 9
  %90 = load i8, ptr %89, align 1, !tbaa !84, !range !43, !noundef !44
  %91 = trunc nuw i8 %90 to i1
  %.not7480 = icmp slt i32 %86, 0
  %or.cond = or i1 %.not7480, %91
  br i1 %or.cond, label %.loopexit, label %.lr.ph82

.lr.ph82:                                         ; preds = %88
  %92 = getelementptr inbounds i8, ptr %11, i64 48
  br label %93

93:                                               ; preds = %.lr.ph82, %93
  %.06681 = phi i32 [ 0, %.lr.ph82 ], [ %98, %93 ]
  %94 = call noundef nonnull align 4 dereferenceable(28) ptr @_ZN8ImVectorI15ImGuiColumnDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %92, i32 noundef %.06681)
  %95 = load float, ptr %94, align 4, !tbaa !85
  %96 = call noundef nonnull align 4 dereferenceable(28) ptr @_ZN8ImVectorI15ImGuiColumnDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %92, i32 noundef %.06681)
  %97 = getelementptr inbounds i8, ptr %96, i64 4
  store float %95, ptr %97, align 4, !tbaa !86
  %98 = add nuw nsw i32 %.06681, 1
  %99 = load i32, ptr %37, align 8, !tbaa !46
  %.not74.not = icmp slt i32 %.06681, %99
  br i1 %.not74.not, label %93, label %.loopexit, !llvm.loop !87

.loopexit:                                        ; preds = %93, %88
  store i8 1, ptr %89, align 1, !tbaa !84
  %100 = call noundef float @_ZL22GetDraggedColumnOffsetP15ImGuiColumnsSeti(ptr noundef nonnull %11, i32 noundef %.2)
  call void @_ZN5ImGui15SetColumnOffsetEif(i32 noundef %.2, float noundef %100)
  %101 = zext i1 %.not73 to i8
  br label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %._crit_edge, %.loopexit, %34, %30, %28
  %.1 = phi i8 [ 0, %28 ], [ 0, %30 ], [ %101, %.loopexit ], [ 0, %._crit_edge ], [ 0, %34 ]
  %102 = getelementptr inbounds i8, ptr %9, i64 200
  %103 = getelementptr inbounds i8, ptr %11, i64 9
  store i8 %.1, ptr %103, align 1, !tbaa !84
  store ptr null, ptr %10, align 8, !tbaa !9
  %104 = getelementptr inbounds i8, ptr %9, i64 480
  store float 0.000000e+00, ptr %104, align 8, !tbaa !88
  %105 = getelementptr inbounds i8, ptr %9, i64 16
  %106 = load float, ptr %105, align 8, !tbaa !47
  %107 = getelementptr inbounds i8, ptr %9, i64 472
  %108 = load float, ptr %107, align 8, !tbaa !89
  %109 = fadd float %106, %108
  %110 = fadd float %109, 0.000000e+00
  %111 = fptosi float %110 to i32
  %112 = sitofp i32 %111 to float
  store float %112, ptr %102, align 8, !tbaa !90
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN5ImGui15GetColumnOffsetEi(i32 noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui15SetColumnOffsetEif(i32 noundef, float noundef) local_unnamed_addr #3

declare void @_ZN10ImDrawList13ChannelsMergeEv(ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare hidden noundef float @_ZL22GetDraggedColumnOffsetP15ImGuiColumnsSeti(ptr noundef, i32 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "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 = { noreturn nounwind }
attributes #8 = { 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 488}
!10 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !11, i64 8, !11, i64 12, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !13, i64 72, !13, i64 76, !11, i64 80, !11, i64 84, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !14, i64 120, !14, i64 121, !14, i64 122, !14, i64 123, !14, i64 124, !14, i64 125, !14, i64 126, !14, i64 127, !14, i64 128, !14, i64 129, !11, i64 132, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !11, i64 152, !14, i64 156, !11, i64 160, !11, i64 164, !11, i64 168, !11, i64 172, !11, i64 176, !11, i64 180, !12, i64 184, !12, i64 192, !15, i64 200, !21, i64 496, !16, i64 512, !16, i64 528, !16, i64 544, !16, i64 560, !16, i64 576, !11, i64 592, !13, i64 596, !22, i64 600, !23, i64 648, !25, i64 664, !13, i64 680, !11, i64 684, !6, i64 688, !26, i64 696, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !7, i64 912, !7, i64 920, !11, i64 952, !11, i64 956, !11, i64 960, !11, i64 964, !11, i64 968, !11, i64 972}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTS19ImGuiWindowTempData", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32, !13, i64 36, !13, i64 40, !13, i64 44, !13, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !16, i64 68, !16, i64 84, !14, i64 100, !14, i64 101, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !14, i64 120, !12, i64 124, !17, i64 136, !6, i64 152, !11, i64 160, !11, i64 164, !11, i64 168, !13, i64 172, !13, i64 176, !18, i64 184, !19, i64 200, !19, i64 216, !20, i64 232, !7, i64 248, !13, i64 272, !13, i64 276, !13, i64 280, !6, i64 288}
!16 = !{!"_ZTS6ImRect", !12, i64 0, !12, i64 8}
!17 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !11, i64 0, !11, i64 4, !6, i64 8}
!18 = !{!"_ZTS8ImVectorIiE", !11, i64 0, !11, i64 4, !6, i64 8}
!19 = !{!"_ZTS8ImVectorIfE", !11, i64 0, !11, i64 4, !6, i64 8}
!20 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!21 = !{!"_ZTS8ImVectorIjE", !11, i64 0, !11, i64 4, !6, i64 8}
!22 = !{!"_ZTS16ImGuiMenuColumns", !11, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !7, i64 16, !7, i64 32}
!23 = !{!"_ZTS12ImGuiStorage", !24, i64 0}
!24 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !11, i64 0, !11, i64 4, !6, i64 8}
!25 = !{!"_ZTS8ImVectorI15ImGuiColumnsSetE", !11, i64 0, !11, i64 4, !6, i64 8}
!26 = !{!"_ZTS10ImDrawList", !27, i64 0, !28, i64 16, !29, i64 32, !11, i64 48, !6, i64 56, !6, i64 64, !11, i64 72, !6, i64 80, !6, i64 88, !30, i64 96, !31, i64 112, !32, i64 128, !11, i64 144, !11, i64 148, !33, i64 152}
!27 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !11, i64 0, !11, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorItE", !11, i64 0, !11, i64 4, !6, i64 8}
!29 = !{!"_ZTS8ImVectorI10ImDrawVertE", !11, i64 0, !11, i64 4, !6, i64 8}
!30 = !{!"_ZTS8ImVectorI6ImVec4E", !11, i64 0, !11, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorIPvE", !11, i64 0, !11, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorI6ImVec2E", !11, i64 0, !11, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !11, i64 0, !11, i64 4, !6, i64 8}
!34 = !{!10, !6, i64 688}
!35 = !{!36, !13, i64 32}
!36 = !{!"_ZTS15ImGuiColumnsSet", !11, i64 0, !11, i64 4, !14, i64 8, !14, i64 9, !11, i64 12, !11, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 40, !37, i64 48}
!37 = !{!"_ZTS8ImVectorI15ImGuiColumnDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!38 = !{!10, !13, i64 204}
!39 = !{!36, !11, i64 4}
!40 = !{!36, !13, i64 40}
!41 = !{!10, !13, i64 224}
!42 = !{!10, !14, i64 127}
!43 = !{i8 0, i8 2}
!44 = !{}
!45 = !{!36, !13, i64 36}
!46 = !{!36, !11, i64 16}
!47 = !{!10, !13, i64 16}
!48 = !{!36, !11, i64 0}
!49 = !{!14, !14, i64 0}
!50 = !{!51, !11, i64 7328}
!51 = !{!"_ZTS12ImGuiContext", !14, i64 0, !14, i64 1, !52, i64 8, !53, i64 5408, !6, i64 6232, !13, i64 6240, !13, i64 6244, !54, i64 6248, !13, i64 6384, !11, i64 6388, !11, i64 6392, !11, i64 6396, !17, i64 6400, !17, i64 6416, !17, i64 6432, !23, i64 6448, !11, i64 6464, !6, i64 6472, !6, i64 6480, !6, i64 6488, !11, i64 6496, !14, i64 6500, !11, i64 6504, !13, i64 6508, !11, i64 6512, !11, i64 6516, !13, i64 6520, !14, i64 6524, !14, i64 6525, !14, i64 6526, !14, i64 6527, !14, i64 6528, !14, i64 6529, !11, i64 6532, !12, i64 6536, !6, i64 6544, !6, i64 6552, !56, i64 6560, !11, i64 6564, !13, i64 6568, !6, i64 6576, !57, i64 6584, !58, i64 6600, !59, i64 6616, !60, i64 6632, !60, i64 6648, !61, i64 6664, !14, i64 6776, !11, i64 6780, !6, i64 6784, !11, i64 6792, !11, i64 6796, !11, i64 6800, !11, i64 6804, !11, i64 6808, !11, i64 6812, !11, i64 6816, !11, i64 6820, !56, i64 6824, !16, i64 6828, !11, i64 6844, !6, i64 6848, !13, i64 6856, !13, i64 6860, !14, i64 6864, !11, i64 6868, !11, i64 6872, !14, i64 6876, !14, i64 6877, !14, i64 6878, !14, i64 6879, !14, i64 6880, !14, i64 6881, !14, i64 6882, !11, i64 6884, !16, i64 6888, !14, i64 6904, !14, i64 6905, !11, i64 6908, !62, i64 6912, !11, i64 6916, !11, i64 6920, !11, i64 6924, !63, i64 6928, !63, i64 6976, !63, i64 7024, !64, i64 7072, !65, i64 7120, !13, i64 7152, !26, i64 7160, !11, i64 7328, !14, i64 7332, !11, i64 7336, !11, i64 7340, !66, i64 7344, !16, i64 7408, !11, i64 7424, !11, i64 7428, !13, i64 7432, !11, i64 7436, !11, i64 7440, !11, i64 7444, !67, i64 7448, !7, i64 7464, !68, i64 7472, !73, i64 11176, !11, i64 11288, !11, i64 11292, !55, i64 11296, !14, i64 11312, !13, i64 11316, !13, i64 11320, !12, i64 11324, !11, i64 11332, !69, i64 11336, !12, i64 11352, !12, i64 11360, !14, i64 11368, !13, i64 11372, !75, i64 11376, !76, i64 11392, !77, i64 11408, !14, i64 11424, !6, i64 11432, !75, i64 11440, !11, i64 11456, !11, i64 11460, !7, i64 11464, !11, i64 11944, !13, i64 11948, !11, i64 11952, !11, i64 11956, !11, i64 11960, !7, i64 11964}
!52 = !{!"_ZTS7ImGuiIO", !11, i64 0, !11, i64 4, !12, i64 8, !13, i64 16, !13, i64 20, !6, i64 24, !6, i64 32, !13, i64 40, !13, i64 44, !13, i64 48, !7, i64 52, !13, i64 136, !13, i64 140, !6, i64 144, !6, i64 152, !13, i64 160, !14, i64 164, !6, i64 168, !12, i64 176, !12, i64 184, !12, i64 192, !14, i64 200, !14, i64 201, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !12, i64 256, !7, i64 264, !13, i64 272, !13, i64 276, !14, i64 280, !14, i64 281, !14, i64 282, !14, i64 283, !14, i64 284, !7, i64 285, !7, i64 798, !7, i64 832, !14, i64 916, !14, i64 917, !14, i64 918, !14, i64 919, !14, i64 920, !14, i64 921, !14, i64 922, !13, i64 924, !11, i64 928, !11, i64 932, !11, i64 936, !12, i64 940, !12, i64 948, !7, i64 956, !7, i64 996, !7, i64 1016, !7, i64 1021, !7, i64 1026, !7, i64 1031, !7, i64 1036, !7, i64 1056, !7, i64 1076, !7, i64 1116, !7, i64 1136, !7, i64 3184, !7, i64 5232, !7, i64 5316}
!53 = !{!"_ZTS10ImGuiStyle", !13, i64 0, !12, i64 4, !13, i64 12, !13, i64 16, !12, i64 20, !12, i64 28, !13, i64 36, !13, i64 40, !13, i64 44, !13, i64 48, !12, i64 52, !13, i64 60, !13, i64 64, !12, i64 68, !12, i64 76, !12, i64 84, !13, i64 92, !13, i64 96, !13, i64 100, !13, i64 104, !13, i64 108, !13, i64 112, !12, i64 116, !12, i64 124, !12, i64 132, !13, i64 140, !14, i64 144, !14, i64 145, !13, i64 148, !7, i64 152}
!54 = !{!"_ZTS20ImDrawListSharedData", !12, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !55, i64 24, !7, i64 40}
!55 = !{!"_ZTS6ImVec4", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!56 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!57 = !{!"_ZTS8ImVectorI11ImGuiColModE", !11, i64 0, !11, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !11, i64 0, !11, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorIP6ImFontE", !11, i64 0, !11, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI13ImGuiPopupRefE", !11, i64 0, !11, i64 4, !6, i64 8}
!61 = !{!"_ZTS19ImGuiNextWindowData", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !12, i64 28, !12, i64 36, !12, i64 44, !12, i64 52, !14, i64 60, !16, i64 64, !6, i64 80, !6, i64 88, !13, i64 96, !12, i64 100}
!62 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!63 = !{!"_ZTS18ImGuiNavMoveResult", !11, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !16, i64 28}
!64 = !{!"_ZTS10ImDrawData", !14, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !12, i64 28, !12, i64 36}
!65 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!66 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !7, i64 24, !14, i64 57, !14, i64 58}
!67 = !{!"_ZTS8ImVectorIhE", !11, i64 0, !11, i64 4, !6, i64 8}
!68 = !{!"_ZTS18ImGuiTextEditState", !11, i64 0, !28, i64 8, !69, i64 24, !69, i64 40, !11, i64 56, !11, i64 60, !11, i64 64, !13, i64 68, !70, i64 72, !13, i64 3692, !14, i64 3696, !14, i64 3697}
!69 = !{!"_ZTS8ImVectorIcE", !11, i64 0, !11, i64 4, !6, i64 8}
!70 = !{!"_ZTSN8ImGuiStb17STB_TexteditStateE", !11, i64 0, !11, i64 4, !11, 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, !13, i64 20, !71, i64 24}
!71 = !{!"_ZTSN8ImGuiStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !72, i64 3582, !72, i64 3584, !11, i64 3588, !11, i64 3592}
!72 = !{!"short", !7, i64 0}
!73 = !{!"_ZTS6ImFont", !13, i64 0, !13, i64 4, !12, i64 8, !74, i64 16, !19, i64 32, !28, i64 48, !6, i64 64, !13, i64 72, !72, i64 76, !72, i64 78, !6, i64 80, !6, i64 88, !13, i64 96, !13, i64 100, !14, i64 104, !11, i64 108}
!74 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !11, i64 0, !11, i64 4, !6, i64 8}
!75 = !{!"_ZTS15ImGuiTextBuffer", !69, i64 0}
!76 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !11, i64 0, !11, i64 4, !6, i64 8}
!77 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !11, i64 0, !11, i64 4, !6, i64 8}
!78 = !{!79, !11, i64 8}
!79 = !{!"_ZTS15ImGuiColumnData", !13, i64 0, !13, i64 4, !11, i64 8, !16, i64 12}
!80 = !{!10, !13, i64 516}
!81 = !{!10, !13, i64 524}
!82 = distinct !{!82, !83}
!83 = !{!"llvm.loop.mustprogress"}
!84 = !{!36, !14, i64 9}
!85 = !{!79, !13, i64 0}
!86 = !{!79, !13, i64 4}
!87 = distinct !{!87, !83}
!88 = !{!10, !13, i64 480}
!89 = !{!10, !13, i64 472}
!90 = !{!10, !13, i64 200}


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