; LLVM IR from vertver/Fresponze-old :: modules/imgui/imgui_widgets.ll (ZN5ImGui13DragIntRange2EPKcPiS2_fiiS1_S1_)

; 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.ImGuiWindow = type <{ ptr, i32, i32, %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, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i32, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, i32, float, float, [4 x i8], %struct.ImGuiStorage, %struct.ImVector.5, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i8, [3 x i8], i32, i32, [4 x i8] }>
%struct.ImVec2 = type { float, float }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiWindowTempData = type <{ %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, i32, i32, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.0, ptr, ptr, i32, i32, i32, i32, i32, float, float, [4 x i8], %struct.ImVector.1, %struct.ImVector.2, %struct.ImVector.2, %struct.ImVector.3, [6 x i16], [4 x i8] }>
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type { float, float, float, [3 x float], [3 x float] }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImGuiStorage = type { %struct.ImVector.4 }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImDrawList = type { %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, i32, ptr, ptr, i32, ptr, ptr, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImDrawCmd, %struct.ImDrawListSplitter }
%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.ImVector.10 = type { i32, i32, ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImDrawCmd = type { %struct.ImVec4, ptr, i32, i32, i32, ptr, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.12 }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImGuiContext = type <{ i8, i8, [6 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i32, [4 x i8], ptr, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImGuiStorage, i32, [4 x i8], ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i8, [3 x i8], i32, float, float, i32, i32, float, i8, i8, i8, i8, i8, [3 x i8], i32, i32, [4 x i8], i64, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, [2 x i8], ptr, i32, float, %struct.ImGuiNextWindowData, %struct.ImGuiNextItemData, [4 x i8], %struct.ImVector.13, %struct.ImVector.14, %struct.ImVector.15, %struct.ImVector.16, %struct.ImVector.16, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, [2 x i8], i32, i32, i32, i32, i32, i32, [4 x i8], %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, ptr, i32, [4 x i8], ptr, ptr, ptr, float, float, i8, [7 x i8], ptr, ptr, i32, i32, i32, i32, i8, [7 x i8], %struct.ImDrawData, %struct.ImDrawDataBuilder, float, [4 x i8], %struct.ImDrawList, %struct.ImDrawList, 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.18, [16 x i8], ptr, %struct.ImPool, %struct.ImVector.20, %struct.ImVector.21, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, [3 x float], %struct.ImVec4, i8, [3 x i8], float, float, float, i32, %struct.ImVector.22, %struct.ImVector, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.24, %struct.ImChunkStream, i8, [3 x i8], i32, ptr, %struct.ImGuiTextBuffer, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, [120 x float], i32, float, i32, i32, i32, [3073 x i8], [7 x i8] }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, [22 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, [512 x i8], [21 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, i32, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], [512 x float], [512 x float], [21 x float], [21 x float], float, i16, %struct.ImVector.7 }
%struct.ImGuiStyle = type { float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [48 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, [12 x %struct.ImVec2], [64 x i8], ptr }
%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.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 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.ImGuiNavMoveResult = type <{ ptr, i32, i32, float, float, float, %struct.ImRect, [4 x i8] }>
%struct.ImDrawData = type <{ i8, [7 x i8], ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, [4 x i8] }>
%struct.ImDrawDataBuilder = type { [2 x %struct.ImVector.17] }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImPool = type <{ %struct.ImVector.19, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector.7, %struct.ImVector.22, %struct.ImVector.22, i8, i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i32, ptr, ptr }
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, 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.2, float, float, %struct.ImVector.7, %struct.ImVector.23, ptr, %struct.ImVec2, ptr, ptr, i16, i16, i16, i8, i8, float, float, float, i32, [2 x i8], [6 x i8] }>
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.22 }
%struct.ImGuiTextBuffer = type { %struct.ImVector.22 }

@GImGui = external global ptr, align 8
@.str.31 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [6 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

declare noundef float @_ZN5ImGui13CalcItemWidthEv() #3

declare void @_ZN5ImGui5PopIDEv() #3

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

declare void @_ZN5ImGui10BeginGroupEv() #3

declare void @_ZN5ImGui6PushIDEPKc(ptr noundef) #3

declare void @_ZN5ImGui20PushMultiItemsWidthsEif(i32 noundef, float noundef) #3

declare void @_ZN5ImGui12PopItemWidthEv() #3

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

declare void @_ZN5ImGui8EndGroupEv() #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui7DragIntEPKcPifiiS1_(ptr noundef, ptr noundef, float noundef, i32 noundef, i32 noundef, ptr noundef) #4

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

29:                                               ; preds = %8
  store i1 false, ptr %9, align 1
  store i32 1, ptr %19, align 4
  br label %128

30:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %31 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %31, ptr %20, align 8, !tbaa !5
  %32 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN5ImGui6PushIDEPKc(ptr noundef %32)
  call void @_ZN5ImGui10BeginGroupEv()
  %33 = call noundef float @_ZN5ImGui13CalcItemWidthEv()
  call void @_ZN5ImGui20PushMultiItemsWidthsEif(i32 noundef 2, float noundef %33)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  %34 = load i32, ptr %14, align 4, !tbaa !11
  %35 = load i32, ptr %15, align 4, !tbaa !11
  %36 = icmp sge i32 %34, %35
  br i1 %36, label %37, label %38

37:                                               ; preds = %30
  br label %40

38:                                               ; preds = %30
  %39 = load i32, ptr %14, align 4, !tbaa !11
  br label %40

40:                                               ; preds = %38, %37
  %41 = phi i32 [ -2147483648, %37 ], [ %39, %38 ]
  store i32 %41, ptr %21, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  %42 = load i32, ptr %14, align 4, !tbaa !11
  %43 = load i32, ptr %15, align 4, !tbaa !11
  %44 = icmp sge i32 %42, %43
  br i1 %44, label %45, label %48

45:                                               ; preds = %40
  %46 = load ptr, ptr %12, align 8, !tbaa !5
  %47 = load i32, ptr %46, align 4, !tbaa !11
  br label %53

48:                                               ; preds = %40
  %49 = load i32, ptr %15, align 4, !tbaa !11
  %50 = load ptr, ptr %12, align 8, !tbaa !5
  %51 = load i32, ptr %50, align 4, !tbaa !11
  %52 = call noundef i32 @_ZL5ImMinIiET_S0_S0_(i32 noundef %49, i32 noundef %51)
  br label %53

53:                                               ; preds = %48, %45
  %54 = phi i32 [ %47, %45 ], [ %52, %48 ]
  store i32 %54, ptr %22, align 4, !tbaa !11
  %55 = load i32, ptr %21, align 4, !tbaa !11
  %56 = load i32, ptr %22, align 4, !tbaa !11
  %57 = icmp eq i32 %55, %56
  br i1 %57, label %58, label %59

58:                                               ; preds = %53
  store i32 2147483647, ptr %21, align 4, !tbaa !11
  store i32 -2147483648, ptr %22, align 4, !tbaa !11
  br label %59

59:                                               ; preds = %58, %53
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #5
  %60 = load ptr, ptr %11, align 8, !tbaa !5
  %61 = load float, ptr %13, align 4, !tbaa !9
  %62 = load i32, ptr %21, align 4, !tbaa !11
  %63 = load i32, ptr %22, align 4, !tbaa !11
  %64 = load ptr, ptr %16, align 8, !tbaa !5
  %65 = call noundef zeroext i1 @_ZN5ImGui7DragIntEPKcPifiiS1_(ptr noundef @.str.31, ptr noundef %60, float noundef %61, i32 noundef %62, i32 noundef %63, ptr noundef %64)
  %66 = zext i1 %65 to i8
  store i8 %66, ptr %23, align 1, !tbaa !44
  call void @_ZN5ImGui12PopItemWidthEv()
  %67 = load ptr, ptr %20, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.ImGuiContext, ptr %67, i32 0, i32 4
  %69 = getelementptr inbounds %struct.ImGuiStyle, ptr %68, i32 0, i32 15
  %70 = getelementptr inbounds %struct.ImVec2, ptr %69, i32 0, i32 0
  %71 = load float, ptr %70, align 8, !tbaa !45
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef %71)
  %72 = load i32, ptr %14, align 4, !tbaa !11
  %73 = load i32, ptr %15, align 4, !tbaa !11
  %74 = icmp sge i32 %72, %73
  br i1 %74, label %75, label %78

75:                                               ; preds = %59
  %76 = load ptr, ptr %11, align 8, !tbaa !5
  %77 = load i32, ptr %76, align 4, !tbaa !11
  br label %83

78:                                               ; preds = %59
  %79 = load i32, ptr %14, align 4, !tbaa !11
  %80 = load ptr, ptr %11, align 8, !tbaa !5
  %81 = load i32, ptr %80, align 4, !tbaa !11
  %82 = call noundef i32 @_ZL5ImMaxIiET_S0_S0_(i32 noundef %79, i32 noundef %81)
  br label %83

83:                                               ; preds = %78, %75
  %84 = phi i32 [ %77, %75 ], [ %82, %78 ]
  store i32 %84, ptr %21, align 4, !tbaa !11
  %85 = load i32, ptr %14, align 4, !tbaa !11
  %86 = load i32, ptr %15, align 4, !tbaa !11
  %87 = icmp sge i32 %85, %86
  br i1 %87, label %88, label %89

88:                                               ; preds = %83
  br label %91

89:                                               ; preds = %83
  %90 = load i32, ptr %15, align 4, !tbaa !11
  br label %91

91:                                               ; preds = %89, %88
  %92 = phi i32 [ 2147483647, %88 ], [ %90, %89 ]
  store i32 %92, ptr %22, align 4, !tbaa !11
  %93 = load i32, ptr %21, align 4, !tbaa !11
  %94 = load i32, ptr %22, align 4, !tbaa !11
  %95 = icmp eq i32 %93, %94
  br i1 %95, label %96, label %97

96:                                               ; preds = %91
  store i32 2147483647, ptr %21, align 4, !tbaa !11
  store i32 -2147483648, ptr %22, align 4, !tbaa !11
  br label %97

97:                                               ; preds = %96, %91
  %98 = load ptr, ptr %12, align 8, !tbaa !5
  %99 = load float, ptr %13, align 4, !tbaa !9
  %100 = load i32, ptr %21, align 4, !tbaa !11
  %101 = load i32, ptr %22, align 4, !tbaa !11
  %102 = load ptr, ptr %17, align 8, !tbaa !5
  %103 = icmp ne ptr %102, null
  br i1 %103, label %104, label %106

104:                                              ; preds = %97
  %105 = load ptr, ptr %17, align 8, !tbaa !5
  br label %108

106:                                              ; preds = %97
  %107 = load ptr, ptr %16, align 8, !tbaa !5
  br label %108

108:                                              ; preds = %106, %104
  %109 = phi ptr [ %105, %104 ], [ %107, %106 ]
  %110 = call noundef zeroext i1 @_ZN5ImGui7DragIntEPKcPifiiS1_(ptr noundef @.str.32, ptr noundef %98, float noundef %99, i32 noundef %100, i32 noundef %101, ptr noundef %109)
  %111 = zext i1 %110 to i32
  %112 = load i8, ptr %23, align 1, !tbaa !44, !range !42, !noundef !43
  %113 = trunc i8 %112 to i1
  %114 = zext i1 %113 to i32
  %115 = or i32 %114, %111
  %116 = icmp ne i32 %115, 0
  %117 = zext i1 %116 to i8
  store i8 %117, ptr %23, align 1, !tbaa !44
  call void @_ZN5ImGui12PopItemWidthEv()
  %118 = load ptr, ptr %20, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ImGuiContext, ptr %118, i32 0, i32 4
  %120 = getelementptr inbounds %struct.ImGuiStyle, ptr %119, i32 0, i32 15
  %121 = getelementptr inbounds %struct.ImVec2, ptr %120, i32 0, i32 0
  %122 = load float, ptr %121, align 8, !tbaa !45
  call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef %122)
  %123 = load ptr, ptr %10, align 8, !tbaa !5
  %124 = load ptr, ptr %10, align 8, !tbaa !5
  %125 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %124, ptr noundef null)
  call void @_ZN5ImGui6TextExEPKcS1_i(ptr noundef %123, ptr noundef %125, i32 noundef 0)
  call void @_ZN5ImGui8EndGroupEv()
  call void @_ZN5ImGui5PopIDEv()
  %126 = load i8, ptr %23, align 1, !tbaa !44, !range !42, !noundef !43
  %127 = trunc i8 %126 to i1
  store i1 %127, ptr %9, align 1
  store i32 1, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  br label %128

128:                                              ; preds = %108, %29
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  %129 = load i1, ptr %9, align 1
  ret i1 %129
}

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

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

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 = { "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 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 = { 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 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !16, i64 131}
!14 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !12, i64 8, !12, i64 12, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !15, i64 56, !10, i64 64, !10, i64 68, !12, i64 72, !12, i64 76, !12, i64 80, !15, i64 84, !15, i64 92, !15, i64 100, !15, i64 108, !15, i64 116, !16, i64 124, !16, i64 125, !16, i64 126, !16, i64 127, !16, i64 128, !16, i64 129, !16, i64 130, !16, i64 131, !16, i64 132, !16, i64 133, !16, i64 134, !16, i64 135, !7, i64 136, !17, i64 138, !17, i64 140, !17, i64 142, !12, i64 144, !7, i64 148, !7, i64 149, !7, i64 150, !16, i64 151, !12, i64 152, !12, i64 156, !12, i64 160, !12, i64 164, !12, i64 168, !12, i64 172, !15, i64 176, !15, i64 184, !18, i64 192, !19, i64 208, !21, i64 536, !21, i64 552, !21, i64 568, !21, i64 584, !21, i64 600, !21, i64 616, !12, i64 632, !10, i64 636, !10, i64 640, !28, i64 648, !30, i64 664, !10, i64 680, !12, i64 684, !6, i64 688, !31, i64 696, !6, i64 920, !6, i64 928, !6, i64 936, !6, i64 944, !6, i64 952, !7, i64 960, !7, i64 968, !16, i64 1000, !12, i64 1004, !12, i64 1008}
!15 = !{!"_ZTS6ImVec2", !10, i64 0, !10, i64 4}
!16 = !{!"bool", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTS8ImVectorIjE", !12, i64 0, !12, i64 4, !6, i64 8}
!19 = !{!"_ZTS19ImGuiWindowTempData", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !10, i64 48, !10, i64 52, !20, i64 56, !20, i64 60, !20, i64 64, !12, i64 68, !12, i64 72, !21, i64 76, !21, i64 92, !22, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !16, i64 128, !16, i64 129, !16, i64 130, !15, i64 132, !23, i64 140, !12, i64 176, !12, i64 180, !24, i64 184, !6, i64 200, !6, i64 208, !12, i64 216, !12, i64 220, !12, i64 224, !12, i64 228, !12, i64 232, !10, i64 236, !10, i64 240, !25, i64 248, !26, i64 264, !26, i64 280, !27, i64 296, !7, i64 312}
!20 = !{!"_ZTS6ImVec1", !10, i64 0}
!21 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!22 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!23 = !{!"_ZTS16ImGuiMenuColumns", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 12, !7, i64 24}
!24 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !12, i64 0, !12, i64 4, !6, i64 8}
!25 = !{!"_ZTS8ImVectorIiE", !12, i64 0, !12, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorIfE", !12, i64 0, !12, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !12, i64 0, !12, i64 4, !6, i64 8}
!28 = !{!"_ZTS12ImGuiStorage", !29, i64 0}
!29 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !12, i64 0, !12, i64 4, !6, i64 8}
!30 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !12, i64 0, !12, i64 4, !6, i64 8}
!31 = !{!"_ZTS10ImDrawList", !32, i64 0, !33, i64 16, !34, i64 32, !12, i64 48, !6, i64 56, !6, i64 64, !12, i64 72, !6, i64 80, !6, i64 88, !35, i64 96, !36, i64 112, !37, i64 128, !38, i64 144, !40, i64 200}
!32 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !12, i64 0, !12, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorItE", !12, i64 0, !12, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorI10ImDrawVertE", !12, i64 0, !12, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI6ImVec4E", !12, i64 0, !12, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorIPvE", !12, i64 0, !12, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI6ImVec2E", !12, i64 0, !12, i64 4, !6, i64 8}
!38 = !{!"_ZTS9ImDrawCmd", !39, i64 0, !6, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !6, i64 40, !6, i64 48}
!39 = !{!"_ZTS6ImVec4", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!40 = !{!"_ZTS18ImDrawListSplitter", !12, i64 0, !12, i64 4, !41, i64 8}
!41 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !12, i64 0, !12, i64 4, !6, i64 8}
!42 = !{i8 0, i8 2}
!43 = !{}
!44 = !{!16, !16, i64 0}
!45 = !{!46, !10, i64 5560}
!46 = !{!"_ZTS12ImGuiContext", !16, i64 0, !16, i64 1, !47, i64 8, !48, i64 5480, !6, i64 6432, !10, i64 6440, !10, i64 6444, !49, i64 6448, !50, i64 6664, !12, i64 6672, !12, i64 6676, !12, i64 6680, !16, i64 6684, !16, i64 6685, !16, i64 6686, !16, i64 6687, !12, i64 6688, !6, i64 6696, !24, i64 6704, !24, i64 6720, !24, i64 6736, !24, i64 6752, !28, i64 6768, !12, i64 6784, !6, i64 6792, !6, i64 6800, !6, i64 6808, !6, i64 6816, !6, i64 6824, !15, i64 6832, !10, i64 6840, !12, i64 6844, !16, i64 6848, !12, i64 6852, !10, i64 6856, !10, i64 6860, !12, i64 6864, !12, i64 6868, !10, i64 6872, !16, i64 6876, !16, i64 6877, !16, i64 6878, !16, i64 6879, !16, i64 6880, !12, i64 6884, !12, i64 6888, !51, i64 6896, !15, i64 6904, !6, i64 6912, !52, i64 6920, !12, i64 6924, !12, i64 6928, !16, i64 6932, !16, i64 6933, !6, i64 6936, !12, i64 6944, !10, i64 6948, !53, i64 6952, !54, i64 7064, !55, i64 7088, !56, i64 7104, !57, i64 7120, !58, i64 7136, !58, i64 7152, !6, i64 7168, !12, i64 7176, !12, i64 7180, !12, i64 7184, !12, i64 7188, !12, i64 7192, !12, i64 7196, !12, i64 7200, !12, i64 7204, !12, i64 7208, !12, i64 7212, !12, i64 7216, !52, i64 7220, !21, i64 7224, !12, i64 7240, !22, i64 7244, !12, i64 7248, !16, i64 7252, !16, i64 7253, !16, i64 7254, !16, i64 7255, !16, i64 7256, !16, i64 7257, !16, i64 7258, !12, i64 7260, !21, i64 7264, !16, i64 7280, !16, i64 7281, !12, i64 7284, !59, i64 7288, !12, i64 7292, !12, i64 7296, !12, i64 7300, !12, i64 7304, !60, i64 7312, !60, i64 7360, !60, i64 7408, !6, i64 7456, !12, i64 7464, !6, i64 7472, !6, i64 7480, !6, i64 7488, !10, i64 7496, !10, i64 7500, !16, i64 7504, !6, i64 7512, !6, i64 7520, !12, i64 7528, !12, i64 7532, !12, i64 7536, !12, i64 7540, !16, i64 7544, !61, i64 7552, !62, i64 7608, !10, i64 7640, !31, i64 7648, !31, i64 7872, !12, i64 8096, !16, i64 8100, !16, i64 8101, !16, i64 8102, !12, i64 8104, !12, i64 8108, !12, i64 8112, !63, i64 8120, !21, i64 8184, !12, i64 8200, !12, i64 8204, !10, i64 8208, !12, i64 8212, !12, i64 8216, !12, i64 8220, !12, i64 8224, !64, i64 8232, !7, i64 8248, !6, i64 8264, !65, i64 8272, !67, i64 8312, !68, i64 8328, !15, i64 8344, !69, i64 8352, !73, i64 12080, !12, i64 12200, !12, i64 12204, !10, i64 12208, !10, i64 12212, !7, i64 12216, !39, i64 12228, !16, i64 12244, !10, i64 12248, !10, i64 12252, !10, i64 12256, !12, i64 12260, !70, i64 12264, !18, i64 12280, !15, i64 12296, !15, i64 12304, !16, i64 12312, !10, i64 12316, !75, i64 12320, !76, i64 12336, !77, i64 12352, !16, i64 12368, !78, i64 12372, !6, i64 12376, !75, i64 12384, !10, i64 12400, !16, i64 12404, !12, i64 12408, !12, i64 12412, !12, i64 12416, !16, i64 12420, !12, i64 12424, !7, i64 12428, !12, i64 12908, !10, i64 12912, !12, i64 12916, !12, i64 12920, !12, i64 12924, !7, i64 12928}
!47 = !{!"_ZTS7ImGuiIO", !12, i64 0, !12, i64 4, !15, i64 8, !10, i64 16, !10, i64 20, !6, i64 24, !6, i64 32, !10, i64 40, !10, i64 44, !10, i64 48, !7, i64 52, !10, i64 140, !10, i64 144, !6, i64 152, !6, i64 160, !10, i64 168, !16, i64 172, !6, i64 176, !15, i64 184, !16, i64 192, !16, i64 193, !16, i64 194, !16, i64 195, !16, i64 196, !10, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !15, i64 296, !7, i64 304, !10, i64 312, !10, i64 316, !16, i64 320, !16, i64 321, !16, i64 322, !16, i64 323, !7, i64 324, !7, i64 836, !16, i64 920, !16, i64 921, !16, i64 922, !16, i64 923, !16, i64 924, !16, i64 925, !16, i64 926, !10, i64 928, !12, i64 932, !12, i64 936, !12, i64 940, !12, i64 944, !12, i64 948, !15, i64 952, !12, i64 960, !15, i64 964, !7, i64 972, !7, i64 1016, !7, i64 1056, !7, i64 1061, !7, i64 1066, !7, i64 1071, !7, i64 1076, !7, i64 1084, !7, i64 1104, !7, i64 1124, !7, i64 1164, !7, i64 1184, !7, i64 3232, !7, i64 5280, !7, i64 5364, !10, i64 5448, !17, i64 5452, !33, i64 5456}
!48 = !{!"_ZTS10ImGuiStyle", !10, i64 0, !15, i64 4, !10, i64 12, !10, i64 16, !15, i64 20, !15, i64 28, !12, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !15, i64 56, !10, i64 64, !10, i64 68, !15, i64 72, !15, i64 80, !15, i64 88, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !12, i64 132, !15, i64 136, !15, i64 144, !15, i64 152, !15, i64 160, !10, i64 168, !16, i64 172, !16, i64 173, !16, i64 174, !10, i64 176, !10, i64 180, !7, i64 184}
!49 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !39, i64 28, !12, i64 44, !7, i64 48, !7, i64 144, !6, i64 208}
!50 = !{!"double", !7, i64 0}
!51 = !{!"long long", !7, i64 0}
!52 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!53 = !{!"_ZTS19ImGuiNextWindowData", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !16, i64 56, !21, i64 60, !6, i64 80, !6, i64 88, !10, i64 96, !15, i64 100}
!54 = !{!"_ZTS17ImGuiNextItemData", !12, i64 0, !10, i64 4, !12, i64 8, !12, i64 12, !16, i64 16}
!55 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !12, i64 0, !12, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !12, i64 0, !12, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorIP6ImFontE", !12, i64 0, !12, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !12, i64 0, !12, i64 4, !6, i64 8}
!59 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!60 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !12, i64 8, !12, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !21, i64 28}
!61 = !{!"_ZTS10ImDrawData", !16, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !15, i64 28, !15, i64 36, !15, i64 44}
!62 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!63 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !7, i64 24, !16, i64 57, !16, i64 58}
!64 = !{!"_ZTS8ImVectorIhE", !12, i64 0, !12, i64 4, !6, i64 8}
!65 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !66, i64 0, !28, i64 16, !12, i64 32}
!66 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !12, i64 0, !12, i64 4, !6, i64 8}
!67 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !12, i64 0, !12, i64 4, !6, i64 8}
!68 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !12, i64 0, !12, i64 4, !6, i64 8}
!69 = !{!"_ZTS19ImGuiInputTextState", !12, i64 0, !12, i64 4, !12, i64 8, !33, i64 16, !70, i64 32, !70, i64 48, !16, i64 64, !12, i64 68, !10, i64 72, !71, i64 76, !10, i64 3696, !16, i64 3700, !16, i64 3701, !12, i64 3704, !6, i64 3712, !6, i64 3720}
!70 = !{!"_ZTS8ImVectorIcE", !12, i64 0, !12, i64 4, !6, i64 8}
!71 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !12, i64 0, !12, i64 4, !12, 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, !10, i64 20, !72, i64 24}
!72 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !17, i64 3582, !17, i64 3584, !12, i64 3588, !12, i64 3592}
!73 = !{!"_ZTS6ImFont", !26, i64 0, !10, i64 16, !10, i64 20, !33, i64 24, !74, i64 40, !6, i64 56, !15, i64 64, !6, i64 72, !6, i64 80, !17, i64 88, !17, i64 90, !17, i64 92, !16, i64 94, !10, i64 96, !10, i64 100, !10, i64 104, !12, i64 108, !7, i64 112}
!74 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !12, i64 0, !12, i64 4, !6, i64 8}
!75 = !{!"_ZTS15ImGuiTextBuffer", !70, i64 0}
!76 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !12, i64 0, !12, i64 4, !6, i64 8}
!77 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !70, i64 0}
!78 = !{!"_ZTS12ImGuiLogType", !7, i64 0}


; 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"

@GImGui = external local_unnamed_addr global ptr, align 8
@.str.31 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [6 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui16GetCurrentWindowEv() local_unnamed_addr #1

declare noundef float @_ZN5ImGui13CalcItemWidthEv() local_unnamed_addr #2

declare void @_ZN5ImGui5PopIDEv() local_unnamed_addr #2

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

declare void @_ZN5ImGui10BeginGroupEv() local_unnamed_addr #2

declare void @_ZN5ImGui6PushIDEPKc(ptr noundef) local_unnamed_addr #2

declare void @_ZN5ImGui20PushMultiItemsWidthsEif(i32 noundef, float noundef) local_unnamed_addr #2

declare void @_ZN5ImGui12PopItemWidthEv() local_unnamed_addr #2

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

declare void @_ZN5ImGui8EndGroupEv() local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui7DragIntEPKcPifiiS1_(ptr noundef, ptr noundef, float noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui13DragIntRange2EPKcPiS2_fiiS1_S1_(ptr noundef %0, ptr noundef %1, ptr noundef %2, float noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) local_unnamed_addr #3 {
  %9 = tail call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  %10 = getelementptr inbounds i8, ptr %9, i64 131
  %11 = load i8, ptr %10, align 1, !tbaa !5, !range !39, !noundef !40
  %12 = trunc nuw i8 %11 to i1
  br i1 %12, label %38, label %13

13:                                               ; preds = %8
  %14 = load ptr, ptr @GImGui, align 8, !tbaa !41
  tail call void @_ZN5ImGui6PushIDEPKc(ptr noundef %0)
  tail call void @_ZN5ImGui10BeginGroupEv()
  %15 = tail call noundef float @_ZN5ImGui13CalcItemWidthEv()
  tail call void @_ZN5ImGui20PushMultiItemsWidthsEif(i32 noundef 2, float noundef %15)
  %.not = icmp slt i32 %4, %5
  %16 = select i1 %.not, i32 %4, i32 -2147483648
  %17 = load i32, ptr %2, align 4, !tbaa !42
  br i1 %.not, label %18, label %20

18:                                               ; preds = %13
  %19 = tail call noundef i32 @_ZL5ImMinIiET_S0_S0_(i32 noundef %5, i32 noundef %17)
  br label %20

20:                                               ; preds = %13, %18
  %21 = phi i32 [ %19, %18 ], [ %17, %13 ]
  %22 = icmp eq i32 %16, %21
  %spec.select = select i1 %22, i32 2147483647, i32 %16
  %spec.select50 = select i1 %22, i32 -2147483648, i32 %21
  %23 = tail call noundef zeroext i1 @_ZN5ImGui7DragIntEPKcPifiiS1_(ptr noundef nonnull @.str.31, ptr noundef %1, float noundef %3, i32 noundef %spec.select, i32 noundef %spec.select50, ptr noundef %6)
  tail call void @_ZN5ImGui12PopItemWidthEv()
  %24 = getelementptr inbounds i8, ptr %14, i64 5560
  %25 = load float, ptr %24, align 8, !tbaa !43
  tail call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef %25)
  %26 = load i32, ptr %1, align 4, !tbaa !42
  br i1 %.not, label %27, label %29

27:                                               ; preds = %20
  %28 = tail call noundef i32 @_ZL5ImMaxIiET_S0_S0_(i32 noundef %4, i32 noundef %26)
  br label %29

29:                                               ; preds = %20, %27
  %30 = phi i32 [ %5, %27 ], [ 2147483647, %20 ]
  %31 = phi i32 [ %28, %27 ], [ %26, %20 ]
  %32 = icmp eq i32 %31, %30
  %spec.select51 = select i1 %32, i32 2147483647, i32 %31
  %spec.select52 = select i1 %32, i32 -2147483648, i32 %30
  %.not49 = icmp eq ptr %7, null
  %33 = select i1 %.not49, ptr %6, ptr %7
  %34 = tail call noundef zeroext i1 @_ZN5ImGui7DragIntEPKcPifiiS1_(ptr noundef nonnull @.str.32, ptr noundef nonnull %2, float noundef %3, i32 noundef %spec.select51, i32 noundef %spec.select52, ptr noundef %33)
  %35 = or i1 %23, %34
  tail call void @_ZN5ImGui12PopItemWidthEv()
  %36 = load float, ptr %24, align 8, !tbaa !43
  tail call void @_ZN5ImGui8SameLineEff(float noundef 0.000000e+00, float noundef %36)
  %37 = tail call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %0, ptr noundef null)
  tail call void @_ZN5ImGui6TextExEPKcS1_i(ptr noundef %0, ptr noundef %37, i32 noundef 0)
  tail call void @_ZN5ImGui8EndGroupEv()
  tail call void @_ZN5ImGui5PopIDEv()
  br label %38

38:                                               ; preds = %8, %29
  %.042 = phi i1 [ %35, %29 ], [ false, %8 ]
  ret i1 %.042
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL5ImMinIiET_S0_S0_(i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL5ImMaxIiET_S0_S0_(i32 noundef, i32 noundef) local_unnamed_addr #1

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 = { 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 #2 = { "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 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" }

!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 131}
!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, !12, i64 64, !12, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !11, i64 84, !11, i64 92, !11, i64 100, !11, i64 108, !11, i64 116, !13, i64 124, !13, i64 125, !13, i64 126, !13, i64 127, !13, i64 128, !13, i64 129, !13, i64 130, !13, i64 131, !13, i64 132, !13, i64 133, !13, i64 134, !13, i64 135, !8, i64 136, !14, i64 138, !14, i64 140, !14, i64 142, !10, i64 144, !8, i64 148, !8, i64 149, !8, i64 150, !13, i64 151, !10, i64 152, !10, i64 156, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !11, i64 176, !11, i64 184, !15, i64 192, !16, i64 208, !18, i64 536, !18, i64 552, !18, i64 568, !18, i64 584, !18, i64 600, !18, i64 616, !10, i64 632, !12, i64 636, !12, i64 640, !25, i64 648, !27, i64 664, !12, i64 680, !10, i64 684, !7, i64 688, !28, i64 696, !7, i64 920, !7, i64 928, !7, i64 936, !7, i64 944, !7, i64 952, !8, i64 960, !8, i64 968, !13, i64 1000, !10, i64 1004, !10, i64 1008}
!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, !12, i64 48, !12, i64 52, !17, i64 56, !17, i64 60, !17, i64 64, !10, i64 68, !10, i64 72, !18, i64 76, !18, i64 92, !19, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !13, i64 128, !13, i64 129, !13, i64 130, !11, i64 132, !20, i64 140, !10, i64 176, !10, i64 180, !21, i64 184, !7, i64 200, !7, i64 208, !10, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !12, i64 236, !12, i64 240, !22, i64 248, !23, i64 264, !23, i64 280, !24, i64 296, !8, i64 312}
!17 = !{!"_ZTS6ImVec1", !12, i64 0}
!18 = !{!"_ZTS6ImRect", !11, i64 0, !11, i64 8}
!19 = !{!"_ZTS13ImGuiNavLayer", !8, i64 0}
!20 = !{!"_ZTS16ImGuiMenuColumns", !12, i64 0, !12, i64 4, !12, i64 8, !8, i64 12, !8, i64 24}
!21 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !7, i64 8}
!22 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !7, i64 8}
!23 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !7, i64 8}
!24 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!25 = !{!"_ZTS12ImGuiStorage", !26, i64 0}
!26 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !7, i64 8}
!27 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !10, i64 0, !10, i64 4, !7, i64 8}
!28 = !{!"_ZTS10ImDrawList", !29, i64 0, !30, i64 16, !31, i64 32, !10, i64 48, !7, i64 56, !7, i64 64, !10, i64 72, !7, i64 80, !7, i64 88, !32, i64 96, !33, i64 112, !34, i64 128, !35, i64 144, !37, i64 200}
!29 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !7, i64 8}
!30 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !7, i64 8}
!31 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !7, i64 8}
!32 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !7, i64 8}
!33 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !7, i64 8}
!34 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !7, i64 8}
!35 = !{!"_ZTS9ImDrawCmd", !36, i64 0, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !7, i64 40, !7, i64 48}
!36 = !{!"_ZTS6ImVec4", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!37 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !38, i64 8}
!38 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !7, i64 8}
!39 = !{i8 0, i8 2}
!40 = !{}
!41 = !{!7, !7, i64 0}
!42 = !{!10, !10, i64 0}
!43 = !{!44, !12, i64 5560}
!44 = !{!"_ZTS12ImGuiContext", !13, i64 0, !13, i64 1, !45, i64 8, !46, i64 5480, !7, i64 6432, !12, i64 6440, !12, i64 6444, !47, i64 6448, !48, i64 6664, !10, i64 6672, !10, i64 6676, !10, i64 6680, !13, i64 6684, !13, i64 6685, !13, i64 6686, !13, i64 6687, !10, i64 6688, !7, i64 6696, !21, i64 6704, !21, i64 6720, !21, i64 6736, !21, i64 6752, !25, i64 6768, !10, i64 6784, !7, i64 6792, !7, i64 6800, !7, i64 6808, !7, i64 6816, !7, i64 6824, !11, i64 6832, !12, i64 6840, !10, i64 6844, !13, i64 6848, !10, i64 6852, !12, i64 6856, !12, i64 6860, !10, i64 6864, !10, i64 6868, !12, i64 6872, !13, i64 6876, !13, i64 6877, !13, i64 6878, !13, i64 6879, !13, i64 6880, !10, i64 6884, !10, i64 6888, !49, i64 6896, !11, i64 6904, !7, i64 6912, !50, i64 6920, !10, i64 6924, !10, i64 6928, !13, i64 6932, !13, i64 6933, !7, i64 6936, !10, i64 6944, !12, i64 6948, !51, i64 6952, !52, i64 7064, !53, i64 7088, !54, i64 7104, !55, i64 7120, !56, i64 7136, !56, i64 7152, !7, i64 7168, !10, i64 7176, !10, i64 7180, !10, i64 7184, !10, i64 7188, !10, i64 7192, !10, i64 7196, !10, i64 7200, !10, i64 7204, !10, i64 7208, !10, i64 7212, !10, i64 7216, !50, i64 7220, !18, i64 7224, !10, i64 7240, !19, i64 7244, !10, i64 7248, !13, i64 7252, !13, i64 7253, !13, i64 7254, !13, i64 7255, !13, i64 7256, !13, i64 7257, !13, i64 7258, !10, i64 7260, !18, i64 7264, !13, i64 7280, !13, i64 7281, !10, i64 7284, !57, i64 7288, !10, i64 7292, !10, i64 7296, !10, i64 7300, !10, i64 7304, !58, i64 7312, !58, i64 7360, !58, i64 7408, !7, i64 7456, !10, i64 7464, !7, i64 7472, !7, i64 7480, !7, i64 7488, !12, i64 7496, !12, i64 7500, !13, i64 7504, !7, i64 7512, !7, i64 7520, !10, i64 7528, !10, i64 7532, !10, i64 7536, !10, i64 7540, !13, i64 7544, !59, i64 7552, !60, i64 7608, !12, i64 7640, !28, i64 7648, !28, i64 7872, !10, i64 8096, !13, i64 8100, !13, i64 8101, !13, i64 8102, !10, i64 8104, !10, i64 8108, !10, i64 8112, !61, i64 8120, !18, i64 8184, !10, i64 8200, !10, i64 8204, !12, i64 8208, !10, i64 8212, !10, i64 8216, !10, i64 8220, !10, i64 8224, !62, i64 8232, !8, i64 8248, !7, i64 8264, !63, i64 8272, !65, i64 8312, !66, i64 8328, !11, i64 8344, !67, i64 8352, !71, i64 12080, !10, i64 12200, !10, i64 12204, !12, i64 12208, !12, i64 12212, !8, i64 12216, !36, i64 12228, !13, i64 12244, !12, i64 12248, !12, i64 12252, !12, i64 12256, !10, i64 12260, !68, i64 12264, !15, i64 12280, !11, i64 12296, !11, i64 12304, !13, i64 12312, !12, i64 12316, !73, i64 12320, !74, i64 12336, !75, i64 12352, !13, i64 12368, !76, i64 12372, !7, i64 12376, !73, i64 12384, !12, i64 12400, !13, i64 12404, !10, i64 12408, !10, i64 12412, !10, i64 12416, !13, i64 12420, !10, i64 12424, !8, i64 12428, !10, i64 12908, !12, i64 12912, !10, i64 12916, !10, i64 12920, !10, i64 12924, !8, i64 12928}
!45 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !11, i64 8, !12, i64 16, !12, i64 20, !7, i64 24, !7, i64 32, !12, i64 40, !12, i64 44, !12, i64 48, !8, i64 52, !12, i64 140, !12, i64 144, !7, i64 152, !7, i64 160, !12, i64 168, !13, i64 172, !7, i64 176, !11, i64 184, !13, i64 192, !13, i64 193, !13, i64 194, !13, i64 195, !13, i64 196, !12, i64 200, !7, i64 208, !7, i64 216, !7, i64 224, !7, i64 232, !7, i64 240, !7, i64 248, !7, i64 256, !7, i64 264, !7, i64 272, !7, i64 280, !7, i64 288, !11, i64 296, !8, i64 304, !12, i64 312, !12, i64 316, !13, i64 320, !13, i64 321, !13, i64 322, !13, i64 323, !8, i64 324, !8, i64 836, !13, i64 920, !13, i64 921, !13, i64 922, !13, i64 923, !13, i64 924, !13, i64 925, !13, i64 926, !12, i64 928, !10, i64 932, !10, i64 936, !10, i64 940, !10, i64 944, !10, i64 948, !11, i64 952, !10, i64 960, !11, i64 964, !8, i64 972, !8, i64 1016, !8, i64 1056, !8, i64 1061, !8, i64 1066, !8, i64 1071, !8, i64 1076, !8, i64 1084, !8, i64 1104, !8, i64 1124, !8, i64 1164, !8, i64 1184, !8, i64 3232, !8, i64 5280, !8, i64 5364, !12, i64 5448, !14, i64 5452, !30, i64 5456}
!46 = !{!"_ZTS10ImGuiStyle", !12, i64 0, !11, i64 4, !12, i64 12, !12, i64 16, !11, i64 20, !11, i64 28, !10, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !11, i64 56, !12, i64 64, !12, i64 68, !11, i64 72, !11, i64 80, !11, i64 88, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !10, i64 132, !11, i64 136, !11, i64 144, !11, i64 152, !11, i64 160, !12, i64 168, !13, i64 172, !13, i64 173, !13, i64 174, !12, i64 176, !12, i64 180, !8, i64 184}
!47 = !{!"_ZTS20ImDrawListSharedData", !11, i64 0, !7, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !36, i64 28, !10, i64 44, !8, i64 48, !8, i64 144, !7, i64 208}
!48 = !{!"double", !8, i64 0}
!49 = !{!"long long", !8, i64 0}
!50 = !{!"_ZTS16ImGuiInputSource", !8, i64 0}
!51 = !{!"_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, !18, i64 60, !7, i64 80, !7, i64 88, !12, i64 96, !11, i64 100}
!52 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !12, i64 4, !10, i64 8, !10, i64 12, !13, i64 16}
!53 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !7, i64 8}
!54 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !7, i64 8}
!55 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !7, i64 8}
!56 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !7, i64 8}
!57 = !{!"_ZTS15ImGuiNavForward", !8, i64 0}
!58 = !{!"_ZTS18ImGuiNavMoveResult", !7, i64 0, !10, i64 8, !10, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !18, i64 28}
!59 = !{!"_ZTS10ImDrawData", !13, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !11, i64 28, !11, i64 36, !11, i64 44}
!60 = !{!"_ZTS17ImDrawDataBuilder", !8, i64 0}
!61 = !{!"_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}
!62 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !7, i64 8}
!63 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !64, i64 0, !25, i64 16, !10, i64 32}
!64 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !7, i64 8}
!65 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !7, i64 8}
!66 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !7, i64 8}
!67 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !30, i64 16, !68, i64 32, !68, i64 48, !13, i64 64, !10, i64 68, !12, i64 72, !69, i64 76, !12, i64 3696, !13, i64 3700, !13, i64 3701, !10, i64 3704, !7, i64 3712, !7, i64 3720}
!68 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !7, i64 8}
!69 = !{!"_ZTSN5ImStb17STB_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, !70, i64 24}
!70 = !{!"_ZTSN5ImStb12StbUndoStateE", !8, i64 0, !8, i64 1584, !14, i64 3582, !14, i64 3584, !10, i64 3588, !10, i64 3592}
!71 = !{!"_ZTS6ImFont", !23, i64 0, !12, i64 16, !12, i64 20, !30, i64 24, !72, i64 40, !7, i64 56, !11, i64 64, !7, i64 72, !7, i64 80, !14, i64 88, !14, i64 90, !14, i64 92, !13, i64 94, !12, i64 96, !12, i64 100, !12, i64 104, !10, i64 108, !8, i64 112}
!72 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !7, i64 8}
!73 = !{!"_ZTS15ImGuiTextBuffer", !68, i64 0}
!74 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !7, i64 8}
!75 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !68, i64 0}
!76 = !{!"_ZTS12ImGuiLogType", !8, i64 0}


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