; LLVM IR from BrunoLevy/learn-fpga :: LiteX/software/Libs/imgui/imgui_demo.ll (ZN5ImGui14ShowDemoWindowEPb)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.ImVec2 = type { float, float }
%struct.ImGuiViewport = type { i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2 }
%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, i8, i32, i32, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i16], [5 x i16], [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, i8, i16, %struct.ImVector }
%struct.ImVector = type { i32, i32, ptr }

@GImGuiDemoMarkerCallback = external dso_local global ptr, align 8
@GImGuiDemoMarkerCallbackUserData = external dso_local global ptr, align 8
@.str.20 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [95 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui14ShowDemoWindowEPb = external hidden unnamed_addr constant [35 x i8], align 1
@_ZZN5ImGui14ShowDemoWindowEPbE22show_app_main_menu_bar = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE18show_app_documents = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE16show_app_console = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE12show_app_log = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE15show_app_layout = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE24show_app_property_editor = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE18show_app_long_text = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE20show_app_auto_resize = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE27show_app_constrained_resize = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE23show_app_simple_overlay = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE19show_app_fullscreen = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE22show_app_window_titles = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE25show_app_custom_rendering = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE16show_app_metrics = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE19show_app_stack_tool = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE21show_app_style_editor = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE14show_app_about = external hidden global i8, align 1
@.str.22 = external hidden unnamed_addr constant [24 x i8], align 1
@_ZZN5ImGui14ShowDemoWindowEPbE11no_titlebar = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE12no_scrollbar = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE7no_menu = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE7no_move = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE9no_resize = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE11no_collapse = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE8no_close = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE6no_nav = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE13no_background = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE17no_bring_to_front = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE16unsaved_document = external hidden global i8, align 1
@.str.23 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [131 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [142 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [184 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [346 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [180 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [242 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [17 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui13ShowUserGuideEv() #0

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

declare noundef nonnull align 8 dereferenceable(5480) ptr @_ZN5ImGui5GetIOEv() #2

declare void @_ZN5ImGui10BulletTextEPKcz(ptr noundef, ...) #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui14ShowDemoWindowEPb(ptr noundef %0) #0 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca %struct.ImVec2, align 4
  %6 = alloca %struct.ImVec2, align 4
  %7 = alloca %struct.ImVec2, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %struct.ImVec2, align 4
  %12 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %13 = call noundef ptr @_ZN5ImGui17GetCurrentContextEv()
  %14 = icmp ne ptr %13, null
  br i1 %14, label %15, label %16

15:                                               ; preds = %1
  br label %16

16:                                               ; preds = %15, %1
  %17 = phi i1 [ false, %1 ], [ true, %15 ]
  br i1 %17, label %18, label %19

18:                                               ; preds = %16
  br label %21

19:                                               ; preds = %16
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.21, i32 noundef 270, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui14ShowDemoWindowEPb) #7
  unreachable

20:                                               ; No predecessors!
  br label %21

21:                                               ; preds = %20, %18
  %22 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE22show_app_main_menu_bar, align 1, !tbaa !9, !range !11, !noundef !12
  %23 = trunc i8 %22 to i1
  br i1 %23, label %24, label %25

24:                                               ; preds = %21
  call void @_ZL25ShowExampleAppMainMenuBarv()
  br label %25

25:                                               ; preds = %24, %21
  %26 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE18show_app_documents, align 1, !tbaa !9, !range !11, !noundef !12
  %27 = trunc i8 %26 to i1
  br i1 %27, label %28, label %29

28:                                               ; preds = %25
  call void @_ZL23ShowExampleAppDocumentsPb(ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE18show_app_documents)
  br label %29

29:                                               ; preds = %28, %25
  %30 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE16show_app_console, align 1, !tbaa !9, !range !11, !noundef !12
  %31 = trunc i8 %30 to i1
  br i1 %31, label %32, label %33

32:                                               ; preds = %29
  call void @_ZL21ShowExampleAppConsolePb(ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE16show_app_console)
  br label %33

33:                                               ; preds = %32, %29
  %34 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE12show_app_log, align 1, !tbaa !9, !range !11, !noundef !12
  %35 = trunc i8 %34 to i1
  br i1 %35, label %36, label %37

36:                                               ; preds = %33
  call void @_ZL17ShowExampleAppLogPb(ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE12show_app_log)
  br label %37

37:                                               ; preds = %36, %33
  %38 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE15show_app_layout, align 1, !tbaa !9, !range !11, !noundef !12
  %39 = trunc i8 %38 to i1
  br i1 %39, label %40, label %41

40:                                               ; preds = %37
  call void @_ZL20ShowExampleAppLayoutPb(ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE15show_app_layout)
  br label %41

41:                                               ; preds = %40, %37
  %42 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE24show_app_property_editor, align 1, !tbaa !9, !range !11, !noundef !12
  %43 = trunc i8 %42 to i1
  br i1 %43, label %44, label %45

44:                                               ; preds = %41
  call void @_ZL28ShowExampleAppPropertyEditorPb(ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE24show_app_property_editor)
  br label %45

45:                                               ; preds = %44, %41
  %46 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE18show_app_long_text, align 1, !tbaa !9, !range !11, !noundef !12
  %47 = trunc i8 %46 to i1
  br i1 %47, label %48, label %49

48:                                               ; preds = %45
  call void @_ZL22ShowExampleAppLongTextPb(ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE18show_app_long_text)
  br label %49

49:                                               ; preds = %48, %45
  %50 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE20show_app_auto_resize, align 1, !tbaa !9, !range !11, !noundef !12
  %51 = trunc i8 %50 to i1
  br i1 %51, label %52, label %53

52:                                               ; preds = %49
  call void @_ZL24ShowExampleAppAutoResizePb(ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE20show_app_auto_resize)
  br label %53

53:                                               ; preds = %52, %49
  %54 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE27show_app_constrained_resize, align 1, !tbaa !9, !range !11, !noundef !12
  %55 = trunc i8 %54 to i1
  br i1 %55, label %56, label %57

56:                                               ; preds = %53
  call void @_ZL31ShowExampleAppConstrainedResizePb(ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE27show_app_constrained_resize)
  br label %57

57:                                               ; preds = %56, %53
  %58 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE23show_app_simple_overlay, align 1, !tbaa !9, !range !11, !noundef !12
  %59 = trunc i8 %58 to i1
  br i1 %59, label %60, label %61

60:                                               ; preds = %57
  call void @_ZL27ShowExampleAppSimpleOverlayPb(ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE23show_app_simple_overlay)
  br label %61

61:                                               ; preds = %60, %57
  %62 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE19show_app_fullscreen, align 1, !tbaa !9, !range !11, !noundef !12
  %63 = trunc i8 %62 to i1
  br i1 %63, label %64, label %65

64:                                               ; preds = %61
  call void @_ZL24ShowExampleAppFullscreenPb(ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE19show_app_fullscreen)
  br label %65

65:                                               ; preds = %64, %61
  %66 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE22show_app_window_titles, align 1, !tbaa !9, !range !11, !noundef !12
  %67 = trunc i8 %66 to i1
  br i1 %67, label %68, label %69

68:                                               ; preds = %65
  call void @_ZL26ShowExampleAppWindowTitlesPb(ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE22show_app_window_titles)
  br label %69

69:                                               ; preds = %68, %65
  %70 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE25show_app_custom_rendering, align 1, !tbaa !9, !range !11, !noundef !12
  %71 = trunc i8 %70 to i1
  br i1 %71, label %72, label %73

72:                                               ; preds = %69
  call void @_ZL29ShowExampleAppCustomRenderingPb(ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE25show_app_custom_rendering)
  br label %73

73:                                               ; preds = %72, %69
  %74 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE16show_app_metrics, align 1, !tbaa !9, !range !11, !noundef !12
  %75 = trunc i8 %74 to i1
  br i1 %75, label %76, label %77

76:                                               ; preds = %73
  call void @_ZN5ImGui17ShowMetricsWindowEPb(ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE16show_app_metrics)
  br label %77

77:                                               ; preds = %76, %73
  %78 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE19show_app_stack_tool, align 1, !tbaa !9, !range !11, !noundef !12
  %79 = trunc i8 %78 to i1
  br i1 %79, label %80, label %81

80:                                               ; preds = %77
  call void @_ZN5ImGui19ShowStackToolWindowEPb(ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE19show_app_stack_tool)
  br label %81

81:                                               ; preds = %80, %77
  %82 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE14show_app_about, align 1, !tbaa !9, !range !11, !noundef !12
  %83 = trunc i8 %82 to i1
  br i1 %83, label %84, label %85

84:                                               ; preds = %81
  call void @_ZN5ImGui15ShowAboutWindowEPb(ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE14show_app_about)
  br label %85

85:                                               ; preds = %84, %81
  %86 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE21show_app_style_editor, align 1, !tbaa !9, !range !11, !noundef !12
  %87 = trunc i8 %86 to i1
  br i1 %87, label %88, label %90

88:                                               ; preds = %85
  %89 = call noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef @.str.22, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE21show_app_style_editor, i32 noundef 0)
  call void @_ZN5ImGui15ShowStyleEditorEP10ImGuiStyle(ptr noundef null)
  call void @_ZN5ImGui3EndEv()
  br label %90

90:                                               ; preds = %88, %85
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #8
  store i32 0, ptr %3, align 4, !tbaa !13
  %91 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE11no_titlebar, align 1, !tbaa !9, !range !11, !noundef !12
  %92 = trunc i8 %91 to i1
  br i1 %92, label %93, label %96

93:                                               ; preds = %90
  %94 = load i32, ptr %3, align 4, !tbaa !13
  %95 = or i32 %94, 1
  store i32 %95, ptr %3, align 4, !tbaa !13
  br label %96

96:                                               ; preds = %93, %90
  %97 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE12no_scrollbar, align 1, !tbaa !9, !range !11, !noundef !12
  %98 = trunc i8 %97 to i1
  br i1 %98, label %99, label %102

99:                                               ; preds = %96
  %100 = load i32, ptr %3, align 4, !tbaa !13
  %101 = or i32 %100, 8
  store i32 %101, ptr %3, align 4, !tbaa !13
  br label %102

102:                                              ; preds = %99, %96
  %103 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE7no_menu, align 1, !tbaa !9, !range !11, !noundef !12
  %104 = trunc i8 %103 to i1
  br i1 %104, label %108, label %105

105:                                              ; preds = %102
  %106 = load i32, ptr %3, align 4, !tbaa !13
  %107 = or i32 %106, 1024
  store i32 %107, ptr %3, align 4, !tbaa !13
  br label %108

108:                                              ; preds = %105, %102
  %109 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE7no_move, align 1, !tbaa !9, !range !11, !noundef !12
  %110 = trunc i8 %109 to i1
  br i1 %110, label %111, label %114

111:                                              ; preds = %108
  %112 = load i32, ptr %3, align 4, !tbaa !13
  %113 = or i32 %112, 4
  store i32 %113, ptr %3, align 4, !tbaa !13
  br label %114

114:                                              ; preds = %111, %108
  %115 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE9no_resize, align 1, !tbaa !9, !range !11, !noundef !12
  %116 = trunc i8 %115 to i1
  br i1 %116, label %117, label %120

117:                                              ; preds = %114
  %118 = load i32, ptr %3, align 4, !tbaa !13
  %119 = or i32 %118, 2
  store i32 %119, ptr %3, align 4, !tbaa !13
  br label %120

120:                                              ; preds = %117, %114
  %121 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE11no_collapse, align 1, !tbaa !9, !range !11, !noundef !12
  %122 = trunc i8 %121 to i1
  br i1 %122, label %123, label %126

123:                                              ; preds = %120
  %124 = load i32, ptr %3, align 4, !tbaa !13
  %125 = or i32 %124, 32
  store i32 %125, ptr %3, align 4, !tbaa !13
  br label %126

126:                                              ; preds = %123, %120
  %127 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE6no_nav, align 1, !tbaa !9, !range !11, !noundef !12
  %128 = trunc i8 %127 to i1
  br i1 %128, label %129, label %132

129:                                              ; preds = %126
  %130 = load i32, ptr %3, align 4, !tbaa !13
  %131 = or i32 %130, 786432
  store i32 %131, ptr %3, align 4, !tbaa !13
  br label %132

132:                                              ; preds = %129, %126
  %133 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE13no_background, align 1, !tbaa !9, !range !11, !noundef !12
  %134 = trunc i8 %133 to i1
  br i1 %134, label %135, label %138

135:                                              ; preds = %132
  %136 = load i32, ptr %3, align 4, !tbaa !13
  %137 = or i32 %136, 128
  store i32 %137, ptr %3, align 4, !tbaa !13
  br label %138

138:                                              ; preds = %135, %132
  %139 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE17no_bring_to_front, align 1, !tbaa !9, !range !11, !noundef !12
  %140 = trunc i8 %139 to i1
  br i1 %140, label %141, label %144

141:                                              ; preds = %138
  %142 = load i32, ptr %3, align 4, !tbaa !13
  %143 = or i32 %142, 8192
  store i32 %143, ptr %3, align 4, !tbaa !13
  br label %144

144:                                              ; preds = %141, %138
  %145 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE16unsaved_document, align 1, !tbaa !9, !range !11, !noundef !12
  %146 = trunc i8 %145 to i1
  br i1 %146, label %147, label %150

147:                                              ; preds = %144
  %148 = load i32, ptr %3, align 4, !tbaa !13
  %149 = or i32 %148, 1048576
  store i32 %149, ptr %3, align 4, !tbaa !13
  br label %150

150:                                              ; preds = %147, %144
  %151 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE8no_close, align 1, !tbaa !9, !range !11, !noundef !12
  %152 = trunc i8 %151 to i1
  br i1 %152, label %153, label %154

153:                                              ; preds = %150
  store ptr null, ptr %2, align 8, !tbaa !5
  br label %154

154:                                              ; preds = %153, %150
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #8
  %155 = call noundef ptr @_ZN5ImGui15GetMainViewportEv()
  store ptr %155, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #8
  %156 = load ptr, ptr %4, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.ImGuiViewport, ptr %156, i32 0, i32 3
  %158 = getelementptr inbounds %struct.ImVec2, ptr %157, i32 0, i32 0
  %159 = load float, ptr %158, align 4, !tbaa !15
  %160 = fadd float %159, 2.000000e+01
  %161 = load ptr, ptr %4, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.ImGuiViewport, ptr %161, i32 0, i32 3
  %163 = getelementptr inbounds %struct.ImVec2, ptr %162, i32 0, i32 1
  %164 = load float, ptr %163, align 4, !tbaa !19
  %165 = fadd float %164, 2.000000e+01
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef %160, float noundef %165)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8) %5, i32 noundef 4, ptr noundef nonnull align 4 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef 4.000000e+02, float noundef 3.000000e+02)
  call void @_ZN5ImGui17SetNextWindowSizeERK6ImVec2i(ptr noundef nonnull align 4 dereferenceable(8) %7, i32 noundef 4)
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  %166 = load ptr, ptr %2, align 8, !tbaa !5
  %167 = load i32, ptr %3, align 4, !tbaa !13
  %168 = call noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef @.str.23, ptr noundef %166, i32 noundef %167)
  br i1 %168, label %170, label %169

169:                                              ; preds = %154
  call void @_ZN5ImGui3EndEv()
  store i32 1, ptr %8, align 4
  br label %391

170:                                              ; preds = %154
  %171 = call noundef float @_ZN5ImGui11GetFontSizeEv()
  %172 = fmul float %171, -1.200000e+01
  call void @_ZN5ImGui13PushItemWidthEf(float noundef %172)
  %173 = call noundef zeroext i1 @_ZN5ImGui12BeginMenuBarEv()
  br i1 %173, label %174, label %228

174:                                              ; preds = %170
  %175 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef @.str.24, i1 noundef zeroext true)
  br i1 %175, label %176, label %186

176:                                              ; preds = %174
  br label %177

177:                                              ; preds = %176
  %178 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !5
  %179 = icmp ne ptr %178, null
  br i1 %179, label %180, label %183

180:                                              ; preds = %177
  %181 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !5
  %182 = load ptr, ptr @GImGuiDemoMarkerCallbackUserData, align 8, !tbaa !5
  call void %181(ptr noundef @.str.21, i32 noundef 373, ptr noundef @.str.25, ptr noundef %182)
  br label %183

183:                                              ; preds = %180, %177
  br label %184

184:                                              ; preds = %183
  br label %185

185:                                              ; preds = %184
  call void @_ZL19ShowExampleMenuFilev()
  call void @_ZN5ImGui7EndMenuEv()
  br label %186

186:                                              ; preds = %185, %174
  %187 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef @.str.26, i1 noundef zeroext true)
  br i1 %187, label %188, label %211

188:                                              ; preds = %186
  br label %189

189:                                              ; preds = %188
  %190 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !5
  %191 = icmp ne ptr %190, null
  br i1 %191, label %192, label %195

192:                                              ; preds = %189
  %193 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !5
  %194 = load ptr, ptr @GImGuiDemoMarkerCallbackUserData, align 8, !tbaa !5
  call void %193(ptr noundef @.str.21, i32 noundef 379, ptr noundef @.str.27, ptr noundef %194)
  br label %195

195:                                              ; preds = %192, %189
  br label %196

196:                                              ; preds = %195
  br label %197

197:                                              ; preds = %196
  %198 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef @.str.28, ptr noundef null, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE22show_app_main_menu_bar, i1 noundef zeroext true)
  %199 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef @.str.29, ptr noundef null, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE16show_app_console, i1 noundef zeroext true)
  %200 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef @.str.30, ptr noundef null, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE12show_app_log, i1 noundef zeroext true)
  %201 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef @.str.31, ptr noundef null, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE15show_app_layout, i1 noundef zeroext true)
  %202 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef @.str.32, ptr noundef null, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE24show_app_property_editor, i1 noundef zeroext true)
  %203 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef @.str.33, ptr noundef null, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE18show_app_long_text, i1 noundef zeroext true)
  %204 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef @.str.34, ptr noundef null, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE20show_app_auto_resize, i1 noundef zeroext true)
  %205 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef @.str.35, ptr noundef null, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE27show_app_constrained_resize, i1 noundef zeroext true)
  %206 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef @.str.36, ptr noundef null, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE23show_app_simple_overlay, i1 noundef zeroext true)
  %207 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef @.str.37, ptr noundef null, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE19show_app_fullscreen, i1 noundef zeroext true)
  %208 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef @.str.38, ptr noundef null, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE22show_app_window_titles, i1 noundef zeroext true)
  %209 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef @.str.39, ptr noundef null, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE25show_app_custom_rendering, i1 noundef zeroext true)
  %210 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef @.str.40, ptr noundef null, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE18show_app_documents, i1 noundef zeroext true)
  call void @_ZN5ImGui7EndMenuEv()
  br label %211

211:                                              ; preds = %197, %186
  %212 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef @.str.41, i1 noundef zeroext true)
  br i1 %212, label %213, label %227

213:                                              ; preds = %211
  br label %214

214:                                              ; preds = %213
  %215 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !5
  %216 = icmp ne ptr %215, null
  br i1 %216, label %217, label %220

217:                                              ; preds = %214
  %218 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !5
  %219 = load ptr, ptr @GImGuiDemoMarkerCallbackUserData, align 8, !tbaa !5
  call void %218(ptr noundef @.str.21, i32 noundef 398, ptr noundef @.str.42, ptr noundef %219)
  br label %220

220:                                              ; preds = %217, %214
  br label %221

221:                                              ; preds = %220
  br label %222

222:                                              ; preds = %221
  %223 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef @.str.43, ptr noundef null, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE16show_app_metrics, i1 noundef zeroext true)
  %224 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef @.str.44, ptr noundef null, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE19show_app_stack_tool, i1 noundef zeroext true)
  %225 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef @.str.45, ptr noundef null, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE21show_app_style_editor, i1 noundef zeroext true)
  %226 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef @.str.46, ptr noundef null, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE14show_app_about, i1 noundef zeroext true)
  call void @_ZN5ImGui7EndMenuEv()
  br label %227

227:                                              ; preds = %222, %211
  call void @_ZN5ImGui10EndMenuBarEv()
  br label %228

228:                                              ; preds = %227, %170
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.47, ptr noundef @.str.48)
  call void @_ZN5ImGui7SpacingEv()
  br label %229

229:                                              ; preds = %228
  %230 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !5
  %231 = icmp ne ptr %230, null
  br i1 %231, label %232, label %235

232:                                              ; preds = %229
  %233 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !5
  %234 = load ptr, ptr @GImGuiDemoMarkerCallbackUserData, align 8, !tbaa !5
  call void %233(ptr noundef @.str.21, i32 noundef 413, ptr noundef @.str.49, ptr noundef %234)
  br label %235

235:                                              ; preds = %232, %229
  br label %236

236:                                              ; preds = %235
  br label %237

237:                                              ; preds = %236
  %238 = call noundef zeroext i1 @_ZN5ImGui16CollapsingHeaderEPKci(ptr noundef @.str.49, i32 noundef 0)
  br i1 %238, label %239, label %240

239:                                              ; preds = %237
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.50)
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef @.str.51)
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef @.str.52)
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef @.str.53)
  call void @_ZN5ImGui9SeparatorEv()
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.54)
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef @.str.55)
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef @.str.56)
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef @.str.57)
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef @.str.58)
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef @.str.59)
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef @.str.60)
  call void @_ZN5ImGui9SeparatorEv()
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.61)
  call void @_ZN5ImGui13ShowUserGuideEv()
  br label %240

240:                                              ; preds = %239, %237
  br label %241

241:                                              ; preds = %240
  %242 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !5
  %243 = icmp ne ptr %242, null
  br i1 %243, label %244, label %247

244:                                              ; preds = %241
  %245 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !5
  %246 = load ptr, ptr @GImGuiDemoMarkerCallbackUserData, align 8, !tbaa !5
  call void %245(ptr noundef @.str.21, i32 noundef 436, ptr noundef @.str.62, ptr noundef %246)
  br label %247

247:                                              ; preds = %244, %241
  br label %248

248:                                              ; preds = %247
  br label %249

249:                                              ; preds = %248
  %250 = call noundef zeroext i1 @_ZN5ImGui16CollapsingHeaderEPKci(ptr noundef @.str.62, i32 noundef 0)
  br i1 %250, label %251, label %353

251:                                              ; preds = %249
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %252 = call noundef nonnull align 8 dereferenceable(5480) ptr @_ZN5ImGui5GetIOEv()
  store ptr %252, ptr %9, align 8, !tbaa !5
  %253 = call noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef @.str.63)
  br i1 %253, label %254, label %306

254:                                              ; preds = %251
  %255 = load ptr, ptr %9, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.ImGuiIO, ptr %255, i32 0, i32 0
  %257 = call noundef zeroext i1 @_ZN5ImGui13CheckboxFlagsEPKcPii(ptr noundef @.str.64, ptr noundef %256, i32 noundef 1)
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void @_ZL10HelpMarkerPKc(ptr noundef @.str.65)
  %258 = load ptr, ptr %9, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.ImGuiIO, ptr %258, i32 0, i32 0
  %260 = call noundef zeroext i1 @_ZN5ImGui13CheckboxFlagsEPKcPii(ptr noundef @.str.66, ptr noundef %259, i32 noundef 2)
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void @_ZL10HelpMarkerPKc(ptr noundef @.str.67)
  %261 = load ptr, ptr %9, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.ImGuiIO, ptr %261, i32 0, i32 0
  %263 = call noundef zeroext i1 @_ZN5ImGui13CheckboxFlagsEPKcPii(ptr noundef @.str.68, ptr noundef %262, i32 noundef 4)
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void @_ZL10HelpMarkerPKc(ptr noundef @.str.69)
  %264 = load ptr, ptr %9, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.ImGuiIO, ptr %264, i32 0, i32 0
  %266 = call noundef zeroext i1 @_ZN5ImGui13CheckboxFlagsEPKcPii(ptr noundef @.str.70, ptr noundef %265, i32 noundef 16)
  %267 = load ptr, ptr %9, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.ImGuiIO, ptr %267, i32 0, i32 0
  %269 = load i32, ptr %268, align 8, !tbaa !20
  %270 = and i32 %269, 16
  %271 = icmp ne i32 %270, 0
  br i1 %271, label %272, label %287

272:                                              ; preds = %254
  %273 = call noundef double @_ZN5ImGui7GetTimeEv()
  %274 = fptrunc double %273 to float
  %275 = call float @fmodf(float noundef %274, float noundef 0x3FD99999A0000000) #8
  %276 = fcmp olt float %275, 0x3FC99999A0000000
  br i1 %276, label %277, label %278

277:                                              ; preds = %272
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.71)
  br label %278

278:                                              ; preds = %277, %272
  %279 = call noundef i32 @_ZN5ImGui11GetKeyIndexEi(i32 noundef 12)
  %280 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedEib(i32 noundef %279, i1 noundef zeroext true)
  br i1 %280, label %281, label %286

281:                                              ; preds = %278
  %282 = load ptr, ptr %9, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.ImGuiIO, ptr %282, i32 0, i32 0
  %284 = load i32, ptr %283, align 8, !tbaa !20
  %285 = and i32 %284, -17
  store i32 %285, ptr %283, align 8, !tbaa !20
  br label %286

286:                                              ; preds = %281, %278
  br label %287

287:                                              ; preds = %286, %254
  %288 = load ptr, ptr %9, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.ImGuiIO, ptr %288, i32 0, i32 0
  %290 = call noundef zeroext i1 @_ZN5ImGui13CheckboxFlagsEPKcPii(ptr noundef @.str.72, ptr noundef %289, i32 noundef 32)
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void @_ZL10HelpMarkerPKc(ptr noundef @.str.73)
  %291 = load ptr, ptr %9, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.ImGuiIO, ptr %291, i32 0, i32 21
  %293 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef @.str.74, ptr noundef %292)
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void @_ZL10HelpMarkerPKc(ptr noundef @.str.75)
  %294 = load ptr, ptr %9, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.ImGuiIO, ptr %294, i32 0, i32 22
  %296 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef @.str.76, ptr noundef %295)
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void @_ZL10HelpMarkerPKc(ptr noundef @.str.77)
  %297 = load ptr, ptr %9, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.ImGuiIO, ptr %297, i32 0, i32 23
  %299 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef @.str.78, ptr noundef %298)
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void @_ZL10HelpMarkerPKc(ptr noundef @.str.79)
  %300 = load ptr, ptr %9, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.ImGuiIO, ptr %300, i32 0, i32 24
  %302 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef @.str.80, ptr noundef %301)
  %303 = load ptr, ptr %9, align 8, !tbaa !5
  %304 = getelementptr inbounds %struct.ImGuiIO, ptr %303, i32 0, i32 19
  %305 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef @.str.81, ptr noundef %304)
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void @_ZL10HelpMarkerPKc(ptr noundef @.str.82)
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef @.str.83)
  call void @_ZN5ImGui7TreePopEv()
  call void @_ZN5ImGui9SeparatorEv()
  br label %306

306:                                              ; preds = %287, %251
  br label %307

307:                                              ; preds = %306
  %308 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !5
  %309 = icmp ne ptr %308, null
  br i1 %309, label %310, label %313

310:                                              ; preds = %307
  %311 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !5
  %312 = load ptr, ptr @GImGuiDemoMarkerCallbackUserData, align 8, !tbaa !5
  call void %311(ptr noundef @.str.21, i32 noundef 477, ptr noundef @.str.84, ptr noundef %312)
  br label %313

313:                                              ; preds = %310, %307
  br label %314

314:                                              ; preds = %313
  br label %315

315:                                              ; preds = %314
  %316 = call noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef @.str.85)
  br i1 %316, label %317, label %325

317:                                              ; preds = %315
  call void @_ZL10HelpMarkerPKc(ptr noundef @.str.86)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  %318 = load ptr, ptr %9, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.ImGuiIO, ptr %318, i32 0, i32 1
  %320 = load i32, ptr %319, align 4, !tbaa !24
  store i32 %320, ptr %10, align 4, !tbaa !13
  %321 = call noundef zeroext i1 @_ZN5ImGui13CheckboxFlagsEPKcPii(ptr noundef @.str.87, ptr noundef %10, i32 noundef 1)
  %322 = call noundef zeroext i1 @_ZN5ImGui13CheckboxFlagsEPKcPii(ptr noundef @.str.88, ptr noundef %10, i32 noundef 2)
  %323 = call noundef zeroext i1 @_ZN5ImGui13CheckboxFlagsEPKcPii(ptr noundef @.str.89, ptr noundef %10, i32 noundef 4)
  %324 = call noundef zeroext i1 @_ZN5ImGui13CheckboxFlagsEPKcPii(ptr noundef @.str.90, ptr noundef %10, i32 noundef 8)
  call void @_ZN5ImGui7TreePopEv()
  call void @_ZN5ImGui9SeparatorEv()
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  br label %325

325:                                              ; preds = %317, %315
  br label %326

326:                                              ; preds = %325
  %327 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !5
  %328 = icmp ne ptr %327, null
  br i1 %328, label %329, label %332

329:                                              ; preds = %326
  %330 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !5
  %331 = load ptr, ptr @GImGuiDemoMarkerCallbackUserData, align 8, !tbaa !5
  call void %330(ptr noundef @.str.21, i32 noundef 494, ptr noundef @.str.91, ptr noundef %331)
  br label %332

332:                                              ; preds = %329, %326
  br label %333

333:                                              ; preds = %332
  br label %334

334:                                              ; preds = %333
  %335 = call noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef @.str.92)
  br i1 %335, label %336, label %337

336:                                              ; preds = %334
  call void @_ZL10HelpMarkerPKc(ptr noundef @.str.93)
  call void @_ZN5ImGui15ShowStyleEditorEP10ImGuiStyle(ptr noundef null)
  call void @_ZN5ImGui7TreePopEv()
  call void @_ZN5ImGui9SeparatorEv()
  br label %337

337:                                              ; preds = %336, %334
  br label %338

338:                                              ; preds = %337
  %339 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !5
  %340 = icmp ne ptr %339, null
  br i1 %340, label %341, label %344

341:                                              ; preds = %338
  %342 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !5
  %343 = load ptr, ptr @GImGuiDemoMarkerCallbackUserData, align 8, !tbaa !5
  call void %342(ptr noundef @.str.21, i32 noundef 503, ptr noundef @.str.94, ptr noundef %343)
  br label %344

344:                                              ; preds = %341, %338
  br label %345

345:                                              ; preds = %344
  br label %346

346:                                              ; preds = %345
  %347 = call noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef @.str.95)
  br i1 %347, label %348, label %352

348:                                              ; preds = %346
  call void @_ZL10HelpMarkerPKc(ptr noundef @.str.96)
  call void @_ZN5ImGui10LogButtonsEv()
  call void @_ZL10HelpMarkerPKc(ptr noundef @.str.97)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %349 = call noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2(ptr noundef @.str.98, ptr noundef nonnull align 4 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br i1 %349, label %350, label %351

350:                                              ; preds = %348
  call void @_ZN5ImGui14LogToClipboardEi(i32 noundef -1)
  call void (ptr, ...) @_ZN5ImGui7LogTextEPKcz(ptr noundef @.str.99)
  call void @_ZN5ImGui9LogFinishEv()
  br label %351

351:                                              ; preds = %350, %348
  call void @_ZN5ImGui7TreePopEv()
  br label %352

352:                                              ; preds = %351, %346
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  br label %353

353:                                              ; preds = %352, %249
  br label %354

354:                                              ; preds = %353
  %355 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !5
  %356 = icmp ne ptr %355, null
  br i1 %356, label %357, label %360

357:                                              ; preds = %354
  %358 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !5
  %359 = load ptr, ptr @GImGuiDemoMarkerCallbackUserData, align 8, !tbaa !5
  call void %358(ptr noundef @.str.21, i32 noundef 523, ptr noundef @.str.100, ptr noundef %359)
  br label %360

360:                                              ; preds = %357, %354
  br label %361

361:                                              ; preds = %360
  br label %362

362:                                              ; preds = %361
  %363 = call noundef zeroext i1 @_ZN5ImGui16CollapsingHeaderEPKci(ptr noundef @.str.100, i32 noundef 0)
  br i1 %363, label %364, label %390

364:                                              ; preds = %362
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %365 = call noundef zeroext i1 @_ZN5ImGui10BeginTableEPKciiRK6ImVec2f(ptr noundef @.str.101, i32 noundef 3, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef 0.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br i1 %365, label %366, label %389

366:                                              ; preds = %364
  %367 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %368 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef @.str.102, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE11no_titlebar)
  %369 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %370 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef @.str.103, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE12no_scrollbar)
  %371 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %372 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef @.str.104, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE7no_menu)
  %373 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %374 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef @.str.105, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE7no_move)
  %375 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %376 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef @.str.106, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE9no_resize)
  %377 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %378 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef @.str.107, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE11no_collapse)
  %379 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %380 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef @.str.108, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE8no_close)
  %381 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %382 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef @.str.109, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE6no_nav)
  %383 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %384 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef @.str.110, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE13no_background)
  %385 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %386 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef @.str.111, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE17no_bring_to_front)
  %387 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %388 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef @.str.112, ptr noundef @_ZZN5ImGui14ShowDemoWindowEPbE16unsaved_document)
  call void @_ZN5ImGui8EndTableEv()
  br label %389

389:                                              ; preds = %366, %364
  br label %390

390:                                              ; preds = %389, %362
  call void @_ZL21ShowDemoWindowWidgetsv()
  call void @_ZL20ShowDemoWindowLayoutv()
  call void @_ZL20ShowDemoWindowPopupsv()
  call void @_ZL20ShowDemoWindowTablesv()
  call void @_ZL18ShowDemoWindowMiscv()
  call void @_ZN5ImGui12PopItemWidthEv()
  call void @_ZN5ImGui3EndEv()
  store i32 0, ptr %8, align 4
  br label %391

391:                                              ; preds = %390, %169
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  %392 = load i32, ptr %8, align 4
  switch i32 %392, label %394 [
    i32 0, label %393
    i32 1, label %393
  ]

393:                                              ; preds = %391, %391
  ret void

394:                                              ; preds = %391
  unreachable
}

declare noundef ptr @_ZN5ImGui17GetCurrentContextEv() #2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL25ShowExampleAppMainMenuBarv() #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL23ShowExampleAppDocumentsPb(ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL21ShowExampleAppConsolePb(ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL17ShowExampleAppLogPb(ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL20ShowExampleAppLayoutPb(ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL28ShowExampleAppPropertyEditorPb(ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL22ShowExampleAppLongTextPb(ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL24ShowExampleAppAutoResizePb(ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL31ShowExampleAppConstrainedResizePb(ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL27ShowExampleAppSimpleOverlayPb(ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL24ShowExampleAppFullscreenPb(ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL26ShowExampleAppWindowTitlesPb(ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL29ShowExampleAppCustomRenderingPb(ptr noundef) #4

declare void @_ZN5ImGui17ShowMetricsWindowEPb(ptr noundef) #2

declare void @_ZN5ImGui19ShowStackToolWindowEPb(ptr noundef) #2

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

declare noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef, ptr noundef, i32 noundef) #2

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

declare void @_ZN5ImGui3EndEv() #2

declare noundef ptr @_ZN5ImGui15GetMainViewportEv() #2

declare void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) #2

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

declare void @_ZN5ImGui17SetNextWindowSizeERK6ImVec2i(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef) #2

declare void @_ZN5ImGui13PushItemWidthEf(float noundef) #2

declare noundef float @_ZN5ImGui11GetFontSizeEv() #2

declare noundef zeroext i1 @_ZN5ImGui12BeginMenuBarEv() #2

declare noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef, i1 noundef zeroext) #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL19ShowExampleMenuFilev() #4

declare void @_ZN5ImGui7EndMenuEv() #2

declare noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) #2

declare void @_ZN5ImGui10EndMenuBarEv() #2

declare void @_ZN5ImGui4TextEPKcz(ptr noundef, ...) #2

declare void @_ZN5ImGui7SpacingEv() #2

declare noundef zeroext i1 @_ZN5ImGui16CollapsingHeaderEPKci(ptr noundef, i32 noundef) #2

declare void @_ZN5ImGui9SeparatorEv() #2

declare noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef) #2

declare noundef zeroext i1 @_ZN5ImGui13CheckboxFlagsEPKcPii(ptr noundef, ptr noundef, i32 noundef) #2

declare void @_ZN5ImGui8SameLineEff(float noundef, float noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL10HelpMarkerPKc(ptr noundef) #0

; Function Attrs: nounwind
declare float @fmodf(float noundef, float noundef) #6

declare noundef double @_ZN5ImGui7GetTimeEv() #2

declare noundef zeroext i1 @_ZN5ImGui12IsKeyPressedEib(i32 noundef, i1 noundef zeroext) #2

declare noundef i32 @_ZN5ImGui11GetKeyIndexEi(i32 noundef) #2

declare noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef, ptr noundef) #2

declare void @_ZN5ImGui7TreePopEv() #2

declare void @_ZN5ImGui10LogButtonsEv() #2

declare noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2(ptr noundef, ptr noundef nonnull align 4 dereferenceable(8)) #2

declare void @_ZN5ImGui14LogToClipboardEi(i32 noundef) #2

declare void @_ZN5ImGui7LogTextEPKcz(ptr noundef, ...) #2

declare void @_ZN5ImGui9LogFinishEv() #2

declare noundef zeroext i1 @_ZN5ImGui10BeginTableEPKciiRK6ImVec2f(ptr noundef, i32 noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(8), float noundef) #2

declare noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv() #2

declare void @_ZN5ImGui8EndTableEv() #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL21ShowDemoWindowWidgetsv() #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL20ShowDemoWindowLayoutv() #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL20ShowDemoWindowPopupsv() #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL20ShowDemoWindowTablesv() #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL18ShowDemoWindowMiscv() #4

declare void @_ZN5ImGui12PopItemWidthEv() #2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !18, i64 20}
!16 = !{!"_ZTS13ImGuiViewport", !14, i64 0, !17, i64 4, !17, i64 12, !17, i64 20, !17, i64 28}
!17 = !{!"_ZTS6ImVec2", !18, i64 0, !18, i64 4}
!18 = !{!"float", !7, i64 0}
!19 = !{!16, !18, i64 24}
!20 = !{!21, !14, i64 0}
!21 = !{!"_ZTS7ImGuiIO", !14, i64 0, !14, i64 4, !17, i64 8, !18, i64 16, !18, i64 20, !6, i64 24, !6, i64 32, !18, i64 40, !18, i64 44, !18, i64 48, !7, i64 52, !18, i64 140, !18, i64 144, !6, i64 152, !6, i64 160, !18, i64 168, !10, i64 172, !6, i64 176, !17, i64 184, !10, i64 192, !10, i64 193, !10, i64 194, !10, i64 195, !10, i64 196, !10, i64 197, !18, 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, !17, i64 288, !7, i64 296, !18, i64 304, !18, 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, !18, i64 916, !14, i64 920, !14, i64 924, !14, i64 928, !14, i64 932, !14, i64 936, !17, i64 940, !10, i64 948, !14, i64 952, !14, i64 956, !17, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1068, !7, i64 1078, !7, i64 1083, !7, i64 1088, !7, i64 1096, !7, i64 1116, !7, i64 1136, !7, i64 1176, !7, i64 1196, !7, i64 3244, !7, i64 5292, !7, i64 5372, !18, i64 5452, !10, i64 5456, !22, i64 5458, !23, i64 5464}
!22 = !{!"short", !7, i64 0}
!23 = !{!"_ZTS8ImVectorItE", !14, i64 0, !14, i64 4, !6, i64 8}
!24 = !{!21, !14, i64 4}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.ImVec2 = type { float, float }

@GImGuiDemoMarkerCallback = external dso_local local_unnamed_addr global ptr, align 8
@GImGuiDemoMarkerCallbackUserData = external dso_local local_unnamed_addr global ptr, align 8
@.str.20 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [95 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui14ShowDemoWindowEPb = external hidden unnamed_addr constant [35 x i8], align 1
@_ZZN5ImGui14ShowDemoWindowEPbE22show_app_main_menu_bar = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE18show_app_documents = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE16show_app_console = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE12show_app_log = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE15show_app_layout = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE24show_app_property_editor = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE18show_app_long_text = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE20show_app_auto_resize = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE27show_app_constrained_resize = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE23show_app_simple_overlay = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE19show_app_fullscreen = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE22show_app_window_titles = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE25show_app_custom_rendering = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE16show_app_metrics = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE19show_app_stack_tool = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE21show_app_style_editor = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE14show_app_about = external hidden global i8, align 1
@.str.22 = external hidden unnamed_addr constant [24 x i8], align 1
@_ZZN5ImGui14ShowDemoWindowEPbE11no_titlebar = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE12no_scrollbar = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE7no_menu = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE7no_move = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE9no_resize = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE11no_collapse = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE8no_close = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE6no_nav = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE13no_background = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE17no_bring_to_front = external hidden global i8, align 1
@_ZZN5ImGui14ShowDemoWindowEPbE16unsaved_document = external hidden global i8, align 1
@.str.23 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [131 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [142 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [184 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [346 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [180 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.91 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.92 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.93 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.94 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.95 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.96 = external hidden unnamed_addr constant [242 x i8], align 1
@.str.97 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.106 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.108 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.109 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.110 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.111 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [17 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui13ShowUserGuideEv() local_unnamed_addr #0

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

declare noundef nonnull align 8 dereferenceable(5480) ptr @_ZN5ImGui5GetIOEv() local_unnamed_addr #2

declare void @_ZN5ImGui10BulletTextEPKcz(ptr noundef, ...) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui14ShowDemoWindowEPb(ptr noundef %0) local_unnamed_addr #0 {
  %2 = alloca %struct.ImVec2, align 4
  %3 = alloca %struct.ImVec2, align 4
  %4 = alloca %struct.ImVec2, align 4
  %5 = alloca i32, align 4
  %6 = alloca %struct.ImVec2, align 4
  %7 = alloca %struct.ImVec2, align 4
  %8 = tail call noundef ptr @_ZN5ImGui17GetCurrentContextEv()
  %.not = icmp eq ptr %8, null
  br i1 %.not, label %9, label %10

9:                                                ; preds = %1
  tail call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.21, i32 noundef 270, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui14ShowDemoWindowEPb) #7
  unreachable

10:                                               ; preds = %1
  %11 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE22show_app_main_menu_bar, align 1, !tbaa !5, !range !9, !noundef !10
  %12 = trunc nuw i8 %11 to i1
  br i1 %12, label %13, label %14

13:                                               ; preds = %10
  tail call void @_ZL25ShowExampleAppMainMenuBarv()
  br label %14

14:                                               ; preds = %13, %10
  %15 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE18show_app_documents, align 1, !tbaa !5, !range !9, !noundef !10
  %16 = trunc nuw i8 %15 to i1
  br i1 %16, label %17, label %18

17:                                               ; preds = %14
  tail call void @_ZL23ShowExampleAppDocumentsPb(ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE18show_app_documents)
  br label %18

18:                                               ; preds = %17, %14
  %19 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE16show_app_console, align 1, !tbaa !5, !range !9, !noundef !10
  %20 = trunc nuw i8 %19 to i1
  br i1 %20, label %21, label %22

21:                                               ; preds = %18
  tail call void @_ZL21ShowExampleAppConsolePb(ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE16show_app_console)
  br label %22

22:                                               ; preds = %21, %18
  %23 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE12show_app_log, align 1, !tbaa !5, !range !9, !noundef !10
  %24 = trunc nuw i8 %23 to i1
  br i1 %24, label %25, label %26

25:                                               ; preds = %22
  tail call void @_ZL17ShowExampleAppLogPb(ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE12show_app_log)
  br label %26

26:                                               ; preds = %25, %22
  %27 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE15show_app_layout, align 1, !tbaa !5, !range !9, !noundef !10
  %28 = trunc nuw i8 %27 to i1
  br i1 %28, label %29, label %30

29:                                               ; preds = %26
  tail call void @_ZL20ShowExampleAppLayoutPb(ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE15show_app_layout)
  br label %30

30:                                               ; preds = %29, %26
  %31 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE24show_app_property_editor, align 1, !tbaa !5, !range !9, !noundef !10
  %32 = trunc nuw i8 %31 to i1
  br i1 %32, label %33, label %34

33:                                               ; preds = %30
  tail call void @_ZL28ShowExampleAppPropertyEditorPb(ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE24show_app_property_editor)
  br label %34

34:                                               ; preds = %33, %30
  %35 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE18show_app_long_text, align 1, !tbaa !5, !range !9, !noundef !10
  %36 = trunc nuw i8 %35 to i1
  br i1 %36, label %37, label %38

37:                                               ; preds = %34
  tail call void @_ZL22ShowExampleAppLongTextPb(ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE18show_app_long_text)
  br label %38

38:                                               ; preds = %37, %34
  %39 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE20show_app_auto_resize, align 1, !tbaa !5, !range !9, !noundef !10
  %40 = trunc nuw i8 %39 to i1
  br i1 %40, label %41, label %42

41:                                               ; preds = %38
  tail call void @_ZL24ShowExampleAppAutoResizePb(ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE20show_app_auto_resize)
  br label %42

42:                                               ; preds = %41, %38
  %43 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE27show_app_constrained_resize, align 1, !tbaa !5, !range !9, !noundef !10
  %44 = trunc nuw i8 %43 to i1
  br i1 %44, label %45, label %46

45:                                               ; preds = %42
  tail call void @_ZL31ShowExampleAppConstrainedResizePb(ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE27show_app_constrained_resize)
  br label %46

46:                                               ; preds = %45, %42
  %47 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE23show_app_simple_overlay, align 1, !tbaa !5, !range !9, !noundef !10
  %48 = trunc nuw i8 %47 to i1
  br i1 %48, label %49, label %50

49:                                               ; preds = %46
  tail call void @_ZL27ShowExampleAppSimpleOverlayPb(ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE23show_app_simple_overlay)
  br label %50

50:                                               ; preds = %49, %46
  %51 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE19show_app_fullscreen, align 1, !tbaa !5, !range !9, !noundef !10
  %52 = trunc nuw i8 %51 to i1
  br i1 %52, label %53, label %54

53:                                               ; preds = %50
  tail call void @_ZL24ShowExampleAppFullscreenPb(ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE19show_app_fullscreen)
  br label %54

54:                                               ; preds = %53, %50
  %55 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE22show_app_window_titles, align 1, !tbaa !5, !range !9, !noundef !10
  %56 = trunc nuw i8 %55 to i1
  br i1 %56, label %57, label %58

57:                                               ; preds = %54
  tail call void @_ZL26ShowExampleAppWindowTitlesPb(ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE22show_app_window_titles)
  br label %58

58:                                               ; preds = %57, %54
  %59 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE25show_app_custom_rendering, align 1, !tbaa !5, !range !9, !noundef !10
  %60 = trunc nuw i8 %59 to i1
  br i1 %60, label %61, label %62

61:                                               ; preds = %58
  tail call void @_ZL29ShowExampleAppCustomRenderingPb(ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE25show_app_custom_rendering)
  br label %62

62:                                               ; preds = %61, %58
  %63 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE16show_app_metrics, align 1, !tbaa !5, !range !9, !noundef !10
  %64 = trunc nuw i8 %63 to i1
  br i1 %64, label %65, label %66

65:                                               ; preds = %62
  tail call void @_ZN5ImGui17ShowMetricsWindowEPb(ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE16show_app_metrics)
  br label %66

66:                                               ; preds = %65, %62
  %67 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE19show_app_stack_tool, align 1, !tbaa !5, !range !9, !noundef !10
  %68 = trunc nuw i8 %67 to i1
  br i1 %68, label %69, label %70

69:                                               ; preds = %66
  tail call void @_ZN5ImGui19ShowStackToolWindowEPb(ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE19show_app_stack_tool)
  br label %70

70:                                               ; preds = %69, %66
  %71 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE14show_app_about, align 1, !tbaa !5, !range !9, !noundef !10
  %72 = trunc nuw i8 %71 to i1
  br i1 %72, label %73, label %74

73:                                               ; preds = %70
  tail call void @_ZN5ImGui15ShowAboutWindowEPb(ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE14show_app_about)
  br label %74

74:                                               ; preds = %73, %70
  %75 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE21show_app_style_editor, align 1, !tbaa !5, !range !9, !noundef !10
  %76 = trunc nuw i8 %75 to i1
  br i1 %76, label %77, label %79

77:                                               ; preds = %74
  %78 = tail call noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef nonnull @.str.22, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE21show_app_style_editor, i32 noundef 0)
  tail call void @_ZN5ImGui15ShowStyleEditorEP10ImGuiStyle(ptr noundef null)
  tail call void @_ZN5ImGui3EndEv()
  br label %79

79:                                               ; preds = %77, %74
  %80 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE11no_titlebar, align 1, !tbaa !5, !range !9, !noundef !10
  %spec.select = zext nneg i8 %80 to i32
  %81 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE12no_scrollbar, align 1, !tbaa !5, !range !9, !noundef !10
  %82 = trunc nuw i8 %81 to i1
  %83 = or disjoint i32 %spec.select, 8
  %.1 = select i1 %82, i32 %83, i32 %spec.select
  %84 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE7no_menu, align 1, !tbaa !5, !range !9, !noundef !10
  %85 = trunc nuw i8 %84 to i1
  %86 = or disjoint i32 %.1, 1024
  %.2 = select i1 %85, i32 %.1, i32 %86
  %87 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE7no_move, align 1, !tbaa !5, !range !9, !noundef !10
  %88 = trunc nuw i8 %87 to i1
  %89 = or i32 %.2, 4
  %.3 = select i1 %88, i32 %89, i32 %.2
  %90 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE9no_resize, align 1, !tbaa !5, !range !9, !noundef !10
  %91 = trunc nuw i8 %90 to i1
  %92 = or i32 %.3, 2
  %.4 = select i1 %91, i32 %92, i32 %.3
  %93 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE11no_collapse, align 1, !tbaa !5, !range !9, !noundef !10
  %94 = trunc nuw i8 %93 to i1
  %95 = or i32 %.4, 32
  %.5 = select i1 %94, i32 %95, i32 %.4
  %96 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE6no_nav, align 1, !tbaa !5, !range !9, !noundef !10
  %97 = trunc nuw i8 %96 to i1
  %98 = or i32 %.5, 786432
  %.6 = select i1 %97, i32 %98, i32 %.5
  %99 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE13no_background, align 1, !tbaa !5, !range !9, !noundef !10
  %100 = trunc nuw i8 %99 to i1
  %101 = or i32 %.6, 128
  %.7 = select i1 %100, i32 %101, i32 %.6
  %102 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE17no_bring_to_front, align 1, !tbaa !5, !range !9, !noundef !10
  %103 = trunc nuw i8 %102 to i1
  %104 = or i32 %.7, 8192
  %.8 = select i1 %103, i32 %104, i32 %.7
  %105 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE16unsaved_document, align 1, !tbaa !5, !range !9, !noundef !10
  %106 = trunc nuw i8 %105 to i1
  %107 = or i32 %.8, 1048576
  %.9 = select i1 %106, i32 %107, i32 %.8
  %108 = load i8, ptr @_ZZN5ImGui14ShowDemoWindowEPbE8no_close, align 1, !tbaa !5, !range !9, !noundef !10
  %109 = trunc nuw i8 %108 to i1
  %.0 = select i1 %109, ptr null, ptr %0
  %110 = tail call noundef ptr @_ZN5ImGui15GetMainViewportEv()
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #8
  %111 = getelementptr inbounds i8, ptr %110, i64 20
  %112 = load float, ptr %111, align 4, !tbaa !11
  %113 = fadd float %112, 2.000000e+01
  %114 = getelementptr inbounds i8, ptr %110, i64 24
  %115 = load float, ptr %114, align 4, !tbaa !16
  %116 = fadd float %115, 2.000000e+01
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %2, float noundef %113, float noundef %116)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8) %2, i32 noundef 4, ptr noundef nonnull align 4 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %4, float noundef 4.000000e+02, float noundef 3.000000e+02)
  call void @_ZN5ImGui17SetNextWindowSizeERK6ImVec2i(ptr noundef nonnull align 4 dereferenceable(8) %4, i32 noundef 4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  %117 = call noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef nonnull @.str.23, ptr noundef %.0, i32 noundef %.9)
  br i1 %117, label %118, label %270

118:                                              ; preds = %79
  %119 = call noundef float @_ZN5ImGui11GetFontSizeEv()
  %120 = fmul float %119, -1.200000e+01
  call void @_ZN5ImGui13PushItemWidthEf(float noundef %120)
  %121 = call noundef zeroext i1 @_ZN5ImGui12BeginMenuBarEv()
  br i1 %121, label %122, label %161

122:                                              ; preds = %118
  %123 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef nonnull @.str.24, i1 noundef zeroext true)
  br i1 %123, label %124, label %129

124:                                              ; preds = %122
  %125 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !17
  %.not36 = icmp eq ptr %125, null
  br i1 %.not36, label %128, label %126

126:                                              ; preds = %124
  %127 = load ptr, ptr @GImGuiDemoMarkerCallbackUserData, align 8, !tbaa !17
  call void %125(ptr noundef nonnull @.str.21, i32 noundef 373, ptr noundef nonnull @.str.25, ptr noundef %127)
  br label %128

128:                                              ; preds = %126, %124
  call void @_ZL19ShowExampleMenuFilev()
  call void @_ZN5ImGui7EndMenuEv()
  br label %129

129:                                              ; preds = %128, %122
  %130 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef nonnull @.str.26, i1 noundef zeroext true)
  br i1 %130, label %131, label %149

131:                                              ; preds = %129
  %132 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !17
  %.not37 = icmp eq ptr %132, null
  br i1 %.not37, label %135, label %133

133:                                              ; preds = %131
  %134 = load ptr, ptr @GImGuiDemoMarkerCallbackUserData, align 8, !tbaa !17
  call void %132(ptr noundef nonnull @.str.21, i32 noundef 379, ptr noundef nonnull @.str.27, ptr noundef %134)
  br label %135

135:                                              ; preds = %133, %131
  %136 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef nonnull @.str.28, ptr noundef null, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE22show_app_main_menu_bar, i1 noundef zeroext true)
  %137 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef nonnull @.str.29, ptr noundef null, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE16show_app_console, i1 noundef zeroext true)
  %138 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef nonnull @.str.30, ptr noundef null, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE12show_app_log, i1 noundef zeroext true)
  %139 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef nonnull @.str.31, ptr noundef null, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE15show_app_layout, i1 noundef zeroext true)
  %140 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef nonnull @.str.32, ptr noundef null, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE24show_app_property_editor, i1 noundef zeroext true)
  %141 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef nonnull @.str.33, ptr noundef null, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE18show_app_long_text, i1 noundef zeroext true)
  %142 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef nonnull @.str.34, ptr noundef null, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE20show_app_auto_resize, i1 noundef zeroext true)
  %143 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef nonnull @.str.35, ptr noundef null, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE27show_app_constrained_resize, i1 noundef zeroext true)
  %144 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef nonnull @.str.36, ptr noundef null, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE23show_app_simple_overlay, i1 noundef zeroext true)
  %145 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef nonnull @.str.37, ptr noundef null, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE19show_app_fullscreen, i1 noundef zeroext true)
  %146 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef nonnull @.str.38, ptr noundef null, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE22show_app_window_titles, i1 noundef zeroext true)
  %147 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef nonnull @.str.39, ptr noundef null, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE25show_app_custom_rendering, i1 noundef zeroext true)
  %148 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef nonnull @.str.40, ptr noundef null, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE18show_app_documents, i1 noundef zeroext true)
  call void @_ZN5ImGui7EndMenuEv()
  br label %149

149:                                              ; preds = %135, %129
  %150 = call noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef nonnull @.str.41, i1 noundef zeroext true)
  br i1 %150, label %151, label %160

151:                                              ; preds = %149
  %152 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !17
  %.not38 = icmp eq ptr %152, null
  br i1 %.not38, label %155, label %153

153:                                              ; preds = %151
  %154 = load ptr, ptr @GImGuiDemoMarkerCallbackUserData, align 8, !tbaa !17
  call void %152(ptr noundef nonnull @.str.21, i32 noundef 398, ptr noundef nonnull @.str.42, ptr noundef %154)
  br label %155

155:                                              ; preds = %153, %151
  %156 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef nonnull @.str.43, ptr noundef null, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE16show_app_metrics, i1 noundef zeroext true)
  %157 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef nonnull @.str.44, ptr noundef null, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE19show_app_stack_tool, i1 noundef zeroext true)
  %158 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef nonnull @.str.45, ptr noundef null, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE21show_app_style_editor, i1 noundef zeroext true)
  %159 = call noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef nonnull @.str.46, ptr noundef null, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE14show_app_about, i1 noundef zeroext true)
  call void @_ZN5ImGui7EndMenuEv()
  br label %160

160:                                              ; preds = %155, %149
  call void @_ZN5ImGui10EndMenuBarEv()
  br label %161

161:                                              ; preds = %160, %118
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.47, ptr noundef nonnull @.str.48)
  call void @_ZN5ImGui7SpacingEv()
  %162 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !17
  %.not39 = icmp eq ptr %162, null
  br i1 %.not39, label %165, label %163

163:                                              ; preds = %161
  %164 = load ptr, ptr @GImGuiDemoMarkerCallbackUserData, align 8, !tbaa !17
  call void %162(ptr noundef nonnull @.str.21, i32 noundef 413, ptr noundef nonnull @.str.49, ptr noundef %164)
  br label %165

165:                                              ; preds = %163, %161
  %166 = call noundef zeroext i1 @_ZN5ImGui16CollapsingHeaderEPKci(ptr noundef nonnull @.str.49, i32 noundef 0)
  br i1 %166, label %167, label %168

167:                                              ; preds = %165
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.50)
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef nonnull @.str.51)
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef nonnull @.str.52)
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef nonnull @.str.53)
  call void @_ZN5ImGui9SeparatorEv()
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.54)
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef nonnull @.str.55)
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef nonnull @.str.56)
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef nonnull @.str.57)
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef nonnull @.str.58)
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef nonnull @.str.59)
  call void (ptr, ...) @_ZN5ImGui10BulletTextEPKcz(ptr noundef nonnull @.str.60)
  call void @_ZN5ImGui9SeparatorEv()
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.61)
  call void @_ZN5ImGui13ShowUserGuideEv()
  br label %168

168:                                              ; preds = %165, %167
  %169 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !17
  %.not40 = icmp eq ptr %169, null
  br i1 %.not40, label %172, label %170

170:                                              ; preds = %168
  %171 = load ptr, ptr @GImGuiDemoMarkerCallbackUserData, align 8, !tbaa !17
  call void %169(ptr noundef nonnull @.str.21, i32 noundef 436, ptr noundef nonnull @.str.62, ptr noundef %171)
  br label %172

172:                                              ; preds = %170, %168
  %173 = call noundef zeroext i1 @_ZN5ImGui16CollapsingHeaderEPKci(ptr noundef nonnull @.str.62, i32 noundef 0)
  br i1 %173, label %174, label %238

174:                                              ; preds = %172
  %175 = call noundef nonnull align 8 dereferenceable(5480) ptr @_ZN5ImGui5GetIOEv()
  %176 = call noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef nonnull @.str.63)
  br i1 %176, label %177, label %208

177:                                              ; preds = %174
  %178 = call noundef zeroext i1 @_ZN5ImGui13CheckboxFlagsEPKcPii(ptr noundef nonnull @.str.64, ptr noundef nonnull %175, i32 noundef 1)
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void @_ZL10HelpMarkerPKc(ptr noundef nonnull @.str.65)
  %179 = call noundef zeroext i1 @_ZN5ImGui13CheckboxFlagsEPKcPii(ptr noundef nonnull @.str.66, ptr noundef nonnull %175, i32 noundef 2)
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void @_ZL10HelpMarkerPKc(ptr noundef nonnull @.str.67)
  %180 = call noundef zeroext i1 @_ZN5ImGui13CheckboxFlagsEPKcPii(ptr noundef nonnull @.str.68, ptr noundef nonnull %175, i32 noundef 4)
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void @_ZL10HelpMarkerPKc(ptr noundef nonnull @.str.69)
  %181 = call noundef zeroext i1 @_ZN5ImGui13CheckboxFlagsEPKcPii(ptr noundef nonnull @.str.70, ptr noundef nonnull %175, i32 noundef 16)
  %182 = load i32, ptr %175, align 8, !tbaa !19
  %183 = and i32 %182, 16
  %.not41 = icmp eq i32 %183, 0
  br i1 %.not41, label %196, label %184

184:                                              ; preds = %177
  %185 = call noundef double @_ZN5ImGui7GetTimeEv()
  %186 = fptrunc double %185 to float
  %187 = call float @fmodf(float noundef %186, float noundef 0x3FD99999A0000000) #8
  %188 = fcmp olt float %187, 0x3FC99999A0000000
  br i1 %188, label %189, label %190

189:                                              ; preds = %184
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.71)
  br label %190

190:                                              ; preds = %189, %184
  %191 = call noundef i32 @_ZN5ImGui11GetKeyIndexEi(i32 noundef 12)
  %192 = call noundef zeroext i1 @_ZN5ImGui12IsKeyPressedEib(i32 noundef %191, i1 noundef zeroext true)
  br i1 %192, label %193, label %196

193:                                              ; preds = %190
  %194 = load i32, ptr %175, align 8, !tbaa !19
  %195 = and i32 %194, -17
  store i32 %195, ptr %175, align 8, !tbaa !19
  br label %196

196:                                              ; preds = %190, %193, %177
  %197 = call noundef zeroext i1 @_ZN5ImGui13CheckboxFlagsEPKcPii(ptr noundef nonnull @.str.72, ptr noundef nonnull %175, i32 noundef 32)
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void @_ZL10HelpMarkerPKc(ptr noundef nonnull @.str.73)
  %198 = getelementptr inbounds i8, ptr %175, i64 194
  %199 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef nonnull @.str.74, ptr noundef nonnull %198)
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void @_ZL10HelpMarkerPKc(ptr noundef nonnull @.str.75)
  %200 = getelementptr inbounds i8, ptr %175, i64 195
  %201 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef nonnull @.str.76, ptr noundef nonnull %200)
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void @_ZL10HelpMarkerPKc(ptr noundef nonnull @.str.77)
  %202 = getelementptr inbounds i8, ptr %175, i64 196
  %203 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef nonnull @.str.78, ptr noundef nonnull %202)
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void @_ZL10HelpMarkerPKc(ptr noundef nonnull @.str.79)
  %204 = getelementptr inbounds i8, ptr %175, i64 197
  %205 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef nonnull @.str.80, ptr noundef nonnull %204)
  %206 = getelementptr inbounds i8, ptr %175, i64 192
  %207 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef nonnull @.str.81, ptr noundef nonnull %206)
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void @_ZL10HelpMarkerPKc(ptr noundef nonnull @.str.82)
  call void (ptr, ...) @_ZN5ImGui4TextEPKcz(ptr noundef nonnull @.str.83)
  call void @_ZN5ImGui7TreePopEv()
  call void @_ZN5ImGui9SeparatorEv()
  br label %208

208:                                              ; preds = %174, %196
  %209 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !17
  %.not42 = icmp eq ptr %209, null
  br i1 %.not42, label %212, label %210

210:                                              ; preds = %208
  %211 = load ptr, ptr @GImGuiDemoMarkerCallbackUserData, align 8, !tbaa !17
  call void %209(ptr noundef nonnull @.str.21, i32 noundef 477, ptr noundef nonnull @.str.84, ptr noundef %211)
  br label %212

212:                                              ; preds = %210, %208
  %213 = call noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef nonnull @.str.85)
  br i1 %213, label %214, label %221

214:                                              ; preds = %212
  call void @_ZL10HelpMarkerPKc(ptr noundef nonnull @.str.86)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #8
  %215 = getelementptr inbounds i8, ptr %175, i64 4
  %216 = load i32, ptr %215, align 4, !tbaa !23
  store i32 %216, ptr %5, align 4, !tbaa !24
  %217 = call noundef zeroext i1 @_ZN5ImGui13CheckboxFlagsEPKcPii(ptr noundef nonnull @.str.87, ptr noundef nonnull %5, i32 noundef 1)
  %218 = call noundef zeroext i1 @_ZN5ImGui13CheckboxFlagsEPKcPii(ptr noundef nonnull @.str.88, ptr noundef nonnull %5, i32 noundef 2)
  %219 = call noundef zeroext i1 @_ZN5ImGui13CheckboxFlagsEPKcPii(ptr noundef nonnull @.str.89, ptr noundef nonnull %5, i32 noundef 4)
  %220 = call noundef zeroext i1 @_ZN5ImGui13CheckboxFlagsEPKcPii(ptr noundef nonnull @.str.90, ptr noundef nonnull %5, i32 noundef 8)
  call void @_ZN5ImGui7TreePopEv()
  call void @_ZN5ImGui9SeparatorEv()
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  br label %221

221:                                              ; preds = %212, %214
  %222 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !17
  %.not43 = icmp eq ptr %222, null
  br i1 %.not43, label %225, label %223

223:                                              ; preds = %221
  %224 = load ptr, ptr @GImGuiDemoMarkerCallbackUserData, align 8, !tbaa !17
  call void %222(ptr noundef nonnull @.str.21, i32 noundef 494, ptr noundef nonnull @.str.91, ptr noundef %224)
  br label %225

225:                                              ; preds = %223, %221
  %226 = call noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef nonnull @.str.92)
  br i1 %226, label %227, label %228

227:                                              ; preds = %225
  call void @_ZL10HelpMarkerPKc(ptr noundef nonnull @.str.93)
  call void @_ZN5ImGui15ShowStyleEditorEP10ImGuiStyle(ptr noundef null)
  call void @_ZN5ImGui7TreePopEv()
  call void @_ZN5ImGui9SeparatorEv()
  br label %228

228:                                              ; preds = %225, %227
  %229 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !17
  %.not44 = icmp eq ptr %229, null
  br i1 %.not44, label %232, label %230

230:                                              ; preds = %228
  %231 = load ptr, ptr @GImGuiDemoMarkerCallbackUserData, align 8, !tbaa !17
  call void %229(ptr noundef nonnull @.str.21, i32 noundef 503, ptr noundef nonnull @.str.94, ptr noundef %231)
  br label %232

232:                                              ; preds = %230, %228
  %233 = call noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef nonnull @.str.95)
  br i1 %233, label %234, label %238

234:                                              ; preds = %232
  call void @_ZL10HelpMarkerPKc(ptr noundef nonnull @.str.96)
  call void @_ZN5ImGui10LogButtonsEv()
  call void @_ZL10HelpMarkerPKc(ptr noundef nonnull @.str.97)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %235 = call noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2(ptr noundef nonnull @.str.98, ptr noundef nonnull align 4 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  br i1 %235, label %236, label %237

236:                                              ; preds = %234
  call void @_ZN5ImGui14LogToClipboardEi(i32 noundef -1)
  call void (ptr, ...) @_ZN5ImGui7LogTextEPKcz(ptr noundef nonnull @.str.99)
  call void @_ZN5ImGui9LogFinishEv()
  br label %237

237:                                              ; preds = %236, %234
  call void @_ZN5ImGui7TreePopEv()
  br label %238

238:                                              ; preds = %232, %237, %172
  %239 = load ptr, ptr @GImGuiDemoMarkerCallback, align 8, !tbaa !17
  %.not45 = icmp eq ptr %239, null
  br i1 %.not45, label %242, label %240

240:                                              ; preds = %238
  %241 = load ptr, ptr @GImGuiDemoMarkerCallbackUserData, align 8, !tbaa !17
  call void %239(ptr noundef nonnull @.str.21, i32 noundef 523, ptr noundef nonnull @.str.100, ptr noundef %241)
  br label %242

242:                                              ; preds = %240, %238
  %243 = call noundef zeroext i1 @_ZN5ImGui16CollapsingHeaderEPKci(ptr noundef nonnull @.str.100, i32 noundef 0)
  br i1 %243, label %244, label %269

244:                                              ; preds = %242
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %245 = call noundef zeroext i1 @_ZN5ImGui10BeginTableEPKciiRK6ImVec2f(ptr noundef nonnull @.str.101, i32 noundef 3, i32 noundef 0, ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef 0.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  br i1 %245, label %246, label %269

246:                                              ; preds = %244
  %247 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %248 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef nonnull @.str.102, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE11no_titlebar)
  %249 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %250 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef nonnull @.str.103, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE12no_scrollbar)
  %251 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %252 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef nonnull @.str.104, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE7no_menu)
  %253 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %254 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef nonnull @.str.105, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE7no_move)
  %255 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %256 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef nonnull @.str.106, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE9no_resize)
  %257 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %258 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef nonnull @.str.107, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE11no_collapse)
  %259 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %260 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef nonnull @.str.108, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE8no_close)
  %261 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %262 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef nonnull @.str.109, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE6no_nav)
  %263 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %264 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef nonnull @.str.110, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE13no_background)
  %265 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %266 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef nonnull @.str.111, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE17no_bring_to_front)
  %267 = call noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv()
  %268 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef nonnull @.str.112, ptr noundef nonnull @_ZZN5ImGui14ShowDemoWindowEPbE16unsaved_document)
  call void @_ZN5ImGui8EndTableEv()
  br label %269

269:                                              ; preds = %244, %246, %242
  call void @_ZL21ShowDemoWindowWidgetsv()
  call void @_ZL20ShowDemoWindowLayoutv()
  call void @_ZL20ShowDemoWindowPopupsv()
  call void @_ZL20ShowDemoWindowTablesv()
  call void @_ZL18ShowDemoWindowMiscv()
  call void @_ZN5ImGui12PopItemWidthEv()
  br label %270

270:                                              ; preds = %79, %269
  call void @_ZN5ImGui3EndEv()
  ret void
}

declare noundef ptr @_ZN5ImGui17GetCurrentContextEv() local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL25ShowExampleAppMainMenuBarv() local_unnamed_addr #0

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL29ShowExampleAppCustomRenderingPb(ptr noundef) local_unnamed_addr #4

declare void @_ZN5ImGui17ShowMetricsWindowEPb(ptr noundef) local_unnamed_addr #2

declare void @_ZN5ImGui19ShowStackToolWindowEPb(ptr noundef) local_unnamed_addr #2

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

declare noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

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

declare void @_ZN5ImGui3EndEv() local_unnamed_addr #2

declare noundef ptr @_ZN5ImGui15GetMainViewportEv() local_unnamed_addr #2

declare void @_ZN5ImGui16SetNextWindowPosERK6ImVec2iS2_(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

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

declare void @_ZN5ImGui17SetNextWindowSizeERK6ImVec2i(ptr noundef nonnull align 4 dereferenceable(8), i32 noundef) local_unnamed_addr #2

declare void @_ZN5ImGui13PushItemWidthEf(float noundef) local_unnamed_addr #2

declare noundef float @_ZN5ImGui11GetFontSizeEv() local_unnamed_addr #2

declare noundef zeroext i1 @_ZN5ImGui12BeginMenuBarEv() local_unnamed_addr #2

declare noundef zeroext i1 @_ZN5ImGui9BeginMenuEPKcb(ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL19ShowExampleMenuFilev() local_unnamed_addr #4

declare void @_ZN5ImGui7EndMenuEv() local_unnamed_addr #2

declare noundef zeroext i1 @_ZN5ImGui8MenuItemEPKcS1_Pbb(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

declare void @_ZN5ImGui10EndMenuBarEv() local_unnamed_addr #2

declare void @_ZN5ImGui4TextEPKcz(ptr noundef, ...) local_unnamed_addr #2

declare void @_ZN5ImGui7SpacingEv() local_unnamed_addr #2

declare noundef zeroext i1 @_ZN5ImGui16CollapsingHeaderEPKci(ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @_ZN5ImGui9SeparatorEv() local_unnamed_addr #2

declare noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN5ImGui13CheckboxFlagsEPKcPii(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @_ZN5ImGui8SameLineEff(float noundef, float noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @fmodf(float noundef, float noundef) local_unnamed_addr #6

declare noundef double @_ZN5ImGui7GetTimeEv() local_unnamed_addr #2

declare noundef zeroext i1 @_ZN5ImGui12IsKeyPressedEib(i32 noundef, i1 noundef zeroext) local_unnamed_addr #2

declare noundef i32 @_ZN5ImGui11GetKeyIndexEi(i32 noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN5ImGui7TreePopEv() local_unnamed_addr #2

declare void @_ZN5ImGui10LogButtonsEv() local_unnamed_addr #2

declare noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2(ptr noundef, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

declare void @_ZN5ImGui14LogToClipboardEi(i32 noundef) local_unnamed_addr #2

declare void @_ZN5ImGui7LogTextEPKcz(ptr noundef, ...) local_unnamed_addr #2

declare void @_ZN5ImGui9LogFinishEv() local_unnamed_addr #2

declare noundef zeroext i1 @_ZN5ImGui10BeginTableEPKciiRK6ImVec2f(ptr noundef, i32 noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(8), float noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN5ImGui15TableNextColumnEv() local_unnamed_addr #2

declare void @_ZN5ImGui8EndTableEv() local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL21ShowDemoWindowWidgetsv() local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL20ShowDemoWindowLayoutv() local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL20ShowDemoWindowPopupsv() local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL20ShowDemoWindowTablesv() local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL18ShowDemoWindowMiscv() local_unnamed_addr #4

declare void @_ZN5ImGui12PopItemWidthEv() local_unnamed_addr #2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i8 0, i8 2}
!10 = !{}
!11 = !{!12, !15, i64 20}
!12 = !{!"_ZTS13ImGuiViewport", !13, i64 0, !14, i64 4, !14, i64 12, !14, i64 20, !14, i64 28}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!12, !15, i64 24}
!17 = !{!18, !18, i64 0}
!18 = !{!"any pointer", !7, i64 0}
!19 = !{!20, !13, i64 0}
!20 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !18, i64 24, !18, i64 32, !15, i64 40, !15, i64 44, !15, i64 48, !7, i64 52, !15, i64 140, !15, i64 144, !18, i64 152, !18, i64 160, !15, i64 168, !6, i64 172, !18, i64 176, !14, i64 184, !6, i64 192, !6, i64 193, !6, i64 194, !6, i64 195, !6, i64 196, !6, i64 197, !15, i64 200, !18, i64 208, !18, i64 216, !18, i64 224, !18, i64 232, !18, i64 240, !18, i64 248, !18, i64 256, !18, i64 264, !18, i64 272, !18, i64 280, !14, i64 288, !7, i64 296, !15, i64 304, !15, i64 308, !6, i64 312, !6, i64 313, !6, i64 314, !6, i64 315, !7, i64 316, !7, i64 828, !6, i64 908, !6, i64 909, !6, i64 910, !6, i64 911, !6, i64 912, !6, i64 913, !6, i64 914, !15, i64 916, !13, i64 920, !13, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !14, i64 940, !6, i64 948, !13, i64 952, !13, i64 956, !14, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1068, !7, i64 1078, !7, i64 1083, !7, i64 1088, !7, i64 1096, !7, i64 1116, !7, i64 1136, !7, i64 1176, !7, i64 1196, !7, i64 3244, !7, i64 5292, !7, i64 5372, !15, i64 5452, !6, i64 5456, !21, i64 5458, !22, i64 5464}
!21 = !{!"short", !7, i64 0}
!22 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !18, i64 8}
!23 = !{!20, !13, i64 4}
!24 = !{!13, !13, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass