; LLVM IR from bohanwang/libpgo :: third-party/imgui/backends (imgui_impl_opengl3)

; 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.ImVec2 = type { float, float }
%struct.ImDrawData = type { i8, i32, i32, i32, %struct.ImVector.1, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, ptr }
%struct.ImVector.1 = 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] }>
%struct.ImDrawList = type { %struct.ImVector.2, %struct.ImVector, %struct.ImVector.3, i32, i32, ptr, ptr, ptr, %struct.ImVector.4, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, %struct.ImVector.6, %struct.ImVector.7, float, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.5 }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImDrawCmd = type { %struct.ImVec4, ptr, i32, i32, i32, ptr, ptr }

@imgl3wProcs = external dso_local global %union.ImGL3WProcs, align 8

; 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 hidden noundef ptr @_ZL32ImGui_ImplOpenGL3_GetBackendDatav() #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z32ImGui_ImplOpenGL3_RenderDrawDataP10ImDrawData(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca [2 x i32], align 4
  %14 = alloca [4 x i32], align 16
  %15 = alloca [4 x i32], align 16
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i8, align 1
  %23 = alloca i8, align 1
  %24 = alloca i8, align 1
  %25 = alloca i8, align 1
  %26 = alloca i8, align 1
  %27 = alloca i8, align 1
  %28 = alloca i32, align 4
  %29 = alloca %struct.ImVec2, align 4
  %30 = alloca %struct.ImVec2, align 4
  %31 = alloca i32, align 4
  %32 = alloca ptr, align 8
  %33 = alloca i64, align 8
  %34 = alloca i64, align 8
  %35 = alloca i32, align 4
  %36 = alloca ptr, align 8
  %37 = alloca %struct.ImVec2, align 4
  %38 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  %39 = load ptr, ptr %2, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.ImDrawData, ptr %39, i32 0, i32 6
  %41 = getelementptr inbounds %struct.ImVec2, ptr %40, i32 0, i32 0
  %42 = load float, ptr %41, align 8, !tbaa !9
  %43 = load ptr, ptr %2, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.ImDrawData, ptr %43, i32 0, i32 7
  %45 = getelementptr inbounds %struct.ImVec2, ptr %44, i32 0, i32 0
  %46 = load float, ptr %45, align 8, !tbaa !16
  %47 = fmul float %42, %46
  %48 = fptosi float %47 to i32
  store i32 %48, ptr %3, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  %49 = load ptr, ptr %2, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.ImDrawData, ptr %49, i32 0, i32 6
  %51 = getelementptr inbounds %struct.ImVec2, ptr %50, i32 0, i32 1
  %52 = load float, ptr %51, align 4, !tbaa !18
  %53 = load ptr, ptr %2, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.ImDrawData, ptr %53, i32 0, i32 7
  %55 = getelementptr inbounds %struct.ImVec2, ptr %54, i32 0, i32 1
  %56 = load float, ptr %55, align 4, !tbaa !19
  %57 = fmul float %52, %56
  %58 = fptosi float %57 to i32
  store i32 %58, ptr %4, align 4, !tbaa !17
  %59 = load i32, ptr %3, align 4, !tbaa !17
  %60 = icmp sle i32 %59, 0
  br i1 %60, label %64, label %61

61:                                               ; preds = %1
  %62 = load i32, ptr %4, align 4, !tbaa !17
  %63 = icmp sle i32 %62, 0
  br i1 %63, label %64, label %65

64:                                               ; preds = %61, %1
  store i32 1, ptr %5, align 4
  br label %513

65:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %66 = call noundef ptr @_ZL32ImGui_ImplOpenGL3_GetBackendDatav()
  store ptr %66, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %67 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 34), align 8, !tbaa !20
  call void %67(i32 noundef 34016, ptr noundef %7)
  %68 = load ptr, ptr @imgl3wProcs, align 8, !tbaa !20
  call void %68(i32 noundef 33984)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %69 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 34), align 8, !tbaa !20
  call void %69(i32 noundef 35725, ptr noundef %8)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %70 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 34), align 8, !tbaa !20
  call void %70(i32 noundef 32873, ptr noundef %9)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %71, i32 0, i32 0
  %73 = load i32, ptr %72, align 8, !tbaa !21
  %74 = icmp uge i32 %73, 330
  br i1 %74, label %80, label %75

75:                                               ; preds = %65
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %76, i32 0, i32 3
  %78 = load i8, ptr %77, align 1, !tbaa !24, !range !25, !noundef !26
  %79 = trunc i8 %78 to i1
  br i1 %79, label %80, label %82

80:                                               ; preds = %75, %65
  %81 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 34), align 8, !tbaa !20
  call void %81(i32 noundef 35097, ptr noundef %10)
  br label %83

82:                                               ; preds = %75
  store i32 0, ptr %10, align 4, !tbaa !17
  br label %83

83:                                               ; preds = %82, %80
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %84 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 34), align 8, !tbaa !20
  call void %84(i32 noundef 34964, ptr noundef %11)
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %85 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 34), align 8, !tbaa !20
  call void %85(i32 noundef 34229, ptr noundef %12)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %86, i32 0, i32 18
  %88 = load i8, ptr %87, align 8, !tbaa !27, !range !25, !noundef !26
  %89 = trunc i8 %88 to i1
  br i1 %89, label %90, label %93

90:                                               ; preds = %83
  %91 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 34), align 8, !tbaa !20
  %92 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 0
  call void %91(i32 noundef 2880, ptr noundef %92)
  br label %93

93:                                               ; preds = %90, %83
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #5
  %94 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 34), align 8, !tbaa !20
  %95 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 0
  call void %94(i32 noundef 2978, ptr noundef %95)
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  %96 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 34), align 8, !tbaa !20
  %97 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 0
  call void %96(i32 noundef 3088, ptr noundef %97)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %98 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 34), align 8, !tbaa !20
  call void %98(i32 noundef 32969, ptr noundef %16)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %99 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 34), align 8, !tbaa !20
  call void %99(i32 noundef 32968, ptr noundef %17)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %100 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 34), align 8, !tbaa !20
  call void %100(i32 noundef 32971, ptr noundef %18)
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %101 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 34), align 8, !tbaa !20
  call void %101(i32 noundef 32970, ptr noundef %19)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  %102 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 34), align 8, !tbaa !20
  call void %102(i32 noundef 32777, ptr noundef %20)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  %103 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 34), align 8, !tbaa !20
  call void %103(i32 noundef 34877, ptr noundef %21)
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #5
  %104 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 44), align 8, !tbaa !20
  %105 = call noundef zeroext i8 %104(i32 noundef 3042)
  store i8 %105, ptr %22, align 1, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #5
  %106 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 44), align 8, !tbaa !20
  %107 = call noundef zeroext i8 %106(i32 noundef 2884)
  store i8 %107, ptr %23, align 1, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #5
  %108 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 44), align 8, !tbaa !20
  %109 = call noundef zeroext i8 %108(i32 noundef 2929)
  store i8 %109, ptr %24, align 1, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #5
  %110 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 44), align 8, !tbaa !20
  %111 = call noundef zeroext i8 %110(i32 noundef 2960)
  store i8 %111, ptr %25, align 1, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #5
  %112 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 44), align 8, !tbaa !20
  %113 = call noundef zeroext i8 %112(i32 noundef 3089)
  store i8 %113, ptr %26, align 1, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #5
  %114 = load ptr, ptr %6, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %114, i32 0, i32 0
  %116 = load i32, ptr %115, align 8, !tbaa !21
  %117 = icmp uge i32 %116, 310
  br i1 %117, label %118, label %122

118:                                              ; preds = %93
  %119 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 44), align 8, !tbaa !20
  %120 = call noundef zeroext i8 %119(i32 noundef 36765)
  %121 = zext i8 %120 to i32
  br label %123

122:                                              ; preds = %93
  br label %123

123:                                              ; preds = %122, %118
  %124 = phi i32 [ %121, %118 ], [ 0, %122 ]
  %125 = trunc i32 %124 to i8
  store i8 %125, ptr %27, align 1, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  store i32 0, ptr %28, align 4, !tbaa !17
  %126 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 31), align 8, !tbaa !20
  call void %126(i32 noundef 1, ptr noundef %28)
  %127 = load ptr, ptr %2, align 8, !tbaa !5
  %128 = load i32, ptr %3, align 4, !tbaa !17
  %129 = load i32, ptr %4, align 4, !tbaa !17
  %130 = load i32, ptr %28, align 4, !tbaa !17
  call void @_ZL34ImGui_ImplOpenGL3_SetupRenderStateP10ImDrawDataiij(ptr noundef %127, i32 noundef %128, i32 noundef %129, i32 noundef %130)
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %131 = load ptr, ptr %2, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.ImDrawData, ptr %131, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 8 %132, i64 8, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %133 = load ptr, ptr %2, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.ImDrawData, ptr %133, i32 0, i32 7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 8 %134, i64 8, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  store i32 0, ptr %31, align 4, !tbaa !17
  br label %135

135:                                              ; preds = %375, %123
  %136 = load i32, ptr %31, align 4, !tbaa !17
  %137 = load ptr, ptr %2, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.ImDrawData, ptr %137, i32 0, i32 1
  %139 = load i32, ptr %138, align 4, !tbaa !30
  %140 = icmp slt i32 %136, %139
  br i1 %140, label %142, label %141

141:                                              ; preds = %135
  store i32 2, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  br label %378

142:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  %143 = load ptr, ptr %2, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.ImDrawData, ptr %143, i32 0, i32 4
  %145 = load i32, ptr %31, align 4, !tbaa !17
  %146 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP10ImDrawListEixEi(ptr noundef nonnull align 8 dereferenceable(16) %144, i32 noundef %145)
  %147 = load ptr, ptr %146, align 8, !tbaa !5
  store ptr %147, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  %148 = load ptr, ptr %32, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.ImDrawList, ptr %148, i32 0, i32 2
  %150 = getelementptr inbounds %struct.ImVector.3, ptr %149, i32 0, i32 0
  %151 = load i32, ptr %150, align 8, !tbaa !31
  %152 = sext i32 %151 to i64
  %153 = mul nsw i64 %152, 20
  store i64 %153, ptr %33, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  %154 = load ptr, ptr %32, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.ImDrawList, ptr %154, i32 0, i32 1
  %156 = getelementptr inbounds %struct.ImVector, ptr %155, i32 0, i32 0
  %157 = load i32, ptr %156, align 8, !tbaa !44
  %158 = sext i32 %157 to i64
  %159 = mul nsw i64 %158, 2
  store i64 %159, ptr %34, align 8, !tbaa !43
  %160 = load ptr, ptr %6, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %160, i32 0, i32 20
  %162 = load i8, ptr %161, align 2, !tbaa !45, !range !25, !noundef !26
  %163 = trunc i8 %162 to i1
  br i1 %163, label %164, label %205

164:                                              ; preds = %142
  %165 = load ptr, ptr %6, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %165, i32 0, i32 16
  %167 = load i64, ptr %166, align 8, !tbaa !46
  %168 = load i64, ptr %33, align 8, !tbaa !43
  %169 = icmp slt i64 %167, %168
  br i1 %169, label %170, label %178

170:                                              ; preds = %164
  %171 = load i64, ptr %33, align 8, !tbaa !43
  %172 = load ptr, ptr %6, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %172, i32 0, i32 16
  store i64 %171, ptr %173, align 8, !tbaa !46
  %174 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 9), align 8, !tbaa !20
  %175 = load ptr, ptr %6, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %175, i32 0, i32 16
  %177 = load i64, ptr %176, align 8, !tbaa !46
  call void %174(i32 noundef 34962, i64 noundef %177, ptr noundef null, i32 noundef 35040)
  br label %178

178:                                              ; preds = %170, %164
  %179 = load ptr, ptr %6, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %179, i32 0, i32 17
  %181 = load i64, ptr %180, align 8, !tbaa !47
  %182 = load i64, ptr %34, align 8, !tbaa !43
  %183 = icmp slt i64 %181, %182
  br i1 %183, label %184, label %192

184:                                              ; preds = %178
  %185 = load i64, ptr %34, align 8, !tbaa !43
  %186 = load ptr, ptr %6, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %186, i32 0, i32 17
  store i64 %185, ptr %187, align 8, !tbaa !47
  %188 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 9), align 8, !tbaa !20
  %189 = load ptr, ptr %6, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %189, i32 0, i32 17
  %191 = load i64, ptr %190, align 8, !tbaa !47
  call void %188(i32 noundef 34963, i64 noundef %191, ptr noundef null, i32 noundef 35040)
  br label %192

192:                                              ; preds = %184, %178
  %193 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 10), align 8, !tbaa !20
  %194 = load i64, ptr %33, align 8, !tbaa !43
  %195 = load ptr, ptr %32, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.ImDrawList, ptr %195, i32 0, i32 2
  %197 = getelementptr inbounds %struct.ImVector.3, ptr %196, i32 0, i32 2
  %198 = load ptr, ptr %197, align 8, !tbaa !48
  call void %193(i32 noundef 34962, i64 noundef 0, i64 noundef %194, ptr noundef %198)
  %199 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 10), align 8, !tbaa !20
  %200 = load i64, ptr %34, align 8, !tbaa !43
  %201 = load ptr, ptr %32, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.ImDrawList, ptr %201, i32 0, i32 1
  %203 = getelementptr inbounds %struct.ImVector, ptr %202, i32 0, i32 2
  %204 = load ptr, ptr %203, align 8, !tbaa !49
  call void %199(i32 noundef 34963, i64 noundef 0, i64 noundef %200, ptr noundef %204)
  br label %218

205:                                              ; preds = %142
  %206 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 9), align 8, !tbaa !20
  %207 = load i64, ptr %33, align 8, !tbaa !43
  %208 = load ptr, ptr %32, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.ImDrawList, ptr %208, i32 0, i32 2
  %210 = getelementptr inbounds %struct.ImVector.3, ptr %209, i32 0, i32 2
  %211 = load ptr, ptr %210, align 8, !tbaa !48
  call void %206(i32 noundef 34962, i64 noundef %207, ptr noundef %211, i32 noundef 35040)
  %212 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 9), align 8, !tbaa !20
  %213 = load i64, ptr %34, align 8, !tbaa !43
  %214 = load ptr, ptr %32, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.ImDrawList, ptr %214, i32 0, i32 1
  %216 = getelementptr inbounds %struct.ImVector, ptr %215, i32 0, i32 2
  %217 = load ptr, ptr %216, align 8, !tbaa !49
  call void %212(i32 noundef 34963, i64 noundef %213, ptr noundef %217, i32 noundef 35040)
  br label %218

218:                                              ; preds = %205, %192
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #5
  store i32 0, ptr %35, align 4, !tbaa !17
  br label %219

219:                                              ; preds = %371, %218
  %220 = load i32, ptr %35, align 4, !tbaa !17
  %221 = load ptr, ptr %32, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.ImDrawList, ptr %221, i32 0, i32 0
  %223 = getelementptr inbounds %struct.ImVector.2, ptr %222, i32 0, i32 0
  %224 = load i32, ptr %223, align 8, !tbaa !50
  %225 = icmp slt i32 %220, %224
  br i1 %225, label %227, label %226

226:                                              ; preds = %219
  store i32 5, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #5
  br label %374

227:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #5
  %228 = load ptr, ptr %32, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.ImDrawList, ptr %228, i32 0, i32 0
  %230 = load i32, ptr %35, align 4, !tbaa !17
  %231 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %229, i32 noundef %230)
  store ptr %231, ptr %36, align 8, !tbaa !5
  %232 = load ptr, ptr %36, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.ImDrawCmd, ptr %232, i32 0, i32 5
  %234 = load ptr, ptr %233, align 8, !tbaa !51
  %235 = icmp ne ptr %234, null
  br i1 %235, label %236, label %253

236:                                              ; preds = %227
  %237 = load ptr, ptr %36, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.ImDrawCmd, ptr %237, i32 0, i32 5
  %239 = load ptr, ptr %238, align 8, !tbaa !51
  %240 = icmp eq ptr %239, inttoptr (i64 -8 to ptr)
  br i1 %240, label %241, label %246

241:                                              ; preds = %236
  %242 = load ptr, ptr %2, align 8, !tbaa !5
  %243 = load i32, ptr %3, align 4, !tbaa !17
  %244 = load i32, ptr %4, align 4, !tbaa !17
  %245 = load i32, ptr %28, align 4, !tbaa !17
  call void @_ZL34ImGui_ImplOpenGL3_SetupRenderStateP10ImDrawDataiij(ptr noundef %242, i32 noundef %243, i32 noundef %244, i32 noundef %245)
  br label %252

246:                                              ; preds = %236
  %247 = load ptr, ptr %36, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.ImDrawCmd, ptr %247, i32 0, i32 5
  %249 = load ptr, ptr %248, align 8, !tbaa !51
  %250 = load ptr, ptr %32, align 8, !tbaa !5
  %251 = load ptr, ptr %36, align 8, !tbaa !5
  call void %249(ptr noundef %250, ptr noundef %251)
  br label %252

252:                                              ; preds = %246, %241
  br label %367

253:                                              ; preds = %227
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #5
  %254 = load ptr, ptr %36, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.ImDrawCmd, ptr %254, i32 0, i32 0
  %256 = getelementptr inbounds %struct.ImVec4, ptr %255, i32 0, i32 0
  %257 = load float, ptr %256, align 8, !tbaa !53
  %258 = getelementptr inbounds %struct.ImVec2, ptr %29, i32 0, i32 0
  %259 = load float, ptr %258, align 4, !tbaa !54
  %260 = fsub float %257, %259
  %261 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 0
  %262 = load float, ptr %261, align 4, !tbaa !54
  %263 = fmul float %260, %262
  %264 = load ptr, ptr %36, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.ImDrawCmd, ptr %264, i32 0, i32 0
  %266 = getelementptr inbounds %struct.ImVec4, ptr %265, i32 0, i32 1
  %267 = load float, ptr %266, align 4, !tbaa !55
  %268 = getelementptr inbounds %struct.ImVec2, ptr %29, i32 0, i32 1
  %269 = load float, ptr %268, align 4, !tbaa !56
  %270 = fsub float %267, %269
  %271 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 1
  %272 = load float, ptr %271, align 4, !tbaa !56
  %273 = fmul float %270, %272
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef %263, float noundef %273)
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #5
  %274 = load ptr, ptr %36, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.ImDrawCmd, ptr %274, i32 0, i32 0
  %276 = getelementptr inbounds %struct.ImVec4, ptr %275, i32 0, i32 2
  %277 = load float, ptr %276, align 8, !tbaa !57
  %278 = getelementptr inbounds %struct.ImVec2, ptr %29, i32 0, i32 0
  %279 = load float, ptr %278, align 4, !tbaa !54
  %280 = fsub float %277, %279
  %281 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 0
  %282 = load float, ptr %281, align 4, !tbaa !54
  %283 = fmul float %280, %282
  %284 = load ptr, ptr %36, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.ImDrawCmd, ptr %284, i32 0, i32 0
  %286 = getelementptr inbounds %struct.ImVec4, ptr %285, i32 0, i32 3
  %287 = load float, ptr %286, align 4, !tbaa !58
  %288 = getelementptr inbounds %struct.ImVec2, ptr %29, i32 0, i32 1
  %289 = load float, ptr %288, align 4, !tbaa !56
  %290 = fsub float %287, %289
  %291 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 1
  %292 = load float, ptr %291, align 4, !tbaa !56
  %293 = fmul float %290, %292
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %38, float noundef %283, float noundef %293)
  %294 = getelementptr inbounds %struct.ImVec2, ptr %38, i32 0, i32 0
  %295 = load float, ptr %294, align 4, !tbaa !54
  %296 = getelementptr inbounds %struct.ImVec2, ptr %37, i32 0, i32 0
  %297 = load float, ptr %296, align 4, !tbaa !54
  %298 = fcmp ole float %295, %297
  br i1 %298, label %305, label %299

299:                                              ; preds = %253
  %300 = getelementptr inbounds %struct.ImVec2, ptr %38, i32 0, i32 1
  %301 = load float, ptr %300, align 4, !tbaa !56
  %302 = getelementptr inbounds %struct.ImVec2, ptr %37, i32 0, i32 1
  %303 = load float, ptr %302, align 4, !tbaa !56
  %304 = fcmp ole float %301, %303
  br i1 %304, label %305, label %306

305:                                              ; preds = %299, %253
  store i32 7, ptr %5, align 4
  br label %364

306:                                              ; preds = %299
  %307 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 50), align 8, !tbaa !20
  %308 = getelementptr inbounds %struct.ImVec2, ptr %37, i32 0, i32 0
  %309 = load float, ptr %308, align 4, !tbaa !54
  %310 = fptosi float %309 to i32
  %311 = load i32, ptr %4, align 4, !tbaa !17
  %312 = sitofp i32 %311 to float
  %313 = getelementptr inbounds %struct.ImVec2, ptr %38, i32 0, i32 1
  %314 = load float, ptr %313, align 4, !tbaa !56
  %315 = fsub float %312, %314
  %316 = fptosi float %315 to i32
  %317 = getelementptr inbounds %struct.ImVec2, ptr %38, i32 0, i32 0
  %318 = load float, ptr %317, align 4, !tbaa !54
  %319 = getelementptr inbounds %struct.ImVec2, ptr %37, i32 0, i32 0
  %320 = load float, ptr %319, align 4, !tbaa !54
  %321 = fsub float %318, %320
  %322 = fptosi float %321 to i32
  %323 = getelementptr inbounds %struct.ImVec2, ptr %38, i32 0, i32 1
  %324 = load float, ptr %323, align 4, !tbaa !56
  %325 = getelementptr inbounds %struct.ImVec2, ptr %37, i32 0, i32 1
  %326 = load float, ptr %325, align 4, !tbaa !56
  %327 = fsub float %324, %326
  %328 = fptosi float %327 to i32
  call void %307(i32 noundef %310, i32 noundef %316, i32 noundef %322, i32 noundef %328)
  %329 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 4), align 8, !tbaa !20
  %330 = load ptr, ptr %36, align 8, !tbaa !5
  %331 = call noundef ptr @_ZNK9ImDrawCmd8GetTexIDEv(ptr noundef nonnull align 8 dereferenceable(56) %330)
  %332 = ptrtoint ptr %331 to i64
  %333 = trunc i64 %332 to i32
  call void %329(i32 noundef 3553, i32 noundef %333)
  %334 = load ptr, ptr %6, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %334, i32 0, i32 0
  %336 = load i32, ptr %335, align 8, !tbaa !21
  %337 = icmp uge i32 %336, 320
  br i1 %337, label %338, label %352

338:                                              ; preds = %306
  %339 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 25), align 8, !tbaa !20
  %340 = load ptr, ptr %36, align 8, !tbaa !5
  %341 = getelementptr inbounds %struct.ImDrawCmd, ptr %340, i32 0, i32 4
  %342 = load i32, ptr %341, align 8, !tbaa !59
  %343 = load ptr, ptr %36, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.ImDrawCmd, ptr %343, i32 0, i32 3
  %345 = load i32, ptr %344, align 4, !tbaa !60
  %346 = zext i32 %345 to i64
  %347 = mul i64 %346, 2
  %348 = inttoptr i64 %347 to ptr
  %349 = load ptr, ptr %36, align 8, !tbaa !5
  %350 = getelementptr inbounds %struct.ImDrawCmd, ptr %349, i32 0, i32 2
  %351 = load i32, ptr %350, align 8, !tbaa !61
  call void %339(i32 noundef 4, i32 noundef %342, i32 noundef 5123, ptr noundef %348, i32 noundef %351)
  br label %363

352:                                              ; preds = %306
  %353 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 24), align 8, !tbaa !20
  %354 = load ptr, ptr %36, align 8, !tbaa !5
  %355 = getelementptr inbounds %struct.ImDrawCmd, ptr %354, i32 0, i32 4
  %356 = load i32, ptr %355, align 8, !tbaa !59
  %357 = load ptr, ptr %36, align 8, !tbaa !5
  %358 = getelementptr inbounds %struct.ImDrawCmd, ptr %357, i32 0, i32 3
  %359 = load i32, ptr %358, align 4, !tbaa !60
  %360 = zext i32 %359 to i64
  %361 = mul i64 %360, 2
  %362 = inttoptr i64 %361 to ptr
  call void %353(i32 noundef 4, i32 noundef %356, i32 noundef 5123, ptr noundef %362)
  br label %363

363:                                              ; preds = %352, %338
  store i32 0, ptr %5, align 4
  br label %364

364:                                              ; preds = %363, %305
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  %365 = load i32, ptr %5, align 4
  switch i32 %365, label %368 [
    i32 0, label %366
  ]

366:                                              ; preds = %364
  br label %367

367:                                              ; preds = %366, %252
  store i32 0, ptr %5, align 4
  br label %368

368:                                              ; preds = %367, %364
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #5
  %369 = load i32, ptr %5, align 4
  switch i32 %369, label %516 [
    i32 0, label %370
    i32 7, label %371
  ]

370:                                              ; preds = %368
  br label %371

371:                                              ; preds = %370, %368
  %372 = load i32, ptr %35, align 4, !tbaa !17
  %373 = add nsw i32 %372, 1
  store i32 %373, ptr %35, align 4, !tbaa !17
  br label %219, !llvm.loop !62

374:                                              ; preds = %226
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  br label %375

375:                                              ; preds = %374
  %376 = load i32, ptr %31, align 4, !tbaa !17
  %377 = add nsw i32 %376, 1
  store i32 %377, ptr %31, align 4, !tbaa !17
  br label %135, !llvm.loop !64

378:                                              ; preds = %141
  %379 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 20), align 8, !tbaa !20
  call void %379(i32 noundef 1, ptr noundef %28)
  %380 = load i32, ptr %8, align 4, !tbaa !17
  %381 = icmp eq i32 %380, 0
  br i1 %381, label %387, label %382

382:                                              ; preds = %378
  %383 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 45), align 8, !tbaa !20
  %384 = load i32, ptr %8, align 4, !tbaa !17
  %385 = call noundef zeroext i8 %383(i32 noundef %384)
  %386 = icmp ne i8 %385, 0
  br i1 %386, label %387, label %390

387:                                              ; preds = %382, %378
  %388 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 56), align 8, !tbaa !20
  %389 = load i32, ptr %8, align 4, !tbaa !17
  call void %388(i32 noundef %389)
  br label %390

390:                                              ; preds = %387, %382
  %391 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 4), align 8, !tbaa !20
  %392 = load i32, ptr %9, align 4, !tbaa !17
  call void %391(i32 noundef 3553, i32 noundef %392)
  %393 = load ptr, ptr %6, align 8, !tbaa !5
  %394 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %393, i32 0, i32 0
  %395 = load i32, ptr %394, align 8, !tbaa !21
  %396 = icmp uge i32 %395, 330
  br i1 %396, label %402, label %397

397:                                              ; preds = %390
  %398 = load ptr, ptr %6, align 8, !tbaa !5
  %399 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %398, i32 0, i32 3
  %400 = load i8, ptr %399, align 1, !tbaa !24, !range !25, !noundef !26
  %401 = trunc i8 %400 to i1
  br i1 %401, label %402, label %405

402:                                              ; preds = %397, %390
  %403 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 3), align 8, !tbaa !20
  %404 = load i32, ptr %10, align 4, !tbaa !17
  call void %403(i32 noundef 0, i32 noundef %404)
  br label %405

405:                                              ; preds = %402, %397
  %406 = load ptr, ptr @imgl3wProcs, align 8, !tbaa !20
  %407 = load i32, ptr %7, align 4, !tbaa !17
  call void %406(i32 noundef %407)
  %408 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 5), align 8, !tbaa !20
  %409 = load i32, ptr %12, align 4, !tbaa !17
  call void %408(i32 noundef %409)
  %410 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 2), align 8, !tbaa !20
  %411 = load i32, ptr %11, align 4, !tbaa !17
  call void %410(i32 noundef 34962, i32 noundef %411)
  %412 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 7), align 8, !tbaa !20
  %413 = load i32, ptr %20, align 4, !tbaa !17
  %414 = load i32, ptr %21, align 4, !tbaa !17
  call void %412(i32 noundef %413, i32 noundef %414)
  %415 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 8), align 8, !tbaa !20
  %416 = load i32, ptr %16, align 4, !tbaa !17
  %417 = load i32, ptr %17, align 4, !tbaa !17
  %418 = load i32, ptr %18, align 4, !tbaa !17
  %419 = load i32, ptr %19, align 4, !tbaa !17
  call void %415(i32 noundef %416, i32 noundef %417, i32 noundef %418, i32 noundef %419)
  %420 = load i8, ptr %22, align 1, !tbaa !20
  %421 = icmp ne i8 %420, 0
  br i1 %421, label %422, label %424

422:                                              ; preds = %405
  %423 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 26), align 8, !tbaa !20
  call void %423(i32 noundef 3042)
  br label %426

424:                                              ; preds = %405
  %425 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 22), align 8, !tbaa !20
  call void %425(i32 noundef 3042)
  br label %426

426:                                              ; preds = %424, %422
  %427 = load i8, ptr %23, align 1, !tbaa !20
  %428 = icmp ne i8 %427, 0
  br i1 %428, label %429, label %431

429:                                              ; preds = %426
  %430 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 26), align 8, !tbaa !20
  call void %430(i32 noundef 2884)
  br label %433

431:                                              ; preds = %426
  %432 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 22), align 8, !tbaa !20
  call void %432(i32 noundef 2884)
  br label %433

433:                                              ; preds = %431, %429
  %434 = load i8, ptr %24, align 1, !tbaa !20
  %435 = icmp ne i8 %434, 0
  br i1 %435, label %436, label %438

436:                                              ; preds = %433
  %437 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 26), align 8, !tbaa !20
  call void %437(i32 noundef 2929)
  br label %440

438:                                              ; preds = %433
  %439 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 22), align 8, !tbaa !20
  call void %439(i32 noundef 2929)
  br label %440

440:                                              ; preds = %438, %436
  %441 = load i8, ptr %25, align 1, !tbaa !20
  %442 = icmp ne i8 %441, 0
  br i1 %442, label %443, label %445

443:                                              ; preds = %440
  %444 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 26), align 8, !tbaa !20
  call void %444(i32 noundef 2960)
  br label %447

445:                                              ; preds = %440
  %446 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 22), align 8, !tbaa !20
  call void %446(i32 noundef 2960)
  br label %447

447:                                              ; preds = %445, %443
  %448 = load i8, ptr %26, align 1, !tbaa !20
  %449 = icmp ne i8 %448, 0
  br i1 %449, label %450, label %452

450:                                              ; preds = %447
  %451 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 26), align 8, !tbaa !20
  call void %451(i32 noundef 3089)
  br label %454

452:                                              ; preds = %447
  %453 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 22), align 8, !tbaa !20
  call void %453(i32 noundef 3089)
  br label %454

454:                                              ; preds = %452, %450
  %455 = load ptr, ptr %6, align 8, !tbaa !5
  %456 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %455, i32 0, i32 0
  %457 = load i32, ptr %456, align 8, !tbaa !21
  %458 = icmp uge i32 %457, 310
  br i1 %458, label %459, label %467

459:                                              ; preds = %454
  %460 = load i8, ptr %27, align 1, !tbaa !20
  %461 = icmp ne i8 %460, 0
  br i1 %461, label %462, label %464

462:                                              ; preds = %459
  %463 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 26), align 8, !tbaa !20
  call void %463(i32 noundef 36765)
  br label %466

464:                                              ; preds = %459
  %465 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 22), align 8, !tbaa !20
  call void %465(i32 noundef 36765)
  br label %466

466:                                              ; preds = %464, %462
  br label %467

467:                                              ; preds = %466, %454
  %468 = load ptr, ptr %6, align 8, !tbaa !5
  %469 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %468, i32 0, i32 18
  %470 = load i8, ptr %469, align 8, !tbaa !27, !range !25, !noundef !26
  %471 = trunc i8 %470 to i1
  br i1 %471, label %472, label %494

472:                                              ; preds = %467
  %473 = load ptr, ptr %6, align 8, !tbaa !5
  %474 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %473, i32 0, i32 0
  %475 = load i32, ptr %474, align 8, !tbaa !21
  %476 = icmp ule i32 %475, 310
  br i1 %476, label %482, label %477

477:                                              ; preds = %472
  %478 = load ptr, ptr %6, align 8, !tbaa !5
  %479 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %478, i32 0, i32 4
  %480 = load i8, ptr %479, align 2, !tbaa !65, !range !25, !noundef !26
  %481 = trunc i8 %480 to i1
  br i1 %481, label %482, label %489

482:                                              ; preds = %477, %472
  %483 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 48), align 8, !tbaa !20
  %484 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 0
  %485 = load i32, ptr %484, align 4, !tbaa !17
  call void %483(i32 noundef 1028, i32 noundef %485)
  %486 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 48), align 8, !tbaa !20
  %487 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 1
  %488 = load i32, ptr %487, align 4, !tbaa !17
  call void %486(i32 noundef 1029, i32 noundef %488)
  br label %493

489:                                              ; preds = %477
  %490 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 48), align 8, !tbaa !20
  %491 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 0
  %492 = load i32, ptr %491, align 4, !tbaa !17
  call void %490(i32 noundef 1032, i32 noundef %492)
  br label %493

493:                                              ; preds = %489, %482
  br label %494

494:                                              ; preds = %493, %467
  %495 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 58), align 8, !tbaa !20
  %496 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 0
  %497 = load i32, ptr %496, align 16, !tbaa !17
  %498 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 1
  %499 = load i32, ptr %498, align 4, !tbaa !17
  %500 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 2
  %501 = load i32, ptr %500, align 8, !tbaa !17
  %502 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 3
  %503 = load i32, ptr %502, align 4, !tbaa !17
  call void %495(i32 noundef %497, i32 noundef %499, i32 noundef %501, i32 noundef %503)
  %504 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 50), align 8, !tbaa !20
  %505 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 0
  %506 = load i32, ptr %505, align 16, !tbaa !17
  %507 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 1
  %508 = load i32, ptr %507, align 4, !tbaa !17
  %509 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 2
  %510 = load i32, ptr %509, align 8, !tbaa !17
  %511 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 3
  %512 = load i32, ptr %511, align 4, !tbaa !17
  call void %504(i32 noundef %506, i32 noundef %508, i32 noundef %510, i32 noundef %512)
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  store i32 0, ptr %5, align 4
  br label %513

513:                                              ; preds = %494, %64
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  %514 = load i32, ptr %5, align 4
  switch i32 %514, label %516 [
    i32 0, label %515
    i32 1, label %515
  ]

515:                                              ; preds = %513, %513
  ret void

516:                                              ; preds = %513, %368
  unreachable
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL34ImGui_ImplOpenGL3_SetupRenderStateP10ImDrawDataiij(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP10ImDrawListEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #3 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK9ImDrawCmd8GetTexIDEv(ptr noundef nonnull align 8 dereferenceable(56)) #3 align 2

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 = { 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, !15, i64 40}
!10 = !{!"_ZTS10ImDrawData", !11, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !13, i64 16, !14, i64 32, !14, i64 40, !14, i64 48, !6, i64 56}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTS8ImVectorIP10ImDrawListE", !12, i64 0, !12, i64 4, !6, i64 8}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!10, !15, i64 48}
!17 = !{!12, !12, i64 0}
!18 = !{!10, !15, i64 44}
!19 = !{!10, !15, i64 52}
!20 = !{!7, !7, i64 0}
!21 = !{!22, !12, i64 0}
!22 = !{!"_ZTS22ImGui_ImplOpenGL3_Data", !12, i64 0, !7, i64 4, !11, i64 36, !11, i64 37, !11, i64 38, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !12, i64 76, !23, i64 80, !23, i64 88, !11, i64 96, !11, i64 97, !11, i64 98}
!23 = !{!"long", !7, i64 0}
!24 = !{!22, !11, i64 37}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!22, !11, i64 96}
!28 = !{i64 0, i64 4, !29, i64 4, i64 4, !29}
!29 = !{!15, !15, i64 0}
!30 = !{!10, !12, i64 4}
!31 = !{!32, !12, i64 32}
!32 = !{!"_ZTS10ImDrawList", !33, i64 0, !34, i64 16, !35, i64 32, !12, i64 48, !12, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !36, i64 80, !37, i64 96, !39, i64 128, !41, i64 152, !42, i64 168, !15, i64 184, !6, i64 192}
!33 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !12, i64 0, !12, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorItE", !12, i64 0, !12, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI10ImDrawVertE", !12, i64 0, !12, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorI6ImVec2E", !12, i64 0, !12, i64 4, !6, i64 8}
!37 = !{!"_ZTS15ImDrawCmdHeader", !38, i64 0, !6, i64 16, !12, i64 24}
!38 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!39 = !{!"_ZTS18ImDrawListSplitter", !12, i64 0, !12, i64 4, !40, i64 8}
!40 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !12, i64 0, !12, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI6ImVec4E", !12, i64 0, !12, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorIPvE", !12, i64 0, !12, i64 4, !6, i64 8}
!43 = !{!23, !23, i64 0}
!44 = !{!32, !12, i64 16}
!45 = !{!22, !11, i64 98}
!46 = !{!22, !23, i64 80}
!47 = !{!22, !23, i64 88}
!48 = !{!32, !6, i64 40}
!49 = !{!32, !6, i64 24}
!50 = !{!32, !12, i64 0}
!51 = !{!52, !6, i64 40}
!52 = !{!"_ZTS9ImDrawCmd", !38, i64 0, !6, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !6, i64 40, !6, i64 48}
!53 = !{!52, !15, i64 0}
!54 = !{!14, !15, i64 0}
!55 = !{!52, !15, i64 4}
!56 = !{!14, !15, i64 4}
!57 = !{!52, !15, i64 8}
!58 = !{!52, !15, i64 12}
!59 = !{!52, !12, i64 32}
!60 = !{!52, !12, i64 28}
!61 = !{!52, !12, i64 24}
!62 = distinct !{!62, !63}
!63 = !{!"llvm.loop.mustprogress"}
!64 = distinct !{!64, !63}
!65 = !{!22, !11, i64 38}


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

@imgl3wProcs = external dso_local local_unnamed_addr global %union.ImGL3WProcs, align 8

; 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 hidden noundef ptr @_ZL32ImGui_ImplOpenGL3_GetBackendDatav() local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z32ImGui_ImplOpenGL3_RenderDrawDataP10ImDrawData(ptr noundef %0) local_unnamed_addr #1 {
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca [2 x i32], align 4
  %9 = alloca [4 x i32], align 16
  %10 = alloca [4 x i32], align 16
  %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 i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca %struct.ImVec2, align 4
  %19 = alloca %struct.ImVec2, align 4
  %20 = getelementptr inbounds i8, ptr %0, i64 40
  %21 = getelementptr inbounds i8, ptr %0, i64 48
  %22 = getelementptr inbounds i8, ptr %0, i64 52
  %23 = load <2 x float>, ptr %20, align 8, !tbaa !5
  %24 = load <2 x float>, ptr %21, align 8, !tbaa !5
  %25 = fmul <2 x float> %23, %24
  %26 = fptosi <2 x float> %25 to <2 x i32>
  %27 = icmp slt <2 x i32> %26, <i32 1, i32 1>
  %28 = extractelement <2 x i1> %27, i64 0
  %29 = extractelement <2 x i1> %27, i64 1
  %or.cond = select i1 %28, i1 true, i1 %29
  br i1 %or.cond, label %279, label %30

30:                                               ; preds = %1
  %31 = tail call noundef ptr @_ZL32ImGui_ImplOpenGL3_GetBackendDatav()
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
  %32 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 272), align 8, !tbaa !9
  call void %32(i32 noundef 34016, ptr noundef nonnull %2)
  %33 = load ptr, ptr @imgl3wProcs, align 8, !tbaa !9
  call void %33(i32 noundef 33984)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  %34 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 272), align 8, !tbaa !9
  call void %34(i32 noundef 35725, ptr noundef nonnull %3)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  %35 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 272), align 8, !tbaa !9
  call void %35(i32 noundef 32873, ptr noundef nonnull %4)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  %36 = load i32, ptr %31, align 8, !tbaa !10
  %37 = icmp ugt i32 %36, 329
  br i1 %37, label %42, label %38

38:                                               ; preds = %30
  %39 = getelementptr inbounds i8, ptr %31, i64 37
  %40 = load i8, ptr %39, align 1, !tbaa !15, !range !16, !noundef !17
  %41 = trunc nuw i8 %40 to i1
  br i1 %41, label %42, label %44

42:                                               ; preds = %38, %30
  %43 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 272), align 8, !tbaa !9
  call void %43(i32 noundef 35097, ptr noundef nonnull %5)
  br label %45

44:                                               ; preds = %38
  store i32 0, ptr %5, align 4, !tbaa !18
  br label %45

45:                                               ; preds = %44, %42
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
  %46 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 272), align 8, !tbaa !9
  call void %46(i32 noundef 34964, ptr noundef nonnull %6)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4
  %47 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 272), align 8, !tbaa !9
  call void %47(i32 noundef 34229, ptr noundef nonnull %7)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  %48 = getelementptr inbounds i8, ptr %31, i64 96
  %49 = load i8, ptr %48, align 8, !tbaa !19, !range !16, !noundef !17
  %50 = trunc nuw i8 %49 to i1
  br i1 %50, label %51, label %53

51:                                               ; preds = %45
  %52 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 272), align 8, !tbaa !9
  call void %52(i32 noundef 2880, ptr noundef nonnull %8)
  br label %53

53:                                               ; preds = %51, %45
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #4
  %54 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 272), align 8, !tbaa !9
  call void %54(i32 noundef 2978, ptr noundef nonnull %9)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #4
  %55 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 272), align 8, !tbaa !9
  call void %55(i32 noundef 3088, ptr noundef nonnull %10)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #4
  %56 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 272), align 8, !tbaa !9
  call void %56(i32 noundef 32969, ptr noundef nonnull %11)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #4
  %57 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 272), align 8, !tbaa !9
  call void %57(i32 noundef 32968, ptr noundef nonnull %12)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #4
  %58 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 272), align 8, !tbaa !9
  call void %58(i32 noundef 32971, ptr noundef nonnull %13)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #4
  %59 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 272), align 8, !tbaa !9
  call void %59(i32 noundef 32970, ptr noundef nonnull %14)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #4
  %60 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 272), align 8, !tbaa !9
  call void %60(i32 noundef 32777, ptr noundef nonnull %15)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #4
  %61 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 272), align 8, !tbaa !9
  call void %61(i32 noundef 34877, ptr noundef nonnull %16)
  %62 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 352), align 8, !tbaa !9
  %63 = call noundef zeroext i8 %62(i32 noundef 3042)
  %64 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 352), align 8, !tbaa !9
  %65 = call noundef zeroext i8 %64(i32 noundef 2884)
  %66 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 352), align 8, !tbaa !9
  %67 = call noundef zeroext i8 %66(i32 noundef 2929)
  %68 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 352), align 8, !tbaa !9
  %69 = call noundef zeroext i8 %68(i32 noundef 2960)
  %70 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 352), align 8, !tbaa !9
  %71 = call noundef zeroext i8 %70(i32 noundef 3089)
  %72 = load i32, ptr %31, align 8, !tbaa !10
  %73 = icmp ugt i32 %72, 309
  br i1 %73, label %74, label %78

74:                                               ; preds = %53
  %75 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 352), align 8, !tbaa !9
  %76 = call noundef zeroext i8 %75(i32 noundef 36765)
  %77 = icmp eq i8 %76, 0
  br label %78

78:                                               ; preds = %53, %74
  %.not102 = phi i1 [ %77, %74 ], [ true, %53 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #4
  store i32 0, ptr %17, align 4, !tbaa !18
  %79 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 248), align 8, !tbaa !9
  call void %79(i32 noundef 1, ptr noundef nonnull %17)
  %80 = load i32, ptr %17, align 4, !tbaa !18
  %81 = extractelement <2 x i32> %26, i64 0
  %82 = extractelement <2 x i32> %26, i64 1
  call void @_ZL34ImGui_ImplOpenGL3_SetupRenderStateP10ImDrawDataiij(ptr noundef nonnull %0, i32 noundef %81, i32 noundef %82, i32 noundef %80)
  %83 = getelementptr inbounds i8, ptr %0, i64 32
  %.sroa.039.0.copyload = load float, ptr %83, align 8, !tbaa !5
  %.sroa.541.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 36
  %.sroa.541.0.copyload = load float, ptr %.sroa.541.0..sroa_idx, align 4, !tbaa !5
  %.sroa.0.0.copyload = load float, ptr %21, align 8, !tbaa !5
  %.sroa.5.0.copyload = load float, ptr %22, align 4, !tbaa !5
  %84 = getelementptr inbounds i8, ptr %0, i64 4
  %85 = load i32, ptr %84, align 4, !tbaa !20
  %86 = icmp sgt i32 %85, 0
  br i1 %86, label %.lr.ph107, label %._crit_edge108

.lr.ph107:                                        ; preds = %78
  %87 = getelementptr inbounds i8, ptr %0, i64 16
  %88 = getelementptr inbounds i8, ptr %31, i64 98
  %89 = getelementptr inbounds i8, ptr %31, i64 80
  %90 = getelementptr inbounds i8, ptr %31, i64 88
  %91 = getelementptr inbounds i8, ptr %19, i64 4
  %92 = getelementptr inbounds i8, ptr %18, i64 4
  %93 = uitofp nneg i32 %82 to float
  br label %97

._crit_edge108:                                   ; preds = %._crit_edge, %78
  %94 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 160), align 8, !tbaa !9
  call void %94(i32 noundef 1, ptr noundef nonnull %17)
  %95 = load i32, ptr %3, align 4, !tbaa !18
  %96 = icmp eq i32 %95, 0
  br i1 %96, label %205, label %202

97:                                               ; preds = %.lr.ph107, %._crit_edge
  %.086105 = phi i32 [ 0, %.lr.ph107 ], [ %137, %._crit_edge ]
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8ImVectorIP10ImDrawListEixEi(ptr noundef nonnull align 8 dereferenceable(16) %87, i32 noundef %.086105)
  %99 = load ptr, ptr %98, align 8, !tbaa !25
  %100 = getelementptr inbounds i8, ptr %99, i64 32
  %101 = load i32, ptr %100, align 8, !tbaa !26
  %102 = sext i32 %101 to i64
  %103 = mul nsw i64 %102, 20
  %104 = getelementptr inbounds i8, ptr %99, i64 16
  %105 = load i32, ptr %104, align 8, !tbaa !38
  %106 = sext i32 %105 to i64
  %107 = shl nsw i64 %106, 1
  %108 = load i8, ptr %88, align 2, !tbaa !39, !range !16, !noundef !17
  %109 = trunc nuw i8 %108 to i1
  br i1 %109, label %110, label %127

110:                                              ; preds = %97
  %111 = load i64, ptr %89, align 8, !tbaa !40
  %112 = icmp slt i64 %111, %103
  br i1 %112, label %113, label %115

113:                                              ; preds = %110
  store i64 %103, ptr %89, align 8, !tbaa !40
  %114 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 72), align 8, !tbaa !9
  call void %114(i32 noundef 34962, i64 noundef %103, ptr noundef null, i32 noundef 35040)
  br label %115

115:                                              ; preds = %113, %110
  %116 = load i64, ptr %90, align 8, !tbaa !41
  %117 = icmp slt i64 %116, %107
  br i1 %117, label %118, label %120

118:                                              ; preds = %115
  store i64 %107, ptr %90, align 8, !tbaa !41
  %119 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 72), align 8, !tbaa !9
  call void %119(i32 noundef 34963, i64 noundef %107, ptr noundef null, i32 noundef 35040)
  br label %120

120:                                              ; preds = %118, %115
  %121 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 80), align 8, !tbaa !9
  %122 = getelementptr inbounds i8, ptr %99, i64 40
  %123 = load ptr, ptr %122, align 8, !tbaa !42
  call void %121(i32 noundef 34962, i64 noundef 0, i64 noundef %103, ptr noundef %123)
  %124 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 80), align 8, !tbaa !9
  %125 = getelementptr inbounds i8, ptr %99, i64 24
  %126 = load ptr, ptr %125, align 8, !tbaa !43
  call void %124(i32 noundef 34963, i64 noundef 0, i64 noundef %107, ptr noundef %126)
  br label %134

127:                                              ; preds = %97
  %128 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 72), align 8, !tbaa !9
  %129 = getelementptr inbounds i8, ptr %99, i64 40
  %130 = load ptr, ptr %129, align 8, !tbaa !42
  call void %128(i32 noundef 34962, i64 noundef %103, ptr noundef %130, i32 noundef 35040)
  %131 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 72), align 8, !tbaa !9
  %132 = getelementptr inbounds i8, ptr %99, i64 24
  %133 = load ptr, ptr %132, align 8, !tbaa !43
  call void %131(i32 noundef 34963, i64 noundef %107, ptr noundef %133, i32 noundef 35040)
  br label %134

134:                                              ; preds = %127, %120
  %135 = load i32, ptr %99, align 8, !tbaa !44
  %136 = icmp sgt i32 %135, 0
  br i1 %136, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %198, %134
  %137 = add nuw nsw i32 %.086105, 1
  %138 = load i32, ptr %84, align 4, !tbaa !20
  %139 = icmp slt i32 %137, %138
  br i1 %139, label %97, label %._crit_edge108, !llvm.loop !45

.lr.ph:                                           ; preds = %134, %198
  %.085104 = phi i32 [ %199, %198 ], [ 0, %134 ]
  %140 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %99, i32 noundef %.085104)
  %141 = getelementptr inbounds i8, ptr %140, i64 40
  %142 = load ptr, ptr %141, align 8, !tbaa !47
  %magicptr = ptrtoint ptr %142 to i64
  switch i64 %magicptr, label %145 [
    i64 0, label %146
    i64 -8, label %143
  ]

143:                                              ; preds = %.lr.ph
  %144 = load i32, ptr %17, align 4, !tbaa !18
  call void @_ZL34ImGui_ImplOpenGL3_SetupRenderStateP10ImDrawDataiij(ptr noundef %0, i32 noundef %81, i32 noundef %82, i32 noundef %144)
  br label %198

145:                                              ; preds = %.lr.ph
  call void %142(ptr noundef nonnull %99, ptr noundef nonnull %140)
  br label %198

146:                                              ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #4
  %147 = load float, ptr %140, align 8, !tbaa !49
  %148 = fsub float %147, %.sroa.039.0.copyload
  %149 = fmul float %.sroa.0.0.copyload, %148
  %150 = getelementptr inbounds i8, ptr %140, i64 4
  %151 = load float, ptr %150, align 4, !tbaa !50
  %152 = fsub float %151, %.sroa.541.0.copyload
  %153 = fmul float %.sroa.5.0.copyload, %152
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %18, float noundef %149, float noundef %153)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #4
  %154 = getelementptr inbounds i8, ptr %140, i64 8
  %155 = load float, ptr %154, align 8, !tbaa !51
  %156 = fsub float %155, %.sroa.039.0.copyload
  %157 = fmul float %.sroa.0.0.copyload, %156
  %158 = getelementptr inbounds i8, ptr %140, i64 12
  %159 = load float, ptr %158, align 4, !tbaa !52
  %160 = fsub float %159, %.sroa.541.0.copyload
  %161 = fmul float %.sroa.5.0.copyload, %160
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef %157, float noundef %161)
  %162 = load float, ptr %19, align 4, !tbaa !53
  %163 = load float, ptr %18, align 4, !tbaa !53
  %164 = fcmp ugt float %162, %163
  br i1 %164, label %165, label %.critedge

165:                                              ; preds = %146
  %166 = load float, ptr %91, align 4, !tbaa !54
  %167 = load float, ptr %92, align 4, !tbaa !54
  %168 = fcmp ugt float %166, %167
  br i1 %168, label %169, label %.critedge

169:                                              ; preds = %165
  %170 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 400), align 8, !tbaa !9
  %171 = fptosi float %163 to i32
  %172 = fsub float %93, %166
  %173 = fptosi float %172 to i32
  %174 = fsub float %162, %163
  %175 = fptosi float %174 to i32
  %176 = fsub float %166, %167
  %177 = fptosi float %176 to i32
  call void %170(i32 noundef %171, i32 noundef %173, i32 noundef %175, i32 noundef %177)
  %178 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 32), align 8, !tbaa !9
  %179 = call noundef ptr @_ZNK9ImDrawCmd8GetTexIDEv(ptr noundef nonnull align 8 dereferenceable(56) %140)
  %180 = ptrtoint ptr %179 to i64
  %181 = trunc i64 %180 to i32
  call void %178(i32 noundef 3553, i32 noundef %181)
  %182 = load i32, ptr %31, align 8, !tbaa !10
  %183 = icmp ugt i32 %182, 319
  %184 = getelementptr inbounds i8, ptr %140, i64 32
  %185 = load i32, ptr %184, align 8, !tbaa !55
  %186 = getelementptr inbounds i8, ptr %140, i64 28
  %187 = load i32, ptr %186, align 4, !tbaa !56
  %188 = zext i32 %187 to i64
  %189 = shl nuw nsw i64 %188, 1
  %190 = inttoptr i64 %189 to ptr
  br i1 %183, label %191, label %195

191:                                              ; preds = %169
  %192 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 200), align 8, !tbaa !9
  %193 = getelementptr inbounds i8, ptr %140, i64 24
  %194 = load i32, ptr %193, align 8, !tbaa !57
  call void %192(i32 noundef 4, i32 noundef %185, i32 noundef 5123, ptr noundef %190, i32 noundef %194)
  br label %197

195:                                              ; preds = %169
  %196 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 192), align 8, !tbaa !9
  call void %196(i32 noundef 4, i32 noundef %185, i32 noundef 5123, ptr noundef %190)
  br label %197

197:                                              ; preds = %191, %195
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #4
  br label %198

.critedge:                                        ; preds = %146, %165
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #4
  br label %198

198:                                              ; preds = %145, %143, %197, %.critedge
  %199 = add nuw nsw i32 %.085104, 1
  %200 = load i32, ptr %99, align 8, !tbaa !44
  %201 = icmp slt i32 %199, %200
  br i1 %201, label %.lr.ph, label %._crit_edge, !llvm.loop !58

202:                                              ; preds = %._crit_edge108
  %203 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 360), align 8, !tbaa !9
  %204 = call noundef zeroext i8 %203(i32 noundef %95)
  %.not = icmp eq i8 %204, 0
  br i1 %.not, label %208, label %._crit_edge109

._crit_edge109:                                   ; preds = %202
  %.pre = load i32, ptr %3, align 4, !tbaa !18
  br label %205

205:                                              ; preds = %._crit_edge109, %._crit_edge108
  %206 = phi i32 [ %.pre, %._crit_edge109 ], [ 0, %._crit_edge108 ]
  %207 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 448), align 8, !tbaa !9
  call void %207(i32 noundef %206)
  br label %208

208:                                              ; preds = %205, %202
  %209 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 32), align 8, !tbaa !9
  %210 = load i32, ptr %4, align 4, !tbaa !18
  call void %209(i32 noundef 3553, i32 noundef %210)
  %211 = load i32, ptr %31, align 8, !tbaa !10
  %212 = icmp ugt i32 %211, 329
  br i1 %212, label %217, label %213

213:                                              ; preds = %208
  %214 = getelementptr inbounds i8, ptr %31, i64 37
  %215 = load i8, ptr %214, align 1, !tbaa !15, !range !16, !noundef !17
  %216 = trunc nuw i8 %215 to i1
  br i1 %216, label %217, label %220

217:                                              ; preds = %213, %208
  %218 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 24), align 8, !tbaa !9
  %219 = load i32, ptr %5, align 4, !tbaa !18
  call void %218(i32 noundef 0, i32 noundef %219)
  br label %220

220:                                              ; preds = %217, %213
  %221 = load ptr, ptr @imgl3wProcs, align 8, !tbaa !9
  %222 = load i32, ptr %2, align 4, !tbaa !18
  call void %221(i32 noundef %222)
  %223 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 40), align 8, !tbaa !9
  %224 = load i32, ptr %7, align 4, !tbaa !18
  call void %223(i32 noundef %224)
  %225 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 16), align 8, !tbaa !9
  %226 = load i32, ptr %6, align 4, !tbaa !18
  call void %225(i32 noundef 34962, i32 noundef %226)
  %227 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 56), align 8, !tbaa !9
  %228 = load i32, ptr %15, align 4, !tbaa !18
  %229 = load i32, ptr %16, align 4, !tbaa !18
  call void %227(i32 noundef %228, i32 noundef %229)
  %230 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 64), align 8, !tbaa !9
  %231 = load i32, ptr %11, align 4, !tbaa !18
  %232 = load i32, ptr %12, align 4, !tbaa !18
  %233 = load i32, ptr %13, align 4, !tbaa !18
  %234 = load i32, ptr %14, align 4, !tbaa !18
  call void %230(i32 noundef %231, i32 noundef %232, i32 noundef %233, i32 noundef %234)
  %.not97 = icmp eq i8 %63, 0
  %.val = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 176), align 8
  %.val117 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 208), align 8
  %235 = select i1 %.not97, ptr %.val, ptr %.val117
  call void %235(i32 noundef 3042)
  %.not98 = icmp eq i8 %65, 0
  %.val118 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 176), align 8
  %.val119 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 208), align 8
  %236 = select i1 %.not98, ptr %.val118, ptr %.val119
  call void %236(i32 noundef 2884)
  %.not99 = icmp eq i8 %67, 0
  %.val120 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 176), align 8
  %.val121 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 208), align 8
  %237 = select i1 %.not99, ptr %.val120, ptr %.val121
  call void %237(i32 noundef 2929)
  %.not100 = icmp eq i8 %69, 0
  %.val122 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 176), align 8
  %.val123 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 208), align 8
  %238 = select i1 %.not100, ptr %.val122, ptr %.val123
  call void %238(i32 noundef 2960)
  %.not101 = icmp eq i8 %71, 0
  %.val124 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 176), align 8
  %.val125 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 208), align 8
  %239 = select i1 %.not101, ptr %.val124, ptr %.val125
  call void %239(i32 noundef 3089)
  %240 = load i32, ptr %31, align 8, !tbaa !10
  %241 = icmp ugt i32 %240, 309
  br i1 %241, label %.sink.split, label %243

.sink.split:                                      ; preds = %220
  %.val126 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 176), align 8
  %.val127 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 208), align 8
  %242 = select i1 %.not102, ptr %.val126, ptr %.val127
  call void %242(i32 noundef 36765)
  br label %243

243:                                              ; preds = %.sink.split, %220
  %244 = load i8, ptr %48, align 8, !tbaa !19, !range !16, !noundef !17
  %245 = trunc nuw i8 %244 to i1
  br i1 %245, label %246, label %262

246:                                              ; preds = %243
  %247 = load i32, ptr %31, align 8, !tbaa !10
  %248 = icmp ult i32 %247, 311
  br i1 %248, label %253, label %249

249:                                              ; preds = %246
  %250 = getelementptr inbounds i8, ptr %31, i64 38
  %251 = load i8, ptr %250, align 2, !tbaa !59, !range !16, !noundef !17
  %252 = trunc nuw i8 %251 to i1
  br i1 %252, label %253, label %259

253:                                              ; preds = %249, %246
  %254 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 384), align 8, !tbaa !9
  %255 = load i32, ptr %8, align 4, !tbaa !18
  call void %254(i32 noundef 1028, i32 noundef %255)
  %256 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 384), align 8, !tbaa !9
  %257 = getelementptr inbounds i8, ptr %8, i64 4
  %258 = load i32, ptr %257, align 4, !tbaa !18
  call void %256(i32 noundef 1029, i32 noundef %258)
  br label %262

259:                                              ; preds = %249
  %260 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 384), align 8, !tbaa !9
  %261 = load i32, ptr %8, align 4, !tbaa !18
  call void %260(i32 noundef 1032, i32 noundef %261)
  br label %262

262:                                              ; preds = %253, %259, %243
  %263 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 464), align 8, !tbaa !9
  %264 = load i32, ptr %9, align 16, !tbaa !18
  %265 = getelementptr inbounds i8, ptr %9, i64 4
  %266 = load i32, ptr %265, align 4, !tbaa !18
  %267 = getelementptr inbounds i8, ptr %9, i64 8
  %268 = load i32, ptr %267, align 8, !tbaa !18
  %269 = getelementptr inbounds i8, ptr %9, i64 12
  %270 = load i32, ptr %269, align 4, !tbaa !18
  call void %263(i32 noundef %264, i32 noundef %266, i32 noundef %268, i32 noundef %270)
  %271 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 400), align 8, !tbaa !9
  %272 = load i32, ptr %10, align 16, !tbaa !18
  %273 = getelementptr inbounds i8, ptr %10, i64 4
  %274 = load i32, ptr %273, align 4, !tbaa !18
  %275 = getelementptr inbounds i8, ptr %10, i64 8
  %276 = load i32, ptr %275, align 8, !tbaa !18
  %277 = getelementptr inbounds i8, ptr %10, i64 12
  %278 = load i32, ptr %277, align 4, !tbaa !18
  call void %271(i32 noundef %272, i32 noundef %274, i32 noundef %276, i32 noundef %278)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
  br label %279

279:                                              ; preds = %1, %262
  ret void
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL34ImGui_ImplOpenGL3_SetupRenderStateP10ImDrawDataiij(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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

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

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

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

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 = { 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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!7, !7, i64 0}
!10 = !{!11, !12, i64 0}
!11 = !{!"_ZTS22ImGui_ImplOpenGL3_Data", !12, i64 0, !7, i64 4, !13, i64 36, !13, i64 37, !13, i64 38, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !12, i64 76, !14, i64 80, !14, i64 88, !13, i64 96, !13, i64 97, !13, i64 98}
!12 = !{!"int", !7, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!11, !13, i64 37}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = !{!12, !12, i64 0}
!19 = !{!11, !13, i64 96}
!20 = !{!21, !12, i64 4}
!21 = !{!"_ZTS10ImDrawData", !13, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !22, i64 16, !24, i64 32, !24, i64 40, !24, i64 48, !23, i64 56}
!22 = !{!"_ZTS8ImVectorIP10ImDrawListE", !12, i64 0, !12, i64 4, !23, i64 8}
!23 = !{!"any pointer", !7, i64 0}
!24 = !{!"_ZTS6ImVec2", !6, i64 0, !6, i64 4}
!25 = !{!23, !23, i64 0}
!26 = !{!27, !12, i64 32}
!27 = !{!"_ZTS10ImDrawList", !28, i64 0, !29, i64 16, !30, i64 32, !12, i64 48, !12, i64 52, !23, i64 56, !23, i64 64, !23, i64 72, !31, i64 80, !32, i64 96, !34, i64 128, !36, i64 152, !37, i64 168, !6, i64 184, !23, i64 192}
!28 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !12, i64 0, !12, i64 4, !23, i64 8}
!29 = !{!"_ZTS8ImVectorItE", !12, i64 0, !12, i64 4, !23, i64 8}
!30 = !{!"_ZTS8ImVectorI10ImDrawVertE", !12, i64 0, !12, i64 4, !23, i64 8}
!31 = !{!"_ZTS8ImVectorI6ImVec2E", !12, i64 0, !12, i64 4, !23, i64 8}
!32 = !{!"_ZTS15ImDrawCmdHeader", !33, i64 0, !23, i64 16, !12, i64 24}
!33 = !{!"_ZTS6ImVec4", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!34 = !{!"_ZTS18ImDrawListSplitter", !12, i64 0, !12, i64 4, !35, i64 8}
!35 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !12, i64 0, !12, i64 4, !23, i64 8}
!36 = !{!"_ZTS8ImVectorI6ImVec4E", !12, i64 0, !12, i64 4, !23, i64 8}
!37 = !{!"_ZTS8ImVectorIPvE", !12, i64 0, !12, i64 4, !23, i64 8}
!38 = !{!27, !12, i64 16}
!39 = !{!11, !13, i64 98}
!40 = !{!11, !14, i64 80}
!41 = !{!11, !14, i64 88}
!42 = !{!27, !23, i64 40}
!43 = !{!27, !23, i64 24}
!44 = !{!27, !12, i64 0}
!45 = distinct !{!45, !46}
!46 = !{!"llvm.loop.mustprogress"}
!47 = !{!48, !23, i64 40}
!48 = !{!"_ZTS9ImDrawCmd", !33, i64 0, !23, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !23, i64 40, !23, i64 48}
!49 = !{!48, !6, i64 0}
!50 = !{!48, !6, i64 4}
!51 = !{!48, !6, i64 8}
!52 = !{!48, !6, i64 12}
!53 = !{!24, !6, i64 0}
!54 = !{!24, !6, i64 4}
!55 = !{!48, !12, i64 32}
!56 = !{!48, !12, i64 28}
!57 = !{!48, !12, i64 24}
!58 = distinct !{!58, !46}
!59 = !{!11, !13, i64 38}


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