; LLVM IR from Samson-Mano/EM_Propogation_simulation :: EM_Propogation_simulation/src/ImGui (imgui_tables)

; 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.ImGuiTable = type <{ i32, i32, ptr, ptr, %struct.ImSpan, %struct.ImSpan.35, %struct.ImSpan.36, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i16, i16, float, float, float, float, float, i32, i32, [2 x i32], i32, i32, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, ptr, ptr, %struct.ImGuiTextBuffer, ptr, %struct.ImGuiTableInstanceData, %struct.ImVector.37, %struct.ImGuiTableColumnSortSpecs, [4 x i8], %struct.ImVector.38, %struct.ImGuiTableSortSpecs, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, [5 x i8] }>
%struct.ImSpan = type { ptr, ptr }
%struct.ImSpan.35 = type { ptr, ptr }
%struct.ImSpan.36 = type { ptr, ptr }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImGuiTextBuffer = type { %struct.ImVector.24 }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImGuiTableInstanceData = type { i32, float, float, float }
%struct.ImVector.37 = type { i32, i32, ptr }
%struct.ImGuiTableColumnSortSpecs = type <{ i32, i16, i16, i8, [3 x i8] }>
%struct.ImVector.38 = type { i32, i32, ptr }
%struct.ImGuiTableSortSpecs = type <{ ptr, i32, i8, [3 x i8] }>
%struct.ImGuiContext = type { i8, i8, %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, ptr, %struct.ImVector.1, %struct.ImVector.1, i32, i32, %struct.ImVector.2, %struct.ImVector.2, %struct.ImVector.2, %struct.ImVector.3, %struct.ImGuiStorage, i32, %struct.ImVec2, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, i32, float, %struct.ImVec2, %struct.ImVec2, i32, i32, i32, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, ptr, i32, float, [140 x %struct.ImGuiKeyOwnerData], %struct.ImGuiKeyRoutingTable, i32, i8, i32, i32, i32, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, %struct.ImGuiNextWindowData, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImVector.12, %struct.ImVector.12, i32, %struct.ImVector.13, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, i32, i32, ptr, ptr, ptr, float, float, i8, %struct.ImVec2, %struct.ImVec2, float, i32, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, %struct.ImVector.14, [16 x i8], i32, %struct.ImVector.15, ptr, i32, %struct.ImVector.16, %struct.ImPool, %struct.ImVector.18, %struct.ImVector.19, ptr, %struct.ImPool.20, %struct.ImVector.22, %struct.ImVector.23, i32, i32, float, float, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImGuiInputTextDeactivatedState, %struct.ImFont, i32, i32, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, float, float, i8, i8, float, float, float, float, i16, i16, %struct.ImVector.24, %struct.ImVector.9, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i8, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.26, %struct.ImChunkStream, %struct.ImChunkStream.27, %struct.ImVector.28, i32, [7 x ptr], i8, i32, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, i32, %struct.ImGuiTextBuffer, %struct.ImGuiTextIndex, i8, i8, i8, i8, i8, i32, %struct.ImGuiMetricsConfig, %struct.ImGuiStackTool, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.24 }
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, float, float, float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, float, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, [652 x i32], [652 x i8], [16 x float], ptr, %struct.ImVec2, [5 x i8], float, float, i32, i8, i8, i8, i8, i32, [652 x %struct.ImGuiKeyData], i8, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i16], [5 x i16], [5 x i8], [5 x i8], [5 x i8], i8, [5 x float], [5 x float], [5 x float], float, i8, i8, i8, i8, i16, %struct.ImVector }
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, float, %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, %struct.ImVector.0, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.4 }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImGuiKeyOwnerData = type <{ i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiKeyRoutingTable = type { [140 x i16], %struct.ImVector.5, %struct.ImVector.5 }
%struct.ImVector.5 = 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.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.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.8 = 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.ImVector.13 = type { i32, i32, ptr }
%struct.ImGuiNavItemData = type { ptr, i32, i32, %struct.ImRect, i32, float, float, float }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.17, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImPool.20 = type { %struct.ImVector.21, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type <{ ptr, i32, i32, i32, [4 x i8], %struct.ImVector, %struct.ImVector.24, %struct.ImVector.24, i8, [3 x i8], i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i8, i32, [4 x i8] }>
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImStb::StbUndoState" }
%"struct.ImStb::StbUndoState" = type { [99 x %"struct.ImStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImGuiInputTextDeactivatedState = type { i32, %struct.ImVector.24 }
%struct.ImFont = type <{ %struct.ImVector.18, float, float, %struct.ImVector, %struct.ImVector.25, ptr, ptr, ptr, i16, i16, i16, i16, float, float, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImGuiPlatformImeData = type { i8, %struct.ImVec2, float }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.24 }
%struct.ImChunkStream.27 = type { %struct.ImVector.24 }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImGuiTextIndex = type <{ %struct.ImVector.10, i32, [4 x i8] }>
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiStackTool = type { i32, i32, i32, %struct.ImVector.29, i8, float }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImGuiTableSettings = type <{ i32, i32, float, i16, i16, i8, [3 x i8] }>
%struct.ImGuiTableColumn = type <{ i32, float, float, float, float, float, float, float, %struct.ImRect, i32, float, float, float, float, float, float, float, i16, i16, i16, i16, i16, i16, i16, i16, i16, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }>
%struct.ImGuiTableColumnSettings = type <{ float, i32, i16, i16, i16, i8, i8 }>

@GImGui = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [124 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [26 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui17TableSaveSettingsEP10ImGuiTable = external hidden unnamed_addr constant [44 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [101 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 uwtable
define dso_local void @_ZN5ImGui17TableSaveSettingsEP10ImGuiTable(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca i32, align 4
  %9 = alloca float, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %10 = load ptr, ptr %2, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.ImGuiTable, ptr %10, i32 0, i32 95
  store i8 0, ptr %11, align 1, !tbaa !9
  %12 = load ptr, ptr %2, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.ImGuiTable, ptr %12, i32 0, i32 1
  %14 = load i32, ptr %13, align 4, !tbaa !27
  %15 = and i32 %14, 16
  %16 = icmp ne i32 %15, 0
  br i1 %16, label %17, label %18

17:                                               ; preds = %1
  br label %250

18:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %19 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %19, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %20 = load ptr, ptr %2, align 8, !tbaa !5
  %21 = call noundef ptr @_ZN5ImGui21TableGetBoundSettingsEP10ImGuiTable(ptr noundef %20)
  store ptr %21, ptr %4, align 8, !tbaa !5
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = icmp eq ptr %22, null
  br i1 %23, label %24, label %38

24:                                               ; preds = %18
  %25 = load ptr, ptr %2, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.ImGuiTable, ptr %25, i32 0, i32 0
  %27 = load i32, ptr %26, align 8, !tbaa !28
  %28 = load ptr, ptr %2, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.ImGuiTable, ptr %28, i32 0, i32 13
  %30 = load i32, ptr %29, align 4, !tbaa !29
  %31 = call noundef ptr @_ZN5ImGui19TableSettingsCreateEji(i32 noundef %27, i32 noundef %30)
  store ptr %31, ptr %4, align 8, !tbaa !5
  %32 = load ptr, ptr %3, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.ImGuiContext, ptr %32, i32 0, i32 206
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = call noundef i32 @_ZN13ImChunkStreamI18ImGuiTableSettingsE15offset_from_ptrEPKS0_(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef %34)
  %36 = load ptr, ptr %2, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.ImGuiTable, ptr %36, i32 0, i32 11
  store i32 %35, ptr %37, align 4, !tbaa !30
  br label %38

38:                                               ; preds = %24, %18
  %39 = load ptr, ptr %2, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.ImGuiTable, ptr %39, i32 0, i32 13
  %41 = load i32, ptr %40, align 4, !tbaa !29
  %42 = trunc i32 %41 to i16
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.ImGuiTableSettings, ptr %43, i32 0, i32 3
  store i16 %42, ptr %44, align 4, !tbaa !31
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.ImGuiTableSettings, ptr %45, i32 0, i32 0
  %47 = load i32, ptr %46, align 4, !tbaa !33
  %48 = load ptr, ptr %2, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.ImGuiTable, ptr %48, i32 0, i32 0
  %50 = load i32, ptr %49, align 8, !tbaa !28
  %51 = icmp eq i32 %47, %50
  br i1 %51, label %52, label %53

52:                                               ; preds = %38
  br label %55

53:                                               ; preds = %38
  call void @__assert_fail(ptr noundef @.str.83, ptr noundef @.str.1, i32 noundef 3284, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui17TableSaveSettingsEP10ImGuiTable) #6
  unreachable

54:                                               ; No predecessors!
  br label %55

55:                                               ; preds = %54, %52
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.ImGuiTableSettings, ptr %56, i32 0, i32 3
  %58 = load i16, ptr %57, align 4, !tbaa !31
  %59 = sext i16 %58 to i32
  %60 = load ptr, ptr %2, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.ImGuiTable, ptr %60, i32 0, i32 13
  %62 = load i32, ptr %61, align 4, !tbaa !29
  %63 = icmp eq i32 %59, %62
  br i1 %63, label %64, label %74

64:                                               ; preds = %55
  %65 = load ptr, ptr %4, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.ImGuiTableSettings, ptr %65, i32 0, i32 4
  %67 = load i16, ptr %66, align 2, !tbaa !34
  %68 = sext i16 %67 to i32
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.ImGuiTableSettings, ptr %69, i32 0, i32 3
  %71 = load i16, ptr %70, align 4, !tbaa !31
  %72 = sext i16 %71 to i32
  %73 = icmp sge i32 %68, %72
  br label %74

74:                                               ; preds = %64, %55
  %75 = phi i1 [ false, %55 ], [ %73, %64 ]
  br i1 %75, label %76, label %77

76:                                               ; preds = %74
  br label %79

77:                                               ; preds = %74
  call void @__assert_fail(ptr noundef @.str.84, ptr noundef @.str.1, i32 noundef 3285, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui17TableSaveSettingsEP10ImGuiTable) #6
  unreachable

78:                                               ; No predecessors!
  br label %79

79:                                               ; preds = %78, %76
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %80 = load ptr, ptr %2, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.ImGuiTable, ptr %80, i32 0, i32 4
  %82 = getelementptr inbounds %struct.ImSpan, ptr %81, i32 0, i32 0
  %83 = load ptr, ptr %82, align 8, !tbaa !35
  store ptr %83, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = call noundef ptr @_ZN18ImGuiTableSettings17GetColumnSettingsEv(ptr noundef nonnull align 4 dereferenceable(17) %84)
  store ptr %85, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #5
  store i8 0, ptr %7, align 1, !tbaa !36
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.ImGuiTableSettings, ptr %86, i32 0, i32 1
  store i32 0, ptr %87, align 4, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !38
  br label %88

88:                                               ; preds = %224, %79
  %89 = load i32, ptr %8, align 4, !tbaa !38
  %90 = load ptr, ptr %2, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.ImGuiTable, ptr %90, i32 0, i32 13
  %92 = load i32, ptr %91, align 4, !tbaa !29
  %93 = icmp slt i32 %89, %92
  br i1 %93, label %95, label %94

94:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %231

95:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %96, i32 0, i32 0
  %98 = load i32, ptr %97, align 4, !tbaa !39
  %99 = and i32 %98, 8
  %100 = icmp ne i32 %99, 0
  br i1 %100, label %101, label %105

101:                                              ; preds = %95
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %102, i32 0, i32 6
  %104 = load float, ptr %103, align 4, !tbaa !41
  br label %109

105:                                              ; preds = %95
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %106, i32 0, i32 4
  %108 = load float, ptr %107, align 4, !tbaa !42
  br label %109

109:                                              ; preds = %105, %101
  %110 = phi float [ %104, %101 ], [ %108, %105 ]
  store float %110, ptr %9, align 4, !tbaa !43
  %111 = load float, ptr %9, align 4, !tbaa !43
  %112 = load ptr, ptr %6, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.ImGuiTableColumnSettings, ptr %112, i32 0, i32 0
  store float %111, ptr %113, align 4, !tbaa !44
  %114 = load i32, ptr %8, align 4, !tbaa !38
  %115 = trunc i32 %114 to i16
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.ImGuiTableColumnSettings, ptr %116, i32 0, i32 2
  store i16 %115, ptr %117, align 4, !tbaa !46
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %118, i32 0, i32 18
  %120 = load i16, ptr %119, align 2, !tbaa !47
  %121 = load ptr, ptr %6, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.ImGuiTableColumnSettings, ptr %121, i32 0, i32 3
  store i16 %120, ptr %122, align 2, !tbaa !48
  %123 = load ptr, ptr %5, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %123, i32 0, i32 22
  %125 = load i16, ptr %124, align 2, !tbaa !49
  %126 = load ptr, ptr %6, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.ImGuiTableColumnSettings, ptr %126, i32 0, i32 4
  store i16 %125, ptr %127, align 4, !tbaa !50
  %128 = load ptr, ptr %5, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %128, i32 0, i32 37
  %130 = load i8, ptr %129, align 1
  %131 = and i8 %130, 3
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.ImGuiTableColumnSettings, ptr %132, i32 0, i32 5
  %134 = load i8, ptr %133, align 2
  %135 = and i8 %131, 3
  %136 = and i8 %134, -4
  %137 = or i8 %136, %135
  store i8 %137, ptr %133, align 2
  %138 = load ptr, ptr %5, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %138, i32 0, i32 27
  %140 = load i8, ptr %139, align 1, !tbaa !51, !range !52, !noundef !53
  %141 = trunc i8 %140 to i1
  %142 = zext i1 %141 to i8
  %143 = load ptr, ptr %6, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.ImGuiTableColumnSettings, ptr %143, i32 0, i32 5
  %145 = load i8, ptr %144, align 2
  %146 = and i8 %142, 1
  %147 = shl i8 %146, 2
  %148 = and i8 %145, -5
  %149 = or i8 %148, %147
  store i8 %149, ptr %144, align 2
  %150 = load ptr, ptr %5, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %150, i32 0, i32 0
  %152 = load i32, ptr %151, align 4, !tbaa !39
  %153 = and i32 %152, 8
  %154 = icmp ne i32 %153, 0
  %155 = zext i1 %154 to i64
  %156 = select i1 %154, i32 1, i32 0
  %157 = trunc i32 %156 to i8
  %158 = load ptr, ptr %6, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.ImGuiTableColumnSettings, ptr %158, i32 0, i32 5
  %160 = load i8, ptr %159, align 2
  %161 = and i8 %157, 1
  %162 = shl i8 %161, 3
  %163 = and i8 %160, -9
  %164 = or i8 %163, %162
  store i8 %164, ptr %159, align 2
  %165 = load ptr, ptr %5, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %165, i32 0, i32 0
  %167 = load i32, ptr %166, align 4, !tbaa !39
  %168 = and i32 %167, 8
  %169 = icmp eq i32 %168, 0
  br i1 %169, label %170, label %171

170:                                              ; preds = %109
  store i8 1, ptr %7, align 1, !tbaa !36
  br label %171

171:                                              ; preds = %170, %109
  %172 = load float, ptr %9, align 4, !tbaa !43
  %173 = load ptr, ptr %5, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %173, i32 0, i32 7
  %175 = load float, ptr %174, align 4, !tbaa !54
  %176 = fcmp une float %172, %175
  br i1 %176, label %177, label %182

177:                                              ; preds = %171
  %178 = load ptr, ptr %4, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.ImGuiTableSettings, ptr %178, i32 0, i32 1
  %180 = load i32, ptr %179, align 4, !tbaa !37
  %181 = or i32 %180, 1
  store i32 %181, ptr %179, align 4, !tbaa !37
  br label %182

182:                                              ; preds = %177, %171
  %183 = load ptr, ptr %5, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %183, i32 0, i32 18
  %185 = load i16, ptr %184, align 2, !tbaa !47
  %186 = sext i16 %185 to i32
  %187 = load i32, ptr %8, align 4, !tbaa !38
  %188 = icmp ne i32 %186, %187
  br i1 %188, label %189, label %194

189:                                              ; preds = %182
  %190 = load ptr, ptr %4, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.ImGuiTableSettings, ptr %190, i32 0, i32 1
  %192 = load i32, ptr %191, align 4, !tbaa !37
  %193 = or i32 %192, 2
  store i32 %193, ptr %191, align 4, !tbaa !37
  br label %194

194:                                              ; preds = %189, %182
  %195 = load ptr, ptr %5, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %195, i32 0, i32 22
  %197 = load i16, ptr %196, align 2, !tbaa !49
  %198 = sext i16 %197 to i32
  %199 = icmp ne i32 %198, -1
  br i1 %199, label %200, label %205

200:                                              ; preds = %194
  %201 = load ptr, ptr %4, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.ImGuiTableSettings, ptr %201, i32 0, i32 1
  %203 = load i32, ptr %202, align 4, !tbaa !37
  %204 = or i32 %203, 8
  store i32 %204, ptr %202, align 4, !tbaa !37
  br label %205

205:                                              ; preds = %200, %194
  %206 = load ptr, ptr %5, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %206, i32 0, i32 27
  %208 = load i8, ptr %207, align 1, !tbaa !51, !range !52, !noundef !53
  %209 = trunc i8 %208 to i1
  %210 = zext i1 %209 to i32
  %211 = load ptr, ptr %5, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %211, i32 0, i32 0
  %213 = load i32, ptr %212, align 4, !tbaa !39
  %214 = and i32 %213, 2
  %215 = icmp eq i32 %214, 0
  %216 = zext i1 %215 to i32
  %217 = icmp ne i32 %210, %216
  br i1 %217, label %218, label %223

218:                                              ; preds = %205
  %219 = load ptr, ptr %4, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.ImGuiTableSettings, ptr %219, i32 0, i32 1
  %221 = load i32, ptr %220, align 4, !tbaa !37
  %222 = or i32 %221, 4
  store i32 %222, ptr %220, align 4, !tbaa !37
  br label %223

223:                                              ; preds = %218, %205
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %224

224:                                              ; preds = %223
  %225 = load i32, ptr %8, align 4, !tbaa !38
  %226 = add nsw i32 %225, 1
  store i32 %226, ptr %8, align 4, !tbaa !38
  %227 = load ptr, ptr %5, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %227, i32 1
  store ptr %228, ptr %5, align 8, !tbaa !5
  %229 = load ptr, ptr %6, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.ImGuiTableColumnSettings, ptr %229, i32 1
  store ptr %230, ptr %6, align 8, !tbaa !5
  br label %88, !llvm.loop !55

231:                                              ; preds = %94
  %232 = load ptr, ptr %2, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.ImGuiTable, ptr %232, i32 0, i32 1
  %234 = load i32, ptr %233, align 4, !tbaa !27
  %235 = load ptr, ptr %4, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.ImGuiTableSettings, ptr %235, i32 0, i32 1
  %237 = load i32, ptr %236, align 4, !tbaa !37
  %238 = and i32 %237, %234
  store i32 %238, ptr %236, align 4, !tbaa !37
  %239 = load i8, ptr %7, align 1, !tbaa !36, !range !52, !noundef !53
  %240 = trunc i8 %239 to i1
  br i1 %240, label %241, label %245

241:                                              ; preds = %231
  %242 = load ptr, ptr %2, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.ImGuiTable, ptr %242, i32 0, i32 43
  %244 = load float, ptr %243, align 4, !tbaa !57
  br label %246

245:                                              ; preds = %231
  br label %246

246:                                              ; preds = %245, %241
  %247 = phi float [ %244, %241 ], [ 0.000000e+00, %245 ]
  %248 = load ptr, ptr %4, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.ImGuiTableSettings, ptr %248, i32 0, i32 2
  store float %247, ptr %249, align 4, !tbaa !58
  call void @_ZN5ImGui20MarkIniSettingsDirtyEv()
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  br label %250

250:                                              ; preds = %246, %17
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui21TableGetBoundSettingsEP10ImGuiTable(ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN13ImChunkStreamI18ImGuiTableSettingsE15offset_from_ptrEPKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN18ImGuiTableSettings17GetColumnSettingsEv(ptr noundef nonnull align 4 dereferenceable(17)) #3 align 2

declare void @_ZN5ImGui20MarkIniSettingsDirtyEv() #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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !26, i64 553}
!10 = !{!"_ZTS10ImGuiTable", !11, i64 0, !11, i64 4, !6, i64 8, !6, i64 16, !12, i64 24, !13, i64 40, !14, i64 56, !6, i64 72, !6, i64 80, !6, i64 88, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !15, i64 120, !15, i64 122, !16, i64 124, !16, i64 128, !16, i64 132, !16, i64 136, !16, i64 140, !11, i64 144, !11, i64 146, !11, i64 148, !7, i64 152, !11, i64 160, !11, i64 164, !16, i64 168, !16, i64 172, !16, i64 176, !16, i64 180, !16, i64 184, !16, i64 188, !16, i64 192, !16, i64 196, !16, i64 200, !16, i64 204, !16, i64 208, !16, i64 212, !16, i64 216, !16, i64 220, !16, i64 224, !16, i64 228, !17, i64 232, !17, i64 248, !17, i64 264, !17, i64 280, !17, i64 296, !17, i64 312, !17, i64 328, !17, i64 344, !17, i64 360, !6, i64 376, !6, i64 384, !19, i64 392, !6, i64 408, !21, i64 416, !22, i64 432, !23, i64 448, !24, i64 464, !25, i64 480, !15, i64 496, !15, i64 498, !15, i64 500, !15, i64 502, !15, i64 504, !15, i64 506, !15, i64 508, !15, i64 510, !15, i64 512, !15, i64 514, !15, i64 516, !15, i64 518, !15, i64 520, !15, i64 522, !15, i64 524, !15, i64 526, !15, i64 528, !15, i64 530, !15, i64 532, !15, i64 534, !15, i64 536, !15, i64 538, !15, i64 540, !15, i64 542, !15, i64 544, !26, i64 546, !26, i64 547, !26, i64 548, !26, i64 549, !26, i64 550, !26, i64 551, !26, i64 552, !26, i64 553, !26, i64 554, !26, i64 555, !26, i64 556, !26, i64 557, !26, i64 558, !26, i64 559, !26, i64 560, !26, i64 561, !26, i64 562}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS6ImSpanI16ImGuiTableColumnE", !6, i64 0, !6, i64 8}
!13 = !{!"_ZTS6ImSpanIsE", !6, i64 0, !6, i64 8}
!14 = !{!"_ZTS6ImSpanI18ImGuiTableCellDataE", !6, i64 0, !6, i64 8}
!15 = !{!"short", !7, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = !{!"_ZTS6ImRect", !18, i64 0, !18, i64 8}
!18 = !{!"_ZTS6ImVec2", !16, i64 0, !16, i64 4}
!19 = !{!"_ZTS15ImGuiTextBuffer", !20, i64 0}
!20 = !{!"_ZTS8ImVectorIcE", !11, i64 0, !11, i64 4, !6, i64 8}
!21 = !{!"_ZTS22ImGuiTableInstanceData", !11, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!22 = !{!"_ZTS8ImVectorI22ImGuiTableInstanceDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!23 = !{!"_ZTS25ImGuiTableColumnSortSpecs", !11, i64 0, !15, i64 4, !15, i64 6, !11, i64 8}
!24 = !{!"_ZTS8ImVectorI25ImGuiTableColumnSortSpecsE", !11, i64 0, !11, i64 4, !6, i64 8}
!25 = !{!"_ZTS19ImGuiTableSortSpecs", !6, i64 0, !11, i64 8, !26, i64 12}
!26 = !{!"bool", !7, i64 0}
!27 = !{!10, !11, i64 4}
!28 = !{!10, !11, i64 0}
!29 = !{!10, !11, i64 108}
!30 = !{!10, !11, i64 100}
!31 = !{!32, !15, i64 12}
!32 = !{!"_ZTS18ImGuiTableSettings", !11, i64 0, !11, i64 4, !16, i64 8, !15, i64 12, !15, i64 14, !26, i64 16}
!33 = !{!32, !11, i64 0}
!34 = !{!32, !15, i64 14}
!35 = !{!10, !6, i64 24}
!36 = !{!26, !26, i64 0}
!37 = !{!32, !11, i64 4}
!38 = !{!11, !11, i64 0}
!39 = !{!40, !11, i64 0}
!40 = !{!"_ZTS16ImGuiTableColumn", !11, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !16, i64 28, !17, i64 32, !11, i64 48, !16, i64 52, !16, i64 56, !16, i64 60, !16, i64 64, !16, i64 68, !16, i64 72, !16, i64 76, !15, i64 80, !15, i64 82, !15, i64 84, !15, i64 86, !15, i64 88, !15, i64 90, !15, i64 92, !15, i64 94, !15, i64 96, !26, i64 98, !26, i64 99, !26, i64 100, !26, i64 101, !26, i64 102, !26, i64 103, !26, i64 104, !26, i64 105, !7, i64 106, !7, i64 107, !7, i64 108, !7, i64 109, !7, i64 109, !7, i64 109, !7, i64 110}
!41 = !{!40, !16, i64 24}
!42 = !{!40, !16, i64 16}
!43 = !{!16, !16, i64 0}
!44 = !{!45, !16, i64 0}
!45 = !{!"_ZTS24ImGuiTableColumnSettings", !16, i64 0, !11, i64 4, !15, i64 8, !15, i64 10, !15, i64 12, !7, i64 14, !7, i64 14, !7, i64 14}
!46 = !{!45, !15, i64 8}
!47 = !{!40, !15, i64 82}
!48 = !{!45, !15, i64 10}
!49 = !{!40, !15, i64 90}
!50 = !{!45, !15, i64 12}
!51 = !{!40, !26, i64 99}
!52 = !{i8 0, i8 2}
!53 = !{}
!54 = !{!40, !16, i64 28}
!55 = distinct !{!55, !56}
!56 = !{!"llvm.loop.mustprogress"}
!57 = !{!10, !16, i64 228}
!58 = !{!32, !16, i64 8}


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

@GImGui = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [124 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [26 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui17TableSaveSettingsEP10ImGuiTable = external hidden unnamed_addr constant [44 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [101 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 uwtable
define dso_local void @_ZN5ImGui17TableSaveSettingsEP10ImGuiTable(ptr noundef %0) local_unnamed_addr #1 {
  %2 = getelementptr inbounds i8, ptr %0, i64 553
  store i8 0, ptr %2, align 1, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %0, i64 4
  %4 = load i32, ptr %3, align 4, !tbaa !26
  %5 = and i32 %4, 16
  %.not = icmp eq i32 %5, 0
  br i1 %.not, label %6, label %110

6:                                                ; preds = %1
  %7 = load ptr, ptr @GImGui, align 8, !tbaa !27
  %8 = tail call noundef ptr @_ZN5ImGui21TableGetBoundSettingsEP10ImGuiTable(ptr noundef nonnull %0)
  %9 = icmp eq ptr %8, null
  br i1 %9, label %10, label %18

10:                                               ; preds = %6
  %11 = load i32, ptr %0, align 8, !tbaa !28
  %12 = getelementptr inbounds i8, ptr %0, i64 108
  %13 = load i32, ptr %12, align 4, !tbaa !29
  %14 = tail call noundef ptr @_ZN5ImGui19TableSettingsCreateEji(i32 noundef %11, i32 noundef %13)
  %15 = getelementptr inbounds i8, ptr %7, i64 23544
  %16 = tail call noundef i32 @_ZN13ImChunkStreamI18ImGuiTableSettingsE15offset_from_ptrEPKS0_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef %14)
  %17 = getelementptr inbounds i8, ptr %0, i64 100
  store i32 %16, ptr %17, align 4, !tbaa !30
  br label %18

18:                                               ; preds = %10, %6
  %.0 = phi ptr [ %14, %10 ], [ %8, %6 ]
  %19 = getelementptr inbounds i8, ptr %0, i64 108
  %20 = load i32, ptr %19, align 4, !tbaa !29
  %21 = trunc i32 %20 to i16
  %22 = getelementptr inbounds i8, ptr %.0, i64 12
  store i16 %21, ptr %22, align 4, !tbaa !31
  %23 = load i32, ptr %.0, align 4, !tbaa !33
  %24 = load i32, ptr %0, align 8, !tbaa !28
  %25 = icmp eq i32 %23, %24
  br i1 %25, label %27, label %26

26:                                               ; preds = %18
  tail call void @__assert_fail(ptr noundef nonnull @.str.83, ptr noundef nonnull @.str.1, i32 noundef 3284, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui17TableSaveSettingsEP10ImGuiTable) #4
  unreachable

27:                                               ; preds = %18
  %28 = add i32 %20, 32768
  %29 = icmp ult i32 %28, 65536
  br i1 %29, label %30, label %.critedge

30:                                               ; preds = %27
  %31 = getelementptr inbounds i8, ptr %.0, i64 14
  %32 = load i16, ptr %31, align 2, !tbaa !34
  %33 = sext i16 %32 to i32
  %.not64 = icmp sgt i32 %20, %33
  br i1 %.not64, label %.critedge, label %34

.critedge:                                        ; preds = %27, %30
  tail call void @__assert_fail(ptr noundef nonnull @.str.84, ptr noundef nonnull @.str.1, i32 noundef 3285, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui17TableSaveSettingsEP10ImGuiTable) #4
  unreachable

34:                                               ; preds = %30
  %35 = getelementptr inbounds i8, ptr %0, i64 24
  %36 = load ptr, ptr %35, align 8, !tbaa !35
  %37 = tail call noundef ptr @_ZN18ImGuiTableSettings17GetColumnSettingsEv(ptr noundef nonnull align 4 dereferenceable(17) %.0)
  %38 = getelementptr inbounds i8, ptr %.0, i64 4
  store i32 0, ptr %38, align 4, !tbaa !36
  %39 = load i32, ptr %19, align 4, !tbaa !29
  %40 = icmp sgt i32 %39, 0
  br i1 %40, label %.lr.ph, label %.critedge74

._crit_edge:                                      ; preds = %99
  %41 = load i32, ptr %3, align 4, !tbaa !26
  %42 = load i32, ptr %38, align 4, !tbaa !36
  %43 = and i32 %42, %41
  store i32 %43, ptr %38, align 4, !tbaa !36
  br i1 %.1, label %105, label %.critedge74

.lr.ph:                                           ; preds = %34, %99
  %.05873 = phi i32 [ %100, %99 ], [ 0, %34 ]
  %.05972 = phi i1 [ %.1, %99 ], [ false, %34 ]
  %.06071 = phi ptr [ %102, %99 ], [ %37, %34 ]
  %.06170 = phi ptr [ %101, %99 ], [ %36, %34 ]
  %44 = load i32, ptr %.06170, align 4, !tbaa !37
  %45 = and i32 %44, 8
  %.not65 = icmp eq i32 %45, 0
  %.in.v = select i1 %.not65, i64 16, i64 24
  %.in = getelementptr inbounds i8, ptr %.06170, i64 %.in.v
  %46 = load float, ptr %.in, align 4, !tbaa !39
  store float %46, ptr %.06071, align 4, !tbaa !40
  %47 = trunc i32 %.05873 to i16
  %48 = getelementptr inbounds i8, ptr %.06071, i64 8
  store i16 %47, ptr %48, align 4, !tbaa !42
  %49 = getelementptr inbounds i8, ptr %.06170, i64 82
  %50 = load i16, ptr %49, align 2, !tbaa !43
  %51 = getelementptr inbounds i8, ptr %.06071, i64 10
  store i16 %50, ptr %51, align 2, !tbaa !44
  %52 = getelementptr inbounds i8, ptr %.06170, i64 90
  %53 = load i16, ptr %52, align 2, !tbaa !45
  %54 = getelementptr inbounds i8, ptr %.06071, i64 12
  store i16 %53, ptr %54, align 4, !tbaa !46
  %55 = getelementptr inbounds i8, ptr %.06170, i64 109
  %56 = load i8, ptr %55, align 1
  %57 = and i8 %56, 3
  %58 = getelementptr inbounds i8, ptr %.06071, i64 14
  %59 = load i8, ptr %58, align 2
  %60 = and i8 %59, -4
  %61 = or disjoint i8 %60, %57
  store i8 %61, ptr %58, align 2
  %62 = getelementptr inbounds i8, ptr %.06170, i64 99
  %63 = load i8, ptr %62, align 1, !tbaa !47, !range !48, !noundef !49
  %64 = shl nuw nsw i8 %63, 2
  %65 = and i8 %61, -5
  %66 = or disjoint i8 %65, %64
  store i8 %66, ptr %58, align 2
  %67 = load i32, ptr %.06170, align 4, !tbaa !37
  %68 = trunc i32 %67 to i8
  %69 = and i8 %68, 8
  %70 = and i8 %66, -9
  %71 = or disjoint i8 %69, %70
  store i8 %71, ptr %58, align 2
  %72 = load i32, ptr %.06170, align 4, !tbaa !37
  %73 = and i32 %72, 8
  %74 = icmp eq i32 %73, 0
  %.1 = select i1 %74, i1 true, i1 %.05972
  %75 = getelementptr inbounds i8, ptr %.06170, i64 28
  %76 = load float, ptr %75, align 4, !tbaa !50
  %77 = fcmp une float %46, %76
  br i1 %77, label %78, label %81

78:                                               ; preds = %.lr.ph
  %79 = load i32, ptr %38, align 4, !tbaa !36
  %80 = or i32 %79, 1
  store i32 %80, ptr %38, align 4, !tbaa !36
  br label %81

81:                                               ; preds = %78, %.lr.ph
  %82 = load i16, ptr %49, align 2, !tbaa !43
  %83 = sext i16 %82 to i32
  %.not67 = icmp eq i32 %.05873, %83
  br i1 %.not67, label %87, label %84

84:                                               ; preds = %81
  %85 = load i32, ptr %38, align 4, !tbaa !36
  %86 = or i32 %85, 2
  store i32 %86, ptr %38, align 4, !tbaa !36
  br label %87

87:                                               ; preds = %84, %81
  %88 = load i16, ptr %52, align 2, !tbaa !45
  %.not68 = icmp eq i16 %88, -1
  br i1 %.not68, label %92, label %89

89:                                               ; preds = %87
  %90 = load i32, ptr %38, align 4, !tbaa !36
  %91 = or i32 %90, 8
  store i32 %91, ptr %38, align 4, !tbaa !36
  br label %92

92:                                               ; preds = %89, %87
  %93 = load i8, ptr %62, align 1, !tbaa !47, !range !48, !noundef !49
  %94 = zext nneg i8 %93 to i32
  %95 = lshr i32 %72, 1
  %.lobit = and i32 %95, 1
  %.not69.not = icmp eq i32 %.lobit, %94
  br i1 %.not69.not, label %96, label %99

96:                                               ; preds = %92
  %97 = load i32, ptr %38, align 4, !tbaa !36
  %98 = or i32 %97, 4
  store i32 %98, ptr %38, align 4, !tbaa !36
  br label %99

99:                                               ; preds = %96, %92
  %100 = add nuw nsw i32 %.05873, 1
  %101 = getelementptr inbounds i8, ptr %.06170, i64 112
  %102 = getelementptr inbounds i8, ptr %.06071, i64 16
  %103 = load i32, ptr %19, align 4, !tbaa !29
  %104 = icmp slt i32 %100, %103
  br i1 %104, label %.lr.ph, label %._crit_edge, !llvm.loop !51

105:                                              ; preds = %._crit_edge
  %106 = getelementptr inbounds i8, ptr %0, i64 228
  %107 = load float, ptr %106, align 4, !tbaa !53
  br label %.critedge74

.critedge74:                                      ; preds = %34, %._crit_edge, %105
  %108 = phi float [ %107, %105 ], [ 0.000000e+00, %._crit_edge ], [ 0.000000e+00, %34 ]
  %109 = getelementptr inbounds i8, ptr %.0, i64 8
  store float %108, ptr %109, align 4, !tbaa !54
  tail call void @_ZN5ImGui20MarkIniSettingsDirtyEv()
  br label %110

110:                                              ; preds = %1, %.critedge74
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui21TableGetBoundSettingsEP10ImGuiTable(ptr noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN18ImGuiTableSettings17GetColumnSettingsEv(ptr noundef nonnull align 4 dereferenceable(17)) local_unnamed_addr #2 align 2

declare void @_ZN5ImGui20MarkIniSettingsDirtyEv() 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 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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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, !25, i64 553}
!6 = !{!"_ZTS10ImGuiTable", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !11, i64 24, !12, i64 40, !13, i64 56, !10, i64 72, !10, i64 80, !10, i64 88, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !14, i64 120, !14, i64 122, !15, i64 124, !15, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !7, i64 144, !7, i64 146, !7, i64 148, !8, i64 152, !7, i64 160, !7, i64 164, !15, i64 168, !15, i64 172, !15, i64 176, !15, i64 180, !15, i64 184, !15, i64 188, !15, i64 192, !15, i64 196, !15, i64 200, !15, i64 204, !15, i64 208, !15, i64 212, !15, i64 216, !15, i64 220, !15, i64 224, !15, i64 228, !16, i64 232, !16, i64 248, !16, i64 264, !16, i64 280, !16, i64 296, !16, i64 312, !16, i64 328, !16, i64 344, !16, i64 360, !10, i64 376, !10, i64 384, !18, i64 392, !10, i64 408, !20, i64 416, !21, i64 432, !22, i64 448, !23, i64 464, !24, i64 480, !14, i64 496, !14, i64 498, !14, i64 500, !14, i64 502, !14, i64 504, !14, i64 506, !14, i64 508, !14, i64 510, !14, i64 512, !14, i64 514, !14, i64 516, !14, i64 518, !14, i64 520, !14, i64 522, !14, i64 524, !14, i64 526, !14, i64 528, !14, i64 530, !14, i64 532, !14, i64 534, !14, i64 536, !14, i64 538, !14, i64 540, !14, i64 542, !14, i64 544, !25, i64 546, !25, i64 547, !25, i64 548, !25, i64 549, !25, i64 550, !25, i64 551, !25, i64 552, !25, i64 553, !25, i64 554, !25, i64 555, !25, i64 556, !25, i64 557, !25, i64 558, !25, i64 559, !25, i64 560, !25, i64 561, !25, i64 562}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_ZTS6ImSpanI16ImGuiTableColumnE", !10, i64 0, !10, i64 8}
!12 = !{!"_ZTS6ImSpanIsE", !10, i64 0, !10, i64 8}
!13 = !{!"_ZTS6ImSpanI18ImGuiTableCellDataE", !10, i64 0, !10, i64 8}
!14 = !{!"short", !8, i64 0}
!15 = !{!"float", !8, i64 0}
!16 = !{!"_ZTS6ImRect", !17, i64 0, !17, i64 8}
!17 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!18 = !{!"_ZTS15ImGuiTextBuffer", !19, i64 0}
!19 = !{!"_ZTS8ImVectorIcE", !7, i64 0, !7, i64 4, !10, i64 8}
!20 = !{!"_ZTS22ImGuiTableInstanceData", !7, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!21 = !{!"_ZTS8ImVectorI22ImGuiTableInstanceDataE", !7, i64 0, !7, i64 4, !10, i64 8}
!22 = !{!"_ZTS25ImGuiTableColumnSortSpecs", !7, i64 0, !14, i64 4, !14, i64 6, !7, i64 8}
!23 = !{!"_ZTS8ImVectorI25ImGuiTableColumnSortSpecsE", !7, i64 0, !7, i64 4, !10, i64 8}
!24 = !{!"_ZTS19ImGuiTableSortSpecs", !10, i64 0, !7, i64 8, !25, i64 12}
!25 = !{!"bool", !8, i64 0}
!26 = !{!6, !7, i64 4}
!27 = !{!10, !10, i64 0}
!28 = !{!6, !7, i64 0}
!29 = !{!6, !7, i64 108}
!30 = !{!6, !7, i64 100}
!31 = !{!32, !14, i64 12}
!32 = !{!"_ZTS18ImGuiTableSettings", !7, i64 0, !7, i64 4, !15, i64 8, !14, i64 12, !14, i64 14, !25, i64 16}
!33 = !{!32, !7, i64 0}
!34 = !{!32, !14, i64 14}
!35 = !{!6, !10, i64 24}
!36 = !{!32, !7, i64 4}
!37 = !{!38, !7, i64 0}
!38 = !{!"_ZTS16ImGuiTableColumn", !7, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !16, i64 32, !7, i64 48, !15, i64 52, !15, i64 56, !15, i64 60, !15, i64 64, !15, i64 68, !15, i64 72, !15, i64 76, !14, i64 80, !14, i64 82, !14, i64 84, !14, i64 86, !14, i64 88, !14, i64 90, !14, i64 92, !14, i64 94, !14, i64 96, !25, i64 98, !25, i64 99, !25, i64 100, !25, i64 101, !25, i64 102, !25, i64 103, !25, i64 104, !25, i64 105, !8, i64 106, !8, i64 107, !8, i64 108, !8, i64 109, !8, i64 109, !8, i64 109, !8, i64 110}
!39 = !{!15, !15, i64 0}
!40 = !{!41, !15, i64 0}
!41 = !{!"_ZTS24ImGuiTableColumnSettings", !15, i64 0, !7, i64 4, !14, i64 8, !14, i64 10, !14, i64 12, !8, i64 14, !8, i64 14, !8, i64 14}
!42 = !{!41, !14, i64 8}
!43 = !{!38, !14, i64 82}
!44 = !{!41, !14, i64 10}
!45 = !{!38, !14, i64 90}
!46 = !{!41, !14, i64 12}
!47 = !{!38, !25, i64 99}
!48 = !{i8 0, i8 2}
!49 = !{}
!50 = !{!38, !15, i64 28}
!51 = distinct !{!51, !52}
!52 = !{!"llvm.loop.mustprogress"}
!53 = !{!6, !15, i64 228}
!54 = !{!32, !15, i64 8}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass