; LLVM IR from DarrenSweeney/3D-Physics-Engine :: Physics Engine/Imgui/imgui.ll (ZN5ImGui15ShowStyleEditorEP10ImGuiStyle)

; 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.ImGuiTextFilter = type <{ [256 x i8], %class.ImVector.7, i32, [4 x i8] }>
%class.ImVector.7 = type { i64, i64, ptr }
%struct.ImGuiStyle = type { float, %struct.ImVec2, %struct.ImVec2, float, float, %struct.ImVec2, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, [39 x %struct.ImVec4] }
%struct.ImVec2 = type { float, float }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImGuiState = type { i8, [7 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, %struct.ImVec2, float, i32, i32, %class.ImVector.1, ptr, %class.ImVector.1, ptr, ptr, ptr, i32, i32, i32, i8, i8, ptr, float, %class.ImVector.2, %class.ImVector.3, %class.ImVector.4, %class.ImVector, %struct.ImVec2, i32, %struct.ImVec2, i32, i8, i32, i8, i8, i32, %class.ImVector.5, %class.ImVector.1, %struct.ImGuiTextEditState, i32, %struct.ImGuiStorage, i32, [1024 x i8], ptr, i8, ptr, ptr, i32, i32, [120 x float], i32, float }
%struct.ImGuiIO = type <{ %struct.ImVec2, float, float, ptr, ptr, float, float, [17 x i32], [4 x i8], ptr, ptr, float, i8, [3 x i8], %struct.ImVec2, %struct.ImVec2, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], [3 x i8], float, i8, i8, i8, [512 x i8], i8, [17 x i16], i8, i8, float, %struct.ImVec2, %struct.ImVec2, [5 x i8], [3 x i8], [5 x %struct.ImVec2], [5 x float], [5 x i8], [5 x i8], [2 x i8], [5 x float], [512 x float], [4 x i8] }>
%class.ImVector.2 = type { i64, i64, ptr }
%class.ImVector.3 = type { i64, i64, ptr }
%class.ImVector.4 = type { i64, i64, ptr }
%class.ImVector = type { i64, i64, ptr }
%class.ImVector.5 = type { i64, i64, ptr }
%class.ImVector.1 = type { i64, i64, ptr }
%struct.ImGuiTextEditState = type <{ i32, [1024 x i16], [3073 x i8], [3 x i8], i64, float, float, %struct.STB_TexteditState, float, %struct.ImVec2, i8, [7 x i8], ptr, float, [4 x i8] }>
%struct.STB_TexteditState = type { i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, float, %struct.StbUndoState }
%struct.StbUndoState = type { [99 x %struct.StbUndoRecord], [999 x i16], i16, i16, i16, i16 }
%struct.StbUndoRecord = type { i32, i16, i16, i16 }
%struct.ImGuiStorage = type { %class.ImVector.6 }
%class.ImVector.6 = type { i64, i64, ptr }

@__dso_handle = external hidden global i8
@.str.8 = external hidden unnamed_addr constant [1 x i8], align 1
@_ZL6GImGui = external hidden global ptr, align 8
@.str.94 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.129 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.164 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.165 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.166 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.167 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.168 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.169 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.170 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.171 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.172 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.173 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.174 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.175 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.176 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.177 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.178 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.179 = external hidden unnamed_addr constant [7 x i8], align 1
@_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE11output_dest = external hidden global i32, align 4
@_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE20output_only_modified = external hidden global i8, align 1
@.str.180 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.181 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.182 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.183 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.184 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.185 = external hidden unnamed_addr constant [21 x i8], align 1
@_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE9edit_mode = external hidden global i32, align 4
@_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE6filter = external hidden global %struct.ImGuiTextFilter, align 8
@_ZGVZN5ImGui15ShowStyleEditorEP10ImGuiStyleE6filter = external hidden global i64, align 8
@.str.186 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.187 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.188 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.189 = external hidden unnamed_addr constant [5 x i8], align 1

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

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

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

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

; Function Attrs: nounwind
declare i32 @__cxa_atexit(ptr, ptr, ptr) #3

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15ImGuiTextFilter4DrawEPKcf(ptr noundef nonnull align 8 dereferenceable(284), ptr noundef, float noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui13PushItemWidthEf(float noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui12PopItemWidthEv() #4

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK15ImGuiTextFilter10PassFilterEPKc(ptr noundef nonnull align 8 dereferenceable(284), ptr noundef) #4 align 2

; Function Attrs: nounwind
declare i32 @__cxa_guard_acquire(ptr) #3

; Function Attrs: nounwind
declare void @__cxa_guard_abort(ptr) #3

; Function Attrs: nounwind
declare void @__cxa_guard_release(ptr) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui7LogTextEPKcz(ptr noundef, ...) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8EndChildEv() #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui9LogFinishEv() #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN5ImGui14GetWindowWidthEv() #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8SameLineEii(i32 noundef, i32 noundef) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui5PopIDEv() #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8LogToTTYEi(i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui14LogToClipboardEi(i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui6PushIDEi(i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui11SliderFloatEPKcPfffS1_f(ptr noundef, ptr noundef, float noundef, float noundef, ptr noundef, float noundef) #6

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui13ColorEditModeEi(i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui7TreePopEv() #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui15ShowStyleEditorEP10ImGuiStyle(ptr noundef %0) #4 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %struct.ImGuiStyle, align 4
  %6 = alloca %struct.ImVec2, align 4
  %7 = alloca %struct.ImVec2, align 4
  %8 = alloca %struct.ImVec2, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %struct.ImVec2, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca %struct.ImVec2, align 4
  %19 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  %20 = load ptr, ptr @_ZL6GImGui, align 8, !tbaa !5
  store ptr %20, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.ImGuiState, ptr %21, i32 0, i32 3
  store ptr %22, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 712, ptr %5) #3
  call void @_ZN10ImGuiStyleC1Ev(ptr noundef nonnull align 4 dereferenceable(712) %5)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %23 = call noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2b(ptr noundef @.str.164, ptr noundef nonnull align 4 dereferenceable(8) %6, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  br i1 %23, label %24, label %34

24:                                               ; preds = %1
  %25 = load ptr, ptr %2, align 8, !tbaa !5
  %26 = icmp ne ptr %25, null
  br i1 %26, label %27, label %29

27:                                               ; preds = %24
  %28 = load ptr, ptr %2, align 8, !tbaa !5
  br label %30

29:                                               ; preds = %24
  br label %30

30:                                               ; preds = %29, %27
  %31 = phi ptr [ %28, %27 ], [ %5, %29 ]
  %32 = load ptr, ptr %3, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.ImGuiState, ptr %32, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %33, ptr align 4 %31, i64 712, i1 false), !tbaa.struct !9
  br label %34

34:                                               ; preds = %30, %1
  %35 = load ptr, ptr %2, align 8, !tbaa !5
  %36 = icmp ne ptr %35, null
  br i1 %36, label %37, label %44

37:                                               ; preds = %34
  call void @_ZN5ImGui8SameLineEii(i32 noundef 0, i32 noundef -1)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %38 = call noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2b(ptr noundef @.str.165, ptr noundef nonnull align 4 dereferenceable(8) %7, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  br i1 %38, label %39, label %43

39:                                               ; preds = %37
  %40 = load ptr, ptr %3, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.ImGuiState, ptr %40, i32 0, i32 3
  %42 = load ptr, ptr %2, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 8 %41, i64 712, i1 false), !tbaa.struct !9
  br label %43

43:                                               ; preds = %39, %37
  br label %44

44:                                               ; preds = %43, %34
  %45 = call noundef float @_ZN5ImGui14GetWindowWidthEv()
  %46 = fmul float %45, 0x3FE19999A0000000
  call void @_ZN5ImGui13PushItemWidthEf(float noundef %46)
  %47 = call noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef @.str.166)
  br i1 %47, label %48, label %82

48:                                               ; preds = %44
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.ImGuiStyle, ptr %49, i32 0, i32 0
  %51 = call noundef zeroext i1 @_ZN5ImGui11SliderFloatEPKcPfffS1_f(ptr noundef @.str.167, ptr noundef %50, float noundef 0x3FC99999A0000000, float noundef 1.000000e+00, ptr noundef @.str.168, float noundef 1.000000e+00)
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.ImGuiStyle, ptr %52, i32 0, i32 1
  %54 = call noundef zeroext i1 @_ZN5ImGui12SliderFloat2EPKcPfffS1_f(ptr noundef @.str.169, ptr noundef %53, float noundef 0.000000e+00, float noundef 2.000000e+01, ptr noundef @.str.94, float noundef 1.000000e+00)
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.ImGuiStyle, ptr %55, i32 0, i32 3
  %57 = call noundef zeroext i1 @_ZN5ImGui11SliderFloatEPKcPfffS1_f(ptr noundef @.str.170, ptr noundef %56, float noundef 0.000000e+00, float noundef 1.600000e+01, ptr noundef @.str.94, float noundef 1.000000e+00)
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.ImGuiStyle, ptr %58, i32 0, i32 4
  %60 = call noundef zeroext i1 @_ZN5ImGui11SliderFloatEPKcPfffS1_f(ptr noundef @.str.171, ptr noundef %59, float noundef 0.000000e+00, float noundef 1.600000e+01, ptr noundef @.str.94, float noundef 1.000000e+00)
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.ImGuiStyle, ptr %61, i32 0, i32 5
  %63 = call noundef zeroext i1 @_ZN5ImGui12SliderFloat2EPKcPfffS1_f(ptr noundef @.str.172, ptr noundef %62, float noundef 0.000000e+00, float noundef 2.000000e+01, ptr noundef @.str.94, float noundef 1.000000e+00)
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.ImGuiStyle, ptr %64, i32 0, i32 6
  %66 = call noundef zeroext i1 @_ZN5ImGui11SliderFloatEPKcPfffS1_f(ptr noundef @.str.173, ptr noundef %65, float noundef 0.000000e+00, float noundef 1.600000e+01, ptr noundef @.str.94, float noundef 1.000000e+00)
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.ImGuiStyle, ptr %67, i32 0, i32 7
  %69 = call noundef zeroext i1 @_ZN5ImGui12SliderFloat2EPKcPfffS1_f(ptr noundef @.str.174, ptr noundef %68, float noundef 0.000000e+00, float noundef 2.000000e+01, ptr noundef @.str.94, float noundef 1.000000e+00)
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.ImGuiStyle, ptr %70, i32 0, i32 8
  %72 = call noundef zeroext i1 @_ZN5ImGui12SliderFloat2EPKcPfffS1_f(ptr noundef @.str.175, ptr noundef %71, float noundef 0.000000e+00, float noundef 2.000000e+01, ptr noundef @.str.94, float noundef 1.000000e+00)
  %73 = load ptr, ptr %4, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.ImGuiStyle, ptr %73, i32 0, i32 9
  %75 = call noundef zeroext i1 @_ZN5ImGui12SliderFloat2EPKcPfffS1_f(ptr noundef @.str.176, ptr noundef %74, float noundef 0.000000e+00, float noundef 1.000000e+01, ptr noundef @.str.94, float noundef 1.000000e+00)
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.ImGuiStyle, ptr %76, i32 0, i32 12
  %78 = call noundef zeroext i1 @_ZN5ImGui11SliderFloatEPKcPfffS1_f(ptr noundef @.str.177, ptr noundef %77, float noundef 0.000000e+00, float noundef 2.000000e+01, ptr noundef @.str.94, float noundef 1.000000e+00)
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.ImGuiStyle, ptr %79, i32 0, i32 14
  %81 = call noundef zeroext i1 @_ZN5ImGui11SliderFloatEPKcPfffS1_f(ptr noundef @.str.178, ptr noundef %80, float noundef 0.000000e+00, float noundef 2.000000e+01, ptr noundef @.str.94, float noundef 1.000000e+00)
  call void @_ZN5ImGui7TreePopEv()
  br label %82

82:                                               ; preds = %48, %44
  %83 = call noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef @.str.179)
  br i1 %83, label %84, label %262

84:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %85 = call noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2b(ptr noundef @.str.180, ptr noundef nonnull align 4 dereferenceable(8) %8, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  br i1 %85, label %86, label %151

86:                                               ; preds = %84
  %87 = load i32, ptr @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE11output_dest, align 4, !tbaa !13
  %88 = icmp eq i32 %87, 0
  br i1 %88, label %89, label %90

89:                                               ; preds = %86
  call void @_ZN5ImGui14LogToClipboardEi(i32 noundef -1)
  br label %91

90:                                               ; preds = %86
  call void @_ZN5ImGui8LogToTTYEi(i32 noundef -1)
  br label %91

91:                                               ; preds = %90, %89
  call void (ptr, ...) @_ZN5ImGui7LogTextEPKcz(ptr noundef @.str.181)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  store i32 0, ptr %9, align 4, !tbaa !13
  br label %92

92:                                               ; preds = %147, %91
  %93 = load i32, ptr %9, align 4, !tbaa !13
  %94 = icmp slt i32 %93, 39
  br i1 %94, label %96, label %95

95:                                               ; preds = %92
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  br label %150

96:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  %97 = load ptr, ptr %4, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.ImGuiStyle, ptr %97, i32 0, i32 15
  %99 = load i32, ptr %9, align 4, !tbaa !13
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [39 x %struct.ImVec4], ptr %98, i64 0, i64 %100
  store ptr %101, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %102 = load i32, ptr %9, align 4, !tbaa !13
  %103 = call noundef ptr @_ZN5ImGui15GetStyleColNameEi(i32 noundef %102)
  store ptr %103, ptr %11, align 8, !tbaa !5
  %104 = load i8, ptr @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE20output_only_modified, align 1, !tbaa !15, !range !17, !noundef !18
  %105 = trunc i8 %104 to i1
  br i1 %105, label %106, label %125

106:                                              ; preds = %96
  %107 = load ptr, ptr %10, align 8, !tbaa !5
  %108 = load ptr, ptr %2, align 8, !tbaa !5
  %109 = icmp ne ptr %108, null
  br i1 %109, label %110, label %116

110:                                              ; preds = %106
  %111 = load ptr, ptr %2, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.ImGuiStyle, ptr %111, i32 0, i32 15
  %113 = load i32, ptr %9, align 4, !tbaa !13
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [39 x %struct.ImVec4], ptr %112, i64 0, i64 %114
  br label %121

116:                                              ; preds = %106
  %117 = getelementptr inbounds %struct.ImGuiStyle, ptr %5, i32 0, i32 15
  %118 = load i32, ptr %9, align 4, !tbaa !13
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [39 x %struct.ImVec4], ptr %117, i64 0, i64 %119
  br label %121

121:                                              ; preds = %116, %110
  %122 = phi ptr [ %115, %110 ], [ %120, %116 ]
  %123 = call i32 @memcmp(ptr noundef %107, ptr noundef %122, i64 noundef 16) #8
  %124 = icmp ne i32 %123, 0
  br i1 %124, label %125, label %146

125:                                              ; preds = %121, %96
  %126 = load ptr, ptr %11, align 8, !tbaa !5
  %127 = load ptr, ptr %11, align 8, !tbaa !5
  %128 = call i64 @strlen(ptr noundef %127) #8
  %129 = sub i64 22, %128
  %130 = load ptr, ptr %10, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.ImVec4, ptr %130, i32 0, i32 0
  %132 = load float, ptr %131, align 4, !tbaa !19
  %133 = fpext float %132 to double
  %134 = load ptr, ptr %10, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.ImVec4, ptr %134, i32 0, i32 1
  %136 = load float, ptr %135, align 4, !tbaa !21
  %137 = fpext float %136 to double
  %138 = load ptr, ptr %10, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.ImVec4, ptr %138, i32 0, i32 2
  %140 = load float, ptr %139, align 4, !tbaa !22
  %141 = fpext float %140 to double
  %142 = load ptr, ptr %10, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.ImVec4, ptr %142, i32 0, i32 3
  %144 = load float, ptr %143, align 4, !tbaa !23
  %145 = fpext float %144 to double
  call void (ptr, ...) @_ZN5ImGui7LogTextEPKcz(ptr noundef @.str.182, ptr noundef %126, i64 noundef %129, ptr noundef @.str.8, double noundef %133, double noundef %137, double noundef %141, double noundef %145)
  br label %146

146:                                              ; preds = %125, %121
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  br label %147

147:                                              ; preds = %146
  %148 = load i32, ptr %9, align 4, !tbaa !13
  %149 = add nsw i32 %148, 1
  store i32 %149, ptr %9, align 4, !tbaa !13
  br label %92, !llvm.loop !24

150:                                              ; preds = %95
  call void @_ZN5ImGui9LogFinishEv()
  br label %151

151:                                              ; preds = %150, %84
  call void @_ZN5ImGui8SameLineEii(i32 noundef 0, i32 noundef -1)
  call void @_ZN5ImGui13PushItemWidthEf(float noundef 1.500000e+02)
  %152 = call noundef zeroext i1 @_ZN5ImGui5ComboEPKcPiS1_i(ptr noundef @.str.183, ptr noundef @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE11output_dest, ptr noundef @.str.184, i32 noundef -1)
  call void @_ZN5ImGui12PopItemWidthEv()
  call void @_ZN5ImGui8SameLineEii(i32 noundef 0, i32 noundef -1)
  %153 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef @.str.185, ptr noundef @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE20output_only_modified)
  %154 = call noundef zeroext i1 @_ZN5ImGui11RadioButtonEPKcPii(ptr noundef @.str.127, ptr noundef @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE9edit_mode, i32 noundef 0)
  call void @_ZN5ImGui8SameLineEii(i32 noundef 0, i32 noundef -1)
  %155 = call noundef zeroext i1 @_ZN5ImGui11RadioButtonEPKcPii(ptr noundef @.str.128, ptr noundef @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE9edit_mode, i32 noundef 1)
  call void @_ZN5ImGui8SameLineEii(i32 noundef 0, i32 noundef -1)
  %156 = call noundef zeroext i1 @_ZN5ImGui11RadioButtonEPKcPii(ptr noundef @.str.129, ptr noundef @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE9edit_mode, i32 noundef 2)
  %157 = load atomic i8, ptr @_ZGVZN5ImGui15ShowStyleEditorEP10ImGuiStyleE6filter acquire, align 8
  %158 = icmp eq i8 %157, 0
  br i1 %158, label %159, label %165, !prof !26

159:                                              ; preds = %151
  %160 = call i32 @__cxa_guard_acquire(ptr @_ZGVZN5ImGui15ShowStyleEditorEP10ImGuiStyleE6filter) #3
  %161 = icmp ne i32 %160, 0
  br i1 %161, label %162, label %165

162:                                              ; preds = %159
  invoke void @_ZN15ImGuiTextFilterC1EPKc(ptr noundef nonnull align 8 dereferenceable(284) @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE6filter, ptr noundef @.str.8)
          to label %163 unwind label %172

163:                                              ; preds = %162
  %164 = call i32 @__cxa_atexit(ptr @_ZN15ImGuiTextFilterD2Ev, ptr @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE6filter, ptr @__dso_handle) #3
  call void @__cxa_guard_release(ptr @_ZGVZN5ImGui15ShowStyleEditorEP10ImGuiStyleE6filter) #3
  br label %165

165:                                              ; preds = %163, %159, %151
  call void @_ZN15ImGuiTextFilter4DrawEPKcf(ptr noundef nonnull align 8 dereferenceable(284) @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE6filter, ptr noundef @.str.186, float noundef 2.000000e+02)
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef 0.000000e+00, float noundef 3.000000e+02)
  %166 = call noundef zeroext i1 @_ZN5ImGui10BeginChildEPKcRK6ImVec2bi(ptr noundef @.str.187, ptr noundef nonnull align 4 dereferenceable(8) %14, i1 noundef zeroext true, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  %167 = load i32, ptr @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE9edit_mode, align 4, !tbaa !13
  call void @_ZN5ImGui13ColorEditModeEi(i32 noundef %167)
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  store i32 0, ptr %15, align 4, !tbaa !13
  br label %168

168:                                              ; preds = %258, %165
  %169 = load i32, ptr %15, align 4, !tbaa !13
  %170 = icmp slt i32 %169, 39
  br i1 %170, label %176, label %171

171:                                              ; preds = %168
  store i32 5, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  br label %261

172:                                              ; preds = %162
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %12, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %13, align 4
  call void @__cxa_guard_abort(ptr @_ZGVZN5ImGui15ShowStyleEditorEP10ImGuiStyleE6filter) #3
  call void @llvm.lifetime.end.p0(i64 712, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  br label %263

176:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  %177 = load i32, ptr %15, align 4, !tbaa !13
  %178 = call noundef ptr @_ZN5ImGui15GetStyleColNameEi(i32 noundef %177)
  store ptr %178, ptr %17, align 8, !tbaa !5
  %179 = load ptr, ptr %17, align 8, !tbaa !5
  %180 = call noundef zeroext i1 @_ZNK15ImGuiTextFilter10PassFilterEPKc(ptr noundef nonnull align 8 dereferenceable(284) @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE6filter, ptr noundef %179)
  br i1 %180, label %182, label %181

181:                                              ; preds = %176
  store i32 7, ptr %16, align 4
  br label %255

182:                                              ; preds = %176
  %183 = load i32, ptr %15, align 4, !tbaa !13
  call void @_ZN5ImGui6PushIDEi(i32 noundef %183)
  %184 = load ptr, ptr %17, align 8, !tbaa !5
  %185 = load ptr, ptr %4, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.ImGuiStyle, ptr %185, i32 0, i32 15
  %187 = load i32, ptr %15, align 4, !tbaa !13
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds [39 x %struct.ImVec4], ptr %186, i64 0, i64 %188
  %190 = call noundef zeroext i1 @_ZN5ImGui10ColorEdit4EPKcPfb(ptr noundef %184, ptr noundef %189, i1 noundef zeroext true)
  %191 = load ptr, ptr %4, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.ImGuiStyle, ptr %191, i32 0, i32 15
  %193 = load i32, ptr %15, align 4, !tbaa !13
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds [39 x %struct.ImVec4], ptr %192, i64 0, i64 %194
  %196 = load ptr, ptr %2, align 8, !tbaa !5
  %197 = icmp ne ptr %196, null
  br i1 %197, label %198, label %204

198:                                              ; preds = %182
  %199 = load ptr, ptr %2, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.ImGuiStyle, ptr %199, i32 0, i32 15
  %201 = load i32, ptr %15, align 4, !tbaa !13
  %202 = sext i32 %201 to i64
  %203 = getelementptr inbounds [39 x %struct.ImVec4], ptr %200, i64 0, i64 %202
  br label %209

204:                                              ; preds = %182
  %205 = getelementptr inbounds %struct.ImGuiStyle, ptr %5, i32 0, i32 15
  %206 = load i32, ptr %15, align 4, !tbaa !13
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds [39 x %struct.ImVec4], ptr %205, i64 0, i64 %207
  br label %209

209:                                              ; preds = %204, %198
  %210 = phi ptr [ %203, %198 ], [ %208, %204 ]
  %211 = call i32 @memcmp(ptr noundef %195, ptr noundef %210, i64 noundef 16) #8
  %212 = icmp ne i32 %211, 0
  br i1 %212, label %213, label %254

213:                                              ; preds = %209
  call void @_ZN5ImGui8SameLineEii(i32 noundef 0, i32 noundef -1)
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %18, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %214 = call noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2b(ptr noundef @.str.188, ptr noundef nonnull align 4 dereferenceable(8) %18, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  br i1 %214, label %215, label %236

215:                                              ; preds = %213
  %216 = load ptr, ptr %2, align 8, !tbaa !5
  %217 = icmp ne ptr %216, null
  br i1 %217, label %218, label %224

218:                                              ; preds = %215
  %219 = load ptr, ptr %2, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.ImGuiStyle, ptr %219, i32 0, i32 15
  %221 = load i32, ptr %15, align 4, !tbaa !13
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds [39 x %struct.ImVec4], ptr %220, i64 0, i64 %222
  br label %229

224:                                              ; preds = %215
  %225 = getelementptr inbounds %struct.ImGuiStyle, ptr %5, i32 0, i32 15
  %226 = load i32, ptr %15, align 4, !tbaa !13
  %227 = sext i32 %226 to i64
  %228 = getelementptr inbounds [39 x %struct.ImVec4], ptr %225, i64 0, i64 %227
  br label %229

229:                                              ; preds = %224, %218
  %230 = phi ptr [ %223, %218 ], [ %228, %224 ]
  %231 = load ptr, ptr %4, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.ImGuiStyle, ptr %231, i32 0, i32 15
  %233 = load i32, ptr %15, align 4, !tbaa !13
  %234 = sext i32 %233 to i64
  %235 = getelementptr inbounds [39 x %struct.ImVec4], ptr %232, i64 0, i64 %234
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %235, ptr align 4 %230, i64 16, i1 false), !tbaa.struct !27
  br label %236

236:                                              ; preds = %229, %213
  %237 = load ptr, ptr %2, align 8, !tbaa !5
  %238 = icmp ne ptr %237, null
  br i1 %238, label %239, label %253

239:                                              ; preds = %236
  call void @_ZN5ImGui8SameLineEii(i32 noundef 0, i32 noundef -1)
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %240 = call noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2b(ptr noundef @.str.189, ptr noundef nonnull align 4 dereferenceable(8) %19, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  br i1 %240, label %241, label %252

241:                                              ; preds = %239
  %242 = load ptr, ptr %4, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.ImGuiStyle, ptr %242, i32 0, i32 15
  %244 = load i32, ptr %15, align 4, !tbaa !13
  %245 = sext i32 %244 to i64
  %246 = getelementptr inbounds [39 x %struct.ImVec4], ptr %243, i64 0, i64 %245
  %247 = load ptr, ptr %2, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.ImGuiStyle, ptr %247, i32 0, i32 15
  %249 = load i32, ptr %15, align 4, !tbaa !13
  %250 = sext i32 %249 to i64
  %251 = getelementptr inbounds [39 x %struct.ImVec4], ptr %248, i64 0, i64 %250
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %251, ptr align 4 %246, i64 16, i1 false), !tbaa.struct !27
  br label %252

252:                                              ; preds = %241, %239
  br label %253

253:                                              ; preds = %252, %236
  br label %254

254:                                              ; preds = %253, %209
  call void @_ZN5ImGui5PopIDEv()
  store i32 0, ptr %16, align 4
  br label %255

255:                                              ; preds = %254, %181
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  %256 = load i32, ptr %16, align 4
  switch i32 %256, label %268 [
    i32 0, label %257
    i32 7, label %258
  ]

257:                                              ; preds = %255
  br label %258

258:                                              ; preds = %257, %255
  %259 = load i32, ptr %15, align 4, !tbaa !13
  %260 = add nsw i32 %259, 1
  store i32 %260, ptr %15, align 4, !tbaa !13
  br label %168, !llvm.loop !28

261:                                              ; preds = %171
  call void @_ZN5ImGui8EndChildEv()
  call void @_ZN5ImGui7TreePopEv()
  br label %262

262:                                              ; preds = %261, %82
  call void @_ZN5ImGui12PopItemWidthEv()
  call void @llvm.lifetime.end.p0(i64 712, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  ret void

263:                                              ; preds = %172
  %264 = load ptr, ptr %12, align 8
  %265 = load i32, ptr %13, align 4
  %266 = insertvalue { ptr, i32 } poison, ptr %264, 0
  %267 = insertvalue { ptr, i32 } %266, i32 %265, 1
  resume { ptr, i32 } %267

268:                                              ; preds = %255
  unreachable
}

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN15ImGuiTextFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(284)) unnamed_addr #7 align 2

declare void @_ZN10ImGuiStyleC1Ev(ptr)

declare void @_ZN15ImGuiTextFilterC1EPKc(ptr, ptr)

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress uwtable "min-legal-vector-width"="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 #7 = { 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 #8 = { nounwind willreturn memory(read) }

!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 = !{i64 0, i64 4, !10, i64 4, i64 4, !10, i64 8, i64 4, !10, i64 12, i64 4, !10, i64 16, i64 4, !10, i64 20, i64 4, !10, i64 24, i64 4, !10, i64 28, i64 4, !10, i64 32, i64 4, !10, i64 36, i64 4, !10, i64 40, i64 4, !10, i64 44, i64 4, !10, i64 48, i64 4, !10, i64 52, i64 4, !10, i64 56, i64 4, !10, i64 60, i64 4, !10, i64 64, i64 4, !10, i64 68, i64 4, !10, i64 72, i64 4, !10, i64 76, i64 4, !10, i64 80, i64 4, !10, i64 84, i64 4, !10, i64 88, i64 624, !12}
!10 = !{!11, !11, i64 0}
!11 = !{!"float", !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!20, !11, i64 0}
!20 = !{!"_ZTS6ImVec4", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!21 = !{!20, !11, i64 4}
!22 = !{!20, !11, i64 8}
!23 = !{!20, !11, i64 12}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!"branch_weights", i32 1, i32 1048575}
!27 = !{i64 0, i64 4, !10, i64 4, i64 4, !10, i64 8, i64 4, !10, i64 12, i64 4, !10}
!28 = distinct !{!28, !25}


; 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.ImGuiTextFilter = type <{ [256 x i8], %class.ImVector.7, i32, [4 x i8] }>
%class.ImVector.7 = type { i64, i64, ptr }
%struct.ImGuiStyle = type { float, %struct.ImVec2, %struct.ImVec2, float, float, %struct.ImVec2, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, [39 x %struct.ImVec4] }
%struct.ImVec2 = type { float, float }
%struct.ImVec4 = type { float, float, float, float }

@__dso_handle = external hidden global i8
@.str.8 = external hidden unnamed_addr constant [1 x i8], align 1
@_ZL6GImGui = external hidden local_unnamed_addr global ptr, align 8
@.str.94 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.129 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.164 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.165 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.166 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.167 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.168 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.169 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.170 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.171 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.172 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.173 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.174 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.175 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.176 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.177 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.178 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.179 = external hidden unnamed_addr constant [7 x i8], align 1
@_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE11output_dest = external hidden global i32, align 4
@_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE20output_only_modified = external hidden global i8, align 1
@.str.180 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.181 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.182 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.183 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.184 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.185 = external hidden unnamed_addr constant [21 x i8], align 1
@_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE9edit_mode = external hidden global i32, align 4
@_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE6filter = external hidden global %struct.ImGuiTextFilter, align 8
@_ZGVZN5ImGui15ShowStyleEditorEP10ImGuiStyleE6filter = external hidden global i64, align 8
@.str.186 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.187 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.188 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.189 = external hidden unnamed_addr constant [5 x i8], align 1

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

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

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

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

; Function Attrs: nofree nounwind
declare i32 @__cxa_atexit(ptr, ptr, ptr) local_unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15ImGuiTextFilter4DrawEPKcf(ptr noundef nonnull align 8 dereferenceable(284), ptr noundef, float noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui13PushItemWidthEf(float noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui12PopItemWidthEv() local_unnamed_addr #4

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK15ImGuiTextFilter10PassFilterEPKc(ptr noundef nonnull align 8 dereferenceable(284), ptr noundef) local_unnamed_addr #4 align 2

; Function Attrs: nofree nounwind
declare i32 @__cxa_guard_acquire(ptr) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare void @__cxa_guard_abort(ptr) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare void @__cxa_guard_release(ptr) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui7LogTextEPKcz(ptr noundef, ...) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8EndChildEv() local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui9LogFinishEv() local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN5ImGui14GetWindowWidthEv() local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8SameLineEii(i32 noundef, i32 noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui5PopIDEv() local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui8LogToTTYEi(i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui14LogToClipboardEi(i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui6PushIDEi(i32 noundef) local_unnamed_addr #4

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui10ColorEdit4EPKcPfb(ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui13ColorEditModeEi(i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui7TreePopEv() local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui15ShowStyleEditorEP10ImGuiStyle(ptr noundef %0) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %2 = alloca %struct.ImGuiStyle, align 4
  %3 = alloca %struct.ImVec2, align 4
  %4 = alloca %struct.ImVec2, align 4
  %5 = alloca %struct.ImVec2, align 4
  %6 = alloca %struct.ImVec2, align 4
  %7 = alloca %struct.ImVec2, align 4
  %8 = alloca %struct.ImVec2, align 4
  %9 = load ptr, ptr @_ZL6GImGui, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %9, i64 2960
  call void @llvm.lifetime.start.p0(i64 712, ptr nonnull %2) #9
  call void @_ZN10ImGuiStyleC1Ev(ptr noundef nonnull align 4 dereferenceable(712) %2)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %11 = call noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2b(ptr noundef nonnull @.str.164, ptr noundef nonnull align 4 dereferenceable(8) %3, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #9
  br i1 %11, label %12, label %14

12:                                               ; preds = %1
  %.not = icmp eq ptr %0, null
  %13 = select i1 %.not, ptr %2, ptr %0
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(712) %10, ptr noundef nonnull align 4 dereferenceable(712) %13, i64 712, i1 false), !tbaa.struct !9
  br label %14

14:                                               ; preds = %12, %1
  %.not62 = icmp eq ptr %0, null
  br i1 %.not62, label %18, label %15

15:                                               ; preds = %14
  call void @_ZN5ImGui8SameLineEii(i32 noundef 0, i32 noundef -1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %4, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %16 = call noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2b(ptr noundef nonnull @.str.165, ptr noundef nonnull align 4 dereferenceable(8) %4, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  br i1 %16, label %17, label %18

17:                                               ; preds = %15
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(712) %0, ptr noundef nonnull align 8 dereferenceable(712) %10, i64 712, i1 false), !tbaa.struct !9
  br label %18

18:                                               ; preds = %15, %17, %14
  %19 = call noundef float @_ZN5ImGui14GetWindowWidthEv()
  %20 = fmul float %19, 0x3FE19999A0000000
  call void @_ZN5ImGui13PushItemWidthEf(float noundef %20)
  %21 = call noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef nonnull @.str.166)
  br i1 %21, label %22, label %44

22:                                               ; preds = %18
  %23 = call noundef zeroext i1 @_ZN5ImGui11SliderFloatEPKcPfffS1_f(ptr noundef nonnull @.str.167, ptr noundef nonnull %10, float noundef 0x3FC99999A0000000, float noundef 1.000000e+00, ptr noundef nonnull @.str.168, float noundef 1.000000e+00)
  %24 = getelementptr inbounds i8, ptr %9, i64 2964
  %25 = call noundef zeroext i1 @_ZN5ImGui12SliderFloat2EPKcPfffS1_f(ptr noundef nonnull @.str.169, ptr noundef nonnull %24, float noundef 0.000000e+00, float noundef 2.000000e+01, ptr noundef nonnull @.str.94, float noundef 1.000000e+00)
  %26 = getelementptr inbounds i8, ptr %9, i64 2980
  %27 = call noundef zeroext i1 @_ZN5ImGui11SliderFloatEPKcPfffS1_f(ptr noundef nonnull @.str.170, ptr noundef nonnull %26, float noundef 0.000000e+00, float noundef 1.600000e+01, ptr noundef nonnull @.str.94, float noundef 1.000000e+00)
  %28 = getelementptr inbounds i8, ptr %9, i64 2984
  %29 = call noundef zeroext i1 @_ZN5ImGui11SliderFloatEPKcPfffS1_f(ptr noundef nonnull @.str.171, ptr noundef nonnull %28, float noundef 0.000000e+00, float noundef 1.600000e+01, ptr noundef nonnull @.str.94, float noundef 1.000000e+00)
  %30 = getelementptr inbounds i8, ptr %9, i64 2988
  %31 = call noundef zeroext i1 @_ZN5ImGui12SliderFloat2EPKcPfffS1_f(ptr noundef nonnull @.str.172, ptr noundef nonnull %30, float noundef 0.000000e+00, float noundef 2.000000e+01, ptr noundef nonnull @.str.94, float noundef 1.000000e+00)
  %32 = getelementptr inbounds i8, ptr %9, i64 2996
  %33 = call noundef zeroext i1 @_ZN5ImGui11SliderFloatEPKcPfffS1_f(ptr noundef nonnull @.str.173, ptr noundef nonnull %32, float noundef 0.000000e+00, float noundef 1.600000e+01, ptr noundef nonnull @.str.94, float noundef 1.000000e+00)
  %34 = getelementptr inbounds i8, ptr %9, i64 3000
  %35 = call noundef zeroext i1 @_ZN5ImGui12SliderFloat2EPKcPfffS1_f(ptr noundef nonnull @.str.174, ptr noundef nonnull %34, float noundef 0.000000e+00, float noundef 2.000000e+01, ptr noundef nonnull @.str.94, float noundef 1.000000e+00)
  %36 = getelementptr inbounds i8, ptr %9, i64 3008
  %37 = call noundef zeroext i1 @_ZN5ImGui12SliderFloat2EPKcPfffS1_f(ptr noundef nonnull @.str.175, ptr noundef nonnull %36, float noundef 0.000000e+00, float noundef 2.000000e+01, ptr noundef nonnull @.str.94, float noundef 1.000000e+00)
  %38 = getelementptr inbounds i8, ptr %9, i64 3016
  %39 = call noundef zeroext i1 @_ZN5ImGui12SliderFloat2EPKcPfffS1_f(ptr noundef nonnull @.str.176, ptr noundef nonnull %38, float noundef 0.000000e+00, float noundef 1.000000e+01, ptr noundef nonnull @.str.94, float noundef 1.000000e+00)
  %40 = getelementptr inbounds i8, ptr %9, i64 3036
  %41 = call noundef zeroext i1 @_ZN5ImGui11SliderFloatEPKcPfffS1_f(ptr noundef nonnull @.str.177, ptr noundef nonnull %40, float noundef 0.000000e+00, float noundef 2.000000e+01, ptr noundef nonnull @.str.94, float noundef 1.000000e+00)
  %42 = getelementptr inbounds i8, ptr %9, i64 3044
  %43 = call noundef zeroext i1 @_ZN5ImGui11SliderFloatEPKcPfffS1_f(ptr noundef nonnull @.str.178, ptr noundef nonnull %42, float noundef 0.000000e+00, float noundef 2.000000e+01, ptr noundef nonnull @.str.94, float noundef 1.000000e+00)
  call void @_ZN5ImGui7TreePopEv()
  br label %44

44:                                               ; preds = %22, %18
  %45 = call noundef zeroext i1 @_ZN5ImGui8TreeNodeEPKc(ptr noundef nonnull @.str.179)
  br i1 %45, label %46, label %126

46:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %47 = call noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2b(ptr noundef nonnull @.str.180, ptr noundef nonnull align 4 dereferenceable(8) %5, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  br i1 %47, label %48, label %79

48:                                               ; preds = %46
  %49 = load i32, ptr @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE11output_dest, align 4, !tbaa !13
  %50 = icmp eq i32 %49, 0
  br i1 %50, label %51, label %52

51:                                               ; preds = %48
  call void @_ZN5ImGui14LogToClipboardEi(i32 noundef -1)
  br label %53

52:                                               ; preds = %48
  call void @_ZN5ImGui8LogToTTYEi(i32 noundef -1)
  br label %53

53:                                               ; preds = %52, %51
  call void (ptr, ...) @_ZN5ImGui7LogTextEPKcz(ptr noundef nonnull @.str.181)
  %54 = getelementptr inbounds i8, ptr %9, i64 3048
  %..sroa.sel.v.sroa.sel.v.sroa.sel.v = select i1 %.not62, ptr %2, ptr %0
  %..sroa.sel.v.sroa.sel.v.sroa.sel = getelementptr inbounds i8, ptr %..sroa.sel.v.sroa.sel.v.sroa.sel.v, i64 88
  br label %56

55:                                               ; preds = %78
  call void @_ZN5ImGui9LogFinishEv()
  br label %79

56:                                               ; preds = %53, %78
  %indvars.iv = phi i64 [ 0, %53 ], [ %indvars.iv.next, %78 ]
  %57 = getelementptr inbounds [39 x %struct.ImVec4], ptr %54, i64 0, i64 %indvars.iv
  %58 = trunc nuw nsw i64 %indvars.iv to i32
  %59 = call noundef ptr @_ZN5ImGui15GetStyleColNameEi(i32 noundef %58)
  %60 = load i8, ptr @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE20output_only_modified, align 1, !tbaa !15, !range !17, !noundef !18
  %61 = trunc nuw i8 %60 to i1
  br i1 %61, label %62, label %64

62:                                               ; preds = %56
  %63 = getelementptr inbounds [39 x %struct.ImVec4], ptr %..sroa.sel.v.sroa.sel.v.sroa.sel, i64 0, i64 %indvars.iv
  %bcmp65 = call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %57, ptr noundef nonnull dereferenceable(16) %63, i64 16)
  %.not66 = icmp eq i32 %bcmp65, 0
  br i1 %.not66, label %78, label %64

64:                                               ; preds = %62, %56
  %65 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %59) #10
  %66 = sub i64 22, %65
  %67 = load float, ptr %57, align 4, !tbaa !19
  %68 = fpext float %67 to double
  %69 = getelementptr inbounds i8, ptr %57, i64 4
  %70 = load float, ptr %69, align 4, !tbaa !21
  %71 = fpext float %70 to double
  %72 = getelementptr inbounds i8, ptr %57, i64 8
  %73 = load float, ptr %72, align 4, !tbaa !22
  %74 = fpext float %73 to double
  %75 = getelementptr inbounds i8, ptr %57, i64 12
  %76 = load float, ptr %75, align 4, !tbaa !23
  %77 = fpext float %76 to double
  call void (ptr, ...) @_ZN5ImGui7LogTextEPKcz(ptr noundef nonnull @.str.182, ptr noundef %59, i64 noundef %66, ptr noundef nonnull @.str.8, double noundef %68, double noundef %71, double noundef %74, double noundef %77)
  br label %78

78:                                               ; preds = %64, %62
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 39
  br i1 %exitcond.not, label %55, label %56, !llvm.loop !24

79:                                               ; preds = %55, %46
  call void @_ZN5ImGui8SameLineEii(i32 noundef 0, i32 noundef -1)
  call void @_ZN5ImGui13PushItemWidthEf(float noundef 1.500000e+02)
  %80 = call noundef zeroext i1 @_ZN5ImGui5ComboEPKcPiS1_i(ptr noundef nonnull @.str.183, ptr noundef nonnull @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE11output_dest, ptr noundef nonnull @.str.184, i32 noundef -1)
  call void @_ZN5ImGui12PopItemWidthEv()
  call void @_ZN5ImGui8SameLineEii(i32 noundef 0, i32 noundef -1)
  %81 = call noundef zeroext i1 @_ZN5ImGui8CheckboxEPKcPb(ptr noundef nonnull @.str.185, ptr noundef nonnull @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE20output_only_modified)
  %82 = call noundef zeroext i1 @_ZN5ImGui11RadioButtonEPKcPii(ptr noundef nonnull @.str.127, ptr noundef nonnull @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE9edit_mode, i32 noundef 0)
  call void @_ZN5ImGui8SameLineEii(i32 noundef 0, i32 noundef -1)
  %83 = call noundef zeroext i1 @_ZN5ImGui11RadioButtonEPKcPii(ptr noundef nonnull @.str.128, ptr noundef nonnull @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE9edit_mode, i32 noundef 1)
  call void @_ZN5ImGui8SameLineEii(i32 noundef 0, i32 noundef -1)
  %84 = call noundef zeroext i1 @_ZN5ImGui11RadioButtonEPKcPii(ptr noundef nonnull @.str.129, ptr noundef nonnull @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE9edit_mode, i32 noundef 2)
  %85 = load atomic i8, ptr @_ZGVZN5ImGui15ShowStyleEditorEP10ImGuiStyleE6filter acquire, align 8
  %86 = icmp eq i8 %85, 0
  br i1 %86, label %87, label %92, !prof !26

87:                                               ; preds = %79
  %88 = call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZN5ImGui15ShowStyleEditorEP10ImGuiStyleE6filter) #9
  %.not63 = icmp eq i32 %88, 0
  br i1 %.not63, label %92, label %89

89:                                               ; preds = %87
  invoke void @_ZN15ImGuiTextFilterC1EPKc(ptr noundef nonnull align 8 dereferenceable(284) @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE6filter, ptr noundef nonnull @.str.8)
          to label %90 unwind label %108

90:                                               ; preds = %89
  %91 = call i32 @__cxa_atexit(ptr nonnull @_ZN15ImGuiTextFilterD2Ev, ptr nonnull @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE6filter, ptr nonnull @__dso_handle) #9
  call void @__cxa_guard_release(ptr nonnull @_ZGVZN5ImGui15ShowStyleEditorEP10ImGuiStyleE6filter) #9
  br label %92

92:                                               ; preds = %90, %87, %79
  call void @_ZN15ImGuiTextFilter4DrawEPKcf(ptr noundef nonnull align 8 dereferenceable(284) @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE6filter, ptr noundef nonnull @.str.186, float noundef 2.000000e+02)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef 0.000000e+00, float noundef 3.000000e+02)
  %93 = call noundef zeroext i1 @_ZN5ImGui10BeginChildEPKcRK6ImVec2bi(ptr noundef nonnull @.str.187, ptr noundef nonnull align 4 dereferenceable(8) %6, i1 noundef zeroext true, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  %94 = load i32, ptr @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE9edit_mode, align 4, !tbaa !13
  call void @_ZN5ImGui13ColorEditModeEi(i32 noundef %94)
  %95 = getelementptr inbounds i8, ptr %9, i64 3048
  %.sroa.gep70 = getelementptr inbounds i8, ptr %2, i64 88
  %.sroa.gep71 = getelementptr inbounds i8, ptr %0, i64 88
  %.67.sroa.sel = select i1 %.not62, ptr %.sroa.gep70, ptr %.sroa.gep71
  br i1 %.not62, label %.split.us, label %.split

.split.us:                                        ; preds = %92, %107
  %indvars.iv84 = phi i64 [ %indvars.iv.next85, %107 ], [ 0, %92 ]
  %96 = trunc nuw nsw i64 %indvars.iv84 to i32
  %97 = call noundef ptr @_ZN5ImGui15GetStyleColNameEi(i32 noundef %96)
  %98 = call noundef zeroext i1 @_ZNK15ImGuiTextFilter10PassFilterEPKc(ptr noundef nonnull align 8 dereferenceable(284) @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE6filter, ptr noundef %97)
  br i1 %98, label %99, label %107

99:                                               ; preds = %.split.us
  call void @_ZN5ImGui6PushIDEi(i32 noundef %96)
  %100 = getelementptr inbounds [39 x %struct.ImVec4], ptr %95, i64 0, i64 %indvars.iv84
  %101 = call noundef zeroext i1 @_ZN5ImGui10ColorEdit4EPKcPfb(ptr noundef %97, ptr noundef nonnull %100, i1 noundef zeroext true)
  %102 = getelementptr inbounds [39 x %struct.ImVec4], ptr %.67.sroa.sel, i64 0, i64 %indvars.iv84
  %bcmp.us = call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %100, ptr noundef nonnull dereferenceable(16) %102, i64 16)
  %.not64.us = icmp eq i32 %bcmp.us, 0
  br i1 %.not64.us, label %106, label %103

103:                                              ; preds = %99
  call void @_ZN5ImGui8SameLineEii(i32 noundef 0, i32 noundef -1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %104 = call noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2b(ptr noundef nonnull @.str.188, ptr noundef nonnull align 4 dereferenceable(8) %7, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  br i1 %104, label %105, label %106

105:                                              ; preds = %103
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %100, ptr noundef nonnull align 4 dereferenceable(16) %102, i64 16, i1 false), !tbaa.struct !27
  br label %106

106:                                              ; preds = %103, %105, %99
  call void @_ZN5ImGui5PopIDEv()
  br label %107

107:                                              ; preds = %106, %.split.us
  %indvars.iv.next85 = add nuw nsw i64 %indvars.iv84, 1
  %exitcond87.not = icmp eq i64 %indvars.iv.next85, 39
  br i1 %exitcond87.not, label %.split77.us, label %.split.us, !llvm.loop !28

.split77.us:                                      ; preds = %125, %107
  call void @_ZN5ImGui8EndChildEv()
  call void @_ZN5ImGui7TreePopEv()
  br label %126

108:                                              ; preds = %89
  %109 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_guard_abort(ptr nonnull @_ZGVZN5ImGui15ShowStyleEditorEP10ImGuiStyleE6filter) #9
  call void @llvm.lifetime.end.p0(i64 712, ptr nonnull %2) #9
  resume { ptr, i32 } %109

.split:                                           ; preds = %92, %125
  %indvars.iv80 = phi i64 [ %indvars.iv.next81, %125 ], [ 0, %92 ]
  %110 = trunc nuw nsw i64 %indvars.iv80 to i32
  %111 = call noundef ptr @_ZN5ImGui15GetStyleColNameEi(i32 noundef %110)
  %112 = call noundef zeroext i1 @_ZNK15ImGuiTextFilter10PassFilterEPKc(ptr noundef nonnull align 8 dereferenceable(284) @_ZZN5ImGui15ShowStyleEditorEP10ImGuiStyleE6filter, ptr noundef %111)
  br i1 %112, label %113, label %125

113:                                              ; preds = %.split
  call void @_ZN5ImGui6PushIDEi(i32 noundef %110)
  %114 = getelementptr inbounds [39 x %struct.ImVec4], ptr %95, i64 0, i64 %indvars.iv80
  %115 = call noundef zeroext i1 @_ZN5ImGui10ColorEdit4EPKcPfb(ptr noundef %111, ptr noundef nonnull %114, i1 noundef zeroext true)
  %116 = getelementptr inbounds [39 x %struct.ImVec4], ptr %.67.sroa.sel, i64 0, i64 %indvars.iv80
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %114, ptr noundef nonnull dereferenceable(16) %116, i64 16)
  %.not64 = icmp eq i32 %bcmp, 0
  br i1 %.not64, label %124, label %117

117:                                              ; preds = %113
  call void @_ZN5ImGui8SameLineEii(i32 noundef 0, i32 noundef -1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %118 = call noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2b(ptr noundef nonnull @.str.188, ptr noundef nonnull align 4 dereferenceable(8) %7, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  br i1 %118, label %119, label %120

119:                                              ; preds = %117
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %114, ptr noundef nonnull align 4 dereferenceable(16) %116, i64 16, i1 false), !tbaa.struct !27
  br label %120

120:                                              ; preds = %119, %117
  call void @_ZN5ImGui8SameLineEii(i32 noundef 0, i32 noundef -1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %121 = call noundef zeroext i1 @_ZN5ImGui6ButtonEPKcRK6ImVec2b(ptr noundef nonnull @.str.189, ptr noundef nonnull align 4 dereferenceable(8) %8, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  br i1 %121, label %122, label %124

122:                                              ; preds = %120
  %123 = getelementptr inbounds [39 x %struct.ImVec4], ptr %.sroa.gep71, i64 0, i64 %indvars.iv80
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %123, ptr noundef nonnull align 4 dereferenceable(16) %114, i64 16, i1 false), !tbaa.struct !27
  br label %124

124:                                              ; preds = %122, %120, %113
  call void @_ZN5ImGui5PopIDEv()
  br label %125

125:                                              ; preds = %.split, %124
  %indvars.iv.next81 = add nuw nsw i64 %indvars.iv80, 1
  %exitcond83.not = icmp eq i64 %indvars.iv.next81, 39
  br i1 %exitcond83.not, label %.split77.us, label %.split, !llvm.loop !28

126:                                              ; preds = %.split77.us, %44
  call void @_ZN5ImGui12PopItemWidthEv()
  call void @llvm.lifetime.end.p0(i64 712, ptr nonnull %2) #9
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN15ImGuiTextFilterD2Ev(ptr noundef nonnull align 8 dereferenceable(284)) unnamed_addr #7 align 2

declare void @_ZN10ImGuiStyleC1Ev(ptr) local_unnamed_addr

declare void @_ZN15ImGuiTextFilterC1EPKc(ptr, ptr) local_unnamed_addr

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #8

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nofree nounwind }
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 nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress uwtable "min-legal-vector-width"="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 #7 = { 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 #8 = { nofree nounwind willreturn memory(argmem: read) }
attributes #9 = { nounwind }
attributes #10 = { nounwind willreturn memory(read) }

!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 = !{i64 0, i64 4, !10, i64 4, i64 4, !10, i64 8, i64 4, !10, i64 12, i64 4, !10, i64 16, i64 4, !10, i64 20, i64 4, !10, i64 24, i64 4, !10, i64 28, i64 4, !10, i64 32, i64 4, !10, i64 36, i64 4, !10, i64 40, i64 4, !10, i64 44, i64 4, !10, i64 48, i64 4, !10, i64 52, i64 4, !10, i64 56, i64 4, !10, i64 60, i64 4, !10, i64 64, i64 4, !10, i64 68, i64 4, !10, i64 72, i64 4, !10, i64 76, i64 4, !10, i64 80, i64 4, !10, i64 84, i64 4, !10, i64 88, i64 624, !12}
!10 = !{!11, !11, i64 0}
!11 = !{!"float", !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!20, !11, i64 0}
!20 = !{!"_ZTS6ImVec4", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!21 = !{!20, !11, i64 4}
!22 = !{!20, !11, i64 8}
!23 = !{!20, !11, i64 12}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!"branch_weights", i32 1, i32 1048575}
!27 = !{i64 0, i64 4, !10, i64 4, i64 4, !10, i64 8, i64 4, !10, i64 12, i64 4, !10}
!28 = distinct !{!28, !25}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass