; LLVM IR from theolundqvist/parallax-voxel-ray-marcher :: src/external/Dear ImGui/imgui.ll (ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow)

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

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

@GImGui = external dso_local global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.192 = external hidden unnamed_addr constant [26 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow = external hidden unnamed_addr constant [55 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local <2 x float> @_ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow(ptr noundef %0) #5 {
  %2 = alloca %struct.ImVec2, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %struct.ImRect, align 4
  %6 = alloca ptr, align 8
  %7 = alloca float, align 4
  %8 = alloca %struct.ImRect, align 4
  %9 = alloca %struct.ImRect, align 4
  %10 = alloca %struct.ImRect, align 4
  %11 = alloca i32, align 4
  %12 = alloca %struct.ImRect, align 4
  %13 = alloca float, align 4
  %14 = alloca %struct.ImVec2, align 4
  %15 = alloca %struct.ImRect, align 4
  %16 = alloca %struct.ImRect, align 4
  %17 = alloca %struct.ImRect, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  %18 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %18, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #7
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = call { <2 x float>, <2 x float> } @_ZN5ImGui25GetPopupAllowedExtentRectEP11ImGuiWindow(ptr noundef %19)
  %21 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %5, i32 0, i32 0
  %22 = extractvalue { <2 x float>, <2 x float> } %20, 0
  store <2 x float> %22, ptr %21, align 4
  %23 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %5, i32 0, i32 1
  %24 = extractvalue { <2 x float>, <2 x float> } %20, 1
  store <2 x float> %24, ptr %23, align 4
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.ImGuiWindow, ptr %25, i32 0, i32 2
  %27 = load i32, ptr %26, align 4, !tbaa !9
  %28 = and i32 %27, 268435456
  %29 = icmp ne i32 %28, 0
  br i1 %29, label %30, label %102

30:                                               ; preds = %1
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.ImGuiContext, ptr %31, i32 0, i32 29
  %33 = load ptr, ptr %32, align 8, !tbaa !40
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  %35 = icmp eq ptr %33, %34
  br i1 %35, label %36, label %37

36:                                               ; preds = %30
  br label %39

37:                                               ; preds = %30
  call void @__assert_fail(ptr noundef @.str.192, ptr noundef @.str.3, i32 noundef 8629, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow) #8
  unreachable

38:                                               ; No predecessors!
  br label %39

39:                                               ; preds = %38, %36
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.ImGuiContext, ptr %40, i32 0, i32 24
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.ImGuiContext, ptr %42, i32 0, i32 24
  %44 = getelementptr inbounds %struct.ImVector.4, ptr %43, i32 0, i32 0
  %45 = load i32, ptr %44, align 8, !tbaa !84
  %46 = sub nsw i32 %45, 2
  %47 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI20ImGuiWindowStackDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %41, i32 noundef %46)
  %48 = getelementptr inbounds %struct.ImGuiWindowStackData, ptr %47, i32 0, i32 0
  %49 = load ptr, ptr %48, align 8, !tbaa !85
  store ptr %49, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.ImGuiContext, ptr %50, i32 0, i32 4
  %52 = getelementptr inbounds %struct.ImGuiStyle, ptr %51, i32 0, i32 16
  %53 = getelementptr inbounds %struct.ImVec2, ptr %52, i32 0, i32 0
  %54 = load float, ptr %53, align 4, !tbaa !87
  store float %54, ptr %7, align 4, !tbaa !88
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #7
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %8)
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.ImGuiWindow, ptr %55, i32 0, i32 54
  %57 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %56, i32 0, i32 18
  %58 = load i8, ptr %57, align 2, !tbaa !89, !range !90, !noundef !91
  %59 = trunc i8 %58 to i1
  br i1 %59, label %60, label %71

60:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #7
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.ImGuiWindow, ptr %61, i32 0, i32 60
  %63 = getelementptr inbounds %struct.ImRect, ptr %62, i32 0, i32 0
  %64 = getelementptr inbounds %struct.ImVec2, ptr %63, i32 0, i32 1
  %65 = load float, ptr %64, align 4, !tbaa !92
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.ImGuiWindow, ptr %66, i32 0, i32 60
  %68 = getelementptr inbounds %struct.ImRect, ptr %67, i32 0, i32 1
  %69 = getelementptr inbounds %struct.ImVec2, ptr %68, i32 0, i32 1
  %70 = load float, ptr %69, align 4, !tbaa !93
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %9, float noundef 0xC7EFFFFFE0000000, float noundef %65, float noundef 0x47EFFFFFE0000000, float noundef %70)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %9, i64 16, i1 false), !tbaa.struct !94
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  br label %94

71:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #7
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.ImGuiWindow, ptr %72, i32 0, i32 3
  %74 = getelementptr inbounds %struct.ImVec2, ptr %73, i32 0, i32 0
  %75 = load float, ptr %74, align 8, !tbaa !95
  %76 = load float, ptr %7, align 4, !tbaa !88
  %77 = fadd float %75, %76
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.ImGuiWindow, ptr %78, i32 0, i32 3
  %80 = getelementptr inbounds %struct.ImVec2, ptr %79, i32 0, i32 0
  %81 = load float, ptr %80, align 8, !tbaa !95
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.ImGuiWindow, ptr %82, i32 0, i32 4
  %84 = getelementptr inbounds %struct.ImVec2, ptr %83, i32 0, i32 0
  %85 = load float, ptr %84, align 8, !tbaa !96
  %86 = fadd float %81, %85
  %87 = load float, ptr %7, align 4, !tbaa !88
  %88 = fsub float %86, %87
  %89 = load ptr, ptr %6, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.ImGuiWindow, ptr %89, i32 0, i32 20
  %91 = getelementptr inbounds %struct.ImVec2, ptr %90, i32 0, i32 0
  %92 = load float, ptr %91, align 4, !tbaa !97
  %93 = fsub float %88, %92
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %10, float noundef %77, float noundef 0xC7EFFFFFE0000000, float noundef %93, float noundef 0x47EFFFFFE0000000)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %10, i64 16, i1 false), !tbaa.struct !94
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  br label %94

94:                                               ; preds = %71, %60
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.ImGuiWindow, ptr %95, i32 0, i32 3
  %97 = load ptr, ptr %3, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.ImGuiWindow, ptr %97, i32 0, i32 4
  %99 = load ptr, ptr %3, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.ImGuiWindow, ptr %99, i32 0, i32 45
  %101 = call <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_PiRK6ImRectS6_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8) %96, ptr noundef nonnull align 4 dereferenceable(8) %98, ptr noundef %100, ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(16) %8, i32 noundef 0)
  store <2 x float> %101, ptr %2, align 4
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  br label %199

102:                                              ; preds = %1
  %103 = load ptr, ptr %3, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.ImGuiWindow, ptr %103, i32 0, i32 2
  %105 = load i32, ptr %104, align 4, !tbaa !9
  %106 = and i32 %105, 67108864
  %107 = icmp ne i32 %106, 0
  br i1 %107, label %108, label %136

108:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  %109 = load ptr, ptr %3, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.ImGuiWindow, ptr %109, i32 0, i32 3
  %111 = getelementptr inbounds %struct.ImVec2, ptr %110, i32 0, i32 0
  %112 = load float, ptr %111, align 8, !tbaa !95
  %113 = fsub float %112, 1.000000e+00
  %114 = load ptr, ptr %3, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.ImGuiWindow, ptr %114, i32 0, i32 3
  %116 = getelementptr inbounds %struct.ImVec2, ptr %115, i32 0, i32 1
  %117 = load float, ptr %116, align 4, !tbaa !98
  %118 = fsub float %117, 1.000000e+00
  %119 = load ptr, ptr %3, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.ImGuiWindow, ptr %119, i32 0, i32 3
  %121 = getelementptr inbounds %struct.ImVec2, ptr %120, i32 0, i32 0
  %122 = load float, ptr %121, align 8, !tbaa !95
  %123 = fadd float %122, 1.000000e+00
  %124 = load ptr, ptr %3, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.ImGuiWindow, ptr %124, i32 0, i32 3
  %126 = getelementptr inbounds %struct.ImVec2, ptr %125, i32 0, i32 1
  %127 = load float, ptr %126, align 4, !tbaa !98
  %128 = fadd float %127, 1.000000e+00
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %12, float noundef %113, float noundef %118, float noundef %123, float noundef %128)
  %129 = load ptr, ptr %3, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.ImGuiWindow, ptr %129, i32 0, i32 3
  %131 = load ptr, ptr %3, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.ImGuiWindow, ptr %131, i32 0, i32 4
  %133 = load ptr, ptr %3, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.ImGuiWindow, ptr %133, i32 0, i32 45
  %135 = call <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_PiRK6ImRectS6_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8) %130, ptr noundef nonnull align 4 dereferenceable(8) %132, ptr noundef %134, ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(16) %12, i32 noundef 0)
  store <2 x float> %135, ptr %2, align 4
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  br label %199

136:                                              ; preds = %102
  %137 = load ptr, ptr %3, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.ImGuiWindow, ptr %137, i32 0, i32 2
  %139 = load i32, ptr %138, align 4, !tbaa !9
  %140 = and i32 %139, 33554432
  %141 = icmp ne i32 %140, 0
  br i1 %141, label %142, label %198

142:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  %143 = load ptr, ptr %4, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.ImGuiContext, ptr %143, i32 0, i32 4
  %145 = getelementptr inbounds %struct.ImGuiStyle, ptr %144, i32 0, i32 34
  %146 = load float, ptr %145, align 8, !tbaa !99
  store float %146, ptr %13, align 4, !tbaa !88
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %147 = call <2 x float> @_ZN5ImGuiL22NavCalcPreferredRefPosEv()
  store <2 x float> %147, ptr %14, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #7
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %15)
  %148 = load ptr, ptr %4, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.ImGuiContext, ptr %148, i32 0, i32 103
  %150 = load i8, ptr %149, align 2, !tbaa !100, !range !90, !noundef !91
  %151 = trunc i8 %150 to i1
  br i1 %151, label %177, label %152

152:                                              ; preds = %142
  %153 = load ptr, ptr %4, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.ImGuiContext, ptr %153, i32 0, i32 104
  %155 = load i8, ptr %154, align 1, !tbaa !101, !range !90, !noundef !91
  %156 = trunc i8 %155 to i1
  br i1 %156, label %157, label %177

157:                                              ; preds = %152
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.ImGuiContext, ptr %158, i32 0, i32 3
  %160 = getelementptr inbounds %struct.ImGuiIO, ptr %159, i32 0, i32 0
  %161 = load i32, ptr %160, align 8, !tbaa !102
  %162 = and i32 %161, 4
  %163 = icmp ne i32 %162, 0
  br i1 %163, label %177, label %164

164:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #7
  %165 = getelementptr inbounds %struct.ImVec2, ptr %14, i32 0, i32 0
  %166 = load float, ptr %165, align 4, !tbaa !103
  %167 = fsub float %166, 1.600000e+01
  %168 = getelementptr inbounds %struct.ImVec2, ptr %14, i32 0, i32 1
  %169 = load float, ptr %168, align 4, !tbaa !104
  %170 = fsub float %169, 8.000000e+00
  %171 = getelementptr inbounds %struct.ImVec2, ptr %14, i32 0, i32 0
  %172 = load float, ptr %171, align 4, !tbaa !103
  %173 = fadd float %172, 1.600000e+01
  %174 = getelementptr inbounds %struct.ImVec2, ptr %14, i32 0, i32 1
  %175 = load float, ptr %174, align 4, !tbaa !104
  %176 = fadd float %175, 8.000000e+00
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %16, float noundef %167, float noundef %170, float noundef %173, float noundef %176)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %16, i64 16, i1 false), !tbaa.struct !94
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #7
  br label %192

177:                                              ; preds = %157, %152, %142
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #7
  %178 = getelementptr inbounds %struct.ImVec2, ptr %14, i32 0, i32 0
  %179 = load float, ptr %178, align 4, !tbaa !103
  %180 = fsub float %179, 1.600000e+01
  %181 = getelementptr inbounds %struct.ImVec2, ptr %14, i32 0, i32 1
  %182 = load float, ptr %181, align 4, !tbaa !104
  %183 = fsub float %182, 8.000000e+00
  %184 = getelementptr inbounds %struct.ImVec2, ptr %14, i32 0, i32 0
  %185 = load float, ptr %184, align 4, !tbaa !103
  %186 = load float, ptr %13, align 4, !tbaa !88
  %187 = call float @llvm.fmuladd.f32(float 2.400000e+01, float %186, float %185)
  %188 = getelementptr inbounds %struct.ImVec2, ptr %14, i32 0, i32 1
  %189 = load float, ptr %188, align 4, !tbaa !104
  %190 = load float, ptr %13, align 4, !tbaa !88
  %191 = call float @llvm.fmuladd.f32(float 2.400000e+01, float %190, float %189)
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %17, float noundef %180, float noundef %183, float noundef %187, float noundef %191)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %17, i64 16, i1 false), !tbaa.struct !94
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #7
  br label %192

192:                                              ; preds = %177, %164
  %193 = load ptr, ptr %3, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.ImGuiWindow, ptr %193, i32 0, i32 4
  %195 = load ptr, ptr %3, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.ImGuiWindow, ptr %195, i32 0, i32 45
  %197 = call <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_PiRK6ImRectS6_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %194, ptr noundef %196, ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(16) %15, i32 noundef 2)
  store <2 x float> %197, ptr %2, align 4
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %199

198:                                              ; preds = %136
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.3, i32 noundef 8656, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow) #8
  unreachable

199:                                              ; preds = %192, %108, %94
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  %200 = load <2 x float>, ptr %2, align 4
  ret <2 x float> %200
}

; Function Attrs: mustprogress uwtable
declare hidden <2 x float> @_ZN5ImGuiL22NavCalcPreferredRefPosEv() #5

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_PiRK6ImRectS6_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN5ImGui25GetPopupAllowedExtentRectEP11ImGuiWindow(ptr noundef) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI20ImGuiWindowStackDataEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #6 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { nounwind }
attributes #8 = { 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, !11, i64 12}
!10 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !11, i64 8, !11, i64 12, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !13, i64 72, !13, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !12, i64 92, !12, i64 100, !12, i64 108, !12, i64 116, !12, i64 124, !12, i64 132, !14, i64 140, !14, i64 141, !14, i64 142, !14, i64 143, !14, i64 144, !14, i64 145, !14, i64 146, !14, i64 147, !14, i64 148, !14, i64 149, !14, i64 150, !14, i64 151, !7, i64 152, !15, i64 154, !15, i64 156, !15, i64 158, !15, i64 160, !11, i64 164, !7, i64 168, !7, i64 169, !7, i64 170, !14, i64 171, !11, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !7, i64 179, !11, i64 180, !11, i64 181, !11, i64 182, !12, i64 184, !12, i64 192, !16, i64 200, !17, i64 216, !24, i64 464, !24, i64 480, !24, i64 496, !24, i64 512, !24, i64 528, !24, i64 544, !24, i64 560, !25, i64 576, !25, i64 580, !11, i64 584, !13, i64 588, !13, i64 592, !26, i64 600, !28, i64 616, !13, i64 632, !11, i64 636, !6, i64 640, !29, i64 648, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !7, i64 888, !7, i64 896, !11, i64 928, !11, i64 932, !14, i64 936}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"short", !7, i64 0}
!16 = !{!"_ZTS8ImVectorIjE", !11, i64 0, !11, i64 4, !6, i64 8}
!17 = !{!"_ZTS19ImGuiWindowTempData", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !13, i64 56, !13, i64 60, !18, i64 64, !18, i64 68, !18, i64 72, !19, i64 76, !15, i64 80, !15, i64 82, !11, i64 84, !14, i64 88, !14, i64 89, !14, i64 90, !12, i64 92, !20, i64 100, !11, i64 128, !11, i64 132, !21, i64 136, !6, i64 152, !6, i64 160, !11, i64 168, !11, i64 172, !11, i64 176, !11, i64 180, !11, i64 184, !13, i64 188, !13, i64 192, !22, i64 200, !22, i64 216, !23, i64 232}
!18 = !{!"_ZTS6ImVec1", !13, i64 0}
!19 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!20 = !{!"_ZTS16ImGuiMenuColumns", !11, i64 0, !11, i64 4, !15, i64 8, !15, i64 10, !15, i64 12, !15, i64 14, !15, i64 16, !7, i64 18}
!21 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !11, i64 0, !11, i64 4, !6, i64 8}
!22 = !{!"_ZTS8ImVectorIfE", !11, i64 0, !11, i64 4, !6, i64 8}
!23 = !{!"_ZTS15ImGuiStackSizes", !15, i64 0, !15, i64 2, !15, i64 4, !15, i64 6, !15, i64 8, !15, i64 10, !15, i64 12}
!24 = !{!"_ZTS6ImRect", !12, i64 0, !12, i64 8}
!25 = !{!"_ZTS8ImVec2ih", !15, i64 0, !15, i64 2}
!26 = !{!"_ZTS12ImGuiStorage", !27, i64 0}
!27 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !11, i64 0, !11, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !11, i64 0, !11, i64 4, !6, i64 8}
!29 = !{!"_ZTS10ImDrawList", !30, i64 0, !31, i64 16, !32, i64 32, !11, i64 48, !11, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !33, i64 88, !34, i64 104, !35, i64 120, !36, i64 136, !38, i64 168, !13, i64 192}
!30 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !11, i64 0, !11, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorItE", !11, i64 0, !11, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorI10ImDrawVertE", !11, i64 0, !11, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI6ImVec4E", !11, i64 0, !11, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorIPvE", !11, i64 0, !11, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI6ImVec2E", !11, i64 0, !11, i64 4, !6, i64 8}
!36 = !{!"_ZTS15ImDrawCmdHeader", !37, i64 0, !6, i64 16, !11, i64 24}
!37 = !{!"_ZTS6ImVec4", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!38 = !{!"_ZTS18ImDrawListSplitter", !11, i64 0, !11, i64 4, !39, i64 8}
!39 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !11, i64 0, !11, i64 4, !6, i64 8}
!40 = !{!41, !6, i64 7176}
!41 = !{!"_ZTS12ImGuiContext", !14, i64 0, !14, i64 1, !42, i64 8, !43, i64 5464, !6, i64 6512, !13, i64 6520, !13, i64 6524, !44, i64 6528, !45, i64 7040, !11, i64 7048, !11, i64 7052, !11, i64 7056, !14, i64 7060, !14, i64 7061, !14, i64 7062, !14, i64 7063, !14, i64 7064, !11, i64 7068, !6, i64 7072, !21, i64 7080, !21, i64 7096, !21, i64 7112, !46, i64 7128, !26, i64 7144, !11, i64 7160, !12, i64 7164, !6, i64 7176, !6, i64 7184, !6, i64 7192, !6, i64 7200, !6, i64 7208, !12, i64 7216, !13, i64 7224, !11, i64 7228, !11, i64 7232, !14, i64 7236, !14, i64 7237, !14, i64 7238, !14, i64 7239, !13, i64 7240, !13, i64 7244, !11, i64 7248, !11, i64 7252, !13, i64 7256, !14, i64 7260, !14, i64 7261, !14, i64 7262, !14, i64 7263, !14, i64 7264, !14, i64 7265, !14, i64 7266, !11, i64 7268, !11, i64 7272, !47, i64 7280, !12, i64 7288, !6, i64 7296, !48, i64 7304, !11, i64 7308, !11, i64 7312, !14, i64 7316, !14, i64 7317, !6, i64 7320, !11, i64 7328, !13, i64 7332, !11, i64 7336, !49, i64 7340, !50, i64 7360, !51, i64 7408, !52, i64 7520, !53, i64 7536, !54, i64 7552, !16, i64 7568, !55, i64 7584, !56, i64 7600, !57, i64 7616, !57, i64 7632, !58, i64 7648, !6, i64 7664, !11, i64 7672, !11, i64 7676, !11, i64 7680, !11, i64 7684, !11, i64 7688, !11, i64 7692, !11, i64 7696, !11, i64 7700, !11, i64 7704, !11, i64 7708, !11, i64 7712, !48, i64 7716, !24, i64 7720, !11, i64 7736, !19, i64 7740, !11, i64 7744, !14, i64 7748, !14, i64 7749, !14, i64 7750, !14, i64 7751, !14, i64 7752, !14, i64 7753, !14, i64 7754, !11, i64 7756, !24, i64 7760, !14, i64 7776, !11, i64 7780, !59, i64 7784, !11, i64 7788, !11, i64 7792, !11, i64 7796, !11, i64 7800, !60, i64 7808, !60, i64 7856, !60, i64 7904, !6, i64 7952, !11, i64 7960, !6, i64 7968, !6, i64 7976, !6, i64 7984, !13, i64 7992, !13, i64 7996, !14, i64 8000, !6, i64 8008, !6, i64 8016, !11, i64 8024, !11, i64 8028, !11, i64 8032, !11, i64 8036, !14, i64 8040, !13, i64 8044, !11, i64 8048, !14, i64 8052, !14, i64 8053, !14, i64 8054, !11, i64 8056, !11, i64 8060, !11, i64 8064, !61, i64 8072, !24, i64 8136, !11, i64 8152, !11, i64 8156, !13, i64 8160, !11, i64 8164, !11, i64 8168, !11, i64 8172, !11, i64 8176, !62, i64 8184, !7, i64 8200, !6, i64 8216, !11, i64 8224, !63, i64 8232, !65, i64 8272, !22, i64 8288, !39, i64 8304, !6, i64 8320, !66, i64 8328, !68, i64 8368, !69, i64 8384, !12, i64 8400, !70, i64 8408, !74, i64 12144, !11, i64 12256, !11, i64 12260, !13, i64 12264, !13, i64 12268, !7, i64 12272, !37, i64 12284, !76, i64 12300, !13, i64 12348, !14, i64 12352, !14, i64 12353, !13, i64 12356, !13, i64 12360, !13, i64 12364, !13, i64 12368, !11, i64 12372, !13, i64 12376, !71, i64 12384, !16, i64 12400, !12, i64 12416, !12, i64 12424, !7, i64 12432, !14, i64 12433, !13, i64 12436, !77, i64 12440, !78, i64 12456, !79, i64 12472, !80, i64 12488, !81, i64 12504, !11, i64 12520, !14, i64 12524, !82, i64 12528, !6, i64 12536, !77, i64 12544, !6, i64 12560, !6, i64 12568, !13, i64 12576, !14, i64 12580, !11, i64 12584, !11, i64 12588, !11, i64 12592, !14, i64 12596, !11, i64 12600, !83, i64 12604, !7, i64 12620, !11, i64 13100, !11, i64 13104, !13, i64 13108, !11, i64 13112, !11, i64 13116, !11, i64 13120, !7, i64 13124}
!42 = !{!"_ZTS7ImGuiIO", !11, i64 0, !11, i64 4, !12, i64 8, !13, i64 16, !13, i64 20, !6, i64 24, !6, i64 32, !13, i64 40, !13, i64 44, !13, i64 48, !7, i64 52, !13, i64 140, !13, i64 144, !6, i64 152, !6, i64 160, !13, i64 168, !14, i64 172, !6, i64 176, !12, i64 184, !14, i64 192, !14, i64 193, !14, i64 194, !14, i64 195, !14, i64 196, !14, i64 197, !13, 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, !12, i64 288, !7, i64 296, !13, i64 304, !13, i64 308, !14, i64 312, !14, i64 313, !14, i64 314, !14, i64 315, !7, i64 316, !7, i64 828, !14, i64 908, !14, i64 909, !14, i64 910, !14, i64 911, !14, i64 912, !14, i64 913, !14, i64 914, !13, i64 916, !11, i64 920, !11, i64 924, !11, i64 928, !11, i64 932, !11, i64 936, !12, i64 940, !11, i64 948, !11, i64 952, !12, i64 956, !7, i64 964, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5352, !13, i64 5432, !15, i64 5436, !31, i64 5440}
!43 = !{!"_ZTS10ImGuiStyle", !13, i64 0, !13, i64 4, !12, i64 8, !13, i64 16, !13, i64 20, !12, i64 24, !12, i64 32, !11, i64 40, !13, i64 44, !13, i64 48, !13, i64 52, !13, i64 56, !12, i64 60, !13, i64 68, !13, i64 72, !12, i64 76, !12, i64 84, !12, i64 92, !12, i64 100, !13, i64 108, !13, i64 112, !13, i64 116, !13, i64 120, !13, i64 124, !13, i64 128, !13, i64 132, !13, i64 136, !13, i64 140, !13, i64 144, !11, i64 148, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176, !13, i64 184, !14, i64 188, !14, i64 189, !14, i64 190, !13, i64 192, !13, i64 196, !7, i64 200}
!44 = !{!"_ZTS20ImDrawListSharedData", !12, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !37, i64 28, !11, i64 44, !7, i64 48, !13, i64 432, !7, i64 436, !6, i64 504}
!45 = !{!"double", !7, i64 0}
!46 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!47 = !{!"long long", !7, i64 0}
!48 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!49 = !{!"_ZTS17ImGuiNextItemData", !11, i64 0, !13, i64 4, !11, i64 8, !11, i64 12, !14, i64 16}
!50 = !{!"_ZTS17ImGuiLastItemData", !11, i64 0, !11, i64 4, !11, i64 8, !24, i64 12, !24, i64 28}
!51 = !{!"_ZTS19ImGuiNextWindowData", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !14, i64 56, !24, i64 60, !6, i64 80, !6, i64 88, !13, i64 96, !12, i64 100}
!52 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !11, i64 0, !11, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !11, i64 0, !11, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorIP6ImFontE", !11, i64 0, !11, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorIiE", !11, i64 0, !11, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !11, i64 0, !11, i64 4, !6, i64 8}
!59 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!60 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !11, i64 8, !11, i64 12, !24, i64 16, !13, i64 32, !13, i64 36, !13, i64 40}
!61 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !7, i64 24, !14, i64 57, !14, i64 58}
!62 = !{!"_ZTS8ImVectorIhE", !11, i64 0, !11, i64 4, !6, i64 8}
!63 = !{!"_ZTS6ImPoolI10ImGuiTableE", !64, i64 0, !26, i64 16, !11, i64 32, !11, i64 36}
!64 = !{!"_ZTS8ImVectorI10ImGuiTableE", !11, i64 0, !11, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!66 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !67, i64 0, !26, i64 16, !11, i64 32, !11, i64 36}
!67 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !11, i64 0, !11, i64 4, !6, i64 8}
!68 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !11, i64 0, !11, i64 4, !6, i64 8}
!69 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !11, i64 0, !11, i64 4, !6, i64 8}
!70 = !{!"_ZTS19ImGuiInputTextState", !11, i64 0, !11, i64 4, !11, i64 8, !31, i64 16, !71, i64 32, !71, i64 48, !14, i64 64, !11, i64 68, !13, i64 72, !72, i64 76, !13, i64 3704, !14, i64 3708, !14, i64 3709, !14, i64 3710, !11, i64 3712, !6, i64 3720, !6, i64 3728}
!71 = !{!"_ZTS8ImVectorIcE", !11, i64 0, !11, i64 4, !6, i64 8}
!72 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 12, !11, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !13, i64 28, !73, i64 32}
!73 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !15, i64 3582, !15, i64 3584, !11, i64 3588, !11, i64 3592}
!74 = !{!"_ZTS6ImFont", !22, i64 0, !13, i64 16, !13, i64 20, !31, i64 24, !75, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !15, i64 80, !15, i64 82, !15, i64 84, !15, i64 86, !14, i64 88, !13, i64 92, !13, i64 96, !13, i64 100, !11, i64 104, !7, i64 108}
!75 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !11, i64 0, !11, i64 4, !6, i64 8}
!76 = !{!"_ZTS21ImGuiComboPreviewData", !24, i64 0, !12, i64 16, !12, i64 24, !12, i64 32, !13, i64 40, !11, i64 44}
!77 = !{!"_ZTS15ImGuiTextBuffer", !71, i64 0}
!78 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !11, i64 0, !11, i64 4, !6, i64 8}
!79 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !71, i64 0}
!80 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !71, i64 0}
!81 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !11, i64 0, !11, i64 4, !6, i64 8}
!82 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!83 = !{!"_ZTS18ImGuiMetricsConfig", !14, i64 0, !14, i64 1, !14, i64 2, !14, i64 3, !14, i64 4, !11, i64 8, !11, i64 12}
!84 = !{!41, !11, i64 7128}
!85 = !{!86, !6, i64 0}
!86 = !{!"_ZTS20ImGuiWindowStackData", !6, i64 0, !50, i64 8}
!87 = !{!41, !13, i64 5548}
!88 = !{!13, !13, i64 0}
!89 = !{!10, !14, i64 306}
!90 = !{i8 0, i8 2}
!91 = !{}
!92 = !{!10, !13, i64 548}
!93 = !{!10, !13, i64 556}
!94 = !{i64 0, i64 4, !88, i64 4, i64 4, !88, i64 8, i64 4, !88, i64 12, i64 4, !88}
!95 = !{!10, !13, i64 16}
!96 = !{!10, !13, i64 24}
!97 = !{!10, !13, i64 132}
!98 = !{!10, !13, i64 20}
!99 = !{!41, !13, i64 5648}
!100 = !{!41, !14, i64 7750}
!101 = !{!41, !14, i64 7751}
!102 = !{!41, !11, i64 8}
!103 = !{!12, !13, i64 0}
!104 = !{!12, !13, i64 4}


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

%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }

@GImGui = external dso_local local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.192 = external hidden unnamed_addr constant [26 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow = external hidden unnamed_addr constant [55 x i8], align 1

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

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

; Function Attrs: mustprogress 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) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local <2 x float> @_ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow(ptr noundef %0) local_unnamed_addr #5 {
  %2 = alloca %struct.ImRect, align 8
  %3 = alloca %struct.ImRect, align 4
  %4 = alloca %struct.ImRect, align 4
  %5 = alloca %struct.ImRect, align 4
  %6 = alloca %struct.ImRect, align 4
  %7 = alloca %struct.ImVec2, align 8
  %8 = alloca %struct.ImRect, align 4
  %9 = alloca %struct.ImRect, align 4
  %10 = alloca %struct.ImRect, align 4
  %11 = load ptr, ptr @GImGui, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #7
  %12 = tail call { <2 x float>, <2 x float> } @_ZN5ImGui25GetPopupAllowedExtentRectEP11ImGuiWindow(ptr noundef %0)
  %13 = extractvalue { <2 x float>, <2 x float> } %12, 0
  store <2 x float> %13, ptr %2, align 8
  %14 = getelementptr inbounds i8, ptr %2, i64 8
  %15 = extractvalue { <2 x float>, <2 x float> } %12, 1
  store <2 x float> %15, ptr %14, align 8
  %16 = getelementptr inbounds i8, ptr %0, i64 12
  %17 = load i32, ptr %16, align 4, !tbaa !9
  %18 = and i32 %17, 268435456
  %.not = icmp eq i32 %18, 0
  br i1 %.not, label %56, label %19

19:                                               ; preds = %1
  %20 = getelementptr inbounds i8, ptr %11, i64 7176
  %21 = load ptr, ptr %20, align 8, !tbaa !40
  %22 = icmp eq ptr %21, %0
  br i1 %22, label %24, label %23

23:                                               ; preds = %19
  tail call void @__assert_fail(ptr noundef nonnull @.str.192, ptr noundef nonnull @.str.3, i32 noundef 8629, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow) #8
  unreachable

24:                                               ; preds = %19
  %25 = getelementptr inbounds i8, ptr %11, i64 7128
  %26 = load i32, ptr %25, align 8, !tbaa !84
  %27 = add nsw i32 %26, -2
  %28 = tail call noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI20ImGuiWindowStackDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %25, i32 noundef %27)
  %29 = load ptr, ptr %28, align 8, !tbaa !85
  %30 = getelementptr inbounds i8, ptr %11, i64 5548
  %31 = load float, ptr %30, align 4, !tbaa !87
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #7
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %3)
  %32 = getelementptr inbounds i8, ptr %29, i64 306
  %33 = load i8, ptr %32, align 2, !tbaa !88, !range !89, !noundef !90
  %34 = trunc nuw i8 %33 to i1
  br i1 %34, label %35, label %40

35:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  %36 = getelementptr inbounds i8, ptr %29, i64 548
  %37 = load float, ptr %36, align 4, !tbaa !91
  %38 = getelementptr inbounds i8, ptr %29, i64 556
  %39 = load float, ptr %38, align 4, !tbaa !92
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %4, float noundef 0xC7EFFFFFE0000000, float noundef %37, float noundef 0x47EFFFFFE0000000, float noundef %39)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(16) %4, i64 16, i1 false), !tbaa.struct !93
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  br label %51

40:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  %41 = getelementptr inbounds i8, ptr %29, i64 16
  %42 = load float, ptr %41, align 8, !tbaa !95
  %43 = fadd float %31, %42
  %44 = getelementptr inbounds i8, ptr %29, i64 24
  %45 = load float, ptr %44, align 8, !tbaa !96
  %46 = fadd float %42, %45
  %47 = fsub float %46, %31
  %48 = getelementptr inbounds i8, ptr %29, i64 132
  %49 = load float, ptr %48, align 4, !tbaa !97
  %50 = fsub float %47, %49
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef %43, float noundef 0xC7EFFFFFE0000000, float noundef %50, float noundef 0x47EFFFFFE0000000)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(16) %5, i64 16, i1 false), !tbaa.struct !93
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  br label %51

51:                                               ; preds = %40, %35
  %52 = getelementptr inbounds i8, ptr %0, i64 16
  %53 = getelementptr inbounds i8, ptr %0, i64 24
  %54 = getelementptr inbounds i8, ptr %0, i64 172
  %55 = call <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_PiRK6ImRectS6_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8) %52, ptr noundef nonnull align 4 dereferenceable(8) %53, ptr noundef nonnull %54, ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %3, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  br label %104

56:                                               ; preds = %1
  %57 = and i32 %17, 67108864
  %.not36 = icmp eq i32 %57, 0
  br i1 %.not36, label %70, label %58

58:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #7
  %59 = getelementptr inbounds i8, ptr %0, i64 16
  %60 = load float, ptr %59, align 8, !tbaa !95
  %61 = fadd float %60, -1.000000e+00
  %62 = getelementptr inbounds i8, ptr %0, i64 20
  %63 = load float, ptr %62, align 4, !tbaa !98
  %64 = fadd float %63, -1.000000e+00
  %65 = fadd float %60, 1.000000e+00
  %66 = fadd float %63, 1.000000e+00
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %6, float noundef %61, float noundef %64, float noundef %65, float noundef %66)
  %67 = getelementptr inbounds i8, ptr %0, i64 24
  %68 = getelementptr inbounds i8, ptr %0, i64 172
  %69 = call <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_PiRK6ImRectS6_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8) %59, ptr noundef nonnull align 4 dereferenceable(8) %67, ptr noundef nonnull %68, ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %6, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  br label %104

70:                                               ; preds = %56
  %71 = and i32 %17, 33554432
  %.not37 = icmp eq i32 %71, 0
  br i1 %.not37, label %103, label %72

72:                                               ; preds = %70
  %73 = getelementptr inbounds i8, ptr %11, i64 5648
  %74 = load float, ptr %73, align 8, !tbaa !99
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %75 = tail call <2 x float> @_ZN5ImGuiL22NavCalcPreferredRefPosEv()
  store <2 x float> %75, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %8)
  %76 = getelementptr inbounds i8, ptr %11, i64 7750
  %77 = load i8, ptr %76, align 2, !tbaa !100, !range !89, !noundef !90
  %78 = trunc nuw i8 %77 to i1
  %79 = extractelement <2 x float> %75, i64 0
  %80 = extractelement <2 x float> %75, i64 1
  br i1 %78, label %94, label %81

81:                                               ; preds = %72
  %82 = getelementptr inbounds i8, ptr %11, i64 7751
  %83 = load i8, ptr %82, align 1, !tbaa !101, !range !89, !noundef !90
  %84 = trunc nuw i8 %83 to i1
  br i1 %84, label %85, label %94

85:                                               ; preds = %81
  %86 = getelementptr inbounds i8, ptr %11, i64 8
  %87 = load i32, ptr %86, align 8, !tbaa !102
  %88 = and i32 %87, 4
  %.not38 = icmp eq i32 %88, 0
  br i1 %.not38, label %89, label %94

89:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #7
  %90 = fadd float %79, -1.600000e+01
  %91 = fadd float %80, -8.000000e+00
  %92 = fadd float %79, 1.600000e+01
  %93 = fadd float %80, 8.000000e+00
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %9, float noundef %90, float noundef %91, float noundef %92, float noundef %93)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(16) %9, i64 16, i1 false), !tbaa.struct !93
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  br label %99

94:                                               ; preds = %85, %81, %72
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #7
  %95 = fadd float %79, -1.600000e+01
  %96 = fadd float %80, -8.000000e+00
  %97 = call float @llvm.fmuladd.f32(float %74, float 2.400000e+01, float %79)
  %98 = call float @llvm.fmuladd.f32(float %74, float 2.400000e+01, float %80)
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %10, float noundef %95, float noundef %96, float noundef %97, float noundef %98)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %8, ptr noundef nonnull align 4 dereferenceable(16) %10, i64 16, i1 false), !tbaa.struct !93
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  br label %99

99:                                               ; preds = %94, %89
  %100 = getelementptr inbounds i8, ptr %0, i64 24
  %101 = getelementptr inbounds i8, ptr %0, i64 172
  %102 = call <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_PiRK6ImRectS6_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %100, ptr noundef nonnull %101, ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %8, i32 noundef 2)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  br label %104

103:                                              ; preds = %70
  tail call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.3, i32 noundef 8656, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui25FindBestWindowPosForPopupEP11ImGuiWindow) #8
  unreachable

104:                                              ; preds = %99, %58, %51
  %.sroa.0.0 = phi <2 x float> [ %55, %51 ], [ %69, %58 ], [ %102, %99 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #7
  ret <2 x float> %.sroa.0.0
}

; Function Attrs: mustprogress uwtable
declare hidden <2 x float> @_ZN5ImGuiL22NavCalcPreferredRefPosEv() local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN5ImGui27FindBestWindowPosForPopupExERK6ImVec2S2_PiRK6ImRectS6_24ImGuiPopupPositionPolicy(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN5ImGui25GetPopupAllowedExtentRectEP11ImGuiWindow(ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(52) ptr @_ZN8ImVectorI20ImGuiWindowStackDataEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #6 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { nounwind }
attributes #8 = { 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, !11, i64 12}
!10 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !11, i64 8, !11, i64 12, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !13, i64 72, !13, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !12, i64 92, !12, i64 100, !12, i64 108, !12, i64 116, !12, i64 124, !12, i64 132, !14, i64 140, !14, i64 141, !14, i64 142, !14, i64 143, !14, i64 144, !14, i64 145, !14, i64 146, !14, i64 147, !14, i64 148, !14, i64 149, !14, i64 150, !14, i64 151, !7, i64 152, !15, i64 154, !15, i64 156, !15, i64 158, !15, i64 160, !11, i64 164, !7, i64 168, !7, i64 169, !7, i64 170, !14, i64 171, !11, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !7, i64 179, !11, i64 180, !11, i64 181, !11, i64 182, !12, i64 184, !12, i64 192, !16, i64 200, !17, i64 216, !24, i64 464, !24, i64 480, !24, i64 496, !24, i64 512, !24, i64 528, !24, i64 544, !24, i64 560, !25, i64 576, !25, i64 580, !11, i64 584, !13, i64 588, !13, i64 592, !26, i64 600, !28, i64 616, !13, i64 632, !11, i64 636, !6, i64 640, !29, i64 648, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !7, i64 888, !7, i64 896, !11, i64 928, !11, i64 932, !14, i64 936}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"short", !7, i64 0}
!16 = !{!"_ZTS8ImVectorIjE", !11, i64 0, !11, i64 4, !6, i64 8}
!17 = !{!"_ZTS19ImGuiWindowTempData", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !13, i64 56, !13, i64 60, !18, i64 64, !18, i64 68, !18, i64 72, !19, i64 76, !15, i64 80, !15, i64 82, !11, i64 84, !14, i64 88, !14, i64 89, !14, i64 90, !12, i64 92, !20, i64 100, !11, i64 128, !11, i64 132, !21, i64 136, !6, i64 152, !6, i64 160, !11, i64 168, !11, i64 172, !11, i64 176, !11, i64 180, !11, i64 184, !13, i64 188, !13, i64 192, !22, i64 200, !22, i64 216, !23, i64 232}
!18 = !{!"_ZTS6ImVec1", !13, i64 0}
!19 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!20 = !{!"_ZTS16ImGuiMenuColumns", !11, i64 0, !11, i64 4, !15, i64 8, !15, i64 10, !15, i64 12, !15, i64 14, !15, i64 16, !7, i64 18}
!21 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !11, i64 0, !11, i64 4, !6, i64 8}
!22 = !{!"_ZTS8ImVectorIfE", !11, i64 0, !11, i64 4, !6, i64 8}
!23 = !{!"_ZTS15ImGuiStackSizes", !15, i64 0, !15, i64 2, !15, i64 4, !15, i64 6, !15, i64 8, !15, i64 10, !15, i64 12}
!24 = !{!"_ZTS6ImRect", !12, i64 0, !12, i64 8}
!25 = !{!"_ZTS8ImVec2ih", !15, i64 0, !15, i64 2}
!26 = !{!"_ZTS12ImGuiStorage", !27, i64 0}
!27 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !11, i64 0, !11, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !11, i64 0, !11, i64 4, !6, i64 8}
!29 = !{!"_ZTS10ImDrawList", !30, i64 0, !31, i64 16, !32, i64 32, !11, i64 48, !11, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !33, i64 88, !34, i64 104, !35, i64 120, !36, i64 136, !38, i64 168, !13, i64 192}
!30 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !11, i64 0, !11, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorItE", !11, i64 0, !11, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorI10ImDrawVertE", !11, i64 0, !11, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI6ImVec4E", !11, i64 0, !11, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorIPvE", !11, i64 0, !11, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI6ImVec2E", !11, i64 0, !11, i64 4, !6, i64 8}
!36 = !{!"_ZTS15ImDrawCmdHeader", !37, i64 0, !6, i64 16, !11, i64 24}
!37 = !{!"_ZTS6ImVec4", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!38 = !{!"_ZTS18ImDrawListSplitter", !11, i64 0, !11, i64 4, !39, i64 8}
!39 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !11, i64 0, !11, i64 4, !6, i64 8}
!40 = !{!41, !6, i64 7176}
!41 = !{!"_ZTS12ImGuiContext", !14, i64 0, !14, i64 1, !42, i64 8, !43, i64 5464, !6, i64 6512, !13, i64 6520, !13, i64 6524, !44, i64 6528, !45, i64 7040, !11, i64 7048, !11, i64 7052, !11, i64 7056, !14, i64 7060, !14, i64 7061, !14, i64 7062, !14, i64 7063, !14, i64 7064, !11, i64 7068, !6, i64 7072, !21, i64 7080, !21, i64 7096, !21, i64 7112, !46, i64 7128, !26, i64 7144, !11, i64 7160, !12, i64 7164, !6, i64 7176, !6, i64 7184, !6, i64 7192, !6, i64 7200, !6, i64 7208, !12, i64 7216, !13, i64 7224, !11, i64 7228, !11, i64 7232, !14, i64 7236, !14, i64 7237, !14, i64 7238, !14, i64 7239, !13, i64 7240, !13, i64 7244, !11, i64 7248, !11, i64 7252, !13, i64 7256, !14, i64 7260, !14, i64 7261, !14, i64 7262, !14, i64 7263, !14, i64 7264, !14, i64 7265, !14, i64 7266, !11, i64 7268, !11, i64 7272, !47, i64 7280, !12, i64 7288, !6, i64 7296, !48, i64 7304, !11, i64 7308, !11, i64 7312, !14, i64 7316, !14, i64 7317, !6, i64 7320, !11, i64 7328, !13, i64 7332, !11, i64 7336, !49, i64 7340, !50, i64 7360, !51, i64 7408, !52, i64 7520, !53, i64 7536, !54, i64 7552, !16, i64 7568, !55, i64 7584, !56, i64 7600, !57, i64 7616, !57, i64 7632, !58, i64 7648, !6, i64 7664, !11, i64 7672, !11, i64 7676, !11, i64 7680, !11, i64 7684, !11, i64 7688, !11, i64 7692, !11, i64 7696, !11, i64 7700, !11, i64 7704, !11, i64 7708, !11, i64 7712, !48, i64 7716, !24, i64 7720, !11, i64 7736, !19, i64 7740, !11, i64 7744, !14, i64 7748, !14, i64 7749, !14, i64 7750, !14, i64 7751, !14, i64 7752, !14, i64 7753, !14, i64 7754, !11, i64 7756, !24, i64 7760, !14, i64 7776, !11, i64 7780, !59, i64 7784, !11, i64 7788, !11, i64 7792, !11, i64 7796, !11, i64 7800, !60, i64 7808, !60, i64 7856, !60, i64 7904, !6, i64 7952, !11, i64 7960, !6, i64 7968, !6, i64 7976, !6, i64 7984, !13, i64 7992, !13, i64 7996, !14, i64 8000, !6, i64 8008, !6, i64 8016, !11, i64 8024, !11, i64 8028, !11, i64 8032, !11, i64 8036, !14, i64 8040, !13, i64 8044, !11, i64 8048, !14, i64 8052, !14, i64 8053, !14, i64 8054, !11, i64 8056, !11, i64 8060, !11, i64 8064, !61, i64 8072, !24, i64 8136, !11, i64 8152, !11, i64 8156, !13, i64 8160, !11, i64 8164, !11, i64 8168, !11, i64 8172, !11, i64 8176, !62, i64 8184, !7, i64 8200, !6, i64 8216, !11, i64 8224, !63, i64 8232, !65, i64 8272, !22, i64 8288, !39, i64 8304, !6, i64 8320, !66, i64 8328, !68, i64 8368, !69, i64 8384, !12, i64 8400, !70, i64 8408, !74, i64 12144, !11, i64 12256, !11, i64 12260, !13, i64 12264, !13, i64 12268, !7, i64 12272, !37, i64 12284, !76, i64 12300, !13, i64 12348, !14, i64 12352, !14, i64 12353, !13, i64 12356, !13, i64 12360, !13, i64 12364, !13, i64 12368, !11, i64 12372, !13, i64 12376, !71, i64 12384, !16, i64 12400, !12, i64 12416, !12, i64 12424, !7, i64 12432, !14, i64 12433, !13, i64 12436, !77, i64 12440, !78, i64 12456, !79, i64 12472, !80, i64 12488, !81, i64 12504, !11, i64 12520, !14, i64 12524, !82, i64 12528, !6, i64 12536, !77, i64 12544, !6, i64 12560, !6, i64 12568, !13, i64 12576, !14, i64 12580, !11, i64 12584, !11, i64 12588, !11, i64 12592, !14, i64 12596, !11, i64 12600, !83, i64 12604, !7, i64 12620, !11, i64 13100, !11, i64 13104, !13, i64 13108, !11, i64 13112, !11, i64 13116, !11, i64 13120, !7, i64 13124}
!42 = !{!"_ZTS7ImGuiIO", !11, i64 0, !11, i64 4, !12, i64 8, !13, i64 16, !13, i64 20, !6, i64 24, !6, i64 32, !13, i64 40, !13, i64 44, !13, i64 48, !7, i64 52, !13, i64 140, !13, i64 144, !6, i64 152, !6, i64 160, !13, i64 168, !14, i64 172, !6, i64 176, !12, i64 184, !14, i64 192, !14, i64 193, !14, i64 194, !14, i64 195, !14, i64 196, !14, i64 197, !13, 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, !12, i64 288, !7, i64 296, !13, i64 304, !13, i64 308, !14, i64 312, !14, i64 313, !14, i64 314, !14, i64 315, !7, i64 316, !7, i64 828, !14, i64 908, !14, i64 909, !14, i64 910, !14, i64 911, !14, i64 912, !14, i64 913, !14, i64 914, !13, i64 916, !11, i64 920, !11, i64 924, !11, i64 928, !11, i64 932, !11, i64 936, !12, i64 940, !11, i64 948, !11, i64 952, !12, i64 956, !7, i64 964, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5352, !13, i64 5432, !15, i64 5436, !31, i64 5440}
!43 = !{!"_ZTS10ImGuiStyle", !13, i64 0, !13, i64 4, !12, i64 8, !13, i64 16, !13, i64 20, !12, i64 24, !12, i64 32, !11, i64 40, !13, i64 44, !13, i64 48, !13, i64 52, !13, i64 56, !12, i64 60, !13, i64 68, !13, i64 72, !12, i64 76, !12, i64 84, !12, i64 92, !12, i64 100, !13, i64 108, !13, i64 112, !13, i64 116, !13, i64 120, !13, i64 124, !13, i64 128, !13, i64 132, !13, i64 136, !13, i64 140, !13, i64 144, !11, i64 148, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176, !13, i64 184, !14, i64 188, !14, i64 189, !14, i64 190, !13, i64 192, !13, i64 196, !7, i64 200}
!44 = !{!"_ZTS20ImDrawListSharedData", !12, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !37, i64 28, !11, i64 44, !7, i64 48, !13, i64 432, !7, i64 436, !6, i64 504}
!45 = !{!"double", !7, i64 0}
!46 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!47 = !{!"long long", !7, i64 0}
!48 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!49 = !{!"_ZTS17ImGuiNextItemData", !11, i64 0, !13, i64 4, !11, i64 8, !11, i64 12, !14, i64 16}
!50 = !{!"_ZTS17ImGuiLastItemData", !11, i64 0, !11, i64 4, !11, i64 8, !24, i64 12, !24, i64 28}
!51 = !{!"_ZTS19ImGuiNextWindowData", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !14, i64 56, !24, i64 60, !6, i64 80, !6, i64 88, !13, i64 96, !12, i64 100}
!52 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !11, i64 0, !11, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !11, i64 0, !11, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorIP6ImFontE", !11, i64 0, !11, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorIiE", !11, i64 0, !11, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !11, i64 0, !11, i64 4, !6, i64 8}
!59 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!60 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !11, i64 8, !11, i64 12, !24, i64 16, !13, i64 32, !13, i64 36, !13, i64 40}
!61 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !7, i64 24, !14, i64 57, !14, i64 58}
!62 = !{!"_ZTS8ImVectorIhE", !11, i64 0, !11, i64 4, !6, i64 8}
!63 = !{!"_ZTS6ImPoolI10ImGuiTableE", !64, i64 0, !26, i64 16, !11, i64 32, !11, i64 36}
!64 = !{!"_ZTS8ImVectorI10ImGuiTableE", !11, i64 0, !11, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!66 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !67, i64 0, !26, i64 16, !11, i64 32, !11, i64 36}
!67 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !11, i64 0, !11, i64 4, !6, i64 8}
!68 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !11, i64 0, !11, i64 4, !6, i64 8}
!69 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !11, i64 0, !11, i64 4, !6, i64 8}
!70 = !{!"_ZTS19ImGuiInputTextState", !11, i64 0, !11, i64 4, !11, i64 8, !31, i64 16, !71, i64 32, !71, i64 48, !14, i64 64, !11, i64 68, !13, i64 72, !72, i64 76, !13, i64 3704, !14, i64 3708, !14, i64 3709, !14, i64 3710, !11, i64 3712, !6, i64 3720, !6, i64 3728}
!71 = !{!"_ZTS8ImVectorIcE", !11, i64 0, !11, i64 4, !6, i64 8}
!72 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 12, !11, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !13, i64 28, !73, i64 32}
!73 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !15, i64 3582, !15, i64 3584, !11, i64 3588, !11, i64 3592}
!74 = !{!"_ZTS6ImFont", !22, i64 0, !13, i64 16, !13, i64 20, !31, i64 24, !75, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !15, i64 80, !15, i64 82, !15, i64 84, !15, i64 86, !14, i64 88, !13, i64 92, !13, i64 96, !13, i64 100, !11, i64 104, !7, i64 108}
!75 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !11, i64 0, !11, i64 4, !6, i64 8}
!76 = !{!"_ZTS21ImGuiComboPreviewData", !24, i64 0, !12, i64 16, !12, i64 24, !12, i64 32, !13, i64 40, !11, i64 44}
!77 = !{!"_ZTS15ImGuiTextBuffer", !71, i64 0}
!78 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !11, i64 0, !11, i64 4, !6, i64 8}
!79 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !71, i64 0}
!80 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !71, i64 0}
!81 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !11, i64 0, !11, i64 4, !6, i64 8}
!82 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!83 = !{!"_ZTS18ImGuiMetricsConfig", !14, i64 0, !14, i64 1, !14, i64 2, !14, i64 3, !14, i64 4, !11, i64 8, !11, i64 12}
!84 = !{!41, !11, i64 7128}
!85 = !{!86, !6, i64 0}
!86 = !{!"_ZTS20ImGuiWindowStackData", !6, i64 0, !50, i64 8}
!87 = !{!41, !13, i64 5548}
!88 = !{!10, !14, i64 306}
!89 = !{i8 0, i8 2}
!90 = !{}
!91 = !{!10, !13, i64 548}
!92 = !{!10, !13, i64 556}
!93 = !{i64 0, i64 4, !94, i64 4, i64 4, !94, i64 8, i64 4, !94, i64 12, i64 4, !94}
!94 = !{!13, !13, i64 0}
!95 = !{!10, !13, i64 16}
!96 = !{!10, !13, i64 24}
!97 = !{!10, !13, i64 132}
!98 = !{!10, !13, i64 20}
!99 = !{!41, !13, i64 5648}
!100 = !{!41, !14, i64 7750}
!101 = !{!41, !14, i64 7751}
!102 = !{!41, !11, i64 8}


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