; LLVM IR from Samson-Mano/EM_Propogation_simulation :: EM_Propogation_simulation/src/ImGui (implot)

; 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.ImGuiContext = type { i8, i8, %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, ptr, %struct.ImVector.1, %struct.ImVector.1, i32, i32, %struct.ImVector.2, %struct.ImVector.2, %struct.ImVector.2, %struct.ImVector.3, %struct.ImGuiStorage, i32, %struct.ImVec2, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, i32, float, %struct.ImVec2, %struct.ImVec2, i32, i32, i32, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, ptr, i32, float, [140 x %struct.ImGuiKeyOwnerData], %struct.ImGuiKeyRoutingTable, i32, i8, i32, i32, i32, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, %struct.ImGuiNextWindowData, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImVector.12, %struct.ImVector.12, i32, %struct.ImVector.13, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, i32, i32, ptr, ptr, ptr, float, float, i8, %struct.ImVec2, %struct.ImVec2, float, i32, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, %struct.ImVector.14, [16 x i8], i32, %struct.ImVector.15, ptr, i32, %struct.ImVector.16, %struct.ImPool, %struct.ImVector.18, %struct.ImVector.19, ptr, %struct.ImPool.20, %struct.ImVector.22, %struct.ImVector.23, i32, i32, float, float, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImGuiInputTextDeactivatedState, %struct.ImFont, i32, i32, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, float, float, i8, i8, float, float, float, float, i16, i16, %struct.ImVector.24, %struct.ImVector.9, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i8, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.26, %struct.ImChunkStream, %struct.ImChunkStream.27, %struct.ImVector.28, i32, [7 x ptr], i8, i32, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, i32, %struct.ImGuiTextBuffer, %struct.ImGuiTextIndex, i8, i8, i8, i8, i8, i32, %struct.ImGuiMetricsConfig, %struct.ImGuiStackTool, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.24 }
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, float, float, float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, float, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, [652 x i32], [652 x i8], [16 x float], ptr, %struct.ImVec2, [5 x i8], float, float, i32, i8, i8, i8, i8, i32, [652 x %struct.ImGuiKeyData], i8, %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], i8, [5 x float], [5 x float], [5 x float], float, i8, i8, i8, i8, i16, %struct.ImVector }
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, float, %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, %struct.ImVector.0, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.4 }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImGuiKeyOwnerData = type <{ i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiKeyRoutingTable = type { [140 x i16], %struct.ImVector.5, %struct.ImVector.5 }
%struct.ImVector.5 = 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.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector.13 = 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.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.17, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImPool.20 = type { %struct.ImVector.21, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type <{ ptr, i32, i32, i32, [4 x i8], %struct.ImVector, %struct.ImVector.24, %struct.ImVector.24, 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.ImGuiInputTextDeactivatedState = type { i32, %struct.ImVector.24 }
%struct.ImFont = type <{ %struct.ImVector.18, float, float, %struct.ImVector, %struct.ImVector.25, ptr, ptr, ptr, i16, i16, i16, i16, float, float, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImGuiPlatformImeData = type { i8, %struct.ImVec2, float }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.24 }
%struct.ImChunkStream.27 = type { %struct.ImVector.24 }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.24 }
%struct.ImGuiTextIndex = type <{ %struct.ImVector.10, i32, [4 x i8] }>
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiStackTool = type { i32, i32, i32, %struct.ImVector.29, i8, float }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImFontGlyph = type { i32, float, float, float, float, float, float, float, float, float }

@GImGui = external global ptr, align 8

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6ImPlot15AddTextVerticalEP10ImDrawList6ImVec2jPKcS4_(ptr noundef %0, <2 x float> %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #2 {
  %6 = alloca %struct.ImVec2, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca float, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca %struct.ImVec2, align 4
  %23 = alloca %struct.ImVec2, align 4
  %24 = alloca %struct.ImVec2, align 4
  %25 = alloca %struct.ImVec2, align 4
  %26 = alloca %struct.ImVec2, align 4
  %27 = alloca %struct.ImVec2, align 4
  %28 = alloca %struct.ImVec2, align 4
  %29 = alloca %struct.ImVec2, align 4
  %30 = alloca %struct.ImVec2, align 4
  %31 = alloca %struct.ImVec2, align 4
  %32 = alloca %struct.ImVec2, align 4
  %33 = alloca %struct.ImVec2, align 4
  %34 = alloca %struct.ImVec2, align 4
  %35 = alloca %struct.ImVec2, align 4
  %36 = alloca %struct.ImVec2, align 4
  %37 = alloca %struct.ImVec2, align 4
  %38 = alloca i32, align 4
  store <2 x float> %1, ptr %6, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  %39 = load ptr, ptr %10, align 8, !tbaa !5
  %40 = icmp ne ptr %39, null
  br i1 %40, label %46, label %41

41:                                               ; preds = %5
  %42 = load ptr, ptr %9, align 8, !tbaa !5
  %43 = load ptr, ptr %9, align 8, !tbaa !5
  %44 = call i64 @strlen(ptr noundef %43) #7
  %45 = getelementptr inbounds i8, ptr %42, i64 %44
  store ptr %45, ptr %10, align 8, !tbaa !5
  br label %46

46:                                               ; preds = %41, %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %47 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %47, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %48 = load ptr, ptr %11, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.ImGuiContext, ptr %48, i32 0, i32 4
  %50 = load ptr, ptr %49, align 8, !tbaa !11
  store ptr %50, ptr %12, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.ImVec2, ptr %6, i32 0, i32 0
  %52 = load float, ptr %51, align 4, !tbaa !78
  %53 = fptosi float %52 to i32
  %54 = sitofp i32 %53 to float
  %55 = getelementptr inbounds %struct.ImVec2, ptr %6, i32 0, i32 0
  store float %54, ptr %55, align 4, !tbaa !78
  %56 = getelementptr inbounds %struct.ImVec2, ptr %6, i32 0, i32 1
  %57 = load float, ptr %56, align 4, !tbaa !79
  %58 = fptosi float %57 to i32
  %59 = sitofp i32 %58 to float
  %60 = getelementptr inbounds %struct.ImVec2, ptr %6, i32 0, i32 1
  store float %59, ptr %60, align 4, !tbaa !79
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %61 = load ptr, ptr %11, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.ImGuiContext, ptr %61, i32 0, i32 5
  %63 = load float, ptr %62, align 8, !tbaa !80
  %64 = load ptr, ptr %12, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.ImFont, ptr %64, i32 0, i32 2
  %66 = load float, ptr %65, align 4, !tbaa !81
  %67 = fdiv float %63, %66
  store float %67, ptr %13, align 4, !tbaa !82
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %68 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %68, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %69 = load ptr, ptr %10, align 8, !tbaa !5
  %70 = load ptr, ptr %14, align 8, !tbaa !5
  %71 = ptrtoint ptr %69 to i64
  %72 = ptrtoint ptr %70 to i64
  %73 = sub i64 %71, %72
  %74 = trunc i64 %73 to i32
  store i32 %74, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  store i32 0, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  %75 = load i32, ptr %15, align 4, !tbaa !9
  %76 = mul nsw i32 %75, 4
  store i32 %76, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  %77 = load i32, ptr %15, align 4, !tbaa !9
  %78 = mul nsw i32 %77, 6
  store i32 %78, ptr %18, align 4, !tbaa !9
  %79 = load ptr, ptr %7, align 8, !tbaa !5
  %80 = load i32, ptr %18, align 4, !tbaa !9
  %81 = load i32, ptr %17, align 4, !tbaa !9
  call void @_ZN10ImDrawList11PrimReserveEii(ptr noundef nonnull align 8 dereferenceable(196) %79, i32 noundef %80, i32 noundef %81)
  br label %82

82:                                               ; preds = %194, %192, %46
  %83 = load ptr, ptr %14, align 8, !tbaa !5
  %84 = load ptr, ptr %10, align 8, !tbaa !5
  %85 = icmp ult ptr %83, %84
  br i1 %85, label %86, label %195

86:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  %87 = load ptr, ptr %14, align 8, !tbaa !5
  %88 = load i8, ptr %87, align 1, !tbaa !83
  %89 = sext i8 %88 to i32
  store i32 %89, ptr %19, align 4, !tbaa !9
  %90 = load i32, ptr %19, align 4, !tbaa !9
  %91 = icmp ult i32 %90, 128
  br i1 %91, label %92, label %95

92:                                               ; preds = %86
  %93 = load ptr, ptr %14, align 8, !tbaa !5
  %94 = getelementptr inbounds i8, ptr %93, i64 1
  store ptr %94, ptr %14, align 8, !tbaa !5
  br label %106

95:                                               ; preds = %86
  %96 = load ptr, ptr %14, align 8, !tbaa !5
  %97 = load ptr, ptr %10, align 8, !tbaa !5
  %98 = call noundef i32 @_Z18ImTextCharFromUtf8PjPKcS1_(ptr noundef %19, ptr noundef %96, ptr noundef %97)
  %99 = load ptr, ptr %14, align 8, !tbaa !5
  %100 = sext i32 %98 to i64
  %101 = getelementptr inbounds i8, ptr %99, i64 %100
  store ptr %101, ptr %14, align 8, !tbaa !5
  %102 = load i32, ptr %19, align 4, !tbaa !9
  %103 = icmp eq i32 %102, 0
  br i1 %103, label %104, label %105

104:                                              ; preds = %95
  store i32 3, ptr %20, align 4
  br label %192

105:                                              ; preds = %95
  br label %106

106:                                              ; preds = %105, %92
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %107 = load ptr, ptr %12, align 8, !tbaa !5
  %108 = load i32, ptr %19, align 4, !tbaa !9
  %109 = trunc i32 %108 to i16
  %110 = call noundef ptr @_ZNK6ImFont9FindGlyphEt(ptr noundef nonnull align 8 dereferenceable(118) %107, i16 noundef zeroext %109)
  store ptr %110, ptr %21, align 8, !tbaa !5
  %111 = load ptr, ptr %21, align 8, !tbaa !5
  %112 = icmp eq ptr %111, null
  br i1 %112, label %113, label %114

113:                                              ; preds = %106
  store i32 2, ptr %20, align 4
  br label %191, !llvm.loop !84

114:                                              ; preds = %106
  %115 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %116 = load ptr, ptr %21, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.ImFontGlyph, ptr %116, i32 0, i32 3
  %118 = load float, ptr %117, align 4, !tbaa !86
  %119 = load ptr, ptr %21, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.ImFontGlyph, ptr %119, i32 0, i32 2
  %121 = load float, ptr %120, align 4, !tbaa !88
  %122 = fneg float %121
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %24, float noundef %118, float noundef %122)
  %123 = load float, ptr %13, align 4, !tbaa !82
  %124 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %24, float noundef %123)
  store <2 x float> %124, ptr %23, align 4
  %125 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %23)
  store <2 x float> %125, ptr %22, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %126 = load ptr, ptr %21, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.ImFontGlyph, ptr %126, i32 0, i32 3
  %128 = load float, ptr %127, align 4, !tbaa !86
  %129 = load ptr, ptr %21, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.ImFontGlyph, ptr %129, i32 0, i32 4
  %131 = load float, ptr %130, align 4, !tbaa !89
  %132 = fneg float %131
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef %128, float noundef %132)
  %133 = load float, ptr %13, align 4, !tbaa !82
  %134 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef %133)
  store <2 x float> %134, ptr %26, align 4
  %135 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %26)
  store <2 x float> %135, ptr %25, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %136 = load ptr, ptr %21, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.ImFontGlyph, ptr %136, i32 0, i32 5
  %138 = load float, ptr %137, align 4, !tbaa !90
  %139 = load ptr, ptr %21, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.ImFontGlyph, ptr %139, i32 0, i32 4
  %141 = load float, ptr %140, align 4, !tbaa !89
  %142 = fneg float %141
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %30, float noundef %138, float noundef %142)
  %143 = load float, ptr %13, align 4, !tbaa !82
  %144 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %30, float noundef %143)
  store <2 x float> %144, ptr %29, align 4
  %145 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %29)
  store <2 x float> %145, ptr %28, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %146 = load ptr, ptr %21, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.ImFontGlyph, ptr %146, i32 0, i32 5
  %148 = load float, ptr %147, align 4, !tbaa !90
  %149 = load ptr, ptr %21, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.ImFontGlyph, ptr %149, i32 0, i32 2
  %151 = load float, ptr %150, align 4, !tbaa !88
  %152 = fneg float %151
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %33, float noundef %148, float noundef %152)
  %153 = load float, ptr %13, align 4, !tbaa !82
  %154 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %33, float noundef %153)
  store <2 x float> %154, ptr %32, align 4
  %155 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %32)
  store <2 x float> %155, ptr %31, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %156 = load ptr, ptr %21, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.ImFontGlyph, ptr %156, i32 0, i32 6
  %158 = load float, ptr %157, align 4, !tbaa !91
  %159 = load ptr, ptr %21, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.ImFontGlyph, ptr %159, i32 0, i32 7
  %161 = load float, ptr %160, align 4, !tbaa !92
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %34, float noundef %158, float noundef %161)
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %162 = load ptr, ptr %21, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.ImFontGlyph, ptr %162, i32 0, i32 8
  %164 = load float, ptr %163, align 4, !tbaa !93
  %165 = load ptr, ptr %21, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.ImFontGlyph, ptr %165, i32 0, i32 7
  %167 = load float, ptr %166, align 4, !tbaa !92
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %35, float noundef %164, float noundef %167)
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %168 = load ptr, ptr %21, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.ImFontGlyph, ptr %168, i32 0, i32 8
  %170 = load float, ptr %169, align 4, !tbaa !93
  %171 = load ptr, ptr %21, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.ImFontGlyph, ptr %171, i32 0, i32 9
  %173 = load float, ptr %172, align 4, !tbaa !94
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %36, float noundef %170, float noundef %173)
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %174 = load ptr, ptr %21, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.ImFontGlyph, ptr %174, i32 0, i32 6
  %176 = load float, ptr %175, align 4, !tbaa !91
  %177 = load ptr, ptr %21, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.ImFontGlyph, ptr %177, i32 0, i32 9
  %179 = load float, ptr %178, align 4, !tbaa !94
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef %176, float noundef %179)
  %180 = load i32, ptr %8, align 4, !tbaa !9
  call void @_ZN10ImDrawList10PrimQuadUVERK6ImVec2S2_S2_S2_S2_S2_S2_S2_j(ptr noundef nonnull align 8 dereferenceable(196) %115, ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef nonnull align 4 dereferenceable(8) %25, ptr noundef nonnull align 4 dereferenceable(8) %28, ptr noundef nonnull align 4 dereferenceable(8) %31, ptr noundef nonnull align 4 dereferenceable(8) %34, ptr noundef nonnull align 4 dereferenceable(8) %35, ptr noundef nonnull align 4 dereferenceable(8) %36, ptr noundef nonnull align 4 dereferenceable(8) %37, i32 noundef %180)
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  %181 = load ptr, ptr %21, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.ImFontGlyph, ptr %181, i32 0, i32 1
  %183 = load float, ptr %182, align 4, !tbaa !95
  %184 = load float, ptr %13, align 4, !tbaa !82
  %185 = getelementptr inbounds %struct.ImVec2, ptr %6, i32 0, i32 1
  %186 = load float, ptr %185, align 4, !tbaa !79
  %187 = fneg float %183
  %188 = call float @llvm.fmuladd.f32(float %187, float %184, float %186)
  store float %188, ptr %185, align 4, !tbaa !79
  %189 = load i32, ptr %16, align 4, !tbaa !9
  %190 = add nsw i32 %189, 1
  store i32 %190, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %20, align 4
  br label %191

191:                                              ; preds = %114, %113
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br label %192

192:                                              ; preds = %191, %104
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  %193 = load i32, ptr %20, align 4
  switch i32 %193, label %204 [
    i32 0, label %194
    i32 3, label %195
    i32 2, label %82
  ]

194:                                              ; preds = %192
  br label %82, !llvm.loop !84

195:                                              ; preds = %192, %82
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #8
  %196 = load i32, ptr %15, align 4, !tbaa !9
  %197 = load i32, ptr %16, align 4, !tbaa !9
  %198 = sub nsw i32 %196, %197
  store i32 %198, ptr %38, align 4, !tbaa !9
  %199 = load ptr, ptr %7, align 8, !tbaa !5
  %200 = load i32, ptr %38, align 4, !tbaa !9
  %201 = mul nsw i32 %200, 6
  %202 = load i32, ptr %38, align 4, !tbaa !9
  %203 = mul nsw i32 %202, 4
  call void @_ZN10ImDrawList13PrimUnreserveEii(ptr noundef nonnull align 8 dereferenceable(196) %199, i32 noundef %201, i32 noundef %203)
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  ret void

204:                                              ; preds = %192
  unreachable
}

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

declare void @_ZN10ImDrawList11PrimReserveEii(ptr noundef nonnull align 8 dereferenceable(196), i32 noundef, i32 noundef) #4

declare noundef i32 @_Z18ImTextCharFromUtf8PjPKcS1_(ptr noundef, ptr noundef, ptr noundef) #4

declare noundef ptr @_ZNK6ImFont9FindGlyphEt(ptr noundef nonnull align 8 dereferenceable(118), i16 noundef zeroext) #4

declare void @_ZN10ImDrawList10PrimQuadUVERK6ImVec2S2_S2_S2_S2_S2_S2_S2_j(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef) #4

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

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

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

declare void @_ZN10ImDrawList13PrimUnreserveEii(ptr noundef nonnull align 8 dereferenceable(196), i32 noundef, i32 noundef) #4

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 15360}
!12 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !14, i64 8, !20, i64 14288, !6, i64 15360, !16, i64 15368, !16, i64 15372, !21, i64 15376, !24, i64 15904, !10, i64 15912, !10, i64 15916, !10, i64 15920, !13, i64 15924, !13, i64 15925, !13, i64 15926, !13, i64 15927, !13, i64 15928, !6, i64 15936, !25, i64 15944, !25, i64 15960, !17, i64 15976, !10, i64 15980, !26, i64 15984, !26, i64 16000, !26, i64 16016, !27, i64 16032, !28, i64 16048, !10, i64 16064, !15, i64 16068, !6, i64 16080, !6, i64 16088, !6, i64 16096, !6, i64 16104, !6, i64 16112, !15, i64 16120, !10, i64 16128, !16, i64 16132, !15, i64 16136, !15, i64 16144, !10, i64 16152, !10, i64 16156, !10, i64 16160, !13, i64 16164, !13, i64 16165, !16, i64 16168, !16, i64 16172, !10, i64 16176, !10, i64 16180, !16, i64 16184, !13, i64 16188, !13, i64 16189, !13, i64 16190, !13, i64 16191, !13, i64 16192, !13, i64 16193, !15, i64 16196, !6, i64 16208, !30, i64 16216, !10, i64 16220, !10, i64 16224, !13, i64 16228, !13, i64 16229, !6, i64 16232, !10, i64 16240, !16, i64 16244, !7, i64 16248, !31, i64 17928, !10, i64 18240, !13, i64 18244, !10, i64 18248, !10, i64 18252, !10, i64 18256, !10, i64 18260, !33, i64 18264, !34, i64 18284, !36, i64 18344, !37, i64 18456, !38, i64 18472, !39, i64 18488, !40, i64 18504, !41, i64 18520, !42, i64 18536, !43, i64 18552, !43, i64 18568, !10, i64 18584, !44, i64 18592, !6, i64 18608, !10, i64 18616, !10, i64 18620, !10, i64 18624, !10, i64 18628, !10, i64 18632, !10, i64 18636, !10, i64 18640, !10, i64 18644, !10, i64 18648, !10, i64 18652, !10, i64 18656, !30, i64 18660, !45, i64 18664, !13, i64 18668, !13, i64 18669, !13, i64 18670, !13, i64 18671, !13, i64 18672, !13, i64 18673, !13, i64 18674, !10, i64 18676, !35, i64 18680, !13, i64 18696, !13, i64 18697, !13, i64 18698, !10, i64 18700, !10, i64 18704, !10, i64 18708, !10, i64 18712, !10, i64 18716, !10, i64 18720, !35, i64 18724, !35, i64 18740, !10, i64 18756, !10, i64 18760, !10, i64 18764, !46, i64 18768, !46, i64 18816, !46, i64 18864, !46, i64 18912, !10, i64 18960, !10, i64 18964, !6, i64 18968, !6, i64 18976, !6, i64 18984, !16, i64 18992, !16, i64 18996, !13, i64 19000, !15, i64 19004, !15, i64 19012, !16, i64 19020, !10, i64 19024, !13, i64 19028, !13, i64 19029, !13, i64 19030, !10, i64 19032, !10, i64 19036, !10, i64 19040, !47, i64 19048, !35, i64 19112, !10, i64 19128, !10, i64 19132, !16, i64 19136, !10, i64 19140, !10, i64 19144, !10, i64 19148, !10, i64 19152, !48, i64 19160, !7, i64 19176, !10, i64 19192, !49, i64 19200, !6, i64 19216, !10, i64 19224, !50, i64 19232, !51, i64 19248, !53, i64 19288, !54, i64 19304, !6, i64 19320, !55, i64 19328, !57, i64 19368, !58, i64 19384, !10, i64 19400, !10, i64 19404, !16, i64 19408, !16, i64 19412, !15, i64 19416, !59, i64 19424, !63, i64 23152, !64, i64 23176, !10, i64 23296, !10, i64 23300, !10, i64 23304, !10, i64 23308, !16, i64 23312, !16, i64 23316, !10, i64 23320, !22, i64 23324, !66, i64 23340, !16, i64 23388, !16, i64 23392, !13, i64 23396, !13, i64 23397, !16, i64 23400, !16, i64 23404, !16, i64 23408, !16, i64 23412, !18, i64 23416, !18, i64 23418, !60, i64 23424, !40, i64 23440, !67, i64 23456, !67, i64 23472, !7, i64 23488, !13, i64 23489, !16, i64 23492, !68, i64 23496, !69, i64 23512, !70, i64 23528, !71, i64 23544, !72, i64 23560, !10, i64 23576, !7, i64 23584, !13, i64 23640, !73, i64 23644, !6, i64 23648, !68, i64 23656, !6, i64 23672, !6, i64 23680, !16, i64 23688, !13, i64 23692, !10, i64 23696, !10, i64 23700, !10, i64 23704, !10, i64 23708, !68, i64 23712, !74, i64 23728, !7, i64 23752, !7, i64 23753, !7, i64 23754, !13, i64 23755, !7, i64 23756, !10, i64 23760, !75, i64 23764, !76, i64 23784, !7, i64 23824, !10, i64 24064, !10, i64 24068, !16, i64 24072, !10, i64 24076, !10, i64 24080, !10, i64 24084, !60, i64 24088}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !6, i64 24, !6, i64 32, !16, i64 40, !16, i64 44, !16, i64 48, !16, i64 52, !16, i64 56, !16, i64 60, !16, i64 64, !6, i64 72, !6, i64 80, !16, i64 88, !13, i64 92, !6, i64 96, !15, i64 104, !13, i64 112, !13, i64 113, !13, i64 114, !13, i64 115, !13, i64 116, !13, i64 117, !13, i64 118, !13, i64 119, !16, i64 120, !13, i64 124, !13, i64 125, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !13, i64 208, !13, i64 209, !13, i64 210, !13, i64 211, !13, i64 212, !13, i64 213, !13, i64 214, !16, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !15, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !6, i64 3576, !15, i64 3584, !7, i64 3592, !16, i64 3600, !16, i64 3604, !17, i64 3608, !13, i64 3612, !13, i64 3613, !13, i64 3614, !13, i64 3615, !10, i64 3616, !7, i64 3620, !13, i64 14052, !15, i64 14056, !7, i64 14064, !7, i64 14104, !7, i64 14144, !7, i64 14149, !7, i64 14154, !7, i64 14164, !7, i64 14174, !7, i64 14179, !7, i64 14184, !13, i64 14189, !7, i64 14192, !7, i64 14212, !7, i64 14232, !16, i64 14252, !13, i64 14256, !13, i64 14257, !7, i64 14258, !13, i64 14259, !18, i64 14260, !19, i64 14264}
!15 = !{!"_ZTS6ImVec2", !16, i64 0, !16, i64 4}
!16 = !{!"float", !7, i64 0}
!17 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!18 = !{!"short", !7, i64 0}
!19 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!20 = !{!"_ZTS10ImGuiStyle", !16, i64 0, !16, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !15, i64 24, !15, i64 32, !10, i64 40, !16, i64 44, !16, i64 48, !16, i64 52, !16, i64 56, !15, i64 60, !16, i64 68, !16, i64 72, !15, i64 76, !15, i64 84, !15, i64 92, !15, i64 100, !16, i64 108, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124, !16, i64 128, !16, i64 132, !16, i64 136, !16, i64 140, !16, i64 144, !10, i64 148, !15, i64 152, !15, i64 160, !16, i64 168, !15, i64 172, !15, i64 180, !15, i64 188, !15, i64 196, !16, i64 204, !13, i64 208, !13, i64 209, !13, i64 210, !16, i64 212, !16, i64 216, !7, i64 220}
!21 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !6, i64 8, !16, i64 16, !16, i64 20, !16, i64 24, !22, i64 28, !10, i64 44, !23, i64 48, !7, i64 64, !16, i64 448, !7, i64 452, !6, i64 520}
!22 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!23 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!24 = !{!"double", !7, i64 0}
!25 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !10, i64 0, !10, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!28 = !{!"_ZTS12ImGuiStorage", !29, i64 0}
!29 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!30 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!31 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !32, i64 280, !32, i64 296}
!32 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!33 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !16, i64 4, !10, i64 8, !10, i64 12, !13, i64 16}
!34 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !35, i64 12, !35, i64 28, !35, i64 44}
!35 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!36 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !13, i64 56, !35, i64 60, !6, i64 80, !6, i64 88, !16, i64 96, !15, i64 100}
!37 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !6, i64 8}
!45 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!46 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !10, i64 8, !10, i64 12, !35, i64 16, !10, i64 32, !16, i64 36, !16, i64 40, !16, i64 44}
!47 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !13, i64 57, !13, i64 58}
!48 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!51 = !{!"_ZTS6ImPoolI10ImGuiTableE", !52, i64 0, !28, i64 16, !10, i64 32, !10, i64 36}
!52 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!55 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !56, i64 0, !28, i64 16, !10, i64 32, !10, i64 36}
!56 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!59 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !19, i64 24, !60, i64 40, !60, i64 56, !13, i64 72, !10, i64 76, !16, i64 80, !61, i64 84, !16, i64 3712, !13, i64 3716, !13, i64 3717, !13, i64 3718, !10, i64 3720}
!60 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!61 = !{!"_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, !16, i64 28, !62, i64 32}
!62 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !18, i64 3582, !18, i64 3584, !10, i64 3588, !10, i64 3592}
!63 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !10, i64 0, !60, i64 8}
!64 = !{!"_ZTS6ImFont", !53, i64 0, !16, i64 16, !16, i64 20, !19, i64 24, !65, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !18, i64 80, !18, i64 82, !18, i64 84, !18, i64 86, !16, i64 88, !16, i64 92, !13, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !10, i64 112, !7, i64 116}
!65 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!66 = !{!"_ZTS21ImGuiComboPreviewData", !35, i64 0, !15, i64 16, !15, i64 24, !15, i64 32, !16, i64 40, !10, i64 44}
!67 = !{!"_ZTS20ImGuiPlatformImeData", !13, i64 0, !15, i64 4, !16, i64 12}
!68 = !{!"_ZTS15ImGuiTextBuffer", !60, i64 0}
!69 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!70 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !60, i64 0}
!71 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !60, i64 0}
!72 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!73 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!74 = !{!"_ZTS14ImGuiTextIndex", !41, i64 0, !10, i64 16}
!75 = !{!"_ZTS18ImGuiMetricsConfig", !13, i64 0, !13, i64 1, !13, i64 2, !13, i64 3, !13, i64 4, !13, i64 5, !13, i64 6, !13, i64 7, !10, i64 8, !10, i64 12}
!76 = !{!"_ZTS14ImGuiStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !77, i64 16, !13, i64 32, !16, i64 36}
!77 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !6, i64 8}
!78 = !{!15, !16, i64 0}
!79 = !{!15, !16, i64 4}
!80 = !{!12, !16, i64 15368}
!81 = !{!64, !16, i64 20}
!82 = !{!16, !16, i64 0}
!83 = !{!7, !7, i64 0}
!84 = distinct !{!84, !85}
!85 = !{!"llvm.loop.mustprogress"}
!86 = !{!87, !16, i64 12}
!87 = !{!"_ZTS11ImFontGlyph", !10, i64 0, !10, i64 0, !10, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !16, i64 28, !16, i64 32, !16, i64 36}
!88 = !{!87, !16, i64 8}
!89 = !{!87, !16, i64 16}
!90 = !{!87, !16, i64 20}
!91 = !{!87, !16, i64 24}
!92 = !{!87, !16, i64 28}
!93 = !{!87, !16, i64 32}
!94 = !{!87, !16, i64 36}
!95 = !{!87, !16, i64 4}


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

%struct.ImVec2 = type { float, float }

@GImGui = external local_unnamed_addr global ptr, align 8

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6ImPlot15AddTextVerticalEP10ImDrawList6ImVec2jPKcS4_(ptr noundef %0, <2 x float> %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #2 {
  %6 = alloca %struct.ImVec2, align 8
  %7 = alloca i32, align 4
  %8 = alloca %struct.ImVec2, align 8
  %9 = alloca %struct.ImVec2, align 8
  %10 = alloca %struct.ImVec2, align 4
  %11 = alloca %struct.ImVec2, align 8
  %12 = alloca %struct.ImVec2, align 8
  %13 = alloca %struct.ImVec2, align 4
  %14 = alloca %struct.ImVec2, align 8
  %15 = alloca %struct.ImVec2, align 8
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca %struct.ImVec2, align 8
  %18 = alloca %struct.ImVec2, align 8
  %19 = alloca %struct.ImVec2, align 4
  %20 = alloca %struct.ImVec2, align 4
  %21 = alloca %struct.ImVec2, align 4
  %22 = alloca %struct.ImVec2, align 4
  %23 = alloca %struct.ImVec2, align 4
  %.not = icmp eq ptr %4, null
  br i1 %.not, label %24, label %27

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

27:                                               ; preds = %24, %5
  %.0 = phi ptr [ %4, %5 ], [ %26, %24 ]
  %28 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %28, i64 15360
  %30 = load ptr, ptr %29, align 8, !tbaa !9
  %31 = fptosi <2 x float> %1 to <2 x i32>
  %32 = getelementptr inbounds i8, ptr %6, i64 4
  %33 = sitofp <2 x i32> %31 to <2 x float>
  store <2 x float> %33, ptr %6, align 8, !tbaa !77
  %34 = getelementptr inbounds i8, ptr %28, i64 15368
  %35 = load float, ptr %34, align 8, !tbaa !78
  %36 = getelementptr inbounds i8, ptr %30, i64 20
  %37 = load float, ptr %36, align 4, !tbaa !79
  %38 = fdiv float %35, %37
  %39 = ptrtoint ptr %.0 to i64
  %40 = ptrtoint ptr %3 to i64
  %41 = sub i64 %39, %40
  %42 = trunc i64 %41 to i32
  %43 = shl nsw i32 %42, 2
  %44 = mul nsw i32 %42, 6
  tail call void @_ZN10ImDrawList11PrimReserveEii(ptr noundef nonnull align 8 dereferenceable(196) %0, i32 noundef %44, i32 noundef %43)
  %45 = icmp ugt ptr %.0, %3
  br i1 %45, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %27, %105
  %.05369 = phi ptr [ %.1, %105 ], [ %3, %27 ]
  %.05668 = phi i32 [ %.258, %105 ], [ 0, %27 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #8
  %46 = load i8, ptr %.05369, align 1, !tbaa !80
  %47 = sext i8 %46 to i32
  store i32 %47, ptr %7, align 4, !tbaa !81
  %48 = icmp sgt i8 %46, -1
  br i1 %48, label %49, label %51

49:                                               ; preds = %.lr.ph
  %50 = getelementptr inbounds i8, ptr %.05369, i64 1
  br label %57

51:                                               ; preds = %.lr.ph
  %52 = call noundef i32 @_Z18ImTextCharFromUtf8PjPKcS1_(ptr noundef nonnull %7, ptr noundef nonnull %.05369, ptr noundef nonnull %.0)
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds i8, ptr %.05369, i64 %53
  %55 = load i32, ptr %7, align 4, !tbaa !81
  %56 = icmp eq i32 %55, 0
  br i1 %56, label %.thread, label %57

.thread:                                          ; preds = %51
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #8
  br label %.loopexit

57:                                               ; preds = %51, %49
  %58 = phi i32 [ %47, %49 ], [ %55, %51 ]
  %.1 = phi ptr [ %50, %49 ], [ %54, %51 ]
  %59 = trunc i32 %58 to i16
  %60 = call noundef ptr @_ZNK6ImFont9FindGlyphEt(ptr noundef nonnull align 8 dereferenceable(118) %30, i16 noundef zeroext %59)
  %61 = icmp eq ptr %60, null
  br i1 %61, label %105, label %62, !llvm.loop !82

62:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #8
  %63 = getelementptr inbounds i8, ptr %60, i64 12
  %64 = load float, ptr %63, align 4, !tbaa !84
  %65 = getelementptr inbounds i8, ptr %60, i64 8
  %66 = load float, ptr %65, align 4, !tbaa !86
  %67 = fneg float %66
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef %64, float noundef %67)
  %68 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef %38)
  store <2 x float> %68, ptr %9, align 8
  %69 = 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> %69, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  %70 = load float, ptr %63, align 4, !tbaa !84
  %71 = getelementptr inbounds i8, ptr %60, i64 16
  %72 = load float, ptr %71, align 4, !tbaa !87
  %73 = fneg float %72
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef %70, float noundef %73)
  %74 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef %38)
  store <2 x float> %74, ptr %12, align 8
  %75 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %12)
  store <2 x float> %75, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #8
  %76 = getelementptr inbounds i8, ptr %60, i64 20
  %77 = load float, ptr %76, align 4, !tbaa !88
  %78 = load float, ptr %71, align 4, !tbaa !87
  %79 = fneg float %78
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef %77, float noundef %79)
  %80 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef %38)
  store <2 x float> %80, ptr %15, align 8
  %81 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %15)
  store <2 x float> %81, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #8
  %82 = load float, ptr %76, align 4, !tbaa !88
  %83 = load float, ptr %65, align 4, !tbaa !86
  %84 = fneg float %83
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef %82, float noundef %84)
  %85 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef %38)
  store <2 x float> %85, ptr %18, align 8
  %86 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %18)
  store <2 x float> %86, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #8
  %87 = getelementptr inbounds i8, ptr %60, i64 24
  %88 = load float, ptr %87, align 4, !tbaa !89
  %89 = getelementptr inbounds i8, ptr %60, i64 28
  %90 = load float, ptr %89, align 4, !tbaa !90
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %20, float noundef %88, float noundef %90)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #8
  %91 = getelementptr inbounds i8, ptr %60, i64 32
  %92 = load float, ptr %91, align 4, !tbaa !91
  %93 = load float, ptr %89, align 4, !tbaa !90
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %21, float noundef %92, float noundef %93)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #8
  %94 = load float, ptr %91, align 4, !tbaa !91
  %95 = getelementptr inbounds i8, ptr %60, i64 36
  %96 = load float, ptr %95, align 4, !tbaa !92
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef %94, float noundef %96)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #8
  %97 = load float, ptr %87, align 4, !tbaa !89
  %98 = load float, ptr %95, align 4, !tbaa !92
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %23, float noundef %97, float noundef %98)
  call void @_ZN10ImDrawList10PrimQuadUVERK6ImVec2S2_S2_S2_S2_S2_S2_S2_j(ptr noundef nonnull align 8 dereferenceable(196) %0, ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef nonnull align 4 dereferenceable(8) %23, i32 noundef %2)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  %99 = getelementptr inbounds i8, ptr %60, i64 4
  %100 = load float, ptr %99, align 4, !tbaa !93
  %101 = load float, ptr %32, align 4, !tbaa !94
  %102 = fneg float %100
  %103 = call float @llvm.fmuladd.f32(float %102, float %38, float %101)
  store float %103, ptr %32, align 4, !tbaa !94
  %104 = add nsw i32 %.05668, 1
  br label %105

105:                                              ; preds = %62, %57
  %.258 = phi i32 [ %104, %62 ], [ %.05668, %57 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #8
  %106 = icmp ult ptr %.1, %.0
  br i1 %106, label %.lr.ph, label %.loopexit

.loopexit:                                        ; preds = %105, %27, %.thread
  %.05667 = phi i32 [ %.05668, %.thread ], [ 0, %27 ], [ %.258, %105 ]
  %107 = sub nsw i32 %42, %.05667
  %108 = mul nsw i32 %107, 6
  %109 = shl nsw i32 %107, 2
  call void @_ZN10ImDrawList13PrimUnreserveEii(ptr noundef nonnull align 8 dereferenceable(196) %0, i32 noundef %108, i32 noundef %109)
  ret void
}

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

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

declare noundef i32 @_Z18ImTextCharFromUtf8PjPKcS1_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare noundef ptr @_ZNK6ImFont9FindGlyphEt(ptr noundef nonnull align 8 dereferenceable(118), i16 noundef zeroext) local_unnamed_addr #4

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 15360}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !19, i64 14288, !6, i64 15360, !15, i64 15368, !15, i64 15372, !20, i64 15376, !23, i64 15904, !13, i64 15912, !13, i64 15916, !13, i64 15920, !11, i64 15924, !11, i64 15925, !11, i64 15926, !11, i64 15927, !11, i64 15928, !6, i64 15936, !24, i64 15944, !24, i64 15960, !16, i64 15976, !13, i64 15980, !25, i64 15984, !25, i64 16000, !25, i64 16016, !26, i64 16032, !27, i64 16048, !13, i64 16064, !14, i64 16068, !6, i64 16080, !6, i64 16088, !6, i64 16096, !6, i64 16104, !6, i64 16112, !14, i64 16120, !13, i64 16128, !15, i64 16132, !14, i64 16136, !14, i64 16144, !13, i64 16152, !13, i64 16156, !13, i64 16160, !11, i64 16164, !11, i64 16165, !15, i64 16168, !15, i64 16172, !13, i64 16176, !13, i64 16180, !15, i64 16184, !11, i64 16188, !11, i64 16189, !11, i64 16190, !11, i64 16191, !11, i64 16192, !11, i64 16193, !14, i64 16196, !6, i64 16208, !29, i64 16216, !13, i64 16220, !13, i64 16224, !11, i64 16228, !11, i64 16229, !6, i64 16232, !13, i64 16240, !15, i64 16244, !7, i64 16248, !30, i64 17928, !13, i64 18240, !11, i64 18244, !13, i64 18248, !13, i64 18252, !13, i64 18256, !13, i64 18260, !32, i64 18264, !33, i64 18284, !35, i64 18344, !36, i64 18456, !37, i64 18472, !38, i64 18488, !39, i64 18504, !40, i64 18520, !41, i64 18536, !42, i64 18552, !42, i64 18568, !13, i64 18584, !43, i64 18592, !6, i64 18608, !13, i64 18616, !13, i64 18620, !13, i64 18624, !13, i64 18628, !13, i64 18632, !13, i64 18636, !13, i64 18640, !13, i64 18644, !13, i64 18648, !13, i64 18652, !13, i64 18656, !29, i64 18660, !44, i64 18664, !11, i64 18668, !11, i64 18669, !11, i64 18670, !11, i64 18671, !11, i64 18672, !11, i64 18673, !11, i64 18674, !13, i64 18676, !34, i64 18680, !11, i64 18696, !11, i64 18697, !11, i64 18698, !13, i64 18700, !13, i64 18704, !13, i64 18708, !13, i64 18712, !13, i64 18716, !13, i64 18720, !34, i64 18724, !34, i64 18740, !13, i64 18756, !13, i64 18760, !13, i64 18764, !45, i64 18768, !45, i64 18816, !45, i64 18864, !45, i64 18912, !13, i64 18960, !13, i64 18964, !6, i64 18968, !6, i64 18976, !6, i64 18984, !15, i64 18992, !15, i64 18996, !11, i64 19000, !14, i64 19004, !14, i64 19012, !15, i64 19020, !13, i64 19024, !11, i64 19028, !11, i64 19029, !11, i64 19030, !13, i64 19032, !13, i64 19036, !13, i64 19040, !46, i64 19048, !34, i64 19112, !13, i64 19128, !13, i64 19132, !15, i64 19136, !13, i64 19140, !13, i64 19144, !13, i64 19148, !13, i64 19152, !47, i64 19160, !7, i64 19176, !13, i64 19192, !48, i64 19200, !6, i64 19216, !13, i64 19224, !49, i64 19232, !50, i64 19248, !52, i64 19288, !53, i64 19304, !6, i64 19320, !54, i64 19328, !56, i64 19368, !57, i64 19384, !13, i64 19400, !13, i64 19404, !15, i64 19408, !15, i64 19412, !14, i64 19416, !58, i64 19424, !62, i64 23152, !63, i64 23176, !13, i64 23296, !13, i64 23300, !13, i64 23304, !13, i64 23308, !15, i64 23312, !15, i64 23316, !13, i64 23320, !21, i64 23324, !65, i64 23340, !15, i64 23388, !15, i64 23392, !11, i64 23396, !11, i64 23397, !15, i64 23400, !15, i64 23404, !15, i64 23408, !15, i64 23412, !17, i64 23416, !17, i64 23418, !59, i64 23424, !39, i64 23440, !66, i64 23456, !66, i64 23472, !7, i64 23488, !11, i64 23489, !15, i64 23492, !67, i64 23496, !68, i64 23512, !69, i64 23528, !70, i64 23544, !71, i64 23560, !13, i64 23576, !7, i64 23584, !11, i64 23640, !72, i64 23644, !6, i64 23648, !67, i64 23656, !6, i64 23672, !6, i64 23680, !15, i64 23688, !11, i64 23692, !13, i64 23696, !13, i64 23700, !13, i64 23704, !13, i64 23708, !67, i64 23712, !73, i64 23728, !7, i64 23752, !7, i64 23753, !7, i64 23754, !11, i64 23755, !7, i64 23756, !13, i64 23760, !74, i64 23764, !75, i64 23784, !7, i64 23824, !13, i64 24064, !13, i64 24068, !15, i64 24072, !13, i64 24076, !13, i64 24080, !13, i64 24084, !59, i64 24088}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !6, i64 24, !6, i64 32, !15, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !15, i64 60, !15, i64 64, !6, i64 72, !6, i64 80, !15, i64 88, !11, i64 92, !6, i64 96, !14, i64 104, !11, i64 112, !11, i64 113, !11, i64 114, !11, i64 115, !11, i64 116, !11, i64 117, !11, i64 118, !11, i64 119, !15, i64 120, !11, i64 124, !11, i64 125, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !11, i64 208, !11, i64 209, !11, i64 210, !11, i64 211, !11, i64 212, !11, i64 213, !11, i64 214, !15, i64 216, !13, i64 220, !13, i64 224, !13, i64 228, !13, i64 232, !13, i64 236, !14, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !6, i64 3576, !14, i64 3584, !7, i64 3592, !15, i64 3600, !15, i64 3604, !16, i64 3608, !11, i64 3612, !11, i64 3613, !11, i64 3614, !11, i64 3615, !13, i64 3616, !7, i64 3620, !11, i64 14052, !14, i64 14056, !7, i64 14064, !7, i64 14104, !7, i64 14144, !7, i64 14149, !7, i64 14154, !7, i64 14164, !7, i64 14174, !7, i64 14179, !7, i64 14184, !11, i64 14189, !7, i64 14192, !7, i64 14212, !7, i64 14232, !15, i64 14252, !11, i64 14256, !11, i64 14257, !7, i64 14258, !11, i64 14259, !17, i64 14260, !18, i64 14264}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!19 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !14, i64 24, !14, i64 32, !13, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !14, i64 60, !15, i64 68, !15, i64 72, !14, i64 76, !14, i64 84, !14, i64 92, !14, i64 100, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !15, i64 144, !13, i64 148, !14, i64 152, !14, i64 160, !15, i64 168, !14, i64 172, !14, i64 180, !14, i64 188, !14, i64 196, !15, i64 204, !11, i64 208, !11, i64 209, !11, i64 210, !15, i64 212, !15, i64 216, !7, i64 220}
!20 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !21, i64 28, !13, i64 44, !22, i64 48, !7, i64 64, !15, i64 448, !7, i64 452, !6, i64 520}
!21 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!22 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!23 = !{!"double", !7, i64 0}
!24 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"_ZTS12ImGuiStorage", !28, i64 0}
!28 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!29 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!30 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !31, i64 280, !31, i64 296}
!31 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!32 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !15, i64 4, !13, i64 8, !13, i64 12, !11, i64 16}
!33 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !34, i64 12, !34, i64 28, !34, i64 44}
!34 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!35 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !11, i64 56, !34, i64 60, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!36 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!45 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !34, i64 16, !13, i64 32, !15, i64 36, !15, i64 40, !15, i64 44}
!46 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !7, i64 24, !11, i64 57, !11, i64 58}
!47 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS6ImPoolI10ImGuiTableE", !51, i64 0, !27, i64 16, !13, i64 32, !13, i64 36}
!51 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !55, i64 0, !27, i64 16, !13, i64 32, !13, i64 36}
!55 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!58 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !18, i64 24, !59, i64 40, !59, i64 56, !11, i64 72, !13, i64 76, !15, i64 80, !60, i64 84, !15, i64 3712, !11, i64 3716, !11, i64 3717, !11, i64 3718, !13, i64 3720}
!59 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !13, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !15, i64 28, !61, i64 32}
!61 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !17, i64 3582, !17, i64 3584, !13, i64 3588, !13, i64 3592}
!62 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !13, i64 0, !59, i64 8}
!63 = !{!"_ZTS6ImFont", !52, i64 0, !15, i64 16, !15, i64 20, !18, i64 24, !64, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !17, i64 80, !17, i64 82, !17, i64 84, !17, i64 86, !15, i64 88, !15, i64 92, !11, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !13, i64 112, !7, i64 116}
!64 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!65 = !{!"_ZTS21ImGuiComboPreviewData", !34, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!66 = !{!"_ZTS20ImGuiPlatformImeData", !11, i64 0, !14, i64 4, !15, i64 12}
!67 = !{!"_ZTS15ImGuiTextBuffer", !59, i64 0}
!68 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!69 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !59, i64 0}
!70 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !59, i64 0}
!71 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!72 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!73 = !{!"_ZTS14ImGuiTextIndex", !40, i64 0, !13, i64 16}
!74 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !13, i64 8, !13, i64 12}
!75 = !{!"_ZTS14ImGuiStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !76, i64 16, !11, i64 32, !15, i64 36}
!76 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!77 = !{!15, !15, i64 0}
!78 = !{!10, !15, i64 15368}
!79 = !{!63, !15, i64 20}
!80 = !{!7, !7, i64 0}
!81 = !{!13, !13, i64 0}
!82 = distinct !{!82, !83}
!83 = !{!"llvm.loop.mustprogress"}
!84 = !{!85, !15, i64 12}
!85 = !{!"_ZTS11ImFontGlyph", !13, i64 0, !13, i64 0, !13, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !15, i64 32, !15, i64 36}
!86 = !{!85, !15, i64 8}
!87 = !{!85, !15, i64 16}
!88 = !{!85, !15, i64 20}
!89 = !{!85, !15, i64 24}
!90 = !{!85, !15, i64 28}
!91 = !{!85, !15, i64 32}
!92 = !{!85, !15, i64 36}
!93 = !{!85, !15, i64 4}
!94 = !{!14, !15, i64 4}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass