; LLVM IR from erincatto/box2d-lite :: extern/glfw/src/osmesa_context.ll (glfwCreateContextOSMesa)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct._GLFWlibrary = type { i32, %struct.anon, ptr, ptr, ptr, ptr, i32, [16 x %struct._GLFWjoystick], ptr, i32, %struct._GLFWtls, %struct._GLFWtls, %struct._GLFWmutex, %struct.anon.4, %struct.anon.5, %struct.anon.6, %struct._GLFWlibraryX11, %struct._GLFWlibraryGLX, %struct._GLFWlibraryLinux, %struct._GLFWlibraryEGL, %struct._GLFWlibraryOSMesa }
%struct.anon = type { %struct._GLFWinitconfig, %struct._GLFWfbconfig, %struct._GLFWwndconfig, %struct._GLFWctxconfig, i32 }
%struct._GLFWinitconfig = type { i32, %struct.anon.0 }
%struct.anon.0 = type { i32, i32 }
%struct._GLFWfbconfig = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64 }
%struct._GLFWwndconfig = type { i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.anon.1, %struct.anon.2 }
%struct.anon.1 = type { i32, [256 x i8] }
%struct.anon.2 = type { [256 x i8], [256 x i8] }
%struct._GLFWctxconfig = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, %struct.anon.3 }
%struct.anon.3 = type { i32 }
%struct._GLFWjoystick = type { i32, ptr, i32, ptr, i32, ptr, i32, ptr, ptr, [33 x i8], ptr, %struct._GLFWjoystickLinux }
%struct._GLFWjoystickLinux = type { i32, [4096 x i8], [512 x i32], [64 x i32], [64 x %struct.input_absinfo], [4 x [2 x i32]] }
%struct.input_absinfo = type { i32, i32, i32, i32, i32, i32 }
%struct._GLFWtls = type { %struct._GLFWtlsPOSIX }
%struct._GLFWtlsPOSIX = type { i32, i32 }
%struct._GLFWmutex = type { %struct._GLFWmutexPOSIX }
%struct._GLFWmutexPOSIX = type { i32, %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%struct.anon.4 = type { i64, %struct._GLFWtimerPOSIX }
%struct._GLFWtimerPOSIX = type { i32, i64 }
%struct.anon.5 = type { i32, ptr, [2 x ptr], ptr, ptr, i32, i32, i32 }
%struct.anon.6 = type { ptr, ptr }
%struct._GLFWlibraryX11 = type { ptr, i32, i64, float, float, i64, i64, i32, ptr, i32, ptr, ptr, [5 x i8], [256 x i16], [349 x i16], double, double, ptr, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, %struct.anon.7, %struct.anon.8, %struct.anon.9, %struct.anon.10, %struct.anon.11, %struct.anon.12, %struct.anon.13, %struct.anon.14, %struct.anon.15, %struct.anon.16 }
%struct.anon.7 = type { i32, ptr, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.anon.8 = type { i32, i32, i32, i32, i32, i32, i32 }
%struct.anon.9 = type { i32, i32, i32, i32, i32 }
%struct.anon.10 = type { i32, i64, i64 }
%struct.anon.11 = type { ptr, ptr, ptr, ptr }
%struct.anon.12 = type { i32, ptr, i32, i32, ptr, ptr, ptr }
%struct.anon.13 = type { ptr, ptr }
%struct.anon.14 = type { i32, ptr, i32, i32, ptr, ptr, ptr, ptr }
%struct.anon.15 = type { i32, ptr, i32, i32, i32, i32, i32, ptr, ptr }
%struct.anon.16 = type { i32, ptr, i32, i32, i32, i32, ptr, ptr, ptr }
%struct._GLFWlibraryGLX = type { i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct._GLFWlibraryLinux = type { i32, i32, %struct.re_pattern_buffer, i32 }
%struct.re_pattern_buffer = type { ptr, i64, i64, i64, ptr, ptr, i64, i8 }
%struct._GLFWlibraryEGL = type { ptr, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct._GLFWlibraryOSMesa = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct._GLFWwindow = type { ptr, i32, i32, i32, i32, i32, i32, ptr, %struct.GLFWvidmode, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [8 x i8], [349 x i8], double, double, %struct._GLFWcontext, %struct.anon.17, %struct._GLFWwindowX11 }
%struct.GLFWvidmode = type { i32, i32, i32, i32, i32, i32 }
%struct._GLFWcontext = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct._GLFWcontextGLX, %struct._GLFWcontextEGL, %struct._GLFWcontextOSMesa }
%struct._GLFWcontextGLX = type { ptr, i64 }
%struct._GLFWcontextEGL = type { ptr, ptr, ptr, ptr }
%struct._GLFWcontextOSMesa = type { ptr, i32, i32, ptr }
%struct.anon.17 = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct._GLFWwindowX11 = type { i64, i64, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64 }

@_glfw = external global %struct._GLFWlibrary, align 8
@.str.11 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [87 x i8], align 1
@__PRETTY_FUNCTION__._glfwCreateContextOSMesa = external hidden unnamed_addr constant [96 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [33 x i8], align 1

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

declare void @_glfwInputError(i32 noundef, ptr noundef, ...) #1

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

; Function Attrs: nounwind uwtable
define dso_local i32 @_glfwCreateContextOSMesa(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca [40 x i32], align 16
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  store ptr null, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %13 = load ptr, ptr %7, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct._GLFWfbconfig, ptr %13, i32 0, i32 6
  %15 = load i32, ptr %14, align 8, !tbaa !9
  %16 = load ptr, ptr %7, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct._GLFWfbconfig, ptr %16, i32 0, i32 7
  %18 = load i32, ptr %17, align 4, !tbaa !13
  %19 = add nsw i32 %15, %18
  %20 = load ptr, ptr %7, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct._GLFWfbconfig, ptr %20, i32 0, i32 8
  %22 = load i32, ptr %21, align 8, !tbaa !14
  %23 = add nsw i32 %19, %22
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct._GLFWfbconfig, ptr %24, i32 0, i32 9
  %26 = load i32, ptr %25, align 4, !tbaa !15
  %27 = add nsw i32 %23, %26
  store i32 %27, ptr %9, align 4, !tbaa !16
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct._GLFWctxconfig, ptr %28, i32 0, i32 0
  %30 = load i32, ptr %29, align 8, !tbaa !17
  %31 = icmp eq i32 %30, 196610
  br i1 %31, label %32, label %33

32:                                               ; preds = %3
  call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65542, ptr noundef @.str.11)
  store i32 0, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %287

33:                                               ; preds = %3
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct._GLFWctxconfig, ptr %34, i32 0, i32 10
  %36 = load ptr, ptr %35, align 8, !tbaa !20
  %37 = icmp ne ptr %36, null
  br i1 %37, label %38, label %46

38:                                               ; preds = %33
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct._GLFWctxconfig, ptr %39, i32 0, i32 10
  %41 = load ptr, ptr %40, align 8, !tbaa !20
  %42 = getelementptr inbounds %struct._GLFWwindow, ptr %41, i32 0, i32 25
  %43 = getelementptr inbounds %struct._GLFWcontext, ptr %42, i32 0, i32 22
  %44 = getelementptr inbounds %struct._GLFWcontextOSMesa, ptr %43, i32 0, i32 0
  %45 = load ptr, ptr %44, align 8, !tbaa !21
  store ptr %45, ptr %8, align 8, !tbaa !5
  br label %46

46:                                               ; preds = %38, %33
  %47 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryOSMesa, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 20), i32 0, i32 2), align 8, !tbaa !31
  %48 = icmp ne ptr %47, null
  br i1 %48, label %49, label %239

49:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 160, ptr %12) #4
  %50 = load i32, ptr %11, align 4, !tbaa !16
  %51 = add nsw i32 %50, 1
  %52 = sext i32 %51 to i64
  %53 = icmp ult i64 %52, 40
  br i1 %53, label %54, label %55

54:                                               ; preds = %49
  br label %56

55:                                               ; preds = %49
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.13, i32 noundef 220, ptr noundef @__PRETTY_FUNCTION__._glfwCreateContextOSMesa) #5
  unreachable

56:                                               ; preds = %54
  %57 = load i32, ptr %11, align 4, !tbaa !16
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %11, align 4, !tbaa !16
  %59 = sext i32 %57 to i64
  %60 = getelementptr inbounds [40 x i32], ptr %12, i64 0, i64 %59
  store i32 34, ptr %60, align 4, !tbaa !16
  %61 = load i32, ptr %11, align 4, !tbaa !16
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %11, align 4, !tbaa !16
  %63 = sext i32 %61 to i64
  %64 = getelementptr inbounds [40 x i32], ptr %12, i64 0, i64 %63
  store i32 6408, ptr %64, align 4, !tbaa !16
  %65 = load i32, ptr %11, align 4, !tbaa !16
  %66 = add nsw i32 %65, 1
  %67 = sext i32 %66 to i64
  %68 = icmp ult i64 %67, 40
  br i1 %68, label %69, label %70

69:                                               ; preds = %56
  br label %71

70:                                               ; preds = %56
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.13, i32 noundef 221, ptr noundef @__PRETTY_FUNCTION__._glfwCreateContextOSMesa) #5
  unreachable

71:                                               ; preds = %69
  %72 = load i32, ptr %11, align 4, !tbaa !16
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %11, align 4, !tbaa !16
  %74 = sext i32 %72 to i64
  %75 = getelementptr inbounds [40 x i32], ptr %12, i64 0, i64 %74
  store i32 48, ptr %75, align 4, !tbaa !16
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct._GLFWfbconfig, ptr %76, i32 0, i32 4
  %78 = load i32, ptr %77, align 8, !tbaa !63
  %79 = load i32, ptr %11, align 4, !tbaa !16
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %11, align 4, !tbaa !16
  %81 = sext i32 %79 to i64
  %82 = getelementptr inbounds [40 x i32], ptr %12, i64 0, i64 %81
  store i32 %78, ptr %82, align 4, !tbaa !16
  %83 = load i32, ptr %11, align 4, !tbaa !16
  %84 = add nsw i32 %83, 1
  %85 = sext i32 %84 to i64
  %86 = icmp ult i64 %85, 40
  br i1 %86, label %87, label %88

87:                                               ; preds = %71
  br label %89

88:                                               ; preds = %71
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.13, i32 noundef 222, ptr noundef @__PRETTY_FUNCTION__._glfwCreateContextOSMesa) #5
  unreachable

89:                                               ; preds = %87
  %90 = load i32, ptr %11, align 4, !tbaa !16
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr %11, align 4, !tbaa !16
  %92 = sext i32 %90 to i64
  %93 = getelementptr inbounds [40 x i32], ptr %12, i64 0, i64 %92
  store i32 49, ptr %93, align 4, !tbaa !16
  %94 = load ptr, ptr %7, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct._GLFWfbconfig, ptr %94, i32 0, i32 5
  %96 = load i32, ptr %95, align 4, !tbaa !64
  %97 = load i32, ptr %11, align 4, !tbaa !16
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr %11, align 4, !tbaa !16
  %99 = sext i32 %97 to i64
  %100 = getelementptr inbounds [40 x i32], ptr %12, i64 0, i64 %99
  store i32 %96, ptr %100, align 4, !tbaa !16
  %101 = load i32, ptr %11, align 4, !tbaa !16
  %102 = add nsw i32 %101, 1
  %103 = sext i32 %102 to i64
  %104 = icmp ult i64 %103, 40
  br i1 %104, label %105, label %106

105:                                              ; preds = %89
  br label %107

106:                                              ; preds = %89
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.13, i32 noundef 223, ptr noundef @__PRETTY_FUNCTION__._glfwCreateContextOSMesa) #5
  unreachable

107:                                              ; preds = %105
  %108 = load i32, ptr %11, align 4, !tbaa !16
  %109 = add nsw i32 %108, 1
  store i32 %109, ptr %11, align 4, !tbaa !16
  %110 = sext i32 %108 to i64
  %111 = getelementptr inbounds [40 x i32], ptr %12, i64 0, i64 %110
  store i32 50, ptr %111, align 4, !tbaa !16
  %112 = load i32, ptr %9, align 4, !tbaa !16
  %113 = load i32, ptr %11, align 4, !tbaa !16
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %11, align 4, !tbaa !16
  %115 = sext i32 %113 to i64
  %116 = getelementptr inbounds [40 x i32], ptr %12, i64 0, i64 %115
  store i32 %112, ptr %116, align 4, !tbaa !16
  %117 = load ptr, ptr %6, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct._GLFWctxconfig, ptr %117, i32 0, i32 7
  %119 = load i32, ptr %118, align 4, !tbaa !65
  %120 = icmp eq i32 %119, 204801
  br i1 %120, label %121, label %137

121:                                              ; preds = %107
  %122 = load i32, ptr %11, align 4, !tbaa !16
  %123 = add nsw i32 %122, 1
  %124 = sext i32 %123 to i64
  %125 = icmp ult i64 %124, 40
  br i1 %125, label %126, label %127

126:                                              ; preds = %121
  br label %128

127:                                              ; preds = %121
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.13, i32 noundef 227, ptr noundef @__PRETTY_FUNCTION__._glfwCreateContextOSMesa) #5
  unreachable

128:                                              ; preds = %126
  %129 = load i32, ptr %11, align 4, !tbaa !16
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr %11, align 4, !tbaa !16
  %131 = sext i32 %129 to i64
  %132 = getelementptr inbounds [40 x i32], ptr %12, i64 0, i64 %131
  store i32 51, ptr %132, align 4, !tbaa !16
  %133 = load i32, ptr %11, align 4, !tbaa !16
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %11, align 4, !tbaa !16
  %135 = sext i32 %133 to i64
  %136 = getelementptr inbounds [40 x i32], ptr %12, i64 0, i64 %135
  store i32 52, ptr %136, align 4, !tbaa !16
  br label %159

137:                                              ; preds = %107
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct._GLFWctxconfig, ptr %138, i32 0, i32 7
  %140 = load i32, ptr %139, align 4, !tbaa !65
  %141 = icmp eq i32 %140, 204802
  br i1 %141, label %142, label %158

142:                                              ; preds = %137
  %143 = load i32, ptr %11, align 4, !tbaa !16
  %144 = add nsw i32 %143, 1
  %145 = sext i32 %144 to i64
  %146 = icmp ult i64 %145, 40
  br i1 %146, label %147, label %148

147:                                              ; preds = %142
  br label %149

148:                                              ; preds = %142
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.13, i32 noundef 231, ptr noundef @__PRETTY_FUNCTION__._glfwCreateContextOSMesa) #5
  unreachable

149:                                              ; preds = %147
  %150 = load i32, ptr %11, align 4, !tbaa !16
  %151 = add nsw i32 %150, 1
  store i32 %151, ptr %11, align 4, !tbaa !16
  %152 = sext i32 %150 to i64
  %153 = getelementptr inbounds [40 x i32], ptr %12, i64 0, i64 %152
  store i32 51, ptr %153, align 4, !tbaa !16
  %154 = load i32, ptr %11, align 4, !tbaa !16
  %155 = add nsw i32 %154, 1
  store i32 %155, ptr %11, align 4, !tbaa !16
  %156 = sext i32 %154 to i64
  %157 = getelementptr inbounds [40 x i32], ptr %12, i64 0, i64 %156
  store i32 53, ptr %157, align 4, !tbaa !16
  br label %158

158:                                              ; preds = %149, %137
  br label %159

159:                                              ; preds = %158, %128
  %160 = load ptr, ptr %6, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct._GLFWctxconfig, ptr %160, i32 0, i32 2
  %162 = load i32, ptr %161, align 8, !tbaa !66
  %163 = icmp ne i32 %162, 1
  br i1 %163, label %169, label %164

164:                                              ; preds = %159
  %165 = load ptr, ptr %6, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct._GLFWctxconfig, ptr %165, i32 0, i32 3
  %167 = load i32, ptr %166, align 4, !tbaa !67
  %168 = icmp ne i32 %167, 0
  br i1 %168, label %169, label %206

169:                                              ; preds = %164, %159
  %170 = load i32, ptr %11, align 4, !tbaa !16
  %171 = add nsw i32 %170, 1
  %172 = sext i32 %171 to i64
  %173 = icmp ult i64 %172, 40
  br i1 %173, label %174, label %175

174:                                              ; preds = %169
  br label %176

175:                                              ; preds = %169
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.13, i32 noundef 236, ptr noundef @__PRETTY_FUNCTION__._glfwCreateContextOSMesa) #5
  unreachable

176:                                              ; preds = %174
  %177 = load i32, ptr %11, align 4, !tbaa !16
  %178 = add nsw i32 %177, 1
  store i32 %178, ptr %11, align 4, !tbaa !16
  %179 = sext i32 %177 to i64
  %180 = getelementptr inbounds [40 x i32], ptr %12, i64 0, i64 %179
  store i32 54, ptr %180, align 4, !tbaa !16
  %181 = load ptr, ptr %6, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct._GLFWctxconfig, ptr %181, i32 0, i32 2
  %183 = load i32, ptr %182, align 8, !tbaa !66
  %184 = load i32, ptr %11, align 4, !tbaa !16
  %185 = add nsw i32 %184, 1
  store i32 %185, ptr %11, align 4, !tbaa !16
  %186 = sext i32 %184 to i64
  %187 = getelementptr inbounds [40 x i32], ptr %12, i64 0, i64 %186
  store i32 %183, ptr %187, align 4, !tbaa !16
  %188 = load i32, ptr %11, align 4, !tbaa !16
  %189 = add nsw i32 %188, 1
  %190 = sext i32 %189 to i64
  %191 = icmp ult i64 %190, 40
  br i1 %191, label %192, label %193

192:                                              ; preds = %176
  br label %194

193:                                              ; preds = %176
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.13, i32 noundef 237, ptr noundef @__PRETTY_FUNCTION__._glfwCreateContextOSMesa) #5
  unreachable

194:                                              ; preds = %192
  %195 = load i32, ptr %11, align 4, !tbaa !16
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr %11, align 4, !tbaa !16
  %197 = sext i32 %195 to i64
  %198 = getelementptr inbounds [40 x i32], ptr %12, i64 0, i64 %197
  store i32 55, ptr %198, align 4, !tbaa !16
  %199 = load ptr, ptr %6, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct._GLFWctxconfig, ptr %199, i32 0, i32 3
  %201 = load i32, ptr %200, align 4, !tbaa !67
  %202 = load i32, ptr %11, align 4, !tbaa !16
  %203 = add nsw i32 %202, 1
  store i32 %203, ptr %11, align 4, !tbaa !16
  %204 = sext i32 %202 to i64
  %205 = getelementptr inbounds [40 x i32], ptr %12, i64 0, i64 %204
  store i32 %201, ptr %205, align 4, !tbaa !16
  br label %206

206:                                              ; preds = %194, %164
  %207 = load ptr, ptr %6, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct._GLFWctxconfig, ptr %207, i32 0, i32 4
  %209 = load i32, ptr %208, align 8, !tbaa !68
  %210 = icmp ne i32 %209, 0
  br i1 %210, label %211, label %212

211:                                              ; preds = %206
  call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65543, ptr noundef @.str.14)
  store i32 0, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %236

212:                                              ; preds = %206
  %213 = load i32, ptr %11, align 4, !tbaa !16
  %214 = add nsw i32 %213, 1
  %215 = sext i32 %214 to i64
  %216 = icmp ult i64 %215, 40
  br i1 %216, label %217, label %218

217:                                              ; preds = %212
  br label %219

218:                                              ; preds = %212
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.13, i32 noundef 247, ptr noundef @__PRETTY_FUNCTION__._glfwCreateContextOSMesa) #5
  unreachable

219:                                              ; preds = %217
  %220 = load i32, ptr %11, align 4, !tbaa !16
  %221 = add nsw i32 %220, 1
  store i32 %221, ptr %11, align 4, !tbaa !16
  %222 = sext i32 %220 to i64
  %223 = getelementptr inbounds [40 x i32], ptr %12, i64 0, i64 %222
  store i32 0, ptr %223, align 4, !tbaa !16
  %224 = load i32, ptr %11, align 4, !tbaa !16
  %225 = add nsw i32 %224, 1
  store i32 %225, ptr %11, align 4, !tbaa !16
  %226 = sext i32 %224 to i64
  %227 = getelementptr inbounds [40 x i32], ptr %12, i64 0, i64 %226
  store i32 0, ptr %227, align 4, !tbaa !16
  %228 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryOSMesa, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 20), i32 0, i32 2), align 8, !tbaa !31
  %229 = getelementptr inbounds [40 x i32], ptr %12, i64 0, i64 0
  %230 = load ptr, ptr %8, align 8, !tbaa !5
  %231 = call ptr %228(ptr noundef %229, ptr noundef %230)
  %232 = load ptr, ptr %5, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct._GLFWwindow, ptr %232, i32 0, i32 25
  %234 = getelementptr inbounds %struct._GLFWcontext, ptr %233, i32 0, i32 22
  %235 = getelementptr inbounds %struct._GLFWcontextOSMesa, ptr %234, i32 0, i32 0
  store ptr %231, ptr %235, align 8, !tbaa !21
  store i32 0, ptr %10, align 4
  br label %236

236:                                              ; preds = %219, %211
  call void @llvm.lifetime.end.p0(i64 160, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  %237 = load i32, ptr %10, align 4
  switch i32 %237, label %287 [
    i32 0, label %238
  ]

238:                                              ; preds = %236
  br label %260

239:                                              ; preds = %46
  %240 = load ptr, ptr %6, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct._GLFWctxconfig, ptr %240, i32 0, i32 7
  %242 = load i32, ptr %241, align 4, !tbaa !65
  %243 = icmp ne i32 %242, 0
  br i1 %243, label %244, label %245

244:                                              ; preds = %239
  call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65543, ptr noundef @.str.15)
  store i32 0, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %287

245:                                              ; preds = %239
  %246 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryOSMesa, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 20), i32 0, i32 1), align 8, !tbaa !69
  %247 = load ptr, ptr %7, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct._GLFWfbconfig, ptr %247, i32 0, i32 4
  %249 = load i32, ptr %248, align 8, !tbaa !63
  %250 = load ptr, ptr %7, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct._GLFWfbconfig, ptr %250, i32 0, i32 5
  %252 = load i32, ptr %251, align 4, !tbaa !64
  %253 = load i32, ptr %9, align 4, !tbaa !16
  %254 = load ptr, ptr %8, align 8, !tbaa !5
  %255 = call ptr %246(i32 noundef 6408, i32 noundef %249, i32 noundef %252, i32 noundef %253, ptr noundef %254)
  %256 = load ptr, ptr %5, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct._GLFWwindow, ptr %256, i32 0, i32 25
  %258 = getelementptr inbounds %struct._GLFWcontext, ptr %257, i32 0, i32 22
  %259 = getelementptr inbounds %struct._GLFWcontextOSMesa, ptr %258, i32 0, i32 0
  store ptr %255, ptr %259, align 8, !tbaa !21
  br label %260

260:                                              ; preds = %245, %238
  %261 = load ptr, ptr %5, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct._GLFWwindow, ptr %261, i32 0, i32 25
  %263 = getelementptr inbounds %struct._GLFWcontext, ptr %262, i32 0, i32 22
  %264 = getelementptr inbounds %struct._GLFWcontextOSMesa, ptr %263, i32 0, i32 0
  %265 = load ptr, ptr %264, align 8, !tbaa !21
  %266 = icmp eq ptr %265, null
  br i1 %266, label %267, label %268

267:                                              ; preds = %260
  call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65543, ptr noundef @.str.16)
  store i32 0, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %287

268:                                              ; preds = %260
  %269 = load ptr, ptr %5, align 8, !tbaa !5
  %270 = getelementptr inbounds %struct._GLFWwindow, ptr %269, i32 0, i32 25
  %271 = getelementptr inbounds %struct._GLFWcontext, ptr %270, i32 0, i32 14
  store ptr @makeContextCurrentOSMesa, ptr %271, align 8, !tbaa !70
  %272 = load ptr, ptr %5, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct._GLFWwindow, ptr %272, i32 0, i32 25
  %274 = getelementptr inbounds %struct._GLFWcontext, ptr %273, i32 0, i32 15
  store ptr @swapBuffersOSMesa, ptr %274, align 8, !tbaa !71
  %275 = load ptr, ptr %5, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct._GLFWwindow, ptr %275, i32 0, i32 25
  %277 = getelementptr inbounds %struct._GLFWcontext, ptr %276, i32 0, i32 16
  store ptr @swapIntervalOSMesa, ptr %277, align 8, !tbaa !72
  %278 = load ptr, ptr %5, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct._GLFWwindow, ptr %278, i32 0, i32 25
  %280 = getelementptr inbounds %struct._GLFWcontext, ptr %279, i32 0, i32 17
  store ptr @extensionSupportedOSMesa, ptr %280, align 8, !tbaa !73
  %281 = load ptr, ptr %5, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct._GLFWwindow, ptr %281, i32 0, i32 25
  %283 = getelementptr inbounds %struct._GLFWcontext, ptr %282, i32 0, i32 18
  store ptr @getProcAddressOSMesa, ptr %283, align 8, !tbaa !74
  %284 = load ptr, ptr %5, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct._GLFWwindow, ptr %284, i32 0, i32 25
  %286 = getelementptr inbounds %struct._GLFWcontext, ptr %285, i32 0, i32 19
  store ptr @destroyContextOSMesa, ptr %286, align 8, !tbaa !75
  store i32 1, ptr %4, align 4
  store i32 1, ptr %10, align 4
  br label %287

287:                                              ; preds = %268, %267, %244, %236, %32
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  %288 = load i32, ptr %4, align 4
  ret i32 %288
}

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

; Function Attrs: nounwind uwtable
declare hidden void @makeContextCurrentOSMesa(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden void @swapBuffersOSMesa(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden void @swapIntervalOSMesa(i32 noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @extensionSupportedOSMesa(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden ptr @getProcAddressOSMesa(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden void @destroyContextOSMesa(ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { noreturn 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/C++ TBAA"}
!9 = !{!10, !11, i64 24}
!10 = !{!"_GLFWfbconfig", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !12, i64 64}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !11, i64 28}
!14 = !{!10, !11, i64 32}
!15 = !{!10, !11, i64 36}
!16 = !{!11, !11, i64 0}
!17 = !{!18, !11, i64 0}
!18 = !{!"_GLFWctxconfig", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !6, i64 40, !19, i64 48}
!19 = !{!"", !11, i64 0}
!20 = !{!18, !6, i64 40}
!21 = !{!22, !6, i64 664}
!22 = !{!"_GLFWwindow", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !6, i64 32, !23, i64 40, !6, i64 64, !6, i64 72, !11, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !7, i64 120, !7, i64 128, !24, i64 480, !24, i64 488, !25, i64 496, !29, i64 688, !30, i64 824}
!23 = !{!"GLFWvidmode", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20}
!24 = !{!"double", !7, i64 0}
!25 = !{!"_GLFWcontext", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !26, i64 120, !27, i64 136, !28, i64 168}
!26 = !{!"_GLFWcontextGLX", !6, i64 0, !12, i64 8}
!27 = !{!"_GLFWcontextEGL", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!28 = !{!"_GLFWcontextOSMesa", !6, i64 0, !11, i64 8, !11, i64 12, !6, i64 16}
!29 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128}
!30 = !{!"_GLFWwindowX11", !12, i64 0, !12, i64 8, !6, i64 16, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !12, i64 72}
!31 = !{!32, !6, i64 133456}
!32 = !{!"_GLFWlibrary", !11, i64 0, !33, i64 8, !6, i64 992, !6, i64 1000, !6, i64 1008, !6, i64 1016, !11, i64 1024, !7, i64 1032, !6, i64 130568, !11, i64 130576, !39, i64 130580, !39, i64 130588, !41, i64 130600, !43, i64 130648, !45, i64 130672, !46, i64 130736, !47, i64 130752, !58, i64 132960, !59, i64 133184, !61, i64 133264, !62, i64 133440}
!33 = !{!"", !34, i64 0, !10, i64 16, !36, i64 88, !18, i64 920, !11, i64 976}
!34 = !{!"_GLFWinitconfig", !11, i64 0, !35, i64 4}
!35 = !{!"", !11, i64 0, !11, i64 4}
!36 = !{!"_GLFWwndconfig", !11, i64 0, !11, i64 4, !6, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !37, i64 56, !38, i64 316}
!37 = !{!"", !11, i64 0, !7, i64 4}
!38 = !{!"", !7, i64 0, !7, i64 256}
!39 = !{!"_GLFWtls", !40, i64 0}
!40 = !{!"_GLFWtlsPOSIX", !11, i64 0, !11, i64 4}
!41 = !{!"_GLFWmutex", !42, i64 0}
!42 = !{!"_GLFWmutexPOSIX", !11, i64 0, !7, i64 8}
!43 = !{!"", !12, i64 0, !44, i64 8}
!44 = !{!"_GLFWtimerPOSIX", !11, i64 0, !12, i64 8}
!45 = !{!"", !11, i64 0, !6, i64 8, !7, i64 16, !6, i64 32, !6, i64 40, !11, i64 48, !11, i64 52, !11, i64 56}
!46 = !{!"", !6, i64 0, !6, i64 8}
!47 = !{!"_GLFWlibraryX11", !6, i64 0, !11, i64 8, !12, i64 16, !48, i64 24, !48, i64 28, !12, i64 32, !12, i64 40, !11, i64 48, !6, i64 56, !11, i64 64, !6, i64 72, !6, i64 80, !7, i64 88, !7, i64 94, !7, i64 606, !24, i64 1304, !24, i64 1312, !6, i64 1320, !12, i64 1328, !12, i64 1336, !12, i64 1344, !12, i64 1352, !12, i64 1360, !12, i64 1368, !12, i64 1376, !12, i64 1384, !12, i64 1392, !12, i64 1400, !12, i64 1408, !12, i64 1416, !12, i64 1424, !12, i64 1432, !12, i64 1440, !12, i64 1448, !12, i64 1456, !12, i64 1464, !12, i64 1472, !12, i64 1480, !12, i64 1488, !12, i64 1496, !12, i64 1504, !12, i64 1512, !12, i64 1520, !12, i64 1528, !12, i64 1536, !12, i64 1544, !12, i64 1552, !12, i64 1560, !12, i64 1568, !12, i64 1576, !12, i64 1584, !12, i64 1592, !12, i64 1600, !12, i64 1608, !12, i64 1616, !12, i64 1624, !12, i64 1632, !12, i64 1640, !12, i64 1648, !12, i64 1656, !12, i64 1664, !12, i64 1672, !12, i64 1680, !12, i64 1688, !49, i64 1696, !50, i64 1872, !51, i64 1900, !52, i64 1920, !53, i64 1944, !54, i64 1976, !46, i64 2024, !55, i64 2040, !56, i64 2096, !57, i64 2152}
!48 = !{!"float", !7, i64 0}
!49 = !{!"", !11, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168}
!50 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24}
!51 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16}
!52 = !{!"", !11, i64 0, !12, i64 8, !12, i64 16}
!53 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!54 = !{!"", !11, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !6, i64 24, !6, i64 32, !6, i64 40}
!55 = !{!"", !11, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!56 = !{!"", !11, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !6, i64 40, !6, i64 48}
!57 = !{!"", !11, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !6, i64 32, !6, i64 40, !6, i64 48}
!58 = !{!"_GLFWlibraryGLX", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !11, i64 176, !11, i64 180, !11, i64 184, !11, i64 188, !11, i64 192, !11, i64 196, !11, i64 200, !11, i64 204, !11, i64 208, !11, i64 212, !11, i64 216, !11, i64 220}
!59 = !{!"_GLFWlibraryLinux", !11, i64 0, !11, i64 4, !60, i64 8, !11, i64 72}
!60 = !{!"re_pattern_buffer", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !6, i64 32, !6, i64 40, !12, i64 48, !11, i64 56, !11, i64 56, !11, i64 56, !11, i64 56, !11, i64 56, !11, i64 56, !11, i64 56}
!61 = !{!"_GLFWlibraryEGL", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168}
!62 = !{!"_GLFWlibraryOSMesa", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56}
!63 = !{!10, !11, i64 16}
!64 = !{!10, !11, i64 20}
!65 = !{!18, !11, i64 28}
!66 = !{!18, !11, i64 8}
!67 = !{!18, !11, i64 12}
!68 = !{!18, !11, i64 16}
!69 = !{!32, !6, i64 133448}
!70 = !{!22, !6, i64 568}
!71 = !{!22, !6, i64 576}
!72 = !{!22, !6, i64 584}
!73 = !{!22, !6, i64 592}
!74 = !{!22, !6, i64 600}
!75 = !{!22, !6, i64 608}


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

%struct._GLFWlibrary = type { i32, %struct.anon, ptr, ptr, ptr, ptr, i32, [16 x %struct._GLFWjoystick], ptr, i32, %struct._GLFWtls, %struct._GLFWtls, %struct._GLFWmutex, %struct.anon.4, %struct.anon.5, %struct.anon.6, %struct._GLFWlibraryX11, %struct._GLFWlibraryGLX, %struct._GLFWlibraryLinux, %struct._GLFWlibraryEGL, %struct._GLFWlibraryOSMesa }
%struct.anon = type { %struct._GLFWinitconfig, %struct._GLFWfbconfig, %struct._GLFWwndconfig, %struct._GLFWctxconfig, i32 }
%struct._GLFWinitconfig = type { i32, %struct.anon.0 }
%struct.anon.0 = type { i32, i32 }
%struct._GLFWfbconfig = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64 }
%struct._GLFWwndconfig = type { i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.anon.1, %struct.anon.2 }
%struct.anon.1 = type { i32, [256 x i8] }
%struct.anon.2 = type { [256 x i8], [256 x i8] }
%struct._GLFWctxconfig = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, %struct.anon.3 }
%struct.anon.3 = type { i32 }
%struct._GLFWjoystick = type { i32, ptr, i32, ptr, i32, ptr, i32, ptr, ptr, [33 x i8], ptr, %struct._GLFWjoystickLinux }
%struct._GLFWjoystickLinux = type { i32, [4096 x i8], [512 x i32], [64 x i32], [64 x %struct.input_absinfo], [4 x [2 x i32]] }
%struct.input_absinfo = type { i32, i32, i32, i32, i32, i32 }
%struct._GLFWtls = type { %struct._GLFWtlsPOSIX }
%struct._GLFWtlsPOSIX = type { i32, i32 }
%struct._GLFWmutex = type { %struct._GLFWmutexPOSIX }
%struct._GLFWmutexPOSIX = type { i32, %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%struct.anon.4 = type { i64, %struct._GLFWtimerPOSIX }
%struct._GLFWtimerPOSIX = type { i32, i64 }
%struct.anon.5 = type { i32, ptr, [2 x ptr], ptr, ptr, i32, i32, i32 }
%struct.anon.6 = type { ptr, ptr }
%struct._GLFWlibraryX11 = type { ptr, i32, i64, float, float, i64, i64, i32, ptr, i32, ptr, ptr, [5 x i8], [256 x i16], [349 x i16], double, double, ptr, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, %struct.anon.7, %struct.anon.8, %struct.anon.9, %struct.anon.10, %struct.anon.11, %struct.anon.12, %struct.anon.13, %struct.anon.14, %struct.anon.15, %struct.anon.16 }
%struct.anon.7 = type { i32, ptr, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.anon.8 = type { i32, i32, i32, i32, i32, i32, i32 }
%struct.anon.9 = type { i32, i32, i32, i32, i32 }
%struct.anon.10 = type { i32, i64, i64 }
%struct.anon.11 = type { ptr, ptr, ptr, ptr }
%struct.anon.12 = type { i32, ptr, i32, i32, ptr, ptr, ptr }
%struct.anon.13 = type { ptr, ptr }
%struct.anon.14 = type { i32, ptr, i32, i32, ptr, ptr, ptr, ptr }
%struct.anon.15 = type { i32, ptr, i32, i32, i32, i32, i32, ptr, ptr }
%struct.anon.16 = type { i32, ptr, i32, i32, i32, i32, ptr, ptr, ptr }
%struct._GLFWlibraryGLX = type { i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct._GLFWlibraryLinux = type { i32, i32, %struct.re_pattern_buffer, i32 }
%struct.re_pattern_buffer = type { ptr, i64, i64, i64, ptr, ptr, i64, i8 }
%struct._GLFWlibraryEGL = type { ptr, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct._GLFWlibraryOSMesa = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

@_glfw = external local_unnamed_addr global %struct._GLFWlibrary, align 8
@.str.11 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [33 x i8], align 1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @_glfwCreateContextOSMesa(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) local_unnamed_addr #2 {
  %4 = alloca [40 x i32], align 16
  %5 = getelementptr inbounds i8, ptr %2, i64 24
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %2, i64 28
  %8 = load i32, ptr %7, align 4, !tbaa !11
  %9 = add nsw i32 %8, %6
  %10 = getelementptr inbounds i8, ptr %2, i64 32
  %11 = load i32, ptr %10, align 8, !tbaa !12
  %12 = add nsw i32 %9, %11
  %13 = getelementptr inbounds i8, ptr %2, i64 36
  %14 = load i32, ptr %13, align 4, !tbaa !13
  %15 = add nsw i32 %12, %14
  %16 = load i32, ptr %1, align 8, !tbaa !14
  %17 = icmp eq i32 %16, 196610
  br i1 %17, label %18, label %19

18:                                               ; preds = %3
  tail call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65542, ptr noundef nonnull @.str.11) #3
  br label %95

19:                                               ; preds = %3
  %20 = getelementptr inbounds i8, ptr %1, i64 40
  %21 = load ptr, ptr %20, align 8, !tbaa !18
  %.not = icmp eq ptr %21, null
  br i1 %.not, label %25, label %22

22:                                               ; preds = %19
  %23 = getelementptr inbounds i8, ptr %21, i64 664
  %24 = load ptr, ptr %23, align 8, !tbaa !19
  br label %25

25:                                               ; preds = %22, %19
  %.063 = phi ptr [ %24, %22 ], [ null, %19 ]
  %26 = load ptr, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133456), align 8, !tbaa !29
  %.not69 = icmp eq ptr %26, null
  br i1 %.not69, label %72, label %27

27:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %4) #3
  store i32 34, ptr %4, align 16, !tbaa !61
  %28 = getelementptr inbounds i8, ptr %4, i64 4
  store i32 6408, ptr %28, align 4, !tbaa !61
  %29 = getelementptr inbounds i8, ptr %4, i64 8
  store i32 48, ptr %29, align 8, !tbaa !61
  %30 = getelementptr inbounds i8, ptr %2, i64 16
  %31 = load i32, ptr %30, align 8, !tbaa !62
  %32 = getelementptr inbounds i8, ptr %4, i64 12
  store i32 %31, ptr %32, align 4, !tbaa !61
  %33 = getelementptr inbounds i8, ptr %4, i64 16
  store i32 49, ptr %33, align 16, !tbaa !61
  %34 = getelementptr inbounds i8, ptr %2, i64 20
  %35 = load i32, ptr %34, align 4, !tbaa !63
  %36 = getelementptr inbounds i8, ptr %4, i64 20
  store i32 %35, ptr %36, align 4, !tbaa !61
  %37 = getelementptr inbounds i8, ptr %4, i64 24
  store i32 50, ptr %37, align 8, !tbaa !61
  %38 = getelementptr inbounds i8, ptr %4, i64 28
  store i32 %15, ptr %38, align 4, !tbaa !61
  %39 = getelementptr inbounds i8, ptr %1, i64 28
  %40 = load i32, ptr %39, align 4, !tbaa !64
  switch i32 %40, label %44 [
    i32 204801, label %.sink.split
    i32 204802, label %41
  ]

41:                                               ; preds = %27
  br label %.sink.split

.sink.split:                                      ; preds = %27, %41
  %.sink = phi i32 [ 53, %41 ], [ 52, %27 ]
  %42 = getelementptr inbounds i8, ptr %4, i64 32
  store i32 51, ptr %42, align 16, !tbaa !61
  %43 = getelementptr inbounds i8, ptr %4, i64 36
  store i32 %.sink, ptr %43, align 4, !tbaa !61
  br label %44

44:                                               ; preds = %.sink.split, %27
  %.0 = phi i32 [ 8, %27 ], [ 10, %.sink.split ]
  %45 = getelementptr inbounds i8, ptr %1, i64 8
  %46 = load i32, ptr %45, align 8, !tbaa !65
  %.not71 = icmp eq i32 %46, 1
  %47 = getelementptr inbounds i8, ptr %1, i64 12
  %48 = load i32, ptr %47, align 4, !tbaa !66
  %.not72 = icmp eq i32 %48, 0
  %or.cond = select i1 %.not71, i1 %.not72, i1 false
  br i1 %or.cond, label %61, label %._crit_edge

._crit_edge:                                      ; preds = %44
  %49 = or disjoint i32 %.0, 1
  %50 = zext nneg i32 %49 to i64
  %51 = zext nneg i32 %.0 to i64
  %52 = getelementptr inbounds [40 x i32], ptr %4, i64 0, i64 %51
  store i32 54, ptr %52, align 8, !tbaa !61
  %53 = getelementptr inbounds [40 x i32], ptr %4, i64 0, i64 %50
  store i32 %46, ptr %53, align 4, !tbaa !61
  %54 = add nuw nsw i32 %.0, 3
  %55 = zext nneg i32 %54 to i64
  %56 = add nuw nsw i32 %.0, 2
  %57 = zext nneg i32 %56 to i64
  %58 = getelementptr inbounds [40 x i32], ptr %4, i64 0, i64 %57
  store i32 55, ptr %58, align 8, !tbaa !61
  %59 = or disjoint i32 %.0, 4
  %60 = getelementptr inbounds [40 x i32], ptr %4, i64 0, i64 %55
  store i32 %48, ptr %60, align 4, !tbaa !61
  br label %61

61:                                               ; preds = %44, %._crit_edge
  %.1 = phi i32 [ %59, %._crit_edge ], [ %.0, %44 ]
  %62 = getelementptr inbounds i8, ptr %1, i64 16
  %63 = load i32, ptr %62, align 8, !tbaa !67
  %.not73 = icmp eq i32 %63, 0
  br i1 %.not73, label %.thread, label %71

.thread:                                          ; preds = %61
  %64 = add nuw nsw i32 %.1, 1
  %65 = zext nneg i32 %64 to i64
  %66 = zext nneg i32 %.1 to i64
  %67 = getelementptr inbounds [40 x i32], ptr %4, i64 0, i64 %66
  store i32 0, ptr %67, align 4, !tbaa !61
  %68 = getelementptr inbounds [40 x i32], ptr %4, i64 0, i64 %65
  store i32 0, ptr %68, align 4, !tbaa !61
  %69 = call ptr %26(ptr noundef nonnull %4, ptr noundef %.063) #3
  %70 = getelementptr inbounds i8, ptr %0, i64 664
  store ptr %69, ptr %70, align 8, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %4) #3
  br label %84

71:                                               ; preds = %61
  tail call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65543, ptr noundef nonnull @.str.14) #3
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %4) #3
  br label %95

72:                                               ; preds = %25
  %73 = getelementptr inbounds i8, ptr %1, i64 28
  %74 = load i32, ptr %73, align 4, !tbaa !64
  %.not70 = icmp eq i32 %74, 0
  br i1 %.not70, label %76, label %75

75:                                               ; preds = %72
  tail call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65543, ptr noundef nonnull @.str.15) #3
  br label %95

76:                                               ; preds = %72
  %77 = load ptr, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133448), align 8, !tbaa !68
  %78 = getelementptr inbounds i8, ptr %2, i64 16
  %79 = load i32, ptr %78, align 8, !tbaa !62
  %80 = getelementptr inbounds i8, ptr %2, i64 20
  %81 = load i32, ptr %80, align 4, !tbaa !63
  %82 = tail call ptr %77(i32 noundef 6408, i32 noundef %79, i32 noundef %81, i32 noundef %15, ptr noundef %.063) #3
  %83 = getelementptr inbounds i8, ptr %0, i64 664
  store ptr %82, ptr %83, align 8, !tbaa !19
  br label %84

84:                                               ; preds = %.thread, %76
  %85 = phi ptr [ %69, %.thread ], [ %82, %76 ]
  %86 = icmp eq ptr %85, null
  br i1 %86, label %87, label %88

87:                                               ; preds = %84
  call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65543, ptr noundef nonnull @.str.16) #3
  br label %95

88:                                               ; preds = %84
  %89 = getelementptr inbounds i8, ptr %0, i64 568
  store ptr @makeContextCurrentOSMesa, ptr %89, align 8, !tbaa !69
  %90 = getelementptr inbounds i8, ptr %0, i64 576
  store ptr @swapBuffersOSMesa, ptr %90, align 8, !tbaa !70
  %91 = getelementptr inbounds i8, ptr %0, i64 584
  store ptr @swapIntervalOSMesa, ptr %91, align 8, !tbaa !71
  %92 = getelementptr inbounds i8, ptr %0, i64 592
  store ptr @extensionSupportedOSMesa, ptr %92, align 8, !tbaa !72
  %93 = getelementptr inbounds i8, ptr %0, i64 600
  store ptr @getProcAddressOSMesa, ptr %93, align 8, !tbaa !73
  %94 = getelementptr inbounds i8, ptr %0, i64 608
  store ptr @destroyContextOSMesa, ptr %94, align 8, !tbaa !74
  br label %95

95:                                               ; preds = %71, %88, %87, %75, %18
  %.162 = phi i32 [ 0, %18 ], [ 0, %87 ], [ 1, %88 ], [ 0, %71 ], [ 0, %75 ]
  ret i32 %.162
}

; Function Attrs: nounwind uwtable
declare hidden void @makeContextCurrentOSMesa(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden void @swapBuffersOSMesa(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden void @swapIntervalOSMesa(i32 noundef) #2

; Function Attrs: nounwind uwtable
declare hidden i32 @extensionSupportedOSMesa(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden ptr @getProcAddressOSMesa(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden void @destroyContextOSMesa(ptr noundef) #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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, !7, i64 24}
!6 = !{!"_GLFWfbconfig", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !10, i64 64}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!6, !7, i64 28}
!12 = !{!6, !7, i64 32}
!13 = !{!6, !7, i64 36}
!14 = !{!15, !7, i64 0}
!15 = !{!"_GLFWctxconfig", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !16, i64 40, !17, i64 48}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!"", !7, i64 0}
!18 = !{!15, !16, i64 40}
!19 = !{!20, !16, i64 664}
!20 = !{!"_GLFWwindow", !16, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !16, i64 32, !21, i64 40, !16, i64 64, !16, i64 72, !7, i64 80, !7, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !8, i64 120, !8, i64 128, !22, i64 480, !22, i64 488, !23, i64 496, !27, i64 688, !28, i64 824}
!21 = !{!"GLFWvidmode", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!22 = !{!"double", !8, i64 0}
!23 = !{!"_GLFWcontext", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !16, i64 72, !16, i64 80, !16, i64 88, !16, i64 96, !16, i64 104, !16, i64 112, !24, i64 120, !25, i64 136, !26, i64 168}
!24 = !{!"_GLFWcontextGLX", !16, i64 0, !10, i64 8}
!25 = !{!"_GLFWcontextEGL", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24}
!26 = !{!"_GLFWcontextOSMesa", !16, i64 0, !7, i64 8, !7, i64 12, !16, i64 16}
!27 = !{!"", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !16, i64 72, !16, i64 80, !16, i64 88, !16, i64 96, !16, i64 104, !16, i64 112, !16, i64 120, !16, i64 128}
!28 = !{!"_GLFWwindowX11", !10, i64 0, !10, i64 8, !16, i64 16, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !10, i64 72}
!29 = !{!30, !16, i64 133456}
!30 = !{!"_GLFWlibrary", !7, i64 0, !31, i64 8, !16, i64 992, !16, i64 1000, !16, i64 1008, !16, i64 1016, !7, i64 1024, !8, i64 1032, !16, i64 130568, !7, i64 130576, !37, i64 130580, !37, i64 130588, !39, i64 130600, !41, i64 130648, !43, i64 130672, !44, i64 130736, !45, i64 130752, !56, i64 132960, !57, i64 133184, !59, i64 133264, !60, i64 133440}
!31 = !{!"", !32, i64 0, !6, i64 16, !34, i64 88, !15, i64 920, !7, i64 976}
!32 = !{!"_GLFWinitconfig", !7, i64 0, !33, i64 4}
!33 = !{!"", !7, i64 0, !7, i64 4}
!34 = !{!"_GLFWwndconfig", !7, i64 0, !7, i64 4, !16, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !35, i64 56, !36, i64 316}
!35 = !{!"", !7, i64 0, !8, i64 4}
!36 = !{!"", !8, i64 0, !8, i64 256}
!37 = !{!"_GLFWtls", !38, i64 0}
!38 = !{!"_GLFWtlsPOSIX", !7, i64 0, !7, i64 4}
!39 = !{!"_GLFWmutex", !40, i64 0}
!40 = !{!"_GLFWmutexPOSIX", !7, i64 0, !8, i64 8}
!41 = !{!"", !10, i64 0, !42, i64 8}
!42 = !{!"_GLFWtimerPOSIX", !7, i64 0, !10, i64 8}
!43 = !{!"", !7, i64 0, !16, i64 8, !8, i64 16, !16, i64 32, !16, i64 40, !7, i64 48, !7, i64 52, !7, i64 56}
!44 = !{!"", !16, i64 0, !16, i64 8}
!45 = !{!"_GLFWlibraryX11", !16, i64 0, !7, i64 8, !10, i64 16, !46, i64 24, !46, i64 28, !10, i64 32, !10, i64 40, !7, i64 48, !16, i64 56, !7, i64 64, !16, i64 72, !16, i64 80, !8, i64 88, !8, i64 94, !8, i64 606, !22, i64 1304, !22, i64 1312, !16, i64 1320, !10, i64 1328, !10, i64 1336, !10, i64 1344, !10, i64 1352, !10, i64 1360, !10, i64 1368, !10, i64 1376, !10, i64 1384, !10, i64 1392, !10, i64 1400, !10, i64 1408, !10, i64 1416, !10, i64 1424, !10, i64 1432, !10, i64 1440, !10, i64 1448, !10, i64 1456, !10, i64 1464, !10, i64 1472, !10, i64 1480, !10, i64 1488, !10, i64 1496, !10, i64 1504, !10, i64 1512, !10, i64 1520, !10, i64 1528, !10, i64 1536, !10, i64 1544, !10, i64 1552, !10, i64 1560, !10, i64 1568, !10, i64 1576, !10, i64 1584, !10, i64 1592, !10, i64 1600, !10, i64 1608, !10, i64 1616, !10, i64 1624, !10, i64 1632, !10, i64 1640, !10, i64 1648, !10, i64 1656, !10, i64 1664, !10, i64 1672, !10, i64 1680, !10, i64 1688, !47, i64 1696, !48, i64 1872, !49, i64 1900, !50, i64 1920, !51, i64 1944, !52, i64 1976, !44, i64 2024, !53, i64 2040, !54, i64 2096, !55, i64 2152}
!46 = !{!"float", !8, i64 0}
!47 = !{!"", !7, i64 0, !16, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !16, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !16, i64 72, !16, i64 80, !16, i64 88, !16, i64 96, !16, i64 104, !16, i64 112, !16, i64 120, !16, i64 128, !16, i64 136, !16, i64 144, !16, i64 152, !16, i64 160, !16, i64 168}
!48 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24}
!49 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
!50 = !{!"", !7, i64 0, !10, i64 8, !10, i64 16}
!51 = !{!"", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24}
!52 = !{!"", !7, i64 0, !16, i64 8, !7, i64 16, !7, i64 20, !16, i64 24, !16, i64 32, !16, i64 40}
!53 = !{!"", !7, i64 0, !16, i64 8, !7, i64 16, !7, i64 20, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48}
!54 = !{!"", !7, i64 0, !16, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !16, i64 40, !16, i64 48}
!55 = !{!"", !7, i64 0, !16, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !16, i64 32, !16, i64 40, !16, i64 48}
!56 = !{!"_GLFWlibraryGLX", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !16, i64 72, !16, i64 80, !16, i64 88, !16, i64 96, !16, i64 104, !16, i64 112, !16, i64 120, !16, i64 128, !16, i64 136, !16, i64 144, !16, i64 152, !16, i64 160, !16, i64 168, !7, i64 176, !7, i64 180, !7, i64 184, !7, i64 188, !7, i64 192, !7, i64 196, !7, i64 200, !7, i64 204, !7, i64 208, !7, i64 212, !7, i64 216, !7, i64 220}
!57 = !{!"_GLFWlibraryLinux", !7, i64 0, !7, i64 4, !58, i64 8, !7, i64 72}
!58 = !{!"re_pattern_buffer", !16, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !16, i64 32, !16, i64 40, !10, i64 48, !7, i64 56, !7, i64 56, !7, i64 56, !7, i64 56, !7, i64 56, !7, i64 56, !7, i64 56}
!59 = !{!"_GLFWlibraryEGL", !16, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !16, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !16, i64 72, !16, i64 80, !16, i64 88, !16, i64 96, !16, i64 104, !16, i64 112, !16, i64 120, !16, i64 128, !16, i64 136, !16, i64 144, !16, i64 152, !16, i64 160, !16, i64 168}
!60 = !{!"_GLFWlibraryOSMesa", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !16, i64 56}
!61 = !{!7, !7, i64 0}
!62 = !{!6, !7, i64 16}
!63 = !{!6, !7, i64 20}
!64 = !{!15, !7, i64 28}
!65 = !{!15, !7, i64 8}
!66 = !{!15, !7, i64 12}
!67 = !{!15, !7, i64 16}
!68 = !{!30, !16, i64 133448}
!69 = !{!20, !16, i64 568}
!70 = !{!20, !16, i64 576}
!71 = !{!20, !16, i64 584}
!72 = !{!20, !16, i64 592}
!73 = !{!20, !16, i64 600}
!74 = !{!20, !16, i64 608}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass