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

; 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 }

@__const._glfwInitEGL.sonames = external hidden unnamed_addr constant [2 x ptr], align 16
@_glfw = external global %struct._GLFWlibrary, align 8
@.str.1 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [30 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @_glfwInitEGL() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca [2 x ptr], align 16
  %4 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const._glfwInitEGL.sonames, i64 16, i1 false)
  %5 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 9), align 8, !tbaa !5
  %6 = icmp ne ptr %5, null
  br i1 %6, label %7, label %8

7:                                                ; preds = %0
  store i32 1, ptr %1, align 4
  store i32 1, ptr %4, align 4
  br label %145

8:                                                ; preds = %0
  store i32 0, ptr %2, align 4, !tbaa !46
  br label %9

9:                                                ; preds = %25, %8
  %10 = load i32, ptr %2, align 4, !tbaa !46
  %11 = sext i32 %10 to i64
  %12 = getelementptr inbounds [2 x ptr], ptr %3, i64 0, i64 %11
  %13 = load ptr, ptr %12, align 8, !tbaa !47
  %14 = icmp ne ptr %13, null
  br i1 %14, label %15, label %28

15:                                               ; preds = %9
  %16 = load i32, ptr %2, align 4, !tbaa !46
  %17 = sext i32 %16 to i64
  %18 = getelementptr inbounds [2 x ptr], ptr %3, i64 0, i64 %17
  %19 = load ptr, ptr %18, align 8, !tbaa !47
  %20 = call ptr @dlopen(ptr noundef %19, i32 noundef 1) #6
  store ptr %20, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 9), align 8, !tbaa !5
  %21 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 9), align 8, !tbaa !5
  %22 = icmp ne ptr %21, null
  br i1 %22, label %23, label %24

23:                                               ; preds = %15
  br label %28

24:                                               ; preds = %15
  br label %25

25:                                               ; preds = %24
  %26 = load i32, ptr %2, align 4, !tbaa !46
  %27 = add nsw i32 %26, 1
  store i32 %27, ptr %2, align 4, !tbaa !46
  br label %9, !llvm.loop !48

28:                                               ; preds = %23, %9
  %29 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 9), align 8, !tbaa !5
  %30 = icmp ne ptr %29, null
  br i1 %30, label %32, label %31

31:                                               ; preds = %28
  call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65542, ptr noundef @.str.1)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %4, align 4
  br label %145

32:                                               ; preds = %28
  %33 = load i32, ptr %2, align 4, !tbaa !46
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [2 x ptr], ptr %3, i64 0, i64 %34
  %36 = load ptr, ptr %35, align 8, !tbaa !47
  %37 = call i32 @strncmp(ptr noundef %36, ptr noundef @.str.2, i64 noundef 3) #7
  %38 = icmp eq i32 %37, 0
  %39 = zext i1 %38 to i32
  store i32 %39, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 3), align 8, !tbaa !50
  %40 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 9), align 8, !tbaa !5
  %41 = call ptr @dlsym(ptr noundef %40, ptr noundef @.str.3) #6
  store ptr %41, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 10), align 8, !tbaa !51
  %42 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 9), align 8, !tbaa !5
  %43 = call ptr @dlsym(ptr noundef %42, ptr noundef @.str.4) #6
  store ptr %43, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 11), align 8, !tbaa !52
  %44 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 9), align 8, !tbaa !5
  %45 = call ptr @dlsym(ptr noundef %44, ptr noundef @.str.5) #6
  store ptr %45, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 12), align 8, !tbaa !53
  %46 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 9), align 8, !tbaa !5
  %47 = call ptr @dlsym(ptr noundef %46, ptr noundef @.str.6) #6
  store ptr %47, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 13), align 8, !tbaa !54
  %48 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 9), align 8, !tbaa !5
  %49 = call ptr @dlsym(ptr noundef %48, ptr noundef @.str.7) #6
  store ptr %49, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 14), align 8, !tbaa !55
  %50 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 9), align 8, !tbaa !5
  %51 = call ptr @dlsym(ptr noundef %50, ptr noundef @.str.8) #6
  store ptr %51, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 15), align 8, !tbaa !56
  %52 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 9), align 8, !tbaa !5
  %53 = call ptr @dlsym(ptr noundef %52, ptr noundef @.str.9) #6
  store ptr %53, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 16), align 8, !tbaa !57
  %54 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 9), align 8, !tbaa !5
  %55 = call ptr @dlsym(ptr noundef %54, ptr noundef @.str.10) #6
  store ptr %55, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 17), align 8, !tbaa !58
  %56 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 9), align 8, !tbaa !5
  %57 = call ptr @dlsym(ptr noundef %56, ptr noundef @.str.11) #6
  store ptr %57, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 18), align 8, !tbaa !59
  %58 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 9), align 8, !tbaa !5
  %59 = call ptr @dlsym(ptr noundef %58, ptr noundef @.str.12) #6
  store ptr %59, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 19), align 8, !tbaa !60
  %60 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 9), align 8, !tbaa !5
  %61 = call ptr @dlsym(ptr noundef %60, ptr noundef @.str.13) #6
  store ptr %61, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 20), align 8, !tbaa !61
  %62 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 9), align 8, !tbaa !5
  %63 = call ptr @dlsym(ptr noundef %62, ptr noundef @.str.14) #6
  store ptr %63, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 21), align 8, !tbaa !62
  %64 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 9), align 8, !tbaa !5
  %65 = call ptr @dlsym(ptr noundef %64, ptr noundef @.str.15) #6
  store ptr %65, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 22), align 8, !tbaa !63
  %66 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 9), align 8, !tbaa !5
  %67 = call ptr @dlsym(ptr noundef %66, ptr noundef @.str.16) #6
  store ptr %67, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 23), align 8, !tbaa !64
  %68 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 9), align 8, !tbaa !5
  %69 = call ptr @dlsym(ptr noundef %68, ptr noundef @.str.17) #6
  store ptr %69, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 24), align 8, !tbaa !65
  %70 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 9), align 8, !tbaa !5
  %71 = call ptr @dlsym(ptr noundef %70, ptr noundef @.str.18) #6
  store ptr %71, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 25), align 8, !tbaa !66
  %72 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 10), align 8, !tbaa !51
  %73 = icmp ne ptr %72, null
  br i1 %73, label %74, label %119

74:                                               ; preds = %32
  %75 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 11), align 8, !tbaa !52
  %76 = icmp ne ptr %75, null
  br i1 %76, label %77, label %119

77:                                               ; preds = %74
  %78 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 12), align 8, !tbaa !53
  %79 = icmp ne ptr %78, null
  br i1 %79, label %80, label %119

80:                                               ; preds = %77
  %81 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 13), align 8, !tbaa !54
  %82 = icmp ne ptr %81, null
  br i1 %82, label %83, label %119

83:                                               ; preds = %80
  %84 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 14), align 8, !tbaa !55
  %85 = icmp ne ptr %84, null
  br i1 %85, label %86, label %119

86:                                               ; preds = %83
  %87 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 15), align 8, !tbaa !56
  %88 = icmp ne ptr %87, null
  br i1 %88, label %89, label %119

89:                                               ; preds = %86
  %90 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 16), align 8, !tbaa !57
  %91 = icmp ne ptr %90, null
  br i1 %91, label %92, label %119

92:                                               ; preds = %89
  %93 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 17), align 8, !tbaa !58
  %94 = icmp ne ptr %93, null
  br i1 %94, label %95, label %119

95:                                               ; preds = %92
  %96 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 18), align 8, !tbaa !59
  %97 = icmp ne ptr %96, null
  br i1 %97, label %98, label %119

98:                                               ; preds = %95
  %99 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 19), align 8, !tbaa !60
  %100 = icmp ne ptr %99, null
  br i1 %100, label %101, label %119

101:                                              ; preds = %98
  %102 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 20), align 8, !tbaa !61
  %103 = icmp ne ptr %102, null
  br i1 %103, label %104, label %119

104:                                              ; preds = %101
  %105 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 21), align 8, !tbaa !62
  %106 = icmp ne ptr %105, null
  br i1 %106, label %107, label %119

107:                                              ; preds = %104
  %108 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 22), align 8, !tbaa !63
  %109 = icmp ne ptr %108, null
  br i1 %109, label %110, label %119

110:                                              ; preds = %107
  %111 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 23), align 8, !tbaa !64
  %112 = icmp ne ptr %111, null
  br i1 %112, label %113, label %119

113:                                              ; preds = %110
  %114 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 24), align 8, !tbaa !65
  %115 = icmp ne ptr %114, null
  br i1 %115, label %116, label %119

116:                                              ; preds = %113
  %117 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 25), align 8, !tbaa !66
  %118 = icmp ne ptr %117, null
  br i1 %118, label %120, label %119

119:                                              ; preds = %116, %113, %110, %107, %104, %101, %98, %95, %92, %89, %86, %83, %80, %77, %74, %32
  call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65544, ptr noundef @.str.19)
  call void @_glfwTerminateEGL()
  store i32 0, ptr %1, align 4
  store i32 1, ptr %4, align 4
  br label %145

120:                                              ; preds = %116
  %121 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 12), align 8, !tbaa !53
  %122 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 16), align 8, !tbaa !67
  %123 = call ptr %121(ptr noundef %122)
  store ptr %123, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), align 8, !tbaa !68
  %124 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), align 8, !tbaa !68
  %125 = icmp eq ptr %124, null
  br i1 %125, label %126, label %130

126:                                              ; preds = %120
  %127 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 13), align 8, !tbaa !54
  %128 = call i32 %127()
  %129 = call ptr @getEGLErrorString(i32 noundef %128)
  call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65542, ptr noundef @.str.20, ptr noundef %129)
  call void @_glfwTerminateEGL()
  store i32 0, ptr %1, align 4
  store i32 1, ptr %4, align 4
  br label %145

130:                                              ; preds = %120
  %131 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 14), align 8, !tbaa !55
  %132 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), align 8, !tbaa !68
  %133 = call i32 %131(ptr noundef %132, ptr noundef getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 1), ptr noundef getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 2))
  %134 = icmp ne i32 %133, 0
  br i1 %134, label %139, label %135

135:                                              ; preds = %130
  %136 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 13), align 8, !tbaa !54
  %137 = call i32 %136()
  %138 = call ptr @getEGLErrorString(i32 noundef %137)
  call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65542, ptr noundef @.str.21, ptr noundef %138)
  call void @_glfwTerminateEGL()
  store i32 0, ptr %1, align 4
  store i32 1, ptr %4, align 4
  br label %145

139:                                              ; preds = %130
  %140 = call i32 @extensionSupportedEGL(ptr noundef @.str.22)
  store i32 %140, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 4), align 4, !tbaa !69
  %141 = call i32 @extensionSupportedEGL(ptr noundef @.str.23)
  store i32 %141, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 5), align 8, !tbaa !70
  %142 = call i32 @extensionSupportedEGL(ptr noundef @.str.24)
  store i32 %142, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 6), align 4, !tbaa !71
  %143 = call i32 @extensionSupportedEGL(ptr noundef @.str.25)
  store i32 %143, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 7), align 8, !tbaa !72
  %144 = call i32 @extensionSupportedEGL(ptr noundef @.str.26)
  store i32 %144, ptr getelementptr inbounds (%struct._GLFWlibraryEGL, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 19), i32 0, i32 8), align 4, !tbaa !73
  store i32 1, ptr %1, align 4
  store i32 1, ptr %4, align 4
  br label %145

145:                                              ; preds = %139, %135, %126, %119, %31, %7
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  %146 = load i32, ptr %1, align 4
  ret i32 %146
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #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: nounwind
declare ptr @dlopen(ptr noundef, i32 noundef) #3

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strncmp(ptr noundef, ptr noundef, i64 noundef) #5

