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

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

@GImGui = external dso_local global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [2 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui12DragBehaviorEjiPvfPKvS2_PKcf = external hidden unnamed_addr constant [113 x i8], align 1

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui13ClearActiveIDEv() #2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui12DragBehaviorEjiPvfPKvS2_PKcf(i32 noundef %0, i32 noundef %1, ptr noundef %2, float noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, float noundef %7) #3 {
  %9 = alloca i1, align 1
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca float, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca float, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  store i32 %0, ptr %10, align 4, !tbaa !5
  store i32 %1, ptr %11, align 4, !tbaa !5
  store ptr %2, ptr %12, align 8, !tbaa !9
  store float %3, ptr %13, align 4, !tbaa !11
  store ptr %4, ptr %14, align 8, !tbaa !9
  store ptr %5, ptr %15, align 8, !tbaa !9
  store ptr %6, ptr %16, align 8, !tbaa !9
  store float %7, ptr %17, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %20 = load ptr, ptr @GImGui, align 8, !tbaa !9
  store ptr %20, ptr %18, align 8, !tbaa !9
  %21 = load ptr, ptr %18, align 8, !tbaa !9
  %22 = getelementptr inbounds %struct.ImGuiContext, ptr %21, i32 0, i32 27
  %23 = load i32, ptr %22, align 8, !tbaa !13
  %24 = load i32, ptr %10, align 4, !tbaa !5
  %25 = icmp eq i32 %23, %24
  br i1 %25, label %26, label %58

26:                                               ; preds = %8
  %27 = load ptr, ptr %18, align 8, !tbaa !9
  %28 = getelementptr inbounds %struct.ImGuiContext, ptr %27, i32 0, i32 41
  %29 = load i32, ptr %28, align 8, !tbaa !56
  %30 = icmp eq i32 %29, 1
  br i1 %30, label %31, label %39

31:                                               ; preds = %26
  %32 = load ptr, ptr %18, align 8, !tbaa !9
  %33 = getelementptr inbounds %struct.ImGuiContext, ptr %32, i32 0, i32 3
  %34 = getelementptr inbounds %struct.ImGuiIO, ptr %33, i32 0, i32 30
  %35 = getelementptr inbounds [5 x i8], ptr %34, i64 0, i64 0
  %36 = load i8, ptr %35, align 8, !tbaa !57, !range !58, !noundef !59
  %37 = trunc i8 %36 to i1
  br i1 %37, label %39, label %38

38:                                               ; preds = %31
  call void @_ZN5ImGui13ClearActiveIDEv()
  br label %57

39:                                               ; preds = %31, %26
  %40 = load ptr, ptr %18, align 8, !tbaa !9
  %41 = getelementptr inbounds %struct.ImGuiContext, ptr %40, i32 0, i32 41
  %42 = load i32, ptr %41, align 8, !tbaa !56
  %43 = icmp eq i32 %42, 2
  br i1 %43, label %44, label %56

44:                                               ; preds = %39
  %45 = load ptr, ptr %18, align 8, !tbaa !9
  %46 = getelementptr inbounds %struct.ImGuiContext, ptr %45, i32 0, i32 59
  %47 = load i32, ptr %46, align 4, !tbaa !60
  %48 = load i32, ptr %10, align 4, !tbaa !5
  %49 = icmp eq i32 %47, %48
  br i1 %49, label %50, label %56

50:                                               ; preds = %44
  %51 = load ptr, ptr %18, align 8, !tbaa !9
  %52 = getelementptr inbounds %struct.ImGuiContext, ptr %51, i32 0, i32 31
  %53 = load i8, ptr %52, align 1, !tbaa !61, !range !58, !noundef !59
  %54 = trunc i8 %53 to i1
  br i1 %54, label %56, label %55

55:                                               ; preds = %50
  call void @_ZN5ImGui13ClearActiveIDEv()
  br label %56

56:                                               ; preds = %55, %50, %44, %39
  br label %57

57:                                               ; preds = %56, %38
  br label %58

58:                                               ; preds = %57, %8
  %59 = load ptr, ptr %18, align 8, !tbaa !9
  %60 = getelementptr inbounds %struct.ImGuiContext, ptr %59, i32 0, i32 27
  %61 = load i32, ptr %60, align 8, !tbaa !13
  %62 = load i32, ptr %10, align 4, !tbaa !5
  %63 = icmp ne i32 %61, %62
  br i1 %63, label %64, label %65

64:                                               ; preds = %58
  store i1 false, ptr %9, align 1
  store i32 1, ptr %19, align 4
  br label %206

65:                                               ; preds = %58
  %66 = load i32, ptr %11, align 4, !tbaa !5
  switch i32 %66, label %205 [
    i32 0, label %67
    i32 1, label %90
    i32 2, label %113
    i32 3, label %136
    i32 4, label %159
    i32 5, label %182
    i32 6, label %205
  ]

67:                                               ; preds = %65
  %68 = load i32, ptr %11, align 4, !tbaa !5
  %69 = load ptr, ptr %12, align 8, !tbaa !9
  %70 = load float, ptr %13, align 4, !tbaa !11
  %71 = load ptr, ptr %14, align 8, !tbaa !9
  %72 = icmp ne ptr %71, null
  br i1 %72, label %73, label %76

73:                                               ; preds = %67
  %74 = load ptr, ptr %14, align 8, !tbaa !9
  %75 = load i32, ptr %74, align 4, !tbaa !5
  br label %77

76:                                               ; preds = %67
  br label %77

77:                                               ; preds = %76, %73
  %78 = phi i32 [ %75, %73 ], [ -2147483648, %76 ]
  %79 = load ptr, ptr %15, align 8, !tbaa !9
  %80 = icmp ne ptr %79, null
  br i1 %80, label %81, label %84

81:                                               ; preds = %77
  %82 = load ptr, ptr %15, align 8, !tbaa !9
  %83 = load i32, ptr %82, align 4, !tbaa !5
  br label %85

84:                                               ; preds = %77
  br label %85

85:                                               ; preds = %84, %81
  %86 = phi i32 [ %83, %81 ], [ 2147483647, %84 ]
  %87 = load ptr, ptr %16, align 8, !tbaa !9
  %88 = load float, ptr %17, align 4, !tbaa !11
  %89 = call noundef zeroext i1 @_ZN5ImGuiL13DragBehaviorTIiifEEbiPT_fS1_S1_PKcf(i32 noundef %68, ptr noundef %69, float noundef %70, i32 noundef %78, i32 noundef %86, ptr noundef %87, float noundef %88)
  store i1 %89, ptr %9, align 1
  store i32 1, ptr %19, align 4
  br label %206

90:                                               ; preds = %65
  %91 = load i32, ptr %11, align 4, !tbaa !5
  %92 = load ptr, ptr %12, align 8, !tbaa !9
  %93 = load float, ptr %13, align 4, !tbaa !11
  %94 = load ptr, ptr %14, align 8, !tbaa !9
  %95 = icmp ne ptr %94, null
  br i1 %95, label %96, label %99

96:                                               ; preds = %90
  %97 = load ptr, ptr %14, align 8, !tbaa !9
  %98 = load i32, ptr %97, align 4, !tbaa !5
  br label %100

99:                                               ; preds = %90
  br label %100

100:                                              ; preds = %99, %96
  %101 = phi i32 [ %98, %96 ], [ 0, %99 ]
  %102 = load ptr, ptr %15, align 8, !tbaa !9
  %103 = icmp ne ptr %102, null
  br i1 %103, label %104, label %107

104:                                              ; preds = %100
  %105 = load ptr, ptr %15, align 8, !tbaa !9
  %106 = load i32, ptr %105, align 4, !tbaa !5
  br label %108

107:                                              ; preds = %100
  br label %108

108:                                              ; preds = %107, %104
  %109 = phi i32 [ %106, %104 ], [ -1, %107 ]
  %110 = load ptr, ptr %16, align 8, !tbaa !9
  %111 = load float, ptr %17, align 4, !tbaa !11
  %112 = call noundef zeroext i1 @_ZN5ImGuiL13DragBehaviorTIjifEEbiPT_fS1_S1_PKcf(i32 noundef %91, ptr noundef %92, float noundef %93, i32 noundef %101, i32 noundef %109, ptr noundef %110, float noundef %111)
  store i1 %112, ptr %9, align 1
  store i32 1, ptr %19, align 4
  br label %206

113:                                              ; preds = %65
  %114 = load i32, ptr %11, align 4, !tbaa !5
  %115 = load ptr, ptr %12, align 8, !tbaa !9
  %116 = load float, ptr %13, align 4, !tbaa !11
  %117 = load ptr, ptr %14, align 8, !tbaa !9
  %118 = icmp ne ptr %117, null
  br i1 %118, label %119, label %122

119:                                              ; preds = %113
  %120 = load ptr, ptr %14, align 8, !tbaa !9
  %121 = load i64, ptr %120, align 8, !tbaa !62
  br label %123

122:                                              ; preds = %113
  br label %123

123:                                              ; preds = %122, %119
  %124 = phi i64 [ %121, %119 ], [ -9223372036854775808, %122 ]
  %125 = load ptr, ptr %15, align 8, !tbaa !9
  %126 = icmp ne ptr %125, null
  br i1 %126, label %127, label %130

127:                                              ; preds = %123
  %128 = load ptr, ptr %15, align 8, !tbaa !9
  %129 = load i64, ptr %128, align 8, !tbaa !62
  br label %131

130:                                              ; preds = %123
  br label %131

131:                                              ; preds = %130, %127
  %132 = phi i64 [ %129, %127 ], [ 9223372036854775807, %130 ]
  %133 = load ptr, ptr %16, align 8, !tbaa !9
  %134 = load float, ptr %17, align 4, !tbaa !11
  %135 = call noundef zeroext i1 @_ZN5ImGuiL13DragBehaviorTIxxdEEbiPT_fS1_S1_PKcf(i32 noundef %114, ptr noundef %115, float noundef %116, i64 noundef %124, i64 noundef %132, ptr noundef %133, float noundef %134)
  store i1 %135, ptr %9, align 1
  store i32 1, ptr %19, align 4
  br label %206

136:                                              ; preds = %65
  %137 = load i32, ptr %11, align 4, !tbaa !5
  %138 = load ptr, ptr %12, align 8, !tbaa !9
  %139 = load float, ptr %13, align 4, !tbaa !11
  %140 = load ptr, ptr %14, align 8, !tbaa !9
  %141 = icmp ne ptr %140, null
  br i1 %141, label %142, label %145

142:                                              ; preds = %136
  %143 = load ptr, ptr %14, align 8, !tbaa !9
  %144 = load i64, ptr %143, align 8, !tbaa !62
  br label %146

145:                                              ; preds = %136
  br label %146

146:                                              ; preds = %145, %142
  %147 = phi i64 [ %144, %142 ], [ 0, %145 ]
  %148 = load ptr, ptr %15, align 8, !tbaa !9
  %149 = icmp ne ptr %148, null
  br i1 %149, label %150, label %153

150:                                              ; preds = %146
  %151 = load ptr, ptr %15, align 8, !tbaa !9
  %152 = load i64, ptr %151, align 8, !tbaa !62
  br label %154

153:                                              ; preds = %146
  br label %154

154:                                              ; preds = %153, %150
  %155 = phi i64 [ %152, %150 ], [ -1, %153 ]
  %156 = load ptr, ptr %16, align 8, !tbaa !9
  %157 = load float, ptr %17, align 4, !tbaa !11
  %158 = call noundef zeroext i1 @_ZN5ImGuiL13DragBehaviorTIyxdEEbiPT_fS1_S1_PKcf(i32 noundef %137, ptr noundef %138, float noundef %139, i64 noundef %147, i64 noundef %155, ptr noundef %156, float noundef %157)
  store i1 %158, ptr %9, align 1
  store i32 1, ptr %19, align 4
  br label %206

159:                                              ; preds = %65
  %160 = load i32, ptr %11, align 4, !tbaa !5
  %161 = load ptr, ptr %12, align 8, !tbaa !9
  %162 = load float, ptr %13, align 4, !tbaa !11
  %163 = load ptr, ptr %14, align 8, !tbaa !9
  %164 = icmp ne ptr %163, null
  br i1 %164, label %165, label %168

165:                                              ; preds = %159
  %166 = load ptr, ptr %14, align 8, !tbaa !9
  %167 = load float, ptr %166, align 4, !tbaa !11
  br label %169

168:                                              ; preds = %159
  br label %169

169:                                              ; preds = %168, %165
  %170 = phi float [ %167, %165 ], [ 0xC7EFFFFFE0000000, %168 ]
  %171 = load ptr, ptr %15, align 8, !tbaa !9
  %172 = icmp ne ptr %171, null
  br i1 %172, label %173, label %176

173:                                              ; preds = %169
  %174 = load ptr, ptr %15, align 8, !tbaa !9
  %175 = load float, ptr %174, align 4, !tbaa !11
  br label %177

176:                                              ; preds = %169
  br label %177

177:                                              ; preds = %176, %173
  %178 = phi float [ %175, %173 ], [ 0x47EFFFFFE0000000, %176 ]
  %179 = load ptr, ptr %16, align 8, !tbaa !9
  %180 = load float, ptr %17, align 4, !tbaa !11
  %181 = call noundef zeroext i1 @_ZN5ImGuiL13DragBehaviorTIfffEEbiPT_fS1_S1_PKcf(i32 noundef %160, ptr noundef %161, float noundef %162, float noundef %170, float noundef %178, ptr noundef %179, float noundef %180)
  store i1 %181, ptr %9, align 1
  store i32 1, ptr %19, align 4
  br label %206

182:                                              ; preds = %65
  %183 = load i32, ptr %11, align 4, !tbaa !5
  %184 = load ptr, ptr %12, align 8, !tbaa !9
  %185 = load float, ptr %13, align 4, !tbaa !11
  %186 = load ptr, ptr %14, align 8, !tbaa !9
  %187 = icmp ne ptr %186, null
  br i1 %187, label %188, label %191

188:                                              ; preds = %182
  %189 = load ptr, ptr %14, align 8, !tbaa !9
  %190 = load double, ptr %189, align 8, !tbaa !64
  br label %192

191:                                              ; preds = %182
  br label %192

192:                                              ; preds = %191, %188
  %193 = phi double [ %190, %188 ], [ 0xFFEFFFFFFFFFFFFF, %191 ]
  %194 = load ptr, ptr %15, align 8, !tbaa !9
  %195 = icmp ne ptr %194, null
  br i1 %195, label %196, label %199

196:                                              ; preds = %192
  %197 = load ptr, ptr %15, align 8, !tbaa !9
  %198 = load double, ptr %197, align 8, !tbaa !64
  br label %200

199:                                              ; preds = %192
  br label %200

200:                                              ; preds = %199, %196
  %201 = phi double [ %198, %196 ], [ 0x7FEFFFFFFFFFFFFF, %199 ]
  %202 = load ptr, ptr %16, align 8, !tbaa !9
  %203 = load float, ptr %17, align 4, !tbaa !11
  %204 = call noundef zeroext i1 @_ZN5ImGuiL13DragBehaviorTIdddEEbiPT_fS1_S1_PKcf(i32 noundef %183, ptr noundef %184, float noundef %185, double noundef %193, double noundef %201, ptr noundef %202, float noundef %203)
  store i1 %204, ptr %9, align 1
  store i32 1, ptr %19, align 4
  br label %206

205:                                              ; preds = %65, %65
  call void @__assert_fail(ptr noundef @.str.54, ptr noundef @.str.3, i32 noundef 9646, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui12DragBehaviorEjiPvfPKvS2_PKcf) #6
  unreachable

206:                                              ; preds = %200, %177, %154, %131, %108, %85, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  %207 = load i1, ptr %9, align 1
  ret i1 %207
}

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN5ImGuiL13DragBehaviorTIxxdEEbiPT_fS1_S1_PKcf(i32 noundef, ptr noundef, float noundef, i64 noundef, i64 noundef, ptr noundef, float noundef) #4

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN5ImGuiL13DragBehaviorTIyxdEEbiPT_fS1_S1_PKcf(i32 noundef, ptr noundef, float noundef, i64 noundef, i64 noundef, ptr noundef, float noundef) #4

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN5ImGuiL13DragBehaviorTIdddEEbiPT_fS1_S1_PKcf(i32 noundef, ptr noundef, float noundef, double noundef, double noundef, ptr noundef, float noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 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 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 #5 = { nounwind }
attributes #6 = { noreturn 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !6, i64 6512}
!14 = !{!"_ZTS12ImGuiContext", !15, i64 0, !15, i64 1, !16, i64 8, !18, i64 5408, !10, i64 6232, !12, i64 6240, !12, i64 6244, !19, i64 6248, !12, i64 6384, !6, i64 6388, !6, i64 6392, !6, i64 6396, !21, i64 6400, !21, i64 6416, !21, i64 6432, !22, i64 6448, !6, i64 6464, !10, i64 6472, !10, i64 6480, !10, i64 6488, !6, i64 6496, !15, i64 6500, !6, i64 6504, !12, i64 6508, !6, i64 6512, !6, i64 6516, !12, i64 6520, !15, i64 6524, !15, i64 6525, !15, i64 6526, !15, i64 6527, !15, i64 6528, !15, i64 6529, !6, i64 6532, !17, i64 6536, !10, i64 6544, !10, i64 6552, !24, i64 6560, !6, i64 6564, !12, i64 6568, !10, i64 6576, !25, i64 6584, !26, i64 6600, !27, i64 6616, !28, i64 6632, !28, i64 6648, !29, i64 6664, !15, i64 6776, !6, i64 6780, !10, i64 6784, !6, i64 6792, !6, i64 6796, !6, i64 6800, !6, i64 6804, !6, i64 6808, !6, i64 6812, !6, i64 6816, !6, i64 6820, !24, i64 6824, !30, i64 6828, !6, i64 6844, !10, i64 6848, !12, i64 6856, !12, i64 6860, !15, i64 6864, !6, i64 6868, !6, i64 6872, !15, i64 6876, !15, i64 6877, !15, i64 6878, !15, i64 6879, !15, i64 6880, !15, i64 6881, !15, i64 6882, !6, i64 6884, !30, i64 6888, !15, i64 6904, !15, i64 6905, !6, i64 6908, !31, i64 6912, !6, i64 6916, !6, i64 6920, !6, i64 6924, !32, i64 6928, !32, i64 6976, !32, i64 7024, !33, i64 7072, !34, i64 7120, !12, i64 7152, !35, i64 7160, !6, i64 7328, !15, i64 7332, !6, i64 7336, !6, i64 7340, !43, i64 7344, !30, i64 7408, !6, i64 7424, !6, i64 7428, !12, i64 7432, !6, i64 7436, !6, i64 7440, !6, i64 7444, !44, i64 7448, !7, i64 7464, !45, i64 7472, !50, i64 11176, !6, i64 11288, !6, i64 11292, !20, i64 11296, !15, i64 11312, !12, i64 11316, !12, i64 11320, !17, i64 11324, !6, i64 11332, !46, i64 11336, !17, i64 11352, !17, i64 11360, !15, i64 11368, !12, i64 11372, !53, i64 11376, !54, i64 11392, !55, i64 11408, !15, i64 11424, !10, i64 11432, !53, i64 11440, !6, i64 11456, !6, i64 11460, !7, i64 11464, !6, i64 11944, !12, i64 11948, !6, i64 11952, !6, i64 11956, !6, i64 11960, !7, i64 11964}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTS7ImGuiIO", !6, i64 0, !6, i64 4, !17, i64 8, !12, i64 16, !12, i64 20, !10, i64 24, !10, i64 32, !12, i64 40, !12, i64 44, !12, i64 48, !7, i64 52, !12, i64 136, !12, i64 140, !10, i64 144, !10, i64 152, !12, i64 160, !15, i64 164, !10, i64 168, !17, i64 176, !17, i64 184, !17, i64 192, !15, i64 200, !15, i64 201, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !17, i64 256, !7, i64 264, !12, i64 272, !12, i64 276, !15, i64 280, !15, i64 281, !15, i64 282, !15, i64 283, !15, i64 284, !7, i64 285, !7, i64 798, !7, i64 832, !15, i64 916, !15, i64 917, !15, i64 918, !15, i64 919, !15, i64 920, !15, i64 921, !15, i64 922, !12, i64 924, !6, i64 928, !6, i64 932, !6, i64 936, !17, i64 940, !17, i64 948, !7, i64 956, !7, i64 996, !7, i64 1016, !7, i64 1021, !7, i64 1026, !7, i64 1031, !7, i64 1036, !7, i64 1056, !7, i64 1076, !7, i64 1116, !7, i64 1136, !7, i64 3184, !7, i64 5232, !7, i64 5316}
!17 = !{!"_ZTS6ImVec2", !12, i64 0, !12, i64 4}
!18 = !{!"_ZTS10ImGuiStyle", !12, i64 0, !17, i64 4, !12, i64 12, !12, i64 16, !17, i64 20, !17, i64 28, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !17, i64 52, !12, i64 60, !12, i64 64, !17, i64 68, !17, i64 76, !17, i64 84, !12, i64 92, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !17, i64 116, !17, i64 124, !17, i64 132, !12, i64 140, !15, i64 144, !15, i64 145, !12, i64 148, !7, i64 152}
!19 = !{!"_ZTS20ImDrawListSharedData", !17, i64 0, !10, i64 8, !12, i64 16, !12, i64 20, !20, i64 24, !7, i64 40}
!20 = !{!"_ZTS6ImVec4", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!21 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !6, i64 0, !6, i64 4, !10, i64 8}
!22 = !{!"_ZTS12ImGuiStorage", !23, i64 0}
!23 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !6, i64 0, !6, i64 4, !10, i64 8}
!24 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!25 = !{!"_ZTS8ImVectorI11ImGuiColModE", !6, i64 0, !6, i64 4, !10, i64 8}
!26 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !6, i64 0, !6, i64 4, !10, i64 8}
!27 = !{!"_ZTS8ImVectorIP6ImFontE", !6, i64 0, !6, i64 4, !10, i64 8}
!28 = !{!"_ZTS8ImVectorI13ImGuiPopupRefE", !6, i64 0, !6, i64 4, !10, i64 8}
!29 = !{!"_ZTS19ImGuiNextWindowData", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !17, i64 28, !17, i64 36, !17, i64 44, !17, i64 52, !15, i64 60, !30, i64 64, !10, i64 80, !10, i64 88, !12, i64 96, !17, i64 100}
!30 = !{!"_ZTS6ImRect", !17, i64 0, !17, i64 8}
!31 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!32 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !10, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !30, i64 28}
!33 = !{!"_ZTS10ImDrawData", !15, i64 0, !10, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !17, i64 28, !17, i64 36}
!34 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!35 = !{!"_ZTS10ImDrawList", !36, i64 0, !37, i64 16, !38, i64 32, !6, i64 48, !10, i64 56, !10, i64 64, !6, i64 72, !10, i64 80, !10, i64 88, !39, i64 96, !40, i64 112, !41, i64 128, !6, i64 144, !6, i64 148, !42, i64 152}
!36 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !6, i64 0, !6, i64 4, !10, i64 8}
!37 = !{!"_ZTS8ImVectorItE", !6, i64 0, !6, i64 4, !10, i64 8}
!38 = !{!"_ZTS8ImVectorI10ImDrawVertE", !6, i64 0, !6, i64 4, !10, i64 8}
!39 = !{!"_ZTS8ImVectorI6ImVec4E", !6, i64 0, !6, i64 4, !10, i64 8}
!40 = !{!"_ZTS8ImVectorIPvE", !6, i64 0, !6, i64 4, !10, i64 8}
!41 = !{!"_ZTS8ImVectorI6ImVec2E", !6, i64 0, !6, i64 4, !10, i64 8}
!42 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !6, i64 0, !6, i64 4, !10, i64 8}
!43 = !{!"_ZTS12ImGuiPayload", !10, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !7, i64 24, !15, i64 57, !15, i64 58}
!44 = !{!"_ZTS8ImVectorIhE", !6, i64 0, !6, i64 4, !10, i64 8}
!45 = !{!"_ZTS18ImGuiTextEditState", !6, i64 0, !37, i64 8, !46, i64 24, !46, i64 40, !6, i64 56, !6, i64 60, !6, i64 64, !12, i64 68, !47, i64 72, !12, i64 3692, !15, i64 3696, !15, i64 3697}
!46 = !{!"_ZTS8ImVectorIcE", !6, i64 0, !6, i64 4, !10, i64 8}
!47 = !{!"_ZTSN8ImGuiStb17STB_TexteditStateE", !6, i64 0, !6, i64 4, !6, 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, !12, i64 20, !48, i64 24}
!48 = !{!"_ZTSN8ImGuiStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !49, i64 3582, !49, i64 3584, !6, i64 3588, !6, i64 3592}
!49 = !{!"short", !7, i64 0}
!50 = !{!"_ZTS6ImFont", !12, i64 0, !12, i64 4, !17, i64 8, !51, i64 16, !52, i64 32, !37, i64 48, !10, i64 64, !12, i64 72, !49, i64 76, !49, i64 78, !10, i64 80, !10, i64 88, !12, i64 96, !12, i64 100, !15, i64 104, !6, i64 108}
!51 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !6, i64 0, !6, i64 4, !10, i64 8}
!52 = !{!"_ZTS8ImVectorIfE", !6, i64 0, !6, i64 4, !10, i64 8}
!53 = !{!"_ZTS15ImGuiTextBuffer", !46, i64 0}
!54 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !6, i64 0, !6, i64 4, !10, i64 8}
!55 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !6, i64 0, !6, i64 4, !10, i64 8}
!56 = !{!14, !24, i64 6560}
!57 = !{!15, !15, i64 0}
!58 = !{i8 0, i8 2}
!59 = !{}
!60 = !{!14, !6, i64 6804}
!61 = !{!14, !15, i64 6525}
!62 = !{!63, !63, i64 0}
!63 = !{!"long long", !7, i64 0}
!64 = !{!65, !65, i64 0}
!65 = !{!"double", !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 dso_local local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [2 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui12DragBehaviorEjiPvfPKvS2_PKcf = external hidden unnamed_addr constant [113 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui13ClearActiveIDEv() local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui12DragBehaviorEjiPvfPKvS2_PKcf(i32 noundef %0, i32 noundef %1, ptr noundef %2, float noundef %3, ptr noundef readonly %4, ptr noundef readonly %5, ptr noundef %6, float noundef %7) local_unnamed_addr #2 {
  %9 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %9, i64 6512
  %11 = load i32, ptr %10, align 8, !tbaa !9
  %12 = icmp eq i32 %11, %0
  br i1 %12, label %13, label %.thread

13:                                               ; preds = %8
  %14 = getelementptr inbounds i8, ptr %9, i64 6560
  %15 = load i32, ptr %14, align 8, !tbaa !54
  switch i32 %15, label %.thread [
    i32 1, label %16
    i32 2, label %20
  ]

16:                                               ; preds = %13
  %17 = getelementptr inbounds i8, ptr %9, i64 272
  %18 = load i8, ptr %17, align 8, !tbaa !55, !range !56, !noundef !57
  %19 = trunc nuw i8 %18 to i1
  br i1 %19, label %.thread, label %.thread.sink.split

20:                                               ; preds = %13
  %21 = getelementptr inbounds i8, ptr %9, i64 6804
  %22 = load i32, ptr %21, align 4, !tbaa !58
  %23 = icmp eq i32 %22, %0
  br i1 %23, label %24, label %.thread

24:                                               ; preds = %20
  %25 = getelementptr inbounds i8, ptr %9, i64 6525
  %26 = load i8, ptr %25, align 1, !tbaa !59, !range !56, !noundef !57
  %27 = trunc nuw i8 %26 to i1
  br i1 %27, label %.thread, label %.thread.sink.split

.thread.sink.split:                               ; preds = %24, %16
  tail call void @_ZN5ImGui13ClearActiveIDEv()
  br label %.thread

.thread:                                          ; preds = %.thread.sink.split, %13, %16, %24, %20, %8
  %28 = load i32, ptr %10, align 8, !tbaa !9
  %.not = icmp eq i32 %28, %0
  br i1 %.not, label %29, label %91

29:                                               ; preds = %.thread
  switch i32 %1, label %90 [
    i32 0, label %30
    i32 1, label %40
    i32 2, label %50
    i32 3, label %60
    i32 4, label %70
    i32 5, label %80
  ]

30:                                               ; preds = %29
  %.not89 = icmp eq ptr %4, null
  br i1 %.not89, label %33, label %31

31:                                               ; preds = %30
  %32 = load i32, ptr %4, align 4, !tbaa !60
  br label %33

33:                                               ; preds = %30, %31
  %34 = phi i32 [ %32, %31 ], [ -2147483648, %30 ]
  %.not90 = icmp eq ptr %5, null
  br i1 %.not90, label %37, label %35

35:                                               ; preds = %33
  %36 = load i32, ptr %5, align 4, !tbaa !60
  br label %37

37:                                               ; preds = %33, %35
  %38 = phi i32 [ %36, %35 ], [ 2147483647, %33 ]
  %39 = tail call noundef zeroext i1 @_ZN5ImGuiL13DragBehaviorTIiifEEbiPT_fS1_S1_PKcf(i32 noundef 0, ptr noundef %2, float noundef %3, i32 noundef %34, i32 noundef %38, ptr noundef %6, float noundef %7)
  br label %91

40:                                               ; preds = %29
  %.not87 = icmp eq ptr %4, null
  br i1 %.not87, label %43, label %41

41:                                               ; preds = %40
  %42 = load i32, ptr %4, align 4, !tbaa !60
  br label %43

43:                                               ; preds = %40, %41
  %44 = phi i32 [ %42, %41 ], [ 0, %40 ]
  %.not88 = icmp eq ptr %5, null
  br i1 %.not88, label %47, label %45

45:                                               ; preds = %43
  %46 = load i32, ptr %5, align 4, !tbaa !60
  br label %47

47:                                               ; preds = %43, %45
  %48 = phi i32 [ %46, %45 ], [ -1, %43 ]
  %49 = tail call noundef zeroext i1 @_ZN5ImGuiL13DragBehaviorTIjifEEbiPT_fS1_S1_PKcf(i32 noundef 1, ptr noundef %2, float noundef %3, i32 noundef %44, i32 noundef %48, ptr noundef %6, float noundef %7)
  br label %91

50:                                               ; preds = %29
  %.not85 = icmp eq ptr %4, null
  br i1 %.not85, label %53, label %51

51:                                               ; preds = %50
  %52 = load i64, ptr %4, align 8, !tbaa !61
  br label %53

53:                                               ; preds = %50, %51
  %54 = phi i64 [ %52, %51 ], [ -9223372036854775808, %50 ]
  %.not86 = icmp eq ptr %5, null
  br i1 %.not86, label %57, label %55

55:                                               ; preds = %53
  %56 = load i64, ptr %5, align 8, !tbaa !61
  br label %57

57:                                               ; preds = %53, %55
  %58 = phi i64 [ %56, %55 ], [ 9223372036854775807, %53 ]
  %59 = tail call noundef zeroext i1 @_ZN5ImGuiL13DragBehaviorTIxxdEEbiPT_fS1_S1_PKcf(i32 noundef 2, ptr noundef %2, float noundef %3, i64 noundef %54, i64 noundef %58, ptr noundef %6, float noundef %7)
  br label %91

60:                                               ; preds = %29
  %.not83 = icmp eq ptr %4, null
  br i1 %.not83, label %63, label %61

61:                                               ; preds = %60
  %62 = load i64, ptr %4, align 8, !tbaa !61
  br label %63

63:                                               ; preds = %60, %61
  %64 = phi i64 [ %62, %61 ], [ 0, %60 ]
  %.not84 = icmp eq ptr %5, null
  br i1 %.not84, label %67, label %65

65:                                               ; preds = %63
  %66 = load i64, ptr %5, align 8, !tbaa !61
  br label %67

67:                                               ; preds = %63, %65
  %68 = phi i64 [ %66, %65 ], [ -1, %63 ]
  %69 = tail call noundef zeroext i1 @_ZN5ImGuiL13DragBehaviorTIyxdEEbiPT_fS1_S1_PKcf(i32 noundef 3, ptr noundef %2, float noundef %3, i64 noundef %64, i64 noundef %68, ptr noundef %6, float noundef %7)
  br label %91

70:                                               ; preds = %29
  %.not81 = icmp eq ptr %4, null
  br i1 %.not81, label %73, label %71

71:                                               ; preds = %70
  %72 = load float, ptr %4, align 4, !tbaa !63
  br label %73

73:                                               ; preds = %70, %71
  %74 = phi float [ %72, %71 ], [ 0xC7EFFFFFE0000000, %70 ]
  %.not82 = icmp eq ptr %5, null
  br i1 %.not82, label %77, label %75

75:                                               ; preds = %73
  %76 = load float, ptr %5, align 4, !tbaa !63
  br label %77

77:                                               ; preds = %73, %75
  %78 = phi float [ %76, %75 ], [ 0x47EFFFFFE0000000, %73 ]
  %79 = tail call noundef zeroext i1 @_ZN5ImGuiL13DragBehaviorTIfffEEbiPT_fS1_S1_PKcf(i32 noundef 4, ptr noundef %2, float noundef %3, float noundef %74, float noundef %78, ptr noundef %6, float noundef %7)
  br label %91

80:                                               ; preds = %29
  %.not79 = icmp eq ptr %4, null
  br i1 %.not79, label %83, label %81

81:                                               ; preds = %80
  %82 = load double, ptr %4, align 8, !tbaa !64
  br label %83

83:                                               ; preds = %80, %81
  %84 = phi double [ %82, %81 ], [ 0xFFEFFFFFFFFFFFFF, %80 ]
  %.not80 = icmp eq ptr %5, null
  br i1 %.not80, label %87, label %85

85:                                               ; preds = %83
  %86 = load double, ptr %5, align 8, !tbaa !64
  br label %87

87:                                               ; preds = %83, %85
  %88 = phi double [ %86, %85 ], [ 0x7FEFFFFFFFFFFFFF, %83 ]
  %89 = tail call noundef zeroext i1 @_ZN5ImGuiL13DragBehaviorTIdddEEbiPT_fS1_S1_PKcf(i32 noundef 5, ptr noundef %2, float noundef %3, double noundef %84, double noundef %88, ptr noundef %6, float noundef %7)
  br label %91

90:                                               ; preds = %29
  tail call void @__assert_fail(ptr noundef nonnull @.str.54, ptr noundef nonnull @.str.3, i32 noundef 9646, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui12DragBehaviorEjiPvfPKvS2_PKcf) #4
  unreachable

91:                                               ; preds = %.thread, %87, %77, %67, %57, %47, %37
  %.0 = phi i1 [ %89, %87 ], [ %79, %77 ], [ %69, %67 ], [ %59, %57 ], [ %49, %47 ], [ %39, %37 ], [ false, %.thread ]
  ret i1 %.0
}

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

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

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

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

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

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

attributes #0 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="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 uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn 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, !13, i64 6512}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !16, i64 5408, !6, i64 6232, !15, i64 6240, !15, i64 6244, !17, i64 6248, !15, i64 6384, !13, i64 6388, !13, i64 6392, !13, i64 6396, !19, i64 6400, !19, i64 6416, !19, i64 6432, !20, i64 6448, !13, i64 6464, !6, i64 6472, !6, i64 6480, !6, i64 6488, !13, i64 6496, !11, i64 6500, !13, i64 6504, !15, i64 6508, !13, i64 6512, !13, i64 6516, !15, i64 6520, !11, i64 6524, !11, i64 6525, !11, i64 6526, !11, i64 6527, !11, i64 6528, !11, i64 6529, !13, i64 6532, !14, i64 6536, !6, i64 6544, !6, i64 6552, !22, i64 6560, !13, i64 6564, !15, i64 6568, !6, i64 6576, !23, i64 6584, !24, i64 6600, !25, i64 6616, !26, i64 6632, !26, i64 6648, !27, i64 6664, !11, i64 6776, !13, i64 6780, !6, i64 6784, !13, i64 6792, !13, i64 6796, !13, i64 6800, !13, i64 6804, !13, i64 6808, !13, i64 6812, !13, i64 6816, !13, i64 6820, !22, i64 6824, !28, i64 6828, !13, i64 6844, !6, i64 6848, !15, i64 6856, !15, i64 6860, !11, i64 6864, !13, i64 6868, !13, i64 6872, !11, i64 6876, !11, i64 6877, !11, i64 6878, !11, i64 6879, !11, i64 6880, !11, i64 6881, !11, i64 6882, !13, i64 6884, !28, i64 6888, !11, i64 6904, !11, i64 6905, !13, i64 6908, !29, i64 6912, !13, i64 6916, !13, i64 6920, !13, i64 6924, !30, i64 6928, !30, i64 6976, !30, i64 7024, !31, i64 7072, !32, i64 7120, !15, i64 7152, !33, i64 7160, !13, i64 7328, !11, i64 7332, !13, i64 7336, !13, i64 7340, !41, i64 7344, !28, i64 7408, !13, i64 7424, !13, i64 7428, !15, i64 7432, !13, i64 7436, !13, i64 7440, !13, i64 7444, !42, i64 7448, !7, i64 7464, !43, i64 7472, !48, i64 11176, !13, i64 11288, !13, i64 11292, !18, i64 11296, !11, i64 11312, !15, i64 11316, !15, i64 11320, !14, i64 11324, !13, i64 11332, !44, i64 11336, !14, i64 11352, !14, i64 11360, !11, i64 11368, !15, i64 11372, !51, i64 11376, !52, i64 11392, !53, i64 11408, !11, i64 11424, !6, i64 11432, !51, i64 11440, !13, i64 11456, !13, i64 11460, !7, i64 11464, !13, i64 11944, !15, i64 11948, !13, i64 11952, !13, i64 11956, !13, i64 11960, !7, i64 11964}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !6, i64 24, !6, i64 32, !15, i64 40, !15, i64 44, !15, i64 48, !7, i64 52, !15, i64 136, !15, i64 140, !6, i64 144, !6, i64 152, !15, i64 160, !11, i64 164, !6, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !11, i64 200, !11, i64 201, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !14, i64 256, !7, i64 264, !15, i64 272, !15, i64 276, !11, i64 280, !11, i64 281, !11, i64 282, !11, i64 283, !11, i64 284, !7, i64 285, !7, i64 798, !7, i64 832, !11, i64 916, !11, i64 917, !11, i64 918, !11, i64 919, !11, i64 920, !11, i64 921, !11, i64 922, !15, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !14, i64 940, !14, i64 948, !7, i64 956, !7, i64 996, !7, i64 1016, !7, i64 1021, !7, i64 1026, !7, i64 1031, !7, i64 1036, !7, i64 1056, !7, i64 1076, !7, i64 1116, !7, i64 1136, !7, i64 3184, !7, i64 5232, !7, i64 5316}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !14, i64 4, !15, i64 12, !15, i64 16, !14, i64 20, !14, i64 28, !15, i64 36, !15, i64 40, !15, i64 44, !15, i64 48, !14, i64 52, !15, i64 60, !15, i64 64, !14, i64 68, !14, i64 76, !14, i64 84, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !14, i64 116, !14, i64 124, !14, i64 132, !15, i64 140, !11, i64 144, !11, i64 145, !15, i64 148, !7, i64 152}
!17 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !18, i64 24, !7, i64 40}
!18 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!19 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!20 = !{!"_ZTS12ImGuiStorage", !21, i64 0}
!21 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !13, i64 0, !13, i64 4, !6, i64 8}
!22 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!23 = !{!"_ZTS8ImVectorI11ImGuiColModE", !13, i64 0, !13, i64 4, !6, i64 8}
!24 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorI13ImGuiPopupRefE", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36, !14, i64 44, !14, i64 52, !11, i64 60, !28, i64 64, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!28 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!29 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!30 = !{!"_ZTS18ImGuiNavMoveResult", !13, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !28, i64 28}
!31 = !{!"_ZTS10ImDrawData", !11, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 28, !14, i64 36}
!32 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!33 = !{!"_ZTS10ImDrawList", !34, i64 0, !35, i64 16, !36, i64 32, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !6, i64 80, !6, i64 88, !37, i64 96, !38, i64 112, !39, i64 128, !13, i64 144, !13, i64 148, !40, i64 152}
!34 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !7, i64 24, !11, i64 57, !11, i64 58}
!42 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS18ImGuiTextEditState", !13, i64 0, !35, i64 8, !44, i64 24, !44, i64 40, !13, i64 56, !13, i64 60, !13, i64 64, !15, i64 68, !45, i64 72, !15, i64 3692, !11, i64 3696, !11, i64 3697}
!44 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTSN8ImGuiStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, 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, !15, i64 20, !46, i64 24}
!46 = !{!"_ZTSN8ImGuiStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !47, i64 3582, !47, i64 3584, !13, i64 3588, !13, i64 3592}
!47 = !{!"short", !7, i64 0}
!48 = !{!"_ZTS6ImFont", !15, i64 0, !15, i64 4, !14, i64 8, !49, i64 16, !50, i64 32, !35, i64 48, !6, i64 64, !15, i64 72, !47, i64 76, !47, i64 78, !6, i64 80, !6, i64 88, !15, i64 96, !15, i64 100, !11, i64 104, !13, i64 108}
!49 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_ZTS15ImGuiTextBuffer", !44, i64 0}
!52 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!10, !22, i64 6560}
!55 = !{!11, !11, i64 0}
!56 = !{i8 0, i8 2}
!57 = !{}
!58 = !{!10, !13, i64 6804}
!59 = !{!10, !11, i64 6525}
!60 = !{!13, !13, i64 0}
!61 = !{!62, !62, i64 0}
!62 = !{!"long long", !7, i64 0}
!63 = !{!15, !15, i64 0}
!64 = !{!65, !65, i64 0}
!65 = !{!"double", !7, i64 0}


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