; LLVM IR from Overload-Technologies/Overload :: Dependencies/ImGui/src/imgui_impl_opengl3.ll (Z22ImGui_ImplOpenGL3_InitPKc)

; 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"

%union.ImGL3WProcs = type { [59 x ptr] }
%struct.ImNewWrapper = type { i8 }
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, float, float, float, float, float, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, %struct.ImVec2, ptr, %struct.ImVec2, [5 x i8], float, float, i32, i32, i8, i8, i8, i8, i32, [155 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 double], [5 x i8], [5 x i8], i8, i8, [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], float, i8, i8, i16, %struct.ImVector, ptr, ptr, ptr }
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImVec2 = type { float, float }
%struct.ImVector = type { i32, i32, ptr }
%struct.anon.0 = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.ImGui_ImplOpenGL3_Data = type <{ i32, [32 x i8], i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i8, i8, i8, [5 x i8] }>

@imgl3wProcs = external dso_local global %union.ImGL3WProcs, align 8
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [110 x i8], align 1
@__PRETTY_FUNCTION__._Z22ImGui_ImplOpenGL3_InitPKc = external hidden unnamed_addr constant [42 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [106 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [20 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z28ImGui_ImplOpenGL3_InitLoaderv() #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z22ImGui_ImplOpenGL3_InitPKc(ptr noundef %0) #1 personality ptr @__gxx_personality_v0 {
  %2 = alloca i1, align 1
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca %struct.ImNewWrapper, align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #8
  %17 = call noundef nonnull align 8 dereferenceable(3088) ptr @_ZN5ImGui5GetIOEv()
  store ptr %17, ptr %4, align 8, !tbaa !5
  %18 = call noundef zeroext i1 @_ZN5ImGui30DebugCheckVersionAndDataLayoutEPKcmmmmmm(ptr noundef @.str.1, i64 noundef 3088, i64 noundef 1204, i64 noundef 8, i64 noundef 16, i64 noundef 20, i64 noundef 2)
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.ImGuiIO, ptr %19, i32 0, i32 58
  %21 = load ptr, ptr %20, align 8, !tbaa !9
  %22 = icmp eq ptr %21, null
  br i1 %22, label %23, label %24

23:                                               ; preds = %1
  br label %24

24:                                               ; preds = %23, %1
  %25 = phi i1 [ false, %1 ], [ true, %23 ]
  br i1 %25, label %26, label %27

26:                                               ; preds = %24
  br label %29

27:                                               ; preds = %24
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef 307, ptr noundef @__PRETTY_FUNCTION__._Z22ImGui_ImplOpenGL3_InitPKc) #9
  unreachable

28:                                               ; No predecessors!
  br label %29

29:                                               ; preds = %28, %26
  %30 = call noundef zeroext i1 @_Z28ImGui_ImplOpenGL3_InitLoaderv()
  br i1 %30, label %32, label %31

31:                                               ; preds = %29
  store i1 false, ptr %2, align 1
  store i32 1, ptr %5, align 4
  br label %174

32:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  %33 = call noundef ptr @_ZN5ImGui8MemAllocEm(i64 noundef 104)
  %34 = call noundef ptr @_Znwm12ImNewWrapperPv(i64 noundef 104, ptr noundef %33)
  invoke void @_ZN22ImGui_ImplOpenGL3_DataC2Ev(ptr noundef nonnull align 8 dereferenceable(99) %34)
          to label %35 unwind label %53

35:                                               ; preds = %32
  store ptr %34, ptr %6, align 8, !tbaa !5
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.ImGuiIO, ptr %37, i32 0, i32 58
  store ptr %36, ptr %38, align 8, !tbaa !9
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.ImGuiIO, ptr %39, i32 0, i32 56
  store ptr @.str.5, ptr %40, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %41 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 39), align 8, !tbaa !19
  %42 = call noundef ptr %41(i32 noundef 7938)
  store ptr %42, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  store i32 0, ptr %11, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  store i32 0, ptr %12, align 4, !tbaa !20
  %43 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 34), align 8, !tbaa !19
  call void %43(i32 noundef 33307, ptr noundef %11)
  %44 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 34), align 8, !tbaa !19
  call void %44(i32 noundef 33308, ptr noundef %12)
  %45 = load i32, ptr %11, align 4, !tbaa !20
  %46 = icmp eq i32 %45, 0
  br i1 %46, label %47, label %57

47:                                               ; preds = %35
  %48 = load i32, ptr %12, align 4, !tbaa !20
  %49 = icmp eq i32 %48, 0
  br i1 %49, label %50, label %57

50:                                               ; preds = %47
  %51 = load ptr, ptr %10, align 8, !tbaa !5
  %52 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %51, ptr noundef @.str.6, ptr noundef %11, ptr noundef %12) #8
  br label %57

53:                                               ; preds = %32
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %8, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %9, align 4
  call void @_ZdlPv12ImNewWrapperS_(ptr noundef %34, ptr noundef %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  br label %176

57:                                               ; preds = %50, %47, %35
  %58 = load i32, ptr %11, align 4, !tbaa !20
  %59 = mul nsw i32 %58, 100
  %60 = load i32, ptr %12, align 4, !tbaa !20
  %61 = mul nsw i32 %60, 10
  %62 = add nsw i32 %59, %61
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %63, i32 0, i32 0
  store i32 %62, ptr %64, align 8, !tbaa !21
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %65, i32 0, i32 0
  %67 = load i32, ptr %66, align 8, !tbaa !21
  %68 = icmp uge i32 %67, 320
  br i1 %68, label %69, label %73

69:                                               ; preds = %57
  %70 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 34), align 8, !tbaa !19
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %71, i32 0, i32 6
  call void %70(i32 noundef 37158, ptr noundef %72)
  br label %73

73:                                               ; preds = %69, %57
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %74, i32 0, i32 6
  %76 = load i32, ptr %75, align 8, !tbaa !24
  %77 = and i32 %76, 2
  %78 = icmp ne i32 %77, 0
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %79, i32 0, i32 4
  %81 = zext i1 %78 to i8
  store i8 %81, ptr %80, align 2, !tbaa !25
  %82 = load ptr, ptr %10, align 8, !tbaa !5
  %83 = call i32 @strncmp(ptr noundef %82, ptr noundef @.str.7, i64 noundef 11) #10
  %84 = icmp eq i32 %83, 0
  br i1 %84, label %85, label %88

85:                                               ; preds = %73
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %86, i32 0, i32 3
  store i8 1, ptr %87, align 1, !tbaa !26
  br label %88

88:                                               ; preds = %85, %73
  %89 = load ptr, ptr %6, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %89, i32 0, i32 20
  store i8 0, ptr %90, align 2, !tbaa !27
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %91, i32 0, i32 0
  %93 = load i32, ptr %92, align 8, !tbaa !21
  %94 = icmp uge i32 %93, 320
  br i1 %94, label %95, label %100

95:                                               ; preds = %88
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.ImGuiIO, ptr %96, i32 0, i32 1
  %98 = load i32, ptr %97, align 4, !tbaa !28
  %99 = or i32 %98, 8
  store i32 %99, ptr %97, align 4, !tbaa !28
  br label %100

100:                                              ; preds = %95, %88
  %101 = load ptr, ptr %4, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.ImGuiIO, ptr %101, i32 0, i32 1
  %103 = load i32, ptr %102, align 4, !tbaa !28
  %104 = or i32 %103, 4096
  store i32 %104, ptr %102, align 4, !tbaa !28
  %105 = load ptr, ptr %3, align 8, !tbaa !5
  %106 = icmp eq ptr %105, null
  br i1 %106, label %107, label %108

107:                                              ; preds = %100
  store ptr @.str.8, ptr %3, align 8, !tbaa !5
  br label %108

108:                                              ; preds = %107, %100
  %109 = load ptr, ptr %3, align 8, !tbaa !5
  %110 = call i64 @strlen(ptr noundef %109) #10
  %111 = trunc i64 %110 to i32
  %112 = add nsw i32 %111, 2
  %113 = icmp slt i32 %112, 32
  br i1 %113, label %114, label %115

114:                                              ; preds = %108
  br label %117

115:                                              ; preds = %108
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.4, i32 noundef 382, ptr noundef @__PRETTY_FUNCTION__._Z22ImGui_ImplOpenGL3_InitPKc) #9
  unreachable

116:                                              ; No predecessors!
  br label %117

117:                                              ; preds = %116, %114
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %118, i32 0, i32 1
  %120 = getelementptr inbounds [32 x i8], ptr %119, i64 0, i64 0
  %121 = load ptr, ptr %3, align 8, !tbaa !5
  %122 = call ptr @strcpy(ptr noundef %120, ptr noundef %121) #8
  %123 = load ptr, ptr %6, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %123, i32 0, i32 1
  %125 = getelementptr inbounds [32 x i8], ptr %124, i64 0, i64 0
  %126 = call ptr @strcat(ptr noundef %125, ptr noundef @.str.10) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %127 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 34), align 8, !tbaa !19
  call void %127(i32 noundef 32873, ptr noundef %13)
  %128 = load ptr, ptr %6, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %128, i32 0, i32 2
  %130 = load i8, ptr %129, align 4, !tbaa !29, !range !30, !noundef !31
  %131 = trunc i8 %130 to i1
  br i1 %131, label %138, label %132

132:                                              ; preds = %117
  %133 = load ptr, ptr %6, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %133, i32 0, i32 3
  %135 = load i8, ptr %134, align 1, !tbaa !26, !range !30, !noundef !31
  %136 = trunc i8 %135 to i1
  %137 = xor i1 %136, true
  br label %138

138:                                              ; preds = %132, %117
  %139 = phi i1 [ false, %117 ], [ %137, %132 ]
  %140 = load ptr, ptr %6, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %140, i32 0, i32 18
  %142 = zext i1 %139 to i8
  store i8 %142, ptr %141, align 8, !tbaa !32
  %143 = load ptr, ptr %6, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %143, i32 0, i32 0
  %145 = load i32, ptr %144, align 8, !tbaa !21
  %146 = icmp uge i32 %145, 450
  %147 = load ptr, ptr %6, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %147, i32 0, i32 19
  %149 = zext i1 %146 to i8
  store i8 %149, ptr %148, align 1, !tbaa !33
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  store i32 0, ptr %14, align 4, !tbaa !20
  %150 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 34), align 8, !tbaa !19
  call void %150(i32 noundef 33309, ptr noundef %14)
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  store i32 0, ptr %15, align 4, !tbaa !20
  br label %151

151:                                              ; preds = %170, %138
  %152 = load i32, ptr %15, align 4, !tbaa !20
  %153 = load i32, ptr %14, align 4, !tbaa !20
  %154 = icmp slt i32 %152, %153
  br i1 %154, label %156, label %155

155:                                              ; preds = %151
  store i32 2, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  br label %173

156:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %157 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 40), align 8, !tbaa !19
  %158 = load i32, ptr %15, align 4, !tbaa !20
  %159 = call noundef ptr %157(i32 noundef 7939, i32 noundef %158)
  store ptr %159, ptr %16, align 8, !tbaa !5
  %160 = load ptr, ptr %16, align 8, !tbaa !5
  %161 = icmp ne ptr %160, null
  br i1 %161, label %162, label %169

162:                                              ; preds = %156
  %163 = load ptr, ptr %16, align 8, !tbaa !5
  %164 = call i32 @strcmp(ptr noundef %163, ptr noundef @.str.11) #10
  %165 = icmp eq i32 %164, 0
  br i1 %165, label %166, label %169

166:                                              ; preds = %162
  %167 = load ptr, ptr %6, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %167, i32 0, i32 19
  store i8 1, ptr %168, align 1, !tbaa !33
  br label %169

169:                                              ; preds = %166, %162, %156
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %170

170:                                              ; preds = %169
  %171 = load i32, ptr %15, align 4, !tbaa !20
  %172 = add nsw i32 %171, 1
  store i32 %172, ptr %15, align 4, !tbaa !20
  br label %151, !llvm.loop !34

173:                                              ; preds = %155
  call void @_ZL42ImGui_ImplOpenGL3_InitMultiViewportSupportv()
  store i1 true, ptr %2, align 1
  store i32 1, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  br label %174

174:                                              ; preds = %173, %31
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  %175 = load i1, ptr %2, align 1
  ret i1 %175

176:                                              ; preds = %53
  %177 = load ptr, ptr %8, align 8
  %178 = load i32, ptr %9, align 4
  %179 = insertvalue { ptr, i32 } poison, ptr %177, 0
  %180 = insertvalue { ptr, i32 } %179, i32 %178, 1
  resume { ptr, i32 } %180
}

declare noundef nonnull align 8 dereferenceable(3088) ptr @_ZN5ImGui5GetIOEv() #2

declare noundef zeroext i1 @_ZN5ImGui30DebugCheckVersionAndDataLayoutEPKcmmmmmm(ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) #2

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

declare noundef ptr @_ZN5ImGui8MemAllocEm(i64 noundef) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_Znwm12ImNewWrapperPv(i64 noundef, ptr noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN22ImGui_ImplOpenGL3_DataC2Ev(ptr noundef nonnull align 8 dereferenceable(99)) unnamed_addr #5 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZdlPv12ImNewWrapperS_(ptr noundef, ptr noundef) #4

; Function Attrs: nounwind
declare i32 @__isoc99_sscanf(ptr noundef, ptr noundef, ...) #6

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

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

; Function Attrs: nounwind
declare ptr @strcpy(ptr noundef, ptr noundef) #6

; Function Attrs: nounwind
declare ptr @strcat(ptr noundef, ptr noundef) #6

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL42ImGui_ImplOpenGL3_InitMultiViewportSupportv() #1

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 168}
!10 = !{!"_ZTS7ImGuiIO", !11, i64 0, !11, i64 4, !12, i64 8, !13, i64 16, !13, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !13, i64 56, !14, i64 60, !6, i64 64, !12, i64 72, !14, i64 80, !14, i64 81, !14, i64 82, !14, i64 83, !14, i64 84, !14, i64 85, !14, i64 86, !14, i64 87, !14, i64 88, !14, i64 89, !14, i64 90, !14, i64 91, !14, i64 92, !14, i64 93, !14, i64 94, !14, i64 95, !14, i64 96, !14, i64 97, !14, i64 98, !14, i64 99, !14, i64 100, !14, i64 101, !14, i64 102, !14, i64 103, !14, i64 104, !13, i64 108, !13, i64 112, !13, i64 116, !13, i64 120, !13, i64 124, !13, i64 128, !14, i64 132, !14, i64 133, !14, i64 134, !14, i64 135, !14, i64 136, !14, i64 137, !14, i64 138, !14, i64 139, !14, i64 140, !14, i64 141, !14, i64 142, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !14, i64 184, !14, i64 185, !14, i64 186, !14, i64 187, !14, i64 188, !14, i64 189, !14, i64 190, !13, i64 192, !11, i64 196, !11, i64 200, !11, i64 204, !11, i64 208, !12, i64 212, !6, i64 224, !12, i64 232, !7, i64 240, !13, i64 248, !13, i64 252, !15, i64 256, !11, i64 260, !14, i64 264, !14, i64 265, !14, i64 266, !14, i64 267, !11, i64 268, !7, i64 272, !14, i64 2752, !12, i64 2756, !7, i64 2764, !7, i64 2808, !7, i64 2848, !7, i64 2853, !7, i64 2858, !7, i64 2868, !7, i64 2878, !7, i64 2888, !7, i64 2928, !7, i64 2933, !14, i64 2938, !14, i64 2939, !7, i64 2940, !7, i64 2960, !7, i64 2980, !7, i64 3020, !13, i64 3040, !14, i64 3044, !14, i64 3045, !16, i64 3046, !17, i64 3048, !6, i64 3064, !6, i64 3072, !6, i64 3080}
!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, !6, i64 152}
!19 = !{!7, !7, i64 0}
!20 = !{!11, !11, i64 0}
!21 = !{!22, !11, i64 0}
!22 = !{!"_ZTS22ImGui_ImplOpenGL3_Data", !11, i64 0, !7, i64 4, !14, i64 36, !14, i64 37, !14, i64 38, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !23, i64 80, !23, i64 88, !14, i64 96, !14, i64 97, !14, i64 98}
!23 = !{!"long", !7, i64 0}
!24 = !{!22, !11, i64 40}
!25 = !{!22, !14, i64 38}
!26 = !{!22, !14, i64 37}
!27 = !{!22, !14, i64 98}
!28 = !{!10, !11, i64 4}
!29 = !{!22, !14, i64 36}
!30 = !{i8 0, i8 2}
!31 = !{}
!32 = !{!22, !14, i64 96}
!33 = !{!22, !14, i64 97}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}


; 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"

%union.ImGL3WProcs = type { [59 x ptr] }

@imgl3wProcs = external dso_local local_unnamed_addr global %union.ImGL3WProcs, align 8
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [110 x i8], align 1
@__PRETTY_FUNCTION__._Z22ImGui_ImplOpenGL3_InitPKc = external hidden unnamed_addr constant [42 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [106 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [20 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z28ImGui_ImplOpenGL3_InitLoaderv() local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z22ImGui_ImplOpenGL3_InitPKc(ptr noundef readonly %0) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = tail call noundef nonnull align 8 dereferenceable(3088) ptr @_ZN5ImGui5GetIOEv()
  %7 = tail call noundef zeroext i1 @_ZN5ImGui30DebugCheckVersionAndDataLayoutEPKcmmmmmm(ptr noundef nonnull @.str.1, i64 noundef 3088, i64 noundef 1204, i64 noundef 8, i64 noundef 16, i64 noundef 20, i64 noundef 2)
  %8 = getelementptr inbounds i8, ptr %6, i64 168
  %9 = load ptr, ptr %8, align 8, !tbaa !5
  %10 = icmp eq ptr %9, null
  br i1 %10, label %12, label %11

11:                                               ; preds = %1
  tail call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4, i32 noundef 307, ptr noundef nonnull @__PRETTY_FUNCTION__._Z22ImGui_ImplOpenGL3_InitPKc) #9
  unreachable

12:                                               ; preds = %1
  %13 = tail call noundef zeroext i1 @_Z28ImGui_ImplOpenGL3_InitLoaderv()
  br i1 %13, label %14, label %95

14:                                               ; preds = %12
  %15 = tail call noundef ptr @_ZN5ImGui8MemAllocEm(i64 noundef 104)
  %16 = tail call noundef ptr @_Znwm12ImNewWrapperPv(i64 noundef 104, ptr noundef %15)
  tail call void @_ZN22ImGui_ImplOpenGL3_DataC2Ev(ptr noundef nonnull align 8 dereferenceable(99) %16)
  store ptr %16, ptr %8, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %6, i64 152
  store ptr @.str.5, ptr %17, align 8, !tbaa !17
  %18 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 312), align 8, !tbaa !18
  %19 = tail call noundef ptr %18(i32 noundef 7938)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #10
  store i32 0, ptr %2, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #10
  store i32 0, ptr %3, align 4, !tbaa !19
  %20 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 272), align 8, !tbaa !18
  call void %20(i32 noundef 33307, ptr noundef nonnull %2)
  %21 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 272), align 8, !tbaa !18
  call void %21(i32 noundef 33308, ptr noundef nonnull %3)
  %22 = load i32, ptr %2, align 4, !tbaa !19
  %23 = icmp eq i32 %22, 0
  %24 = load i32, ptr %3, align 4
  %25 = icmp eq i32 %24, 0
  %or.cond = select i1 %23, i1 %25, i1 false
  br i1 %or.cond, label %26, label %28

26:                                               ; preds = %14
  %27 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %19, ptr noundef nonnull @.str.6, ptr noundef nonnull %2, ptr noundef nonnull %3) #10
  %.pre = load i32, ptr %2, align 4, !tbaa !19
  %.pre36 = load i32, ptr %3, align 4, !tbaa !19
  br label %28

28:                                               ; preds = %26, %14
  %29 = phi i32 [ %.pre36, %26 ], [ %24, %14 ]
  %30 = phi i32 [ %.pre, %26 ], [ %22, %14 ]
  %31 = mul nsw i32 %30, 100
  %32 = mul nsw i32 %29, 10
  %33 = add nsw i32 %32, %31
  store i32 %33, ptr %16, align 8, !tbaa !20
  %34 = icmp ugt i32 %33, 319
  br i1 %34, label %35, label %38

35:                                               ; preds = %28
  %36 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 272), align 8, !tbaa !18
  %37 = getelementptr inbounds i8, ptr %16, i64 40
  call void %36(i32 noundef 37158, ptr noundef nonnull %37)
  br label %38

38:                                               ; preds = %35, %28
  %39 = getelementptr inbounds i8, ptr %16, i64 40
  %40 = load i32, ptr %39, align 8, !tbaa !23
  %41 = getelementptr inbounds i8, ptr %16, i64 38
  %42 = trunc i32 %40 to i8
  %43 = lshr i8 %42, 1
  %44 = and i8 %43, 1
  store i8 %44, ptr %41, align 2, !tbaa !24
  %45 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %19, ptr noundef nonnull dereferenceable(1) @.str.7, i64 noundef 11) #11
  %46 = icmp eq i32 %45, 0
  br i1 %46, label %47, label %._crit_edge37

47:                                               ; preds = %38
  %48 = getelementptr inbounds i8, ptr %16, i64 37
  store i8 1, ptr %48, align 1, !tbaa !25
  br label %._crit_edge37

._crit_edge37:                                    ; preds = %47, %38
  %49 = getelementptr inbounds i8, ptr %16, i64 98
  store i8 0, ptr %49, align 2, !tbaa !26
  %50 = load i32, ptr %16, align 8, !tbaa !20
  %51 = icmp ugt i32 %50, 319
  %52 = getelementptr inbounds i8, ptr %6, i64 4
  %53 = load i32, ptr %52, align 4, !tbaa !27
  %54 = or i32 %53, 8
  %55 = select i1 %51, i32 %54, i32 %53
  %56 = getelementptr inbounds i8, ptr %6, i64 4
  %57 = or i32 %55, 4096
  store i32 %57, ptr %56, align 4, !tbaa !27
  %58 = icmp eq ptr %0, null
  %spec.store.select = select i1 %58, ptr @.str.8, ptr %0
  %59 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %spec.store.select) #11
  %60 = trunc i64 %59 to i32
  %61 = icmp slt i32 %60, 30
  br i1 %61, label %63, label %62

62:                                               ; preds = %._crit_edge37
  call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.4, i32 noundef 382, ptr noundef nonnull @__PRETTY_FUNCTION__._Z22ImGui_ImplOpenGL3_InitPKc) #9
  unreachable

63:                                               ; preds = %._crit_edge37
  %64 = getelementptr inbounds i8, ptr %16, i64 4
  %65 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %64, ptr noundef nonnull dereferenceable(1) %spec.store.select) #10
  %66 = call ptr @strcat(ptr noundef nonnull dereferenceable(1) %64, ptr noundef nonnull dereferenceable(1) @.str.10) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #10
  %67 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 272), align 8, !tbaa !18
  call void %67(i32 noundef 32873, ptr noundef nonnull %4)
  %68 = getelementptr inbounds i8, ptr %16, i64 36
  %69 = load i8, ptr %68, align 4, !tbaa !28, !range !29, !noundef !30
  %70 = trunc nuw i8 %69 to i1
  br i1 %70, label %75, label %71

71:                                               ; preds = %63
  %72 = getelementptr inbounds i8, ptr %16, i64 37
  %73 = load i8, ptr %72, align 1, !tbaa !25, !range !29, !noundef !30
  %74 = xor i8 %73, 1
  br label %75

75:                                               ; preds = %71, %63
  %76 = phi i8 [ 0, %63 ], [ %74, %71 ]
  %77 = getelementptr inbounds i8, ptr %16, i64 96
  store i8 %76, ptr %77, align 8, !tbaa !31
  %78 = load i32, ptr %16, align 8, !tbaa !20
  %79 = icmp ugt i32 %78, 449
  %80 = getelementptr inbounds i8, ptr %16, i64 97
  %81 = zext i1 %79 to i8
  store i8 %81, ptr %80, align 1, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #10
  store i32 0, ptr %5, align 4, !tbaa !19
  %82 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 272), align 8, !tbaa !18
  call void %82(i32 noundef 33309, ptr noundef nonnull %5)
  %83 = load i32, ptr %5, align 4, !tbaa !19
  %84 = icmp sgt i32 %83, 0
  br i1 %84, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %91, %75
  call void @_ZL42ImGui_ImplOpenGL3_InitMultiViewportSupportv()
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #10
  br label %95

.lr.ph:                                           ; preds = %75, %91
  %.03335 = phi i32 [ %92, %91 ], [ 0, %75 ]
  %85 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 320), align 8, !tbaa !18
  %86 = call noundef ptr %85(i32 noundef 7939, i32 noundef %.03335)
  %.not = icmp eq ptr %86, null
  br i1 %.not, label %91, label %87

87:                                               ; preds = %.lr.ph
  %88 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %86, ptr noundef nonnull dereferenceable(1) @.str.11) #11
  %89 = icmp eq i32 %88, 0
  br i1 %89, label %90, label %91

90:                                               ; preds = %87
  store i8 1, ptr %80, align 1, !tbaa !32
  br label %91

91:                                               ; preds = %90, %87, %.lr.ph
  %92 = add nuw nsw i32 %.03335, 1
  %93 = load i32, ptr %5, align 4, !tbaa !19
  %94 = icmp slt i32 %92, %93
  br i1 %94, label %.lr.ph, label %._crit_edge, !llvm.loop !33

95:                                               ; preds = %12, %._crit_edge
  ret i1 %13
}

declare noundef nonnull align 8 dereferenceable(3088) ptr @_ZN5ImGui5GetIOEv() local_unnamed_addr #2

declare noundef zeroext i1 @_ZN5ImGui30DebugCheckVersionAndDataLayoutEPKcmmmmmm(ptr noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #2

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

declare noundef ptr @_ZN5ImGui8MemAllocEm(i64 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_Znwm12ImNewWrapperPv(i64 noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN22ImGui_ImplOpenGL3_DataC2Ev(ptr noundef nonnull align 8 dereferenceable(99)) unnamed_addr #5 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_sscanf(ptr nocapture noundef readonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #6

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strncmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #7

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #8

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcat(ptr noalias noundef returned, ptr noalias nocapture noundef readonly) local_unnamed_addr #8

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL42ImGui_ImplOpenGL3_InitMultiViewportSupportv() local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "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 = { 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 #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 = { 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 = { nofree 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 = { 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 #8 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 }
attributes #11 = { 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, !12, i64 168}
!6 = !{!"_ZTS7ImGuiIO", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16, !11, i64 20, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !11, i64 56, !13, i64 60, !12, i64 64, !10, i64 72, !13, i64 80, !13, i64 81, !13, i64 82, !13, i64 83, !13, i64 84, !13, i64 85, !13, i64 86, !13, i64 87, !13, i64 88, !13, i64 89, !13, i64 90, !13, i64 91, !13, i64 92, !13, i64 93, !13, i64 94, !13, i64 95, !13, i64 96, !13, i64 97, !13, i64 98, !13, i64 99, !13, i64 100, !13, i64 101, !13, i64 102, !13, i64 103, !13, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !13, i64 132, !13, i64 133, !13, i64 134, !13, i64 135, !13, i64 136, !13, i64 137, !13, i64 138, !13, i64 139, !13, i64 140, !13, i64 141, !13, i64 142, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176, !13, i64 184, !13, i64 185, !13, i64 186, !13, i64 187, !13, i64 188, !13, i64 189, !13, i64 190, !11, i64 192, !7, i64 196, !7, i64 200, !7, i64 204, !7, i64 208, !10, i64 212, !12, i64 224, !10, i64 232, !8, i64 240, !11, i64 248, !11, i64 252, !14, i64 256, !7, i64 260, !13, i64 264, !13, i64 265, !13, i64 266, !13, i64 267, !7, i64 268, !8, i64 272, !13, i64 2752, !10, i64 2756, !8, i64 2764, !8, i64 2808, !8, i64 2848, !8, i64 2853, !8, i64 2858, !8, i64 2868, !8, i64 2878, !8, i64 2888, !8, i64 2928, !8, i64 2933, !13, i64 2938, !13, i64 2939, !8, i64 2940, !8, i64 2960, !8, i64 2980, !8, i64 3020, !11, i64 3040, !13, i64 3044, !13, i64 3045, !15, i64 3046, !16, i64 3048, !12, i64 3064, !12, i64 3072, !12, i64 3080}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS6ImVec2", !11, i64 0, !11, i64 4}
!11 = !{!"float", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{!"_ZTS16ImGuiMouseSource", !8, i64 0}
!15 = !{!"short", !8, i64 0}
!16 = !{!"_ZTS8ImVectorItE", !7, i64 0, !7, i64 4, !12, i64 8}
!17 = !{!6, !12, i64 152}
!18 = !{!8, !8, i64 0}
!19 = !{!7, !7, i64 0}
!20 = !{!21, !7, i64 0}
!21 = !{!"_ZTS22ImGui_ImplOpenGL3_Data", !7, i64 0, !8, i64 4, !13, i64 36, !13, i64 37, !13, i64 38, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !22, i64 80, !22, i64 88, !13, i64 96, !13, i64 97, !13, i64 98}
!22 = !{!"long", !8, i64 0}
!23 = !{!21, !7, i64 40}
!24 = !{!21, !13, i64 38}
!25 = !{!21, !13, i64 37}
!26 = !{!21, !13, i64 98}
!27 = !{!6, !7, i64 4}
!28 = !{!21, !13, i64 36}
!29 = !{i8 0, i8 2}
!30 = !{}
!31 = !{!21, !13, i64 96}
!32 = !{!21, !13, i64 97}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass