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

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

@GImGui = external global ptr, align 8
@.str = external hidden unnamed_addr constant [1 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui6TextExEPKcS1_i(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %struct.ImVec2, align 4
  %12 = alloca float, align 4
  %13 = alloca i8, align 1
  %14 = alloca ptr, align 8
  %15 = alloca float, align 4
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca %struct.ImVec2, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca %struct.ImVec2, align 4
  %22 = alloca %struct.ImRect, align 4
  %23 = alloca %struct.ImVec2, align 4
  %24 = alloca %struct.ImVec2, align 4
  %25 = alloca ptr, align 8
  %26 = alloca %struct.ImVec2, align 4
  %27 = alloca %struct.ImVec2, align 4
  %28 = alloca i32, align 4
  %29 = alloca ptr, align 8
  %30 = alloca %struct.ImVec2, align 4
  %31 = alloca %struct.ImVec2, align 4
  %32 = alloca %struct.ImRect, align 4
  %33 = alloca %struct.ImVec2, align 4
  %34 = alloca float, align 4
  %35 = alloca %struct.ImVec2, align 4
  %36 = alloca %struct.ImRect, align 4
  %37 = alloca %struct.ImVec2, align 4
  %38 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %39 = call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  store ptr %39, ptr %7, align 8, !tbaa !5
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.ImGuiWindow, ptr %40, i32 0, i32 28
  %42 = load i8, ptr %41, align 1, !tbaa !11, !range !40, !noundef !41
  %43 = trunc i8 %42 to i1
  br i1 %43, label %44, label %45

44:                                               ; preds = %3
  store i32 1, ptr %8, align 4
  br label %298

45:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  %46 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %46, ptr %9, align 8, !tbaa !5
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = icmp eq ptr %47, %48
  br i1 %49, label %50, label %51

50:                                               ; preds = %45
  store ptr @.str, ptr %5, align 8, !tbaa !5
  store ptr @.str, ptr %4, align 8, !tbaa !5
  br label %51

51:                                               ; preds = %50, %45
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %52, ptr %10, align 8, !tbaa !5
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = icmp eq ptr %53, null
  br i1 %54, label %55, label %60

55:                                               ; preds = %51
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = call i64 @strlen(ptr noundef %57) #10
  %59 = getelementptr inbounds i8, ptr %56, i64 %58
  store ptr %59, ptr %5, align 8, !tbaa !5
  br label %60

60:                                               ; preds = %55, %51
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.ImGuiWindow, ptr %61, i32 0, i32 54
  %63 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %62, i32 0, i32 0
  %64 = getelementptr inbounds %struct.ImVec2, ptr %63, i32 0, i32 0
  %65 = load float, ptr %64, align 8, !tbaa !42
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.ImGuiWindow, ptr %66, i32 0, i32 54
  %68 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %67, i32 0, i32 0
  %69 = getelementptr inbounds %struct.ImVec2, ptr %68, i32 0, i32 1
  %70 = load float, ptr %69, align 4, !tbaa !43
  %71 = load ptr, ptr %7, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.ImGuiWindow, ptr %71, i32 0, i32 54
  %73 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %72, i32 0, i32 7
  %74 = load float, ptr %73, align 8, !tbaa !44
  %75 = fadd float %70, %74
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef %65, float noundef %75)
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.ImGuiWindow, ptr %76, i32 0, i32 54
  %78 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %77, i32 0, i32 31
  %79 = load float, ptr %78, align 8, !tbaa !45
  store float %79, ptr %12, align 4, !tbaa !46
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #9
  %80 = load float, ptr %12, align 4, !tbaa !46
  %81 = fcmp oge float %80, 0.000000e+00
  %82 = zext i1 %81 to i8
  store i8 %82, ptr %13, align 1, !tbaa !47
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = ptrtoint ptr %83 to i64
  %86 = ptrtoint ptr %84 to i64
  %87 = sub i64 %85, %86
  %88 = icmp sgt i64 %87, 2000
  br i1 %88, label %89, label %268

89:                                               ; preds = %60
  %90 = load i8, ptr %13, align 1, !tbaa !47, !range !40, !noundef !41
  %91 = trunc i8 %90 to i1
  br i1 %91, label %268, label %92

92:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %93 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %93, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  %94 = call noundef float @_ZN5ImGui17GetTextLineHeightEv()
  store float %94, ptr %15, align 4, !tbaa !46
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !48
  %95 = load ptr, ptr %9, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.ImGuiContext, ptr %95, i32 0, i32 209
  %97 = load i8, ptr %96, align 4, !tbaa !49, !range !40, !noundef !41
  %98 = trunc i8 %97 to i1
  br i1 %98, label %163, label %99

99:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  %100 = load ptr, ptr %7, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.ImGuiWindow, ptr %100, i32 0, i32 60
  %102 = getelementptr inbounds %struct.ImRect, ptr %101, i32 0, i32 0
  %103 = getelementptr inbounds %struct.ImVec2, ptr %102, i32 0, i32 1
  %104 = load float, ptr %103, align 4, !tbaa !95
  %105 = getelementptr inbounds %struct.ImVec2, ptr %11, i32 0, i32 1
  %106 = load float, ptr %105, align 4, !tbaa !96
  %107 = fsub float %104, %106
  %108 = load float, ptr %15, align 4, !tbaa !46
  %109 = fdiv float %107, %108
  %110 = fptosi float %109 to i32
  store i32 %110, ptr %18, align 4, !tbaa !9
  %111 = load i32, ptr %18, align 4, !tbaa !9
  %112 = icmp sgt i32 %111, 0
  br i1 %112, label %113, label %162

113:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %114

114:                                              ; preds = %150, %113
  %115 = load ptr, ptr %14, align 8, !tbaa !5
  %116 = load ptr, ptr %5, align 8, !tbaa !5
  %117 = icmp ult ptr %115, %116
  br i1 %117, label %118, label %122

118:                                              ; preds = %114
  %119 = load i32, ptr %19, align 4, !tbaa !9
  %120 = load i32, ptr %18, align 4, !tbaa !9
  %121 = icmp slt i32 %119, %120
  br label %122

122:                                              ; preds = %118, %114
  %123 = phi i1 [ false, %114 ], [ %121, %118 ]
  br i1 %123, label %124, label %155

124:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  %125 = load ptr, ptr %14, align 8, !tbaa !5
  %126 = load ptr, ptr %5, align 8, !tbaa !5
  %127 = load ptr, ptr %14, align 8, !tbaa !5
  %128 = ptrtoint ptr %126 to i64
  %129 = ptrtoint ptr %127 to i64
  %130 = sub i64 %128, %129
  %131 = call noundef ptr @memchr(ptr noundef %125, i32 noundef 10, i64 noundef %130) #10
  store ptr %131, ptr %20, align 8, !tbaa !5
  %132 = load ptr, ptr %20, align 8, !tbaa !5
  %133 = icmp ne ptr %132, null
  br i1 %133, label %136, label %134

134:                                              ; preds = %124
  %135 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %135, ptr %20, align 8, !tbaa !5
  br label %136

136:                                              ; preds = %134, %124
  %137 = load i32, ptr %6, align 4, !tbaa !9
  %138 = and i32 %137, 1
  %139 = icmp eq i32 %138, 0
  br i1 %139, label %140, label %150

140:                                              ; preds = %136
  %141 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  %142 = load float, ptr %141, align 4, !tbaa !97
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %143 = load ptr, ptr %14, align 8, !tbaa !5
  %144 = load ptr, ptr %20, align 8, !tbaa !5
  %145 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %143, ptr noundef %144, i1 noundef zeroext false, float noundef -1.000000e+00)
  store <2 x float> %145, ptr %21, align 4
  %146 = getelementptr inbounds %struct.ImVec2, ptr %21, i32 0, i32 0
  %147 = load float, ptr %146, align 4, !tbaa !97
  %148 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %142, float noundef %147)
  %149 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  store float %148, ptr %149, align 4, !tbaa !97
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  br label %150

150:                                              ; preds = %140, %136
  %151 = load ptr, ptr %20, align 8, !tbaa !5
  %152 = getelementptr inbounds i8, ptr %151, i64 1
  store ptr %152, ptr %14, align 8, !tbaa !5
  %153 = load i32, ptr %19, align 4, !tbaa !9
  %154 = add nsw i32 %153, 1
  store i32 %154, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  br label %114, !llvm.loop !98

155:                                              ; preds = %122
  %156 = load i32, ptr %19, align 4, !tbaa !9
  %157 = sitofp i32 %156 to float
  %158 = load float, ptr %15, align 4, !tbaa !46
  %159 = getelementptr inbounds %struct.ImVec2, ptr %17, i32 0, i32 1
  %160 = load float, ptr %159, align 4, !tbaa !96
  %161 = call float @llvm.fmuladd.f32(float %157, float %158, float %160)
  store float %161, ptr %159, align 4, !tbaa !96
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  br label %162

162:                                              ; preds = %155, %99
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  br label %163

163:                                              ; preds = %162, %92
  %164 = load ptr, ptr %14, align 8, !tbaa !5
  %165 = load ptr, ptr %5, align 8, !tbaa !5
  %166 = icmp ult ptr %164, %165
  br i1 %166, label %167, label %261

167:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  %168 = load float, ptr %15, align 4, !tbaa !46
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %24, float noundef 0x47EFFFFFE0000000, float noundef %168)
  %169 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %24)
  store <2 x float> %169, ptr %23, align 4
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %22, ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %23)
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  br label %170

170:                                              ; preds = %189, %167
  %171 = load ptr, ptr %14, align 8, !tbaa !5
  %172 = load ptr, ptr %5, align 8, !tbaa !5
  %173 = icmp ult ptr %171, %172
  br i1 %173, label %174, label %218

174:                                              ; preds = %170
  %175 = call noundef zeroext i1 @_ZN5ImGui11IsClippedExERK6ImRectj(ptr noundef nonnull align 4 dereferenceable(16) %22, i32 noundef 0)
  br i1 %175, label %176, label %177

176:                                              ; preds = %174
  br label %218

177:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  %178 = load ptr, ptr %14, align 8, !tbaa !5
  %179 = load ptr, ptr %5, align 8, !tbaa !5
  %180 = load ptr, ptr %14, align 8, !tbaa !5
  %181 = ptrtoint ptr %179 to i64
  %182 = ptrtoint ptr %180 to i64
  %183 = sub i64 %181, %182
  %184 = call noundef ptr @memchr(ptr noundef %178, i32 noundef 10, i64 noundef %183) #10
  store ptr %184, ptr %25, align 8, !tbaa !5
  %185 = load ptr, ptr %25, align 8, !tbaa !5
  %186 = icmp ne ptr %185, null
  br i1 %186, label %189, label %187

187:                                              ; preds = %177
  %188 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %188, ptr %25, align 8, !tbaa !5
  br label %189

189:                                              ; preds = %187, %177
  %190 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  %191 = load float, ptr %190, align 4, !tbaa !97
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  %192 = load ptr, ptr %14, align 8, !tbaa !5
  %193 = load ptr, ptr %25, align 8, !tbaa !5
  %194 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %192, ptr noundef %193, i1 noundef zeroext false, float noundef -1.000000e+00)
  store <2 x float> %194, ptr %26, align 4
  %195 = getelementptr inbounds %struct.ImVec2, ptr %26, i32 0, i32 0
  %196 = load float, ptr %195, align 4, !tbaa !97
  %197 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %191, float noundef %196)
  %198 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  store float %197, ptr %198, align 4, !tbaa !97
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %17, i64 8, i1 false), !tbaa.struct !48
  %199 = load ptr, ptr %14, align 8, !tbaa !5
  %200 = load ptr, ptr %25, align 8, !tbaa !5
  %201 = load <2 x float>, ptr %27, align 4
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %201, ptr noundef %199, ptr noundef %200, i1 noundef zeroext false)
  %202 = load ptr, ptr %25, align 8, !tbaa !5
  %203 = getelementptr inbounds i8, ptr %202, i64 1
  store ptr %203, ptr %14, align 8, !tbaa !5
  %204 = load float, ptr %15, align 4, !tbaa !46
  %205 = getelementptr inbounds %struct.ImRect, ptr %22, i32 0, i32 0
  %206 = getelementptr inbounds %struct.ImVec2, ptr %205, i32 0, i32 1
  %207 = load float, ptr %206, align 4, !tbaa !100
  %208 = fadd float %207, %204
  store float %208, ptr %206, align 4, !tbaa !100
  %209 = load float, ptr %15, align 4, !tbaa !46
  %210 = getelementptr inbounds %struct.ImRect, ptr %22, i32 0, i32 1
  %211 = getelementptr inbounds %struct.ImVec2, ptr %210, i32 0, i32 1
  %212 = load float, ptr %211, align 4, !tbaa !101
  %213 = fadd float %212, %209
  store float %213, ptr %211, align 4, !tbaa !101
  %214 = load float, ptr %15, align 4, !tbaa !46
  %215 = getelementptr inbounds %struct.ImVec2, ptr %17, i32 0, i32 1
  %216 = load float, ptr %215, align 4, !tbaa !96
  %217 = fadd float %216, %214
  store float %217, ptr %215, align 4, !tbaa !96
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  br label %170, !llvm.loop !102

218:                                              ; preds = %176, %170
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #9
  store i32 0, ptr %28, align 4, !tbaa !9
  br label %219

219:                                              ; preds = %249, %218
  %220 = load ptr, ptr %14, align 8, !tbaa !5
  %221 = load ptr, ptr %5, align 8, !tbaa !5
  %222 = icmp ult ptr %220, %221
  br i1 %222, label %223, label %254

223:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  %224 = load ptr, ptr %14, align 8, !tbaa !5
  %225 = load ptr, ptr %5, align 8, !tbaa !5
  %226 = load ptr, ptr %14, align 8, !tbaa !5
  %227 = ptrtoint ptr %225 to i64
  %228 = ptrtoint ptr %226 to i64
  %229 = sub i64 %227, %228
  %230 = call noundef ptr @memchr(ptr noundef %224, i32 noundef 10, i64 noundef %229) #10
  store ptr %230, ptr %29, align 8, !tbaa !5
  %231 = load ptr, ptr %29, align 8, !tbaa !5
  %232 = icmp ne ptr %231, null
  br i1 %232, label %235, label %233

233:                                              ; preds = %223
  %234 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %234, ptr %29, align 8, !tbaa !5
  br label %235

235:                                              ; preds = %233, %223
  %236 = load i32, ptr %6, align 4, !tbaa !9
  %237 = and i32 %236, 1
  %238 = icmp eq i32 %237, 0
  br i1 %238, label %239, label %249

239:                                              ; preds = %235
  %240 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  %241 = load float, ptr %240, align 4, !tbaa !97
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  %242 = load ptr, ptr %14, align 8, !tbaa !5
  %243 = load ptr, ptr %29, align 8, !tbaa !5
  %244 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %242, ptr noundef %243, i1 noundef zeroext false, float noundef -1.000000e+00)
  store <2 x float> %244, ptr %30, align 4
  %245 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 0
  %246 = load float, ptr %245, align 4, !tbaa !97
  %247 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %241, float noundef %246)
  %248 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  store float %247, ptr %248, align 4, !tbaa !97
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  br label %249

249:                                              ; preds = %239, %235
  %250 = load ptr, ptr %29, align 8, !tbaa !5
  %251 = getelementptr inbounds i8, ptr %250, i64 1
  store ptr %251, ptr %14, align 8, !tbaa !5
  %252 = load i32, ptr %28, align 4, !tbaa !9
  %253 = add nsw i32 %252, 1
  store i32 %253, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  br label %219, !llvm.loop !103

254:                                              ; preds = %219
  %255 = load i32, ptr %28, align 4, !tbaa !9
  %256 = sitofp i32 %255 to float
  %257 = load float, ptr %15, align 4, !tbaa !46
  %258 = getelementptr inbounds %struct.ImVec2, ptr %17, i32 0, i32 1
  %259 = load float, ptr %258, align 4, !tbaa !96
  %260 = call float @llvm.fmuladd.f32(float %256, float %257, float %259)
  store float %260, ptr %258, align 4, !tbaa !96
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #9
  br label %261

261:                                              ; preds = %254, %163
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #9
  %262 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %11)
  store <2 x float> %262, ptr %31, align 4
  %263 = getelementptr inbounds %struct.ImVec2, ptr %31, i32 0, i32 1
  %264 = load float, ptr %263, align 4, !tbaa !96
  %265 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 1
  store float %264, ptr %265, align 4, !tbaa !96
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #9
  %266 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(8) %16)
  store <2 x float> %266, ptr %33, align 4
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %32, ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(8) %33)
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef 0.000000e+00)
  %267 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %32, i32 noundef 0, ptr noundef null, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  br label %296

268:                                              ; preds = %89, %60
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #9
  %269 = load i8, ptr %13, align 1, !tbaa !47, !range !40, !noundef !41
  %270 = trunc i8 %269 to i1
  br i1 %270, label %271, label %277

271:                                              ; preds = %268
  %272 = load ptr, ptr %7, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.ImGuiWindow, ptr %272, i32 0, i32 54
  %274 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %273, i32 0, i32 0
  %275 = load float, ptr %12, align 4, !tbaa !46
  %276 = call noundef float @_ZN5ImGui19CalcWrapWidthForPosERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %274, float noundef %275)
  br label %278

277:                                              ; preds = %268
  br label %278

278:                                              ; preds = %277, %271
  %279 = phi float [ %276, %271 ], [ 0.000000e+00, %277 ]
  store float %279, ptr %34, align 4, !tbaa !46
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #9
  %280 = load ptr, ptr %10, align 8, !tbaa !5
  %281 = load ptr, ptr %5, align 8, !tbaa !5
  %282 = load float, ptr %34, align 4, !tbaa !46
  %283 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %280, ptr noundef %281, i1 noundef zeroext false, float noundef %282)
  store <2 x float> %283, ptr %35, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #9
  %284 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(8) %35)
  store <2 x float> %284, ptr %37, align 4
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %36, ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(8) %37)
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %35, float noundef 0.000000e+00)
  %285 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %36, i32 noundef 0, ptr noundef null, i32 noundef 0)
  br i1 %285, label %287, label %286

286:                                              ; preds = %278
  store i32 1, ptr %8, align 4
  br label %293

287:                                              ; preds = %278
  %288 = getelementptr inbounds %struct.ImRect, ptr %36, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 %288, i64 8, i1 false), !tbaa.struct !48
  %289 = load ptr, ptr %10, align 8, !tbaa !5
  %290 = load ptr, ptr %5, align 8, !tbaa !5
  %291 = load float, ptr %34, align 4, !tbaa !46
  %292 = load <2 x float>, ptr %38, align 4
  call void @_ZN5ImGui17RenderTextWrappedE6ImVec2PKcS2_f(<2 x float> %292, ptr noundef %289, ptr noundef %290, float noundef %291)
  store i32 0, ptr %8, align 4
  br label %293

293:                                              ; preds = %287, %286
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  %294 = load i32, ptr %8, align 4
  switch i32 %294, label %297 [
    i32 0, label %295
  ]

295:                                              ; preds = %293
  br label %296

296:                                              ; preds = %295, %261
  store i32 0, ptr %8, align 4
  br label %297

297:                                              ; preds = %296, %293
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  br label %298

298:                                              ; preds = %297, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  %299 = load i32, ptr %8, align 4
  switch i32 %299, label %301 [
    i32 0, label %300
    i32 1, label %300
  ]

300:                                              ; preds = %298, %298
  ret void

301:                                              ; preds = %298
  unreachable
}

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

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

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #3

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

declare noundef float @_ZN5ImGui17GetTextLineHeightEv() #5

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

; Function Attrs: nounwind willreturn memory(read)
declare noundef ptr @memchr(ptr noundef, i32 noundef, i64 noundef) #3

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

declare <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef, ptr noundef, i1 noundef zeroext, float noundef) #5

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #7

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #8

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

declare noundef zeroext i1 @_ZN5ImGui11IsClippedExERK6ImRectj(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) #5

declare void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float>, ptr noundef, ptr noundef, i1 noundef zeroext) #5

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #8

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

declare noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, ptr noundef, i32 noundef) #5

declare noundef float @_ZN5ImGui19CalcWrapWidthForPosERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8), float noundef) #5

declare void @_ZN5ImGui17RenderTextWrappedE6ImVec2PKcS2_f(<2 x float>, ptr noundef, ptr noundef, float noundef) #5

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

!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 = !{!"int", !7, i64 0}
!11 = !{!12, !15, i64 147}
!12 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !10, i64 8, !10, i64 12, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !14, i64 72, !14, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !13, i64 92, !13, i64 100, !13, i64 108, !13, i64 116, !13, i64 124, !13, i64 132, !15, i64 140, !15, i64 141, !15, i64 142, !15, i64 143, !15, i64 144, !15, i64 145, !15, i64 146, !15, i64 147, !15, i64 148, !15, i64 149, !15, i64 150, !15, i64 151, !15, i64 152, !7, i64 153, !16, i64 154, !16, i64 156, !16, i64 158, !16, i64 160, !10, i64 164, !7, i64 168, !7, i64 169, !7, i64 170, !15, i64 171, !10, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !7, i64 179, !10, i64 180, !10, i64 181, !10, i64 182, !13, i64 184, !13, i64 192, !17, i64 200, !18, i64 216, !24, i64 448, !24, i64 464, !24, i64 480, !24, i64 496, !24, i64 512, !24, i64 528, !24, i64 544, !25, i64 560, !25, i64 564, !10, i64 568, !14, i64 572, !14, i64 576, !26, i64 584, !28, i64 600, !14, i64 616, !10, i64 620, !6, i64 624, !29, i64 632, !6, i64 832, !6, i64 840, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !7, i64 888, !7, i64 896, !10, i64 928, !10, i64 932, !15, i64 936}
!13 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!18 = !{!"_ZTS19ImGuiWindowTempData", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !14, i64 56, !14, i64 60, !19, i64 64, !19, i64 68, !19, i64 72, !13, i64 76, !20, i64 84, !16, i64 88, !16, i64 90, !10, i64 92, !15, i64 96, !15, i64 97, !15, i64 98, !13, i64 100, !21, i64 108, !10, i64 136, !10, i64 140, !22, i64 144, !6, i64 160, !6, i64 168, !10, i64 176, !10, i64 180, !10, i64 184, !14, i64 188, !14, i64 192, !23, i64 200, !23, i64 216}
!19 = !{!"_ZTS6ImVec1", !14, i64 0}
!20 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!21 = !{!"_ZTS16ImGuiMenuColumns", !10, i64 0, !10, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !7, i64 18}
!22 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!23 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!24 = !{!"_ZTS6ImRect", !13, i64 0, !13, i64 8}
!25 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!26 = !{!"_ZTS12ImGuiStorage", !27, i64 0}
!27 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!29 = !{!"_ZTS10ImDrawList", !30, i64 0, !31, i64 16, !32, i64 32, !10, i64 48, !10, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !33, i64 88, !34, i64 104, !35, i64 120, !36, i64 136, !38, i64 168, !14, i64 192}
!30 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!36 = !{!"_ZTS15ImDrawCmdHeader", !37, i64 0, !6, i64 16, !10, i64 24}
!37 = !{!"_ZTS6ImVec4", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!38 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !39, i64 8}
!39 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!40 = !{i8 0, i8 2}
!41 = !{}
!42 = !{!12, !14, i64 216}
!43 = !{!12, !14, i64 220}
!44 = !{!12, !14, i64 272}
!45 = !{!12, !14, i64 408}
!46 = !{!14, !14, i64 0}
!47 = !{!15, !15, i64 0}
!48 = !{i64 0, i64 4, !46, i64 4, i64 4, !46}
!49 = !{!50, !15, i64 12588}
!50 = !{!"_ZTS12ImGuiContext", !15, i64 0, !15, i64 1, !51, i64 8, !52, i64 5488, !6, i64 6536, !14, i64 6544, !14, i64 6548, !53, i64 6552, !54, i64 7064, !10, i64 7072, !10, i64 7076, !10, i64 7080, !15, i64 7084, !15, i64 7085, !15, i64 7086, !15, i64 7087, !15, i64 7088, !6, i64 7096, !22, i64 7104, !22, i64 7120, !22, i64 7136, !55, i64 7152, !26, i64 7168, !10, i64 7184, !13, i64 7188, !6, i64 7200, !6, i64 7208, !6, i64 7216, !6, i64 7224, !6, i64 7232, !13, i64 7240, !14, i64 7248, !10, i64 7252, !10, i64 7256, !10, i64 7260, !15, i64 7264, !15, i64 7265, !15, i64 7266, !15, i64 7267, !14, i64 7268, !14, i64 7272, !10, i64 7276, !10, i64 7280, !14, i64 7284, !15, i64 7288, !15, i64 7289, !15, i64 7290, !15, i64 7291, !15, i64 7292, !15, i64 7293, !15, i64 7294, !10, i64 7296, !10, i64 7300, !56, i64 7304, !13, i64 7312, !6, i64 7320, !57, i64 7328, !10, i64 7332, !10, i64 7336, !15, i64 7340, !15, i64 7341, !6, i64 7344, !10, i64 7352, !14, i64 7356, !10, i64 7360, !58, i64 7364, !59, i64 7384, !60, i64 7448, !61, i64 7560, !62, i64 7576, !63, i64 7592, !17, i64 7608, !64, i64 7624, !65, i64 7640, !66, i64 7656, !66, i64 7672, !10, i64 7688, !67, i64 7696, !6, i64 7712, !10, i64 7720, !10, i64 7724, !10, i64 7728, !10, i64 7732, !10, i64 7736, !10, i64 7740, !10, i64 7744, !10, i64 7748, !10, i64 7752, !10, i64 7756, !10, i64 7760, !10, i64 7764, !57, i64 7768, !20, i64 7772, !15, i64 7776, !15, i64 7777, !15, i64 7778, !15, i64 7779, !15, i64 7780, !15, i64 7781, !15, i64 7782, !10, i64 7784, !24, i64 7788, !15, i64 7804, !15, i64 7805, !15, i64 7806, !10, i64 7808, !10, i64 7812, !10, i64 7816, !10, i64 7820, !10, i64 7824, !10, i64 7828, !24, i64 7832, !24, i64 7848, !10, i64 7864, !10, i64 7868, !10, i64 7872, !68, i64 7880, !68, i64 7928, !68, i64 7976, !68, i64 8024, !6, i64 8072, !6, i64 8080, !6, i64 8088, !14, i64 8096, !14, i64 8100, !15, i64 8104, !14, i64 8108, !10, i64 8112, !15, i64 8116, !15, i64 8117, !15, i64 8118, !10, i64 8120, !10, i64 8124, !10, i64 8128, !69, i64 8136, !24, i64 8200, !10, i64 8216, !10, i64 8220, !14, i64 8224, !10, i64 8228, !10, i64 8232, !10, i64 8236, !10, i64 8240, !70, i64 8248, !7, i64 8264, !10, i64 8280, !71, i64 8288, !6, i64 8304, !10, i64 8312, !72, i64 8320, !73, i64 8336, !23, i64 8376, !39, i64 8392, !6, i64 8408, !75, i64 8416, !77, i64 8456, !78, i64 8472, !13, i64 8488, !79, i64 8496, !83, i64 12216, !10, i64 12328, !10, i64 12332, !14, i64 12336, !14, i64 12340, !10, i64 12344, !37, i64 12348, !85, i64 12364, !14, i64 12412, !15, i64 12416, !15, i64 12417, !14, i64 12420, !14, i64 12424, !14, i64 12428, !14, i64 12432, !16, i64 12436, !16, i64 12438, !14, i64 12440, !80, i64 12448, !17, i64 12464, !13, i64 12480, !13, i64 12488, !7, i64 12496, !15, i64 12497, !14, i64 12500, !86, i64 12504, !87, i64 12520, !88, i64 12536, !89, i64 12552, !90, i64 12568, !10, i64 12584, !15, i64 12588, !91, i64 12592, !6, i64 12600, !86, i64 12608, !6, i64 12624, !6, i64 12632, !14, i64 12640, !15, i64 12644, !10, i64 12648, !10, i64 12652, !10, i64 12656, !15, i64 12660, !10, i64 12664, !92, i64 12668, !93, i64 12688, !7, i64 12720, !10, i64 13200, !10, i64 13204, !14, i64 13208, !10, i64 13212, !10, i64 13216, !10, i64 13220, !7, i64 13224}
!51 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !13, i64 8, !14, i64 16, !14, i64 20, !6, i64 24, !6, i64 32, !14, i64 40, !14, i64 44, !14, i64 48, !7, i64 52, !14, i64 140, !14, i64 144, !6, i64 152, !6, i64 160, !14, i64 168, !15, i64 172, !6, i64 176, !13, i64 184, !15, i64 192, !15, i64 193, !15, i64 194, !15, i64 195, !15, i64 196, !15, i64 197, !14, 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, !13, i64 288, !7, i64 296, !14, i64 304, !14, i64 308, !15, i64 312, !15, i64 313, !15, i64 314, !15, i64 315, !7, i64 316, !7, i64 828, !15, i64 908, !15, i64 909, !15, i64 910, !15, i64 911, !15, i64 912, !15, i64 913, !15, i64 914, !14, i64 916, !10, i64 920, !10, i64 924, !10, i64 928, !10, i64 932, !10, i64 936, !13, i64 940, !15, i64 948, !10, i64 952, !10, i64 956, !13, 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, !14, i64 5452, !15, i64 5456, !16, i64 5458, !31, i64 5464}
!52 = !{!"_ZTS10ImGuiStyle", !14, i64 0, !14, i64 4, !13, i64 8, !14, i64 16, !14, i64 20, !13, i64 24, !13, i64 32, !10, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !14, i64 56, !13, i64 60, !14, i64 68, !14, i64 72, !13, i64 76, !13, i64 84, !13, i64 92, !13, i64 100, !14, i64 108, !14, i64 112, !14, i64 116, !14, i64 120, !14, i64 124, !14, i64 128, !14, i64 132, !14, i64 136, !14, i64 140, !14, i64 144, !10, i64 148, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !14, i64 184, !15, i64 188, !15, i64 189, !15, i64 190, !14, i64 192, !14, i64 196, !7, i64 200}
!53 = !{!"_ZTS20ImDrawListSharedData", !13, i64 0, !6, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !37, i64 28, !10, i64 44, !7, i64 48, !14, i64 432, !7, i64 436, !6, i64 504}
!54 = !{!"double", !7, i64 0}
!55 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!56 = !{!"long long", !7, i64 0}
!57 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!58 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !14, i64 4, !10, i64 8, !10, i64 12, !15, i64 16}
!59 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !24, i64 12, !24, i64 28, !24, i64 44}
!60 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !15, i64 56, !24, i64 60, !6, i64 80, !6, i64 88, !14, i64 96, !13, i64 100}
!61 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!66 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!67 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !6, i64 8}
!68 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !10, i64 8, !10, i64 12, !24, i64 16, !10, i64 32, !14, i64 36, !14, i64 40, !14, i64 44}
!69 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !15, i64 57, !15, i64 58}
!70 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!71 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!72 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!73 = !{!"_ZTS6ImPoolI10ImGuiTableE", !74, i64 0, !26, i64 16, !10, i64 32, !10, i64 36}
!74 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!75 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !76, i64 0, !26, i64 16, !10, i64 32, !10, i64 36}
!76 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!77 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!78 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!79 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !31, i64 16, !80, i64 32, !80, i64 48, !15, i64 64, !10, i64 68, !14, i64 72, !81, i64 76, !14, i64 3704, !15, i64 3708, !15, i64 3709, !15, i64 3710, !10, i64 3712}
!80 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!81 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 12, !10, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !14, i64 28, !82, i64 32}
!82 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !10, i64 3588, !10, i64 3592}
!83 = !{!"_ZTS6ImFont", !23, i64 0, !14, i64 16, !14, i64 20, !31, i64 24, !84, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !15, i64 88, !14, i64 92, !14, i64 96, !14, i64 100, !10, i64 104, !7, i64 108}
!84 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!85 = !{!"_ZTS21ImGuiComboPreviewData", !24, i64 0, !13, i64 16, !13, i64 24, !13, i64 32, !14, i64 40, !10, i64 44}
!86 = !{!"_ZTS15ImGuiTextBuffer", !80, i64 0}
!87 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!88 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !80, i64 0}
!89 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !80, i64 0}
!90 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!91 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!92 = !{!"_ZTS18ImGuiMetricsConfig", !15, i64 0, !15, i64 1, !15, i64 2, !15, i64 3, !15, i64 4, !15, i64 5, !10, i64 8, !10, i64 12}
!93 = !{!"_ZTS14ImGuiStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !94, i64 16}
!94 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !6, i64 8}
!95 = !{!12, !14, i64 532}
!96 = !{!13, !14, i64 4}
!97 = !{!13, !14, i64 0}
!98 = distinct !{!98, !99}
!99 = !{!"llvm.loop.mustprogress"}
!100 = !{!24, !14, i64 4}
!101 = !{!24, !14, i64 12}
!102 = distinct !{!102, !99}
!103 = distinct !{!103, !99}


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

@GImGui = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [1 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui6TextExEPKcS1_i(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
  %4 = alloca %struct.ImVec2, align 8
  %5 = alloca %struct.ImVec2, align 4
  %6 = alloca %struct.ImVec2, align 8
  %7 = alloca %struct.ImRect, align 4
  %8 = alloca %struct.ImVec2, align 8
  %9 = alloca %struct.ImVec2, align 4
  %10 = alloca %struct.ImRect, align 4
  %11 = alloca %struct.ImVec2, align 8
  %12 = alloca %struct.ImVec2, align 8
  %13 = alloca %struct.ImRect, align 8
  %14 = alloca %struct.ImVec2, align 8
  %15 = tail call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  %16 = getelementptr inbounds i8, ptr %15, i64 147
  %17 = load i8, ptr %16, align 1, !tbaa !5, !range !38, !noundef !39
  %18 = trunc nuw i8 %17 to i1
  br i1 %18, label %144, label %19

19:                                               ; preds = %3
  %20 = load ptr, ptr @GImGui, align 8, !tbaa !40
  %21 = icmp eq ptr %0, %1
  %spec.select = select i1 %21, ptr @.str, ptr %1
  %spec.select100 = select i1 %21, ptr @.str, ptr %0
  %22 = icmp eq ptr %spec.select, null
  br i1 %22, label %23, label %26

23:                                               ; preds = %19
  %24 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %spec.select100) #8
  %25 = getelementptr inbounds i8, ptr %spec.select100, i64 %24
  br label %26

26:                                               ; preds = %23, %19
  %.1 = phi ptr [ %25, %23 ], [ %spec.select, %19 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #9
  %27 = getelementptr inbounds i8, ptr %15, i64 216
  %28 = load float, ptr %27, align 8, !tbaa !41
  %29 = getelementptr inbounds i8, ptr %15, i64 220
  %30 = load float, ptr %29, align 4, !tbaa !42
  %31 = getelementptr inbounds i8, ptr %15, i64 272
  %32 = load float, ptr %31, align 8, !tbaa !43
  %33 = fadd float %30, %32
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %4, float noundef %28, float noundef %33)
  %34 = getelementptr inbounds i8, ptr %15, i64 408
  %35 = load float, ptr %34, align 8, !tbaa !44
  %36 = fcmp oge float %35, 0.000000e+00
  %37 = ptrtoint ptr %.1 to i64
  %38 = ptrtoint ptr %spec.select100 to i64
  %39 = sub i64 %37, %38
  %40 = icmp slt i64 %39, 2001
  %brmerge = select i1 %40, i1 true, i1 %36
  br i1 %brmerge, label %134, label %41

41:                                               ; preds = %26
  %42 = call noundef float @_ZN5ImGui17GetTextLineHeightEv()
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  %43 = load i64, ptr %4, align 8
  store i64 %43, ptr %6, align 8
  %44 = getelementptr inbounds i8, ptr %20, i64 12588
  %45 = load i8, ptr %44, align 4, !tbaa !45, !range !38, !noundef !39
  %46 = trunc nuw i8 %45 to i1
  %47 = lshr i64 %43, 32
  %48 = trunc nuw i64 %47 to i32
  %49 = bitcast i32 %48 to float
  br i1 %46, label %83, label %50

50:                                               ; preds = %41
  %51 = getelementptr inbounds i8, ptr %15, i64 532
  %52 = load float, ptr %51, align 4, !tbaa !91
  %53 = fsub float %52, %49
  %54 = fdiv float %53, %42
  %55 = fptosi float %54 to i32
  %56 = icmp sgt i32 %55, 0
  br i1 %56, label %.preheader, label %83

.preheader:                                       ; preds = %50
  %57 = icmp ult ptr %spec.select100, %.1
  br i1 %57, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader
  %58 = and i32 %2, 1
  %59 = icmp eq i32 %58, 0
  br i1 %59, label %.lr.ph.split.us.preheader, label %.lr.ph.split

.lr.ph.split.us.preheader:                        ; preds = %.lr.ph
  %.pre = load float, ptr %5, align 4, !tbaa !92
  br label %.lr.ph.split.us

.lr.ph.split.us:                                  ; preds = %.lr.ph.split.us.preheader, %.lr.ph.split.us
  %60 = phi float [ %65, %.lr.ph.split.us ], [ %.pre, %.lr.ph.split.us.preheader ]
  %.084106.us = phi ptr [ %66, %.lr.ph.split.us ], [ %spec.select100, %.lr.ph.split.us.preheader ]
  %.088105.us = phi i32 [ %67, %.lr.ph.split.us ], [ 0, %.lr.ph.split.us.preheader ]
  %61 = ptrtoint ptr %.084106.us to i64
  %62 = sub i64 %37, %61
  %63 = call noundef ptr @memchr(ptr noundef %.084106.us, i32 noundef 10, i64 noundef %62) #8
  %.not.us = icmp eq ptr %63, null
  %spec.select102.us = select i1 %.not.us, ptr %.1, ptr %63
  %64 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %.084106.us, ptr noundef nonnull %spec.select102.us, i1 noundef zeroext false, float noundef -1.000000e+00)
  %.sroa.014.0.vec.extract.us = extractelement <2 x float> %64, i64 0
  %65 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %60, float noundef %.sroa.014.0.vec.extract.us)
  store float %65, ptr %5, align 4, !tbaa !92
  %66 = getelementptr inbounds i8, ptr %spec.select102.us, i64 1
  %67 = add nuw nsw i32 %.088105.us, 1
  %68 = icmp ult ptr %66, %.1
  %69 = icmp slt i32 %67, %55
  %70 = select i1 %68, i1 %69, i1 false
  br i1 %70, label %.lr.ph.split.us, label %._crit_edge.loopexit, !llvm.loop !93

.lr.ph.split:                                     ; preds = %.lr.ph, %.lr.ph.split
  %.084106 = phi ptr [ %74, %.lr.ph.split ], [ %spec.select100, %.lr.ph ]
  %.088105 = phi i32 [ %75, %.lr.ph.split ], [ 0, %.lr.ph ]
  %71 = ptrtoint ptr %.084106 to i64
  %72 = sub i64 %37, %71
  %73 = call noundef ptr @memchr(ptr noundef %.084106, i32 noundef 10, i64 noundef %72) #8
  %.not = icmp eq ptr %73, null
  %spec.select102 = select i1 %.not, ptr %.1, ptr %73
  %74 = getelementptr inbounds i8, ptr %spec.select102, i64 1
  %75 = add nuw nsw i32 %.088105, 1
  %76 = icmp ult ptr %74, %.1
  %77 = icmp slt i32 %75, %55
  %78 = select i1 %76, i1 %77, i1 false
  br i1 %78, label %.lr.ph.split, label %._crit_edge, !llvm.loop !93

._crit_edge.loopexit:                             ; preds = %.lr.ph.split.us
  %.phi.trans.insert = getelementptr inbounds i8, ptr %6, i64 4
  %.pre124 = load float, ptr %.phi.trans.insert, align 4, !tbaa !95
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph.split, %._crit_edge.loopexit, %.preheader
  %79 = phi float [ %49, %.preheader ], [ %.pre124, %._crit_edge.loopexit ], [ %49, %.lr.ph.split ]
  %.088.lcssa = phi i32 [ 0, %.preheader ], [ %67, %._crit_edge.loopexit ], [ %75, %.lr.ph.split ]
  %.084.lcssa = phi ptr [ %spec.select100, %.preheader ], [ %66, %._crit_edge.loopexit ], [ %74, %.lr.ph.split ]
  %80 = uitofp nneg i32 %.088.lcssa to float
  %81 = getelementptr inbounds i8, ptr %6, i64 4
  %82 = call float @llvm.fmuladd.f32(float %80, float %42, float %79)
  store float %82, ptr %81, align 4, !tbaa !95
  br label %83

83:                                               ; preds = %50, %._crit_edge, %41
  %.2 = phi ptr [ %spec.select100, %41 ], [ %.084.lcssa, %._crit_edge ], [ %spec.select100, %50 ]
  %84 = icmp ult ptr %.2, %.1
  br i1 %84, label %85, label %129

85:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef 0x47EFFFFFE0000000, float noundef %42)
  %86 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %86, ptr %8, align 8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  %87 = getelementptr inbounds i8, ptr %7, i64 4
  %88 = getelementptr inbounds i8, ptr %7, i64 12
  %89 = getelementptr inbounds i8, ptr %6, i64 4
  br label %90

90:                                               ; preds = %85, %92
  %.3109 = phi ptr [ %.2, %85 ], [ %99, %92 ]
  %91 = call noundef zeroext i1 @_ZN5ImGui11IsClippedExERK6ImRectj(ptr noundef nonnull align 4 dereferenceable(16) %7, i32 noundef 0)
  br i1 %91, label %107, label %92

92:                                               ; preds = %90
  %93 = ptrtoint ptr %.3109 to i64
  %94 = sub i64 %37, %93
  %95 = call noundef ptr @memchr(ptr noundef %.3109, i32 noundef 10, i64 noundef %94) #8
  %.not98 = icmp eq ptr %95, null
  %spec.select103 = select i1 %.not98, ptr %.1, ptr %95
  %96 = load float, ptr %5, align 4, !tbaa !92
  %97 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %.3109, ptr noundef nonnull %spec.select103, i1 noundef zeroext false, float noundef -1.000000e+00)
  %.sroa.09.0.vec.extract = extractelement <2 x float> %97, i64 0
  %98 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %96, float noundef %.sroa.09.0.vec.extract)
  store float %98, ptr %5, align 4, !tbaa !92
  %.sroa.08.0.copyload = load <2 x float>, ptr %6, align 8
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %.sroa.08.0.copyload, ptr noundef %.3109, ptr noundef nonnull %spec.select103, i1 noundef zeroext false)
  %99 = getelementptr inbounds i8, ptr %spec.select103, i64 1
  %100 = load float, ptr %87, align 4, !tbaa !96
  %101 = fadd float %42, %100
  store float %101, ptr %87, align 4, !tbaa !96
  %102 = load float, ptr %88, align 4, !tbaa !97
  %103 = fadd float %42, %102
  store float %103, ptr %88, align 4, !tbaa !97
  %104 = load float, ptr %89, align 4, !tbaa !95
  %105 = fadd float %42, %104
  store float %105, ptr %89, align 4, !tbaa !95
  %106 = icmp ult ptr %99, %.1
  br i1 %106, label %90, label %107, !llvm.loop !98

107:                                              ; preds = %90, %92
  %.3.lcssa = phi ptr [ %.3109, %90 ], [ %99, %92 ]
  %108 = icmp ult ptr %.3.lcssa, %.1
  br i1 %108, label %.lr.ph113, label %._crit_edge114

.lr.ph113:                                        ; preds = %107
  %109 = and i32 %2, 1
  %110 = icmp eq i32 %109, 0
  br i1 %110, label %.lr.ph113.split.us.preheader, label %.lr.ph113.split

.lr.ph113.split.us.preheader:                     ; preds = %.lr.ph113
  %.pre125 = load float, ptr %5, align 4, !tbaa !92
  br label %.lr.ph113.split.us

.lr.ph113.split.us:                               ; preds = %.lr.ph113.split.us.preheader, %.lr.ph113.split.us
  %111 = phi float [ %116, %.lr.ph113.split.us ], [ %.pre125, %.lr.ph113.split.us.preheader ]
  %.4111.us = phi ptr [ %117, %.lr.ph113.split.us ], [ %.3.lcssa, %.lr.ph113.split.us.preheader ]
  %.087110.us = phi i32 [ %118, %.lr.ph113.split.us ], [ 0, %.lr.ph113.split.us.preheader ]
  %112 = ptrtoint ptr %.4111.us to i64
  %113 = sub i64 %37, %112
  %114 = call noundef ptr @memchr(ptr noundef %.4111.us, i32 noundef 10, i64 noundef %113) #8
  %.not99.us = icmp eq ptr %114, null
  %spec.select104.us = select i1 %.not99.us, ptr %.1, ptr %114
  %115 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %.4111.us, ptr noundef nonnull %spec.select104.us, i1 noundef zeroext false, float noundef -1.000000e+00)
  %.sroa.03.0.vec.extract.us = extractelement <2 x float> %115, i64 0
  %116 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %111, float noundef %.sroa.03.0.vec.extract.us)
  store float %116, ptr %5, align 4, !tbaa !92
  %117 = getelementptr inbounds i8, ptr %spec.select104.us, i64 1
  %118 = add nuw nsw i32 %.087110.us, 1
  %119 = icmp ult ptr %117, %.1
  br i1 %119, label %.lr.ph113.split.us, label %._crit_edge114, !llvm.loop !99

.lr.ph113.split:                                  ; preds = %.lr.ph113, %.lr.ph113.split
  %.4111 = phi ptr [ %123, %.lr.ph113.split ], [ %.3.lcssa, %.lr.ph113 ]
  %.087110 = phi i32 [ %124, %.lr.ph113.split ], [ 0, %.lr.ph113 ]
  %120 = ptrtoint ptr %.4111 to i64
  %121 = sub i64 %37, %120
  %122 = call noundef ptr @memchr(ptr noundef %.4111, i32 noundef 10, i64 noundef %121) #8
  %.not99 = icmp eq ptr %122, null
  %spec.select104 = select i1 %.not99, ptr %.1, ptr %122
  %123 = getelementptr inbounds i8, ptr %spec.select104, i64 1
  %124 = add nuw nsw i32 %.087110, 1
  %125 = icmp ult ptr %123, %.1
  br i1 %125, label %.lr.ph113.split, label %._crit_edge114, !llvm.loop !99

._crit_edge114:                                   ; preds = %.lr.ph113.split, %.lr.ph113.split.us, %107
  %.087.lcssa = phi i32 [ 0, %107 ], [ %118, %.lr.ph113.split.us ], [ %124, %.lr.ph113.split ]
  %126 = uitofp nneg i32 %.087.lcssa to float
  %127 = load float, ptr %89, align 4, !tbaa !95
  %128 = call float @llvm.fmuladd.f32(float %126, float %42, float %127)
  store float %128, ptr %89, align 4, !tbaa !95
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #9
  br label %129

129:                                              ; preds = %._crit_edge114, %83
  %130 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %4)
  %.sroa.02.4.vec.extract = extractelement <2 x float> %130, i64 1
  %131 = getelementptr inbounds i8, ptr %5, i64 4
  store float %.sroa.02.4.vec.extract, ptr %131, align 4, !tbaa !95
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  %132 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %5)
  store <2 x float> %132, ptr %11, align 8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef 0.000000e+00)
  %133 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %10, i32 noundef 0, ptr noundef null, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  br label %143

134:                                              ; preds = %26
  br i1 %36, label %135, label %137

135:                                              ; preds = %134
  %136 = call noundef float @_ZN5ImGui19CalcWrapWidthForPosERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef %35)
  br label %137

137:                                              ; preds = %134, %135
  %138 = phi float [ %136, %135 ], [ 0.000000e+00, %134 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %139 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %spec.select100, ptr noundef %.1, i1 noundef zeroext false, float noundef %138)
  store <2 x float> %139, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #9
  %140 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %12)
  store <2 x float> %140, ptr %14, align 8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %14)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef 0.000000e+00)
  %141 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %13, i32 noundef 0, ptr noundef null, i32 noundef 0)
  br i1 %141, label %142, label %.critedge

142:                                              ; preds = %137
  %.sroa.0.0.copyload = load <2 x float>, ptr %13, align 8
  call void @_ZN5ImGui17RenderTextWrappedE6ImVec2PKcS2_f(<2 x float> %.sroa.0.0.copyload, ptr noundef %spec.select100, ptr noundef %.1, float noundef %138)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  br label %143

.critedge:                                        ; preds = %137
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  br label %143

143:                                              ; preds = %142, %129, %.critedge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  br label %144

144:                                              ; preds = %3, %143
  ret void
}

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #3

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

declare noundef float @_ZN5ImGui17GetTextLineHeightEv() local_unnamed_addr #5

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare noundef ptr @memchr(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #3

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

declare <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef, ptr noundef, i1 noundef zeroext, float noundef) local_unnamed_addr #5

; 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 nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #6

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #7

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

declare noundef zeroext i1 @_ZN5ImGui11IsClippedExERK6ImRectj(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) local_unnamed_addr #5

declare void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float>, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #7

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

declare noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #5

declare noundef float @_ZN5ImGui19CalcWrapWidthForPosERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8), float noundef) local_unnamed_addr #5

declare void @_ZN5ImGui17RenderTextWrappedE6ImVec2PKcS2_f(<2 x float>, ptr noundef, ptr noundef, float noundef) local_unnamed_addr #5

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { inlinehint 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 #8 = { nounwind willreturn memory(read) }
attributes #9 = { 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, !13, i64 147}
!6 = !{!"_ZTS11ImGuiWindow", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !12, i64 72, !12, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !11, i64 92, !11, i64 100, !11, i64 108, !11, i64 116, !11, i64 124, !11, i64 132, !13, i64 140, !13, i64 141, !13, i64 142, !13, i64 143, !13, i64 144, !13, i64 145, !13, i64 146, !13, i64 147, !13, i64 148, !13, i64 149, !13, i64 150, !13, i64 151, !13, i64 152, !8, i64 153, !14, i64 154, !14, i64 156, !14, i64 158, !14, i64 160, !10, i64 164, !8, i64 168, !8, i64 169, !8, i64 170, !13, i64 171, !10, i64 172, !8, i64 176, !8, i64 177, !8, i64 178, !8, i64 179, !10, i64 180, !10, i64 181, !10, i64 182, !11, i64 184, !11, i64 192, !15, i64 200, !16, i64 216, !22, i64 448, !22, i64 464, !22, i64 480, !22, i64 496, !22, i64 512, !22, i64 528, !22, i64 544, !23, i64 560, !23, i64 564, !10, i64 568, !12, i64 572, !12, i64 576, !24, i64 584, !26, i64 600, !12, i64 616, !10, i64 620, !7, i64 624, !27, i64 632, !7, i64 832, !7, i64 840, !7, i64 848, !7, i64 856, !7, i64 864, !7, i64 872, !7, i64 880, !8, i64 888, !8, i64 896, !10, i64 928, !10, i64 932, !13, i64 936}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTS6ImVec2", !12, i64 0, !12, i64 4}
!12 = !{!"float", !8, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{!"short", !8, i64 0}
!15 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !7, i64 8}
!16 = !{!"_ZTS19ImGuiWindowTempData", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !12, i64 56, !12, i64 60, !17, i64 64, !17, i64 68, !17, i64 72, !11, i64 76, !18, i64 84, !14, i64 88, !14, i64 90, !10, i64 92, !13, i64 96, !13, i64 97, !13, i64 98, !11, i64 100, !19, i64 108, !10, i64 136, !10, i64 140, !20, i64 144, !7, i64 160, !7, i64 168, !10, i64 176, !10, i64 180, !10, i64 184, !12, i64 188, !12, i64 192, !21, i64 200, !21, i64 216}
!17 = !{!"_ZTS6ImVec1", !12, i64 0}
!18 = !{!"_ZTS13ImGuiNavLayer", !8, i64 0}
!19 = !{!"_ZTS16ImGuiMenuColumns", !10, i64 0, !10, i64 4, !14, i64 8, !14, i64 10, !14, i64 12, !14, i64 14, !14, i64 16, !8, i64 18}
!20 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !7, i64 8}
!21 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !7, i64 8}
!22 = !{!"_ZTS6ImRect", !11, i64 0, !11, i64 8}
!23 = !{!"_ZTS8ImVec2ih", !14, i64 0, !14, i64 2}
!24 = !{!"_ZTS12ImGuiStorage", !25, i64 0}
!25 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !7, i64 8}
!26 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !7, i64 8}
!27 = !{!"_ZTS10ImDrawList", !28, i64 0, !29, i64 16, !30, i64 32, !10, i64 48, !10, i64 52, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !31, i64 88, !32, i64 104, !33, i64 120, !34, i64 136, !36, i64 168, !12, i64 192}
!28 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !7, i64 8}
!29 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !7, i64 8}
!30 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !7, i64 8}
!31 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !7, i64 8}
!32 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !7, i64 8}
!33 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !7, i64 8}
!34 = !{!"_ZTS15ImDrawCmdHeader", !35, i64 0, !7, i64 16, !10, i64 24}
!35 = !{!"_ZTS6ImVec4", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!36 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !37, i64 8}
!37 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !7, i64 8}
!38 = !{i8 0, i8 2}
!39 = !{}
!40 = !{!7, !7, i64 0}
!41 = !{!6, !12, i64 216}
!42 = !{!6, !12, i64 220}
!43 = !{!6, !12, i64 272}
!44 = !{!6, !12, i64 408}
!45 = !{!46, !13, i64 12588}
!46 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !47, i64 8, !48, i64 5488, !7, i64 6536, !12, i64 6544, !12, i64 6548, !49, i64 6552, !50, i64 7064, !10, i64 7072, !10, i64 7076, !10, i64 7080, !13, i64 7084, !13, i64 7085, !13, i64 7086, !13, i64 7087, !13, i64 7088, !7, i64 7096, !20, i64 7104, !20, i64 7120, !20, i64 7136, !51, i64 7152, !24, i64 7168, !10, i64 7184, !11, i64 7188, !7, i64 7200, !7, i64 7208, !7, i64 7216, !7, i64 7224, !7, i64 7232, !11, i64 7240, !12, i64 7248, !10, i64 7252, !10, i64 7256, !10, i64 7260, !13, i64 7264, !13, i64 7265, !13, i64 7266, !13, i64 7267, !12, i64 7268, !12, i64 7272, !10, i64 7276, !10, i64 7280, !12, i64 7284, !13, i64 7288, !13, i64 7289, !13, i64 7290, !13, i64 7291, !13, i64 7292, !13, i64 7293, !13, i64 7294, !10, i64 7296, !10, i64 7300, !52, i64 7304, !11, i64 7312, !7, i64 7320, !53, i64 7328, !10, i64 7332, !10, i64 7336, !13, i64 7340, !13, i64 7341, !7, i64 7344, !10, i64 7352, !12, i64 7356, !10, i64 7360, !54, i64 7364, !55, i64 7384, !56, i64 7448, !57, i64 7560, !58, i64 7576, !59, i64 7592, !15, i64 7608, !60, i64 7624, !61, i64 7640, !62, i64 7656, !62, i64 7672, !10, i64 7688, !63, i64 7696, !7, i64 7712, !10, i64 7720, !10, i64 7724, !10, i64 7728, !10, i64 7732, !10, i64 7736, !10, i64 7740, !10, i64 7744, !10, i64 7748, !10, i64 7752, !10, i64 7756, !10, i64 7760, !10, i64 7764, !53, i64 7768, !18, i64 7772, !13, i64 7776, !13, i64 7777, !13, i64 7778, !13, i64 7779, !13, i64 7780, !13, i64 7781, !13, i64 7782, !10, i64 7784, !22, i64 7788, !13, i64 7804, !13, i64 7805, !13, i64 7806, !10, i64 7808, !10, i64 7812, !10, i64 7816, !10, i64 7820, !10, i64 7824, !10, i64 7828, !22, i64 7832, !22, i64 7848, !10, i64 7864, !10, i64 7868, !10, i64 7872, !64, i64 7880, !64, i64 7928, !64, i64 7976, !64, i64 8024, !7, i64 8072, !7, i64 8080, !7, i64 8088, !12, i64 8096, !12, i64 8100, !13, i64 8104, !12, i64 8108, !10, i64 8112, !13, i64 8116, !13, i64 8117, !13, i64 8118, !10, i64 8120, !10, i64 8124, !10, i64 8128, !65, i64 8136, !22, i64 8200, !10, i64 8216, !10, i64 8220, !12, i64 8224, !10, i64 8228, !10, i64 8232, !10, i64 8236, !10, i64 8240, !66, i64 8248, !8, i64 8264, !10, i64 8280, !67, i64 8288, !7, i64 8304, !10, i64 8312, !68, i64 8320, !69, i64 8336, !21, i64 8376, !37, i64 8392, !7, i64 8408, !71, i64 8416, !73, i64 8456, !74, i64 8472, !11, i64 8488, !75, i64 8496, !79, i64 12216, !10, i64 12328, !10, i64 12332, !12, i64 12336, !12, i64 12340, !10, i64 12344, !35, i64 12348, !81, i64 12364, !12, i64 12412, !13, i64 12416, !13, i64 12417, !12, i64 12420, !12, i64 12424, !12, i64 12428, !12, i64 12432, !14, i64 12436, !14, i64 12438, !12, i64 12440, !76, i64 12448, !15, i64 12464, !11, i64 12480, !11, i64 12488, !8, i64 12496, !13, i64 12497, !12, i64 12500, !82, i64 12504, !83, i64 12520, !84, i64 12536, !85, i64 12552, !86, i64 12568, !10, i64 12584, !13, i64 12588, !87, i64 12592, !7, i64 12600, !82, i64 12608, !7, i64 12624, !7, i64 12632, !12, i64 12640, !13, i64 12644, !10, i64 12648, !10, i64 12652, !10, i64 12656, !13, i64 12660, !10, i64 12664, !88, i64 12668, !89, i64 12688, !8, i64 12720, !10, i64 13200, !10, i64 13204, !12, i64 13208, !10, i64 13212, !10, i64 13216, !10, i64 13220, !8, i64 13224}
!47 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !11, i64 8, !12, i64 16, !12, i64 20, !7, i64 24, !7, i64 32, !12, i64 40, !12, i64 44, !12, i64 48, !8, i64 52, !12, i64 140, !12, i64 144, !7, i64 152, !7, i64 160, !12, i64 168, !13, i64 172, !7, i64 176, !11, i64 184, !13, i64 192, !13, i64 193, !13, i64 194, !13, i64 195, !13, i64 196, !13, i64 197, !12, i64 200, !7, i64 208, !7, i64 216, !7, i64 224, !7, i64 232, !7, i64 240, !7, i64 248, !7, i64 256, !7, i64 264, !7, i64 272, !7, i64 280, !11, i64 288, !8, i64 296, !12, i64 304, !12, i64 308, !13, i64 312, !13, i64 313, !13, i64 314, !13, i64 315, !8, i64 316, !8, i64 828, !13, i64 908, !13, i64 909, !13, i64 910, !13, i64 911, !13, i64 912, !13, i64 913, !13, i64 914, !12, i64 916, !10, i64 920, !10, i64 924, !10, i64 928, !10, i64 932, !10, i64 936, !11, i64 940, !13, i64 948, !10, i64 952, !10, i64 956, !11, i64 960, !8, i64 968, !8, i64 1008, !8, i64 1048, !8, i64 1053, !8, i64 1058, !8, i64 1068, !8, i64 1078, !8, i64 1083, !8, i64 1088, !8, i64 1096, !8, i64 1116, !8, i64 1136, !8, i64 1176, !8, i64 1196, !8, i64 3244, !8, i64 5292, !8, i64 5372, !12, i64 5452, !13, i64 5456, !14, i64 5458, !29, i64 5464}
!48 = !{!"_ZTS10ImGuiStyle", !12, i64 0, !12, i64 4, !11, i64 8, !12, i64 16, !12, i64 20, !11, i64 24, !11, i64 32, !10, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !11, i64 60, !12, i64 68, !12, i64 72, !11, i64 76, !11, i64 84, !11, i64 92, !11, i64 100, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !12, i64 136, !12, i64 140, !12, i64 144, !10, i64 148, !11, i64 152, !11, i64 160, !11, i64 168, !11, i64 176, !12, i64 184, !13, i64 188, !13, i64 189, !13, i64 190, !12, i64 192, !12, i64 196, !8, i64 200}
!49 = !{!"_ZTS20ImDrawListSharedData", !11, i64 0, !7, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !35, i64 28, !10, i64 44, !8, i64 48, !12, i64 432, !8, i64 436, !7, i64 504}
!50 = !{!"double", !8, i64 0}
!51 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!52 = !{!"long long", !8, i64 0}
!53 = !{!"_ZTS16ImGuiInputSource", !8, i64 0}
!54 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !12, i64 4, !10, i64 8, !10, i64 12, !13, i64 16}
!55 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !22, i64 12, !22, i64 28, !22, i64 44}
!56 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !13, i64 56, !22, i64 60, !7, i64 80, !7, i64 88, !12, i64 96, !11, i64 100}
!57 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !7, i64 8}
!58 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !7, i64 8}
!59 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !7, i64 8}
!60 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !7, i64 8}
!61 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!62 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!63 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !7, i64 8}
!64 = !{!"_ZTS16ImGuiNavItemData", !7, i64 0, !10, i64 8, !10, i64 12, !22, i64 16, !10, i64 32, !12, i64 36, !12, i64 40, !12, i64 44}
!65 = !{!"_ZTS12ImGuiPayload", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !8, i64 24, !13, i64 57, !13, i64 58}
!66 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !7, i64 8}
!67 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!68 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!69 = !{!"_ZTS6ImPoolI10ImGuiTableE", !70, i64 0, !24, i64 16, !10, i64 32, !10, i64 36}
!70 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !7, i64 8}
!71 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !72, i64 0, !24, i64 16, !10, i64 32, !10, i64 36}
!72 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !7, i64 8}
!73 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !7, i64 8}
!74 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !7, i64 8}
!75 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !29, i64 16, !76, i64 32, !76, i64 48, !13, i64 64, !10, i64 68, !12, i64 72, !77, i64 76, !12, i64 3704, !13, i64 3708, !13, i64 3709, !13, i64 3710, !10, i64 3712}
!76 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !7, i64 8}
!77 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !8, i64 12, !10, i64 16, !8, i64 20, !8, i64 21, !8, i64 22, !8, i64 23, !8, i64 24, !8, i64 25, !8, i64 26, !12, i64 28, !78, i64 32}
!78 = !{!"_ZTSN5ImStb12StbUndoStateE", !8, i64 0, !8, i64 1584, !14, i64 3582, !14, i64 3584, !10, i64 3588, !10, i64 3592}
!79 = !{!"_ZTS6ImFont", !21, i64 0, !12, i64 16, !12, i64 20, !29, i64 24, !80, i64 40, !7, i64 56, !7, i64 64, !7, i64 72, !14, i64 80, !14, i64 82, !14, i64 84, !14, i64 86, !13, i64 88, !12, i64 92, !12, i64 96, !12, i64 100, !10, i64 104, !8, i64 108}
!80 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !7, i64 8}
!81 = !{!"_ZTS21ImGuiComboPreviewData", !22, i64 0, !11, i64 16, !11, i64 24, !11, i64 32, !12, i64 40, !10, i64 44}
!82 = !{!"_ZTS15ImGuiTextBuffer", !76, i64 0}
!83 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !7, i64 8}
!84 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !76, i64 0}
!85 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !76, i64 0}
!86 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !7, i64 8}
!87 = !{!"_ZTS12ImGuiLogType", !8, i64 0}
!88 = !{!"_ZTS18ImGuiMetricsConfig", !13, i64 0, !13, i64 1, !13, i64 2, !13, i64 3, !13, i64 4, !13, i64 5, !10, i64 8, !10, i64 12}
!89 = !{!"_ZTS14ImGuiStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !90, i64 16}
!90 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !7, i64 8}
!91 = !{!6, !12, i64 532}
!92 = !{!11, !12, i64 0}
!93 = distinct !{!93, !94}
!94 = !{!"llvm.loop.mustprogress"}
!95 = !{!11, !12, i64 4}
!96 = !{!22, !12, i64 4}
!97 = !{!22, !12, i64 12}
!98 = distinct !{!98, !94}
!99 = distinct !{!99, !94}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass