; LLVM IR from theolundqvist/parallax-voxel-ray-marcher :: src/external/Dear 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, [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, i32, i16, i16, i32, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.0, ptr, ptr, i32, i32, i32, i32, i32, float, float, [4 x i8], %struct.ImVector.1, %struct.ImVector.1, %struct.ImGuiStackSizes, [2 x i8] }>
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImGuiStackSizes = type { i16, i16, i16, i16, i16, i16, i16 }
%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, [3 x i8], i32, 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, i8, i8, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, [4 x i8], i64, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, [2 x i8], ptr, i32, float, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, [4 x i8], %struct.ImGuiNextWindowData, %struct.ImVector.12, %struct.ImVector.13, %struct.ImVector.14, %struct.ImVector, %struct.ImVector.15, %struct.ImVector.16, %struct.ImVector.17, %struct.ImVector.17, %struct.ImVector.18, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, [3 x i8], i32, i32, i32, i32, i32, i32, [4 x i8], %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, ptr, i32, [4 x i8], ptr, ptr, ptr, float, float, i8, [7 x i8], ptr, ptr, i32, i32, i32, i32, i8, [3 x i8], float, i32, i8, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, [4 x i8], %struct.ImVector.19, [16 x i8], ptr, i32, [4 x i8], %struct.ImPool, %struct.ImVector.21, %struct.ImVector.1, %struct.ImVector.10, ptr, %struct.ImPool.22, %struct.ImVector.24, %struct.ImVector.25, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, [3 x float], %struct.ImVec4, %struct.ImGuiComboPreviewData, float, i8, i8, [2 x i8], float, float, float, float, i32, float, [4 x i8], %struct.ImVector.26, %struct.ImVector, %struct.ImVec2, %struct.ImVec2, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.28, %struct.ImChunkStream, %struct.ImChunkStream.29, %struct.ImVector.30, i32, i8, [3 x i8], i32, [4 x i8], ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, %struct.ImGuiMetricsConfig, [120 x float], i32, i32, float, i32, i32, i32, [3073 x i8], [3 x i8] }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, [22 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, [512 x i8], [20 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, i32, i32, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], [512 x float], [512 x float], [20 x float], [20 x float], float, i16, %struct.ImVector.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.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, float, float, float, [4 x i8] }>
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.20, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImPool.22 = type { %struct.ImVector.23, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector.5, %struct.ImVector.26, %struct.ImVector.26, i8, i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i32, ptr, ptr }
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImStb::StbUndoState" }
%"struct.ImStb::StbUndoState" = type { [99 x %"struct.ImStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImFont = type <{ %struct.ImVector.1, float, float, %struct.ImVector.5, %struct.ImVector.27, ptr, ptr, ptr, i16, i16, i16, i16, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.26 }
%struct.ImChunkStream.29 = type { %struct.ImVector.26 }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.26 }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i32, i32 }

@GImGui = external global ptr, align 8
@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [116 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui6TextExEPKcS1_i = external hidden unnamed_addr constant [63 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) #10
  %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 !41, !noundef !42
  %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 %299

45:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #10
  %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 = icmp ne ptr %47, null
  br i1 %48, label %49, label %50

49:                                               ; preds = %45
  br label %52

50:                                               ; preds = %45
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 157, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui6TextExEPKcS1_i) #11
  unreachable

51:                                               ; No predecessors!
  br label %52

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

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

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

90:                                               ; preds = %61
  %91 = load i8, ptr %13, align 1, !tbaa !48, !range !41, !noundef !42
  %92 = trunc i8 %91 to i1
  br i1 %92, label %269, label %93

93:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #10
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %94, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #10
  %95 = call noundef float @_ZN5ImGui17GetTextLineHeightEv()
  store float %95, ptr %15, align 4, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  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) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !49
  %96 = load ptr, ptr %9, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.ImGuiContext, ptr %96, i32 0, i32 209
  %98 = load i8, ptr %97, align 4, !tbaa !50, !range !41, !noundef !42
  %99 = trunc i8 %98 to i1
  br i1 %99, label %164, label %100

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

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

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

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

123:                                              ; preds = %119, %115
  %124 = phi i1 [ false, %115 ], [ %122, %119 ]
  br i1 %124, label %125, label %156

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

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

137:                                              ; preds = %135, %125
  %138 = load i32, ptr %6, align 4, !tbaa !9
  %139 = and i32 %138, 1
  %140 = icmp eq i32 %139, 0
  br i1 %140, label %141, label %151

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

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

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

163:                                              ; preds = %156, %100
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #10
  br label %164

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

168:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #10
  %169 = load float, ptr %15, align 4, !tbaa !47
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %24, float noundef 0x47EFFFFFE0000000, float noundef %169)
  %170 = 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> %170, 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) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %171

171:                                              ; preds = %190, %168
  %172 = load ptr, ptr %14, align 8, !tbaa !5
  %173 = load ptr, ptr %5, align 8, !tbaa !5
  %174 = icmp ult ptr %172, %173
  br i1 %174, label %175, label %219

175:                                              ; preds = %171
  %176 = call noundef zeroext i1 @_ZN5ImGui11IsClippedExERK6ImRectjb(ptr noundef nonnull align 4 dereferenceable(16) %22, i32 noundef 0, i1 noundef zeroext false)
  br i1 %176, label %177, label %178

177:                                              ; preds = %175
  br label %219

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

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

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

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

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

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

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

236:                                              ; preds = %234, %224
  %237 = load i32, ptr %6, align 4, !tbaa !9
  %238 = and i32 %237, 1
  %239 = icmp eq i32 %238, 0
  br i1 %239, label %240, label %250

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

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

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

262:                                              ; preds = %255, %164
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #10
  %263 = 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> %263, ptr %31, align 4
  %264 = getelementptr inbounds %struct.ImVec2, ptr %31, i32 0, i32 1
  %265 = load float, ptr %264, align 4, !tbaa !95
  %266 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 1
  store float %265, ptr %266, align 4, !tbaa !95
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #10
  %267 = 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> %267, 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) #10
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef 0.000000e+00)
  %268 = 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) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  br label %297

269:                                              ; preds = %90, %61
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #10
  %270 = load i8, ptr %13, align 1, !tbaa !48, !range !41, !noundef !42
  %271 = trunc i8 %270 to i1
  br i1 %271, label %272, label %278

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

278:                                              ; preds = %269
  br label %279

279:                                              ; preds = %278, %272
  %280 = phi float [ %277, %272 ], [ 0.000000e+00, %278 ]
  store float %280, ptr %34, align 4, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #10
  %281 = load ptr, ptr %10, align 8, !tbaa !5
  %282 = load ptr, ptr %5, align 8, !tbaa !5
  %283 = load float, ptr %34, align 4, !tbaa !47
  %284 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %281, ptr noundef %282, i1 noundef zeroext false, float noundef %283)
  store <2 x float> %284, ptr %35, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #10
  %285 = 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> %285, 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) #10
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %35, float noundef 0.000000e+00)
  %286 = 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 %286, label %288, label %287

287:                                              ; preds = %279
  store i32 1, ptr %8, align 4
  br label %294

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

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

296:                                              ; preds = %294
  br label %297

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

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

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

301:                                              ; preds = %299, %299
  ret void

302:                                              ; preds = %299
  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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

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

; 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 noundef float @_ZN5ImGui17GetTextLineHeightEv() #6

; 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) #7

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

; 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) #6

; 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) #8

; 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)) #9

; 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 #5 align 2

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

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

; 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)) #9

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

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

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

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

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 = { 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 = { 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 #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 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { 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 #10 = { nounwind }
attributes #11 = { noreturn nounwind }
attributes #12 = { 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, !7, i64 152, !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, !25, i64 464, !25, i64 480, !25, i64 496, !25, i64 512, !25, i64 528, !25, i64 544, !25, i64 560, !26, i64 576, !26, i64 580, !10, i64 584, !14, i64 588, !14, i64 592, !27, i64 600, !29, i64 616, !14, i64 632, !10, i64 636, !6, i64 640, !30, i64 648, !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, !20, i64 76, !16, i64 80, !16, i64 82, !10, i64 84, !15, i64 88, !15, i64 89, !15, i64 90, !13, i64 92, !21, i64 100, !10, i64 128, !10, i64 132, !22, i64 136, !6, i64 152, !6, i64 160, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !10, i64 184, !14, i64 188, !14, i64 192, !23, i64 200, !23, i64 216, !24, i64 232}
!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 = !{!"_ZTS15ImGuiStackSizes", !16, i64 0, !16, i64 2, !16, i64 4, !16, i64 6, !16, i64 8, !16, i64 10, !16, i64 12}
!25 = !{!"_ZTS6ImRect", !13, i64 0, !13, i64 8}
!26 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!27 = !{!"_ZTS12ImGuiStorage", !28, i64 0}
!28 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!29 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!30 = !{!"_ZTS10ImDrawList", !31, i64 0, !32, i64 16, !33, i64 32, !10, i64 48, !10, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !34, i64 88, !35, i64 104, !36, i64 120, !37, i64 136, !39, i64 168, !14, i64 192}
!31 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!37 = !{!"_ZTS15ImDrawCmdHeader", !38, i64 0, !6, i64 16, !10, i64 24}
!38 = !{!"_ZTS6ImVec4", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!39 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !40, i64 8}
!40 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!41 = !{i8 0, i8 2}
!42 = !{}
!43 = !{!12, !14, i64 216}
!44 = !{!12, !14, i64 220}
!45 = !{!12, !14, i64 272}
!46 = !{!12, !14, i64 408}
!47 = !{!14, !14, i64 0}
!48 = !{!15, !15, i64 0}
!49 = !{i64 0, i64 4, !47, i64 4, i64 4, !47}
!50 = !{!51, !15, i64 12524}
!51 = !{!"_ZTS12ImGuiContext", !15, i64 0, !15, i64 1, !52, i64 8, !53, i64 5464, !6, i64 6512, !14, i64 6520, !14, i64 6524, !54, i64 6528, !55, i64 7040, !10, i64 7048, !10, i64 7052, !10, i64 7056, !15, i64 7060, !15, i64 7061, !15, i64 7062, !15, i64 7063, !15, i64 7064, !10, i64 7068, !6, i64 7072, !22, i64 7080, !22, i64 7096, !22, i64 7112, !56, i64 7128, !27, i64 7144, !10, i64 7160, !13, i64 7164, !6, i64 7176, !6, i64 7184, !6, i64 7192, !6, i64 7200, !6, i64 7208, !13, i64 7216, !14, i64 7224, !10, i64 7228, !10, i64 7232, !15, i64 7236, !15, i64 7237, !15, i64 7238, !15, i64 7239, !14, i64 7240, !14, i64 7244, !10, i64 7248, !10, i64 7252, !14, i64 7256, !15, i64 7260, !15, i64 7261, !15, i64 7262, !15, i64 7263, !15, i64 7264, !15, i64 7265, !15, i64 7266, !10, i64 7268, !10, i64 7272, !57, i64 7280, !13, i64 7288, !6, i64 7296, !58, i64 7304, !10, i64 7308, !10, i64 7312, !15, i64 7316, !15, i64 7317, !6, i64 7320, !10, i64 7328, !14, i64 7332, !10, i64 7336, !59, i64 7340, !60, i64 7360, !61, i64 7408, !62, i64 7520, !63, i64 7536, !64, i64 7552, !17, i64 7568, !65, i64 7584, !66, i64 7600, !67, i64 7616, !67, i64 7632, !68, i64 7648, !6, i64 7664, !10, i64 7672, !10, i64 7676, !10, i64 7680, !10, i64 7684, !10, i64 7688, !10, i64 7692, !10, i64 7696, !10, i64 7700, !10, i64 7704, !10, i64 7708, !10, i64 7712, !58, i64 7716, !25, i64 7720, !10, i64 7736, !20, i64 7740, !10, i64 7744, !15, i64 7748, !15, i64 7749, !15, i64 7750, !15, i64 7751, !15, i64 7752, !15, i64 7753, !15, i64 7754, !10, i64 7756, !25, i64 7760, !15, i64 7776, !10, i64 7780, !69, i64 7784, !10, i64 7788, !10, i64 7792, !10, i64 7796, !10, i64 7800, !70, i64 7808, !70, i64 7856, !70, i64 7904, !6, i64 7952, !10, i64 7960, !6, i64 7968, !6, i64 7976, !6, i64 7984, !14, i64 7992, !14, i64 7996, !15, i64 8000, !6, i64 8008, !6, i64 8016, !10, i64 8024, !10, i64 8028, !10, i64 8032, !10, i64 8036, !15, i64 8040, !14, i64 8044, !10, i64 8048, !15, i64 8052, !15, i64 8053, !15, i64 8054, !10, i64 8056, !10, i64 8060, !10, i64 8064, !71, i64 8072, !25, i64 8136, !10, i64 8152, !10, i64 8156, !14, i64 8160, !10, i64 8164, !10, i64 8168, !10, i64 8172, !10, i64 8176, !72, i64 8184, !7, i64 8200, !6, i64 8216, !10, i64 8224, !73, i64 8232, !75, i64 8272, !23, i64 8288, !40, i64 8304, !6, i64 8320, !76, i64 8328, !78, i64 8368, !79, i64 8384, !13, i64 8400, !80, i64 8408, !84, i64 12144, !10, i64 12256, !10, i64 12260, !14, i64 12264, !14, i64 12268, !7, i64 12272, !38, i64 12284, !86, i64 12300, !14, i64 12348, !15, i64 12352, !15, i64 12353, !14, i64 12356, !14, i64 12360, !14, i64 12364, !14, i64 12368, !10, i64 12372, !14, i64 12376, !81, i64 12384, !17, i64 12400, !13, i64 12416, !13, i64 12424, !7, i64 12432, !15, i64 12433, !14, i64 12436, !87, i64 12440, !88, i64 12456, !89, i64 12472, !90, i64 12488, !91, i64 12504, !10, i64 12520, !15, i64 12524, !92, i64 12528, !6, i64 12536, !87, i64 12544, !6, i64 12560, !6, i64 12568, !14, i64 12576, !15, i64 12580, !10, i64 12584, !10, i64 12588, !10, i64 12592, !15, i64 12596, !10, i64 12600, !93, i64 12604, !7, i64 12620, !10, i64 13100, !10, i64 13104, !14, i64 13108, !10, i64 13112, !10, i64 13116, !10, i64 13120, !7, i64 13124}
!52 = !{!"_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, !10, i64 948, !10, i64 952, !13, i64 956, !7, i64 964, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5352, !14, i64 5432, !16, i64 5436, !32, i64 5440}
!53 = !{!"_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}
!54 = !{!"_ZTS20ImDrawListSharedData", !13, i64 0, !6, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !38, i64 28, !10, i64 44, !7, i64 48, !14, i64 432, !7, i64 436, !6, i64 504}
!55 = !{!"double", !7, i64 0}
!56 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!57 = !{!"long long", !7, i64 0}
!58 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!59 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !14, i64 4, !10, i64 8, !10, i64 12, !15, i64 16}
!60 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !25, i64 12, !25, i64 28}
!61 = !{!"_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, !25, i64 60, !6, i64 80, !6, i64 88, !14, i64 96, !13, i64 100}
!62 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!66 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!67 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!68 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !6, i64 8}
!69 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!70 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !10, i64 8, !10, i64 12, !25, i64 16, !14, i64 32, !14, i64 36, !14, i64 40}
!71 = !{!"_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}
!72 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!73 = !{!"_ZTS6ImPoolI10ImGuiTableE", !74, i64 0, !27, i64 16, !10, i64 32, !10, i64 36}
!74 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!75 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!76 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !77, i64 0, !27, i64 16, !10, i64 32, !10, i64 36}
!77 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!78 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!79 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!80 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !32, i64 16, !81, i64 32, !81, i64 48, !15, i64 64, !10, i64 68, !14, i64 72, !82, i64 76, !14, i64 3704, !15, i64 3708, !15, i64 3709, !15, i64 3710, !10, i64 3712, !6, i64 3720, !6, i64 3728}
!81 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!82 = !{!"_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, !83, i64 32}
!83 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !10, i64 3588, !10, i64 3592}
!84 = !{!"_ZTS6ImFont", !23, i64 0, !14, i64 16, !14, i64 20, !32, i64 24, !85, 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}
!85 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!86 = !{!"_ZTS21ImGuiComboPreviewData", !25, i64 0, !13, i64 16, !13, i64 24, !13, i64 32, !14, i64 40, !10, i64 44}
!87 = !{!"_ZTS15ImGuiTextBuffer", !81, i64 0}
!88 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!89 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !81, i64 0}
!90 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !81, i64 0}
!91 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!92 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!93 = !{!"_ZTS18ImGuiMetricsConfig", !15, i64 0, !15, i64 1, !15, i64 2, !15, i64 3, !15, i64 4, !10, i64 8, !10, i64 12}
!94 = !{!12, !14, i64 548}
!95 = !{!13, !14, i64 4}
!96 = !{!13, !14, i64 0}
!97 = distinct !{!97, !98}
!98 = !{!"llvm.loop.mustprogress"}
!99 = !{!25, !14, i64 4}
!100 = !{!25, !14, i64 12}
!101 = distinct !{!101, !98}
!102 = distinct !{!102, !98}


; 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 [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [116 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui6TextExEPKcS1_i = external hidden unnamed_addr constant [63 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 !39, !noundef !40
  %18 = trunc nuw i8 %17 to i1
  br i1 %18, label %145, label %19

19:                                               ; preds = %3
  %20 = load ptr, ptr @GImGui, align 8, !tbaa !41
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %21, label %22

21:                                               ; preds = %19
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 157, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui6TextExEPKcS1_i) #9
  unreachable

22:                                               ; preds = %19
  %23 = icmp eq ptr %1, null
  br i1 %23, label %24, label %27

24:                                               ; preds = %22
  %25 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #10
  %26 = getelementptr inbounds i8, ptr %0, i64 %25
  br label %27

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

42:                                               ; preds = %27
  %43 = call noundef float @_ZN5ImGui17GetTextLineHeightEv()
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #11
  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) #11
  %44 = load i64, ptr %4, align 8
  store i64 %44, ptr %6, align 8
  %45 = getelementptr inbounds i8, ptr %20, i64 12524
  %46 = load i8, ptr %45, align 4, !tbaa !46, !range !39, !noundef !40
  %47 = trunc nuw i8 %46 to i1
  %48 = lshr i64 %44, 32
  %49 = trunc nuw i64 %48 to i32
  %50 = bitcast i32 %49 to float
  br i1 %47, label %84, label %51

51:                                               ; preds = %42
  %52 = getelementptr inbounds i8, ptr %15, i64 548
  %53 = load float, ptr %52, align 4, !tbaa !90
  %54 = fsub float %53, %50
  %55 = fdiv float %54, %43
  %56 = fptosi float %55 to i32
  %57 = icmp sgt i32 %56, 0
  br i1 %57, label %.preheader, label %84

.preheader:                                       ; preds = %51
  %58 = icmp ugt ptr %.0, %0
  br i1 %58, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader
  %59 = and i32 %2, 1
  %60 = icmp eq i32 %59, 0
  br i1 %60, 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 !91
  br label %.lr.ph.split.us

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

.lr.ph.split:                                     ; preds = %.lr.ph, %.lr.ph.split
  %.082102 = phi ptr [ %75, %.lr.ph.split ], [ %0, %.lr.ph ]
  %.083101 = phi i32 [ %76, %.lr.ph.split ], [ 0, %.lr.ph ]
  %72 = ptrtoint ptr %.082102 to i64
  %73 = sub i64 %38, %72
  %74 = call noundef ptr @memchr(ptr noundef nonnull %.082102, i32 noundef 10, i64 noundef %73) #10
  %.not95 = icmp eq ptr %74, null
  %spec.select = select i1 %.not95, ptr %.0, ptr %74
  %75 = getelementptr inbounds i8, ptr %spec.select, i64 1
  %76 = add nuw nsw i32 %.083101, 1
  %77 = icmp ult ptr %75, %.0
  %78 = icmp slt i32 %76, %56
  %79 = select i1 %77, i1 %78, i1 false
  br i1 %79, label %.lr.ph.split, label %._crit_edge, !llvm.loop !92

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

._crit_edge:                                      ; preds = %.lr.ph.split, %._crit_edge.loopexit, %.preheader
  %80 = phi float [ %50, %.preheader ], [ %.pre120, %._crit_edge.loopexit ], [ %50, %.lr.ph.split ]
  %.083.lcssa = phi i32 [ 0, %.preheader ], [ %68, %._crit_edge.loopexit ], [ %76, %.lr.ph.split ]
  %.082.lcssa = phi ptr [ %0, %.preheader ], [ %67, %._crit_edge.loopexit ], [ %75, %.lr.ph.split ]
  %81 = uitofp nneg i32 %.083.lcssa to float
  %82 = getelementptr inbounds i8, ptr %6, i64 4
  %83 = call float @llvm.fmuladd.f32(float %81, float %43, float %80)
  store float %83, ptr %82, align 4, !tbaa !94
  br label %84

84:                                               ; preds = %51, %._crit_edge, %42
  %.2 = phi ptr [ %0, %42 ], [ %.082.lcssa, %._crit_edge ], [ %0, %51 ]
  %85 = icmp ult ptr %.2, %.0
  br i1 %85, label %86, label %130

86:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef 0x47EFFFFFE0000000, float noundef %43)
  %87 = 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> %87, 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) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #11
  %88 = getelementptr inbounds i8, ptr %7, i64 4
  %89 = getelementptr inbounds i8, ptr %7, i64 12
  %90 = getelementptr inbounds i8, ptr %6, i64 4
  br label %91

91:                                               ; preds = %86, %93
  %.3105 = phi ptr [ %.2, %86 ], [ %100, %93 ]
  %92 = call noundef zeroext i1 @_ZN5ImGui11IsClippedExERK6ImRectjb(ptr noundef nonnull align 4 dereferenceable(16) %7, i32 noundef 0, i1 noundef zeroext false)
  br i1 %92, label %108, label %93

93:                                               ; preds = %91
  %94 = ptrtoint ptr %.3105 to i64
  %95 = sub i64 %38, %94
  %96 = call noundef ptr @memchr(ptr noundef nonnull %.3105, i32 noundef 10, i64 noundef %95) #10
  %.not96 = icmp eq ptr %96, null
  %spec.select99 = select i1 %.not96, ptr %.0, ptr %96
  %97 = load float, ptr %5, align 4, !tbaa !91
  %98 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef nonnull %.3105, ptr noundef nonnull %spec.select99, i1 noundef zeroext false, float noundef -1.000000e+00)
  %.sroa.09.0.vec.extract = extractelement <2 x float> %98, i64 0
  %99 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %97, float noundef %.sroa.09.0.vec.extract)
  store float %99, ptr %5, align 4, !tbaa !91
  %.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 nonnull %.3105, ptr noundef nonnull %spec.select99, i1 noundef zeroext false)
  %100 = getelementptr inbounds i8, ptr %spec.select99, i64 1
  %101 = load float, ptr %88, align 4, !tbaa !95
  %102 = fadd float %43, %101
  store float %102, ptr %88, align 4, !tbaa !95
  %103 = load float, ptr %89, align 4, !tbaa !96
  %104 = fadd float %43, %103
  store float %104, ptr %89, align 4, !tbaa !96
  %105 = load float, ptr %90, align 4, !tbaa !94
  %106 = fadd float %43, %105
  store float %106, ptr %90, align 4, !tbaa !94
  %107 = icmp ult ptr %100, %.0
  br i1 %107, label %91, label %108, !llvm.loop !97

108:                                              ; preds = %91, %93
  %.3.lcssa = phi ptr [ %.3105, %91 ], [ %100, %93 ]
  %109 = icmp ult ptr %.3.lcssa, %.0
  br i1 %109, label %.lr.ph109, label %._crit_edge110

.lr.ph109:                                        ; preds = %108
  %110 = and i32 %2, 1
  %111 = icmp eq i32 %110, 0
  br i1 %111, label %.lr.ph109.split.us.preheader, label %.lr.ph109.split

.lr.ph109.split.us.preheader:                     ; preds = %.lr.ph109
  %.pre121 = load float, ptr %5, align 4, !tbaa !91
  br label %.lr.ph109.split.us

.lr.ph109.split.us:                               ; preds = %.lr.ph109.split.us.preheader, %.lr.ph109.split.us
  %112 = phi float [ %117, %.lr.ph109.split.us ], [ %.pre121, %.lr.ph109.split.us.preheader ]
  %.4107.us = phi ptr [ %118, %.lr.ph109.split.us ], [ %.3.lcssa, %.lr.ph109.split.us.preheader ]
  %.085106.us = phi i32 [ %119, %.lr.ph109.split.us ], [ 0, %.lr.ph109.split.us.preheader ]
  %113 = ptrtoint ptr %.4107.us to i64
  %114 = sub i64 %38, %113
  %115 = call noundef ptr @memchr(ptr noundef nonnull %.4107.us, i32 noundef 10, i64 noundef %114) #10
  %.not97.us = icmp eq ptr %115, null
  %spec.select100.us = select i1 %.not97.us, ptr %.0, ptr %115
  %116 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef nonnull %.4107.us, ptr noundef nonnull %spec.select100.us, i1 noundef zeroext false, float noundef -1.000000e+00)
  %.sroa.03.0.vec.extract.us = extractelement <2 x float> %116, i64 0
  %117 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %112, float noundef %.sroa.03.0.vec.extract.us)
  store float %117, ptr %5, align 4, !tbaa !91
  %118 = getelementptr inbounds i8, ptr %spec.select100.us, i64 1
  %119 = add nuw nsw i32 %.085106.us, 1
  %120 = icmp ult ptr %118, %.0
  br i1 %120, label %.lr.ph109.split.us, label %._crit_edge110, !llvm.loop !98

.lr.ph109.split:                                  ; preds = %.lr.ph109, %.lr.ph109.split
  %.4107 = phi ptr [ %124, %.lr.ph109.split ], [ %.3.lcssa, %.lr.ph109 ]
  %.085106 = phi i32 [ %125, %.lr.ph109.split ], [ 0, %.lr.ph109 ]
  %121 = ptrtoint ptr %.4107 to i64
  %122 = sub i64 %38, %121
  %123 = call noundef ptr @memchr(ptr noundef nonnull %.4107, i32 noundef 10, i64 noundef %122) #10
  %.not97 = icmp eq ptr %123, null
  %spec.select100 = select i1 %.not97, ptr %.0, ptr %123
  %124 = getelementptr inbounds i8, ptr %spec.select100, i64 1
  %125 = add nuw nsw i32 %.085106, 1
  %126 = icmp ult ptr %124, %.0
  br i1 %126, label %.lr.ph109.split, label %._crit_edge110, !llvm.loop !98

._crit_edge110:                                   ; preds = %.lr.ph109.split, %.lr.ph109.split.us, %108
  %.085.lcssa = phi i32 [ 0, %108 ], [ %119, %.lr.ph109.split.us ], [ %125, %.lr.ph109.split ]
  %127 = uitofp nneg i32 %.085.lcssa to float
  %128 = load float, ptr %90, align 4, !tbaa !94
  %129 = call float @llvm.fmuladd.f32(float %127, float %43, float %128)
  store float %129, ptr %90, align 4, !tbaa !94
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #11
  br label %130

130:                                              ; preds = %._crit_edge110, %84
  %131 = 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> %131, i64 1
  %132 = getelementptr inbounds i8, ptr %5, i64 4
  store float %.sroa.02.4.vec.extract, ptr %132, align 4, !tbaa !94
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #11
  %133 = 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> %133, 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) #11
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef 0.000000e+00)
  %134 = 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) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #11
  br label %144

135:                                              ; preds = %27
  br i1 %37, label %136, label %138

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

138:                                              ; preds = %135, %136
  %139 = phi float [ %137, %136 ], [ 0.000000e+00, %135 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #11
  %140 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef nonnull %0, ptr noundef %.0, i1 noundef zeroext false, float noundef %139)
  store <2 x float> %140, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #11
  %141 = 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> %141, 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) #11
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef 0.000000e+00)
  %142 = 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 %142, label %143, label %.critedge

143:                                              ; preds = %138
  %.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 nonnull %0, ptr noundef %.0, float noundef %139)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #11
  br label %144

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

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

145:                                              ; preds = %3, %144
  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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

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

; 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 noundef float @_ZN5ImGui17GetTextLineHeightEv() local_unnamed_addr #6

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

; 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 #6

; 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) #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)) local_unnamed_addr #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 #5 align 2

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

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

; 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 #8

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

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

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

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

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


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