; LLVM IR from xhub/reshop :: gui/external/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.ImGL3WProcs = type { [59 x ptr] }
%struct.ImVec2 = type { float, float }
%struct.ImDrawData = type { i8, i32, i32, i32, %struct.ImVector.1, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.anon.0 = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.ImGui_ImplOpenGL3_Data = type <{ i32, [32 x i8], i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i8, i8, i8, [5 x i8] }>
%struct.ImDrawList = type { %struct.ImVector.2, %struct.ImVector, %struct.ImVector.3, i32, i32, ptr, ptr, ptr, %struct.ImVector.4, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, float, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, i64, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.5 }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImDrawCmd = type { %struct.ImVec4, i64, i32, i32, i32, ptr, ptr, i32, i32 }

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL32ImGui_ImplOpenGL3_GetBackendDatav() #1

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

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

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

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

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

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

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

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

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

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

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

122:                                              ; preds = %93
  br label %123

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

362:                                              ; preds = %351, %337
  store i32 0, ptr %5, align 4
  br label %363

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

365:                                              ; preds = %363
  br label %366

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

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

369:                                              ; preds = %367
  br label %370

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

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

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

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

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

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

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

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

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

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

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

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

425:                                              ; preds = %423, %421
  %426 = load i8, ptr %23, align 1, !tbaa !20
  %427 = icmp ne i8 %426, 0
  br i1 %427, label %428, label %430

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

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

432:                                              ; preds = %430, %428
  %433 = load i8, ptr %24, align 1, !tbaa !20
  %434 = icmp ne i8 %433, 0
  br i1 %434, label %435, label %437

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

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

439:                                              ; preds = %437, %435
  %440 = load i8, ptr %25, align 1, !tbaa !20
  %441 = icmp ne i8 %440, 0
  br i1 %441, label %442, label %444

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

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

446:                                              ; preds = %444, %442
  %447 = load i8, ptr %26, align 1, !tbaa !20
  %448 = icmp ne i8 %447, 0
  br i1 %448, label %449, label %451

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

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

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

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

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

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

465:                                              ; preds = %463, %461
  br label %466

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

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

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

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

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

492:                                              ; preds = %488, %481
  br label %493

493:                                              ; preds = %492, %466
  %494 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 58), align 8, !tbaa !20
  %495 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 0
  %496 = load i32, ptr %495, align 16, !tbaa !17
  %497 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 1
  %498 = load i32, ptr %497, align 4, !tbaa !17
  %499 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 2
  %500 = load i32, ptr %499, align 8, !tbaa !17
  %501 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 3
  %502 = load i32, ptr %501, align 4, !tbaa !17
  call void %494(i32 noundef %496, i32 noundef %498, i32 noundef %500, i32 noundef %502)
  %503 = load ptr, ptr getelementptr inbounds (%struct.anon.0, ptr @imgl3wProcs, i32 0, i32 50), align 8, !tbaa !20
  %504 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 0
  %505 = load i32, ptr %504, align 16, !tbaa !17
  %506 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 1
  %507 = load i32, ptr %506, align 4, !tbaa !17
  %508 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 2
  %509 = load i32, ptr %508, align 8, !tbaa !17
  %510 = getelementptr inbounds [4 x i32], ptr %15, i64 0, i64 3
  %511 = load i32, ptr %510, align 4, !tbaa !17
  call void %503(i32 noundef %505, i32 noundef %507, i32 noundef %509, i32 noundef %511)
  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 %512

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

514:                                              ; preds = %512, %512
  ret void

515:                                              ; preds = %512, %367
  unreachable
}

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

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


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

%union.ImGL3WProcs = type { [59 x ptr] }
%struct.ImVec2 = type { float, float }

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL32ImGui_ImplOpenGL3_GetBackendDatav() local_unnamed_addr #1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

261:                                              ; preds = %252, %258, %242
  %262 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 464), align 8, !tbaa !9
  %263 = load i32, ptr %9, align 16, !tbaa !18
  %264 = getelementptr inbounds i8, ptr %9, i64 4
  %265 = load i32, ptr %264, align 4, !tbaa !18
  %266 = getelementptr inbounds i8, ptr %9, i64 8
  %267 = load i32, ptr %266, align 8, !tbaa !18
  %268 = getelementptr inbounds i8, ptr %9, i64 12
  %269 = load i32, ptr %268, align 4, !tbaa !18
  call void %262(i32 noundef %263, i32 noundef %265, i32 noundef %267, i32 noundef %269)
  %270 = load ptr, ptr getelementptr inbounds (i8, ptr @imgl3wProcs, i64 400), align 8, !tbaa !9
  %271 = load i32, ptr %10, align 16, !tbaa !18
  %272 = getelementptr inbounds i8, ptr %10, i64 4
  %273 = load i32, ptr %272, align 4, !tbaa !18
  %274 = getelementptr inbounds i8, ptr %10, i64 8
  %275 = load i32, ptr %274, align 8, !tbaa !18
  %276 = getelementptr inbounds i8, ptr %10, i64 12
  %277 = load i32, ptr %276, align 4, !tbaa !18
  call void %270(i32 noundef %271, i32 noundef %273, i32 noundef %275, i32 noundef %277)
  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 %278

278:                                              ; preds = %1, %261
  ret void
}

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

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

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


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