; LLVM IR from Devaniti/BoolkaEngine :: ThirdParty/imgui/imgui.ll (ZN5ImGui8ShutdownEP12ImGuiContext)

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

@GImGui = external dso_local global ptr, align 8
@stdout = external 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z11ImFileCloseP8_IO_FILE(ptr noundef) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorIjE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

declare void @_ZN10ImDrawList16_ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(196)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorIP11ImGuiWindowE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui17SetCurrentContextEP12ImGuiContext(ptr noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui8ShutdownEP12ImGuiContext(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %7 = load ptr, ptr %2, align 8, !tbaa !5
  store ptr %7, ptr %3, align 8, !tbaa !5
  %8 = load ptr, ptr %3, align 8, !tbaa !5
  %9 = getelementptr inbounds %struct.ImGuiContext, ptr %8, i32 0, i32 3
  %10 = getelementptr inbounds %struct.ImGuiIO, ptr %9, i32 0, i32 14
  %11 = load ptr, ptr %10, align 8, !tbaa !9
  %12 = icmp ne ptr %11, null
  br i1 %12, label %13, label %28

13:                                               ; preds = %1
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.ImGuiContext, ptr %14, i32 0, i32 1
  %16 = load i8, ptr %15, align 1, !tbaa !73, !range !74, !noundef !75
  %17 = trunc i8 %16 to i1
  br i1 %17, label %18, label %28

18:                                               ; preds = %13
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.ImGuiContext, ptr %19, i32 0, i32 3
  %21 = getelementptr inbounds %struct.ImGuiIO, ptr %20, i32 0, i32 14
  %22 = load ptr, ptr %21, align 8, !tbaa !9
  %23 = getelementptr inbounds %struct.ImFontAtlas, ptr %22, i32 0, i32 0
  store i8 0, ptr %23, align 8, !tbaa !76
  %24 = load ptr, ptr %3, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.ImGuiContext, ptr %24, i32 0, i32 3
  %26 = getelementptr inbounds %struct.ImGuiIO, ptr %25, i32 0, i32 14
  %27 = load ptr, ptr %26, align 8, !tbaa !9
  call void @_Z9IM_DELETEI11ImFontAtlasEvPT_(ptr noundef %27)
  br label %28

28:                                               ; preds = %18, %13, %1
  %29 = load ptr, ptr %3, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.ImGuiContext, ptr %29, i32 0, i32 3
  %31 = getelementptr inbounds %struct.ImGuiIO, ptr %30, i32 0, i32 14
  store ptr null, ptr %31, align 8, !tbaa !9
  %32 = load ptr, ptr %3, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.ImGuiContext, ptr %32, i32 0, i32 0
  %34 = load i8, ptr %33, align 8, !tbaa !80, !range !74, !noundef !75
  %35 = trunc i8 %34 to i1
  br i1 %35, label %37, label %36

36:                                               ; preds = %28
  store i32 1, ptr %4, align 4
  br label %163

37:                                               ; preds = %28
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.ImGuiContext, ptr %38, i32 0, i32 198
  %40 = load i8, ptr %39, align 1, !tbaa !81, !range !74, !noundef !75
  %41 = trunc i8 %40 to i1
  br i1 %41, label %42, label %56

42:                                               ; preds = %37
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.ImGuiContext, ptr %43, i32 0, i32 3
  %45 = getelementptr inbounds %struct.ImGuiIO, ptr %44, i32 0, i32 5
  %46 = load ptr, ptr %45, align 8, !tbaa !82
  %47 = icmp ne ptr %46, null
  br i1 %47, label %48, label %56

48:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %49 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %49, ptr %5, align 8, !tbaa !5
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN5ImGui17SetCurrentContextEP12ImGuiContext(ptr noundef %50)
  %51 = load ptr, ptr %3, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.ImGuiContext, ptr %51, i32 0, i32 3
  %53 = getelementptr inbounds %struct.ImGuiIO, ptr %52, i32 0, i32 5
  %54 = load ptr, ptr %53, align 8, !tbaa !82
  call void @_ZN5ImGui21SaveIniSettingsToDiskEPKc(ptr noundef %54)
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN5ImGui17SetCurrentContextEP12ImGuiContext(ptr noundef %55)
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %56

56:                                               ; preds = %48, %42, %37
  %57 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN5ImGui16CallContextHooksEP12ImGuiContext20ImGuiContextHookType(ptr noundef %57, i32 noundef 6)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !83
  br label %58

58:                                               ; preds = %72, %56
  %59 = load i32, ptr %6, align 4, !tbaa !83
  %60 = load ptr, ptr %3, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.ImGuiContext, ptr %60, i32 0, i32 22
  %62 = getelementptr inbounds %struct.ImVector.3, ptr %61, i32 0, i32 0
  %63 = load i32, ptr %62, align 8, !tbaa !84
  %64 = icmp slt i32 %59, %63
  br i1 %64, label %66, label %65

65:                                               ; preds = %58
  store i32 2, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %75

66:                                               ; preds = %58
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.ImGuiContext, ptr %67, i32 0, i32 22
  %69 = load i32, ptr %6, align 4, !tbaa !83
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %68, i32 noundef %69)
  %71 = load ptr, ptr %70, align 8, !tbaa !5
  call void @_Z9IM_DELETEI11ImGuiWindowEvPT_(ptr noundef %71)
  br label %72

72:                                               ; preds = %66
  %73 = load i32, ptr %6, align 4, !tbaa !83
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %6, align 4, !tbaa !83
  br label %58, !llvm.loop !85

75:                                               ; preds = %65
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.ImGuiContext, ptr %76, i32 0, i32 22
  call void @_ZN8ImVectorIP11ImGuiWindowE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %77)
  %78 = load ptr, ptr %3, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.ImGuiContext, ptr %78, i32 0, i32 23
  call void @_ZN8ImVectorIP11ImGuiWindowE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %79)
  %80 = load ptr, ptr %3, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.ImGuiContext, ptr %80, i32 0, i32 24
  call void @_ZN8ImVectorIP11ImGuiWindowE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %81)
  %82 = load ptr, ptr %3, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.ImGuiContext, ptr %82, i32 0, i32 29
  store ptr null, ptr %83, align 8, !tbaa !87
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.ImGuiContext, ptr %84, i32 0, i32 25
  call void @_ZN8ImVectorIP11ImGuiWindowE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %85)
  %86 = load ptr, ptr %3, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.ImGuiContext, ptr %86, i32 0, i32 26
  call void @_ZN12ImGuiStorage5ClearEv(ptr noundef nonnull align 8 dereferenceable(16) %87)
  %88 = load ptr, ptr %3, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.ImGuiContext, ptr %88, i32 0, i32 82
  store ptr null, ptr %89, align 8, !tbaa !88
  %90 = load ptr, ptr %3, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.ImGuiContext, ptr %90, i32 0, i32 32
  store ptr null, ptr %91, align 8, !tbaa !89
  %92 = load ptr, ptr %3, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.ImGuiContext, ptr %92, i32 0, i32 31
  store ptr null, ptr %93, align 8, !tbaa !90
  %94 = load ptr, ptr %3, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.ImGuiContext, ptr %94, i32 0, i32 30
  store ptr null, ptr %95, align 8, !tbaa !91
  %96 = load ptr, ptr %3, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.ImGuiContext, ptr %96, i32 0, i32 68
  store ptr null, ptr %97, align 8, !tbaa !92
  %98 = load ptr, ptr %3, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.ImGuiContext, ptr %98, i32 0, i32 61
  store ptr null, ptr %99, align 8, !tbaa !93
  %100 = load ptr, ptr %3, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.ImGuiContext, ptr %100, i32 0, i32 33
  store ptr null, ptr %101, align 8, !tbaa !94
  %102 = load ptr, ptr %3, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.ImGuiContext, ptr %102, i32 0, i32 74
  call void @_ZN8ImVectorI13ImGuiColorModE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %103)
  %104 = load ptr, ptr %3, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.ImGuiContext, ptr %104, i32 0, i32 75
  call void @_ZN8ImVectorI13ImGuiStyleModE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %105)
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.ImGuiContext, ptr %106, i32 0, i32 76
  call void @_ZN8ImVectorIP6ImFontE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %107)
  %108 = load ptr, ptr %3, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.ImGuiContext, ptr %108, i32 0, i32 80
  call void @_ZN8ImVectorI14ImGuiPopupDataE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %109)
  %110 = load ptr, ptr %3, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.ImGuiContext, ptr %110, i32 0, i32 81
  call void @_ZN8ImVectorI14ImGuiPopupDataE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %111)
  %112 = load ptr, ptr %3, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.ImGuiContext, ptr %112, i32 0, i32 140
  call void @_ZN17ImDrawDataBuilder15ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(32) %113)
  %114 = load ptr, ptr %3, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.ImGuiContext, ptr %114, i32 0, i32 143
  call void @_ZN10ImDrawList16_ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(196) %115)
  %116 = load ptr, ptr %3, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.ImGuiContext, ptr %116, i32 0, i32 144
  call void @_ZN10ImDrawList16_ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(196) %117)
  %118 = load ptr, ptr %3, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ImGuiContext, ptr %118, i32 0, i32 172
  call void @_ZN6ImPoolI11ImGuiTabBarE5ClearEv(ptr noundef nonnull align 8 dereferenceable(36) %119)
  %120 = load ptr, ptr %3, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.ImGuiContext, ptr %120, i32 0, i32 173
  call void @_ZN8ImVectorI15ImGuiPtrOrIndexE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %121)
  %122 = load ptr, ptr %3, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.ImGuiContext, ptr %122, i32 0, i32 174
  call void @_ZN8ImVectorI20ImGuiShrinkWidthItemE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %123)
  %124 = load ptr, ptr %3, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.ImGuiContext, ptr %124, i32 0, i32 167
  call void @_ZN6ImPoolI10ImGuiTableE5ClearEv(ptr noundef nonnull align 8 dereferenceable(36) %125)
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.ImGuiContext, ptr %126, i32 0, i32 168
  call void @_ZN8ImVectorI15ImGuiPtrOrIndexE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %127)
  %128 = load ptr, ptr %3, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.ImGuiContext, ptr %128, i32 0, i32 170
  call void @_ZN8ImVectorI13ImDrawChannelE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %129)
  %130 = load ptr, ptr %3, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.ImGuiContext, ptr %130, i32 0, i32 193
  call void @_ZN8ImVectorIcE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %131)
  %132 = load ptr, ptr %3, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.ImGuiContext, ptr %132, i32 0, i32 194
  call void @_ZN8ImVectorIjE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %133)
  %134 = load ptr, ptr %3, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.ImGuiContext, ptr %134, i32 0, i32 176
  call void @_ZN19ImGuiInputTextState15ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(3736) %135)
  %136 = load ptr, ptr %3, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.ImGuiContext, ptr %136, i32 0, i32 203
  call void @_ZN13ImChunkStreamI19ImGuiWindowSettingsE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %137)
  %138 = load ptr, ptr %3, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.ImGuiContext, ptr %138, i32 0, i32 202
  call void @_ZN8ImVectorI20ImGuiSettingsHandlerE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %139)
  %140 = load ptr, ptr %3, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.ImGuiContext, ptr %140, i32 0, i32 209
  %142 = load ptr, ptr %141, align 8, !tbaa !95
  %143 = icmp ne ptr %142, null
  br i1 %143, label %144, label %158

144:                                              ; preds = %75
  %145 = load ptr, ptr %3, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.ImGuiContext, ptr %145, i32 0, i32 209
  %147 = load ptr, ptr %146, align 8, !tbaa !95
  %148 = load ptr, ptr @stdout, align 8, !tbaa !5
  %149 = icmp ne ptr %147, %148
  br i1 %149, label %150, label %155

150:                                              ; preds = %144
  %151 = load ptr, ptr %3, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.ImGuiContext, ptr %151, i32 0, i32 209
  %153 = load ptr, ptr %152, align 8, !tbaa !95
  %154 = call noundef zeroext i1 @_Z11ImFileCloseP8_IO_FILE(ptr noundef %153)
  br label %155

155:                                              ; preds = %150, %144
  %156 = load ptr, ptr %3, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.ImGuiContext, ptr %156, i32 0, i32 209
  store ptr null, ptr %157, align 8, !tbaa !95
  br label %158

158:                                              ; preds = %155, %75
  %159 = load ptr, ptr %3, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.ImGuiContext, ptr %159, i32 0, i32 210
  call void @_ZN15ImGuiTextBuffer5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %160)
  %161 = load ptr, ptr %3, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.ImGuiContext, ptr %161, i32 0, i32 0
  store i8 0, ptr %162, align 8, !tbaa !80
  store i32 0, ptr %4, align 4
  br label %163

163:                                              ; preds = %158, %36
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  %164 = load i32, ptr %4, align 4
  switch i32 %164, label %166 [
    i32 0, label %165
    i32 1, label %165
  ]

165:                                              ; preds = %163, %163
  ret void

166:                                              ; preds = %163
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui16CallContextHooksEP12ImGuiContext20ImGuiContextHookType(ptr noundef, i32 noundef) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9IM_DELETEI11ImFontAtlasEvPT_(ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui21SaveIniSettingsToDiskEPKc(ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9IM_DELETEI11ImGuiWindowEvPT_(ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12ImGuiStorage5ClearEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI13ImGuiColorModE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI13ImGuiStyleModE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorIP6ImFontE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI14ImGuiPopupDataE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17ImDrawDataBuilder15ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImPoolI11ImGuiTabBarE5ClearEv(ptr noundef nonnull align 8 dereferenceable(36)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI15ImGuiPtrOrIndexE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI20ImGuiShrinkWidthItemE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImPoolI10ImGuiTableE5ClearEv(ptr noundef nonnull align 8 dereferenceable(36)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI13ImDrawChannelE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorIcE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN19ImGuiInputTextState15ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(3736)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13ImChunkStreamI19ImGuiWindowSettingsE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI20ImGuiSettingsHandlerE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15ImGuiTextBuffer5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

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


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

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@stdout = external local_unnamed_addr global ptr, align 8

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z11ImFileCloseP8_IO_FILE(ptr noundef) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorIjE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

declare void @_ZN10ImDrawList16_ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(196)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorIP11ImGuiWindowE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui17SetCurrentContextEP12ImGuiContext(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui8ShutdownEP12ImGuiContext(ptr noundef %0) local_unnamed_addr #0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 168
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %9, label %4

4:                                                ; preds = %1
  %5 = getelementptr inbounds i8, ptr %0, i64 1
  %6 = load i8, ptr %5, align 1, !tbaa !72, !range !73, !noundef !74
  %7 = trunc nuw i8 %6 to i1
  br i1 %7, label %8, label %9

8:                                                ; preds = %4
  store i8 0, ptr %3, align 8, !tbaa !75
  tail call void @_Z9IM_DELETEI11ImFontAtlasEvPT_(ptr noundef nonnull %3)
  br label %9

9:                                                ; preds = %8, %4, %1
  store ptr null, ptr %2, align 8, !tbaa !5
  %10 = load i8, ptr %0, align 8, !tbaa !79, !range !73, !noundef !74
  %11 = trunc nuw i8 %10 to i1
  br i1 %11, label %12, label %68

12:                                               ; preds = %9
  %13 = getelementptr inbounds i8, ptr %0, i64 12513
  %14 = load i8, ptr %13, align 1, !tbaa !80, !range !73, !noundef !74
  %15 = trunc nuw i8 %14 to i1
  br i1 %15, label %16, label %22

16:                                               ; preds = %12
  %17 = getelementptr inbounds i8, ptr %0, i64 32
  %18 = load ptr, ptr %17, align 8, !tbaa !81
  %.not57 = icmp eq ptr %18, null
  br i1 %.not57, label %22, label %19

19:                                               ; preds = %16
  %20 = load ptr, ptr @GImGui, align 8, !tbaa !82
  tail call void @_ZN5ImGui17SetCurrentContextEP12ImGuiContext(ptr noundef nonnull %0)
  %21 = load ptr, ptr %17, align 8, !tbaa !81
  tail call void @_ZN5ImGui21SaveIniSettingsToDiskEPKc(ptr noundef %21)
  tail call void @_ZN5ImGui17SetCurrentContextEP12ImGuiContext(ptr noundef %20)
  br label %22

22:                                               ; preds = %19, %16, %12
  tail call void @_ZN5ImGui16CallContextHooksEP12ImGuiContext20ImGuiContextHookType(ptr noundef nonnull %0, i32 noundef 6)
  %23 = getelementptr inbounds i8, ptr %0, i64 6792
  %24 = load i32, ptr %23, align 8, !tbaa !83
  %25 = icmp sgt i32 %24, 0
  br i1 %25, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %22
  tail call void @_ZN8ImVectorIP11ImGuiWindowE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %23)
  %26 = getelementptr inbounds i8, ptr %0, i64 6808
  tail call void @_ZN8ImVectorIP11ImGuiWindowE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %26)
  %27 = getelementptr inbounds i8, ptr %0, i64 6824
  tail call void @_ZN8ImVectorIP11ImGuiWindowE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %27)
  %28 = getelementptr inbounds i8, ptr %0, i64 6880
  store ptr null, ptr %28, align 8, !tbaa !84
  %29 = getelementptr inbounds i8, ptr %0, i64 6840
  tail call void @_ZN8ImVectorIP11ImGuiWindowE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %29)
  %30 = getelementptr inbounds i8, ptr %0, i64 6856
  tail call void @_ZN12ImGuiStorage5ClearEv(ptr noundef nonnull align 8 dereferenceable(16) %30)
  %31 = getelementptr inbounds i8, ptr %0, i64 7312
  store ptr null, ptr %31, align 8, !tbaa !85
  %32 = getelementptr inbounds i8, ptr %0, i64 6888
  %33 = getelementptr inbounds i8, ptr %0, i64 7032
  store ptr null, ptr %33, align 8, !tbaa !86
  %34 = getelementptr inbounds i8, ptr %0, i64 7008
  store ptr null, ptr %34, align 8, !tbaa !87
  %35 = getelementptr inbounds i8, ptr %0, i64 7184
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %32, i8 0, i64 32, i1 false)
  tail call void @_ZN8ImVectorI13ImGuiColorModE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %35)
  %36 = getelementptr inbounds i8, ptr %0, i64 7200
  tail call void @_ZN8ImVectorI13ImGuiStyleModE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %36)
  %37 = getelementptr inbounds i8, ptr %0, i64 7216
  tail call void @_ZN8ImVectorIP6ImFontE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %37)
  %38 = getelementptr inbounds i8, ptr %0, i64 7280
  tail call void @_ZN8ImVectorI14ImGuiPopupDataE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %38)
  %39 = getelementptr inbounds i8, ptr %0, i64 7296
  tail call void @_ZN8ImVectorI14ImGuiPopupDataE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %39)
  %40 = getelementptr inbounds i8, ptr %0, i64 7752
  tail call void @_ZN17ImDrawDataBuilder15ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(32) %40)
  %41 = getelementptr inbounds i8, ptr %0, i64 7792
  tail call void @_ZN10ImDrawList16_ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(196) %41)
  %42 = getelementptr inbounds i8, ptr %0, i64 7992
  tail call void @_ZN10ImDrawList16_ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(196) %42)
  %43 = getelementptr inbounds i8, ptr %0, i64 8464
  tail call void @_ZN6ImPoolI11ImGuiTabBarE5ClearEv(ptr noundef nonnull align 8 dereferenceable(36) %43)
  %44 = getelementptr inbounds i8, ptr %0, i64 8504
  tail call void @_ZN8ImVectorI15ImGuiPtrOrIndexE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %44)
  %45 = getelementptr inbounds i8, ptr %0, i64 8520
  tail call void @_ZN8ImVectorI20ImGuiShrinkWidthItemE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %45)
  %46 = getelementptr inbounds i8, ptr %0, i64 8368
  tail call void @_ZN6ImPoolI10ImGuiTableE5ClearEv(ptr noundef nonnull align 8 dereferenceable(36) %46)
  %47 = getelementptr inbounds i8, ptr %0, i64 8408
  tail call void @_ZN8ImVectorI15ImGuiPtrOrIndexE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %47)
  %48 = getelementptr inbounds i8, ptr %0, i64 8440
  tail call void @_ZN8ImVectorI13ImDrawChannelE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %48)
  %49 = getelementptr inbounds i8, ptr %0, i64 12464
  tail call void @_ZN8ImVectorIcE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %49)
  %50 = getelementptr inbounds i8, ptr %0, i64 12480
  tail call void @_ZN8ImVectorIjE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %50)
  %51 = getelementptr inbounds i8, ptr %0, i64 8544
  tail call void @_ZN19ImGuiInputTextState15ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(3736) %51)
  %52 = getelementptr inbounds i8, ptr %0, i64 12552
  tail call void @_ZN13ImChunkStreamI19ImGuiWindowSettingsE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %52)
  %53 = getelementptr inbounds i8, ptr %0, i64 12536
  tail call void @_ZN8ImVectorI20ImGuiSettingsHandlerE5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %53)
  %54 = getelementptr inbounds i8, ptr %0, i64 12608
  %55 = load ptr, ptr %54, align 8, !tbaa !88
  %.not58 = icmp eq ptr %55, null
  br i1 %.not58, label %66, label %61

.lr.ph:                                           ; preds = %22, %.lr.ph
  %.060 = phi i32 [ %58, %.lr.ph ], [ 0, %22 ]
  %56 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP11ImGuiWindowEixEi(ptr noundef nonnull align 8 dereferenceable(16) %23, i32 noundef %.060)
  %57 = load ptr, ptr %56, align 8, !tbaa !82
  tail call void @_Z9IM_DELETEI11ImGuiWindowEvPT_(ptr noundef %57)
  %58 = add nuw nsw i32 %.060, 1
  %59 = load i32, ptr %23, align 8, !tbaa !83
  %60 = icmp slt i32 %58, %59
  br i1 %60, label %.lr.ph, label %._crit_edge, !llvm.loop !89

61:                                               ; preds = %._crit_edge
  %62 = load ptr, ptr @stdout, align 8, !tbaa !82
  %.not59 = icmp eq ptr %55, %62
  br i1 %.not59, label %65, label %63

63:                                               ; preds = %61
  %64 = tail call noundef zeroext i1 @_Z11ImFileCloseP8_IO_FILE(ptr noundef nonnull %55)
  br label %65

65:                                               ; preds = %63, %61
  store ptr null, ptr %54, align 8, !tbaa !88
  br label %66

66:                                               ; preds = %65, %._crit_edge
  %67 = getelementptr inbounds i8, ptr %0, i64 12616
  tail call void @_ZN15ImGuiTextBuffer5clearEv(ptr noundef nonnull align 8 dereferenceable(16) %67)
  store i8 0, ptr %0, align 8, !tbaa !79
  br label %68

68:                                               ; preds = %9, %66
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui16CallContextHooksEP12ImGuiContext20ImGuiContextHookType(ptr noundef, i32 noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9IM_DELETEI11ImFontAtlasEvPT_(ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui21SaveIniSettingsToDiskEPKc(ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9IM_DELETEI11ImGuiWindowEvPT_(ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12ImGuiStorage5ClearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI13ImGuiColorModE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI13ImGuiStyleModE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorIP6ImFontE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI14ImGuiPopupDataE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17ImDrawDataBuilder15ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImPoolI11ImGuiTabBarE5ClearEv(ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI15ImGuiPtrOrIndexE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI20ImGuiShrinkWidthItemE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImPoolI10ImGuiTableE5ClearEv(ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI13ImDrawChannelE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorIcE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN19ImGuiInputTextState15ClearFreeMemoryEv(ptr noundef nonnull align 8 dereferenceable(3736)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13ImChunkStreamI19ImGuiWindowSettingsE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI20ImGuiSettingsHandlerE5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15ImGuiTextBuffer5clearEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

attributes #0 = { 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 #1 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "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 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }

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


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