; LLVM IR from Devaniti/BoolkaEngine :: ThirdParty/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"

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

@_ZL11g_GlVersion = external hidden global i32, align 4
@__glewActiveTexture = external global ptr, align 8
@__glewGenVertexArrays = external global ptr, align 8
@__glewBufferData = external global ptr, align 8
@__glewDrawElementsBaseVertex = external global ptr, align 8
@__glewDeleteVertexArrays = external global ptr, align 8
@__glewUseProgram = external global ptr, align 8
@__glewBindSampler = external global ptr, align 8
@__glewBindVertexArray = external global ptr, align 8
@__glewBindBuffer = external global ptr, align 8
@__glewBlendEquationSeparate = external global ptr, align 8
@__glewBlendFuncSeparate = external global ptr, align 8

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

declare void @glGetIntegerv(i32 noundef, ptr noundef) #1

; 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
define dso_local void @_Z32ImGui_ImplOpenGL3_RenderDrawDataP10ImDrawData(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %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 i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca [2 x i32], align 4
  %13 = alloca [4 x i32], align 16
  %14 = alloca [4 x i32], align 16
  %15 = alloca i32, align 4
  %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 i8, align 1
  %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 i32, align 4
  %28 = alloca %struct.ImVec2, align 4
  %29 = alloca %struct.ImVec2, align 4
  %30 = alloca i32, align 4
  %31 = alloca ptr, align 8
  %32 = alloca i32, align 4
  %33 = alloca ptr, align 8
  %34 = alloca %struct.ImVec4, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  %35 = load ptr, ptr %2, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.ImDrawData, ptr %35, i32 0, i32 7
  %37 = getelementptr inbounds %struct.ImVec2, ptr %36, i32 0, i32 0
  %38 = load float, ptr %37, align 4, !tbaa !9
  %39 = load ptr, ptr %2, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.ImDrawData, ptr %39, i32 0, i32 8
  %41 = getelementptr inbounds %struct.ImVec2, ptr %40, i32 0, i32 0
  %42 = load float, ptr %41, align 4, !tbaa !15
  %43 = fmul float %38, %42
  %44 = fptosi float %43 to i32
  store i32 %44, ptr %3, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  %45 = load ptr, ptr %2, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.ImDrawData, ptr %45, i32 0, i32 7
  %47 = getelementptr inbounds %struct.ImVec2, ptr %46, i32 0, i32 1
  %48 = load float, ptr %47, align 4, !tbaa !17
  %49 = load ptr, ptr %2, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.ImDrawData, ptr %49, i32 0, i32 8
  %51 = getelementptr inbounds %struct.ImVec2, ptr %50, i32 0, i32 1
  %52 = load float, ptr %51, align 4, !tbaa !18
  %53 = fmul float %48, %52
  %54 = fptosi float %53 to i32
  store i32 %54, ptr %4, align 4, !tbaa !16
  %55 = load i32, ptr %3, align 4, !tbaa !16
  %56 = icmp sle i32 %55, 0
  br i1 %56, label %60, label %57

57:                                               ; preds = %1
  %58 = load i32, ptr %4, align 4, !tbaa !16
  %59 = icmp sle i32 %58, 0
  br i1 %59, label %60, label %61

60:                                               ; preds = %57, %1
  store i32 1, ptr %5, align 4
  br label %369

61:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  call void @glGetIntegerv(i32 noundef 34016, ptr noundef %6)
  %62 = load ptr, ptr @__glewActiveTexture, align 8, !tbaa !5
  call void %62(i32 noundef 33984)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  call void @glGetIntegerv(i32 noundef 35725, ptr noundef %7)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  call void @glGetIntegerv(i32 noundef 32873, ptr noundef %8)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  %63 = load i32, ptr @_ZL11g_GlVersion, align 4, !tbaa !16
  %64 = icmp uge i32 %63, 330
  br i1 %64, label %65, label %66

65:                                               ; preds = %61
  call void @glGetIntegerv(i32 noundef 35097, ptr noundef %9)
  br label %67

66:                                               ; preds = %61
  store i32 0, ptr %9, align 4, !tbaa !16
  br label %67

67:                                               ; preds = %66, %65
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  call void @glGetIntegerv(i32 noundef 34964, ptr noundef %10)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  call void @glGetIntegerv(i32 noundef 34229, ptr noundef %11)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %68 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 0
  call void @glGetIntegerv(i32 noundef 2880, ptr noundef %68)
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #6
  %69 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 0
  call void @glGetIntegerv(i32 noundef 2978, ptr noundef %69)
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  %70 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 0
  call void @glGetIntegerv(i32 noundef 3088, ptr noundef %70)
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  call void @glGetIntegerv(i32 noundef 32969, ptr noundef %15)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  call void @glGetIntegerv(i32 noundef 32968, ptr noundef %16)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  call void @glGetIntegerv(i32 noundef 32971, ptr noundef %17)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  call void @glGetIntegerv(i32 noundef 32970, ptr noundef %18)
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  call void @glGetIntegerv(i32 noundef 32777, ptr noundef %19)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  call void @glGetIntegerv(i32 noundef 34877, ptr noundef %20)
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #6
  %71 = call zeroext i8 @glIsEnabled(i32 noundef 3042)
  store i8 %71, ptr %21, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #6
  %72 = call zeroext i8 @glIsEnabled(i32 noundef 2884)
  store i8 %72, ptr %22, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #6
  %73 = call zeroext i8 @glIsEnabled(i32 noundef 2929)
  store i8 %73, ptr %23, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #6
  %74 = call zeroext i8 @glIsEnabled(i32 noundef 2960)
  store i8 %74, ptr %24, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #6
  %75 = call zeroext i8 @glIsEnabled(i32 noundef 3089)
  store i8 %75, ptr %25, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #6
  %76 = load i32, ptr @_ZL11g_GlVersion, align 4, !tbaa !16
  %77 = icmp uge i32 %76, 310
  br i1 %77, label %78, label %81

78:                                               ; preds = %67
  %79 = call zeroext i8 @glIsEnabled(i32 noundef 36765)
  %80 = zext i8 %79 to i32
  br label %82

81:                                               ; preds = %67
  br label %82

82:                                               ; preds = %81, %78
  %83 = phi i32 [ %80, %78 ], [ 0, %81 ]
  %84 = trunc i32 %83 to i8
  store i8 %84, ptr %26, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  store i32 0, ptr %27, align 4, !tbaa !16
  %85 = load ptr, ptr @__glewGenVertexArrays, align 8, !tbaa !5
  call void %85(i32 noundef 1, ptr noundef %27)
  %86 = load ptr, ptr %2, align 8, !tbaa !5
  %87 = load i32, ptr %3, align 4, !tbaa !16
  %88 = load i32, ptr %4, align 4, !tbaa !16
  %89 = load i32, ptr %27, align 4, !tbaa !16
  call void @_ZL34ImGui_ImplOpenGL3_SetupRenderStateP10ImDrawDataiij(ptr noundef %86, i32 noundef %87, i32 noundef %88, i32 noundef %89)
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %90 = load ptr, ptr %2, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.ImDrawData, ptr %90, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %91, i64 8, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %92 = load ptr, ptr %2, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.ImDrawData, ptr %92, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 4 %93, i64 8, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  store i32 0, ptr %30, align 4, !tbaa !16
  br label %94

94:                                               ; preds = %289, %82
  %95 = load i32, ptr %30, align 4, !tbaa !16
  %96 = load ptr, ptr %2, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.ImDrawData, ptr %96, i32 0, i32 3
  %98 = load i32, ptr %97, align 8, !tbaa !22
  %99 = icmp slt i32 %95, %98
  br i1 %99, label %101, label %100

100:                                              ; preds = %94
  store i32 2, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  br label %292

101:                                              ; preds = %94
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %102 = load ptr, ptr %2, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.ImDrawData, ptr %102, i32 0, i32 2
  %104 = load ptr, ptr %103, align 8, !tbaa !23
  %105 = load i32, ptr %30, align 4, !tbaa !16
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds ptr, ptr %104, i64 %106
  %108 = load ptr, ptr %107, align 8, !tbaa !5
  store ptr %108, ptr %31, align 8, !tbaa !5
  %109 = load ptr, ptr @__glewBufferData, align 8, !tbaa !5
  %110 = load ptr, ptr %31, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.ImDrawList, ptr %110, i32 0, i32 2
  %112 = getelementptr inbounds %struct.ImVector.1, ptr %111, i32 0, i32 0
  %113 = load i32, ptr %112, align 8, !tbaa !24
  %114 = sext i32 %113 to i64
  %115 = mul nsw i64 %114, 20
  %116 = load ptr, ptr %31, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.ImDrawList, ptr %116, i32 0, i32 2
  %118 = getelementptr inbounds %struct.ImVector.1, ptr %117, i32 0, i32 2
  %119 = load ptr, ptr %118, align 8, !tbaa !36
  call void %109(i32 noundef 34962, i64 noundef %115, ptr noundef %119, i32 noundef 35040)
  %120 = load ptr, ptr @__glewBufferData, align 8, !tbaa !5
  %121 = load ptr, ptr %31, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.ImDrawList, ptr %121, i32 0, i32 1
  %123 = getelementptr inbounds %struct.ImVector, ptr %122, i32 0, i32 0
  %124 = load i32, ptr %123, align 8, !tbaa !37
  %125 = sext i32 %124 to i64
  %126 = mul nsw i64 %125, 2
  %127 = load ptr, ptr %31, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.ImDrawList, ptr %127, i32 0, i32 1
  %129 = getelementptr inbounds %struct.ImVector, ptr %128, i32 0, i32 2
  %130 = load ptr, ptr %129, align 8, !tbaa !38
  call void %120(i32 noundef 34963, i64 noundef %126, ptr noundef %130, i32 noundef 35040)
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  store i32 0, ptr %32, align 4, !tbaa !16
  br label %131

131:                                              ; preds = %285, %101
  %132 = load i32, ptr %32, align 4, !tbaa !16
  %133 = load ptr, ptr %31, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.ImDrawList, ptr %133, i32 0, i32 0
  %135 = getelementptr inbounds %struct.ImVector.0, ptr %134, i32 0, i32 0
  %136 = load i32, ptr %135, align 8, !tbaa !39
  %137 = icmp slt i32 %132, %136
  br i1 %137, label %139, label %138

138:                                              ; preds = %131
  store i32 5, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  br label %288

139:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  %140 = load ptr, ptr %31, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.ImDrawList, ptr %140, i32 0, i32 0
  %142 = load i32, ptr %32, align 4, !tbaa !16
  %143 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %141, i32 noundef %142)
  store ptr %143, ptr %33, align 8, !tbaa !5
  %144 = load ptr, ptr %33, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.ImDrawCmd, ptr %144, i32 0, i32 5
  %146 = load ptr, ptr %145, align 8, !tbaa !40
  %147 = icmp ne ptr %146, null
  br i1 %147, label %148, label %165

148:                                              ; preds = %139
  %149 = load ptr, ptr %33, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.ImDrawCmd, ptr %149, i32 0, i32 5
  %151 = load ptr, ptr %150, align 8, !tbaa !40
  %152 = icmp eq ptr %151, inttoptr (i64 -1 to ptr)
  br i1 %152, label %153, label %158

153:                                              ; preds = %148
  %154 = load ptr, ptr %2, align 8, !tbaa !5
  %155 = load i32, ptr %3, align 4, !tbaa !16
  %156 = load i32, ptr %4, align 4, !tbaa !16
  %157 = load i32, ptr %27, align 4, !tbaa !16
  call void @_ZL34ImGui_ImplOpenGL3_SetupRenderStateP10ImDrawDataiij(ptr noundef %154, i32 noundef %155, i32 noundef %156, i32 noundef %157)
  br label %164

158:                                              ; preds = %148
  %159 = load ptr, ptr %33, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.ImDrawCmd, ptr %159, i32 0, i32 5
  %161 = load ptr, ptr %160, align 8, !tbaa !40
  %162 = load ptr, ptr %31, align 8, !tbaa !5
  %163 = load ptr, ptr %33, align 8, !tbaa !5
  call void %161(ptr noundef %162, ptr noundef %163)
  br label %164

164:                                              ; preds = %158, %153
  br label %284

165:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #6
  call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %34)
  %166 = load ptr, ptr %33, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.ImDrawCmd, ptr %166, i32 0, i32 0
  %168 = getelementptr inbounds %struct.ImVec4, ptr %167, i32 0, i32 0
  %169 = load float, ptr %168, align 8, !tbaa !42
  %170 = getelementptr inbounds %struct.ImVec2, ptr %28, i32 0, i32 0
  %171 = load float, ptr %170, align 4, !tbaa !43
  %172 = fsub float %169, %171
  %173 = getelementptr inbounds %struct.ImVec2, ptr %29, i32 0, i32 0
  %174 = load float, ptr %173, align 4, !tbaa !43
  %175 = fmul float %172, %174
  %176 = getelementptr inbounds %struct.ImVec4, ptr %34, i32 0, i32 0
  store float %175, ptr %176, align 4, !tbaa !44
  %177 = load ptr, ptr %33, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.ImDrawCmd, ptr %177, i32 0, i32 0
  %179 = getelementptr inbounds %struct.ImVec4, ptr %178, i32 0, i32 1
  %180 = load float, ptr %179, align 4, !tbaa !45
  %181 = getelementptr inbounds %struct.ImVec2, ptr %28, i32 0, i32 1
  %182 = load float, ptr %181, align 4, !tbaa !46
  %183 = fsub float %180, %182
  %184 = getelementptr inbounds %struct.ImVec2, ptr %29, i32 0, i32 1
  %185 = load float, ptr %184, align 4, !tbaa !46
  %186 = fmul float %183, %185
  %187 = getelementptr inbounds %struct.ImVec4, ptr %34, i32 0, i32 1
  store float %186, ptr %187, align 4, !tbaa !47
  %188 = load ptr, ptr %33, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.ImDrawCmd, ptr %188, i32 0, i32 0
  %190 = getelementptr inbounds %struct.ImVec4, ptr %189, i32 0, i32 2
  %191 = load float, ptr %190, align 8, !tbaa !48
  %192 = getelementptr inbounds %struct.ImVec2, ptr %28, i32 0, i32 0
  %193 = load float, ptr %192, align 4, !tbaa !43
  %194 = fsub float %191, %193
  %195 = getelementptr inbounds %struct.ImVec2, ptr %29, i32 0, i32 0
  %196 = load float, ptr %195, align 4, !tbaa !43
  %197 = fmul float %194, %196
  %198 = getelementptr inbounds %struct.ImVec4, ptr %34, i32 0, i32 2
  store float %197, ptr %198, align 4, !tbaa !49
  %199 = load ptr, ptr %33, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.ImDrawCmd, ptr %199, i32 0, i32 0
  %201 = getelementptr inbounds %struct.ImVec4, ptr %200, i32 0, i32 3
  %202 = load float, ptr %201, align 4, !tbaa !50
  %203 = getelementptr inbounds %struct.ImVec2, ptr %28, i32 0, i32 1
  %204 = load float, ptr %203, align 4, !tbaa !46
  %205 = fsub float %202, %204
  %206 = getelementptr inbounds %struct.ImVec2, ptr %29, i32 0, i32 1
  %207 = load float, ptr %206, align 4, !tbaa !46
  %208 = fmul float %205, %207
  %209 = getelementptr inbounds %struct.ImVec4, ptr %34, i32 0, i32 3
  store float %208, ptr %209, align 4, !tbaa !51
  %210 = getelementptr inbounds %struct.ImVec4, ptr %34, i32 0, i32 0
  %211 = load float, ptr %210, align 4, !tbaa !44
  %212 = load i32, ptr %3, align 4, !tbaa !16
  %213 = sitofp i32 %212 to float
  %214 = fcmp olt float %211, %213
  br i1 %214, label %215, label %283

215:                                              ; preds = %165
  %216 = getelementptr inbounds %struct.ImVec4, ptr %34, i32 0, i32 1
  %217 = load float, ptr %216, align 4, !tbaa !47
  %218 = load i32, ptr %4, align 4, !tbaa !16
  %219 = sitofp i32 %218 to float
  %220 = fcmp olt float %217, %219
  br i1 %220, label %221, label %283

221:                                              ; preds = %215
  %222 = getelementptr inbounds %struct.ImVec4, ptr %34, i32 0, i32 2
  %223 = load float, ptr %222, align 4, !tbaa !49
  %224 = fcmp oge float %223, 0.000000e+00
  br i1 %224, label %225, label %283

225:                                              ; preds = %221
  %226 = getelementptr inbounds %struct.ImVec4, ptr %34, i32 0, i32 3
  %227 = load float, ptr %226, align 4, !tbaa !51
  %228 = fcmp oge float %227, 0.000000e+00
  br i1 %228, label %229, label %283

229:                                              ; preds = %225
  %230 = getelementptr inbounds %struct.ImVec4, ptr %34, i32 0, i32 0
  %231 = load float, ptr %230, align 4, !tbaa !44
  %232 = fptosi float %231 to i32
  %233 = load i32, ptr %4, align 4, !tbaa !16
  %234 = sitofp i32 %233 to float
  %235 = getelementptr inbounds %struct.ImVec4, ptr %34, i32 0, i32 3
  %236 = load float, ptr %235, align 4, !tbaa !51
  %237 = fsub float %234, %236
  %238 = fptosi float %237 to i32
  %239 = getelementptr inbounds %struct.ImVec4, ptr %34, i32 0, i32 2
  %240 = load float, ptr %239, align 4, !tbaa !49
  %241 = getelementptr inbounds %struct.ImVec4, ptr %34, i32 0, i32 0
  %242 = load float, ptr %241, align 4, !tbaa !44
  %243 = fsub float %240, %242
  %244 = fptosi float %243 to i32
  %245 = getelementptr inbounds %struct.ImVec4, ptr %34, i32 0, i32 3
  %246 = load float, ptr %245, align 4, !tbaa !51
  %247 = getelementptr inbounds %struct.ImVec4, ptr %34, i32 0, i32 1
  %248 = load float, ptr %247, align 4, !tbaa !47
  %249 = fsub float %246, %248
  %250 = fptosi float %249 to i32
  call void @glScissor(i32 noundef %232, i32 noundef %238, i32 noundef %244, i32 noundef %250)
  %251 = load ptr, ptr %33, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.ImDrawCmd, ptr %251, i32 0, i32 1
  %253 = load ptr, ptr %252, align 8, !tbaa !52
  %254 = ptrtoint ptr %253 to i64
  %255 = trunc i64 %254 to i32
  call void @glBindTexture(i32 noundef 3553, i32 noundef %255)
  %256 = load i32, ptr @_ZL11g_GlVersion, align 4, !tbaa !16
  %257 = icmp uge i32 %256, 320
  br i1 %257, label %258, label %272

258:                                              ; preds = %229
  %259 = load ptr, ptr @__glewDrawElementsBaseVertex, align 8, !tbaa !5
  %260 = load ptr, ptr %33, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.ImDrawCmd, ptr %260, i32 0, i32 4
  %262 = load i32, ptr %261, align 8, !tbaa !53
  %263 = load ptr, ptr %33, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.ImDrawCmd, ptr %263, i32 0, i32 3
  %265 = load i32, ptr %264, align 4, !tbaa !54
  %266 = zext i32 %265 to i64
  %267 = mul i64 %266, 2
  %268 = inttoptr i64 %267 to ptr
  %269 = load ptr, ptr %33, align 8, !tbaa !5
  %270 = getelementptr inbounds %struct.ImDrawCmd, ptr %269, i32 0, i32 2
  %271 = load i32, ptr %270, align 8, !tbaa !55
  call void %259(i32 noundef 4, i32 noundef %262, i32 noundef 5123, ptr noundef %268, i32 noundef %271)
  br label %282

272:                                              ; preds = %229
  %273 = load ptr, ptr %33, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.ImDrawCmd, ptr %273, i32 0, i32 4
  %275 = load i32, ptr %274, align 8, !tbaa !53
  %276 = load ptr, ptr %33, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.ImDrawCmd, ptr %276, i32 0, i32 3
  %278 = load i32, ptr %277, align 4, !tbaa !54
  %279 = zext i32 %278 to i64
  %280 = mul i64 %279, 2
  %281 = inttoptr i64 %280 to ptr
  call void @glDrawElements(i32 noundef 4, i32 noundef %275, i32 noundef 5123, ptr noundef %281)
  br label %282

282:                                              ; preds = %272, %258
  br label %283

283:                                              ; preds = %282, %225, %221, %215, %165
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #6
  br label %284

284:                                              ; preds = %283, %164
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  br label %285

285:                                              ; preds = %284
  %286 = load i32, ptr %32, align 4, !tbaa !16
  %287 = add nsw i32 %286, 1
  store i32 %287, ptr %32, align 4, !tbaa !16
  br label %131, !llvm.loop !56

288:                                              ; preds = %138
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  br label %289

289:                                              ; preds = %288
  %290 = load i32, ptr %30, align 4, !tbaa !16
  %291 = add nsw i32 %290, 1
  store i32 %291, ptr %30, align 4, !tbaa !16
  br label %94, !llvm.loop !58

292:                                              ; preds = %100
  %293 = load ptr, ptr @__glewDeleteVertexArrays, align 8, !tbaa !5
  call void %293(i32 noundef 1, ptr noundef %27)
  %294 = load ptr, ptr @__glewUseProgram, align 8, !tbaa !5
  %295 = load i32, ptr %7, align 4, !tbaa !16
  call void %294(i32 noundef %295)
  %296 = load i32, ptr %8, align 4, !tbaa !16
  call void @glBindTexture(i32 noundef 3553, i32 noundef %296)
  %297 = load i32, ptr @_ZL11g_GlVersion, align 4, !tbaa !16
  %298 = icmp uge i32 %297, 330
  br i1 %298, label %299, label %302

299:                                              ; preds = %292
  %300 = load ptr, ptr @__glewBindSampler, align 8, !tbaa !5
  %301 = load i32, ptr %9, align 4, !tbaa !16
  call void %300(i32 noundef 0, i32 noundef %301)
  br label %302

302:                                              ; preds = %299, %292
  %303 = load ptr, ptr @__glewActiveTexture, align 8, !tbaa !5
  %304 = load i32, ptr %6, align 4, !tbaa !16
  call void %303(i32 noundef %304)
  %305 = load ptr, ptr @__glewBindVertexArray, align 8, !tbaa !5
  %306 = load i32, ptr %11, align 4, !tbaa !16
  call void %305(i32 noundef %306)
  %307 = load ptr, ptr @__glewBindBuffer, align 8, !tbaa !5
  %308 = load i32, ptr %10, align 4, !tbaa !16
  call void %307(i32 noundef 34962, i32 noundef %308)
  %309 = load ptr, ptr @__glewBlendEquationSeparate, align 8, !tbaa !5
  %310 = load i32, ptr %19, align 4, !tbaa !16
  %311 = load i32, ptr %20, align 4, !tbaa !16
  call void %309(i32 noundef %310, i32 noundef %311)
  %312 = load ptr, ptr @__glewBlendFuncSeparate, align 8, !tbaa !5
  %313 = load i32, ptr %15, align 4, !tbaa !16
  %314 = load i32, ptr %16, align 4, !tbaa !16
  %315 = load i32, ptr %17, align 4, !tbaa !16
  %316 = load i32, ptr %18, align 4, !tbaa !16
  call void %312(i32 noundef %313, i32 noundef %314, i32 noundef %315, i32 noundef %316)
  %317 = load i8, ptr %21, align 1, !tbaa !19
  %318 = icmp ne i8 %317, 0
  br i1 %318, label %319, label %320

319:                                              ; preds = %302
  call void @glEnable(i32 noundef 3042)
  br label %321

320:                                              ; preds = %302
  call void @glDisable(i32 noundef 3042)
  br label %321

321:                                              ; preds = %320, %319
  %322 = load i8, ptr %22, align 1, !tbaa !19
  %323 = icmp ne i8 %322, 0
  br i1 %323, label %324, label %325

324:                                              ; preds = %321
  call void @glEnable(i32 noundef 2884)
  br label %326

325:                                              ; preds = %321
  call void @glDisable(i32 noundef 2884)
  br label %326

326:                                              ; preds = %325, %324
  %327 = load i8, ptr %23, align 1, !tbaa !19
  %328 = icmp ne i8 %327, 0
  br i1 %328, label %329, label %330

329:                                              ; preds = %326
  call void @glEnable(i32 noundef 2929)
  br label %331

330:                                              ; preds = %326
  call void @glDisable(i32 noundef 2929)
  br label %331

331:                                              ; preds = %330, %329
  %332 = load i8, ptr %24, align 1, !tbaa !19
  %333 = icmp ne i8 %332, 0
  br i1 %333, label %334, label %335

334:                                              ; preds = %331
  call void @glEnable(i32 noundef 2960)
  br label %336

335:                                              ; preds = %331
  call void @glDisable(i32 noundef 2960)
  br label %336

336:                                              ; preds = %335, %334
  %337 = load i8, ptr %25, align 1, !tbaa !19
  %338 = icmp ne i8 %337, 0
  br i1 %338, label %339, label %340

339:                                              ; preds = %336
  call void @glEnable(i32 noundef 3089)
  br label %341

340:                                              ; preds = %336
  call void @glDisable(i32 noundef 3089)
  br label %341

341:                                              ; preds = %340, %339
  %342 = load i32, ptr @_ZL11g_GlVersion, align 4, !tbaa !16
  %343 = icmp uge i32 %342, 310
  br i1 %343, label %344, label %350

344:                                              ; preds = %341
  %345 = load i8, ptr %26, align 1, !tbaa !19
  %346 = icmp ne i8 %345, 0
  br i1 %346, label %347, label %348

347:                                              ; preds = %344
  call void @glEnable(i32 noundef 36765)
  br label %349

348:                                              ; preds = %344
  call void @glDisable(i32 noundef 36765)
  br label %349

349:                                              ; preds = %348, %347
  br label %350

350:                                              ; preds = %349, %341
  %351 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 0
  %352 = load i32, ptr %351, align 4, !tbaa !16
  call void @glPolygonMode(i32 noundef 1032, i32 noundef %352)
  %353 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 0
  %354 = load i32, ptr %353, align 16, !tbaa !16
  %355 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 1
  %356 = load i32, ptr %355, align 4, !tbaa !16
  %357 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 2
  %358 = load i32, ptr %357, align 8, !tbaa !16
  %359 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 3
  %360 = load i32, ptr %359, align 4, !tbaa !16
  call void @glViewport(i32 noundef %354, i32 noundef %356, i32 noundef %358, i32 noundef %360)
  %361 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 0
  %362 = load i32, ptr %361, align 16, !tbaa !16
  %363 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 1
  %364 = load i32, ptr %363, align 4, !tbaa !16
  %365 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 2
  %366 = load i32, ptr %365, align 8, !tbaa !16
  %367 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 3
  %368 = load i32, ptr %367, align 4, !tbaa !16
  call void @glScissor(i32 noundef %362, i32 noundef %364, i32 noundef %366, i32 noundef %368)
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  store i32 0, ptr %5, align 4
  br label %369

369:                                              ; preds = %350, %60
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  %370 = load i32, ptr %5, align 4
  switch i32 %370, label %372 [
    i32 0, label %371
    i32 1, label %371
  ]

371:                                              ; preds = %369, %369
  ret void

372:                                              ; preds = %369
  unreachable
}

declare zeroext i8 @glIsEnabled(i32 noundef) #1

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

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

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

declare void @glScissor(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

declare void @glBindTexture(i32 noundef, i32 noundef) #1

declare void @glDrawElements(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1

declare void @glEnable(i32 noundef) #1

declare void @glDisable(i32 noundef) #1

declare void @glPolygonMode(i32 noundef, i32 noundef) #1

declare void @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !14, i64 36}
!10 = !{!"_ZTS10ImDrawData", !11, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !13, i64 28, !13, i64 36, !13, i64 44}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !7, i64 0}
!15 = !{!10, !14, i64 44}
!16 = !{!12, !12, i64 0}
!17 = !{!10, !14, i64 40}
!18 = !{!10, !14, i64 48}
!19 = !{!7, !7, i64 0}
!20 = !{i64 0, i64 4, !21, i64 4, i64 4, !21}
!21 = !{!14, !14, i64 0}
!22 = !{!10, !12, i64 16}
!23 = !{!10, !6, i64 8}
!24 = !{!25, !12, i64 32}
!25 = !{!"_ZTS10ImDrawList", !26, i64 0, !27, i64 16, !28, i64 32, !12, i64 48, !12, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !29, i64 88, !30, i64 104, !31, i64 120, !32, i64 136, !34, i64 168, !14, i64 192}
!26 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !12, i64 0, !12, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorItE", !12, i64 0, !12, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorI10ImDrawVertE", !12, i64 0, !12, i64 4, !6, i64 8}
!29 = !{!"_ZTS8ImVectorI6ImVec4E", !12, i64 0, !12, i64 4, !6, i64 8}
!30 = !{!"_ZTS8ImVectorIPvE", !12, i64 0, !12, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorI6ImVec2E", !12, i64 0, !12, i64 4, !6, i64 8}
!32 = !{!"_ZTS15ImDrawCmdHeader", !33, i64 0, !6, i64 16, !12, i64 24}
!33 = !{!"_ZTS6ImVec4", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!34 = !{!"_ZTS18ImDrawListSplitter", !12, i64 0, !12, i64 4, !35, i64 8}
!35 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !12, i64 0, !12, i64 4, !6, i64 8}
!36 = !{!25, !6, i64 40}
!37 = !{!25, !12, i64 16}
!38 = !{!25, !6, i64 24}
!39 = !{!25, !12, i64 0}
!40 = !{!41, !6, i64 40}
!41 = !{!"_ZTS9ImDrawCmd", !33, i64 0, !6, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !6, i64 40, !6, i64 48}
!42 = !{!41, !14, i64 0}
!43 = !{!13, !14, i64 0}
!44 = !{!33, !14, i64 0}
!45 = !{!41, !14, i64 4}
!46 = !{!13, !14, i64 4}
!47 = !{!33, !14, i64 4}
!48 = !{!41, !14, i64 8}
!49 = !{!33, !14, i64 8}
!50 = !{!41, !14, i64 12}
!51 = !{!33, !14, i64 12}
!52 = !{!41, !6, i64 16}
!53 = !{!41, !12, i64 32}
!54 = !{!41, !12, i64 28}
!55 = !{!41, !12, i64 24}
!56 = distinct !{!56, !57}
!57 = !{!"llvm.loop.mustprogress"}
!58 = distinct !{!58, !57}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.ImVec4 = type { float, float, float, float }

@_ZL11g_GlVersion = external hidden local_unnamed_addr global i32, align 4
@__glewActiveTexture = external local_unnamed_addr global ptr, align 8
@__glewGenVertexArrays = external local_unnamed_addr global ptr, align 8
@__glewBufferData = external local_unnamed_addr global ptr, align 8
@__glewDrawElementsBaseVertex = external local_unnamed_addr global ptr, align 8
@__glewDeleteVertexArrays = external local_unnamed_addr global ptr, align 8
@__glewUseProgram = external local_unnamed_addr global ptr, align 8
@__glewBindSampler = external local_unnamed_addr global ptr, align 8
@__glewBindVertexArray = external local_unnamed_addr global ptr, align 8
@__glewBindBuffer = external local_unnamed_addr global ptr, align 8
@__glewBlendEquationSeparate = external local_unnamed_addr global ptr, align 8
@__glewBlendFuncSeparate = external local_unnamed_addr global ptr, align 8

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

declare void @glGetIntegerv(i32 noundef, ptr noundef) local_unnamed_addr #1

; 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
define dso_local void @_Z32ImGui_ImplOpenGL3_RenderDrawDataP10ImDrawData(ptr noundef %0) local_unnamed_addr #2 {
  %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.ImVec4, align 8
  %19 = getelementptr inbounds i8, ptr %0, i64 36
  %20 = getelementptr inbounds i8, ptr %0, i64 44
  %21 = load <2 x float>, ptr %19, align 4, !tbaa !5
  %22 = load <2 x float>, ptr %20, align 4, !tbaa !5
  %23 = fmul <2 x float> %21, %22
  %24 = fptosi <2 x float> %23 to <2 x i32>
  %25 = icmp slt <2 x i32> %24, <i32 1, i32 1>
  %26 = extractelement <2 x i1> %25, i64 0
  %27 = extractelement <2 x i1> %25, i64 1
  %or.cond = select i1 %26, i1 true, i1 %27
  br i1 %or.cond, label %205, label %28

28:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5
  call void @glGetIntegerv(i32 noundef 34016, ptr noundef nonnull %2)
  %29 = load ptr, ptr @__glewActiveTexture, align 8, !tbaa !9
  call void %29(i32 noundef 33984)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  call void @glGetIntegerv(i32 noundef 35725, ptr noundef nonnull %3)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  call void @glGetIntegerv(i32 noundef 32873, ptr noundef nonnull %4)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  %30 = load i32, ptr @_ZL11g_GlVersion, align 4, !tbaa !11
  %31 = icmp ugt i32 %30, 329
  br i1 %31, label %32, label %33

32:                                               ; preds = %28
  call void @glGetIntegerv(i32 noundef 35097, ptr noundef nonnull %5)
  br label %34

33:                                               ; preds = %28
  store i32 0, ptr %5, align 4, !tbaa !11
  br label %34

34:                                               ; preds = %33, %32
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  call void @glGetIntegerv(i32 noundef 34964, ptr noundef nonnull %6)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  call void @glGetIntegerv(i32 noundef 34229, ptr noundef nonnull %7)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  call void @glGetIntegerv(i32 noundef 2880, ptr noundef nonnull %8)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #5
  call void @glGetIntegerv(i32 noundef 2978, ptr noundef nonnull %9)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #5
  call void @glGetIntegerv(i32 noundef 3088, ptr noundef nonnull %10)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #5
  call void @glGetIntegerv(i32 noundef 32969, ptr noundef nonnull %11)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #5
  call void @glGetIntegerv(i32 noundef 32968, ptr noundef nonnull %12)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #5
  call void @glGetIntegerv(i32 noundef 32971, ptr noundef nonnull %13)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #5
  call void @glGetIntegerv(i32 noundef 32970, ptr noundef nonnull %14)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #5
  call void @glGetIntegerv(i32 noundef 32777, ptr noundef nonnull %15)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #5
  call void @glGetIntegerv(i32 noundef 34877, ptr noundef nonnull %16)
  %35 = call zeroext i8 @glIsEnabled(i32 noundef 3042)
  %36 = call zeroext i8 @glIsEnabled(i32 noundef 2884)
  %37 = call zeroext i8 @glIsEnabled(i32 noundef 2929)
  %38 = call zeroext i8 @glIsEnabled(i32 noundef 2960)
  %39 = call zeroext i8 @glIsEnabled(i32 noundef 3089)
  %40 = load i32, ptr @_ZL11g_GlVersion, align 4, !tbaa !11
  %41 = icmp ugt i32 %40, 309
  br i1 %41, label %42, label %45

42:                                               ; preds = %34
  %43 = call zeroext i8 @glIsEnabled(i32 noundef 36765)
  %44 = icmp eq i8 %43, 0
  br label %45

45:                                               ; preds = %34, %42
  %.not77 = phi i1 [ %44, %42 ], [ true, %34 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #5
  store i32 0, ptr %17, align 4, !tbaa !11
  %46 = load ptr, ptr @__glewGenVertexArrays, align 8, !tbaa !9
  call void %46(i32 noundef 1, ptr noundef nonnull %17)
  %47 = load i32, ptr %17, align 4, !tbaa !11
  %48 = extractelement <2 x i32> %24, i64 0
  %49 = extractelement <2 x i32> %24, i64 1
  call void @_ZL34ImGui_ImplOpenGL3_SetupRenderStateP10ImDrawDataiij(ptr noundef nonnull %0, i32 noundef %48, i32 noundef %49, i32 noundef %47)
  %50 = getelementptr inbounds i8, ptr %0, i64 28
  %51 = load <2 x float>, ptr %50, align 4, !tbaa !5
  %52 = load <2 x float>, ptr %20, align 4, !tbaa !5
  %53 = getelementptr inbounds i8, ptr %0, i64 16
  %54 = load i32, ptr %53, align 8, !tbaa !13
  %55 = icmp sgt i32 %54, 0
  br i1 %55, label %.lr.ph82, label %._crit_edge83

.lr.ph82:                                         ; preds = %45
  %56 = getelementptr inbounds i8, ptr %0, i64 8
  %57 = getelementptr inbounds i8, ptr %18, i64 8
  %58 = uitofp nneg i32 %48 to float
  %59 = uitofp nneg i32 %49 to float
  br label %66

._crit_edge83:                                    ; preds = %._crit_edge, %45
  %60 = load ptr, ptr @__glewDeleteVertexArrays, align 8, !tbaa !9
  call void %60(i32 noundef 1, ptr noundef nonnull %17)
  %61 = load ptr, ptr @__glewUseProgram, align 8, !tbaa !9
  %62 = load i32, ptr %3, align 4, !tbaa !11
  call void %61(i32 noundef %62)
  %63 = load i32, ptr %4, align 4, !tbaa !11
  call void @glBindTexture(i32 noundef 3553, i32 noundef %63)
  %64 = load i32, ptr @_ZL11g_GlVersion, align 4, !tbaa !11
  %65 = icmp ugt i32 %64, 329
  br i1 %65, label %151, label %154

66:                                               ; preds = %.lr.ph82, %._crit_edge
  %indvars.iv = phi i64 [ 0, %.lr.ph82 ], [ %indvars.iv.next, %._crit_edge ]
  %67 = load ptr, ptr %56, align 8, !tbaa !17
  %68 = getelementptr inbounds ptr, ptr %67, i64 %indvars.iv
  %69 = load ptr, ptr %68, align 8, !tbaa !9
  %70 = load ptr, ptr @__glewBufferData, align 8, !tbaa !9
  %71 = getelementptr inbounds i8, ptr %69, i64 32
  %72 = load i32, ptr %71, align 8, !tbaa !18
  %73 = sext i32 %72 to i64
  %74 = mul nsw i64 %73, 20
  %75 = getelementptr inbounds i8, ptr %69, i64 40
  %76 = load ptr, ptr %75, align 8, !tbaa !30
  call void %70(i32 noundef 34962, i64 noundef %74, ptr noundef %76, i32 noundef 35040)
  %77 = load ptr, ptr @__glewBufferData, align 8, !tbaa !9
  %78 = getelementptr inbounds i8, ptr %69, i64 16
  %79 = load i32, ptr %78, align 8, !tbaa !31
  %80 = sext i32 %79 to i64
  %81 = shl nsw i64 %80, 1
  %82 = getelementptr inbounds i8, ptr %69, i64 24
  %83 = load ptr, ptr %82, align 8, !tbaa !32
  call void %77(i32 noundef 34963, i64 noundef %81, ptr noundef %83, i32 noundef 35040)
  %84 = load i32, ptr %69, align 8, !tbaa !33
  %85 = icmp sgt i32 %84, 0
  br i1 %85, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %147, %66
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %86 = load i32, ptr %53, align 8, !tbaa !13
  %87 = sext i32 %86 to i64
  %88 = icmp slt i64 %indvars.iv.next, %87
  br i1 %88, label %66, label %._crit_edge83, !llvm.loop !34

.lr.ph:                                           ; preds = %66, %147
  %.079 = phi i32 [ %148, %147 ], [ 0, %66 ]
  %89 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %69, i32 noundef %.079)
  %90 = getelementptr inbounds i8, ptr %89, i64 40
  %91 = load ptr, ptr %90, align 8, !tbaa !36
  %magicptr = ptrtoint ptr %91 to i64
  switch i64 %magicptr, label %94 [
    i64 0, label %95
    i64 -1, label %92
  ]

92:                                               ; preds = %.lr.ph
  %93 = load i32, ptr %17, align 4, !tbaa !11
  call void @_ZL34ImGui_ImplOpenGL3_SetupRenderStateP10ImDrawDataiij(ptr noundef %0, i32 noundef %48, i32 noundef %49, i32 noundef %93)
  br label %147

94:                                               ; preds = %.lr.ph
  call void %91(ptr noundef nonnull %69, ptr noundef nonnull %89)
  br label %147

95:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #5
  call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %18)
  %96 = load <2 x float>, ptr %89, align 8, !tbaa !5
  %97 = fsub <2 x float> %96, %51
  %98 = fmul <2 x float> %52, %97
  store <2 x float> %98, ptr %18, align 8, !tbaa !5
  %99 = getelementptr inbounds i8, ptr %89, i64 8
  %100 = load <2 x float>, ptr %99, align 8, !tbaa !5
  %101 = fsub <2 x float> %100, %51
  %102 = fmul <2 x float> %52, %101
  store <2 x float> %102, ptr %57, align 8, !tbaa !5
  %103 = extractelement <2 x float> %98, i64 0
  %104 = fcmp olt float %103, %58
  br i1 %104, label %105, label %146

105:                                              ; preds = %95
  %106 = extractelement <2 x float> %98, i64 1
  %107 = fcmp olt float %106, %59
  %108 = fcmp oge <2 x float> %102, zeroinitializer
  %109 = extractelement <2 x i1> %108, i64 0
  %or.cond4 = select i1 %107, i1 %109, i1 false
  %110 = extractelement <2 x i1> %108, i64 1
  %or.cond7 = select i1 %or.cond4, i1 %110, i1 false
  br i1 %or.cond7, label %111, label %146

111:                                              ; preds = %105
  %112 = fptosi float %103 to i32
  %113 = extractelement <2 x float> %102, i64 1
  %114 = fsub float %59, %113
  %115 = fptosi float %114 to i32
  %116 = fsub <2 x float> %102, %98
  %117 = extractelement <2 x float> %116, i64 0
  %118 = fptosi float %117 to i32
  %119 = fsub float %113, %106
  %120 = fptosi float %119 to i32
  call void @glScissor(i32 noundef %112, i32 noundef %115, i32 noundef %118, i32 noundef %120)
  %121 = getelementptr inbounds i8, ptr %89, i64 16
  %122 = load ptr, ptr %121, align 8, !tbaa !38
  %123 = ptrtoint ptr %122 to i64
  %124 = trunc i64 %123 to i32
  call void @glBindTexture(i32 noundef 3553, i32 noundef %124)
  %125 = load i32, ptr @_ZL11g_GlVersion, align 4, !tbaa !11
  %126 = icmp ugt i32 %125, 319
  br i1 %126, label %127, label %138

127:                                              ; preds = %111
  %128 = load ptr, ptr @__glewDrawElementsBaseVertex, align 8, !tbaa !9
  %129 = getelementptr inbounds i8, ptr %89, i64 32
  %130 = load i32, ptr %129, align 8, !tbaa !39
  %131 = getelementptr inbounds i8, ptr %89, i64 28
  %132 = load i32, ptr %131, align 4, !tbaa !40
  %133 = zext i32 %132 to i64
  %134 = shl nuw nsw i64 %133, 1
  %135 = inttoptr i64 %134 to ptr
  %136 = getelementptr inbounds i8, ptr %89, i64 24
  %137 = load i32, ptr %136, align 8, !tbaa !41
  call void %128(i32 noundef 4, i32 noundef %130, i32 noundef 5123, ptr noundef %135, i32 noundef %137)
  br label %146

138:                                              ; preds = %111
  %139 = getelementptr inbounds i8, ptr %89, i64 32
  %140 = load i32, ptr %139, align 8, !tbaa !39
  %141 = getelementptr inbounds i8, ptr %89, i64 28
  %142 = load i32, ptr %141, align 4, !tbaa !40
  %143 = zext i32 %142 to i64
  %144 = shl nuw nsw i64 %143, 1
  %145 = inttoptr i64 %144 to ptr
  call void @glDrawElements(i32 noundef 4, i32 noundef %140, i32 noundef 5123, ptr noundef %145)
  br label %146

146:                                              ; preds = %127, %138, %105, %95
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #5
  br label %147

147:                                              ; preds = %92, %94, %146
  %148 = add nuw nsw i32 %.079, 1
  %149 = load i32, ptr %69, align 8, !tbaa !33
  %150 = icmp slt i32 %148, %149
  br i1 %150, label %.lr.ph, label %._crit_edge, !llvm.loop !42

151:                                              ; preds = %._crit_edge83
  %152 = load ptr, ptr @__glewBindSampler, align 8, !tbaa !9
  %153 = load i32, ptr %5, align 4, !tbaa !11
  call void %152(i32 noundef 0, i32 noundef %153)
  br label %154

154:                                              ; preds = %151, %._crit_edge83
  %155 = load ptr, ptr @__glewActiveTexture, align 8, !tbaa !9
  %156 = load i32, ptr %2, align 4, !tbaa !11
  call void %155(i32 noundef %156)
  %157 = load ptr, ptr @__glewBindVertexArray, align 8, !tbaa !9
  %158 = load i32, ptr %7, align 4, !tbaa !11
  call void %157(i32 noundef %158)
  %159 = load ptr, ptr @__glewBindBuffer, align 8, !tbaa !9
  %160 = load i32, ptr %6, align 4, !tbaa !11
  call void %159(i32 noundef 34962, i32 noundef %160)
  %161 = load ptr, ptr @__glewBlendEquationSeparate, align 8, !tbaa !9
  %162 = load i32, ptr %15, align 4, !tbaa !11
  %163 = load i32, ptr %16, align 4, !tbaa !11
  call void %161(i32 noundef %162, i32 noundef %163)
  %164 = load ptr, ptr @__glewBlendFuncSeparate, align 8, !tbaa !9
  %165 = load i32, ptr %11, align 4, !tbaa !11
  %166 = load i32, ptr %12, align 4, !tbaa !11
  %167 = load i32, ptr %13, align 4, !tbaa !11
  %168 = load i32, ptr %14, align 4, !tbaa !11
  call void %164(i32 noundef %165, i32 noundef %166, i32 noundef %167, i32 noundef %168)
  %.not = icmp eq i8 %35, 0
  br i1 %.not, label %170, label %169

169:                                              ; preds = %154
  call void @glEnable(i32 noundef 3042)
  br label %171

170:                                              ; preds = %154
  call void @glDisable(i32 noundef 3042)
  br label %171

171:                                              ; preds = %170, %169
  %.not73 = icmp eq i8 %36, 0
  br i1 %.not73, label %173, label %172

172:                                              ; preds = %171
  call void @glEnable(i32 noundef 2884)
  br label %174

173:                                              ; preds = %171
  call void @glDisable(i32 noundef 2884)
  br label %174

174:                                              ; preds = %173, %172
  %.not74 = icmp eq i8 %37, 0
  br i1 %.not74, label %176, label %175

175:                                              ; preds = %174
  call void @glEnable(i32 noundef 2929)
  br label %177

176:                                              ; preds = %174
  call void @glDisable(i32 noundef 2929)
  br label %177

177:                                              ; preds = %176, %175
  %.not75 = icmp eq i8 %38, 0
  br i1 %.not75, label %179, label %178

178:                                              ; preds = %177
  call void @glEnable(i32 noundef 2960)
  br label %180

179:                                              ; preds = %177
  call void @glDisable(i32 noundef 2960)
  br label %180

180:                                              ; preds = %179, %178
  %.not76 = icmp eq i8 %39, 0
  br i1 %.not76, label %182, label %181

181:                                              ; preds = %180
  call void @glEnable(i32 noundef 3089)
  br label %183

182:                                              ; preds = %180
  call void @glDisable(i32 noundef 3089)
  br label %183

183:                                              ; preds = %182, %181
  %184 = load i32, ptr @_ZL11g_GlVersion, align 4, !tbaa !11
  %185 = icmp ugt i32 %184, 309
  br i1 %185, label %186, label %189

186:                                              ; preds = %183
  br i1 %.not77, label %188, label %187

187:                                              ; preds = %186
  call void @glEnable(i32 noundef 36765)
  br label %189

188:                                              ; preds = %186
  call void @glDisable(i32 noundef 36765)
  br label %189

189:                                              ; preds = %187, %188, %183
  %190 = load i32, ptr %8, align 4, !tbaa !11
  call void @glPolygonMode(i32 noundef 1032, i32 noundef %190)
  %191 = load i32, ptr %9, align 16, !tbaa !11
  %192 = getelementptr inbounds i8, ptr %9, i64 4
  %193 = load i32, ptr %192, align 4, !tbaa !11
  %194 = getelementptr inbounds i8, ptr %9, i64 8
  %195 = load i32, ptr %194, align 8, !tbaa !11
  %196 = getelementptr inbounds i8, ptr %9, i64 12
  %197 = load i32, ptr %196, align 4, !tbaa !11
  call void @glViewport(i32 noundef %191, i32 noundef %193, i32 noundef %195, i32 noundef %197)
  %198 = load i32, ptr %10, align 16, !tbaa !11
  %199 = getelementptr inbounds i8, ptr %10, i64 4
  %200 = load i32, ptr %199, align 4, !tbaa !11
  %201 = getelementptr inbounds i8, ptr %10, i64 8
  %202 = load i32, ptr %201, align 8, !tbaa !11
  %203 = getelementptr inbounds i8, ptr %10, i64 12
  %204 = load i32, ptr %203, align 4, !tbaa !11
  call void @glScissor(i32 noundef %198, i32 noundef %200, i32 noundef %202, i32 noundef %204)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
  br label %205

205:                                              ; preds = %1, %189
  ret void
}

declare zeroext i8 @glIsEnabled(i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL34ImGui_ImplOpenGL3_SetupRenderStateP10ImDrawDataiij(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #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 #3 align 2

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

declare void @glScissor(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @glBindTexture(i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @glDrawElements(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

declare void @glEnable(i32 noundef) local_unnamed_addr #1

declare void @glDisable(i32 noundef) local_unnamed_addr #1

declare void @glPolygonMode(i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 #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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 16}
!14 = !{!"_ZTS10ImDrawData", !15, i64 0, !10, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !16, i64 28, !16, i64 36, !16, i64 44}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTS6ImVec2", !6, i64 0, !6, i64 4}
!17 = !{!14, !10, i64 8}
!18 = !{!19, !12, i64 32}
!19 = !{!"_ZTS10ImDrawList", !20, i64 0, !21, i64 16, !22, i64 32, !12, i64 48, !12, i64 52, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !23, i64 88, !24, i64 104, !25, i64 120, !26, i64 136, !28, i64 168, !6, i64 192}
!20 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !12, i64 0, !12, i64 4, !10, i64 8}
!21 = !{!"_ZTS8ImVectorItE", !12, i64 0, !12, i64 4, !10, i64 8}
!22 = !{!"_ZTS8ImVectorI10ImDrawVertE", !12, i64 0, !12, i64 4, !10, i64 8}
!23 = !{!"_ZTS8ImVectorI6ImVec4E", !12, i64 0, !12, i64 4, !10, i64 8}
!24 = !{!"_ZTS8ImVectorIPvE", !12, i64 0, !12, i64 4, !10, i64 8}
!25 = !{!"_ZTS8ImVectorI6ImVec2E", !12, i64 0, !12, i64 4, !10, i64 8}
!26 = !{!"_ZTS15ImDrawCmdHeader", !27, i64 0, !10, i64 16, !12, i64 24}
!27 = !{!"_ZTS6ImVec4", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!28 = !{!"_ZTS18ImDrawListSplitter", !12, i64 0, !12, i64 4, !29, i64 8}
!29 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !12, i64 0, !12, i64 4, !10, i64 8}
!30 = !{!19, !10, i64 40}
!31 = !{!19, !12, i64 16}
!32 = !{!19, !10, i64 24}
!33 = !{!19, !12, i64 0}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = !{!37, !10, i64 40}
!37 = !{!"_ZTS9ImDrawCmd", !27, i64 0, !10, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !10, i64 40, !10, i64 48}
!38 = !{!37, !10, i64 16}
!39 = !{!37, !12, i64 32}
!40 = !{!37, !12, i64 28}
!41 = !{!37, !12, i64 24}
!42 = distinct !{!42, !35}


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