; LLVM IR from Eukky/TRender :: lib/imgui/imgui.ll/ZN5ImGui11BulletTextVEPKcP13 (va_list_tag)

; 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, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImGuiWindowTempData, %class.ImVector.22, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, i32, float, %struct.ImGuiMenuColumns, %struct.ImGuiStorage, %class.ImVector.23, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i32, i32, i32, i32, i32, i32 }
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i8, i8, i32, i32, i32, i32, i8, %struct.ImVec2, %class.ImVector, ptr, i32, i32, i32, float, float, %class.ImVector.20, %class.ImVector.16, %class.ImVector.16, %class.ImVector.21, [6 x i32], float, float, float, ptr }
%class.ImVector = type { i32, i32, ptr }
%class.ImVector.20 = type { i32, i32, ptr }
%class.ImVector.16 = type { i32, i32, ptr }
%class.ImVector.21 = type { i32, i32, ptr }
%class.ImVector.22 = type { i32, i32, ptr }
%struct.ImGuiMenuColumns = type { i32, float, float, float, [4 x float], [4 x float] }
%struct.ImGuiStorage = type { %class.ImVector.0 }
%class.ImVector.0 = type { i32, i32, ptr }
%class.ImVector.23 = type { i32, i32, ptr }
%struct.ImDrawList = type { %class.ImVector.6, %class.ImVector.7, %class.ImVector.8, i32, ptr, ptr, i32, ptr, ptr, %class.ImVector.9, %class.ImVector.10, %class.ImVector.11, i32, i32, %class.ImVector.12 }
%class.ImVector.6 = type { i32, i32, ptr }
%class.ImVector.7 = type { i32, i32, ptr }
%class.ImVector.8 = type { i32, i32, ptr }
%class.ImVector.9 = type { i32, i32, ptr }
%class.ImVector.10 = type { i32, i32, ptr }
%class.ImVector.11 = type { i32, i32, ptr }
%class.ImVector.12 = type { i32, i32, ptr }
%struct.ImGuiContext = type <{ i8, i8, [6 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, float, i32, i32, i32, %class.ImVector, %class.ImVector, %class.ImVector, %struct.ImGuiStorage, i32, [4 x i8], ptr, ptr, ptr, i32, i8, [3 x i8], i32, float, i32, i32, float, i8, i8, i8, i8, i8, i8, [2 x i8], i32, %struct.ImVec2, ptr, ptr, i32, i32, float, [4 x i8], ptr, %class.ImVector.1, %class.ImVector.2, %class.ImVector.3, %class.ImVector.4, %class.ImVector.4, %struct.ImGuiNextWindowData, i8, [3 x i8], i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, i32, ptr, float, float, i8, [3 x i8], i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, [2 x i8], i32, i32, i32, i32, i32, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImDrawData, %struct.ImDrawDataBuilder, float, [4 x i8], %struct.ImDrawList, i32, i8, [3 x i8], i32, i32, %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, %class.ImVector.13, [8 x i8], %struct.ImGuiTextEditState, %struct.ImFont, i32, i32, %struct.ImVec4, i8, [3 x i8], float, float, %struct.ImVec2, i32, %class.ImVector.14, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], float, %struct.ImGuiTextBuffer, %class.ImVector.17, %class.ImVector.18, i8, [7 x i8], ptr, %struct.ImGuiTextBuffer, i32, i32, [120 x float], 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, [21 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, i8, [512 x i8], [17 x i16], [21 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, [5 x %struct.ImVec2], [5 x float], [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], [21 x float], [21 x float] }
%struct.ImGuiStyle = type { float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, float, [42 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, %struct.ImVec4, [12 x %struct.ImVec2] }
%class.ImVector.1 = type { i32, i32, ptr }
%class.ImVector.2 = type { i32, i32, ptr }
%class.ImVector.3 = type { i32, i32, ptr }
%class.ImVector.4 = type { i32, i32, ptr }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], %struct.ImRect, ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImGuiNavMoveResult = type <{ i32, [4 x i8], ptr, float, float, float, %struct.ImRect, [4 x i8] }>
%struct.ImDrawData = type <{ i8, [7 x i8], ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, [4 x i8] }>
%struct.ImDrawDataBuilder = type { [2 x %class.ImVector.5] }
%class.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%class.ImVector.13 = type { i32, i32, ptr }
%struct.ImGuiTextEditState = type <{ i32, [4 x i8], %class.ImVector.7, %class.ImVector.14, %class.ImVector.14, i32, i32, i32, float, %"struct.ImGuiStb::STB_TexteditState", float, i8, i8, [6 x i8] }>
%"struct.ImGuiStb::STB_TexteditState" = type { i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImGuiStb::StbUndoState" }
%"struct.ImGuiStb::StbUndoState" = type { [99 x %"struct.ImGuiStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImGuiStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImFont = type { float, float, %struct.ImVec2, %class.ImVector.15, %class.ImVector.16, %class.ImVector.7, ptr, float, i16, i16, ptr, ptr, float, float, i8, i32 }
%class.ImVector.15 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%class.ImVector.14 = type { i32, i32, ptr }
%class.ImVector.17 = type { i32, i32, ptr }
%class.ImVector.18 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %class.ImVector.14 }

@GImGui = external dso_local 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: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z15ImFormatStringVPcmPKcP13__va_list_tag(ptr noundef, i64 noundef, ptr noundef, ptr noundef) #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8ItemSizeERK6ImRectf(ptr noundef nonnull align 4 dereferenceable(16), float noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, ptr noundef) #6

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float>, ptr noundef, ptr noundef, i1 noundef zeroext) #5

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef, ptr noundef, i1 noundef zeroext, float noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui12RenderBulletE6ImVec2(<2 x float>) #5

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui11BulletTextVEPKcP13__va_list_tag(ptr noundef %0, ptr noundef %1) #5 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %struct.ImVec2, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca %struct.ImRect, align 4
  %15 = alloca %struct.ImVec2, align 4
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca %struct.ImVec2, align 4
  %18 = alloca %struct.ImVec2, align 4
  %19 = alloca %struct.ImVec2, align 4
  %20 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %21 = call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  store ptr %21, ptr %5, align 8, !tbaa !5
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.ImGuiWindow, ptr %22, i32 0, i32 25
  %24 = load i8, ptr %23, align 1, !tbaa !9, !range !34, !noundef !35
  %25 = trunc i8 %24 to i1
  br i1 %25, label %26, label %27

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

27:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %28 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %28, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.ImGuiContext, ptr %29, i32 0, i32 4
  store ptr %30, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.ImGuiContext, ptr %31, i32 0, i32 147
  %33 = getelementptr inbounds [3073 x i8], ptr %32, i64 0, i64 0
  store ptr %33, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %34 = load ptr, ptr %9, align 8, !tbaa !5
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.ImGuiContext, ptr %35, i32 0, i32 147
  %37 = getelementptr inbounds [3073 x i8], ptr %36, i64 0, i64 0
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = call noundef i32 @_Z15ImFormatStringVPcmPKcP13__va_list_tag(ptr noundef %37, i64 noundef 3073, ptr noundef %38, ptr noundef %39)
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds i8, ptr %34, i64 %41
  store ptr %42, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %43 = load ptr, ptr %9, align 8, !tbaa !5
  %44 = load ptr, ptr %10, align 8, !tbaa !5
  %45 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %43, ptr noundef %44, i1 noundef zeroext false, float noundef -1.000000e+00)
  store <2 x float> %45, ptr %11, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.ImGuiWindow, ptr %46, i32 0, i32 43
  %48 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %47, i32 0, i32 5
  %49 = load float, ptr %48, align 4, !tbaa !36
  %50 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %49)
  store float %50, ptr %12, align 4, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.ImGuiWindow, ptr %51, i32 0, i32 43
  %53 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %52, i32 0, i32 4
  %54 = load float, ptr %53, align 8, !tbaa !38
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.ImGuiContext, ptr %55, i32 0, i32 6
  %57 = load float, ptr %56, align 8, !tbaa !39
  %58 = load ptr, ptr %7, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.ImGuiContext, ptr %58, i32 0, i32 4
  %60 = getelementptr inbounds %struct.ImGuiStyle, ptr %59, i32 0, i32 10
  %61 = getelementptr inbounds %struct.ImVec2, ptr %60, i32 0, i32 1
  %62 = load float, ptr %61, align 4, !tbaa !67
  %63 = call float @llvm.fmuladd.f32(float %62, float 2.000000e+00, float %57)
  %64 = call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %54, float noundef %63)
  %65 = load ptr, ptr %7, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.ImGuiContext, ptr %65, i32 0, i32 6
  %67 = load float, ptr %66, align 8, !tbaa !39
  %68 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %64, float noundef %67)
  store float %68, ptr %13, align 4, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #7
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.ImGuiWindow, ptr %69, i32 0, i32 43
  %71 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %70, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.ImGuiWindow, ptr %72, i32 0, i32 43
  %74 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %73, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %75 = load ptr, ptr %7, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.ImGuiContext, ptr %75, i32 0, i32 6
  %77 = load float, ptr %76, align 8, !tbaa !39
  %78 = getelementptr inbounds %struct.ImVec2, ptr %11, i32 0, i32 0
  %79 = load float, ptr %78, align 4, !tbaa !68
  %80 = fcmp ogt float %79, 0.000000e+00
  br i1 %80, label %81, label %89

81:                                               ; preds = %27
  %82 = getelementptr inbounds %struct.ImVec2, ptr %11, i32 0, i32 0
  %83 = load float, ptr %82, align 4, !tbaa !68
  %84 = load ptr, ptr %8, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.ImGuiStyle, ptr %84, i32 0, i32 10
  %86 = getelementptr inbounds %struct.ImVec2, ptr %85, i32 0, i32 0
  %87 = load float, ptr %86, align 4, !tbaa !69
  %88 = call float @llvm.fmuladd.f32(float %87, float 2.000000e+00, float %83)
  br label %90

89:                                               ; preds = %27
  br label %90

90:                                               ; preds = %89, %81
  %91 = phi float [ %88, %81 ], [ 0.000000e+00, %89 ]
  %92 = fadd float %77, %91
  %93 = load float, ptr %13, align 4, !tbaa !37
  %94 = getelementptr inbounds %struct.ImVec2, ptr %11, i32 0, i32 1
  %95 = load float, ptr %94, align 4, !tbaa !70
  %96 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %93, float noundef %95)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef %92, float noundef %96)
  %97 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %74, ptr noundef nonnull align 4 dereferenceable(8) %16)
  store <2 x float> %97, ptr %15, align 4
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %14, ptr noundef nonnull align 4 dereferenceable(8) %71, ptr noundef nonnull align 4 dereferenceable(8) %15)
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @_ZN5ImGui8ItemSizeERK6ImRectf(ptr noundef nonnull align 4 dereferenceable(16) %14, float noundef 0.000000e+00)
  %98 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %14, i32 noundef 0, ptr noundef null)
  br i1 %98, label %100, label %99

99:                                               ; preds = %90
  store i32 1, ptr %6, align 4
  br label %128

100:                                              ; preds = %90
  %101 = getelementptr inbounds %struct.ImRect, ptr %14, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %102 = load ptr, ptr %8, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.ImGuiStyle, ptr %102, i32 0, i32 10
  %104 = getelementptr inbounds %struct.ImVec2, ptr %103, i32 0, i32 0
  %105 = load float, ptr %104, align 4, !tbaa !69
  %106 = load ptr, ptr %7, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.ImGuiContext, ptr %106, i32 0, i32 6
  %108 = load float, ptr %107, align 8, !tbaa !39
  %109 = call float @llvm.fmuladd.f32(float %108, float 5.000000e-01, float %105)
  %110 = load float, ptr %13, align 4, !tbaa !37
  %111 = fmul float %110, 5.000000e-01
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %18, float noundef %109, float noundef %111)
  %112 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %101, ptr noundef nonnull align 4 dereferenceable(8) %18)
  store <2 x float> %112, ptr %17, align 4
  %113 = load <2 x float>, ptr %17, align 4
  call void @_ZN5ImGui12RenderBulletE6ImVec2(<2 x float> %113)
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  %114 = getelementptr inbounds %struct.ImRect, ptr %14, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %115 = load ptr, ptr %7, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.ImGuiContext, ptr %115, i32 0, i32 6
  %117 = load float, ptr %116, align 8, !tbaa !39
  %118 = load ptr, ptr %8, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ImGuiStyle, ptr %118, i32 0, i32 10
  %120 = getelementptr inbounds %struct.ImVec2, ptr %119, i32 0, i32 0
  %121 = load float, ptr %120, align 4, !tbaa !69
  %122 = call float @llvm.fmuladd.f32(float %121, float 2.000000e+00, float %117)
  %123 = load float, ptr %12, align 4, !tbaa !37
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %20, float noundef %122, float noundef %123)
  %124 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %114, ptr noundef nonnull align 4 dereferenceable(8) %20)
  store <2 x float> %124, ptr %19, align 4
  %125 = load ptr, ptr %9, align 8, !tbaa !5
  %126 = load ptr, ptr %10, align 8, !tbaa !5
  %127 = load <2 x float>, ptr %19, align 4
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %127, ptr noundef %125, ptr noundef %126, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  store i32 0, ptr %6, align 4
  br label %128

128:                                              ; preds = %100, %99
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  br label %129

129:                                              ; preds = %128, %26
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  %130 = load i32, ptr %6, align 4
  switch i32 %130, label %132 [
    i32 0, label %131
    i32 1, label %131
  ]

131:                                              ; preds = %129, %129
  ret void

132:                                              ; preds = %129
  unreachable
}

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #4 = { 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 #5 = { 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 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 #7 = { 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, !14, i64 127}
!10 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !11, i64 8, !11, i64 12, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !13, i64 72, !13, i64 76, !11, i64 80, !11, i64 84, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !14, i64 120, !14, i64 121, !14, i64 122, !14, i64 123, !14, i64 124, !14, i64 125, !14, i64 126, !14, i64 127, !14, i64 128, !14, i64 129, !11, i64 132, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !11, i64 152, !14, i64 156, !11, i64 160, !11, i64 164, !11, i64 168, !11, i64 172, !11, i64 176, !11, i64 180, !12, i64 184, !12, i64 192, !15, i64 200, !21, i64 496, !16, i64 512, !16, i64 528, !16, i64 544, !16, i64 560, !16, i64 576, !11, i64 592, !13, i64 596, !22, i64 600, !23, i64 648, !25, i64 664, !13, i64 680, !11, i64 684, !6, i64 688, !26, i64 696, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !7, i64 912, !7, i64 920, !11, i64 952, !11, i64 956, !11, i64 960, !11, i64 964, !11, i64 968, !11, i64 972}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTS19ImGuiWindowTempData", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32, !13, i64 36, !13, i64 40, !13, i64 44, !13, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !16, i64 68, !16, i64 84, !14, i64 100, !14, i64 101, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !14, i64 120, !12, i64 124, !17, i64 136, !6, i64 152, !11, i64 160, !11, i64 164, !11, i64 168, !13, i64 172, !13, i64 176, !18, i64 184, !19, i64 200, !19, i64 216, !20, i64 232, !7, i64 248, !13, i64 272, !13, i64 276, !13, i64 280, !6, i64 288}
!16 = !{!"_ZTS6ImRect", !12, i64 0, !12, i64 8}
!17 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !11, i64 0, !11, i64 4, !6, i64 8}
!18 = !{!"_ZTS8ImVectorIiE", !11, i64 0, !11, i64 4, !6, i64 8}
!19 = !{!"_ZTS8ImVectorIfE", !11, i64 0, !11, i64 4, !6, i64 8}
!20 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!21 = !{!"_ZTS8ImVectorIjE", !11, i64 0, !11, i64 4, !6, i64 8}
!22 = !{!"_ZTS16ImGuiMenuColumns", !11, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !7, i64 16, !7, i64 32}
!23 = !{!"_ZTS12ImGuiStorage", !24, i64 0}
!24 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !11, i64 0, !11, i64 4, !6, i64 8}
!25 = !{!"_ZTS8ImVectorI15ImGuiColumnsSetE", !11, i64 0, !11, i64 4, !6, i64 8}
!26 = !{!"_ZTS10ImDrawList", !27, i64 0, !28, i64 16, !29, i64 32, !11, i64 48, !6, i64 56, !6, i64 64, !11, i64 72, !6, i64 80, !6, i64 88, !30, i64 96, !31, i64 112, !32, i64 128, !11, i64 144, !11, i64 148, !33, i64 152}
!27 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !11, i64 0, !11, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorItE", !11, i64 0, !11, i64 4, !6, i64 8}
!29 = !{!"_ZTS8ImVectorI10ImDrawVertE", !11, i64 0, !11, i64 4, !6, i64 8}
!30 = !{!"_ZTS8ImVectorI6ImVec4E", !11, i64 0, !11, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorIPvE", !11, i64 0, !11, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorI6ImVec2E", !11, i64 0, !11, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !11, i64 0, !11, i64 4, !6, i64 8}
!34 = !{i8 0, i8 2}
!35 = !{}
!36 = !{!10, !13, i64 236}
!37 = !{!13, !13, i64 0}
!38 = !{!10, !13, i64 232}
!39 = !{!40, !13, i64 6240}
!40 = !{!"_ZTS12ImGuiContext", !14, i64 0, !14, i64 1, !41, i64 8, !42, i64 5408, !6, i64 6232, !13, i64 6240, !13, i64 6244, !43, i64 6248, !13, i64 6384, !11, i64 6388, !11, i64 6392, !11, i64 6396, !17, i64 6400, !17, i64 6416, !17, i64 6432, !23, i64 6448, !11, i64 6464, !6, i64 6472, !6, i64 6480, !6, i64 6488, !11, i64 6496, !14, i64 6500, !11, i64 6504, !13, i64 6508, !11, i64 6512, !11, i64 6516, !13, i64 6520, !14, i64 6524, !14, i64 6525, !14, i64 6526, !14, i64 6527, !14, i64 6528, !14, i64 6529, !11, i64 6532, !12, i64 6536, !6, i64 6544, !6, i64 6552, !45, i64 6560, !11, i64 6564, !13, i64 6568, !6, i64 6576, !46, i64 6584, !47, i64 6600, !48, i64 6616, !49, i64 6632, !49, i64 6648, !50, i64 6664, !14, i64 6776, !11, i64 6780, !6, i64 6784, !11, i64 6792, !11, i64 6796, !11, i64 6800, !11, i64 6804, !11, i64 6808, !11, i64 6812, !11, i64 6816, !11, i64 6820, !45, i64 6824, !16, i64 6828, !11, i64 6844, !6, i64 6848, !13, i64 6856, !13, i64 6860, !14, i64 6864, !11, i64 6868, !11, i64 6872, !14, i64 6876, !14, i64 6877, !14, i64 6878, !14, i64 6879, !14, i64 6880, !14, i64 6881, !14, i64 6882, !11, i64 6884, !16, i64 6888, !14, i64 6904, !14, i64 6905, !11, i64 6908, !51, i64 6912, !11, i64 6916, !11, i64 6920, !11, i64 6924, !52, i64 6928, !52, i64 6976, !52, i64 7024, !53, i64 7072, !54, i64 7120, !13, i64 7152, !26, i64 7160, !11, i64 7328, !14, i64 7332, !11, i64 7336, !11, i64 7340, !55, i64 7344, !16, i64 7408, !11, i64 7424, !11, i64 7428, !13, i64 7432, !11, i64 7436, !11, i64 7440, !11, i64 7444, !56, i64 7448, !7, i64 7464, !57, i64 7472, !62, i64 11176, !11, i64 11288, !11, i64 11292, !44, i64 11296, !14, i64 11312, !13, i64 11316, !13, i64 11320, !12, i64 11324, !11, i64 11332, !58, i64 11336, !12, i64 11352, !12, i64 11360, !14, i64 11368, !13, i64 11372, !64, i64 11376, !65, i64 11392, !66, i64 11408, !14, i64 11424, !6, i64 11432, !64, i64 11440, !11, i64 11456, !11, i64 11460, !7, i64 11464, !11, i64 11944, !13, i64 11948, !11, i64 11952, !11, i64 11956, !11, i64 11960, !7, i64 11964}
!41 = !{!"_ZTS7ImGuiIO", !11, i64 0, !11, i64 4, !12, i64 8, !13, i64 16, !13, i64 20, !6, i64 24, !6, i64 32, !13, i64 40, !13, i64 44, !13, i64 48, !7, i64 52, !13, i64 136, !13, i64 140, !6, i64 144, !6, i64 152, !13, i64 160, !14, i64 164, !6, i64 168, !12, i64 176, !12, i64 184, !12, i64 192, !14, i64 200, !14, i64 201, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !12, i64 256, !7, i64 264, !13, i64 272, !13, i64 276, !14, i64 280, !14, i64 281, !14, i64 282, !14, i64 283, !14, i64 284, !7, i64 285, !7, i64 798, !7, i64 832, !14, i64 916, !14, i64 917, !14, i64 918, !14, i64 919, !14, i64 920, !14, i64 921, !14, i64 922, !13, i64 924, !11, i64 928, !11, i64 932, !11, i64 936, !12, i64 940, !12, i64 948, !7, i64 956, !7, i64 996, !7, i64 1016, !7, i64 1021, !7, i64 1026, !7, i64 1031, !7, i64 1036, !7, i64 1056, !7, i64 1076, !7, i64 1116, !7, i64 1136, !7, i64 3184, !7, i64 5232, !7, i64 5316}
!42 = !{!"_ZTS10ImGuiStyle", !13, i64 0, !12, i64 4, !13, i64 12, !13, i64 16, !12, i64 20, !12, i64 28, !13, i64 36, !13, i64 40, !13, i64 44, !13, i64 48, !12, i64 52, !13, i64 60, !13, i64 64, !12, i64 68, !12, i64 76, !12, i64 84, !13, i64 92, !13, i64 96, !13, i64 100, !13, i64 104, !13, i64 108, !13, i64 112, !12, i64 116, !12, i64 124, !12, i64 132, !13, i64 140, !14, i64 144, !14, i64 145, !13, i64 148, !7, i64 152}
!43 = !{!"_ZTS20ImDrawListSharedData", !12, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !44, i64 24, !7, i64 40}
!44 = !{!"_ZTS6ImVec4", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!45 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!46 = !{!"_ZTS8ImVectorI11ImGuiColModE", !11, i64 0, !11, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !11, i64 0, !11, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorIP6ImFontE", !11, i64 0, !11, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI13ImGuiPopupRefE", !11, i64 0, !11, i64 4, !6, i64 8}
!50 = !{!"_ZTS19ImGuiNextWindowData", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !12, i64 28, !12, i64 36, !12, i64 44, !12, i64 52, !14, i64 60, !16, i64 64, !6, i64 80, !6, i64 88, !13, i64 96, !12, i64 100}
!51 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!52 = !{!"_ZTS18ImGuiNavMoveResult", !11, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !16, i64 28}
!53 = !{!"_ZTS10ImDrawData", !14, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !12, i64 28, !12, i64 36}
!54 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!55 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !7, i64 24, !14, i64 57, !14, i64 58}
!56 = !{!"_ZTS8ImVectorIhE", !11, i64 0, !11, i64 4, !6, i64 8}
!57 = !{!"_ZTS18ImGuiTextEditState", !11, i64 0, !28, i64 8, !58, i64 24, !58, i64 40, !11, i64 56, !11, i64 60, !11, i64 64, !13, i64 68, !59, i64 72, !13, i64 3692, !14, i64 3696, !14, i64 3697}
!58 = !{!"_ZTS8ImVectorIcE", !11, i64 0, !11, i64 4, !6, i64 8}
!59 = !{!"_ZTSN8ImGuiStb17STB_TexteditStateE", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !13, i64 20, !60, i64 24}
!60 = !{!"_ZTSN8ImGuiStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !61, i64 3582, !61, i64 3584, !11, i64 3588, !11, i64 3592}
!61 = !{!"short", !7, i64 0}
!62 = !{!"_ZTS6ImFont", !13, i64 0, !13, i64 4, !12, i64 8, !63, i64 16, !19, i64 32, !28, i64 48, !6, i64 64, !13, i64 72, !61, i64 76, !61, i64 78, !6, i64 80, !6, i64 88, !13, i64 96, !13, i64 100, !14, i64 104, !11, i64 108}
!63 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !11, i64 0, !11, i64 4, !6, i64 8}
!64 = !{!"_ZTS15ImGuiTextBuffer", !58, i64 0}
!65 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !11, i64 0, !11, i64 4, !6, i64 8}
!66 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !11, i64 0, !11, i64 4, !6, i64 8}
!67 = !{!40, !13, i64 5464}
!68 = !{!12, !13, i64 0}
!69 = !{!42, !13, i64 52}
!70 = !{!12, !13, 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.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }

@GImGui = external dso_local 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 nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z15ImFormatStringVPcmPKcP13__va_list_tag(ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8ItemSizeERK6ImRectf(ptr noundef nonnull align 4 dereferenceable(16), float noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, ptr noundef) local_unnamed_addr #6

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float>, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef, ptr noundef, i1 noundef zeroext, float noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui12RenderBulletE6ImVec2(<2 x float>) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui11BulletTextVEPKcP13__va_list_tag(ptr noundef %0, ptr noundef %1) local_unnamed_addr #5 {
  %3 = alloca %struct.ImRect, align 4
  %4 = alloca %struct.ImVec2, align 8
  %5 = alloca %struct.ImVec2, align 4
  %6 = alloca %struct.ImVec2, align 4
  %7 = alloca %struct.ImVec2, align 4
  %8 = tail call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  %9 = getelementptr inbounds i8, ptr %8, i64 127
  %10 = load i8, ptr %9, align 1, !tbaa !5, !range !33, !noundef !34
  %11 = trunc nuw i8 %10 to i1
  br i1 %11, label %56, label %12

12:                                               ; preds = %2
  %13 = load ptr, ptr @GImGui, align 8, !tbaa !35
  %14 = getelementptr inbounds i8, ptr %13, i64 11964
  %15 = tail call noundef i32 @_Z15ImFormatStringVPcmPKcP13__va_list_tag(ptr noundef nonnull %14, i64 noundef 3073, ptr noundef %0, ptr noundef %1)
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds i8, ptr %14, i64 %16
  %18 = tail call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef nonnull %14, ptr noundef nonnull %17, i1 noundef zeroext false, float noundef -1.000000e+00)
  %19 = getelementptr inbounds i8, ptr %8, i64 200
  %20 = getelementptr inbounds i8, ptr %8, i64 236
  %21 = load float, ptr %20, align 4, !tbaa !36
  %22 = tail call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 0.000000e+00, float noundef %21)
  %23 = getelementptr inbounds i8, ptr %8, i64 232
  %24 = load float, ptr %23, align 8, !tbaa !37
  %25 = getelementptr inbounds i8, ptr %13, i64 6240
  %26 = load float, ptr %25, align 8, !tbaa !38
  %27 = getelementptr inbounds i8, ptr %13, i64 5460
  %28 = getelementptr inbounds i8, ptr %13, i64 5464
  %29 = load float, ptr %28, align 4, !tbaa !66
  %30 = tail call float @llvm.fmuladd.f32(float %29, float 2.000000e+00, float %26)
  %31 = tail call noundef float @_ZL5ImMinIfET_S0_S0_(float noundef %24, float noundef %30)
  %32 = load float, ptr %25, align 8, !tbaa !38
  %33 = tail call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %31, float noundef %32)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %34 = load float, ptr %25, align 8, !tbaa !38
  %.sroa.04.0.vec.extract = extractelement <2 x float> %18, i64 0
  %35 = fcmp ogt float %.sroa.04.0.vec.extract, 0.000000e+00
  br i1 %35, label %36, label %39

36:                                               ; preds = %12
  %37 = load float, ptr %27, align 4, !tbaa !67
  %38 = tail call float @llvm.fmuladd.f32(float %37, float 2.000000e+00, float %.sroa.04.0.vec.extract)
  br label %39

39:                                               ; preds = %12, %36
  %40 = phi float [ %38, %36 ], [ 0.000000e+00, %12 ]
  %41 = fadd float %34, %40
  %.sroa.04.4.vec.extract = extractelement <2 x float> %18, i64 1
  %42 = tail call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %33, float noundef %.sroa.04.4.vec.extract)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef %41, float noundef %42)
  %43 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(8) %5)
  store <2 x float> %43, ptr %4, align 8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(8) %4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @_ZN5ImGui8ItemSizeERK6ImRectf(ptr noundef nonnull align 4 dereferenceable(16) %3, float noundef 0.000000e+00)
  %44 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %3, i32 noundef 0, ptr noundef null)
  br i1 %44, label %45, label %55

45:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %46 = load float, ptr %27, align 4, !tbaa !67
  %47 = load float, ptr %25, align 8, !tbaa !38
  %48 = call float @llvm.fmuladd.f32(float %47, float 5.000000e-01, float %46)
  %49 = fmul float %33, 5.000000e-01
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef %48, float noundef %49)
  %50 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(8) %6)
  call void @_ZN5ImGui12RenderBulletE6ImVec2(<2 x float> %50)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %51 = load float, ptr %25, align 8, !tbaa !38
  %52 = load float, ptr %27, align 4, !tbaa !67
  %53 = call float @llvm.fmuladd.f32(float %52, float 2.000000e+00, float %51)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef %53, float noundef %22)
  %54 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(8) %7)
  call void @_ZN5ImGui10RenderTextE6ImVec2PKcS2_b(<2 x float> %54, ptr noundef nonnull %14, ptr noundef nonnull %17, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  br label %55

55:                                               ; preds = %39, %45
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  br label %56

56:                                               ; preds = %2, %55
  ret void
}

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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #4 = { 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 #5 = { 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 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 #7 = { 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 127}
!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, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !13, i64 120, !13, i64 121, !13, i64 122, !13, i64 123, !13, i64 124, !13, i64 125, !13, i64 126, !13, i64 127, !13, i64 128, !13, i64 129, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !10, i64 152, !13, i64 156, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !11, i64 184, !11, i64 192, !14, i64 200, !20, i64 496, !15, i64 512, !15, i64 528, !15, i64 544, !15, i64 560, !15, i64 576, !10, i64 592, !12, i64 596, !21, i64 600, !22, i64 648, !24, i64 664, !12, i64 680, !10, i64 684, !7, i64 688, !25, i64 696, !7, i64 864, !7, i64 872, !7, i64 880, !7, i64 888, !7, i64 896, !7, i64 904, !8, i64 912, !8, i64 920, !10, i64 952, !10, i64 956, !10, i64 960, !10, i64 964, !10, i64 968, !10, i64 972}
!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 = !{!"_ZTS19ImGuiWindowTempData", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !15, i64 68, !15, i64 84, !13, i64 100, !13, i64 101, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !13, i64 120, !11, i64 124, !16, i64 136, !7, i64 152, !10, i64 160, !10, i64 164, !10, i64 168, !12, i64 172, !12, i64 176, !17, i64 184, !18, i64 200, !18, i64 216, !19, i64 232, !8, i64 248, !12, i64 272, !12, i64 276, !12, i64 280, !7, i64 288}
!15 = !{!"_ZTS6ImRect", !11, i64 0, !11, i64 8}
!16 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !7, i64 8}
!17 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !7, i64 8}
!18 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !7, i64 8}
!19 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!20 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !7, i64 8}
!21 = !{!"_ZTS16ImGuiMenuColumns", !10, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !8, i64 16, !8, i64 32}
!22 = !{!"_ZTS12ImGuiStorage", !23, i64 0}
!23 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !10, i64 0, !10, i64 4, !7, i64 8}
!24 = !{!"_ZTS8ImVectorI15ImGuiColumnsSetE", !10, i64 0, !10, i64 4, !7, i64 8}
!25 = !{!"_ZTS10ImDrawList", !26, i64 0, !27, i64 16, !28, i64 32, !10, i64 48, !7, i64 56, !7, i64 64, !10, i64 72, !7, i64 80, !7, i64 88, !29, i64 96, !30, i64 112, !31, i64 128, !10, i64 144, !10, i64 148, !32, i64 152}
!26 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !7, i64 8}
!27 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !7, i64 8}
!28 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !7, i64 8}
!29 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !7, i64 8}
!30 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !7, i64 8}
!31 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !7, i64 8}
!32 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !7, i64 8}
!33 = !{i8 0, i8 2}
!34 = !{}
!35 = !{!7, !7, i64 0}
!36 = !{!6, !12, i64 236}
!37 = !{!6, !12, i64 232}
!38 = !{!39, !12, i64 6240}
!39 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !40, i64 8, !41, i64 5408, !7, i64 6232, !12, i64 6240, !12, i64 6244, !42, i64 6248, !12, i64 6384, !10, i64 6388, !10, i64 6392, !10, i64 6396, !16, i64 6400, !16, i64 6416, !16, i64 6432, !22, i64 6448, !10, i64 6464, !7, i64 6472, !7, i64 6480, !7, i64 6488, !10, i64 6496, !13, i64 6500, !10, i64 6504, !12, i64 6508, !10, i64 6512, !10, i64 6516, !12, i64 6520, !13, i64 6524, !13, i64 6525, !13, i64 6526, !13, i64 6527, !13, i64 6528, !13, i64 6529, !10, i64 6532, !11, i64 6536, !7, i64 6544, !7, i64 6552, !44, i64 6560, !10, i64 6564, !12, i64 6568, !7, i64 6576, !45, i64 6584, !46, i64 6600, !47, i64 6616, !48, i64 6632, !48, i64 6648, !49, i64 6664, !13, i64 6776, !10, i64 6780, !7, i64 6784, !10, i64 6792, !10, i64 6796, !10, i64 6800, !10, i64 6804, !10, i64 6808, !10, i64 6812, !10, i64 6816, !10, i64 6820, !44, i64 6824, !15, i64 6828, !10, i64 6844, !7, i64 6848, !12, i64 6856, !12, i64 6860, !13, i64 6864, !10, i64 6868, !10, i64 6872, !13, i64 6876, !13, i64 6877, !13, i64 6878, !13, i64 6879, !13, i64 6880, !13, i64 6881, !13, i64 6882, !10, i64 6884, !15, i64 6888, !13, i64 6904, !13, i64 6905, !10, i64 6908, !50, i64 6912, !10, i64 6916, !10, i64 6920, !10, i64 6924, !51, i64 6928, !51, i64 6976, !51, i64 7024, !52, i64 7072, !53, i64 7120, !12, i64 7152, !25, i64 7160, !10, i64 7328, !13, i64 7332, !10, i64 7336, !10, i64 7340, !54, i64 7344, !15, i64 7408, !10, i64 7424, !10, i64 7428, !12, i64 7432, !10, i64 7436, !10, i64 7440, !10, i64 7444, !55, i64 7448, !8, i64 7464, !56, i64 7472, !61, i64 11176, !10, i64 11288, !10, i64 11292, !43, i64 11296, !13, i64 11312, !12, i64 11316, !12, i64 11320, !11, i64 11324, !10, i64 11332, !57, i64 11336, !11, i64 11352, !11, i64 11360, !13, i64 11368, !12, i64 11372, !63, i64 11376, !64, i64 11392, !65, i64 11408, !13, i64 11424, !7, i64 11432, !63, i64 11440, !10, i64 11456, !10, i64 11460, !8, i64 11464, !10, i64 11944, !12, i64 11948, !10, i64 11952, !10, i64 11956, !10, i64 11960, !8, i64 11964}
!40 = !{!"_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 136, !12, i64 140, !7, i64 144, !7, i64 152, !12, i64 160, !13, i64 164, !7, i64 168, !11, i64 176, !11, i64 184, !11, i64 192, !13, i64 200, !13, i64 201, !7, i64 208, !7, i64 216, !7, i64 224, !7, i64 232, !7, i64 240, !7, i64 248, !11, i64 256, !8, i64 264, !12, i64 272, !12, i64 276, !13, i64 280, !13, i64 281, !13, i64 282, !13, i64 283, !13, i64 284, !8, i64 285, !8, i64 798, !8, i64 832, !13, i64 916, !13, i64 917, !13, i64 918, !13, i64 919, !13, i64 920, !13, i64 921, !13, i64 922, !12, i64 924, !10, i64 928, !10, i64 932, !10, i64 936, !11, i64 940, !11, i64 948, !8, i64 956, !8, i64 996, !8, i64 1016, !8, i64 1021, !8, i64 1026, !8, i64 1031, !8, i64 1036, !8, i64 1056, !8, i64 1076, !8, i64 1116, !8, i64 1136, !8, i64 3184, !8, i64 5232, !8, i64 5316}
!41 = !{!"_ZTS10ImGuiStyle", !12, i64 0, !11, i64 4, !12, i64 12, !12, i64 16, !11, i64 20, !11, i64 28, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !11, i64 52, !12, i64 60, !12, i64 64, !11, i64 68, !11, i64 76, !11, i64 84, !12, i64 92, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !11, i64 116, !11, i64 124, !11, i64 132, !12, i64 140, !13, i64 144, !13, i64 145, !12, i64 148, !8, i64 152}
!42 = !{!"_ZTS20ImDrawListSharedData", !11, i64 0, !7, i64 8, !12, i64 16, !12, i64 20, !43, i64 24, !8, i64 40}
!43 = !{!"_ZTS6ImVec4", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!44 = !{!"_ZTS16ImGuiInputSource", !8, i64 0}
!45 = !{!"_ZTS8ImVectorI11ImGuiColModE", !10, i64 0, !10, i64 4, !7, i64 8}
!46 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !7, i64 8}
!47 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !7, i64 8}
!48 = !{!"_ZTS8ImVectorI13ImGuiPopupRefE", !10, i64 0, !10, i64 4, !7, i64 8}
!49 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !11, i64 28, !11, i64 36, !11, i64 44, !11, i64 52, !13, i64 60, !15, i64 64, !7, i64 80, !7, i64 88, !12, i64 96, !11, i64 100}
!50 = !{!"_ZTS15ImGuiNavForward", !8, i64 0}
!51 = !{!"_ZTS18ImGuiNavMoveResult", !10, i64 0, !7, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !15, i64 28}
!52 = !{!"_ZTS10ImDrawData", !13, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !11, i64 28, !11, i64 36}
!53 = !{!"_ZTS17ImDrawDataBuilder", !8, i64 0}
!54 = !{!"_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}
!55 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !7, i64 8}
!56 = !{!"_ZTS18ImGuiTextEditState", !10, i64 0, !27, i64 8, !57, i64 24, !57, i64 40, !10, i64 56, !10, i64 60, !10, i64 64, !12, i64 68, !58, i64 72, !12, i64 3692, !13, i64 3696, !13, i64 3697}
!57 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !7, i64 8}
!58 = !{!"_ZTSN8ImGuiStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !8, i64 12, !8, i64 13, !8, i64 14, !8, i64 15, !8, i64 16, !8, i64 17, !8, i64 18, !8, i64 19, !12, i64 20, !59, i64 24}
!59 = !{!"_ZTSN8ImGuiStb12StbUndoStateE", !8, i64 0, !8, i64 1584, !60, i64 3582, !60, i64 3584, !10, i64 3588, !10, i64 3592}
!60 = !{!"short", !8, i64 0}
!61 = !{!"_ZTS6ImFont", !12, i64 0, !12, i64 4, !11, i64 8, !62, i64 16, !18, i64 32, !27, i64 48, !7, i64 64, !12, i64 72, !60, i64 76, !60, i64 78, !7, i64 80, !7, i64 88, !12, i64 96, !12, i64 100, !13, i64 104, !10, i64 108}
!62 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !7, i64 8}
!63 = !{!"_ZTS15ImGuiTextBuffer", !57, i64 0}
!64 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !7, i64 8}
!65 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !10, i64 0, !10, i64 4, !7, i64 8}
!66 = !{!39, !12, i64 5464}
!67 = !{!41, !12, i64 52}


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