; Function Attrs: nounwind
declare ptr @dlsym(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local void @_glfwTerminateEGL() #0

; Function Attrs: nounwind uwtable
declare hidden ptr @getEGLErrorString(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @extensionSupportedEGL(ptr noundef) #0

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = { "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 willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(read) }

!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, !16, i64 133304}
!6 = !{!"_GLFWlibrary", !7, i64 0, !10, 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, !21, i64 130580, !21, i64 130588, !23, i64 130600, !25, i64 130648, !27, i64 130672, !28, i64 130736, !29, i64 130752, !41, i64 132960, !42, i64 133184, !44, i64 133264, !45, i64 133440}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"", !11, i64 0, !13, i64 16, !15, i64 88, !19, i64 920, !7, i64 976}
!11 = !{!"_GLFWinitconfig", !7, i64 0, !12, i64 4}
!12 = !{!"", !7, i64 0, !7, i64 4}
!13 = !{!"_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, !14, i64 64}
!14 = !{!"long", !8, i64 0}
!15 = !{!"_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, !17, i64 56, !18, i64 316}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!"", !7, i64 0, !8, i64 4}
!18 = !{!"", !8, i64 0, !8, i64 256}
!19 = !{!"_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, !20, i64 48}
!20 = !{!"", !7, i64 0}
!21 = !{!"_GLFWtls", !22, i64 0}
!22 = !{!"_GLFWtlsPOSIX", !7, i64 0, !7, i64 4}
!23 = !{!"_GLFWmutex", !24, i64 0}
!24 = !{!"_GLFWmutexPOSIX", !7, i64 0, !8, i64 8}
!25 = !{!"", !14, i64 0, !26, i64 8}
!26 = !{!"_GLFWtimerPOSIX", !7, i64 0, !14, i64 8}
!27 = !{!"", !7, i64 0, !16, i64 8, !8, i64 16, !16, i64 32, !16, i64 40, !7, i64 48, !7, i64 52, !7, i64 56}
!28 = !{!"", !16, i64 0, !16, i64 8}
!29 = !{!"_GLFWlibraryX11", !16, i64 0, !7, i64 8, !14, i64 16, !30, i64 24, !30, i64 28, !14, i64 32, !14, 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, !31, i64 1304, !31, i64 1312, !16, i64 1320, !14, i64 1328, !14, i64 1336, !14, i64 1344, !14, i64 1352, !14, i64 1360, !14, i64 1368, !14, i64 1376, !14, i64 1384, !14, i64 1392, !14, i64 1400, !14, i64 1408, !14, i64 1416, !14, i64 1424, !14, i64 1432, !14, i64 1440, !14, i64 1448, !14, i64 1456, !14, i64 1464, !14, i64 1472, !14, i64 1480, !14, i64 1488, !14, i64 1496, !14, i64 1504, !14, i64 1512, !14, i64 1520, !14, i64 1528, !14, i64 1536, !14, i64 1544, !14, i64 1552, !14, i64 1560, !14, i64 1568, !14, i64 1576, !14, i64 1584, !14, i64 1592, !14, i64 1600, !14, i64 1608, !14, i64 1616, !14, i64 1624, !14, i64 1632, !14, i64 1640, !14, i64 1648, !14, i64 1656, !14, i64 1664, !14, i64 1672, !14, i64 1680, !14, i64 1688, !32, i64 1696, !33, i64 1872, !34, i64 1900, !35, i64 1920, !36, i64 1944, !37, i64 1976, !28, i64 2024, !38, i64 2040, !39, i64 2096, !40, i64 2152}
!30 = !{!"float", !8, i64 0}
!31 = !{!"double", !8, i64 0}
!32 = !{!"", !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}
!33 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24}
!34 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
!35 = !{!"", !7, i64 0, !14, i64 8, !14, i64 16}
!36 = !{!"", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24}
!37 = !{!"", !7, i64 0, !16, i64 8, !7, i64 16, !7, i64 20, !16, i64 24, !16, i64 32, !16, i64 40}
!38 = !{!"", !7, i64 0, !16, i64 8, !7, i64 16, !7, i64 20, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48}
!39 = !{!"", !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}
!40 = !{!"", !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}
!41 = !{!"_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}
!42 = !{!"_GLFWlibraryLinux", !7, i64 0, !7, i64 4, !43, i64 8, !7, i64 72}
!43 = !{!"re_pattern_buffer", !16, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !16, i64 32, !16, i64 40, !14, i64 48, !7, i64 56, !7, i64 56, !7, i64 56, !7, i64 56, !7, i64 56, !7, i64 56, !7, i64 56}
!44 = !{!"_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}
!45 = !{!"_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}
!46 = !{!7, !7, i64 0}
!47 = !{!16, !16, i64 0}
!48 = distinct !{!48, !49}
!49 = !{!"llvm.loop.mustprogress"}
!50 = !{!6, !7, i64 133280}
!51 = !{!6, !16, i64 133312}
!52 = !{!6, !16, i64 133320}
!53 = !{!6, !16, i64 133328}
!54 = !{!6, !16, i64 133336}
!55 = !{!6, !16, i64 133344}
!56 = !{!6, !16, i64 133352}
!57 = !{!6, !16, i64 133360}
!58 = !{!6, !16, i64 133368}
!59 = !{!6, !16, i64 133376}
!60 = !{!6, !16, i64 133384}
!61 = !{!6, !16, i64 133392}
!62 = !{!6, !16, i64 133400}
!63 = !{!6, !16, i64 133408}
!64 = !{!6, !16, i64 133416}
!65 = !{!6, !16, i64 133424}
!66 = !{!6, !16, i64 133432}
!67 = !{!6, !16, i64 130752}
!68 = !{!6, !16, i64 133264}
!69 = !{!6, !7, i64 133284}
!70 = !{!6, !7, i64 133288}
!71 = !{!6, !7, i64 133292}
!72 = !{!6, !7, i64 133296}
!73 = !{!6, !7, i64 133300}


; 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 }

@__const._glfwInitEGL.sonames = external hidden unnamed_addr constant [2 x ptr], align 16
@_glfw = external global %struct._GLFWlibrary, align 8
@.str.1 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [30 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @_glfwInitEGL() local_unnamed_addr #0 {
  %1 = load ptr, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133304), align 8, !tbaa !5
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %.preheader, label %79

.preheader:                                       ; preds = %0
  %2 = load ptr, ptr @__const._glfwInitEGL.sonames, align 16, !tbaa !46
  %.not3744 = icmp eq ptr %2, null
  br i1 %.not3744, label %._crit_edge, label %.lr.ph

3:                                                ; preds = %.lr.ph
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %4 = getelementptr inbounds [2 x ptr], ptr @__const._glfwInitEGL.sonames, i64 0, i64 %indvars.iv.next
  %5 = load ptr, ptr %4, align 8, !tbaa !46
  %.not37 = icmp eq ptr %5, null
  br i1 %.not37, label %._crit_edge, label %.lr.ph, !llvm.loop !47

.lr.ph:                                           ; preds = %.preheader, %3
  %indvars.iv = phi i64 [ %indvars.iv.next, %3 ], [ 0, %.preheader ]
  %6 = phi ptr [ %5, %3 ], [ %2, %.preheader ]
  %7 = tail call ptr @dlopen(ptr noundef nonnull %6, i32 noundef 1) #4
  store ptr %7, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133304), align 8, !tbaa !5
  %.not38 = icmp eq ptr %7, null
  br i1 %.not38, label %3, label %.thread

._crit_edge:                                      ; preds = %3, %.preheader
  tail call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65542, ptr noundef nonnull @.str.1) #4
  br label %79

.thread:                                          ; preds = %.lr.ph
  %8 = tail call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %6, ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef 3) #5
  %9 = icmp eq i32 %8, 0
  %10 = zext i1 %9 to i32
  store i32 %10, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133280), align 8, !tbaa !49
  %11 = tail call ptr @dlsym(ptr noundef nonnull %7, ptr noundef nonnull @.str.3) #4
  store ptr %11, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133312), align 8, !tbaa !50
  %12 = load ptr, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133304), align 8, !tbaa !5
  %13 = tail call ptr @dlsym(ptr noundef %12, ptr noundef nonnull @.str.4) #4
  store ptr %13, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133320), align 8, !tbaa !51
  %14 = load ptr, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133304), align 8, !tbaa !5
  %15 = tail call ptr @dlsym(ptr noundef %14, ptr noundef nonnull @.str.5) #4
  store ptr %15, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133328), align 8, !tbaa !52
  %16 = load ptr, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133304), align 8, !tbaa !5
  %17 = tail call ptr @dlsym(ptr noundef %16, ptr noundef nonnull @.str.6) #4
  store ptr %17, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133336), align 8, !tbaa !53
  %18 = load ptr, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133304), align 8, !tbaa !5
  %19 = tail call ptr @dlsym(ptr noundef %18, ptr noundef nonnull @.str.7) #4
  store ptr %19, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133344), align 8, !tbaa !54
  %20 = load ptr, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133304), align 8, !tbaa !5
  %21 = tail call ptr @dlsym(ptr noundef %20, ptr noundef nonnull @.str.8) #4
  store ptr %21, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133352), align 8, !tbaa !55
  %22 = load ptr, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133304), align 8, !tbaa !5
  %23 = tail call ptr @dlsym(ptr noundef %22, ptr noundef nonnull @.str.9) #4
  store ptr %23, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133360), align 8, !tbaa !56
  %24 = load ptr, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133304), align 8, !tbaa !5
  %25 = tail call ptr @dlsym(ptr noundef %24, ptr noundef nonnull @.str.10) #4
  store ptr %25, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133368), align 8, !tbaa !57
  %26 = load ptr, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133304), align 8, !tbaa !5
  %27 = tail call ptr @dlsym(ptr noundef %26, ptr noundef nonnull @.str.11) #4
  store ptr %27, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133376), align 8, !tbaa !58
  %28 = load ptr, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133304), align 8, !tbaa !5
  %29 = tail call ptr @dlsym(ptr noundef %28, ptr noundef nonnull @.str.12) #4
  store ptr %29, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133384), align 8, !tbaa !59
  %30 = load ptr, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133304), align 8, !tbaa !5
  %31 = tail call ptr @dlsym(ptr noundef %30, ptr noundef nonnull @.str.13) #4
  store ptr %31, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133392), align 8, !tbaa !60
  %32 = load ptr, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133304), align 8, !tbaa !5
  %33 = tail call ptr @dlsym(ptr noundef %32, ptr noundef nonnull @.str.14) #4
  store ptr %33, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133400), align 8, !tbaa !61
  %34 = load ptr, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133304), align 8, !tbaa !5
  %35 = tail call ptr @dlsym(ptr noundef %34, ptr noundef nonnull @.str.15) #4
  store ptr %35, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133408), align 8, !tbaa !62
  %36 = load ptr, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133304), align 8, !tbaa !5
  %37 = tail call ptr @dlsym(ptr noundef %36, ptr noundef nonnull @.str.16) #4
  store ptr %37, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133416), align 8, !tbaa !63
  %38 = load ptr, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133304), align 8, !tbaa !5
  %39 = tail call ptr @dlsym(ptr noundef %38, ptr noundef nonnull @.str.17) #4
  store ptr %39, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133424), align 8, !tbaa !64
  %40 = load ptr, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133304), align 8, !tbaa !5
  %41 = tail call ptr @dlsym(ptr noundef %40, ptr noundef nonnull @.str.18) #4
  store ptr %41, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133432), align 8, !tbaa !65
  %42 = load <8 x ptr>, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133312), align 8
  %43 = load <4 x ptr>, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133376), align 8
  %44 = load <2 x ptr>, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133408), align 8
  %45 = load ptr, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133424), align 8
  %46 = shufflevector <8 x ptr> %42, <8 x ptr> poison, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison>
  %47 = shufflevector <4 x ptr> %43, <4 x ptr> poison, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison>
  %48 = shufflevector <16 x ptr> %46, <16 x ptr> %47, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 16, i32 17, i32 18, i32 19, i32 poison, i32 poison, i32 poison, i32 poison>
  %49 = shufflevector <2 x ptr> %44, <2 x ptr> poison, <16 x i32> <i32 0, i32 1, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison, i32 poison>
  %50 = shufflevector <16 x ptr> %48, <16 x ptr> %49, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 16, i32 17, i32 poison, i32 poison>
  %51 = insertelement <16 x ptr> %50, ptr %45, i64 14
  %52 = insertelement <16 x ptr> %51, ptr %41, i64 15
  %.fr = freeze <16 x ptr> %52
  %53 = icmp eq <16 x ptr> %.fr, zeroinitializer
  %54 = bitcast <16 x i1> %53 to i16
  %55 = icmp eq i16 %54, 0
  br i1 %55, label %57, label %56

56:                                               ; preds = %.thread
  tail call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65544, ptr noundef nonnull @.str.19) #4
  tail call void @_glfwTerminateEGL()
  br label %79

57:                                               ; preds = %.thread
  %58 = load ptr, ptr getelementptr inbounds (i8, ptr @_glfw, i64 130752), align 8, !tbaa !66
  %59 = extractelement <8 x ptr> %42, i64 2
  %60 = tail call ptr %59(ptr noundef %58) #4
  store ptr %60, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133264), align 8, !tbaa !67
  %61 = icmp eq ptr %60, null
  br i1 %61, label %62, label %66

62:                                               ; preds = %57
  %63 = load ptr, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133336), align 8, !tbaa !53
  %64 = tail call i32 %63() #4
  %65 = tail call ptr @getEGLErrorString(i32 noundef %64)
  tail call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65542, ptr noundef nonnull @.str.20, ptr noundef %65) #4
  tail call void @_glfwTerminateEGL()
  br label %79

66:                                               ; preds = %57
  %67 = load ptr, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133344), align 8, !tbaa !54
  %68 = tail call i32 %67(ptr noundef nonnull %60, ptr noundef nonnull getelementptr inbounds (i8, ptr @_glfw, i64 133272), ptr noundef nonnull getelementptr inbounds (i8, ptr @_glfw, i64 133276)) #4
  %.not40 = icmp eq i32 %68, 0
  br i1 %.not40, label %69, label %73

69:                                               ; preds = %66
  %70 = load ptr, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133336), align 8, !tbaa !53
  %71 = tail call i32 %70() #4
  %72 = tail call ptr @getEGLErrorString(i32 noundef %71)
  tail call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65542, ptr noundef nonnull @.str.21, ptr noundef %72) #4
  tail call void @_glfwTerminateEGL()
  br label %79

73:                                               ; preds = %66
  %74 = tail call i32 @extensionSupportedEGL(ptr noundef nonnull @.str.22)
  store i32 %74, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133284), align 4, !tbaa !68
  %75 = tail call i32 @extensionSupportedEGL(ptr noundef nonnull @.str.23)
  store i32 %75, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133288), align 8, !tbaa !69
  %76 = tail call i32 @extensionSupportedEGL(ptr noundef nonnull @.str.24)
  store i32 %76, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133292), align 4, !tbaa !70
  %77 = tail call i32 @extensionSupportedEGL(ptr noundef nonnull @.str.25)
  store i32 %77, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133296), align 8, !tbaa !71
  %78 = tail call i32 @extensionSupportedEGL(ptr noundef nonnull @.str.26)
  store i32 %78, ptr getelementptr inbounds (i8, ptr @_glfw, i64 133300), align 4, !tbaa !72
  br label %79

79:                                               ; preds = %0, %73, %69, %62, %56, %._crit_edge
  %.034 = phi i32 [ 0, %62 ], [ 1, %73 ], [ 0, %69 ], [ 0, %56 ], [ 0, %._crit_edge ], [ 1, %0 ]
  ret i32 %.034
}

; Function Attrs: nounwind
declare ptr @dlopen(ptr noundef, i32 noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strncmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: nounwind
declare ptr @dlsym(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @_glfwTerminateEGL() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden ptr @getEGLErrorString(i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @extensionSupportedEGL(ptr noundef) local_unnamed_addr #0

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

!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, !16, i64 133304}
!6 = !{!"_GLFWlibrary", !7, i64 0, !10, 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, !21, i64 130580, !21, i64 130588, !23, i64 130600, !25, i64 130648, !27, i64 130672, !28, i64 130736, !29, i64 130752, !41, i64 132960, !42, i64 133184, !44, i64 133264, !45, i64 133440}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"", !11, i64 0, !13, i64 16, !15, i64 88, !19, i64 920, !7, i64 976}
!11 = !{!"_GLFWinitconfig", !7, i64 0, !12, i64 4}
!12 = !{!"", !7, i64 0, !7, i64 4}
!13 = !{!"_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, !14, i64 64}
!14 = !{!"long", !8, i64 0}
!15 = !{!"_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, !17, i64 56, !18, i64 316}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!"", !7, i64 0, !8, i64 4}
!18 = !{!"", !8, i64 0, !8, i64 256}
!19 = !{!"_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, !20, i64 48}
!20 = !{!"", !7, i64 0}
!21 = !{!"_GLFWtls", !22, i64 0}
!22 = !{!"_GLFWtlsPOSIX", !7, i64 0, !7, i64 4}
!23 = !{!"_GLFWmutex", !24, i64 0}
!24 = !{!"_GLFWmutexPOSIX", !7, i64 0, !8, i64 8}
!25 = !{!"", !14, i64 0, !26, i64 8}
!26 = !{!"_GLFWtimerPOSIX", !7, i64 0, !14, i64 8}
!27 = !{!"", !7, i64 0, !16, i64 8, !8, i64 16, !16, i64 32, !16, i64 40, !7, i64 48, !7, i64 52, !7, i64 56}
!28 = !{!"", !16, i64 0, !16, i64 8}
!29 = !{!"_GLFWlibraryX11", !16, i64 0, !7, i64 8, !14, i64 16, !30, i64 24, !30, i64 28, !14, i64 32, !14, 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, !31, i64 1304, !31, i64 1312, !16, i64 1320, !14, i64 1328, !14, i64 1336, !14, i64 1344, !14, i64 1352, !14, i64 1360, !14, i64 1368, !14, i64 1376, !14, i64 1384, !14, i64 1392, !14, i64 1400, !14, i64 1408, !14, i64 1416, !14, i64 1424, !14, i64 1432, !14, i64 1440, !14, i64 1448, !14, i64 1456, !14, i64 1464, !14, i64 1472, !14, i64 1480, !14, i64 1488, !14, i64 1496, !14, i64 1504, !14, i64 1512, !14, i64 1520, !14, i64 1528, !14, i64 1536, !14, i64 1544, !14, i64 1552, !14, i64 1560, !14, i64 1568, !14, i64 1576, !14, i64 1584, !14, i64 1592, !14, i64 1600, !14, i64 1608, !14, i64 1616, !14, i64 1624, !14, i64 1632, !14, i64 1640, !14, i64 1648, !14, i64 1656, !14, i64 1664, !14, i64 1672, !14, i64 1680, !14, i64 1688, !32, i64 1696, !33, i64 1872, !34, i64 1900, !35, i64 1920, !36, i64 1944, !37, i64 1976, !28, i64 2024, !38, i64 2040, !39, i64 2096, !40, i64 2152}
!30 = !{!"float", !8, i64 0}
!31 = !{!"double", !8, i64 0}
!32 = !{!"", !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}
!33 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24}
!34 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16}
!35 = !{!"", !7, i64 0, !14, i64 8, !14, i64 16}
!36 = !{!"", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24}
!37 = !{!"", !7, i64 0, !16, i64 8, !7, i64 16, !7, i64 20, !16, i64 24, !16, i64 32, !16, i64 40}
!38 = !{!"", !7, i64 0, !16, i64 8, !7, i64 16, !7, i64 20, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48}
!39 = !{!"", !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}
!40 = !{!"", !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}
!41 = !{!"_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}
!42 = !{!"_GLFWlibraryLinux", !7, i64 0, !7, i64 4, !43, i64 8, !7, i64 72}
!43 = !{!"re_pattern_buffer", !16, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !16, i64 32, !16, i64 40, !14, i64 48, !7, i64 56, !7, i64 56, !7, i64 56, !7, i64 56, !7, i64 56, !7, i64 56, !7, i64 56}
!44 = !{!"_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}
!45 = !{!"_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}
!46 = !{!16, !16, i64 0}
!47 = distinct !{!47, !48}
!48 = !{!"llvm.loop.mustprogress"}
!49 = !{!6, !7, i64 133280}
!50 = !{!6, !16, i64 133312}
!51 = !{!6, !16, i64 133320}
!52 = !{!6, !16, i64 133328}
!53 = !{!6, !16, i64 133336}
!54 = !{!6, !16, i64 133344}
!55 = !{!6, !16, i64 133352}
!56 = !{!6, !16, i64 133360}
!57 = !{!6, !16, i64 133368}
!58 = !{!6, !16, i64 133376}
!59 = !{!6, !16, i64 133384}
!60 = !{!6, !16, i64 133392}
!61 = !{!6, !16, i64 133400}
!62 = !{!6, !16, i64 133408}
!63 = !{!6, !16, i64 133416}
!64 = !{!6, !16, i64 133424}
!65 = !{!6, !16, i64 133432}
!66 = !{!6, !16, i64 130752}
!67 = !{!6, !16, i64 133264}
!68 = !{!6, !7, i64 133284}
!69 = !{!6, !7, i64 133288}
!70 = !{!6, !7, i64 133292}
!71 = !{!6, !7, i64 133296}
!72 = !{!6, !7, i64 133300}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass