; LLVM IR from jan-van-bergen/GPU-Raytracer :: include/Imgui/imgui_widgets.ll (ZN5ImGui11InputScalarEPKciPvPKvS4_S1_i)

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

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

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

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

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

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

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

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

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

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

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

declare noundef float @_ZN5ImGui13CalcItemWidthEv() #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui8ButtonExEPKcRK6ImVec2i(ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), i32 noundef) #0

declare noundef float @_ZN5ImGui14GetFrameHeightEv() #6

declare void @_ZN5ImGui5PopIDEv() #6

declare void @_ZN5ImGui14MarkItemEditedEj(i32 noundef) #6

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui15DataTypeGetInfoEi(i32 noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5ImGui20DataTypeFormatStringEPciiPKvPKc(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui15DataTypeApplyOpEiiPvPKvS2_(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui21DataTypeApplyFromTextEPKciPvS1_(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #7

declare void @_ZN5ImGui10BeginGroupEv() #6

declare void @_ZN5ImGui6PushIDEPKc(ptr noundef) #6

declare noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef, ptr noundef) #6

declare void @_ZN5ImGui8EndGroupEv() #6

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

33:                                               ; preds = %7
  store i1 false, ptr %8, align 1
  store i32 1, ptr %17, align 4
  br label %200

34:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %35 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %35, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %36 = load ptr, ptr %18, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.ImGuiContext, ptr %36, i32 0, i32 6
  store ptr %37, ptr %19, align 8, !tbaa !5
  %38 = load ptr, ptr %14, align 8, !tbaa !5
  %39 = icmp eq ptr %38, null
  br i1 %39, label %40, label %45

40:                                               ; preds = %34
  %41 = load i32, ptr %10, align 4, !tbaa !9
  %42 = call noundef ptr @_ZN5ImGui15DataTypeGetInfoEi(i32 noundef %41)
  %43 = getelementptr inbounds %struct.ImGuiDataTypeInfo, ptr %42, i32 0, i32 2
  %44 = load ptr, ptr %43, align 8, !tbaa !42
  store ptr %44, ptr %14, align 8, !tbaa !5
  br label %45

45:                                               ; preds = %40, %34
  call void @llvm.lifetime.start.p0(i64 64, ptr %20) #8
  %46 = getelementptr inbounds [64 x i8], ptr %20, i64 0, i64 0
  %47 = load i32, ptr %10, align 4, !tbaa !9
  %48 = load ptr, ptr %11, align 8, !tbaa !5
  %49 = load ptr, ptr %14, align 8, !tbaa !5
  %50 = call noundef i32 @_ZN5ImGui20DataTypeFormatStringEPciiPKvPKc(ptr noundef %46, i32 noundef 64, i32 noundef %47, ptr noundef %48, ptr noundef %49)
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #8
  store i8 0, ptr %21, align 1, !tbaa !45
  %51 = load i32, ptr %15, align 4, !tbaa !9
  %52 = and i32 %51, 131074
  %53 = icmp eq i32 %52, 0
  br i1 %53, label %54, label %57

54:                                               ; preds = %45
  %55 = load i32, ptr %15, align 4, !tbaa !9
  %56 = or i32 %55, 1
  store i32 %56, ptr %15, align 4, !tbaa !9
  br label %57

57:                                               ; preds = %54, %45
  %58 = load i32, ptr %15, align 4, !tbaa !9
  %59 = or i32 %58, 16
  store i32 %59, ptr %15, align 4, !tbaa !9
  %60 = load i32, ptr %15, align 4, !tbaa !9
  %61 = or i32 %60, 134217728
  store i32 %61, ptr %15, align 4, !tbaa !9
  %62 = load ptr, ptr %12, align 8, !tbaa !5
  %63 = icmp ne ptr %62, null
  br i1 %63, label %64, label %176

64:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  %65 = call noundef float @_ZN5ImGui14GetFrameHeightEv()
  store float %65, ptr %22, align 4, !tbaa !46
  call void @_ZN5ImGui10BeginGroupEv()
  %66 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN5ImGui6PushIDEPKc(ptr noundef %66)
  %67 = call noundef float @_ZN5ImGui13CalcItemWidthEv()
  %68 = load float, ptr %22, align 4, !tbaa !46
  %69 = load ptr, ptr %19, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.ImGuiStyle, ptr %69, i32 0, i32 16
  %71 = getelementptr inbounds %struct.ImVec2, ptr %70, i32 0, i32 0
  %72 = load float, ptr %71, align 4, !tbaa !47
  %73 = fadd float %68, %72
  %74 = fneg float %73
  %75 = call float @llvm.fmuladd.f32(float %74, float 2.000000e+00, float %67)
  %76 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 1.000000e+00, float noundef %75)
  call void @_ZN5ImGui16SetNextItemWidthEf(float noundef %76)
  %77 = getelementptr inbounds [64 x i8], ptr %20, i64 0, i64 0
  %78 = load i32, ptr %15, align 4, !tbaa !9
  %79 = call noundef zeroext i1 @_ZN5ImGui9InputTextEPKcPcmiPFiP26ImGuiInputTextCallbackDataEPv(ptr noundef @.str, ptr noundef %77, i64 noundef 64, i32 noundef %78, ptr noundef null, ptr noundef null)
  br i1 %79, label %80, label %87

80:                                               ; preds = %64
  %81 = getelementptr inbounds [64 x i8], ptr %20, i64 0, i64 0
  %82 = load i32, ptr %10, align 4, !tbaa !9
  %83 = load ptr, ptr %11, align 8, !tbaa !5
  %84 = load ptr, ptr %14, align 8, !tbaa !5
  %85 = call noundef zeroext i1 @_ZN5ImGui21DataTypeApplyFromTextEPKciPvS1_(ptr noundef %81, i32 noundef %82, ptr noundef %83, ptr noundef %84)
  %86 = zext i1 %85 to i8
  store i8 %86, ptr %21, align 1, !tbaa !45
  br label %87

87:                                               ; preds = %80, %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %88 = load ptr, ptr %19, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.ImGuiStyle, ptr %88, i32 0, i32 12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 4 %89, i64 8, i1 false), !tbaa.struct !49
  %90 = load ptr, ptr %19, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.ImGuiStyle, ptr %90, i32 0, i32 12
  %92 = getelementptr inbounds %struct.ImVec2, ptr %91, i32 0, i32 1
  %93 = load float, ptr %92, align 4, !tbaa !50
  %94 = load ptr, ptr %19, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.ImGuiStyle, ptr %94, i32 0, i32 12
  %96 = getelementptr inbounds %struct.ImVec2, ptr %95, i32 0, i32 0
  store float %93, ptr %96, align 4, !tbaa !51
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  store i32 9216, ptr %24, align 4, !tbaa !9
  %97 = load i32, ptr %15, align 4, !tbaa !9
  %98 = and i32 %97, 16384
  %99 = icmp ne i32 %98, 0
  br i1 %99, label %100, label %101

100:                                              ; preds = %87
  call void @_ZN5ImGui13BeginDisabledEb(i1 noundef zeroext true)
  br label %101

101:                                              ; preds = %100, %87
  %102 = load ptr, ptr %19, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.ImGuiStyle, ptr %102, i32 0, i32 16
  %104 = getelementptr inbounds %struct.ImVec2, ptr %103, i32 0, i32 0
  %105 = load float, ptr %104, align 4, !tbaa !47
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef %105)
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %106 = load float, ptr %22, align 4, !tbaa !46
  %107 = load float, ptr %22, align 4, !tbaa !46
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %25, float noundef %106, float noundef %107)
  %108 = load i32, ptr %24, align 4, !tbaa !9
  %109 = call noundef zeroext i1 @_ZN5ImGui8ButtonExEPKcRK6ImVec2i(ptr noundef @.str.52, ptr noundef nonnull align 4 dereferenceable(8) %25, i32 noundef %108)
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br i1 %109, label %110, label %128

110:                                              ; preds = %101
  %111 = load i32, ptr %10, align 4, !tbaa !9
  %112 = load ptr, ptr %11, align 8, !tbaa !5
  %113 = load ptr, ptr %11, align 8, !tbaa !5
  %114 = load ptr, ptr %18, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.ImGuiContext, ptr %114, i32 0, i32 3
  %116 = getelementptr inbounds %struct.ImGuiIO, ptr %115, i32 0, i32 56
  %117 = load i8, ptr %116, align 4, !tbaa !52, !range !40, !noundef !41
  %118 = trunc i8 %117 to i1
  br i1 %118, label %119, label %124

119:                                              ; preds = %110
  %120 = load ptr, ptr %13, align 8, !tbaa !5
  %121 = icmp ne ptr %120, null
  br i1 %121, label %122, label %124

122:                                              ; preds = %119
  %123 = load ptr, ptr %13, align 8, !tbaa !5
  br label %126

124:                                              ; preds = %119, %110
  %125 = load ptr, ptr %12, align 8, !tbaa !5
  br label %126

126:                                              ; preds = %124, %122
  %127 = phi ptr [ %123, %122 ], [ %125, %124 ]
  call void @_ZN5ImGui15DataTypeApplyOpEiiPvPKvS2_(i32 noundef %111, i32 noundef 45, ptr noundef %112, ptr noundef %113, ptr noundef %127)
  store i8 1, ptr %21, align 1, !tbaa !45
  br label %128

128:                                              ; preds = %126, %101
  %129 = load ptr, ptr %19, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.ImGuiStyle, ptr %129, i32 0, i32 16
  %131 = getelementptr inbounds %struct.ImVec2, ptr %130, i32 0, i32 0
  %132 = load float, ptr %131, align 4, !tbaa !47
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef %132)
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %133 = load float, ptr %22, align 4, !tbaa !46
  %134 = load float, ptr %22, align 4, !tbaa !46
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %26, float noundef %133, float noundef %134)
  %135 = load i32, ptr %24, align 4, !tbaa !9
  %136 = call noundef zeroext i1 @_ZN5ImGui8ButtonExEPKcRK6ImVec2i(ptr noundef @.str.53, ptr noundef nonnull align 4 dereferenceable(8) %26, i32 noundef %135)
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  br i1 %136, label %137, label %155

137:                                              ; preds = %128
  %138 = load i32, ptr %10, align 4, !tbaa !9
  %139 = load ptr, ptr %11, align 8, !tbaa !5
  %140 = load ptr, ptr %11, align 8, !tbaa !5
  %141 = load ptr, ptr %18, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.ImGuiContext, ptr %141, i32 0, i32 3
  %143 = getelementptr inbounds %struct.ImGuiIO, ptr %142, i32 0, i32 56
  %144 = load i8, ptr %143, align 4, !tbaa !52, !range !40, !noundef !41
  %145 = trunc i8 %144 to i1
  br i1 %145, label %146, label %151

146:                                              ; preds = %137
  %147 = load ptr, ptr %13, align 8, !tbaa !5
  %148 = icmp ne ptr %147, null
  br i1 %148, label %149, label %151

149:                                              ; preds = %146
  %150 = load ptr, ptr %13, align 8, !tbaa !5
  br label %153

151:                                              ; preds = %146, %137
  %152 = load ptr, ptr %12, align 8, !tbaa !5
  br label %153

153:                                              ; preds = %151, %149
  %154 = phi ptr [ %150, %149 ], [ %152, %151 ]
  call void @_ZN5ImGui15DataTypeApplyOpEiiPvPKvS2_(i32 noundef %138, i32 noundef 43, ptr noundef %139, ptr noundef %140, ptr noundef %154)
  store i8 1, ptr %21, align 1, !tbaa !45
  br label %155

155:                                              ; preds = %153, %128
  %156 = load i32, ptr %15, align 4, !tbaa !9
  %157 = and i32 %156, 16384
  %158 = icmp ne i32 %157, 0
  br i1 %158, label %159, label %160

159:                                              ; preds = %155
  call void @_ZN5ImGui11EndDisabledEv()
  br label %160

160:                                              ; preds = %159, %155
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %161 = load ptr, ptr %9, align 8, !tbaa !5
  %162 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %161, ptr noundef null)
  store ptr %162, ptr %27, align 8, !tbaa !5
  %163 = load ptr, ptr %9, align 8, !tbaa !5
  %164 = load ptr, ptr %27, align 8, !tbaa !5
  %165 = icmp ne ptr %163, %164
  br i1 %165, label %166, label %173

166:                                              ; preds = %160
  %167 = load ptr, ptr %19, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.ImGuiStyle, ptr %167, i32 0, i32 16
  %169 = getelementptr inbounds %struct.ImVec2, ptr %168, i32 0, i32 0
  %170 = load float, ptr %169, align 4, !tbaa !47
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef %170)
  %171 = load ptr, ptr %9, align 8, !tbaa !5
  %172 = load ptr, ptr %27, align 8, !tbaa !5
  call void @_ZN5ImGui6TextExEPKcS1_i(ptr noundef %171, ptr noundef %172, i32 noundef 0)
  br label %173

173:                                              ; preds = %166, %160
  %174 = load ptr, ptr %19, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.ImGuiStyle, ptr %174, i32 0, i32 12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %175, ptr align 4 %23, i64 8, i1 false), !tbaa.struct !49
  call void @_ZN5ImGui5PopIDEv()
  call void @_ZN5ImGui8EndGroupEv()
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %189

176:                                              ; preds = %57
  %177 = load ptr, ptr %9, align 8, !tbaa !5
  %178 = getelementptr inbounds [64 x i8], ptr %20, i64 0, i64 0
  %179 = load i32, ptr %15, align 4, !tbaa !9
  %180 = call noundef zeroext i1 @_ZN5ImGui9InputTextEPKcPcmiPFiP26ImGuiInputTextCallbackDataEPv(ptr noundef %177, ptr noundef %178, i64 noundef 64, i32 noundef %179, ptr noundef null, ptr noundef null)
  br i1 %180, label %181, label %188

181:                                              ; preds = %176
  %182 = getelementptr inbounds [64 x i8], ptr %20, i64 0, i64 0
  %183 = load i32, ptr %10, align 4, !tbaa !9
  %184 = load ptr, ptr %11, align 8, !tbaa !5
  %185 = load ptr, ptr %14, align 8, !tbaa !5
  %186 = call noundef zeroext i1 @_ZN5ImGui21DataTypeApplyFromTextEPKciPvS1_(ptr noundef %182, i32 noundef %183, ptr noundef %184, ptr noundef %185)
  %187 = zext i1 %186 to i8
  store i8 %187, ptr %21, align 1, !tbaa !45
  br label %188

188:                                              ; preds = %181, %176
  br label %189

189:                                              ; preds = %188, %173
  %190 = load i8, ptr %21, align 1, !tbaa !45, !range !40, !noundef !41
  %191 = trunc i8 %190 to i1
  br i1 %191, label %192, label %197

192:                                              ; preds = %189
  %193 = load ptr, ptr %18, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.ImGuiContext, ptr %193, i32 0, i32 74
  %195 = getelementptr inbounds %struct.ImGuiLastItemData, ptr %194, i32 0, i32 0
  %196 = load i32, ptr %195, align 8, !tbaa !99
  call void @_ZN5ImGui14MarkItemEditedEj(i32 noundef %196)
  br label %197

197:                                              ; preds = %192, %189
  %198 = load i8, ptr %21, align 1, !tbaa !45, !range !40, !noundef !41
  %199 = trunc i8 %198 to i1
  store i1 %199, ptr %8, align 1
  store i32 1, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %200

200:                                              ; preds = %197, %33
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  %201 = load i1, ptr %8, align 1
  ret i1 %201
}

declare void @_ZN5ImGui16SetNextItemWidthEf(float noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui9InputTextEPKcPcmiPFiP26ImGuiInputTextCallbackDataEPv(ptr noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef) #7

declare void @_ZN5ImGui13BeginDisabledEb(i1 noundef zeroext) #6

declare void @_ZN5ImGui11EndDisabledEv() #6

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress 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 #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, !15, i64 147}
!12 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !10, i64 8, !10, i64 12, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !14, i64 72, !14, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !13, i64 92, !13, i64 100, !13, i64 108, !13, i64 116, !13, i64 124, !13, i64 132, !15, i64 140, !15, i64 141, !15, i64 142, !15, i64 143, !15, i64 144, !15, i64 145, !15, i64 146, !15, i64 147, !15, i64 148, !15, i64 149, !15, i64 150, !15, i64 151, !15, i64 152, !7, i64 153, !16, i64 154, !16, i64 156, !16, i64 158, !16, i64 160, !10, i64 164, !7, i64 168, !7, i64 169, !7, i64 170, !15, i64 171, !10, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !7, i64 179, !10, i64 180, !10, i64 181, !10, i64 182, !13, i64 184, !13, i64 192, !17, i64 200, !18, i64 216, !24, i64 448, !24, i64 464, !24, i64 480, !24, i64 496, !24, i64 512, !24, i64 528, !24, i64 544, !25, i64 560, !25, i64 564, !10, i64 568, !14, i64 572, !14, i64 576, !26, i64 584, !28, i64 600, !14, i64 616, !10, i64 620, !6, i64 624, !29, i64 632, !6, i64 832, !6, i64 840, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !7, i64 888, !7, i64 896, !10, i64 928, !10, i64 932, !15, i64 936}
!13 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!18 = !{!"_ZTS19ImGuiWindowTempData", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !14, i64 56, !14, i64 60, !19, i64 64, !19, i64 68, !19, i64 72, !13, i64 76, !20, i64 84, !16, i64 88, !16, i64 90, !10, i64 92, !15, i64 96, !15, i64 97, !15, i64 98, !13, i64 100, !21, i64 108, !10, i64 136, !10, i64 140, !22, i64 144, !6, i64 160, !6, i64 168, !10, i64 176, !10, i64 180, !10, i64 184, !14, i64 188, !14, i64 192, !23, i64 200, !23, i64 216}
!19 = !{!"_ZTS6ImVec1", !14, i64 0}
!20 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!21 = !{!"_ZTS16ImGuiMenuColumns", !10, i64 0, !10, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !7, i64 18}
!22 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!23 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!24 = !{!"_ZTS6ImRect", !13, i64 0, !13, i64 8}
!25 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!26 = !{!"_ZTS12ImGuiStorage", !27, i64 0}
!27 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!29 = !{!"_ZTS10ImDrawList", !30, i64 0, !31, i64 16, !32, i64 32, !10, i64 48, !10, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !33, i64 88, !34, i64 104, !35, i64 120, !36, i64 136, !38, i64 168, !14, i64 192}
!30 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!36 = !{!"_ZTS15ImDrawCmdHeader", !37, i64 0, !6, i64 16, !10, i64 24}
!37 = !{!"_ZTS6ImVec4", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!38 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !39, i64 8}
!39 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!40 = !{i8 0, i8 2}
!41 = !{}
!42 = !{!43, !6, i64 16}
!43 = !{!"_ZTS17ImGuiDataTypeInfo", !44, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!44 = !{!"long", !7, i64 0}
!45 = !{!15, !15, i64 0}
!46 = !{!14, !14, i64 0}
!47 = !{!48, !14, i64 84}
!48 = !{!"_ZTS10ImGuiStyle", !14, i64 0, !14, i64 4, !13, i64 8, !14, i64 16, !14, i64 20, !13, i64 24, !13, i64 32, !10, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !14, i64 56, !13, i64 60, !14, i64 68, !14, i64 72, !13, i64 76, !13, i64 84, !13, i64 92, !13, i64 100, !14, i64 108, !14, i64 112, !14, i64 116, !14, i64 120, !14, i64 124, !14, i64 128, !14, i64 132, !14, i64 136, !14, i64 140, !14, i64 144, !10, i64 148, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !14, i64 184, !15, i64 188, !15, i64 189, !15, i64 190, !14, i64 192, !14, i64 196, !7, i64 200}
!49 = !{i64 0, i64 4, !46, i64 4, i64 4, !46}
!50 = !{!48, !14, i64 64}
!51 = !{!48, !14, i64 60}
!52 = !{!53, !15, i64 3364}
!53 = !{!"_ZTS12ImGuiContext", !15, i64 0, !15, i64 1, !54, i64 8, !55, i64 14168, !55, i64 14184, !48, i64 14200, !6, i64 15248, !14, i64 15256, !14, i64 15260, !56, i64 15264, !57, i64 15776, !10, i64 15784, !10, i64 15788, !10, i64 15792, !15, i64 15796, !15, i64 15797, !15, i64 15798, !15, i64 15799, !15, i64 15800, !6, i64 15808, !22, i64 15816, !22, i64 15832, !22, i64 15848, !58, i64 15864, !26, i64 15880, !10, i64 15896, !13, i64 15900, !6, i64 15912, !6, i64 15920, !6, i64 15928, !6, i64 15936, !6, i64 15944, !13, i64 15952, !14, i64 15960, !10, i64 15964, !10, i64 15968, !10, i64 15972, !15, i64 15976, !15, i64 15977, !15, i64 15978, !15, i64 15979, !14, i64 15980, !14, i64 15984, !10, i64 15988, !10, i64 15992, !14, i64 15996, !15, i64 16000, !15, i64 16001, !15, i64 16002, !15, i64 16003, !15, i64 16004, !15, i64 16005, !15, i64 16006, !10, i64 16008, !10, i64 16012, !59, i64 16016, !13, i64 16036, !6, i64 16048, !60, i64 16056, !10, i64 16060, !10, i64 16064, !15, i64 16068, !15, i64 16069, !6, i64 16072, !10, i64 16080, !14, i64 16084, !10, i64 16088, !61, i64 16092, !62, i64 16112, !63, i64 16176, !64, i64 16288, !65, i64 16304, !66, i64 16320, !17, i64 16336, !67, i64 16352, !68, i64 16368, !69, i64 16384, !69, i64 16400, !10, i64 16416, !70, i64 16424, !6, i64 16440, !10, i64 16448, !10, i64 16452, !10, i64 16456, !10, i64 16460, !10, i64 16464, !10, i64 16468, !10, i64 16472, !10, i64 16476, !10, i64 16480, !10, i64 16484, !10, i64 16488, !10, i64 16492, !60, i64 16496, !20, i64 16500, !15, i64 16504, !15, i64 16505, !15, i64 16506, !15, i64 16507, !15, i64 16508, !15, i64 16509, !15, i64 16510, !10, i64 16512, !24, i64 16516, !15, i64 16532, !15, i64 16533, !15, i64 16534, !10, i64 16536, !10, i64 16540, !10, i64 16544, !10, i64 16548, !10, i64 16552, !10, i64 16556, !24, i64 16560, !24, i64 16576, !10, i64 16592, !10, i64 16596, !10, i64 16600, !71, i64 16608, !71, i64 16656, !71, i64 16704, !71, i64 16752, !6, i64 16800, !6, i64 16808, !6, i64 16816, !14, i64 16824, !14, i64 16828, !15, i64 16832, !14, i64 16836, !10, i64 16840, !15, i64 16844, !15, i64 16845, !15, i64 16846, !10, i64 16848, !10, i64 16852, !10, i64 16856, !72, i64 16864, !24, i64 16928, !10, i64 16944, !10, i64 16948, !14, i64 16952, !10, i64 16956, !10, i64 16960, !10, i64 16964, !10, i64 16968, !73, i64 16976, !7, i64 16992, !10, i64 17008, !74, i64 17016, !6, i64 17032, !10, i64 17040, !75, i64 17048, !76, i64 17064, !23, i64 17104, !39, i64 17120, !6, i64 17136, !78, i64 17144, !80, i64 17184, !81, i64 17200, !13, i64 17216, !82, i64 17224, !86, i64 20944, !10, i64 21056, !10, i64 21060, !14, i64 21064, !14, i64 21068, !10, i64 21072, !37, i64 21076, !88, i64 21092, !14, i64 21140, !15, i64 21144, !15, i64 21145, !14, i64 21148, !14, i64 21152, !14, i64 21156, !14, i64 21160, !16, i64 21164, !16, i64 21166, !14, i64 21168, !83, i64 21176, !17, i64 21192, !89, i64 21208, !89, i64 21224, !7, i64 21240, !15, i64 21241, !14, i64 21244, !90, i64 21248, !91, i64 21264, !92, i64 21280, !93, i64 21296, !94, i64 21312, !10, i64 21328, !15, i64 21332, !95, i64 21336, !6, i64 21344, !90, i64 21352, !6, i64 21368, !6, i64 21376, !14, i64 21384, !15, i64 21388, !10, i64 21392, !10, i64 21396, !10, i64 21400, !15, i64 21404, !10, i64 21408, !96, i64 21412, !97, i64 21432, !7, i64 21464, !10, i64 21944, !10, i64 21948, !14, i64 21952, !10, i64 21956, !10, i64 21960, !10, i64 21964, !7, i64 21968}
!54 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !13, i64 8, !14, i64 16, !14, i64 20, !6, i64 24, !6, i64 32, !14, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !14, i64 56, !6, i64 64, !6, i64 72, !14, i64 80, !15, i64 84, !6, i64 88, !13, i64 96, !15, i64 104, !15, i64 105, !15, i64 106, !15, i64 107, !15, i64 108, !15, i64 109, !15, i64 110, !14, i64 112, !6, i64 120, !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, !15, i64 200, !15, i64 201, !15, i64 202, !15, i64 203, !15, i64 204, !15, i64 205, !15, i64 206, !14, i64 208, !10, i64 212, !10, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !13, i64 232, !7, i64 240, !7, i64 2820, !13, i64 3332, !7, i64 3340, !14, i64 3348, !14, i64 3352, !15, i64 3356, !15, i64 3357, !15, i64 3358, !15, i64 3359, !7, i64 3360, !10, i64 3440, !10, i64 3444, !7, i64 3448, !15, i64 13768, !13, i64 13772, !7, i64 13780, !7, i64 13824, !7, i64 13864, !7, i64 13869, !7, i64 13874, !7, i64 13884, !7, i64 13894, !7, i64 13899, !7, i64 13904, !7, i64 13912, !7, i64 13932, !7, i64 13952, !7, i64 13972, !7, i64 14052, !14, i64 14132, !15, i64 14136, !7, i64 14137, !15, i64 14138, !16, i64 14140, !31, i64 14144}
!55 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !10, i64 0, !10, i64 4, !6, i64 8}
!56 = !{!"_ZTS20ImDrawListSharedData", !13, i64 0, !6, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !37, i64 28, !10, i64 44, !7, i64 48, !14, i64 432, !7, i64 436, !6, i64 504}
!57 = !{!"double", !7, i64 0}
!58 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!59 = !{!"_ZTS10ImBitArrayILi133ELin512EE", !7, i64 0}
!60 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!61 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !14, i64 4, !10, i64 8, !10, i64 12, !15, i64 16}
!62 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !24, i64 12, !24, i64 28, !24, i64 44}
!63 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !15, i64 56, !24, i64 60, !6, i64 80, !6, i64 88, !14, i64 96, !13, i64 100}
!64 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!66 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!67 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!68 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!69 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!70 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !6, i64 8}
!71 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !10, i64 8, !10, i64 12, !24, i64 16, !10, i64 32, !14, i64 36, !14, i64 40, !14, i64 44}
!72 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !15, i64 57, !15, i64 58}
!73 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!74 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!75 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!76 = !{!"_ZTS6ImPoolI10ImGuiTableE", !77, i64 0, !26, i64 16, !10, i64 32, !10, i64 36}
!77 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!78 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !79, i64 0, !26, i64 16, !10, i64 32, !10, i64 36}
!79 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!80 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!81 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!82 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !31, i64 16, !83, i64 32, !83, i64 48, !15, i64 64, !10, i64 68, !14, i64 72, !84, i64 76, !14, i64 3704, !15, i64 3708, !15, i64 3709, !15, i64 3710, !10, i64 3712}
!83 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!84 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 12, !10, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !14, i64 28, !85, i64 32}
!85 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !10, i64 3588, !10, i64 3592}
!86 = !{!"_ZTS6ImFont", !23, i64 0, !14, i64 16, !14, i64 20, !31, i64 24, !87, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !15, i64 88, !14, i64 92, !14, i64 96, !14, i64 100, !10, i64 104, !7, i64 108}
!87 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!88 = !{!"_ZTS21ImGuiComboPreviewData", !24, i64 0, !13, i64 16, !13, i64 24, !13, i64 32, !14, i64 40, !10, i64 44}
!89 = !{!"_ZTS20ImGuiPlatformImeData", !15, i64 0, !13, i64 4, !14, i64 12}
!90 = !{!"_ZTS15ImGuiTextBuffer", !83, i64 0}
!91 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!92 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !83, i64 0}
!93 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !83, i64 0}
!94 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!95 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!96 = !{!"_ZTS18ImGuiMetricsConfig", !15, i64 0, !15, i64 1, !15, i64 2, !15, i64 3, !15, i64 4, !15, i64 5, !10, i64 8, !10, i64 12}
!97 = !{!"_ZTS14ImGuiStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !98, i64 16}
!98 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !6, i64 8}
!99 = !{!53, !10, i64 16112}


; 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
@.str = external hidden unnamed_addr constant [1 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

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

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

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

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

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

declare noundef float @_ZN5ImGui13CalcItemWidthEv() local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui8ButtonExEPKcRK6ImVec2i(ptr noundef, ptr noundef nonnull align 4 dereferenceable(8), i32 noundef) local_unnamed_addr #0

declare noundef float @_ZN5ImGui14GetFrameHeightEv() local_unnamed_addr #5

declare void @_ZN5ImGui5PopIDEv() local_unnamed_addr #5

declare void @_ZN5ImGui14MarkItemEditedEj(i32 noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui15DataTypeGetInfoEi(i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5ImGui20DataTypeFormatStringEPciiPKvPKc(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui15DataTypeApplyOpEiiPvPKvS2_(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui21DataTypeApplyFromTextEPKciPvS1_(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #6

declare void @_ZN5ImGui10BeginGroupEv() local_unnamed_addr #5

declare void @_ZN5ImGui6PushIDEPKc(ptr noundef) local_unnamed_addr #5

declare noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef, ptr noundef) local_unnamed_addr #5

declare void @_ZN5ImGui8EndGroupEv() local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui11InputScalarEPKciPvPKvS4_S1_i(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6) local_unnamed_addr #6 {
  %8 = alloca [64 x i8], align 16
  %9 = alloca %struct.ImVec2, align 4
  %10 = alloca %struct.ImVec2, align 4
  %11 = tail call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  %12 = getelementptr inbounds i8, ptr %11, i64 147
  %13 = load i8, ptr %12, align 1, !tbaa !5, !range !38, !noundef !39
  %14 = trunc nuw i8 %13 to i1
  br i1 %14, label %79, label %15

15:                                               ; preds = %7
  %16 = load ptr, ptr @GImGui, align 8, !tbaa !40
  %17 = icmp eq ptr %5, null
  br i1 %17, label %18, label %22

18:                                               ; preds = %15
  %19 = tail call noundef ptr @_ZN5ImGui15DataTypeGetInfoEi(i32 noundef %1)
  %20 = getelementptr inbounds i8, ptr %19, i64 16
  %21 = load ptr, ptr %20, align 8, !tbaa !41
  br label %22

22:                                               ; preds = %18, %15
  %.064 = phi ptr [ %21, %18 ], [ %5, %15 ]
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #7
  %23 = call noundef i32 @_ZN5ImGui20DataTypeFormatStringEPciiPKvPKc(ptr noundef nonnull %8, i32 noundef 64, i32 noundef %1, ptr noundef %2, ptr noundef %.064)
  %24 = and i32 %6, 131074
  %25 = icmp eq i32 %24, 0
  %26 = zext i1 %25 to i32
  %spec.select = or i32 %26, %6
  %27 = or i32 %spec.select, 134217744
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %72, label %28

28:                                               ; preds = %22
  %29 = call noundef float @_ZN5ImGui14GetFrameHeightEv()
  call void @_ZN5ImGui10BeginGroupEv()
  call void @_ZN5ImGui6PushIDEPKc(ptr noundef %0)
  %30 = call noundef float @_ZN5ImGui13CalcItemWidthEv()
  %31 = getelementptr inbounds i8, ptr %16, i64 14284
  %32 = load float, ptr %31, align 4, !tbaa !44
  %33 = fadd float %29, %32
  %34 = fneg float %33
  %35 = call float @llvm.fmuladd.f32(float %34, float 2.000000e+00, float %30)
  %36 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 1.000000e+00, float noundef %35)
  call void @_ZN5ImGui16SetNextItemWidthEf(float noundef %36)
  %37 = call noundef zeroext i1 @_ZN5ImGui9InputTextEPKcPcmiPFiP26ImGuiInputTextCallbackDataEPv(ptr noundef nonnull @.str, ptr noundef nonnull %8, i64 noundef 64, i32 noundef %27, ptr noundef null, ptr noundef null)
  br i1 %37, label %38, label %40

38:                                               ; preds = %28
  %39 = call noundef zeroext i1 @_ZN5ImGui21DataTypeApplyFromTextEPKciPvS1_(ptr noundef nonnull %8, i32 noundef %1, ptr noundef %2, ptr noundef %.064)
  br label %40

40:                                               ; preds = %38, %28
  %.066 = phi i1 [ %39, %38 ], [ false, %28 ]
  %41 = getelementptr inbounds i8, ptr %16, i64 14260
  %42 = load i64, ptr %41, align 4
  %43 = lshr i64 %42, 32
  %44 = trunc nuw i64 %43 to i32
  store i32 %44, ptr %41, align 4, !tbaa !46
  %45 = and i32 %6, 16384
  %.not71 = icmp eq i32 %45, 0
  br i1 %.not71, label %47, label %46

46:                                               ; preds = %40
  call void @_ZN5ImGui13BeginDisabledEb(i1 noundef zeroext true)
  br label %47

47:                                               ; preds = %46, %40
  %48 = load float, ptr %31, align 4, !tbaa !44
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef %48)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %29, float noundef %29)
  %49 = call noundef zeroext i1 @_ZN5ImGui8ButtonExEPKcRK6ImVec2i(ptr noundef nonnull @.str.52, ptr noundef nonnull align 4 dereferenceable(8) %9, i32 noundef 9216)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br i1 %49, label %50, label %56

50:                                               ; preds = %47
  %51 = getelementptr inbounds i8, ptr %16, i64 3364
  %52 = load i8, ptr %51, align 4, !tbaa !47, !range !38, !noundef !39
  %53 = trunc nuw i8 %52 to i1
  %54 = icmp ne ptr %4, null
  %or.cond = and i1 %54, %53
  %55 = select i1 %or.cond, ptr %4, ptr %3
  call void @_ZN5ImGui15DataTypeApplyOpEiiPvPKvS2_(i32 noundef %1, i32 noundef 45, ptr noundef %2, ptr noundef %2, ptr noundef %55)
  br label %56

56:                                               ; preds = %50, %47
  %.1 = phi i1 [ true, %50 ], [ %.066, %47 ]
  %57 = load float, ptr %31, align 4, !tbaa !44
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef %57)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef %29, float noundef %29)
  %58 = call noundef zeroext i1 @_ZN5ImGui8ButtonExEPKcRK6ImVec2i(ptr noundef nonnull @.str.53, ptr noundef nonnull align 4 dereferenceable(8) %10, i32 noundef 9216)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  br i1 %58, label %59, label %65

59:                                               ; preds = %56
  %60 = getelementptr inbounds i8, ptr %16, i64 3364
  %61 = load i8, ptr %60, align 4, !tbaa !47, !range !38, !noundef !39
  %62 = trunc nuw i8 %61 to i1
  %63 = icmp ne ptr %4, null
  %or.cond3 = and i1 %63, %62
  %64 = select i1 %or.cond3, ptr %4, ptr %3
  call void @_ZN5ImGui15DataTypeApplyOpEiiPvPKvS2_(i32 noundef %1, i32 noundef 43, ptr noundef %2, ptr noundef %2, ptr noundef %64)
  br label %65

65:                                               ; preds = %59, %56
  %.2 = phi i1 [ true, %59 ], [ %.1, %56 ]
  br i1 %.not71, label %67, label %66

66:                                               ; preds = %65
  call void @_ZN5ImGui11EndDisabledEv()
  br label %67

67:                                               ; preds = %66, %65
  %68 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %0, ptr noundef null)
  %.not72 = icmp eq ptr %68, %0
  br i1 %.not72, label %71, label %69

69:                                               ; preds = %67
  %70 = load float, ptr %31, align 4, !tbaa !44
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef %70)
  call void @_ZN5ImGui6TextExEPKcS1_i(ptr noundef %0, ptr noundef %68, i32 noundef 0)
  br label %71

71:                                               ; preds = %69, %67
  store i64 %42, ptr %41, align 4
  call void @_ZN5ImGui5PopIDEv()
  call void @_ZN5ImGui8EndGroupEv()
  br i1 %.2, label %76, label %.thread

72:                                               ; preds = %22
  %73 = call noundef zeroext i1 @_ZN5ImGui9InputTextEPKcPcmiPFiP26ImGuiInputTextCallbackDataEPv(ptr noundef %0, ptr noundef nonnull %8, i64 noundef 64, i32 noundef %27, ptr noundef null, ptr noundef null)
  br i1 %73, label %74, label %.thread

74:                                               ; preds = %72
  %75 = call noundef zeroext i1 @_ZN5ImGui21DataTypeApplyFromTextEPKciPvS1_(ptr noundef nonnull %8, i32 noundef %1, ptr noundef %2, ptr noundef %.064)
  br i1 %75, label %76, label %.thread

76:                                               ; preds = %71, %74
  %77 = getelementptr inbounds i8, ptr %16, i64 16112
  %78 = load i32, ptr %77, align 8, !tbaa !94
  call void @_ZN5ImGui14MarkItemEditedEj(i32 noundef %78)
  br label %.thread

.thread:                                          ; preds = %72, %71, %76, %74
  %.374 = phi i1 [ true, %76 ], [ false, %74 ], [ false, %71 ], [ false, %72 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #7
  br label %79

79:                                               ; preds = %7, %.thread
  %.0 = phi i1 [ %.374, %.thread ], [ false, %7 ]
  ret i1 %.0
}

declare void @_ZN5ImGui16SetNextItemWidthEf(float noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui9InputTextEPKcPcmiPFiP26ImGuiInputTextCallbackDataEPv(ptr noundef, ptr noundef, i64 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #6

declare void @_ZN5ImGui13BeginDisabledEb(i1 noundef zeroext) local_unnamed_addr #5

declare void @_ZN5ImGui11EndDisabledEv() local_unnamed_addr #5

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress 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 147}
!6 = !{!"_ZTS11ImGuiWindow", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !12, i64 72, !12, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !11, i64 92, !11, i64 100, !11, i64 108, !11, i64 116, !11, i64 124, !11, i64 132, !13, i64 140, !13, i64 141, !13, i64 142, !13, i64 143, !13, i64 144, !13, i64 145, !13, i64 146, !13, i64 147, !13, i64 148, !13, i64 149, !13, i64 150, !13, i64 151, !13, i64 152, !8, i64 153, !14, i64 154, !14, i64 156, !14, i64 158, !14, i64 160, !10, i64 164, !8, i64 168, !8, i64 169, !8, i64 170, !13, i64 171, !10, i64 172, !8, i64 176, !8, i64 177, !8, i64 178, !8, i64 179, !10, i64 180, !10, i64 181, !10, i64 182, !11, i64 184, !11, i64 192, !15, i64 200, !16, i64 216, !22, i64 448, !22, i64 464, !22, i64 480, !22, i64 496, !22, i64 512, !22, i64 528, !22, i64 544, !23, i64 560, !23, i64 564, !10, i64 568, !12, i64 572, !12, i64 576, !24, i64 584, !26, i64 600, !12, i64 616, !10, i64 620, !7, i64 624, !27, i64 632, !7, i64 832, !7, i64 840, !7, i64 848, !7, i64 856, !7, i64 864, !7, i64 872, !7, i64 880, !8, i64 888, !8, i64 896, !10, i64 928, !10, i64 932, !13, i64 936}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTS6ImVec2", !12, i64 0, !12, i64 4}
!12 = !{!"float", !8, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{!"short", !8, i64 0}
!15 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !7, i64 8}
!16 = !{!"_ZTS19ImGuiWindowTempData", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !12, i64 56, !12, i64 60, !17, i64 64, !17, i64 68, !17, i64 72, !11, i64 76, !18, i64 84, !14, i64 88, !14, i64 90, !10, i64 92, !13, i64 96, !13, i64 97, !13, i64 98, !11, i64 100, !19, i64 108, !10, i64 136, !10, i64 140, !20, i64 144, !7, i64 160, !7, i64 168, !10, i64 176, !10, i64 180, !10, i64 184, !12, i64 188, !12, i64 192, !21, i64 200, !21, i64 216}
!17 = !{!"_ZTS6ImVec1", !12, i64 0}
!18 = !{!"_ZTS13ImGuiNavLayer", !8, i64 0}
!19 = !{!"_ZTS16ImGuiMenuColumns", !10, i64 0, !10, i64 4, !14, i64 8, !14, i64 10, !14, i64 12, !14, i64 14, !14, i64 16, !8, i64 18}
!20 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !7, i64 8}
!21 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !7, i64 8}
!22 = !{!"_ZTS6ImRect", !11, i64 0, !11, i64 8}
!23 = !{!"_ZTS8ImVec2ih", !14, i64 0, !14, i64 2}
!24 = !{!"_ZTS12ImGuiStorage", !25, i64 0}
!25 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !7, i64 8}
!26 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !7, i64 8}
!27 = !{!"_ZTS10ImDrawList", !28, i64 0, !29, i64 16, !30, i64 32, !10, i64 48, !10, i64 52, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !31, i64 88, !32, i64 104, !33, i64 120, !34, i64 136, !36, i64 168, !12, i64 192}
!28 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !7, i64 8}
!29 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !7, i64 8}
!30 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !7, i64 8}
!31 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !7, i64 8}
!32 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !7, i64 8}
!33 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !7, i64 8}
!34 = !{!"_ZTS15ImDrawCmdHeader", !35, i64 0, !7, i64 16, !10, i64 24}
!35 = !{!"_ZTS6ImVec4", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!36 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !37, i64 8}
!37 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !7, i64 8}
!38 = !{i8 0, i8 2}
!39 = !{}
!40 = !{!7, !7, i64 0}
!41 = !{!42, !7, i64 16}
!42 = !{!"_ZTS17ImGuiDataTypeInfo", !43, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!43 = !{!"long", !8, i64 0}
!44 = !{!45, !12, i64 84}
!45 = !{!"_ZTS10ImGuiStyle", !12, i64 0, !12, i64 4, !11, i64 8, !12, i64 16, !12, i64 20, !11, i64 24, !11, i64 32, !10, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !11, i64 60, !12, i64 68, !12, i64 72, !11, i64 76, !11, i64 84, !11, i64 92, !11, i64 100, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !12, i64 136, !12, i64 140, !12, i64 144, !10, i64 148, !11, i64 152, !11, i64 160, !11, i64 168, !11, i64 176, !12, i64 184, !13, i64 188, !13, i64 189, !13, i64 190, !12, i64 192, !12, i64 196, !8, i64 200}
!46 = !{!45, !12, i64 60}
!47 = !{!48, !13, i64 3364}
!48 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !49, i64 8, !50, i64 14168, !50, i64 14184, !45, i64 14200, !7, i64 15248, !12, i64 15256, !12, i64 15260, !51, i64 15264, !52, i64 15776, !10, i64 15784, !10, i64 15788, !10, i64 15792, !13, i64 15796, !13, i64 15797, !13, i64 15798, !13, i64 15799, !13, i64 15800, !7, i64 15808, !20, i64 15816, !20, i64 15832, !20, i64 15848, !53, i64 15864, !24, i64 15880, !10, i64 15896, !11, i64 15900, !7, i64 15912, !7, i64 15920, !7, i64 15928, !7, i64 15936, !7, i64 15944, !11, i64 15952, !12, i64 15960, !10, i64 15964, !10, i64 15968, !10, i64 15972, !13, i64 15976, !13, i64 15977, !13, i64 15978, !13, i64 15979, !12, i64 15980, !12, i64 15984, !10, i64 15988, !10, i64 15992, !12, i64 15996, !13, i64 16000, !13, i64 16001, !13, i64 16002, !13, i64 16003, !13, i64 16004, !13, i64 16005, !13, i64 16006, !10, i64 16008, !10, i64 16012, !54, i64 16016, !11, i64 16036, !7, i64 16048, !55, i64 16056, !10, i64 16060, !10, i64 16064, !13, i64 16068, !13, i64 16069, !7, i64 16072, !10, i64 16080, !12, i64 16084, !10, i64 16088, !56, i64 16092, !57, i64 16112, !58, i64 16176, !59, i64 16288, !60, i64 16304, !61, i64 16320, !15, i64 16336, !62, i64 16352, !63, i64 16368, !64, i64 16384, !64, i64 16400, !10, i64 16416, !65, i64 16424, !7, i64 16440, !10, i64 16448, !10, i64 16452, !10, i64 16456, !10, i64 16460, !10, i64 16464, !10, i64 16468, !10, i64 16472, !10, i64 16476, !10, i64 16480, !10, i64 16484, !10, i64 16488, !10, i64 16492, !55, i64 16496, !18, i64 16500, !13, i64 16504, !13, i64 16505, !13, i64 16506, !13, i64 16507, !13, i64 16508, !13, i64 16509, !13, i64 16510, !10, i64 16512, !22, i64 16516, !13, i64 16532, !13, i64 16533, !13, i64 16534, !10, i64 16536, !10, i64 16540, !10, i64 16544, !10, i64 16548, !10, i64 16552, !10, i64 16556, !22, i64 16560, !22, i64 16576, !10, i64 16592, !10, i64 16596, !10, i64 16600, !66, i64 16608, !66, i64 16656, !66, i64 16704, !66, i64 16752, !7, i64 16800, !7, i64 16808, !7, i64 16816, !12, i64 16824, !12, i64 16828, !13, i64 16832, !12, i64 16836, !10, i64 16840, !13, i64 16844, !13, i64 16845, !13, i64 16846, !10, i64 16848, !10, i64 16852, !10, i64 16856, !67, i64 16864, !22, i64 16928, !10, i64 16944, !10, i64 16948, !12, i64 16952, !10, i64 16956, !10, i64 16960, !10, i64 16964, !10, i64 16968, !68, i64 16976, !8, i64 16992, !10, i64 17008, !69, i64 17016, !7, i64 17032, !10, i64 17040, !70, i64 17048, !71, i64 17064, !21, i64 17104, !37, i64 17120, !7, i64 17136, !73, i64 17144, !75, i64 17184, !76, i64 17200, !11, i64 17216, !77, i64 17224, !81, i64 20944, !10, i64 21056, !10, i64 21060, !12, i64 21064, !12, i64 21068, !10, i64 21072, !35, i64 21076, !83, i64 21092, !12, i64 21140, !13, i64 21144, !13, i64 21145, !12, i64 21148, !12, i64 21152, !12, i64 21156, !12, i64 21160, !14, i64 21164, !14, i64 21166, !12, i64 21168, !78, i64 21176, !15, i64 21192, !84, i64 21208, !84, i64 21224, !8, i64 21240, !13, i64 21241, !12, i64 21244, !85, i64 21248, !86, i64 21264, !87, i64 21280, !88, i64 21296, !89, i64 21312, !10, i64 21328, !13, i64 21332, !90, i64 21336, !7, i64 21344, !85, i64 21352, !7, i64 21368, !7, i64 21376, !12, i64 21384, !13, i64 21388, !10, i64 21392, !10, i64 21396, !10, i64 21400, !13, i64 21404, !10, i64 21408, !91, i64 21412, !92, i64 21432, !8, i64 21464, !10, i64 21944, !10, i64 21948, !12, i64 21952, !10, i64 21956, !10, i64 21960, !10, i64 21964, !8, i64 21968}
!49 = !{!"_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, !12, i64 52, !12, i64 56, !7, i64 64, !7, i64 72, !12, i64 80, !13, i64 84, !7, i64 88, !11, i64 96, !13, i64 104, !13, i64 105, !13, i64 106, !13, i64 107, !13, i64 108, !13, i64 109, !13, i64 110, !12, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !7, i64 176, !7, i64 184, !7, i64 192, !13, i64 200, !13, i64 201, !13, i64 202, !13, i64 203, !13, i64 204, !13, i64 205, !13, i64 206, !12, i64 208, !10, i64 212, !10, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !11, i64 232, !8, i64 240, !8, i64 2820, !11, i64 3332, !8, i64 3340, !12, i64 3348, !12, i64 3352, !13, i64 3356, !13, i64 3357, !13, i64 3358, !13, i64 3359, !8, i64 3360, !10, i64 3440, !10, i64 3444, !8, i64 3448, !13, i64 13768, !11, i64 13772, !8, i64 13780, !8, i64 13824, !8, i64 13864, !8, i64 13869, !8, i64 13874, !8, i64 13884, !8, i64 13894, !8, i64 13899, !8, i64 13904, !8, i64 13912, !8, i64 13932, !8, i64 13952, !8, i64 13972, !8, i64 14052, !12, i64 14132, !13, i64 14136, !8, i64 14137, !13, i64 14138, !14, i64 14140, !29, i64 14144}
!50 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !10, i64 0, !10, i64 4, !7, i64 8}
!51 = !{!"_ZTS20ImDrawListSharedData", !11, i64 0, !7, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !35, i64 28, !10, i64 44, !8, i64 48, !12, i64 432, !8, i64 436, !7, i64 504}
!52 = !{!"double", !8, i64 0}
!53 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!54 = !{!"_ZTS10ImBitArrayILi133ELin512EE", !8, i64 0}
!55 = !{!"_ZTS16ImGuiInputSource", !8, i64 0}
!56 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !12, i64 4, !10, i64 8, !10, i64 12, !13, i64 16}
!57 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !22, i64 12, !22, i64 28, !22, i64 44}
!58 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !13, i64 56, !22, i64 60, !7, i64 80, !7, i64 88, !12, i64 96, !11, i64 100}
!59 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !7, i64 8}
!60 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !7, i64 8}
!61 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !7, i64 8}
!62 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !7, i64 8}
!63 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!64 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!65 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !7, i64 8}
!66 = !{!"_ZTS16ImGuiNavItemData", !7, i64 0, !10, i64 8, !10, i64 12, !22, i64 16, !10, i64 32, !12, i64 36, !12, i64 40, !12, i64 44}
!67 = !{!"_ZTS12ImGuiPayload", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !8, i64 24, !13, i64 57, !13, i64 58}
!68 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !7, i64 8}
!69 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!70 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!71 = !{!"_ZTS6ImPoolI10ImGuiTableE", !72, i64 0, !24, i64 16, !10, i64 32, !10, i64 36}
!72 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !7, i64 8}
!73 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !74, i64 0, !24, i64 16, !10, i64 32, !10, i64 36}
!74 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !7, i64 8}
!75 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !7, i64 8}
!76 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !7, i64 8}
!77 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !29, i64 16, !78, i64 32, !78, i64 48, !13, i64 64, !10, i64 68, !12, i64 72, !79, i64 76, !12, i64 3704, !13, i64 3708, !13, i64 3709, !13, i64 3710, !10, i64 3712}
!78 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !7, i64 8}
!79 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !8, i64 12, !10, i64 16, !8, i64 20, !8, i64 21, !8, i64 22, !8, i64 23, !8, i64 24, !8, i64 25, !8, i64 26, !12, i64 28, !80, i64 32}
!80 = !{!"_ZTSN5ImStb12StbUndoStateE", !8, i64 0, !8, i64 1584, !14, i64 3582, !14, i64 3584, !10, i64 3588, !10, i64 3592}
!81 = !{!"_ZTS6ImFont", !21, i64 0, !12, i64 16, !12, i64 20, !29, i64 24, !82, i64 40, !7, i64 56, !7, i64 64, !7, i64 72, !14, i64 80, !14, i64 82, !14, i64 84, !14, i64 86, !13, i64 88, !12, i64 92, !12, i64 96, !12, i64 100, !10, i64 104, !8, i64 108}
!82 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !7, i64 8}
!83 = !{!"_ZTS21ImGuiComboPreviewData", !22, i64 0, !11, i64 16, !11, i64 24, !11, i64 32, !12, i64 40, !10, i64 44}
!84 = !{!"_ZTS20ImGuiPlatformImeData", !13, i64 0, !11, i64 4, !12, i64 12}
!85 = !{!"_ZTS15ImGuiTextBuffer", !78, i64 0}
!86 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !7, i64 8}
!87 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !78, i64 0}
!88 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !78, i64 0}
!89 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !7, i64 8}
!90 = !{!"_ZTS12ImGuiLogType", !8, i64 0}
!91 = !{!"_ZTS18ImGuiMetricsConfig", !13, i64 0, !13, i64 1, !13, i64 2, !13, i64 3, !13, i64 4, !13, i64 5, !10, i64 8, !10, i64 12}
!92 = !{!"_ZTS14ImGuiStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !93, i64 16}
!93 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !7, i64 8}
!94 = !{!48, !10, i64 16112}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass