; LLVM IR from theolundqvist/parallax-voxel-ray-marcher :: src/external/Dear ImGui/imgui.ll (ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindowb)

; 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, 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.4, %struct.ImGuiStorage, i32, %struct.ImVec2, [4 x i8], 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, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, [4 x i8], %struct.ImGuiNextWindowData, %struct.ImVector.5, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImVector.11, %struct.ImVector.12, 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.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, ptr, i32, [4 x i8], ptr, ptr, ptr, float, float, i8, [7 x i8], ptr, ptr, i32, i32, i32, i32, i8, [3 x i8], float, i32, i8, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, [4 x i8], %struct.ImVector.13, [16 x i8], ptr, i32, [4 x i8], %struct.ImPool, %struct.ImVector.15, %struct.ImVector.16, %struct.ImVector.17, ptr, %struct.ImPool.18, %struct.ImVector.20, %struct.ImVector.21, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, [3 x float], %struct.ImVec4, %struct.ImGuiComboPreviewData, float, i8, i8, [2 x i8], float, float, float, float, i32, float, [4 x i8], %struct.ImVector.2, %struct.ImVector.8, %struct.ImVec2, %struct.ImVec2, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.23, %struct.ImChunkStream, %struct.ImChunkStream.24, %struct.ImVector.25, i32, i8, [3 x i8], i32, [4 x i8], ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, %struct.ImGuiMetricsConfig, [120 x float], i32, 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, [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], [20 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, i32, 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], [20 x float], [20 x float], float, i16, %struct.ImVector }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiStyle = type { float, 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, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.0 }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect }
%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.ImVector.5 = type { i32, i32, ptr }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImGuiNavItemData = type <{ ptr, i32, i32, %struct.ImRect, float, float, float, [4 x i8] }>
%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.13 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.14, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImPool.18 = type { %struct.ImVector.19, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = 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.16, float, float, %struct.ImVector, %struct.ImVector.22, ptr, ptr, ptr, i16, i16, i16, i16, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVec2 = type { float, float }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.2 }
%struct.ImChunkStream.24 = type { %struct.ImVector.2 }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.2 }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiPopupData = type { i32, ptr, ptr, i32, i32, %struct.ImVec2, %struct.ImVec2 }
%struct.ImGuiWindow = type <{ ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i16, [2 x i8], i32, i8, i8, i8, i8, i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.8, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImVec2ih, %struct.ImVec2ih, i32, float, float, [4 x i8], %struct.ImGuiStorage, %struct.ImVector.26, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i32, i32, i8, [7 x i8] }>
%struct.ImGuiWindowTempData = type <{ %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, i32, i16, i16, i32, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.3, ptr, ptr, i32, i32, i32, i32, i32, float, float, [4 x i8], %struct.ImVector.16, %struct.ImVector.16, %struct.ImGuiStackSizes, [2 x i8] }>
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImGuiStackSizes = type { i16, i16, i16, i16, i16, i16, i16 }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.27, %struct.ImVector, %struct.ImVector.28, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.29, %struct.ImVector.30, %struct.ImVector.31, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.17 }

@GImGui = external dso_local global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.183 = external hidden unnamed_addr constant [52 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindowb = external hidden unnamed_addr constant [55 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindowb(ptr noundef %0, i1 noundef zeroext %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca i8, align 1
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i8, align 1
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  %12 = zext i1 %1 to i8
  store i8 %12, ptr %4, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %13 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %13, ptr %5, align 8, !tbaa !5
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.ImGuiContext, ptr %14, i32 0, i32 81
  %16 = getelementptr inbounds %struct.ImVector.11, ptr %15, i32 0, i32 0
  %17 = load i32, ptr %16, align 8, !tbaa !11
  %18 = icmp eq i32 %17, 0
  br i1 %18, label %19, label %20

19:                                               ; preds = %2
  store i32 1, ptr %6, align 4
  br label %123

20:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !69
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  %22 = icmp ne ptr %21, null
  br i1 %22, label %23, label %111

23:                                               ; preds = %20
  br label %24

24:                                               ; preds = %107, %23
  %25 = load i32, ptr %7, align 4, !tbaa !69
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.ImGuiContext, ptr %26, i32 0, i32 81
  %28 = getelementptr inbounds %struct.ImVector.11, ptr %27, i32 0, i32 0
  %29 = load i32, ptr %28, align 8, !tbaa !11
  %30 = icmp slt i32 %25, %29
  br i1 %30, label %31, label %110

31:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.ImGuiContext, ptr %32, i32 0, i32 81
  %34 = load i32, ptr %7, align 4, !tbaa !69
  %35 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %33, i32 noundef %34)
  store ptr %35, ptr %8, align 8, !tbaa !5
  %36 = load ptr, ptr %8, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.ImGuiPopupData, ptr %36, i32 0, i32 1
  %38 = load ptr, ptr %37, align 8, !tbaa !70
  %39 = icmp ne ptr %38, null
  br i1 %39, label %41, label %40

40:                                               ; preds = %31
  store i32 4, ptr %6, align 4
  br label %104

41:                                               ; preds = %31
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.ImGuiPopupData, ptr %42, i32 0, i32 1
  %44 = load ptr, ptr %43, align 8, !tbaa !70
  %45 = getelementptr inbounds %struct.ImGuiWindow, ptr %44, i32 0, i32 2
  %46 = load i32, ptr %45, align 4, !tbaa !72
  %47 = and i32 %46, 67108864
  %48 = icmp ne i32 %47, 0
  br i1 %48, label %49, label %50

49:                                               ; preds = %41
  br label %52

50:                                               ; preds = %41
  call void @__assert_fail(ptr noundef @.str.183, ptr noundef @.str.3, i32 noundef 8282, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindowb) #5
  unreachable

51:                                               ; No predecessors!
  br label %52

52:                                               ; preds = %51, %49
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.ImGuiPopupData, ptr %53, i32 0, i32 1
  %55 = load ptr, ptr %54, align 8, !tbaa !70
  %56 = getelementptr inbounds %struct.ImGuiWindow, ptr %55, i32 0, i32 2
  %57 = load i32, ptr %56, align 4, !tbaa !72
  %58 = and i32 %57, 16777216
  %59 = icmp ne i32 %58, 0
  br i1 %59, label %60, label %61

60:                                               ; preds = %52
  store i32 4, ptr %6, align 4
  br label %104

61:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #4
  store i8 0, ptr %9, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %62 = load i32, ptr %7, align 4, !tbaa !69
  store i32 %62, ptr %10, align 4, !tbaa !69
  br label %63

63:                                               ; preds = %94, %61
  %64 = load i32, ptr %10, align 4, !tbaa !69
  %65 = load ptr, ptr %5, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.ImGuiContext, ptr %65, i32 0, i32 81
  %67 = getelementptr inbounds %struct.ImVector.11, ptr %66, i32 0, i32 0
  %68 = load i32, ptr %67, align 8, !tbaa !11
  %69 = icmp slt i32 %64, %68
  br i1 %69, label %71, label %70

70:                                               ; preds = %63
  store i32 5, ptr %6, align 4
  br label %97

71:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.ImGuiContext, ptr %72, i32 0, i32 81
  %74 = load i32, ptr %10, align 4, !tbaa !69
  %75 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %73, i32 noundef %74)
  %76 = getelementptr inbounds %struct.ImGuiPopupData, ptr %75, i32 0, i32 1
  %77 = load ptr, ptr %76, align 8, !tbaa !70
  store ptr %77, ptr %11, align 8, !tbaa !5
  %78 = load ptr, ptr %11, align 8, !tbaa !5
  %79 = icmp ne ptr %78, null
  br i1 %79, label %80, label %90

80:                                               ; preds = %71
  %81 = load ptr, ptr %11, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.ImGuiWindow, ptr %81, i32 0, i32 75
  %83 = load ptr, ptr %82, align 8, !tbaa !88
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.ImGuiWindow, ptr %84, i32 0, i32 75
  %86 = load ptr, ptr %85, align 8, !tbaa !88
  %87 = icmp eq ptr %83, %86
  br i1 %87, label %88, label %89

88:                                               ; preds = %80
  store i8 1, ptr %9, align 1, !tbaa !9
  store i32 5, ptr %6, align 4
  br label %91

89:                                               ; preds = %80
  br label %90

90:                                               ; preds = %89, %71
  store i32 0, ptr %6, align 4
  br label %91

91:                                               ; preds = %90, %88
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  %92 = load i32, ptr %6, align 4
  switch i32 %92, label %97 [
    i32 0, label %93
  ]

93:                                               ; preds = %91
  br label %94

94:                                               ; preds = %93
  %95 = load i32, ptr %10, align 4, !tbaa !69
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %10, align 4, !tbaa !69
  br label %63, !llvm.loop !89

97:                                               ; preds = %91, %70
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %98

98:                                               ; preds = %97
  %99 = load i8, ptr %9, align 1, !tbaa !9, !range !91, !noundef !92
  %100 = trunc i8 %99 to i1
  br i1 %100, label %102, label %101

101:                                              ; preds = %98
  store i32 2, ptr %6, align 4
  br label %103

102:                                              ; preds = %98
  store i32 0, ptr %6, align 4
  br label %103

103:                                              ; preds = %102, %101
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #4
  br label %104

104:                                              ; preds = %103, %60, %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  %105 = load i32, ptr %6, align 4
  switch i32 %105, label %126 [
    i32 0, label %106
    i32 4, label %107
    i32 2, label %110
  ]

106:                                              ; preds = %104
  br label %107

107:                                              ; preds = %106, %104
  %108 = load i32, ptr %7, align 4, !tbaa !69
  %109 = add nsw i32 %108, 1
  store i32 %109, ptr %7, align 4, !tbaa !69
  br label %24, !llvm.loop !93

110:                                              ; preds = %104, %24
  br label %111

111:                                              ; preds = %110, %20
  %112 = load i32, ptr %7, align 4, !tbaa !69
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.ImGuiContext, ptr %113, i32 0, i32 81
  %115 = getelementptr inbounds %struct.ImVector.11, ptr %114, i32 0, i32 0
  %116 = load i32, ptr %115, align 8, !tbaa !11
  %117 = icmp slt i32 %112, %116
  br i1 %117, label %118, label %122

118:                                              ; preds = %111
  %119 = load i32, ptr %7, align 4, !tbaa !69
  %120 = load i8, ptr %4, align 1, !tbaa !9, !range !91, !noundef !92
  %121 = trunc i8 %120 to i1
  call void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef %119, i1 noundef zeroext %121)
  br label %122

122:                                              ; preds = %118, %111
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  store i32 0, ptr %6, align 4
  br label %123

123:                                              ; preds = %122, %19
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  %124 = load i32, ptr %6, align 4
  switch i32 %124, label %126 [
    i32 0, label %125
    i32 1, label %125
  ]

125:                                              ; preds = %123, %123
  ret void

126:                                              ; preds = %123, %104
  unreachable
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef, i1 noundef zeroext) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { 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, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !14, i64 7616}
!12 = !{!"_ZTS12ImGuiContext", !10, i64 0, !10, i64 1, !13, i64 8, !19, i64 5464, !6, i64 6512, !16, i64 6520, !16, i64 6524, !20, i64 6528, !22, i64 7040, !14, i64 7048, !14, i64 7052, !14, i64 7056, !10, i64 7060, !10, i64 7061, !10, i64 7062, !10, i64 7063, !10, i64 7064, !14, i64 7068, !6, i64 7072, !23, i64 7080, !23, i64 7096, !23, i64 7112, !24, i64 7128, !25, i64 7144, !14, i64 7160, !15, i64 7164, !6, i64 7176, !6, i64 7184, !6, i64 7192, !6, i64 7200, !6, i64 7208, !15, i64 7216, !16, i64 7224, !14, i64 7228, !14, i64 7232, !10, i64 7236, !10, i64 7237, !10, i64 7238, !10, i64 7239, !16, i64 7240, !16, i64 7244, !14, i64 7248, !14, i64 7252, !16, i64 7256, !10, i64 7260, !10, i64 7261, !10, i64 7262, !10, i64 7263, !10, i64 7264, !10, i64 7265, !10, i64 7266, !14, i64 7268, !14, i64 7272, !27, i64 7280, !15, i64 7288, !6, i64 7296, !28, i64 7304, !14, i64 7308, !14, i64 7312, !10, i64 7316, !10, i64 7317, !6, i64 7320, !14, i64 7328, !16, i64 7332, !14, i64 7336, !29, i64 7340, !30, i64 7360, !32, i64 7408, !33, i64 7520, !34, i64 7536, !35, i64 7552, !36, i64 7568, !37, i64 7584, !38, i64 7600, !39, i64 7616, !39, i64 7632, !40, i64 7648, !6, i64 7664, !14, i64 7672, !14, i64 7676, !14, i64 7680, !14, i64 7684, !14, i64 7688, !14, i64 7692, !14, i64 7696, !14, i64 7700, !14, i64 7704, !14, i64 7708, !14, i64 7712, !28, i64 7716, !31, i64 7720, !14, i64 7736, !41, i64 7740, !14, i64 7744, !10, i64 7748, !10, i64 7749, !10, i64 7750, !10, i64 7751, !10, i64 7752, !10, i64 7753, !10, i64 7754, !14, i64 7756, !31, i64 7760, !10, i64 7776, !14, i64 7780, !42, i64 7784, !14, i64 7788, !14, i64 7792, !14, i64 7796, !14, i64 7800, !43, i64 7808, !43, i64 7856, !43, i64 7904, !6, i64 7952, !14, i64 7960, !6, i64 7968, !6, i64 7976, !6, i64 7984, !16, i64 7992, !16, i64 7996, !10, i64 8000, !6, i64 8008, !6, i64 8016, !14, i64 8024, !14, i64 8028, !14, i64 8032, !14, i64 8036, !10, i64 8040, !16, i64 8044, !14, i64 8048, !10, i64 8052, !10, i64 8053, !10, i64 8054, !14, i64 8056, !14, i64 8060, !14, i64 8064, !44, i64 8072, !31, i64 8136, !14, i64 8152, !14, i64 8156, !16, i64 8160, !14, i64 8164, !14, i64 8168, !14, i64 8172, !14, i64 8176, !45, i64 8184, !7, i64 8200, !6, i64 8216, !14, i64 8224, !46, i64 8232, !48, i64 8272, !49, i64 8288, !50, i64 8304, !6, i64 8320, !51, i64 8328, !53, i64 8368, !54, i64 8384, !15, i64 8400, !55, i64 8408, !59, i64 12144, !14, i64 12256, !14, i64 12260, !16, i64 12264, !16, i64 12268, !7, i64 12272, !21, i64 12284, !61, i64 12300, !16, i64 12348, !10, i64 12352, !10, i64 12353, !16, i64 12356, !16, i64 12360, !16, i64 12364, !16, i64 12368, !14, i64 12372, !16, i64 12376, !56, i64 12384, !36, i64 12400, !15, i64 12416, !15, i64 12424, !7, i64 12432, !10, i64 12433, !16, i64 12436, !62, i64 12440, !63, i64 12456, !64, i64 12472, !65, i64 12488, !66, i64 12504, !14, i64 12520, !10, i64 12524, !67, i64 12528, !6, i64 12536, !62, i64 12544, !6, i64 12560, !6, i64 12568, !16, i64 12576, !10, i64 12580, !14, i64 12584, !14, i64 12588, !14, i64 12592, !10, i64 12596, !14, i64 12600, !68, i64 12604, !7, i64 12620, !14, i64 13100, !14, i64 13104, !16, i64 13108, !14, i64 13112, !14, i64 13116, !14, i64 13120, !7, i64 13124}
!13 = !{!"_ZTS7ImGuiIO", !14, i64 0, !14, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !6, i64 24, !6, i64 32, !16, i64 40, !16, i64 44, !16, i64 48, !7, i64 52, !16, i64 140, !16, i64 144, !6, i64 152, !6, i64 160, !16, i64 168, !10, i64 172, !6, i64 176, !15, i64 184, !10, i64 192, !10, i64 193, !10, i64 194, !10, i64 195, !10, i64 196, !10, i64 197, !16, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !15, i64 288, !7, i64 296, !16, i64 304, !16, i64 308, !10, i64 312, !10, i64 313, !10, i64 314, !10, i64 315, !7, i64 316, !7, i64 828, !10, i64 908, !10, i64 909, !10, i64 910, !10, i64 911, !10, i64 912, !10, i64 913, !10, i64 914, !16, i64 916, !14, i64 920, !14, i64 924, !14, i64 928, !14, i64 932, !14, i64 936, !15, i64 940, !14, i64 948, !14, i64 952, !15, i64 956, !7, i64 964, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5352, !16, i64 5432, !17, i64 5436, !18, i64 5440}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTS6ImVec2", !16, i64 0, !16, i64 4}
!16 = !{!"float", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTS8ImVectorItE", !14, i64 0, !14, i64 4, !6, i64 8}
!19 = !{!"_ZTS10ImGuiStyle", !16, i64 0, !16, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !15, i64 24, !15, i64 32, !14, i64 40, !16, i64 44, !16, i64 48, !16, i64 52, !16, i64 56, !15, i64 60, !16, i64 68, !16, i64 72, !15, i64 76, !15, i64 84, !15, i64 92, !15, i64 100, !16, i64 108, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124, !16, i64 128, !16, i64 132, !16, i64 136, !16, i64 140, !16, i64 144, !14, i64 148, !15, i64 152, !15, i64 160, !15, i64 168, !15, i64 176, !16, i64 184, !10, i64 188, !10, i64 189, !10, i64 190, !16, i64 192, !16, i64 196, !7, i64 200}
!20 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !6, i64 8, !16, i64 16, !16, i64 20, !16, i64 24, !21, i64 28, !14, i64 44, !7, i64 48, !16, i64 432, !7, i64 436, !6, i64 504}
!21 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!22 = !{!"double", !7, i64 0}
!23 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !14, i64 0, !14, i64 4, !6, i64 8}
!24 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!25 = !{!"_ZTS12ImGuiStorage", !26, i64 0}
!26 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !14, i64 0, !14, i64 4, !6, i64 8}
!27 = !{!"long long", !7, i64 0}
!28 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!29 = !{!"_ZTS17ImGuiNextItemData", !14, i64 0, !16, i64 4, !14, i64 8, !14, i64 12, !10, i64 16}
!30 = !{!"_ZTS17ImGuiLastItemData", !14, i64 0, !14, i64 4, !14, i64 8, !31, i64 12, !31, i64 28}
!31 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!32 = !{!"_ZTS19ImGuiNextWindowData", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !10, i64 56, !31, i64 60, !6, i64 80, !6, i64 88, !16, i64 96, !15, i64 100}
!33 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !14, i64 0, !14, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !14, i64 0, !14, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorIP6ImFontE", !14, i64 0, !14, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorIjE", !14, i64 0, !14, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorIiE", !14, i64 0, !14, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !14, i64 0, !14, i64 4, !6, i64 8}
!41 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!42 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!43 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !14, i64 8, !14, i64 12, !31, i64 16, !16, i64 32, !16, i64 36, !16, i64 40}
!44 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !7, i64 24, !10, i64 57, !10, i64 58}
!45 = !{!"_ZTS8ImVectorIhE", !14, i64 0, !14, i64 4, !6, i64 8}
!46 = !{!"_ZTS6ImPoolI10ImGuiTableE", !47, i64 0, !25, i64 16, !14, i64 32, !14, i64 36}
!47 = !{!"_ZTS8ImVectorI10ImGuiTableE", !14, i64 0, !14, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !14, i64 0, !14, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorIfE", !14, i64 0, !14, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !14, i64 0, !14, i64 4, !6, i64 8}
!51 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !52, i64 0, !25, i64 16, !14, i64 32, !14, i64 36}
!52 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !14, i64 0, !14, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !14, i64 0, !14, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !14, i64 0, !14, i64 4, !6, i64 8}
!55 = !{!"_ZTS19ImGuiInputTextState", !14, i64 0, !14, i64 4, !14, i64 8, !18, i64 16, !56, i64 32, !56, i64 48, !10, i64 64, !14, i64 68, !16, i64 72, !57, i64 76, !16, i64 3704, !10, i64 3708, !10, i64 3709, !10, i64 3710, !14, i64 3712, !6, i64 3720, !6, i64 3728}
!56 = !{!"_ZTS8ImVectorIcE", !14, i64 0, !14, i64 4, !6, i64 8}
!57 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !14, i64 0, !14, i64 4, !14, i64 8, !7, i64 12, !14, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !16, i64 28, !58, i64 32}
!58 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !17, i64 3582, !17, i64 3584, !14, i64 3588, !14, i64 3592}
!59 = !{!"_ZTS6ImFont", !49, i64 0, !16, i64 16, !16, i64 20, !18, i64 24, !60, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !17, i64 80, !17, i64 82, !17, i64 84, !17, i64 86, !10, i64 88, !16, i64 92, !16, i64 96, !16, i64 100, !14, i64 104, !7, i64 108}
!60 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !14, i64 0, !14, i64 4, !6, i64 8}
!61 = !{!"_ZTS21ImGuiComboPreviewData", !31, i64 0, !15, i64 16, !15, i64 24, !15, i64 32, !16, i64 40, !14, i64 44}
!62 = !{!"_ZTS15ImGuiTextBuffer", !56, i64 0}
!63 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !14, i64 0, !14, i64 4, !6, i64 8}
!64 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !56, i64 0}
!65 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !56, i64 0}
!66 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !14, i64 0, !14, i64 4, !6, i64 8}
!67 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!68 = !{!"_ZTS18ImGuiMetricsConfig", !10, i64 0, !10, i64 1, !10, i64 2, !10, i64 3, !10, i64 4, !14, i64 8, !14, i64 12}
!69 = !{!14, !14, i64 0}
!70 = !{!71, !6, i64 8}
!71 = !{!"_ZTS14ImGuiPopupData", !14, i64 0, !6, i64 8, !6, i64 16, !14, i64 24, !14, i64 28, !15, i64 32, !15, i64 40}
!72 = !{!73, !14, i64 12}
!73 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !14, i64 8, !14, i64 12, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !15, i64 56, !15, i64 64, !16, i64 72, !16, i64 76, !14, i64 80, !14, i64 84, !14, i64 88, !15, i64 92, !15, i64 100, !15, i64 108, !15, i64 116, !15, i64 124, !15, i64 132, !10, i64 140, !10, i64 141, !10, i64 142, !10, i64 143, !10, i64 144, !10, i64 145, !10, i64 146, !10, i64 147, !10, i64 148, !10, i64 149, !10, i64 150, !10, i64 151, !7, i64 152, !17, i64 154, !17, i64 156, !17, i64 158, !17, i64 160, !14, i64 164, !7, i64 168, !7, i64 169, !7, i64 170, !10, i64 171, !14, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !7, i64 179, !14, i64 180, !14, i64 181, !14, i64 182, !15, i64 184, !15, i64 192, !36, i64 200, !74, i64 216, !31, i64 464, !31, i64 480, !31, i64 496, !31, i64 512, !31, i64 528, !31, i64 544, !31, i64 560, !78, i64 576, !78, i64 580, !14, i64 584, !16, i64 588, !16, i64 592, !25, i64 600, !79, i64 616, !16, i64 632, !14, i64 636, !6, i64 640, !80, i64 648, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !7, i64 888, !7, i64 896, !14, i64 928, !14, i64 932, !10, i64 936}
!74 = !{!"_ZTS19ImGuiWindowTempData", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !16, i64 56, !16, i64 60, !75, i64 64, !75, i64 68, !75, i64 72, !41, i64 76, !17, i64 80, !17, i64 82, !14, i64 84, !10, i64 88, !10, i64 89, !10, i64 90, !15, i64 92, !76, i64 100, !14, i64 128, !14, i64 132, !23, i64 136, !6, i64 152, !6, i64 160, !14, i64 168, !14, i64 172, !14, i64 176, !14, i64 180, !14, i64 184, !16, i64 188, !16, i64 192, !49, i64 200, !49, i64 216, !77, i64 232}
!75 = !{!"_ZTS6ImVec1", !16, i64 0}
!76 = !{!"_ZTS16ImGuiMenuColumns", !14, i64 0, !14, i64 4, !17, i64 8, !17, i64 10, !17, i64 12, !17, i64 14, !17, i64 16, !7, i64 18}
!77 = !{!"_ZTS15ImGuiStackSizes", !17, i64 0, !17, i64 2, !17, i64 4, !17, i64 6, !17, i64 8, !17, i64 10, !17, i64 12}
!78 = !{!"_ZTS8ImVec2ih", !17, i64 0, !17, i64 2}
!79 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !14, i64 0, !14, i64 4, !6, i64 8}
!80 = !{!"_ZTS10ImDrawList", !81, i64 0, !18, i64 16, !82, i64 32, !14, i64 48, !14, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !83, i64 88, !84, i64 104, !85, i64 120, !86, i64 136, !87, i64 168, !16, i64 192}
!81 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !14, i64 0, !14, i64 4, !6, i64 8}
!82 = !{!"_ZTS8ImVectorI10ImDrawVertE", !14, i64 0, !14, i64 4, !6, i64 8}
!83 = !{!"_ZTS8ImVectorI6ImVec4E", !14, i64 0, !14, i64 4, !6, i64 8}
!84 = !{!"_ZTS8ImVectorIPvE", !14, i64 0, !14, i64 4, !6, i64 8}
!85 = !{!"_ZTS8ImVectorI6ImVec2E", !14, i64 0, !14, i64 4, !6, i64 8}
!86 = !{!"_ZTS15ImDrawCmdHeader", !21, i64 0, !6, i64 16, !14, i64 24}
!87 = !{!"_ZTS18ImDrawListSplitter", !14, i64 0, !14, i64 4, !50, i64 8}
!88 = !{!73, !6, i64 856}
!89 = distinct !{!89, !90}
!90 = !{!"llvm.loop.mustprogress"}
!91 = !{i8 0, i8 2}
!92 = !{}
!93 = distinct !{!93, !90}


; 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
@.str.3 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.183 = external hidden unnamed_addr constant [52 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindowb = external hidden unnamed_addr constant [55 x i8], align 1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindowb(ptr noundef readonly %0, i1 noundef zeroext %1) local_unnamed_addr #1 {
  %3 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %3, i64 7616
  %5 = load i32, ptr %4, align 8, !tbaa !9
  %6 = icmp eq i32 %5, 0
  br i1 %6, label %41, label %7

7:                                                ; preds = %2
  %.not = icmp ne ptr %0, null
  %8 = icmp sgt i32 %5, 0
  %or.cond = and i1 %.not, %8
  br i1 %or.cond, label %.lr.ph56, label %.loopexit

.lr.ph56:                                         ; preds = %7
  %9 = getelementptr inbounds i8, ptr %0, i64 856
  br label %10

10:                                               ; preds = %.lr.ph56, %.thread44
  %.02955 = phi i32 [ 0, %.lr.ph56 ], [ %35, %.thread44 ]
  %11 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %.02955)
  %12 = getelementptr inbounds i8, ptr %11, i64 8
  %13 = load ptr, ptr %12, align 8, !tbaa !68
  %.not33 = icmp eq ptr %13, null
  br i1 %.not33, label %.thread44, label %14

14:                                               ; preds = %10
  %15 = getelementptr inbounds i8, ptr %13, i64 12
  %16 = load i32, ptr %15, align 4, !tbaa !70
  %17 = and i32 %16, 67108864
  %.not34 = icmp eq i32 %17, 0
  br i1 %.not34, label %18, label %19

18:                                               ; preds = %14
  tail call void @__assert_fail(ptr noundef nonnull @.str.183, ptr noundef nonnull @.str.3, i32 noundef 8282, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui21ClosePopupsOverWindowEP11ImGuiWindowb) #3
  unreachable

19:                                               ; preds = %14
  %20 = and i32 %16, 16777216
  %.not35 = icmp eq i32 %20, 0
  br i1 %.not35, label %.preheader, label %.thread44

.preheader:                                       ; preds = %19
  %21 = load i32, ptr %4, align 8, !tbaa !9
  %22 = icmp slt i32 %.02955, %21
  br i1 %22, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %.preheader, %31
  %.02553 = phi i32 [ %32, %31 ], [ %.02955, %.preheader ]
  %23 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN8ImVectorI14ImGuiPopupDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %.02553)
  %24 = getelementptr inbounds i8, ptr %23, i64 8
  %25 = load ptr, ptr %24, align 8, !tbaa !68
  %.not36 = icmp eq ptr %25, null
  br i1 %.not36, label %31, label %26

26:                                               ; preds = %.lr.ph
  %27 = getelementptr inbounds i8, ptr %25, i64 856
  %28 = load ptr, ptr %27, align 8, !tbaa !86
  %29 = load ptr, ptr %9, align 8, !tbaa !86
  %30 = icmp eq ptr %28, %29
  br i1 %30, label %.thread44, label %31

31:                                               ; preds = %.lr.ph, %26
  %32 = add nuw nsw i32 %.02553, 1
  %33 = load i32, ptr %4, align 8, !tbaa !9
  %34 = icmp slt i32 %32, %33
  br i1 %34, label %.lr.ph, label %.loopexit, !llvm.loop !87

.thread44:                                        ; preds = %26, %19, %10
  %35 = add nuw nsw i32 %.02955, 1
  %36 = load i32, ptr %4, align 8, !tbaa !9
  %37 = icmp slt i32 %35, %36
  br i1 %37, label %10, label %.loopexit, !llvm.loop !89

.loopexit:                                        ; preds = %.thread44, %.preheader, %31, %7
  %38 = phi i32 [ %5, %7 ], [ %33, %31 ], [ %21, %.preheader ], [ %36, %.thread44 ]
  %.130 = phi i32 [ 0, %7 ], [ %.02955, %31 ], [ %.02955, %.preheader ], [ %35, %.thread44 ]
  %39 = icmp slt i32 %.130, %38
  br i1 %39, label %40, label %41

40:                                               ; preds = %.loopexit
  tail call void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef %.130, i1 noundef zeroext %1)
  br label %41

41:                                               ; preds = %.loopexit, %40, %2
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui17ClosePopupToLevelEib(i32 noundef, i1 noundef zeroext) local_unnamed_addr #1

attributes #0 = { 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 #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 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 = { 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, !13, i64 7616}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !18, i64 5464, !6, i64 6512, !15, i64 6520, !15, i64 6524, !19, i64 6528, !21, i64 7040, !13, i64 7048, !13, i64 7052, !13, i64 7056, !11, i64 7060, !11, i64 7061, !11, i64 7062, !11, i64 7063, !11, i64 7064, !13, i64 7068, !6, i64 7072, !22, i64 7080, !22, i64 7096, !22, i64 7112, !23, i64 7128, !24, i64 7144, !13, i64 7160, !14, i64 7164, !6, i64 7176, !6, i64 7184, !6, i64 7192, !6, i64 7200, !6, i64 7208, !14, i64 7216, !15, i64 7224, !13, i64 7228, !13, i64 7232, !11, i64 7236, !11, i64 7237, !11, i64 7238, !11, i64 7239, !15, i64 7240, !15, i64 7244, !13, i64 7248, !13, i64 7252, !15, i64 7256, !11, i64 7260, !11, i64 7261, !11, i64 7262, !11, i64 7263, !11, i64 7264, !11, i64 7265, !11, i64 7266, !13, i64 7268, !13, i64 7272, !26, i64 7280, !14, i64 7288, !6, i64 7296, !27, i64 7304, !13, i64 7308, !13, i64 7312, !11, i64 7316, !11, i64 7317, !6, i64 7320, !13, i64 7328, !15, i64 7332, !13, i64 7336, !28, i64 7340, !29, i64 7360, !31, i64 7408, !32, i64 7520, !33, i64 7536, !34, i64 7552, !35, i64 7568, !36, i64 7584, !37, i64 7600, !38, i64 7616, !38, i64 7632, !39, i64 7648, !6, i64 7664, !13, i64 7672, !13, i64 7676, !13, i64 7680, !13, i64 7684, !13, i64 7688, !13, i64 7692, !13, i64 7696, !13, i64 7700, !13, i64 7704, !13, i64 7708, !13, i64 7712, !27, i64 7716, !30, i64 7720, !13, i64 7736, !40, i64 7740, !13, i64 7744, !11, i64 7748, !11, i64 7749, !11, i64 7750, !11, i64 7751, !11, i64 7752, !11, i64 7753, !11, i64 7754, !13, i64 7756, !30, i64 7760, !11, i64 7776, !13, i64 7780, !41, i64 7784, !13, i64 7788, !13, i64 7792, !13, i64 7796, !13, i64 7800, !42, i64 7808, !42, i64 7856, !42, i64 7904, !6, i64 7952, !13, i64 7960, !6, i64 7968, !6, i64 7976, !6, i64 7984, !15, i64 7992, !15, i64 7996, !11, i64 8000, !6, i64 8008, !6, i64 8016, !13, i64 8024, !13, i64 8028, !13, i64 8032, !13, i64 8036, !11, i64 8040, !15, i64 8044, !13, i64 8048, !11, i64 8052, !11, i64 8053, !11, i64 8054, !13, i64 8056, !13, i64 8060, !13, i64 8064, !43, i64 8072, !30, i64 8136, !13, i64 8152, !13, i64 8156, !15, i64 8160, !13, i64 8164, !13, i64 8168, !13, i64 8172, !13, i64 8176, !44, i64 8184, !7, i64 8200, !6, i64 8216, !13, i64 8224, !45, i64 8232, !47, i64 8272, !48, i64 8288, !49, i64 8304, !6, i64 8320, !50, i64 8328, !52, i64 8368, !53, i64 8384, !14, i64 8400, !54, i64 8408, !58, i64 12144, !13, i64 12256, !13, i64 12260, !15, i64 12264, !15, i64 12268, !7, i64 12272, !20, i64 12284, !60, i64 12300, !15, i64 12348, !11, i64 12352, !11, i64 12353, !15, i64 12356, !15, i64 12360, !15, i64 12364, !15, i64 12368, !13, i64 12372, !15, i64 12376, !55, i64 12384, !35, i64 12400, !14, i64 12416, !14, i64 12424, !7, i64 12432, !11, i64 12433, !15, i64 12436, !61, i64 12440, !62, i64 12456, !63, i64 12472, !64, i64 12488, !65, i64 12504, !13, i64 12520, !11, i64 12524, !66, i64 12528, !6, i64 12536, !61, i64 12544, !6, i64 12560, !6, i64 12568, !15, i64 12576, !11, i64 12580, !13, i64 12584, !13, i64 12588, !13, i64 12592, !11, i64 12596, !13, i64 12600, !67, i64 12604, !7, i64 12620, !13, i64 13100, !13, i64 13104, !15, i64 13108, !13, i64 13112, !13, i64 13116, !13, i64 13120, !7, i64 13124}
!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 908, !11, i64 909, !11, i64 910, !11, i64 911, !11, i64 912, !11, i64 913, !11, i64 914, !15, i64 916, !13, i64 920, !13, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !14, i64 940, !13, i64 948, !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 5352, !15, i64 5432, !16, i64 5436, !17, i64 5440}
!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, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !14, i64 24, !14, i64 32, !13, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !14, i64 60, !15, i64 68, !15, i64 72, !14, i64 76, !14, i64 84, !14, i64 92, !14, i64 100, !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, !15, i64 144, !13, i64 148, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !15, i64 184, !11, i64 188, !11, i64 189, !11, i64 190, !15, i64 192, !15, i64 196, !7, i64 200}
!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, !15, i64 432, !7, i64 436, !6, i64 504}
!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 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!24 = !{!"_ZTS12ImGuiStorage", !25, i64 0}
!25 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"long long", !7, i64 0}
!27 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!28 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !13, i64 8, !13, i64 12, !11, i64 16}
!29 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !30, i64 12, !30, i64 28}
!30 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!31 = !{!"_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, !30, i64 60, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!32 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!40 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!41 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!42 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !30, i64 16, !15, i64 32, !15, i64 36, !15, i64 40}
!43 = !{!"_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}
!44 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS6ImPoolI10ImGuiTableE", !46, i64 0, !24, i64 16, !13, i64 32, !13, i64 36}
!46 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !51, i64 0, !24, i64 16, !13, i64 32, !13, i64 36}
!51 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !17, i64 16, !55, i64 32, !55, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !56, i64 76, !15, i64 3704, !11, i64 3708, !11, i64 3709, !11, i64 3710, !13, i64 3712, !6, i64 3720, !6, i64 3728}
!55 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_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, !57, i64 32}
!57 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!58 = !{!"_ZTS6ImFont", !48, i64 0, !15, i64 16, !15, i64 20, !17, i64 24, !59, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !11, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !13, i64 104, !7, i64 108}
!59 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS21ImGuiComboPreviewData", !30, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!61 = !{!"_ZTS15ImGuiTextBuffer", !55, i64 0}
!62 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!63 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !55, i64 0}
!64 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !55, i64 0}
!65 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!67 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !13, i64 8, !13, i64 12}
!68 = !{!69, !6, i64 8}
!69 = !{!"_ZTS14ImGuiPopupData", !13, i64 0, !6, i64 8, !6, i64 16, !13, i64 24, !13, i64 28, !14, i64 32, !14, i64 40}
!70 = !{!71, !13, i64 12}
!71 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !15, i64 72, !15, i64 76, !13, i64 80, !13, i64 84, !13, i64 88, !14, i64 92, !14, i64 100, !14, i64 108, !14, i64 116, !14, i64 124, !14, i64 132, !11, i64 140, !11, i64 141, !11, i64 142, !11, i64 143, !11, i64 144, !11, i64 145, !11, i64 146, !11, i64 147, !11, i64 148, !11, i64 149, !11, i64 150, !11, i64 151, !7, i64 152, !16, i64 154, !16, i64 156, !16, i64 158, !16, i64 160, !13, i64 164, !7, i64 168, !7, i64 169, !7, i64 170, !11, i64 171, !13, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !7, i64 179, !13, i64 180, !13, i64 181, !13, i64 182, !14, i64 184, !14, i64 192, !35, i64 200, !72, i64 216, !30, i64 464, !30, i64 480, !30, i64 496, !30, i64 512, !30, i64 528, !30, i64 544, !30, i64 560, !76, i64 576, !76, i64 580, !13, i64 584, !15, i64 588, !15, i64 592, !24, i64 600, !77, i64 616, !15, i64 632, !13, i64 636, !6, i64 640, !78, i64 648, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !7, i64 888, !7, i64 896, !13, i64 928, !13, i64 932, !11, i64 936}
!72 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !15, i64 56, !15, i64 60, !73, i64 64, !73, i64 68, !73, i64 72, !40, i64 76, !16, i64 80, !16, i64 82, !13, i64 84, !11, i64 88, !11, i64 89, !11, i64 90, !14, i64 92, !74, i64 100, !13, i64 128, !13, i64 132, !22, i64 136, !6, i64 152, !6, i64 160, !13, i64 168, !13, i64 172, !13, i64 176, !13, i64 180, !13, i64 184, !15, i64 188, !15, i64 192, !48, i64 200, !48, i64 216, !75, i64 232}
!73 = !{!"_ZTS6ImVec1", !15, i64 0}
!74 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !13, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !7, i64 18}
!75 = !{!"_ZTS15ImGuiStackSizes", !16, i64 0, !16, i64 2, !16, i64 4, !16, i64 6, !16, i64 8, !16, i64 10, !16, i64 12}
!76 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!77 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!78 = !{!"_ZTS10ImDrawList", !79, i64 0, !17, i64 16, !80, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !81, i64 88, !82, i64 104, !83, i64 120, !84, i64 136, !85, i64 168, !15, i64 192}
!79 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!80 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!81 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!82 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!83 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!84 = !{!"_ZTS15ImDrawCmdHeader", !20, i64 0, !6, i64 16, !13, i64 24}
!85 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !49, i64 8}
!86 = !{!71, !6, i64 856}
!87 = distinct !{!87, !88}
!88 = !{!"llvm.loop.mustprogress"}
!89 = distinct !{!89, !88}


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