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

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

%struct.ImVec2 = type { float, float }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImGuiAabb = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImGuiWindow = type { ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, i8, i8, i8, i32, i8, i32, i32, i32, %struct.ImGuiDrawContext, %class.ImVector.11, %class.ImVector.12, %struct.ImGuiAabb, i32, float, %struct.ImGuiStorage, float, ptr, ptr, i32, i32, i32, i32, i32, i32 }
%struct.ImGuiDrawContext = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, i32, i32, %struct.ImGuiAabb, i8, %class.ImVector.1, %class.ImVector.9, %class.ImVector.10, %class.ImVector.10, i32, ptr, float, float, i32, i32, %struct.ImVec2, float, float, i8, i32, %class.ImVector.10 }
%class.ImVector.1 = type { i64, i64, ptr }
%class.ImVector.9 = type { i64, i64, ptr }
%class.ImVector.10 = type { i64, i64, ptr }
%class.ImVector.11 = type { i64, i64, ptr }
%class.ImVector.12 = type { i64, i64, ptr }
%struct.ImGuiStorage = type { %class.ImVector.6 }
%class.ImVector.6 = type { i64, i64, ptr }
%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] }>
%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] }
%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 }
%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 }

@_ZL6GImGui = external hidden global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [15 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui15TextUnformattedEPKcS1_ = external hidden unnamed_addr constant [56 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: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZL16GetCurrentWindowv() #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #7

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui15TextUnformattedEPKcS1_(ptr noundef %0, ptr noundef %1) #8 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca float, align 4
  %10 = alloca i8, align 1
  %11 = alloca ptr, align 8
  %12 = alloca float, align 4
  %13 = alloca %struct.ImVec2, align 4
  %14 = alloca %struct.ImVec4, align 4
  %15 = alloca %struct.ImVec2, align 4
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca %struct.ImGuiAabb, align 4
  %21 = alloca %struct.ImVec2, align 4
  %22 = alloca %struct.ImVec2, align 4
  %23 = alloca ptr, align 8
  %24 = alloca %struct.ImVec2, align 4
  %25 = alloca %struct.ImVec2, align 4
  %26 = alloca i32, align 4
  %27 = alloca ptr, align 8
  %28 = alloca %struct.ImVec2, align 4
  %29 = alloca %struct.ImGuiAabb, align 4
  %30 = alloca %struct.ImVec2, align 4
  %31 = alloca float, align 4
  %32 = alloca %struct.ImVec2, align 4
  %33 = alloca %struct.ImGuiAabb, align 4
  %34 = alloca %struct.ImVec2, align 4
  %35 = alloca %struct.ImVec2, align 4
  %36 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #10
  %37 = load ptr, ptr @_ZL6GImGui, align 8, !tbaa !5
  store ptr %37, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #10
  %38 = call noundef ptr @_ZL16GetCurrentWindowv()
  store ptr %38, ptr %6, align 8, !tbaa !5
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.ImGuiWindow, ptr %39, i32 0, i32 14
  %41 = load i8, ptr %40, align 4, !tbaa !9, !range !25, !noundef !26
  %42 = trunc i8 %41 to i1
  br i1 %42, label %43, label %44

43:                                               ; preds = %2
  store i32 1, ptr %7, align 4
  br label %267

44:                                               ; preds = %2
  %45 = load ptr, ptr %3, align 8, !tbaa !5
  %46 = icmp ne ptr %45, null
  br i1 %46, label %47, label %48

47:                                               ; preds = %44
  br label %50

48:                                               ; preds = %44
  call void @__assert_fail(ptr noundef @.str.78, ptr noundef @.str.10, i32 noundef 3785, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui15TextUnformattedEPKcS1_) #11
  unreachable

49:                                               ; No predecessors!
  br label %50

50:                                               ; preds = %49, %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #10
  %51 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %51, ptr %8, align 8, !tbaa !5
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = icmp eq ptr %52, null
  br i1 %53, label %54, label %59

54:                                               ; preds = %50
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = call i64 @strlen(ptr noundef %56) #12
  %58 = getelementptr inbounds i8, ptr %55, i64 %57
  store ptr %58, ptr %4, align 8, !tbaa !5
  br label %59

59:                                               ; preds = %54, %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #10
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.ImGuiWindow, ptr %60, i32 0, i32 20
  %62 = getelementptr inbounds %struct.ImGuiDrawContext, ptr %61, i32 0, i32 13
  %63 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8ImVectorIfE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %62)
  %64 = load float, ptr %63, align 4, !tbaa !27
  store float %64, ptr %9, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #10
  %65 = load float, ptr %9, align 4, !tbaa !27
  %66 = fcmp oge float %65, 0.000000e+00
  %67 = zext i1 %66 to i8
  store i8 %67, ptr %10, align 1, !tbaa !28
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = load ptr, ptr %3, align 8, !tbaa !5
  %70 = ptrtoint ptr %68 to i64
  %71 = ptrtoint ptr %69 to i64
  %72 = sub i64 %70, %71
  %73 = icmp sgt i64 %72, 2000
  br i1 %73, label %74, label %228

74:                                               ; preds = %59
  %75 = load i8, ptr %10, align 1, !tbaa !28, !range !25, !noundef !26
  %76 = trunc i8 %75 to i1
  br i1 %76, label %228, label %77

77:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  %78 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %78, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #10
  %79 = call noundef float @_ZN5ImGui17GetTextLineHeightEv()
  store float %79, ptr %12, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #10
  %80 = load ptr, ptr %6, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.ImGuiWindow, ptr %80, i32 0, i32 20
  %82 = getelementptr inbounds %struct.ImGuiDrawContext, ptr %81, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 8 %82, i64 8, i1 false), !tbaa.struct !29
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #10
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.ImGuiWindow, ptr %83, i32 0, i32 22
  %85 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN8ImVectorI6ImVec4E4backEv(ptr noundef nonnull align 8 dereferenceable(24) %84)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %85, i64 16, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %86 = getelementptr inbounds %struct.ImVec2, ptr %13, i32 0, i32 1
  %87 = load float, ptr %86, align 4, !tbaa !31
  %88 = getelementptr inbounds %struct.ImVec4, ptr %14, i32 0, i32 3
  %89 = load float, ptr %88, align 4, !tbaa !32
  %90 = fcmp ole float %87, %89
  br i1 %90, label %91, label %219

91:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 %13, i64 8, i1 false), !tbaa.struct !29
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.ImGuiState, ptr %92, i32 0, i32 44
  %94 = load i8, ptr %93, align 8, !tbaa !34, !range !25, !noundef !26
  %95 = trunc i8 %94 to i1
  br i1 %95, label %134, label %96

96:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #10
  %97 = getelementptr inbounds %struct.ImVec4, ptr %14, i32 0, i32 1
  %98 = load float, ptr %97, align 4, !tbaa !47
  %99 = getelementptr inbounds %struct.ImVec2, ptr %13, i32 0, i32 1
  %100 = load float, ptr %99, align 4, !tbaa !31
  %101 = fsub float %98, %100
  %102 = load float, ptr %12, align 4, !tbaa !27
  %103 = fdiv float %101, %102
  %104 = fptosi float %103 to i32
  %105 = sub nsw i32 %104, 1
  store i32 %105, ptr %17, align 4, !tbaa !48
  %106 = load i32, ptr %17, align 4, !tbaa !48
  %107 = icmp sgt i32 %106, 0
  br i1 %107, label %108, label %133

108:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #10
  store i32 0, ptr %18, align 4, !tbaa !48
  br label %109

109:                                              ; preds = %119, %108
  %110 = load ptr, ptr %11, align 8, !tbaa !5
  %111 = load ptr, ptr %4, align 8, !tbaa !5
  %112 = icmp ult ptr %110, %111
  br i1 %112, label %113, label %117

113:                                              ; preds = %109
  %114 = load i32, ptr %18, align 4, !tbaa !48
  %115 = load i32, ptr %17, align 4, !tbaa !48
  %116 = icmp sle i32 %114, %115
  br label %117

117:                                              ; preds = %113, %109
  %118 = phi i1 [ false, %109 ], [ %116, %113 ]
  br i1 %118, label %119, label %126

119:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #10
  %120 = load ptr, ptr %11, align 8, !tbaa !5
  %121 = call noundef ptr @strchr(ptr noundef %120, i32 noundef 10) #12
  store ptr %121, ptr %19, align 8, !tbaa !5
  %122 = load ptr, ptr %19, align 8, !tbaa !5
  %123 = getelementptr inbounds i8, ptr %122, i64 1
  store ptr %123, ptr %11, align 8, !tbaa !5
  %124 = load i32, ptr %18, align 4, !tbaa !48
  %125 = add nsw i32 %124, 1
  store i32 %125, ptr %18, align 4, !tbaa !48
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  br label %109, !llvm.loop !49

126:                                              ; preds = %117
  %127 = load i32, ptr %18, align 4, !tbaa !48
  %128 = sitofp i32 %127 to float
  %129 = load float, ptr %12, align 4, !tbaa !27
  %130 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 1
  %131 = load float, ptr %130, align 4, !tbaa !31
  %132 = call float @llvm.fmuladd.f32(float %128, float %129, float %131)
  store float %132, ptr %130, align 4, !tbaa !31
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #10
  br label %133

133:                                              ; preds = %126, %96
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #10
  br label %134

134:                                              ; preds = %133, %91
  %135 = load ptr, ptr %11, align 8, !tbaa !5
  %136 = load ptr, ptr %4, align 8, !tbaa !5
  %137 = icmp ult ptr %135, %136
  br i1 %137, label %138, label %212

138:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #10
  %139 = call noundef float @_ZN5ImGui14GetWindowWidthEv()
  %140 = load float, ptr %12, align 4, !tbaa !27
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef %139, float noundef %140)
  %141 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %22)
  store <2 x float> %141, ptr %21, align 4
  call void @_ZN9ImGuiAabbC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %20, ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %21)
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  br label %142

142:                                              ; preds = %187, %138
  %143 = load ptr, ptr %11, align 8, !tbaa !5
  %144 = load ptr, ptr %4, align 8, !tbaa !5
  %145 = icmp ult ptr %143, %144
  br i1 %145, label %146, label %188

146:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  %147 = load ptr, ptr %11, align 8, !tbaa !5
  %148 = call noundef ptr @strchr(ptr noundef %147, i32 noundef 10) #12
  store ptr %148, ptr %23, align 8, !tbaa !5
  %149 = call noundef zeroext i1 @_ZL9IsClippedRK9ImGuiAabb(ptr noundef nonnull align 4 dereferenceable(16) %20)
  br i1 %149, label %150, label %151

150:                                              ; preds = %146
  store i32 5, ptr %7, align 4
  br label %185

151:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #10
  %152 = load ptr, ptr %11, align 8, !tbaa !5
  %153 = load ptr, ptr %23, align 8, !tbaa !5
  %154 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %152, ptr noundef %153, i1 noundef zeroext false, float noundef -1.000000e+00)
  store <2 x float> %154, ptr %24, align 4
  %155 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  %156 = load float, ptr %155, align 4, !tbaa !51
  %157 = getelementptr inbounds %struct.ImVec2, ptr %24, i32 0, i32 0
  %158 = load float, ptr %157, align 4, !tbaa !51
  %159 = call noundef float @_ZL5ImMaxff(float noundef %156, float noundef %158)
  %160 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 0
  store float %159, ptr %160, align 4, !tbaa !51
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 %16, i64 8, i1 false), !tbaa.struct !29
  %161 = load ptr, ptr %11, align 8, !tbaa !5
  %162 = load ptr, ptr %23, align 8, !tbaa !5
  %163 = load <2 x float>, ptr %25, align 4
  call void @_ZL10RenderText6ImVec2PKcS1_b(<2 x float> %163, ptr noundef %161, ptr noundef %162, i1 noundef zeroext false)
  %164 = load ptr, ptr %23, align 8, !tbaa !5
  %165 = icmp ne ptr %164, null
  br i1 %165, label %168, label %166

166:                                              ; preds = %151
  %167 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %167, ptr %23, align 8, !tbaa !5
  br label %168

168:                                              ; preds = %166, %151
  %169 = load ptr, ptr %23, align 8, !tbaa !5
  %170 = getelementptr inbounds i8, ptr %169, i64 1
  store ptr %170, ptr %11, align 8, !tbaa !5
  %171 = load float, ptr %12, align 4, !tbaa !27
  %172 = getelementptr inbounds %struct.ImGuiAabb, ptr %20, i32 0, i32 0
  %173 = getelementptr inbounds %struct.ImVec2, ptr %172, i32 0, i32 1
  %174 = load float, ptr %173, align 4, !tbaa !52
  %175 = fadd float %174, %171
  store float %175, ptr %173, align 4, !tbaa !52
  %176 = load float, ptr %12, align 4, !tbaa !27
  %177 = getelementptr inbounds %struct.ImGuiAabb, ptr %20, i32 0, i32 1
  %178 = getelementptr inbounds %struct.ImVec2, ptr %177, i32 0, i32 1
  %179 = load float, ptr %178, align 4, !tbaa !53
  %180 = fadd float %179, %176
  store float %180, ptr %178, align 4, !tbaa !53
  %181 = load float, ptr %12, align 4, !tbaa !27
  %182 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 1
  %183 = load float, ptr %182, align 4, !tbaa !31
  %184 = fadd float %183, %181
  store float %184, ptr %182, align 4, !tbaa !31
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  store i32 0, ptr %7, align 4
  br label %185

185:                                              ; preds = %168, %150
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  %186 = load i32, ptr %7, align 4
  switch i32 %186, label %270 [
    i32 0, label %187
    i32 5, label %188
  ]

187:                                              ; preds = %185
  br label %142, !llvm.loop !54

188:                                              ; preds = %185, %142
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #10
  store i32 0, ptr %26, align 4, !tbaa !48
  br label %189

189:                                              ; preds = %200, %188
  %190 = load ptr, ptr %11, align 8, !tbaa !5
  %191 = load ptr, ptr %4, align 8, !tbaa !5
  %192 = icmp ult ptr %190, %191
  br i1 %192, label %193, label %205

193:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #10
  %194 = load ptr, ptr %11, align 8, !tbaa !5
  %195 = call noundef ptr @strchr(ptr noundef %194, i32 noundef 10) #12
  store ptr %195, ptr %27, align 8, !tbaa !5
  %196 = load ptr, ptr %27, align 8, !tbaa !5
  %197 = icmp ne ptr %196, null
  br i1 %197, label %200, label %198

198:                                              ; preds = %193
  %199 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %199, ptr %27, align 8, !tbaa !5
  br label %200

200:                                              ; preds = %198, %193
  %201 = load ptr, ptr %27, align 8, !tbaa !5
  %202 = getelementptr inbounds i8, ptr %201, i64 1
  store ptr %202, ptr %11, align 8, !tbaa !5
  %203 = load i32, ptr %26, align 4, !tbaa !48
  %204 = add nsw i32 %203, 1
  store i32 %204, ptr %26, align 4, !tbaa !48
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #10
  br label %189, !llvm.loop !55

205:                                              ; preds = %189
  %206 = load i32, ptr %26, align 4, !tbaa !48
  %207 = sitofp i32 %206 to float
  %208 = load float, ptr %12, align 4, !tbaa !27
  %209 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 1
  %210 = load float, ptr %209, align 4, !tbaa !31
  %211 = call float @llvm.fmuladd.f32(float %207, float %208, float %210)
  store float %211, ptr %209, align 4, !tbaa !31
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #10
  br label %212

212:                                              ; preds = %205, %134
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #10
  %213 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %13)
  store <2 x float> %213, ptr %28, align 4
  %214 = getelementptr inbounds %struct.ImVec2, ptr %28, i32 0, i32 1
  %215 = load float, ptr %214, align 4, !tbaa !31
  %216 = getelementptr inbounds %struct.ImVec2, ptr %15, i32 0, i32 1
  %217 = load float, ptr %216, align 4, !tbaa !31
  %218 = fadd float %217, %215
  store float %218, ptr %216, align 4, !tbaa !31
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  br label %219

219:                                              ; preds = %212, %77
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #10
  %220 = load ptr, ptr %6, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.ImGuiWindow, ptr %220, i32 0, i32 20
  %222 = getelementptr inbounds %struct.ImGuiDrawContext, ptr %221, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #10
  %223 = load ptr, ptr %6, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.ImGuiWindow, ptr %223, i32 0, i32 20
  %225 = getelementptr inbounds %struct.ImGuiDrawContext, ptr %224, i32 0, i32 0
  %226 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %225, ptr noundef nonnull align 4 dereferenceable(8) %15)
  store <2 x float> %226, ptr %30, align 4
  call void @_ZN9ImGuiAabbC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %29, ptr noundef nonnull align 4 dereferenceable(8) %222, ptr noundef nonnull align 4 dereferenceable(8) %30)
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  call void @_ZL8ItemSizeRK9ImGuiAabbP6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %29, ptr noundef null)
  %227 = call noundef zeroext i1 @_ZL7ItemAddRK9ImGuiAabbPKj(ptr noundef nonnull align 4 dereferenceable(16) %29, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  br label %265

228:                                              ; preds = %74, %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #10
  %229 = load i8, ptr %10, align 1, !tbaa !28, !range !25, !noundef !26
  %230 = trunc i8 %229 to i1
  br i1 %230, label %231, label %237

231:                                              ; preds = %228
  %232 = load ptr, ptr %6, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.ImGuiWindow, ptr %232, i32 0, i32 20
  %234 = getelementptr inbounds %struct.ImGuiDrawContext, ptr %233, i32 0, i32 0
  %235 = load float, ptr %9, align 4, !tbaa !27
  %236 = call noundef float @_ZL19CalcWrapWidthForPosRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %234, float noundef %235)
  br label %238

237:                                              ; preds = %228
  br label %238

238:                                              ; preds = %237, %231
  %239 = phi float [ %236, %231 ], [ 0.000000e+00, %237 ]
  store float %239, ptr %31, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #10
  %240 = load ptr, ptr %8, align 8, !tbaa !5
  %241 = load ptr, ptr %4, align 8, !tbaa !5
  %242 = load float, ptr %31, align 4, !tbaa !27
  %243 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef %240, ptr noundef %241, i1 noundef zeroext false, float noundef %242)
  store <2 x float> %243, ptr %32, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #10
  %244 = load ptr, ptr %6, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.ImGuiWindow, ptr %244, i32 0, i32 20
  %246 = getelementptr inbounds %struct.ImGuiDrawContext, ptr %245, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #10
  %247 = load ptr, ptr %6, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.ImGuiWindow, ptr %247, i32 0, i32 20
  %249 = getelementptr inbounds %struct.ImGuiDrawContext, ptr %248, i32 0, i32 0
  %250 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %249, ptr noundef nonnull align 4 dereferenceable(8) %32)
  store <2 x float> %250, ptr %34, align 4
  call void @_ZN9ImGuiAabbC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %33, ptr noundef nonnull align 4 dereferenceable(8) %246, ptr noundef nonnull align 4 dereferenceable(8) %34)
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #10
  %251 = call <2 x float> @_ZNK9ImGuiAabb7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %33)
  store <2 x float> %251, ptr %35, align 4
  %252 = getelementptr inbounds %struct.ImGuiAabb, ptr %33, i32 0, i32 0
  %253 = load <2 x float>, ptr %35, align 4
  call void @_ZL8ItemSize6ImVec2PS_(<2 x float> %253, ptr noundef %252)
  %254 = call noundef zeroext i1 @_ZL7ItemAddRK9ImGuiAabbPKj(ptr noundef nonnull align 4 dereferenceable(16) %33, ptr noundef null)
  br i1 %254, label %256, label %255

255:                                              ; preds = %238
  store i32 1, ptr %7, align 4
  br label %262

256:                                              ; preds = %238
  %257 = getelementptr inbounds %struct.ImGuiAabb, ptr %33, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %257, i64 8, i1 false), !tbaa.struct !29
  %258 = load ptr, ptr %8, align 8, !tbaa !5
  %259 = load ptr, ptr %4, align 8, !tbaa !5
  %260 = load float, ptr %31, align 4, !tbaa !27
  %261 = load <2 x float>, ptr %36, align 4
  call void @_ZL17RenderTextWrapped6ImVec2PKcS1_f(<2 x float> %261, ptr noundef %258, ptr noundef %259, float noundef %260)
  store i32 0, ptr %7, align 4
  br label %262

262:                                              ; preds = %256, %255
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #10
  %263 = load i32, ptr %7, align 4
  switch i32 %263, label %266 [
    i32 0, label %264
  ]

264:                                              ; preds = %262
  br label %265

265:                                              ; preds = %264, %219
  store i32 0, ptr %7, align 4
  br label %266

266:                                              ; preds = %265, %262
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  br label %267

267:                                              ; preds = %266, %43
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #10
  %268 = load i32, ptr %7, align 4
  switch i32 %268, label %270 [
    i32 0, label %269
    i32 1, label %269
  ]

269:                                              ; preds = %267, %267
  ret void

270:                                              ; preds = %267, %185
  unreachable
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #7

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef, ptr noundef, i1 noundef zeroext, float noundef) #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZN8ImVectorI6ImVec4E4backEv(ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMaxff(float noundef, float noundef) #5

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL8ItemSize6ImVec2PS_(<2 x float>, ptr noundef) #8

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL7ItemAddRK9ImGuiAabbPKj(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef) #9

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN8ImVectorIfE4backEv(ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN5ImGui17GetTextLineHeightEv() #9

; Function Attrs: nounwind willreturn memory(read)
declare noundef ptr @strchr(ptr noundef, i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL9IsClippedRK9ImGuiAabb(ptr noundef nonnull align 4 dereferenceable(16)) #9

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL10RenderText6ImVec2PKcS1_b(<2 x float>, ptr noundef, ptr noundef, i1 noundef zeroext) #8

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL8ItemSizeRK9ImGuiAabbP6ImVec2(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef) #8

; Function Attrs: mustprogress uwtable
declare hidden noundef float @_ZL19CalcWrapWidthForPosRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8), float noundef) #8

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL17RenderTextWrapped6ImVec2PKcS1_f(<2 x float>, ptr noundef, ptr noundef, float noundef) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #5 = { 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 #6 = { 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 #7 = { inlinehint 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 #8 = { 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 #9 = { 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 #10 = { nounwind }
attributes #11 = { noreturn nounwind }
attributes #12 = { 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 = !{!10, !14, i64 68}
!10 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !11, i64 8, !11, i64 12, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !13, i64 56, !13, i64 60, !14, i64 64, !14, i64 65, !14, i64 66, !14, i64 67, !14, i64 68, !11, i64 72, !14, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !15, i64 96, !21, i64 336, !22, i64 360, !16, i64 384, !11, i64 400, !13, i64 404, !23, i64 408, !13, i64 432, !6, i64 440, !6, i64 448, !11, i64 456, !11, i64 460, !11, i64 464, !11, i64 468, !11, i64 472, !11, i64 476}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTS16ImGuiDrawContext", !12, i64 0, !12, i64 8, !12, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !11, i64 36, !11, i64 40, !16, i64 44, !14, i64 60, !17, i64 64, !19, i64 88, !20, i64 112, !20, i64 136, !11, i64 160, !6, i64 168, !13, i64 176, !13, i64 180, !11, i64 184, !11, i64 188, !12, i64 192, !13, i64 200, !13, i64 204, !14, i64 208, !11, i64 212, !20, i64 216}
!16 = !{!"_ZTS9ImGuiAabb", !12, i64 0, !12, i64 8}
!17 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !18, i64 0, !18, i64 8, !6, i64 16}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTS8ImVectorIbE", !18, i64 0, !18, i64 8, !6, i64 16}
!20 = !{!"_ZTS8ImVectorIfE", !18, i64 0, !18, i64 8, !6, i64 16}
!21 = !{!"_ZTS8ImVectorIjE", !18, i64 0, !18, i64 8, !6, i64 16}
!22 = !{!"_ZTS8ImVectorI6ImVec4E", !18, i64 0, !18, i64 8, !6, i64 16}
!23 = !{!"_ZTS12ImGuiStorage", !24, i64 0}
!24 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !18, i64 0, !18, i64 8, !6, i64 16}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!13, !13, i64 0}
!28 = !{!14, !14, i64 0}
!29 = !{i64 0, i64 4, !27, i64 4, i64 4, !27}
!30 = !{i64 0, i64 4, !27, i64 4, i64 4, !27, i64 8, i64 4, !27, i64 12, i64 4, !27}
!31 = !{!12, !13, i64 4}
!32 = !{!33, !13, i64 12}
!33 = !{!"_ZTS6ImVec4", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!34 = !{!35, !14, i64 13472}
!35 = !{!"_ZTS10ImGuiState", !14, i64 0, !36, i64 8, !37, i64 2960, !6, i64 3672, !13, i64 3680, !12, i64 3684, !13, i64 3692, !11, i64 3696, !11, i64 3700, !17, i64 3704, !6, i64 3728, !17, i64 3736, !6, i64 3760, !6, i64 3768, !6, i64 3776, !11, i64 3784, !11, i64 3788, !11, i64 3792, !14, i64 3796, !14, i64 3797, !6, i64 3800, !13, i64 3808, !38, i64 3816, !39, i64 3840, !40, i64 3864, !41, i64 3888, !12, i64 3912, !11, i64 3920, !12, i64 3924, !11, i64 3932, !14, i64 3936, !11, i64 3940, !14, i64 3944, !14, i64 3945, !11, i64 3948, !42, i64 3952, !17, i64 3976, !43, i64 4000, !11, i64 12400, !23, i64 12408, !11, i64 12432, !7, i64 12436, !6, i64 13464, !14, i64 13472, !6, i64 13480, !6, i64 13488, !11, i64 13496, !11, i64 13500, !7, i64 13504, !11, i64 13984, !13, i64 13988}
!36 = !{!"_ZTS7ImGuiIO", !12, i64 0, !13, i64 8, !13, i64 12, !6, i64 16, !6, i64 24, !13, i64 32, !13, i64 36, !7, i64 40, !6, i64 112, !6, i64 120, !13, i64 128, !14, i64 132, !12, i64 136, !12, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !12, i64 208, !7, i64 216, !13, i64 224, !14, i64 228, !14, i64 229, !14, i64 230, !7, i64 231, !7, i64 744, !14, i64 778, !14, i64 779, !13, i64 780, !12, i64 784, !12, i64 792, !7, i64 800, !7, i64 808, !7, i64 848, !7, i64 868, !7, i64 873, !7, i64 880, !7, i64 900}
!37 = !{!"_ZTS10ImGuiStyle", !13, i64 0, !12, i64 4, !12, i64 12, !13, i64 20, !13, i64 24, !12, i64 28, !13, i64 36, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !13, i64 72, !13, i64 76, !13, i64 80, !13, i64 84, !7, i64 88}
!38 = !{!"_ZTS8ImVectorIP12ImGuiIniDataE", !18, i64 0, !18, i64 8, !6, i64 16}
!39 = !{!"_ZTS8ImVectorI11ImGuiColModE", !18, i64 0, !18, i64 8, !6, i64 16}
!40 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !18, i64 0, !18, i64 8, !6, i64 16}
!41 = !{!"_ZTS8ImVectorIP6ImFontE", !18, i64 0, !18, i64 8, !6, i64 16}
!42 = !{!"_ZTS8ImVectorIP10ImDrawListE", !18, i64 0, !18, i64 8, !6, i64 16}
!43 = !{!"_ZTS18ImGuiTextEditState", !11, i64 0, !7, i64 4, !7, i64 2052, !18, i64 5128, !13, i64 5136, !13, i64 5140, !44, i64 5144, !13, i64 8364, !12, i64 8368, !14, i64 8376, !6, i64 8384, !13, i64 8392}
!44 = !{!"_ZTS17STB_TexteditState", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !13, i64 20, !45, i64 24}
!45 = !{!"_ZTS12StbUndoState", !7, i64 0, !7, i64 1188, !46, i64 3186, !46, i64 3188, !46, i64 3190, !46, i64 3192}
!46 = !{!"short", !7, i64 0}
!47 = !{!33, !13, i64 4}
!48 = !{!11, !11, i64 0}
!49 = distinct !{!49, !50}
!50 = !{!"llvm.loop.mustprogress"}
!51 = !{!12, !13, i64 0}
!52 = !{!16, !13, i64 4}
!53 = !{!16, !13, i64 12}
!54 = distinct !{!54, !50}
!55 = distinct !{!55, !50}


; 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.ImVec2 = type { float, float }
%struct.ImGuiAabb = type { %struct.ImVec2, %struct.ImVec2 }

@_ZL6GImGui = external hidden local_unnamed_addr global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [15 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui15TextUnformattedEPKcS1_ = external hidden unnamed_addr constant [56 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZL16GetCurrentWindowv() local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui15TextUnformattedEPKcS1_(ptr noundef %0, ptr noundef %1) local_unnamed_addr #7 {
  %3 = alloca %struct.ImVec2, align 8
  %4 = alloca %struct.ImVec2, align 4
  %5 = alloca %struct.ImVec2, align 8
  %6 = alloca %struct.ImGuiAabb, align 4
  %7 = alloca %struct.ImVec2, align 8
  %8 = alloca %struct.ImVec2, align 4
  %9 = alloca %struct.ImGuiAabb, align 4
  %10 = alloca %struct.ImVec2, align 8
  %11 = alloca %struct.ImVec2, align 8
  %12 = alloca %struct.ImGuiAabb, align 8
  %13 = alloca %struct.ImVec2, align 8
  %14 = load ptr, ptr @_ZL6GImGui, align 8, !tbaa !5
  %15 = tail call noundef ptr @_ZL16GetCurrentWindowv()
  %16 = getelementptr inbounds i8, ptr %15, i64 68
  %17 = load i8, ptr %16, align 4, !tbaa !9, !range !25, !noundef !26
  %18 = trunc nuw i8 %17 to i1
  br i1 %18, label %113, label %19

19:                                               ; preds = %2
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %20, label %21

20:                                               ; preds = %19
  tail call void @__assert_fail(ptr noundef nonnull @.str.78, ptr noundef nonnull @.str.10, i32 noundef 3785, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui15TextUnformattedEPKcS1_) #9
  unreachable

21:                                               ; preds = %19
  %22 = icmp eq ptr %1, null
  br i1 %22, label %23, label %26

23:                                               ; preds = %21
  %24 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #10
  %25 = getelementptr inbounds i8, ptr %0, i64 %24
  br label %26

26:                                               ; preds = %23, %21
  %.0 = phi ptr [ %25, %23 ], [ %1, %21 ]
  %27 = getelementptr inbounds i8, ptr %15, i64 96
  %28 = getelementptr inbounds i8, ptr %15, i64 232
  %29 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8ImVectorIfE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %28)
  %30 = load float, ptr %29, align 4, !tbaa !27
  %31 = fcmp oge float %30, 0.000000e+00
  %32 = ptrtoint ptr %.0 to i64
  %33 = ptrtoint ptr %0 to i64
  %34 = sub i64 %32, %33
  %35 = icmp slt i64 %34, 2001
  %brmerge = select i1 %35, i1 true, i1 %31
  br i1 %brmerge, label %103, label %36

36:                                               ; preds = %26
  %37 = tail call noundef float @_ZN5ImGui17GetTextLineHeightEv()
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #11
  %38 = load i64, ptr %27, align 8
  store i64 %38, ptr %3, align 8
  %39 = getelementptr inbounds i8, ptr %15, i64 360
  %40 = tail call noundef nonnull align 4 dereferenceable(16) ptr @_ZN8ImVectorI6ImVec4E4backEv(ptr noundef nonnull align 8 dereferenceable(24) %39)
  %.sroa.3.0..sroa_idx = getelementptr inbounds i8, ptr %40, i64 4
  %.sroa.3.0.copyload = load float, ptr %.sroa.3.0..sroa_idx, align 4, !tbaa !27
  %.sroa.420.0..sroa_idx = getelementptr inbounds i8, ptr %40, i64 12
  %.sroa.420.0.copyload = load float, ptr %.sroa.420.0..sroa_idx, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #11
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %4, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %41 = lshr i64 %38, 32
  %42 = trunc nuw i64 %41 to i32
  %43 = bitcast i32 %42 to float
  %44 = fcmp ult float %.sroa.420.0.copyload, %43
  br i1 %44, label %100, label %45

45:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #11
  store i64 %38, ptr %5, align 8
  %46 = getelementptr inbounds i8, ptr %14, i64 13472
  %47 = load i8, ptr %46, align 8, !tbaa !28, !range !25, !noundef !26
  %48 = trunc nuw i8 %47 to i1
  br i1 %48, label %64, label %49

49:                                               ; preds = %45
  %50 = fsub float %.sroa.3.0.copyload, %43
  %51 = fdiv float %50, %37
  %52 = fptosi float %51 to i32
  %53 = icmp sgt i32 %52, 1
  br i1 %53, label %.preheader, label %64

.preheader:                                       ; preds = %49
  %54 = icmp ugt ptr %.0, %0
  br i1 %54, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader, %.lr.ph
  %.07292 = phi ptr [ %56, %.lr.ph ], [ %0, %.preheader ]
  %.07491 = phi i32 [ %57, %.lr.ph ], [ 0, %.preheader ]
  %55 = call noundef ptr @strchr(ptr noundef nonnull dereferenceable(1) %.07292, i32 noundef 10) #10
  %56 = getelementptr inbounds i8, ptr %55, i64 1
  %57 = add nuw nsw i32 %.07491, 1
  %58 = icmp ult ptr %56, %.0
  %59 = icmp slt i32 %57, %52
  %60 = select i1 %58, i1 %59, i1 false
  br i1 %60, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !41

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %61 = uitofp nneg i32 %57 to float
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader
  %.074.lcssa = phi float [ 0.000000e+00, %.preheader ], [ %61, %._crit_edge.loopexit ]
  %.072.lcssa = phi ptr [ %0, %.preheader ], [ %56, %._crit_edge.loopexit ]
  %62 = getelementptr inbounds i8, ptr %5, i64 4
  %63 = call float @llvm.fmuladd.f32(float %.074.lcssa, float %37, float %43)
  store float %63, ptr %62, align 4, !tbaa !43
  br label %64

64:                                               ; preds = %49, %._crit_edge, %45
  %.2 = phi ptr [ %0, %45 ], [ %.072.lcssa, %._crit_edge ], [ %0, %49 ]
  %65 = icmp ult ptr %.2, %.0
  br i1 %65, label %66, label %95

66:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #11
  %67 = call noundef float @_ZN5ImGui14GetWindowWidthEv()
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef %67, float noundef %37)
  %68 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %68, ptr %7, align 8
  call void @_ZN9ImGuiAabbC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 4 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #11
  %69 = getelementptr inbounds i8, ptr %6, i64 4
  %70 = getelementptr inbounds i8, ptr %6, i64 12
  %71 = getelementptr inbounds i8, ptr %5, i64 4
  br label %72

72:                                               ; preds = %66, %75
  %.394 = phi ptr [ %.2, %66 ], [ %79, %75 ]
  %73 = call noundef ptr @strchr(ptr noundef nonnull dereferenceable(1) %.394, i32 noundef 10) #10
  %74 = call noundef zeroext i1 @_ZL9IsClippedRK9ImGuiAabb(ptr noundef nonnull align 4 dereferenceable(16) %6)
  br i1 %74, label %.thread, label %75

75:                                               ; preds = %72
  %76 = call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef nonnull %.394, ptr noundef %73, i1 noundef zeroext false, float noundef -1.000000e+00)
  %77 = load float, ptr %4, align 4, !tbaa !44
  %.sroa.08.0.vec.extract = extractelement <2 x float> %76, i64 0
  %78 = call noundef float @_ZL5ImMaxff(float noundef %77, float noundef %.sroa.08.0.vec.extract)
  store float %78, ptr %4, align 4, !tbaa !44
  %.sroa.07.0.copyload = load <2 x float>, ptr %5, align 8
  call void @_ZL10RenderText6ImVec2PKcS1_b(<2 x float> %.sroa.07.0.copyload, ptr noundef nonnull %.394, ptr noundef %73, i1 noundef zeroext false)
  %.not84 = icmp eq ptr %73, null
  %spec.select = select i1 %.not84, ptr %.0, ptr %73
  %79 = getelementptr inbounds i8, ptr %spec.select, i64 1
  %80 = load float, ptr %69, align 4, !tbaa !45
  %81 = fadd float %37, %80
  store float %81, ptr %69, align 4, !tbaa !45
  %82 = load float, ptr %70, align 4, !tbaa !46
  %83 = fadd float %37, %82
  store float %83, ptr %70, align 4, !tbaa !46
  %84 = load float, ptr %71, align 4, !tbaa !43
  %85 = fadd float %37, %84
  store float %85, ptr %71, align 4, !tbaa !43
  %86 = icmp ult ptr %79, %.0
  br i1 %86, label %72, label %.thread

.thread:                                          ; preds = %72, %75
  %.3.lcssa = phi ptr [ %.394, %72 ], [ %79, %75 ]
  %87 = icmp ult ptr %.3.lcssa, %.0
  br i1 %87, label %.lr.ph97, label %._crit_edge98

.lr.ph97:                                         ; preds = %.thread, %.lr.ph97
  %.696 = phi ptr [ %89, %.lr.ph97 ], [ %.3.lcssa, %.thread ]
  %.07695 = phi i32 [ %90, %.lr.ph97 ], [ 0, %.thread ]
  %88 = call noundef ptr @strchr(ptr noundef nonnull dereferenceable(1) %.696, i32 noundef 10) #10
  %.not85 = icmp eq ptr %88, null
  %spec.select87 = select i1 %.not85, ptr %.0, ptr %88
  %89 = getelementptr inbounds i8, ptr %spec.select87, i64 1
  %90 = add nuw nsw i32 %.07695, 1
  %91 = icmp ult ptr %89, %.0
  br i1 %91, label %.lr.ph97, label %._crit_edge98.loopexit, !llvm.loop !47

._crit_edge98.loopexit:                           ; preds = %.lr.ph97
  %92 = uitofp nneg i32 %90 to float
  br label %._crit_edge98

._crit_edge98:                                    ; preds = %._crit_edge98.loopexit, %.thread
  %.076.lcssa = phi float [ 0.000000e+00, %.thread ], [ %92, %._crit_edge98.loopexit ]
  %93 = load float, ptr %71, align 4, !tbaa !43
  %94 = call float @llvm.fmuladd.f32(float %.076.lcssa, float %37, float %93)
  store float %94, ptr %71, align 4, !tbaa !43
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #11
  br label %95

95:                                               ; preds = %._crit_edge98, %64
  %96 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 4 dereferenceable(8) %3)
  %.sroa.03.4.vec.extract = extractelement <2 x float> %96, i64 1
  %97 = getelementptr inbounds i8, ptr %4, i64 4
  %98 = load float, ptr %97, align 4, !tbaa !43
  %99 = fadd float %98, %.sroa.03.4.vec.extract
  store float %99, ptr %97, align 4, !tbaa !43
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #11
  br label %100

100:                                              ; preds = %95, %36
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #11
  %101 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %27, ptr noundef nonnull align 4 dereferenceable(8) %4)
  store <2 x float> %101, ptr %10, align 8
  call void @_ZN9ImGuiAabbC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(8) %27, ptr noundef nonnull align 4 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #11
  call void @_ZL8ItemSizeRK9ImGuiAabbP6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %9, ptr noundef null)
  %102 = call noundef zeroext i1 @_ZL7ItemAddRK9ImGuiAabbPKj(ptr noundef nonnull align 4 dereferenceable(16) %9, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #11
  br label %113

103:                                              ; preds = %26
  br i1 %31, label %104, label %106

104:                                              ; preds = %103
  %105 = tail call noundef float @_ZL19CalcWrapWidthForPosRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef %30)
  br label %106

106:                                              ; preds = %103, %104
  %107 = phi float [ %105, %104 ], [ 0.000000e+00, %103 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #11
  %108 = tail call <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef nonnull %0, ptr noundef %.0, i1 noundef zeroext false, float noundef %107)
  store <2 x float> %108, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #11
  %109 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %27, ptr noundef nonnull align 4 dereferenceable(8) %11)
  store <2 x float> %109, ptr %13, align 8
  call void @_ZN9ImGuiAabbC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(8) %27, ptr noundef nonnull align 4 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #11
  %110 = call <2 x float> @_ZNK9ImGuiAabb7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %12)
  call void @_ZL8ItemSize6ImVec2PS_(<2 x float> %110, ptr noundef nonnull %12)
  %111 = call noundef zeroext i1 @_ZL7ItemAddRK9ImGuiAabbPKj(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef null)
  br i1 %111, label %112, label %.critedge

112:                                              ; preds = %106
  %.sroa.0.0.copyload = load <2 x float>, ptr %12, align 8
  call void @_ZL17RenderTextWrapped6ImVec2PKcS1_f(<2 x float> %.sroa.0.0.copyload, ptr noundef nonnull %0, ptr noundef %.0, float noundef %107)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #11
  br label %113

.critedge:                                        ; preds = %106
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #11
  br label %113

113:                                              ; preds = %112, %.critedge, %100, %2
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN5ImGui12CalcTextSizeEPKcS1_bf(ptr noundef, ptr noundef, i1 noundef zeroext, float noundef) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZN8ImVectorI6ImVec4E4backEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMaxff(float noundef, float noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL8ItemSize6ImVec2PS_(<2 x float>, ptr noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL7ItemAddRK9ImGuiAabbPKj(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef) local_unnamed_addr #8

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK9ImGuiAabb7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN8ImVectorIfE4backEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN5ImGui17GetTextLineHeightEv() local_unnamed_addr #8

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare noundef ptr @strchr(ptr noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL9IsClippedRK9ImGuiAabb(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #8

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL10RenderText6ImVec2PKcS1_b(<2 x float>, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL8ItemSizeRK9ImGuiAabbP6ImVec2(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare hidden noundef float @_ZL19CalcWrapWidthForPosRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8), float noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL17RenderTextWrapped6ImVec2PKcS1_f(<2 x float>, ptr noundef, ptr noundef, float noundef) local_unnamed_addr #7

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 nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #4 = { 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 #5 = { 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 #6 = { inlinehint 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 = { 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 #8 = { 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 #9 = { noreturn nounwind }
attributes #10 = { nounwind willreturn memory(read) }
attributes #11 = { 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, !14, i64 68}
!10 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !11, i64 8, !11, i64 12, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !13, i64 56, !13, i64 60, !14, i64 64, !14, i64 65, !14, i64 66, !14, i64 67, !14, i64 68, !11, i64 72, !14, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !15, i64 96, !21, i64 336, !22, i64 360, !16, i64 384, !11, i64 400, !13, i64 404, !23, i64 408, !13, i64 432, !6, i64 440, !6, i64 448, !11, i64 456, !11, i64 460, !11, i64 464, !11, i64 468, !11, i64 472, !11, i64 476}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTS16ImGuiDrawContext", !12, i64 0, !12, i64 8, !12, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !11, i64 36, !11, i64 40, !16, i64 44, !14, i64 60, !17, i64 64, !19, i64 88, !20, i64 112, !20, i64 136, !11, i64 160, !6, i64 168, !13, i64 176, !13, i64 180, !11, i64 184, !11, i64 188, !12, i64 192, !13, i64 200, !13, i64 204, !14, i64 208, !11, i64 212, !20, i64 216}
!16 = !{!"_ZTS9ImGuiAabb", !12, i64 0, !12, i64 8}
!17 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !18, i64 0, !18, i64 8, !6, i64 16}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTS8ImVectorIbE", !18, i64 0, !18, i64 8, !6, i64 16}
!20 = !{!"_ZTS8ImVectorIfE", !18, i64 0, !18, i64 8, !6, i64 16}
!21 = !{!"_ZTS8ImVectorIjE", !18, i64 0, !18, i64 8, !6, i64 16}
!22 = !{!"_ZTS8ImVectorI6ImVec4E", !18, i64 0, !18, i64 8, !6, i64 16}
!23 = !{!"_ZTS12ImGuiStorage", !24, i64 0}
!24 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !18, i64 0, !18, i64 8, !6, i64 16}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!13, !13, i64 0}
!28 = !{!29, !14, i64 13472}
!29 = !{!"_ZTS10ImGuiState", !14, i64 0, !30, i64 8, !31, i64 2960, !6, i64 3672, !13, i64 3680, !12, i64 3684, !13, i64 3692, !11, i64 3696, !11, i64 3700, !17, i64 3704, !6, i64 3728, !17, i64 3736, !6, i64 3760, !6, i64 3768, !6, i64 3776, !11, i64 3784, !11, i64 3788, !11, i64 3792, !14, i64 3796, !14, i64 3797, !6, i64 3800, !13, i64 3808, !32, i64 3816, !33, i64 3840, !34, i64 3864, !35, i64 3888, !12, i64 3912, !11, i64 3920, !12, i64 3924, !11, i64 3932, !14, i64 3936, !11, i64 3940, !14, i64 3944, !14, i64 3945, !11, i64 3948, !36, i64 3952, !17, i64 3976, !37, i64 4000, !11, i64 12400, !23, i64 12408, !11, i64 12432, !7, i64 12436, !6, i64 13464, !14, i64 13472, !6, i64 13480, !6, i64 13488, !11, i64 13496, !11, i64 13500, !7, i64 13504, !11, i64 13984, !13, i64 13988}
!30 = !{!"_ZTS7ImGuiIO", !12, i64 0, !13, i64 8, !13, i64 12, !6, i64 16, !6, i64 24, !13, i64 32, !13, i64 36, !7, i64 40, !6, i64 112, !6, i64 120, !13, i64 128, !14, i64 132, !12, i64 136, !12, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !12, i64 208, !7, i64 216, !13, i64 224, !14, i64 228, !14, i64 229, !14, i64 230, !7, i64 231, !7, i64 744, !14, i64 778, !14, i64 779, !13, i64 780, !12, i64 784, !12, i64 792, !7, i64 800, !7, i64 808, !7, i64 848, !7, i64 868, !7, i64 873, !7, i64 880, !7, i64 900}
!31 = !{!"_ZTS10ImGuiStyle", !13, i64 0, !12, i64 4, !12, i64 12, !13, i64 20, !13, i64 24, !12, i64 28, !13, i64 36, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !13, i64 72, !13, i64 76, !13, i64 80, !13, i64 84, !7, i64 88}
!32 = !{!"_ZTS8ImVectorIP12ImGuiIniDataE", !18, i64 0, !18, i64 8, !6, i64 16}
!33 = !{!"_ZTS8ImVectorI11ImGuiColModE", !18, i64 0, !18, i64 8, !6, i64 16}
!34 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !18, i64 0, !18, i64 8, !6, i64 16}
!35 = !{!"_ZTS8ImVectorIP6ImFontE", !18, i64 0, !18, i64 8, !6, i64 16}
!36 = !{!"_ZTS8ImVectorIP10ImDrawListE", !18, i64 0, !18, i64 8, !6, i64 16}
!37 = !{!"_ZTS18ImGuiTextEditState", !11, i64 0, !7, i64 4, !7, i64 2052, !18, i64 5128, !13, i64 5136, !13, i64 5140, !38, i64 5144, !13, i64 8364, !12, i64 8368, !14, i64 8376, !6, i64 8384, !13, i64 8392}
!38 = !{!"_ZTS17STB_TexteditState", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !13, i64 20, !39, i64 24}
!39 = !{!"_ZTS12StbUndoState", !7, i64 0, !7, i64 1188, !40, i64 3186, !40, i64 3188, !40, i64 3190, !40, i64 3192}
!40 = !{!"short", !7, i64 0}
!41 = distinct !{!41, !42}
!42 = !{!"llvm.loop.mustprogress"}
!43 = !{!12, !13, i64 4}
!44 = !{!12, !13, i64 0}
!45 = !{!16, !13, i64 4}
!46 = !{!16, !13, i64 12}
!47 = distinct !{!47, !42}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass