; LLVM IR from Samson-Mano/EM_Propogation_simulation :: EM_Propogation_simulation/src/ImGui/imgui.ll (ZN7ImGuiIOC2Ev)

; 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.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, float, float, float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, float, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, [652 x i32], [652 x i8], [16 x float], ptr, %struct.ImVec2, [5 x i8], float, float, i32, i8, i8, i8, i8, i32, [652 x %struct.ImGuiKeyData], i8, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i16], [5 x i16], [5 x i8], [5 x i8], [5 x i8], i8, [5 x float], [5 x float], [5 x float], float, i8, i8, i8, i8, i16, %struct.ImVector }
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImVector = type { i32, i32, ptr }

@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8)) 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: 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 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: mustprogress uwtable
define dso_local void @_ZN7ImGuiIOC2Ev(ptr noundef nonnull align 8 dereferenceable(14280) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %struct.ImVec2, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %struct.ImVec2, align 4
  %8 = alloca %struct.ImVec2, align 4
  %9 = alloca %struct.ImVec2, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %12 = load ptr, ptr %2, align 8
  %13 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 2
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %13)
  %14 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 19
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %14)
  %15 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 54
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %15)
  %16 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 59
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %16)
  %17 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 69
  %18 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 71
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %18)
  %19 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 72
  %20 = getelementptr inbounds [5 x %struct.ImVec2], ptr %19, i32 0, i32 0
  %21 = getelementptr inbounds %struct.ImVec2, ptr %20, i64 5
  br label %22

22:                                               ; preds = %22, %1
  %23 = phi ptr [ %20, %1 ], [ %24, %22 ]
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %23)
  %24 = getelementptr inbounds %struct.ImVec2, ptr %23, i64 1
  %25 = icmp eq ptr %24, %21
  br i1 %25, label %26, label %22

26:                                               ; preds = %22
  %27 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 91
  call void @_ZN8ImVectorItEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27)
  call void @llvm.memset.p0.i64(ptr align 8 %12, i8 0, i64 14280, i1 false)
  %28 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 0
  store i32 0, ptr %28, align 8, !tbaa !9
  %29 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 1
  store i32 0, ptr %29, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  invoke void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef -1.000000e+00, float noundef -1.000000e+00)
          to label %30 unwind label %42

30:                                               ; preds = %26
  %31 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %31, ptr align 4 %3, i64 8, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  %32 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 3
  store float 0x3F91111120000000, ptr %32, align 8, !tbaa !21
  %33 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 4
  store float 5.000000e+00, ptr %33, align 4, !tbaa !22
  %34 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 5
  store ptr @.str, ptr %34, align 8, !tbaa !23
  %35 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 6
  store ptr @.str.1, ptr %35, align 8, !tbaa !24
  %36 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 7
  store float 0x3FD3333340000000, ptr %36, align 8, !tbaa !25
  %37 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 8
  store float 6.000000e+00, ptr %37, align 4, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !27
  br label %38

38:                                               ; preds = %51, %30
  %39 = load i32, ptr %6, align 4, !tbaa !27
  %40 = icmp slt i32 %39, 652
  br i1 %40, label %46, label %41

41:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %54

42:                                               ; preds = %26
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %4, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  br label %139

46:                                               ; preds = %38
  %47 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 55
  %48 = load i32, ptr %6, align 4, !tbaa !27
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [652 x i32], ptr %47, i64 0, i64 %49
  store i32 -1, ptr %50, align 4, !tbaa !27
  br label %51

51:                                               ; preds = %46
  %52 = load i32, ptr %6, align 4, !tbaa !27
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr %6, align 4, !tbaa !27
  br label %38, !llvm.loop !28

54:                                               ; preds = %41
  %55 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 10
  store float 0x3FD19999A0000000, ptr %55, align 4, !tbaa !30
  %56 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 11
  store float 0x3FA99999A0000000, ptr %56, align 8, !tbaa !31
  %57 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 12
  store float 0x3FD3333340000000, ptr %57, align 4, !tbaa !32
  %58 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 13
  store float 0x3FB99999A0000000, ptr %58, align 8, !tbaa !33
  %59 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 14
  store ptr null, ptr %59, align 8, !tbaa !34
  %60 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 15
  store ptr null, ptr %60, align 8, !tbaa !35
  %61 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 16
  store float 1.000000e+00, ptr %61, align 8, !tbaa !36
  %62 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 18
  store ptr null, ptr %62, align 8, !tbaa !37
  %63 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 17
  store i8 0, ptr %63, align 4, !tbaa !38
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  invoke void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %64 unwind label %92

64:                                               ; preds = %54
  %65 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 19
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %65, ptr align 4 %7, i64 8, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  %66 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 20
  store i8 0, ptr %66, align 8, !tbaa !39
  %67 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 21
  store i8 0, ptr %67, align 1, !tbaa !40
  %68 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 22
  store i8 1, ptr %68, align 2, !tbaa !41
  %69 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 23
  store i8 1, ptr %69, align 1, !tbaa !42
  %70 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 24
  store i8 0, ptr %70, align 4, !tbaa !43
  %71 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 25
  store i8 0, ptr %71, align 1, !tbaa !44
  %72 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 26
  store i8 1, ptr %72, align 2, !tbaa !45
  %73 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 27
  store i8 0, ptr %73, align 1, !tbaa !46
  %74 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 28
  store float 6.000000e+01, ptr %74, align 8, !tbaa !47
  %75 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 29
  store i8 0, ptr %75, align 4, !tbaa !48
  %76 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 30
  store i8 0, ptr %76, align 1, !tbaa !49
  %77 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 32
  store ptr null, ptr %77, align 8, !tbaa !50
  %78 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 31
  store ptr null, ptr %78, align 8, !tbaa !51
  %79 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 35
  store ptr null, ptr %79, align 8, !tbaa !52
  %80 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 34
  store ptr null, ptr %80, align 8, !tbaa !53
  %81 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 33
  store ptr null, ptr %81, align 8, !tbaa !54
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  invoke void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef 0xC7EFFFFFE0000000, float noundef 0xC7EFFFFFE0000000)
          to label %82 unwind label %96

82:                                               ; preds = %64
  %83 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 59
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %83, ptr align 4 %8, i64 8, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  invoke void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef 0xC7EFFFFFE0000000, float noundef 0xC7EFFFFFE0000000)
          to label %84 unwind label %100

84:                                               ; preds = %82
  %85 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 71
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %85, ptr align 4 %9, i64 8, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  %86 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 63
  store i32 0, ptr %86, align 8, !tbaa !55
  %87 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 9
  store float 6.000000e+00, ptr %87, align 8, !tbaa !56
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !27
  br label %88

88:                                               ; preds = %113, %84
  %89 = load i32, ptr %10, align 4, !tbaa !27
  %90 = icmp slt i32 %89, 5
  br i1 %90, label %104, label %91

91:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %116

92:                                               ; preds = %54
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %4, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %139

96:                                               ; preds = %64
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %4, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %139

100:                                              ; preds = %82
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %4, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %139

104:                                              ; preds = %88
  %105 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 83
  %106 = load i32, ptr %10, align 4, !tbaa !27
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds [5 x float], ptr %105, i64 0, i64 %107
  store float -1.000000e+00, ptr %108, align 4, !tbaa !20
  %109 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 82
  %110 = load i32, ptr %10, align 4, !tbaa !27
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [5 x float], ptr %109, i64 0, i64 %111
  store float -1.000000e+00, ptr %112, align 4, !tbaa !20
  br label %113

113:                                              ; preds = %104
  %114 = load i32, ptr %10, align 4, !tbaa !27
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %10, align 4, !tbaa !27
  br label %88, !llvm.loop !57

116:                                              ; preds = %91
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !27
  br label %117

117:                                              ; preds = %132, %116
  %118 = load i32, ptr %11, align 4, !tbaa !27
  %119 = icmp slt i32 %118, 652
  br i1 %119, label %121, label %120

120:                                              ; preds = %117
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %135

121:                                              ; preds = %117
  %122 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 69
  %123 = load i32, ptr %11, align 4, !tbaa !27
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds [652 x %struct.ImGuiKeyData], ptr %122, i64 0, i64 %124
  %126 = getelementptr inbounds %struct.ImGuiKeyData, ptr %125, i32 0, i32 2
  store float -1.000000e+00, ptr %126, align 4, !tbaa !58
  %127 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 69
  %128 = load i32, ptr %11, align 4, !tbaa !27
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds [652 x %struct.ImGuiKeyData], ptr %127, i64 0, i64 %129
  %131 = getelementptr inbounds %struct.ImGuiKeyData, ptr %130, i32 0, i32 1
  store float -1.000000e+00, ptr %131, align 4, !tbaa !60
  br label %132

132:                                              ; preds = %121
  %133 = load i32, ptr %11, align 4, !tbaa !27
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %11, align 4, !tbaa !27
  br label %117, !llvm.loop !61

135:                                              ; preds = %120
  %136 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 87
  store i8 1, ptr %136, align 1, !tbaa !62
  %137 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 88
  store i8 -1, ptr %137, align 2, !tbaa !63
  %138 = getelementptr inbounds %struct.ImGuiIO, ptr %12, i32 0, i32 89
  store i8 1, ptr %138, align 1, !tbaa !64
  ret void

139:                                              ; preds = %100, %96, %92, %42
  call void @_ZN8ImVectorItED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #6
  br label %140

140:                                              ; preds = %139
  %141 = load ptr, ptr %4, align 8
  %142 = load i32, ptr %5, align 4
  %143 = insertvalue { ptr, i32 } poison, ptr %141, 0
  %144 = insertvalue { ptr, i32 } %143, i32 %142, 1
  resume { ptr, i32 } %144
}

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

declare i32 @__gxx_personality_v0(...)

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTS7ImGuiIO", !11, i64 0, !11, i64 4, !12, i64 8, !13, i64 16, !13, i64 20, !6, i64 24, !6, i64 32, !13, i64 40, !13, i64 44, !13, i64 48, !13, i64 52, !13, i64 56, !13, i64 60, !13, i64 64, !6, i64 72, !6, i64 80, !13, i64 88, !14, i64 92, !6, i64 96, !12, i64 104, !14, i64 112, !14, i64 113, !14, i64 114, !14, i64 115, !14, i64 116, !14, i64 117, !14, i64 118, !14, i64 119, !13, i64 120, !14, i64 124, !14, i64 125, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !14, i64 208, !14, i64 209, !14, i64 210, !14, i64 211, !14, i64 212, !14, i64 213, !14, i64 214, !13, i64 216, !11, i64 220, !11, i64 224, !11, i64 228, !11, i64 232, !11, i64 236, !12, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !6, i64 3576, !12, i64 3584, !7, i64 3592, !13, i64 3600, !13, i64 3604, !15, i64 3608, !14, i64 3612, !14, i64 3613, !14, i64 3614, !14, i64 3615, !11, i64 3616, !7, i64 3620, !14, i64 14052, !12, i64 14056, !7, i64 14064, !7, i64 14104, !7, i64 14144, !7, i64 14149, !7, i64 14154, !7, i64 14164, !7, i64 14174, !7, i64 14179, !7, i64 14184, !14, i64 14189, !7, i64 14192, !7, i64 14212, !7, i64 14232, !13, i64 14252, !14, i64 14256, !14, i64 14257, !7, i64 14258, !14, i64 14259, !16, i64 14260, !17, i64 14264}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS8ImVectorItE", !11, i64 0, !11, i64 4, !6, i64 8}
!18 = !{!10, !11, i64 4}
!19 = !{i64 0, i64 4, !20, i64 4, i64 4, !20}
!20 = !{!13, !13, i64 0}
!21 = !{!10, !13, i64 16}
!22 = !{!10, !13, i64 20}
!23 = !{!10, !6, i64 24}
!24 = !{!10, !6, i64 32}
!25 = !{!10, !13, i64 40}
!26 = !{!10, !13, i64 44}
!27 = !{!11, !11, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = !{!10, !13, i64 52}
!31 = !{!10, !13, i64 56}
!32 = !{!10, !13, i64 60}
!33 = !{!10, !13, i64 64}
!34 = !{!10, !6, i64 72}
!35 = !{!10, !6, i64 80}
!36 = !{!10, !13, i64 88}
!37 = !{!10, !6, i64 96}
!38 = !{!10, !14, i64 92}
!39 = !{!10, !14, i64 112}
!40 = !{!10, !14, i64 113}
!41 = !{!10, !14, i64 114}
!42 = !{!10, !14, i64 115}
!43 = !{!10, !14, i64 116}
!44 = !{!10, !14, i64 117}
!45 = !{!10, !14, i64 118}
!46 = !{!10, !14, i64 119}
!47 = !{!10, !13, i64 120}
!48 = !{!10, !14, i64 124}
!49 = !{!10, !14, i64 125}
!50 = !{!10, !6, i64 136}
!51 = !{!10, !6, i64 128}
!52 = !{!10, !6, i64 160}
!53 = !{!10, !6, i64 152}
!54 = !{!10, !6, i64 144}
!55 = !{!10, !15, i64 3608}
!56 = !{!10, !13, i64 48}
!57 = distinct !{!57, !29}
!58 = !{!59, !13, i64 8}
!59 = !{!"_ZTS12ImGuiKeyData", !14, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!60 = !{!59, !13, i64 4}
!61 = distinct !{!61, !29}
!62 = !{!10, !14, i64 14257}
!63 = !{!10, !7, i64 14258}
!64 = !{!10, !14, i64 14259}


; 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.ImGuiKeyData = type { i8, float, float, float }

@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8)) 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 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.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN7ImGuiIOC2Ev(ptr noundef nonnull align 8 dereferenceable(14280) %0) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
.preheader:
  %1 = alloca %struct.ImVec2, align 8
  %2 = alloca %struct.ImVec2, align 8
  %3 = alloca %struct.ImVec2, align 8
  %4 = alloca %struct.ImVec2, align 8
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %5)
  %6 = getelementptr inbounds i8, ptr %0, i64 104
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %6)
  %7 = getelementptr inbounds i8, ptr %0, i64 240
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %7)
  %8 = getelementptr inbounds i8, ptr %0, i64 3584
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %8)
  %9 = getelementptr inbounds i8, ptr %0, i64 14056
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %9)
  %.ptr = getelementptr inbounds i8, ptr %0, i64 14064
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr)
  %.ptr.1 = getelementptr inbounds i8, ptr %0, i64 14072
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.1)
  %.ptr.2 = getelementptr inbounds i8, ptr %0, i64 14080
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.2)
  %.ptr.3 = getelementptr inbounds i8, ptr %0, i64 14088
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.3)
  %.ptr.4 = getelementptr inbounds i8, ptr %0, i64 14096
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.4)
  %10 = getelementptr inbounds i8, ptr %0, i64 14264
  tail call void @_ZN8ImVectorItEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(14280) %0, i8 0, i64 14280, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %1, float noundef -1.000000e+00, float noundef -1.000000e+00)
  %11 = load i64, ptr %1, align 8
  store i64 %11, ptr %5, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #4
  %12 = getelementptr inbounds i8, ptr %0, i64 16
  store <2 x float> <float 0x3F91111120000000, float 5.000000e+00>, ptr %12, align 8, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %0, i64 24
  store ptr @.str, ptr %13, align 8, !tbaa !9
  %14 = getelementptr inbounds i8, ptr %0, i64 32
  store ptr @.str.1, ptr %14, align 8, !tbaa !18
  %15 = getelementptr inbounds i8, ptr %0, i64 40
  store <2 x float> <float 0x3FD3333340000000, float 6.000000e+00>, ptr %15, align 8, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %0, i64 248
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(2608) %16, i8 -1, i64 2608, i1 false), !tbaa !19
  %17 = getelementptr inbounds i8, ptr %0, i64 52
  store <4 x float> <float 0x3FD19999A0000000, float 0x3FA99999A0000000, float 0x3FD3333340000000, float 0x3FB99999A0000000>, ptr %17, align 4, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %0, i64 72
  %19 = getelementptr inbounds i8, ptr %0, i64 88
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %18, i8 0, i64 16, i1 false)
  store float 1.000000e+00, ptr %19, align 8, !tbaa !20
  %20 = getelementptr inbounds i8, ptr %0, i64 96
  store ptr null, ptr %20, align 8, !tbaa !21
  %21 = getelementptr inbounds i8, ptr %0, i64 92
  store i8 0, ptr %21, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %2, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %22 = load i64, ptr %2, align 8
  store i64 %22, ptr %6, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
  %23 = getelementptr inbounds i8, ptr %0, i64 112
  store <8 x i8> <i8 0, i8 0, i8 1, i8 1, i8 0, i8 0, i8 1, i8 0>, ptr %23, align 8, !tbaa !23
  %24 = getelementptr inbounds i8, ptr %0, i64 120
  store float 6.000000e+01, ptr %24, align 8, !tbaa !24
  %25 = getelementptr inbounds i8, ptr %0, i64 124
  store i8 0, ptr %25, align 4, !tbaa !25
  %26 = getelementptr inbounds i8, ptr %0, i64 125
  store i8 0, ptr %26, align 1, !tbaa !26
  %27 = getelementptr inbounds i8, ptr %0, i64 128
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %27, i8 0, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef 0xC7EFFFFFE0000000, float noundef 0xC7EFFFFFE0000000)
  %28 = load i64, ptr %3, align 8
  store i64 %28, ptr %8, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %4, float noundef 0xC7EFFFFFE0000000, float noundef 0xC7EFFFFFE0000000)
  %29 = load i64, ptr %4, align 8
  store i64 %29, ptr %9, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  %30 = getelementptr inbounds i8, ptr %0, i64 3608
  store i32 0, ptr %30, align 8, !tbaa !27
  %31 = getelementptr inbounds i8, ptr %0, i64 48
  store float 6.000000e+00, ptr %31, align 8, !tbaa !28
  %32 = getelementptr inbounds i8, ptr %0, i64 14192
  %33 = getelementptr inbounds i8, ptr %0, i64 14224
  store <4 x float> <float -1.000000e+00, float -1.000000e+00, float -1.000000e+00, float -1.000000e+00>, ptr %32, align 8, !tbaa !5
  store <2 x float> <float -1.000000e+00, float -1.000000e+00>, ptr %33, align 8, !tbaa !5
  %34 = getelementptr inbounds i8, ptr %0, i64 14208
  store <4 x float> <float -1.000000e+00, float -1.000000e+00, float -1.000000e+00, float -1.000000e+00>, ptr %34, align 8, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %0, i64 3620
  br label %40

36:                                               ; preds = %40
  %37 = getelementptr inbounds i8, ptr %0, i64 14257
  store i8 1, ptr %37, align 1, !tbaa !29
  %38 = getelementptr inbounds i8, ptr %0, i64 14258
  store i8 -1, ptr %38, align 2, !tbaa !30
  %39 = getelementptr inbounds i8, ptr %0, i64 14259
  store i8 1, ptr %39, align 1, !tbaa !31
  ret void

40:                                               ; preds = %40, %.preheader
  %indvars.iv = phi i64 [ 0, %.preheader ], [ %indvars.iv.next.3, %40 ]
  %41 = getelementptr inbounds [652 x %struct.ImGuiKeyData], ptr %35, i64 0, i64 %indvars.iv, i32 1
  store <2 x float> <float -1.000000e+00, float -1.000000e+00>, ptr %41, align 8, !tbaa !5
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %42 = getelementptr inbounds [652 x %struct.ImGuiKeyData], ptr %35, i64 0, i64 %indvars.iv.next, i32 1
  store <2 x float> <float -1.000000e+00, float -1.000000e+00>, ptr %42, align 8, !tbaa !5
  %indvars.iv.next.1 = or disjoint i64 %indvars.iv, 2
  %43 = getelementptr inbounds [652 x %struct.ImGuiKeyData], ptr %35, i64 0, i64 %indvars.iv.next.1, i32 1
  store <2 x float> <float -1.000000e+00, float -1.000000e+00>, ptr %43, align 8, !tbaa !5
  %indvars.iv.next.2 = or disjoint i64 %indvars.iv, 3
  %44 = getelementptr inbounds [652 x %struct.ImGuiKeyData], ptr %35, i64 0, i64 %indvars.iv.next.2, i32 1
  store <2 x float> <float -1.000000e+00, float -1.000000e+00>, ptr %44, align 8, !tbaa !5
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next.3, 652
  br i1 %exitcond.not.3, label %36, label %40, !llvm.loop !32
}

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

declare i32 @__gxx_personality_v0(...)

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 = { 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 #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !13, i64 24}
!10 = !{!"_ZTS7ImGuiIO", !11, i64 0, !11, i64 4, !12, i64 8, !6, i64 16, !6, i64 20, !13, i64 24, !13, i64 32, !6, i64 40, !6, i64 44, !6, i64 48, !6, i64 52, !6, i64 56, !6, i64 60, !6, i64 64, !13, i64 72, !13, i64 80, !6, i64 88, !14, i64 92, !13, i64 96, !12, i64 104, !14, i64 112, !14, i64 113, !14, i64 114, !14, i64 115, !14, i64 116, !14, i64 117, !14, i64 118, !14, i64 119, !6, i64 120, !14, i64 124, !14, i64 125, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !13, i64 184, !13, i64 192, !13, i64 200, !14, i64 208, !14, i64 209, !14, i64 210, !14, i64 211, !14, i64 212, !14, i64 213, !14, i64 214, !6, i64 216, !11, i64 220, !11, i64 224, !11, i64 228, !11, i64 232, !11, i64 236, !12, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !13, i64 3576, !12, i64 3584, !7, i64 3592, !6, i64 3600, !6, i64 3604, !15, i64 3608, !14, i64 3612, !14, i64 3613, !14, i64 3614, !14, i64 3615, !11, i64 3616, !7, i64 3620, !14, i64 14052, !12, i64 14056, !7, i64 14064, !7, i64 14104, !7, i64 14144, !7, i64 14149, !7, i64 14154, !7, i64 14164, !7, i64 14174, !7, i64 14179, !7, i64 14184, !14, i64 14189, !7, i64 14192, !7, i64 14212, !7, i64 14232, !6, i64 14252, !14, i64 14256, !14, i64 14257, !7, i64 14258, !14, i64 14259, !16, i64 14260, !17, i64 14264}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS6ImVec2", !6, i64 0, !6, i64 4}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS8ImVectorItE", !11, i64 0, !11, i64 4, !13, i64 8}
!18 = !{!10, !13, i64 32}
!19 = !{!11, !11, i64 0}
!20 = !{!10, !6, i64 88}
!21 = !{!10, !13, i64 96}
!22 = !{!10, !14, i64 92}
!23 = !{!14, !14, i64 0}
!24 = !{!10, !6, i64 120}
!25 = !{!10, !14, i64 124}
!26 = !{!10, !14, i64 125}
!27 = !{!10, !15, i64 3608}
!28 = !{!10, !6, i64 48}
!29 = !{!10, !14, i64 14257}
!30 = !{!10, !7, i64 14258}
!31 = !{!10, !14, i64 14259}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass