; LLVM IR from theolundqvist/parallax-voxel-ray-marcher :: src/external/Dear ImGui (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.GL3WProcs = type { [52 x ptr] }
%struct.ImVec2 = type { float, float }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImDrawData = type { i8, i32, i32, i32, ptr, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2 }
%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 }
%struct.ImGui_ImplOpenGL3_Data = type <{ i32, [32 x i8], i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, [3 x i8] }>
%struct.ImDrawList = type <{ %struct.ImVector.1, %struct.ImVector, %struct.ImVector.2, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.3, %struct.ImVector.4, %struct.ImVector.5, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector = 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.ImVector.5 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.6 }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImDrawCmd = type { %struct.ImVec4, ptr, i32, i32, i32, ptr, ptr }

@gl3wProcs = external dso_local global %union.GL3WProcs, 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 i32, align 4
  %34 = alloca ptr, align 8
  %35 = alloca %struct.ImVec4, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  %36 = load ptr, ptr %2, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.ImDrawData, ptr %36, i32 0, i32 6
  %38 = getelementptr inbounds %struct.ImVec2, ptr %37, i32 0, i32 0
  %39 = load float, ptr %38, align 8, !tbaa !9
  %40 = load ptr, ptr %2, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.ImDrawData, ptr %40, i32 0, i32 7
  %42 = getelementptr inbounds %struct.ImVec2, ptr %41, i32 0, i32 0
  %43 = load float, ptr %42, align 8, !tbaa !15
  %44 = fmul float %39, %43
  %45 = fptosi float %44 to i32
  store i32 %45, ptr %3, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  %46 = load ptr, ptr %2, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.ImDrawData, ptr %46, i32 0, i32 6
  %48 = getelementptr inbounds %struct.ImVec2, ptr %47, i32 0, i32 1
  %49 = load float, ptr %48, align 4, !tbaa !17
  %50 = load ptr, ptr %2, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.ImDrawData, ptr %50, i32 0, i32 7
  %52 = getelementptr inbounds %struct.ImVec2, ptr %51, i32 0, i32 1
  %53 = load float, ptr %52, align 4, !tbaa !18
  %54 = fmul float %49, %53
  %55 = fptosi float %54 to i32
  store i32 %55, ptr %4, align 4, !tbaa !16
  %56 = load i32, ptr %3, align 4, !tbaa !16
  %57 = icmp sle i32 %56, 0
  br i1 %57, label %61, label %58

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

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

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

72:                                               ; preds = %62
  %73 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 30), align 8, !tbaa !19
  call void %73(i32 noundef 35097, ptr noundef %10)
  br label %75

74:                                               ; preds = %62
  store i32 0, ptr %10, align 4, !tbaa !16
  br label %75

75:                                               ; preds = %74, %72
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %76 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 30), align 8, !tbaa !19
  call void %76(i32 noundef 34964, ptr noundef %11)
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %77 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 30), align 8, !tbaa !19
  call void %77(i32 noundef 34229, ptr noundef %12)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %78 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 30), align 8, !tbaa !19
  %79 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 0
  call void %78(i32 noundef 2880, ptr noundef %79)
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #5
  %80 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 30), align 8, !tbaa !19
  %81 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 0
  call void %80(i32 noundef 2978, ptr noundef %81)
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  %82 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 30), align 8, !tbaa !19
  %83 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 0
  call void %82(i32 noundef 3088, ptr noundef %83)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %84 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 30), align 8, !tbaa !19
  call void %84(i32 noundef 32969, ptr noundef %16)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %85 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 30), align 8, !tbaa !19
  call void %85(i32 noundef 32968, ptr noundef %17)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %86 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 30), align 8, !tbaa !19
  call void %86(i32 noundef 32971, ptr noundef %18)
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %87 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 30), align 8, !tbaa !19
  call void %87(i32 noundef 32970, ptr noundef %19)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  %88 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 30), align 8, !tbaa !19
  call void %88(i32 noundef 32777, ptr noundef %20)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  %89 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 30), align 8, !tbaa !19
  call void %89(i32 noundef 34877, ptr noundef %21)
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #5
  %90 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 38), align 8, !tbaa !19
  %91 = call noundef zeroext i8 %90(i32 noundef 3042)
  store i8 %91, ptr %22, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #5
  %92 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 38), align 8, !tbaa !19
  %93 = call noundef zeroext i8 %92(i32 noundef 2884)
  store i8 %93, ptr %23, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #5
  %94 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 38), align 8, !tbaa !19
  %95 = call noundef zeroext i8 %94(i32 noundef 2929)
  store i8 %95, ptr %24, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #5
  %96 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 38), align 8, !tbaa !19
  %97 = call noundef zeroext i8 %96(i32 noundef 2960)
  store i8 %97, ptr %25, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #5
  %98 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 38), align 8, !tbaa !19
  %99 = call noundef zeroext i8 %98(i32 noundef 3089)
  store i8 %99, ptr %26, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #5
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %100, i32 0, i32 0
  %102 = load i32, ptr %101, align 4, !tbaa !20
  %103 = icmp uge i32 %102, 310
  br i1 %103, label %104, label %108

104:                                              ; preds = %75
  %105 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 38), align 8, !tbaa !19
  %106 = call noundef zeroext i8 %105(i32 noundef 36765)
  %107 = zext i8 %106 to i32
  br label %109

108:                                              ; preds = %75
  br label %109

109:                                              ; preds = %108, %104
  %110 = phi i32 [ %107, %104 ], [ 0, %108 ]
  %111 = trunc i32 %110 to i8
  store i8 %111, ptr %27, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  store i32 0, ptr %28, align 4, !tbaa !16
  %112 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 28), align 8, !tbaa !19
  call void %112(i32 noundef 1, ptr noundef %28)
  %113 = load ptr, ptr %2, align 8, !tbaa !5
  %114 = load i32, ptr %3, align 4, !tbaa !16
  %115 = load i32, ptr %4, align 4, !tbaa !16
  %116 = load i32, ptr %28, align 4, !tbaa !16
  call void @_ZL34ImGui_ImplOpenGL3_SetupRenderStateP10ImDrawDataiij(ptr noundef %113, i32 noundef %114, i32 noundef %115, i32 noundef %116)
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %117 = load ptr, ptr %2, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.ImDrawData, ptr %117, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 8 %118, i64 8, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %119 = load ptr, ptr %2, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.ImDrawData, ptr %119, i32 0, i32 7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 8 %120, i64 8, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  store i32 0, ptr %31, align 4, !tbaa !16
  br label %121

121:                                              ; preds = %320, %109
  %122 = load i32, ptr %31, align 4, !tbaa !16
  %123 = load ptr, ptr %2, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.ImDrawData, ptr %123, i32 0, i32 1
  %125 = load i32, ptr %124, align 4, !tbaa !24
  %126 = icmp slt i32 %122, %125
  br i1 %126, label %128, label %127

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

128:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  %129 = load ptr, ptr %2, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.ImDrawData, ptr %129, i32 0, i32 4
  %131 = load ptr, ptr %130, align 8, !tbaa !25
  %132 = load i32, ptr %31, align 4, !tbaa !16
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds ptr, ptr %131, i64 %133
  %135 = load ptr, ptr %134, align 8, !tbaa !5
  store ptr %135, ptr %32, align 8, !tbaa !5
  %136 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 9), align 8, !tbaa !19
  %137 = load ptr, ptr %32, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.ImDrawList, ptr %137, i32 0, i32 2
  %139 = getelementptr inbounds %struct.ImVector.2, ptr %138, i32 0, i32 0
  %140 = load i32, ptr %139, align 8, !tbaa !26
  %141 = sext i32 %140 to i64
  %142 = mul nsw i64 %141, 20
  %143 = load ptr, ptr %32, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.ImDrawList, ptr %143, i32 0, i32 2
  %145 = getelementptr inbounds %struct.ImVector.2, ptr %144, i32 0, i32 2
  %146 = load ptr, ptr %145, align 8, !tbaa !38
  call void %136(i32 noundef 34962, i64 noundef %142, ptr noundef %146, i32 noundef 35040)
  %147 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 9), align 8, !tbaa !19
  %148 = load ptr, ptr %32, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.ImDrawList, ptr %148, i32 0, i32 1
  %150 = getelementptr inbounds %struct.ImVector, ptr %149, i32 0, i32 0
  %151 = load i32, ptr %150, align 8, !tbaa !39
  %152 = sext i32 %151 to i64
  %153 = mul nsw i64 %152, 2
  %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 2
  %157 = load ptr, ptr %156, align 8, !tbaa !40
  call void %147(i32 noundef 34963, i64 noundef %153, ptr noundef %157, i32 noundef 35040)
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #5
  store i32 0, ptr %33, align 4, !tbaa !16
  br label %158

158:                                              ; preds = %316, %128
  %159 = load i32, ptr %33, align 4, !tbaa !16
  %160 = load ptr, ptr %32, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.ImDrawList, ptr %160, i32 0, i32 0
  %162 = getelementptr inbounds %struct.ImVector.1, ptr %161, i32 0, i32 0
  %163 = load i32, ptr %162, align 8, !tbaa !41
  %164 = icmp slt i32 %159, %163
  br i1 %164, label %166, label %165

165:                                              ; preds = %158
  store i32 5, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #5
  br label %319

166:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  %167 = load ptr, ptr %32, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.ImDrawList, ptr %167, i32 0, i32 0
  %169 = load i32, ptr %33, align 4, !tbaa !16
  %170 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %168, i32 noundef %169)
  store ptr %170, ptr %34, align 8, !tbaa !5
  %171 = load ptr, ptr %34, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.ImDrawCmd, ptr %171, i32 0, i32 5
  %173 = load ptr, ptr %172, align 8, !tbaa !42
  %174 = icmp ne ptr %173, null
  br i1 %174, label %175, label %192

175:                                              ; preds = %166
  %176 = load ptr, ptr %34, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.ImDrawCmd, ptr %176, i32 0, i32 5
  %178 = load ptr, ptr %177, align 8, !tbaa !42
  %179 = icmp eq ptr %178, inttoptr (i64 -1 to ptr)
  br i1 %179, label %180, label %185

180:                                              ; preds = %175
  %181 = load ptr, ptr %2, align 8, !tbaa !5
  %182 = load i32, ptr %3, align 4, !tbaa !16
  %183 = load i32, ptr %4, align 4, !tbaa !16
  %184 = load i32, ptr %28, align 4, !tbaa !16
  call void @_ZL34ImGui_ImplOpenGL3_SetupRenderStateP10ImDrawDataiij(ptr noundef %181, i32 noundef %182, i32 noundef %183, i32 noundef %184)
  br label %191

185:                                              ; preds = %175
  %186 = load ptr, ptr %34, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.ImDrawCmd, ptr %186, i32 0, i32 5
  %188 = load ptr, ptr %187, align 8, !tbaa !42
  %189 = load ptr, ptr %32, align 8, !tbaa !5
  %190 = load ptr, ptr %34, align 8, !tbaa !5
  call void %188(ptr noundef %189, ptr noundef %190)
  br label %191

191:                                              ; preds = %185, %180
  br label %315

192:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #5
  call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %35)
  %193 = load ptr, ptr %34, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.ImDrawCmd, ptr %193, i32 0, i32 0
  %195 = getelementptr inbounds %struct.ImVec4, ptr %194, i32 0, i32 0
  %196 = load float, ptr %195, align 8, !tbaa !44
  %197 = getelementptr inbounds %struct.ImVec2, ptr %29, i32 0, i32 0
  %198 = load float, ptr %197, align 4, !tbaa !45
  %199 = fsub float %196, %198
  %200 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 0
  %201 = load float, ptr %200, align 4, !tbaa !45
  %202 = fmul float %199, %201
  %203 = getelementptr inbounds %struct.ImVec4, ptr %35, i32 0, i32 0
  store float %202, ptr %203, align 4, !tbaa !46
  %204 = load ptr, ptr %34, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.ImDrawCmd, ptr %204, i32 0, i32 0
  %206 = getelementptr inbounds %struct.ImVec4, ptr %205, i32 0, i32 1
  %207 = load float, ptr %206, align 4, !tbaa !47
  %208 = getelementptr inbounds %struct.ImVec2, ptr %29, i32 0, i32 1
  %209 = load float, ptr %208, align 4, !tbaa !48
  %210 = fsub float %207, %209
  %211 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 1
  %212 = load float, ptr %211, align 4, !tbaa !48
  %213 = fmul float %210, %212
  %214 = getelementptr inbounds %struct.ImVec4, ptr %35, i32 0, i32 1
  store float %213, ptr %214, align 4, !tbaa !49
  %215 = load ptr, ptr %34, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.ImDrawCmd, ptr %215, i32 0, i32 0
  %217 = getelementptr inbounds %struct.ImVec4, ptr %216, i32 0, i32 2
  %218 = load float, ptr %217, align 8, !tbaa !50
  %219 = getelementptr inbounds %struct.ImVec2, ptr %29, i32 0, i32 0
  %220 = load float, ptr %219, align 4, !tbaa !45
  %221 = fsub float %218, %220
  %222 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 0
  %223 = load float, ptr %222, align 4, !tbaa !45
  %224 = fmul float %221, %223
  %225 = getelementptr inbounds %struct.ImVec4, ptr %35, i32 0, i32 2
  store float %224, ptr %225, align 4, !tbaa !51
  %226 = load ptr, ptr %34, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.ImDrawCmd, ptr %226, i32 0, i32 0
  %228 = getelementptr inbounds %struct.ImVec4, ptr %227, i32 0, i32 3
  %229 = load float, ptr %228, align 4, !tbaa !52
  %230 = getelementptr inbounds %struct.ImVec2, ptr %29, i32 0, i32 1
  %231 = load float, ptr %230, align 4, !tbaa !48
  %232 = fsub float %229, %231
  %233 = getelementptr inbounds %struct.ImVec2, ptr %30, i32 0, i32 1
  %234 = load float, ptr %233, align 4, !tbaa !48
  %235 = fmul float %232, %234
  %236 = getelementptr inbounds %struct.ImVec4, ptr %35, i32 0, i32 3
  store float %235, ptr %236, align 4, !tbaa !53
  %237 = getelementptr inbounds %struct.ImVec4, ptr %35, i32 0, i32 0
  %238 = load float, ptr %237, align 4, !tbaa !46
  %239 = load i32, ptr %3, align 4, !tbaa !16
  %240 = sitofp i32 %239 to float
  %241 = fcmp olt float %238, %240
  br i1 %241, label %242, label %314

242:                                              ; preds = %192
  %243 = getelementptr inbounds %struct.ImVec4, ptr %35, i32 0, i32 1
  %244 = load float, ptr %243, align 4, !tbaa !49
  %245 = load i32, ptr %4, align 4, !tbaa !16
  %246 = sitofp i32 %245 to float
  %247 = fcmp olt float %244, %246
  br i1 %247, label %248, label %314

248:                                              ; preds = %242
  %249 = getelementptr inbounds %struct.ImVec4, ptr %35, i32 0, i32 2
  %250 = load float, ptr %249, align 4, !tbaa !51
  %251 = fcmp oge float %250, 0.000000e+00
  br i1 %251, label %252, label %314

252:                                              ; preds = %248
  %253 = getelementptr inbounds %struct.ImVec4, ptr %35, i32 0, i32 3
  %254 = load float, ptr %253, align 4, !tbaa !53
  %255 = fcmp oge float %254, 0.000000e+00
  br i1 %255, label %256, label %314

256:                                              ; preds = %252
  %257 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 43), align 8, !tbaa !19
  %258 = getelementptr inbounds %struct.ImVec4, ptr %35, i32 0, i32 0
  %259 = load float, ptr %258, align 4, !tbaa !46
  %260 = fptosi float %259 to i32
  %261 = load i32, ptr %4, align 4, !tbaa !16
  %262 = sitofp i32 %261 to float
  %263 = getelementptr inbounds %struct.ImVec4, ptr %35, i32 0, i32 3
  %264 = load float, ptr %263, align 4, !tbaa !53
  %265 = fsub float %262, %264
  %266 = fptosi float %265 to i32
  %267 = getelementptr inbounds %struct.ImVec4, ptr %35, i32 0, i32 2
  %268 = load float, ptr %267, align 4, !tbaa !51
  %269 = getelementptr inbounds %struct.ImVec4, ptr %35, i32 0, i32 0
  %270 = load float, ptr %269, align 4, !tbaa !46
  %271 = fsub float %268, %270
  %272 = fptosi float %271 to i32
  %273 = getelementptr inbounds %struct.ImVec4, ptr %35, i32 0, i32 3
  %274 = load float, ptr %273, align 4, !tbaa !53
  %275 = getelementptr inbounds %struct.ImVec4, ptr %35, i32 0, i32 1
  %276 = load float, ptr %275, align 4, !tbaa !49
  %277 = fsub float %274, %276
  %278 = fptosi float %277 to i32
  call void %257(i32 noundef %260, i32 noundef %266, i32 noundef %272, i32 noundef %278)
  %279 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 4), align 8, !tbaa !19
  %280 = load ptr, ptr %34, align 8, !tbaa !5
  %281 = call noundef ptr @_ZNK9ImDrawCmd8GetTexIDEv(ptr noundef nonnull align 8 dereferenceable(56) %280)
  %282 = ptrtoint ptr %281 to i64
  %283 = trunc i64 %282 to i32
  call void %279(i32 noundef 3553, i32 noundef %283)
  %284 = load ptr, ptr %6, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %284, i32 0, i32 0
  %286 = load i32, ptr %285, align 4, !tbaa !20
  %287 = icmp uge i32 %286, 320
  br i1 %287, label %288, label %302

288:                                              ; preds = %256
  %289 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 23), align 8, !tbaa !19
  %290 = load ptr, ptr %34, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.ImDrawCmd, ptr %290, i32 0, i32 4
  %292 = load i32, ptr %291, align 8, !tbaa !54
  %293 = load ptr, ptr %34, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.ImDrawCmd, ptr %293, i32 0, i32 3
  %295 = load i32, ptr %294, align 4, !tbaa !55
  %296 = zext i32 %295 to i64
  %297 = mul i64 %296, 2
  %298 = inttoptr i64 %297 to ptr
  %299 = load ptr, ptr %34, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.ImDrawCmd, ptr %299, i32 0, i32 2
  %301 = load i32, ptr %300, align 8, !tbaa !56
  call void %289(i32 noundef 4, i32 noundef %292, i32 noundef 5123, ptr noundef %298, i32 noundef %301)
  br label %313

302:                                              ; preds = %256
  %303 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 22), align 8, !tbaa !19
  %304 = load ptr, ptr %34, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.ImDrawCmd, ptr %304, i32 0, i32 4
  %306 = load i32, ptr %305, align 8, !tbaa !54
  %307 = load ptr, ptr %34, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.ImDrawCmd, ptr %307, i32 0, i32 3
  %309 = load i32, ptr %308, align 4, !tbaa !55
  %310 = zext i32 %309 to i64
  %311 = mul i64 %310, 2
  %312 = inttoptr i64 %311 to ptr
  call void %303(i32 noundef 4, i32 noundef %306, i32 noundef 5123, ptr noundef %312)
  br label %313

313:                                              ; preds = %302, %288
  br label %314

314:                                              ; preds = %313, %252, %248, %242, %192
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #5
  br label %315

315:                                              ; preds = %314, %191
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  br label %316

316:                                              ; preds = %315
  %317 = load i32, ptr %33, align 4, !tbaa !16
  %318 = add nsw i32 %317, 1
  store i32 %318, ptr %33, align 4, !tbaa !16
  br label %158, !llvm.loop !57

319:                                              ; preds = %165
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  br label %320

320:                                              ; preds = %319
  %321 = load i32, ptr %31, align 4, !tbaa !16
  %322 = add nsw i32 %321, 1
  store i32 %322, ptr %31, align 4, !tbaa !16
  br label %121, !llvm.loop !59

323:                                              ; preds = %127
  %324 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 19), align 8, !tbaa !19
  call void %324(i32 noundef 1, ptr noundef %28)
  %325 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 49), align 8, !tbaa !19
  %326 = load i32, ptr %8, align 4, !tbaa !16
  call void %325(i32 noundef %326)
  %327 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 4), align 8, !tbaa !19
  %328 = load i32, ptr %9, align 4, !tbaa !16
  call void %327(i32 noundef 3553, i32 noundef %328)
  %329 = load ptr, ptr %6, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %329, i32 0, i32 0
  %331 = load i32, ptr %330, align 4, !tbaa !20
  %332 = icmp uge i32 %331, 330
  br i1 %332, label %333, label %336

333:                                              ; preds = %323
  %334 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 3), align 8, !tbaa !19
  %335 = load i32, ptr %10, align 4, !tbaa !16
  call void %334(i32 noundef 0, i32 noundef %335)
  br label %336

336:                                              ; preds = %333, %323
  %337 = load ptr, ptr @gl3wProcs, align 8, !tbaa !19
  %338 = load i32, ptr %7, align 4, !tbaa !16
  call void %337(i32 noundef %338)
  %339 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 5), align 8, !tbaa !19
  %340 = load i32, ptr %12, align 4, !tbaa !16
  call void %339(i32 noundef %340)
  %341 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 2), align 8, !tbaa !19
  %342 = load i32, ptr %11, align 4, !tbaa !16
  call void %341(i32 noundef 34962, i32 noundef %342)
  %343 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 7), align 8, !tbaa !19
  %344 = load i32, ptr %20, align 4, !tbaa !16
  %345 = load i32, ptr %21, align 4, !tbaa !16
  call void %343(i32 noundef %344, i32 noundef %345)
  %346 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 8), align 8, !tbaa !19
  %347 = load i32, ptr %16, align 4, !tbaa !16
  %348 = load i32, ptr %17, align 4, !tbaa !16
  %349 = load i32, ptr %18, align 4, !tbaa !16
  %350 = load i32, ptr %19, align 4, !tbaa !16
  call void %346(i32 noundef %347, i32 noundef %348, i32 noundef %349, i32 noundef %350)
  %351 = load i8, ptr %22, align 1, !tbaa !19
  %352 = icmp ne i8 %351, 0
  br i1 %352, label %353, label %355

353:                                              ; preds = %336
  %354 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 24), align 8, !tbaa !19
  call void %354(i32 noundef 3042)
  br label %357

355:                                              ; preds = %336
  %356 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 21), align 8, !tbaa !19
  call void %356(i32 noundef 3042)
  br label %357

357:                                              ; preds = %355, %353
  %358 = load i8, ptr %23, align 1, !tbaa !19
  %359 = icmp ne i8 %358, 0
  br i1 %359, label %360, label %362

360:                                              ; preds = %357
  %361 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 24), align 8, !tbaa !19
  call void %361(i32 noundef 2884)
  br label %364

362:                                              ; preds = %357
  %363 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 21), align 8, !tbaa !19
  call void %363(i32 noundef 2884)
  br label %364

364:                                              ; preds = %362, %360
  %365 = load i8, ptr %24, align 1, !tbaa !19
  %366 = icmp ne i8 %365, 0
  br i1 %366, label %367, label %369

367:                                              ; preds = %364
  %368 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 24), align 8, !tbaa !19
  call void %368(i32 noundef 2929)
  br label %371

369:                                              ; preds = %364
  %370 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 21), align 8, !tbaa !19
  call void %370(i32 noundef 2929)
  br label %371

371:                                              ; preds = %369, %367
  %372 = load i8, ptr %25, align 1, !tbaa !19
  %373 = icmp ne i8 %372, 0
  br i1 %373, label %374, label %376

374:                                              ; preds = %371
  %375 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 24), align 8, !tbaa !19
  call void %375(i32 noundef 2960)
  br label %378

376:                                              ; preds = %371
  %377 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 21), align 8, !tbaa !19
  call void %377(i32 noundef 2960)
  br label %378

378:                                              ; preds = %376, %374
  %379 = load i8, ptr %26, align 1, !tbaa !19
  %380 = icmp ne i8 %379, 0
  br i1 %380, label %381, label %383

381:                                              ; preds = %378
  %382 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 24), align 8, !tbaa !19
  call void %382(i32 noundef 3089)
  br label %385

383:                                              ; preds = %378
  %384 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 21), align 8, !tbaa !19
  call void %384(i32 noundef 3089)
  br label %385

385:                                              ; preds = %383, %381
  %386 = load ptr, ptr %6, align 8, !tbaa !5
  %387 = getelementptr inbounds %struct.ImGui_ImplOpenGL3_Data, ptr %386, i32 0, i32 0
  %388 = load i32, ptr %387, align 4, !tbaa !20
  %389 = icmp uge i32 %388, 310
  br i1 %389, label %390, label %398

390:                                              ; preds = %385
  %391 = load i8, ptr %27, align 1, !tbaa !19
  %392 = icmp ne i8 %391, 0
  br i1 %392, label %393, label %395

393:                                              ; preds = %390
  %394 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 24), align 8, !tbaa !19
  call void %394(i32 noundef 36765)
  br label %397

395:                                              ; preds = %390
  %396 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 21), align 8, !tbaa !19
  call void %396(i32 noundef 36765)
  br label %397

397:                                              ; preds = %395, %393
  br label %398

398:                                              ; preds = %397, %385
  %399 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 41), align 8, !tbaa !19
  %400 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 0
  %401 = load i32, ptr %400, align 4, !tbaa !16
  call void %399(i32 noundef 1032, i32 noundef %401)
  %402 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 51), align 8, !tbaa !19
  %403 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 0
  %404 = load i32, ptr %403, align 16, !tbaa !16
  %405 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 1
  %406 = load i32, ptr %405, align 4, !tbaa !16
  %407 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 2
  %408 = load i32, ptr %407, align 8, !tbaa !16
  %409 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 3
  %410 = load i32, ptr %409, align 4, !tbaa !16
  call void %402(i32 noundef %404, i32 noundef %406, i32 noundef %408, i32 noundef %410)
  %411 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @gl3wProcs, i32 0, i32 43), align 8, !tbaa !19
  %412 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 0
  %413 = load i32, ptr %412, align 16, !tbaa !16
  %414 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 1
  %415 = load i32, ptr %414, align 4, !tbaa !16
  %416 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 2
  %417 = load i32, ptr %416, align 8, !tbaa !16
  %418 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 3
  %419 = load i32, ptr %418, align 4, !tbaa !16
  call void %411(i32 noundef %413, i32 noundef %415, i32 noundef %417, i32 noundef %419)
  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 %420

420:                                              ; preds = %398, %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  %421 = load i32, ptr %5, align 4
  switch i32 %421, label %423 [
    i32 0, label %422
    i32 1, label %422
  ]

422:                                              ; preds = %420, %420
  ret void

423:                                              ; preds = %420
  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(56) ptr @_ZNK8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #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

; 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, !14, i64 32}
!10 = !{!"_ZTS10ImDrawData", !11, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !6, i64 16, !13, i64 24, !13, i64 32, !13, i64 40}
!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 40}
!16 = !{!12, !12, i64 0}
!17 = !{!10, !14, i64 36}
!18 = !{!10, !14, i64 44}
!19 = !{!7, !7, i64 0}
!20 = !{!21, !12, i64 0}
!21 = !{!"_ZTS22ImGui_ImplOpenGL3_Data", !12, i64 0, !7, i64 4, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !12, i64 68, !11, i64 72}
!22 = !{i64 0, i64 4, !23, i64 4, i64 4, !23}
!23 = !{!14, !14, i64 0}
!24 = !{!10, !12, i64 4}
!25 = !{!10, !6, i64 16}
!26 = !{!27, !12, i64 32}
!27 = !{!"_ZTS10ImDrawList", !28, i64 0, !29, i64 16, !30, i64 32, !12, i64 48, !12, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !31, i64 88, !32, i64 104, !33, i64 120, !34, i64 136, !36, i64 168, !14, i64 192}
!28 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !12, i64 0, !12, i64 4, !6, i64 8}
!29 = !{!"_ZTS8ImVectorItE", !12, i64 0, !12, i64 4, !6, i64 8}
!30 = !{!"_ZTS8ImVectorI10ImDrawVertE", !12, i64 0, !12, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorI6ImVec4E", !12, i64 0, !12, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorIPvE", !12, i64 0, !12, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorI6ImVec2E", !12, i64 0, !12, i64 4, !6, i64 8}
!34 = !{!"_ZTS15ImDrawCmdHeader", !35, i64 0, !6, i64 16, !12, i64 24}
!35 = !{!"_ZTS6ImVec4", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!36 = !{!"_ZTS18ImDrawListSplitter", !12, i64 0, !12, i64 4, !37, i64 8}
!37 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !12, i64 0, !12, i64 4, !6, i64 8}
!38 = !{!27, !6, i64 40}
!39 = !{!27, !12, i64 16}
!40 = !{!27, !6, i64 24}
!41 = !{!27, !12, i64 0}
!42 = !{!43, !6, i64 40}
!43 = !{!"_ZTS9ImDrawCmd", !35, i64 0, !6, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !6, i64 40, !6, i64 48}
!44 = !{!43, !14, i64 0}
!45 = !{!13, !14, i64 0}
!46 = !{!35, !14, i64 0}
!47 = !{!43, !14, i64 4}
!48 = !{!13, !14, i64 4}
!49 = !{!35, !14, i64 4}
!50 = !{!43, !14, i64 8}
!51 = !{!35, !14, i64 8}
!52 = !{!43, !14, i64 12}
!53 = !{!35, !14, i64 12}
!54 = !{!43, !12, i64 32}
!55 = !{!43, !12, i64 28}
!56 = !{!43, !12, i64 24}
!57 = distinct !{!57, !58}
!58 = !{!"llvm.loop.mustprogress"}
!59 = distinct !{!59, !58}


; 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.GL3WProcs = type { [52 x ptr] }
%struct.ImVec4 = type { float, float, float, float }

@gl3wProcs = external dso_local local_unnamed_addr global %union.GL3WProcs, 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.ImVec4, align 8
  %19 = getelementptr inbounds i8, ptr %0, i64 32
  %20 = getelementptr inbounds i8, ptr %0, i64 40
  %21 = load <2 x float>, ptr %19, align 8, !tbaa !5
  %22 = load <2 x float>, ptr %20, align 8, !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 %214, label %28

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

36:                                               ; preds = %28
  %37 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 240), align 8, !tbaa !9
  call void %37(i32 noundef 35097, ptr noundef nonnull %5)
  br label %39

38:                                               ; preds = %28
  store i32 0, ptr %5, align 4, !tbaa !14
  br label %39

39:                                               ; preds = %38, %36
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
  %40 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 240), align 8, !tbaa !9
  call void %40(i32 noundef 34964, ptr noundef nonnull %6)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4
  %41 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 240), align 8, !tbaa !9
  call void %41(i32 noundef 34229, ptr noundef nonnull %7)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  %42 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 240), align 8, !tbaa !9
  call void %42(i32 noundef 2880, ptr noundef nonnull %8)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #4
  %43 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 240), align 8, !tbaa !9
  call void %43(i32 noundef 2978, ptr noundef nonnull %9)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #4
  %44 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 240), align 8, !tbaa !9
  call void %44(i32 noundef 3088, ptr noundef nonnull %10)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #4
  %45 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 240), align 8, !tbaa !9
  call void %45(i32 noundef 32969, ptr noundef nonnull %11)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #4
  %46 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 240), align 8, !tbaa !9
  call void %46(i32 noundef 32968, ptr noundef nonnull %12)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #4
  %47 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 240), align 8, !tbaa !9
  call void %47(i32 noundef 32971, ptr noundef nonnull %13)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #4
  %48 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 240), align 8, !tbaa !9
  call void %48(i32 noundef 32970, ptr noundef nonnull %14)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #4
  %49 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 240), align 8, !tbaa !9
  call void %49(i32 noundef 32777, ptr noundef nonnull %15)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #4
  %50 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 240), align 8, !tbaa !9
  call void %50(i32 noundef 34877, ptr noundef nonnull %16)
  %51 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 304), align 8, !tbaa !9
  %52 = call noundef zeroext i8 %51(i32 noundef 3042)
  %53 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 304), align 8, !tbaa !9
  %54 = call noundef zeroext i8 %53(i32 noundef 2884)
  %55 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 304), align 8, !tbaa !9
  %56 = call noundef zeroext i8 %55(i32 noundef 2929)
  %57 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 304), align 8, !tbaa !9
  %58 = call noundef zeroext i8 %57(i32 noundef 2960)
  %59 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 304), align 8, !tbaa !9
  %60 = call noundef zeroext i8 %59(i32 noundef 3089)
  %61 = load i32, ptr %29, align 4, !tbaa !10
  %62 = icmp ugt i32 %61, 309
  br i1 %62, label %63, label %67

63:                                               ; preds = %39
  %64 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 304), align 8, !tbaa !9
  %65 = call noundef zeroext i8 %64(i32 noundef 36765)
  %66 = icmp eq i8 %65, 0
  br label %67

67:                                               ; preds = %39, %63
  %.not82 = phi i1 [ %66, %63 ], [ true, %39 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #4
  store i32 0, ptr %17, align 4, !tbaa !14
  %68 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 224), align 8, !tbaa !9
  call void %68(i32 noundef 1, ptr noundef nonnull %17)
  %69 = load i32, ptr %17, align 4, !tbaa !14
  %70 = extractelement <2 x i32> %24, i64 0
  %71 = extractelement <2 x i32> %24, i64 1
  call void @_ZL34ImGui_ImplOpenGL3_SetupRenderStateP10ImDrawDataiij(ptr noundef nonnull %0, i32 noundef %70, i32 noundef %71, i32 noundef %69)
  %72 = getelementptr inbounds i8, ptr %0, i64 24
  %73 = load <2 x float>, ptr %72, align 8, !tbaa !5
  %74 = load <2 x float>, ptr %20, align 8, !tbaa !5
  %75 = getelementptr inbounds i8, ptr %0, i64 4
  %76 = load i32, ptr %75, align 4, !tbaa !15
  %77 = icmp sgt i32 %76, 0
  br i1 %77, label %.lr.ph87, label %._crit_edge88

.lr.ph87:                                         ; preds = %67
  %78 = getelementptr inbounds i8, ptr %0, i64 16
  %79 = getelementptr inbounds i8, ptr %18, i64 8
  %80 = uitofp nneg i32 %70 to float
  %81 = uitofp nneg i32 %71 to float
  br label %89

._crit_edge88:                                    ; preds = %._crit_edge, %67
  %82 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 152), align 8, !tbaa !9
  call void %82(i32 noundef 1, ptr noundef nonnull %17)
  %83 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 392), align 8, !tbaa !9
  %84 = load i32, ptr %3, align 4, !tbaa !14
  call void %83(i32 noundef %84)
  %85 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 32), align 8, !tbaa !9
  %86 = load i32, ptr %4, align 4, !tbaa !14
  call void %85(i32 noundef 3553, i32 noundef %86)
  %87 = load i32, ptr %29, align 4, !tbaa !10
  %88 = icmp ugt i32 %87, 329
  br i1 %88, label %169, label %172

89:                                               ; preds = %.lr.ph87, %._crit_edge
  %indvars.iv = phi i64 [ 0, %.lr.ph87 ], [ %indvars.iv.next, %._crit_edge ]
  %90 = load ptr, ptr %78, align 8, !tbaa !19
  %91 = getelementptr inbounds ptr, ptr %90, i64 %indvars.iv
  %92 = load ptr, ptr %91, align 8, !tbaa !20
  %93 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 72), align 8, !tbaa !9
  %94 = getelementptr inbounds i8, ptr %92, i64 32
  %95 = load i32, ptr %94, align 8, !tbaa !21
  %96 = sext i32 %95 to i64
  %97 = mul nsw i64 %96, 20
  %98 = getelementptr inbounds i8, ptr %92, i64 40
  %99 = load ptr, ptr %98, align 8, !tbaa !33
  call void %93(i32 noundef 34962, i64 noundef %97, ptr noundef %99, i32 noundef 35040)
  %100 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 72), align 8, !tbaa !9
  %101 = getelementptr inbounds i8, ptr %92, i64 16
  %102 = load i32, ptr %101, align 8, !tbaa !34
  %103 = sext i32 %102 to i64
  %104 = shl nsw i64 %103, 1
  %105 = getelementptr inbounds i8, ptr %92, i64 24
  %106 = load ptr, ptr %105, align 8, !tbaa !35
  call void %100(i32 noundef 34963, i64 noundef %104, ptr noundef %106, i32 noundef 35040)
  %107 = load i32, ptr %92, align 8, !tbaa !36
  %108 = icmp sgt i32 %107, 0
  br i1 %108, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %165, %89
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %109 = load i32, ptr %75, align 4, !tbaa !15
  %110 = sext i32 %109 to i64
  %111 = icmp slt i64 %indvars.iv.next, %110
  br i1 %111, label %89, label %._crit_edge88, !llvm.loop !37

.lr.ph:                                           ; preds = %89, %165
  %.084 = phi i32 [ %166, %165 ], [ 0, %89 ]
  %112 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %92, i32 noundef %.084)
  %113 = getelementptr inbounds i8, ptr %112, i64 40
  %114 = load ptr, ptr %113, align 8, !tbaa !39
  %magicptr = ptrtoint ptr %114 to i64
  switch i64 %magicptr, label %117 [
    i64 0, label %118
    i64 -1, label %115
  ]

115:                                              ; preds = %.lr.ph
  %116 = load i32, ptr %17, align 4, !tbaa !14
  call void @_ZL34ImGui_ImplOpenGL3_SetupRenderStateP10ImDrawDataiij(ptr noundef %0, i32 noundef %70, i32 noundef %71, i32 noundef %116)
  br label %165

117:                                              ; preds = %.lr.ph
  call void %114(ptr noundef nonnull %92, ptr noundef nonnull %112)
  br label %165

118:                                              ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #4
  call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %18)
  %119 = load <2 x float>, ptr %112, align 8, !tbaa !5
  %120 = fsub <2 x float> %119, %73
  %121 = fmul <2 x float> %74, %120
  store <2 x float> %121, ptr %18, align 8, !tbaa !5
  %122 = getelementptr inbounds i8, ptr %112, i64 8
  %123 = load <2 x float>, ptr %122, align 8, !tbaa !5
  %124 = fsub <2 x float> %123, %73
  %125 = fmul <2 x float> %74, %124
  store <2 x float> %125, ptr %79, align 8, !tbaa !5
  %126 = extractelement <2 x float> %121, i64 0
  %127 = fcmp olt float %126, %80
  br i1 %127, label %128, label %164

128:                                              ; preds = %118
  %129 = extractelement <2 x float> %121, i64 1
  %130 = fcmp olt float %129, %81
  %131 = fcmp oge <2 x float> %125, zeroinitializer
  %132 = extractelement <2 x i1> %131, i64 0
  %or.cond4 = select i1 %130, i1 %132, i1 false
  %133 = extractelement <2 x i1> %131, i64 1
  %or.cond7 = select i1 %or.cond4, i1 %133, i1 false
  br i1 %or.cond7, label %134, label %164

134:                                              ; preds = %128
  %135 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 344), align 8, !tbaa !9
  %136 = fptosi float %126 to i32
  %137 = extractelement <2 x float> %125, i64 1
  %138 = fsub float %81, %137
  %139 = fptosi float %138 to i32
  %140 = fsub <2 x float> %125, %121
  %141 = extractelement <2 x float> %140, i64 0
  %142 = fptosi float %141 to i32
  %143 = fsub float %137, %129
  %144 = fptosi float %143 to i32
  call void %135(i32 noundef %136, i32 noundef %139, i32 noundef %142, i32 noundef %144)
  %145 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 32), align 8, !tbaa !9
  %146 = call noundef ptr @_ZNK9ImDrawCmd8GetTexIDEv(ptr noundef nonnull align 8 dereferenceable(56) %112)
  %147 = ptrtoint ptr %146 to i64
  %148 = trunc i64 %147 to i32
  call void %145(i32 noundef 3553, i32 noundef %148)
  %149 = load i32, ptr %29, align 4, !tbaa !10
  %150 = icmp ugt i32 %149, 319
  %151 = getelementptr inbounds i8, ptr %112, i64 32
  %152 = load i32, ptr %151, align 8, !tbaa !41
  %153 = getelementptr inbounds i8, ptr %112, i64 28
  %154 = load i32, ptr %153, align 4, !tbaa !42
  %155 = zext i32 %154 to i64
  %156 = shl nuw nsw i64 %155, 1
  %157 = inttoptr i64 %156 to ptr
  br i1 %150, label %158, label %162

158:                                              ; preds = %134
  %159 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 184), align 8, !tbaa !9
  %160 = getelementptr inbounds i8, ptr %112, i64 24
  %161 = load i32, ptr %160, align 8, !tbaa !43
  call void %159(i32 noundef 4, i32 noundef %152, i32 noundef 5123, ptr noundef %157, i32 noundef %161)
  br label %164

162:                                              ; preds = %134
  %163 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 176), align 8, !tbaa !9
  call void %163(i32 noundef 4, i32 noundef %152, i32 noundef 5123, ptr noundef %157)
  br label %164

164:                                              ; preds = %158, %162, %128, %118
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #4
  br label %165

165:                                              ; preds = %115, %117, %164
  %166 = add nuw nsw i32 %.084, 1
  %167 = load i32, ptr %92, align 8, !tbaa !36
  %168 = icmp slt i32 %166, %167
  br i1 %168, label %.lr.ph, label %._crit_edge, !llvm.loop !44

169:                                              ; preds = %._crit_edge88
  %170 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 24), align 8, !tbaa !9
  %171 = load i32, ptr %5, align 4, !tbaa !14
  call void %170(i32 noundef 0, i32 noundef %171)
  br label %172

172:                                              ; preds = %169, %._crit_edge88
  %173 = load ptr, ptr @gl3wProcs, align 8, !tbaa !9
  %174 = load i32, ptr %2, align 4, !tbaa !14
  call void %173(i32 noundef %174)
  %175 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 40), align 8, !tbaa !9
  %176 = load i32, ptr %7, align 4, !tbaa !14
  call void %175(i32 noundef %176)
  %177 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 16), align 8, !tbaa !9
  %178 = load i32, ptr %6, align 4, !tbaa !14
  call void %177(i32 noundef 34962, i32 noundef %178)
  %179 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 56), align 8, !tbaa !9
  %180 = load i32, ptr %15, align 4, !tbaa !14
  %181 = load i32, ptr %16, align 4, !tbaa !14
  call void %179(i32 noundef %180, i32 noundef %181)
  %182 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 64), align 8, !tbaa !9
  %183 = load i32, ptr %11, align 4, !tbaa !14
  %184 = load i32, ptr %12, align 4, !tbaa !14
  %185 = load i32, ptr %13, align 4, !tbaa !14
  %186 = load i32, ptr %14, align 4, !tbaa !14
  call void %182(i32 noundef %183, i32 noundef %184, i32 noundef %185, i32 noundef %186)
  %.not = icmp eq i8 %52, 0
  %.val = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 168), align 8
  %.val97 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 192), align 8
  %187 = select i1 %.not, ptr %.val, ptr %.val97
  call void %187(i32 noundef 3042)
  %.not78 = icmp eq i8 %54, 0
  %.val98 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 168), align 8
  %.val99 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 192), align 8
  %188 = select i1 %.not78, ptr %.val98, ptr %.val99
  call void %188(i32 noundef 2884)
  %.not79 = icmp eq i8 %56, 0
  %.val100 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 168), align 8
  %.val101 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 192), align 8
  %189 = select i1 %.not79, ptr %.val100, ptr %.val101
  call void %189(i32 noundef 2929)
  %.not80 = icmp eq i8 %58, 0
  %.val102 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 168), align 8
  %.val103 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 192), align 8
  %190 = select i1 %.not80, ptr %.val102, ptr %.val103
  call void %190(i32 noundef 2960)
  %.not81 = icmp eq i8 %60, 0
  %.val104 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 168), align 8
  %.val105 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 192), align 8
  %191 = select i1 %.not81, ptr %.val104, ptr %.val105
  call void %191(i32 noundef 3089)
  %192 = load i32, ptr %29, align 4, !tbaa !10
  %193 = icmp ugt i32 %192, 309
  br i1 %193, label %.sink.split, label %195

.sink.split:                                      ; preds = %172
  %.val106 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 168), align 8
  %.val107 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 192), align 8
  %194 = select i1 %.not82, ptr %.val106, ptr %.val107
  call void %194(i32 noundef 36765)
  br label %195

195:                                              ; preds = %.sink.split, %172
  %196 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 328), align 8, !tbaa !9
  %197 = load i32, ptr %8, align 4, !tbaa !14
  call void %196(i32 noundef 1032, i32 noundef %197)
  %198 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 408), align 8, !tbaa !9
  %199 = load i32, ptr %9, align 16, !tbaa !14
  %200 = getelementptr inbounds i8, ptr %9, i64 4
  %201 = load i32, ptr %200, align 4, !tbaa !14
  %202 = getelementptr inbounds i8, ptr %9, i64 8
  %203 = load i32, ptr %202, align 8, !tbaa !14
  %204 = getelementptr inbounds i8, ptr %9, i64 12
  %205 = load i32, ptr %204, align 4, !tbaa !14
  call void %198(i32 noundef %199, i32 noundef %201, i32 noundef %203, i32 noundef %205)
  %206 = load ptr, ptr getelementptr inbounds (i8, ptr @gl3wProcs, i64 344), align 8, !tbaa !9
  %207 = load i32, ptr %10, align 16, !tbaa !14
  %208 = getelementptr inbounds i8, ptr %10, i64 4
  %209 = load i32, ptr %208, align 4, !tbaa !14
  %210 = getelementptr inbounds i8, ptr %10, i64 8
  %211 = load i32, ptr %210, align 8, !tbaa !14
  %212 = getelementptr inbounds i8, ptr %10, i64 12
  %213 = load i32, ptr %212, align 4, !tbaa !14
  call void %206(i32 noundef %207, i32 noundef %209, i32 noundef %211, i32 noundef %213)
  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 %214

214:                                              ; preds = %1, %195
  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(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 @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16)) 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, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !12, i64 68, !13, i64 72}
!12 = !{!"int", !7, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!16, !12, i64 4}
!16 = !{!"_ZTS10ImDrawData", !13, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !17, i64 16, !18, i64 24, !18, i64 32, !18, i64 40}
!17 = !{!"any pointer", !7, i64 0}
!18 = !{!"_ZTS6ImVec2", !6, i64 0, !6, i64 4}
!19 = !{!16, !17, i64 16}
!20 = !{!17, !17, i64 0}
!21 = !{!22, !12, i64 32}
!22 = !{!"_ZTS10ImDrawList", !23, i64 0, !24, i64 16, !25, i64 32, !12, i64 48, !12, i64 52, !17, i64 56, !17, i64 64, !17, i64 72, !17, i64 80, !26, i64 88, !27, i64 104, !28, i64 120, !29, i64 136, !31, i64 168, !6, i64 192}
!23 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !12, i64 0, !12, i64 4, !17, i64 8}
!24 = !{!"_ZTS8ImVectorItE", !12, i64 0, !12, i64 4, !17, i64 8}
!25 = !{!"_ZTS8ImVectorI10ImDrawVertE", !12, i64 0, !12, i64 4, !17, i64 8}
!26 = !{!"_ZTS8ImVectorI6ImVec4E", !12, i64 0, !12, i64 4, !17, i64 8}
!27 = !{!"_ZTS8ImVectorIPvE", !12, i64 0, !12, i64 4, !17, i64 8}
!28 = !{!"_ZTS8ImVectorI6ImVec2E", !12, i64 0, !12, i64 4, !17, i64 8}
!29 = !{!"_ZTS15ImDrawCmdHeader", !30, i64 0, !17, i64 16, !12, i64 24}
!30 = !{!"_ZTS6ImVec4", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!31 = !{!"_ZTS18ImDrawListSplitter", !12, i64 0, !12, i64 4, !32, i64 8}
!32 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !12, i64 0, !12, i64 4, !17, i64 8}
!33 = !{!22, !17, i64 40}
!34 = !{!22, !12, i64 16}
!35 = !{!22, !17, i64 24}
!36 = !{!22, !12, i64 0}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!40, !17, i64 40}
!40 = !{!"_ZTS9ImDrawCmd", !30, i64 0, !17, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !17, i64 40, !17, i64 48}
!41 = !{!40, !12, i64 32}
!42 = !{!40, !12, i64 28}
!43 = !{!40, !12, i64 24}
!44 = distinct !{!44, !38}


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