; LLVM IR from erincatto/box2d-lite :: extern/glfw/src (window)

; 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.3, ptr, ptr, ptr, ptr, i32, [16 x %struct._GLFWjoystick], ptr, i32, %struct._GLFWtls, %struct._GLFWtls, %struct._GLFWmutex, %struct.anon.5, %struct.anon.6, %struct.anon.7, %struct._GLFWlibraryX11, %struct._GLFWlibraryGLX, %struct._GLFWlibraryLinux, %struct._GLFWlibraryEGL, %struct._GLFWlibraryOSMesa }
%struct.anon.3 = type { %struct._GLFWinitconfig, %struct._GLFWfbconfig, %struct._GLFWwndconfig, %struct._GLFWctxconfig, i32 }
%struct._GLFWinitconfig = type { i32, %struct.anon.4 }
%struct.anon.4 = 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.0 }
%struct.anon.0 = 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.5 = type { i64, %struct._GLFWtimerPOSIX }
%struct._GLFWtimerPOSIX = type { i32, i64 }
%struct.anon.6 = type { i32, ptr, [2 x ptr], ptr, ptr, i32, i32, i32 }
%struct.anon.7 = 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.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.17 }
%struct.anon.8 = 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.9 = type { i32, i32, i32, i32, i32, i32, i32 }
%struct.anon.10 = type { i32, i32, i32, i32, i32 }
%struct.anon.11 = type { i32, i64, i64 }
%struct.anon.12 = type { ptr, ptr, ptr, ptr }
%struct.anon.13 = type { i32, ptr, i32, i32, ptr, ptr, ptr }
%struct.anon.14 = type { ptr, ptr }
%struct.anon.15 = type { i32, ptr, i32, i32, ptr, ptr, ptr, ptr }
%struct.anon.16 = type { i32, ptr, i32, i32, i32, i32, i32, ptr, ptr }
%struct.anon.17 = 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, %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 = 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 }

@.str = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [79 x i8], align 1
@__PRETTY_FUNCTION__.glfwCreateWindow = external hidden unnamed_addr constant [82 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@_glfw = external global %struct._GLFWlibrary, align 8
@.str.4 = external hidden unnamed_addr constant [26 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

; 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 ptr @glfwCreateWindow(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #1 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %struct._GLFWfbconfig, align 8
  %13 = alloca %struct._GLFWctxconfig, align 8
  %14 = alloca %struct._GLFWwndconfig, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  store i32 %0, ptr %7, align 4, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !9
  store ptr %3, ptr %10, align 8, !tbaa !9
  store ptr %4, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 72, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 56, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 832, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %19 = load ptr, ptr %9, align 8, !tbaa !9
  %20 = icmp ne ptr %19, null
  br i1 %20, label %21, label %22

21:                                               ; preds = %5
  br label %23

22:                                               ; preds = %5
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 161, ptr noundef @__PRETTY_FUNCTION__.glfwCreateWindow) #7
  unreachable

23:                                               ; preds = %21
  %24 = load i32, ptr %7, align 4, !tbaa !5
  %25 = icmp sge i32 %24, 0
  br i1 %25, label %26, label %27

26:                                               ; preds = %23
  br label %28

27:                                               ; preds = %23
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 162, ptr noundef @__PRETTY_FUNCTION__.glfwCreateWindow) #7
  unreachable

28:                                               ; preds = %26
  %29 = load i32, ptr %8, align 4, !tbaa !5
  %30 = icmp sge i32 %29, 0
  br i1 %30, label %31, label %32

31:                                               ; preds = %28
  br label %33

32:                                               ; preds = %28
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 163, ptr noundef @__PRETTY_FUNCTION__.glfwCreateWindow) #7
  unreachable

33:                                               ; preds = %31
  %34 = load i32, ptr @_glfw, align 8, !tbaa !11
  %35 = icmp ne i32 %34, 0
  br i1 %35, label %37, label %36

36:                                               ; preds = %33
  call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65537, ptr noundef null)
  store ptr null, ptr %6, align 8
  store i32 1, ptr %16, align 4
  br label %178

37:                                               ; preds = %33
  %38 = load i32, ptr %7, align 4, !tbaa !5
  %39 = icmp sle i32 %38, 0
  br i1 %39, label %43, label %40

40:                                               ; preds = %37
  %41 = load i32, ptr %8, align 4, !tbaa !5
  %42 = icmp sle i32 %41, 0
  br i1 %42, label %43, label %46

43:                                               ; preds = %40, %37
  %44 = load i32, ptr %7, align 4, !tbaa !5
  %45 = load i32, ptr %8, align 4, !tbaa !5
  call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65540, ptr noundef @.str.4, i32 noundef %44, i32 noundef %45)
  store ptr null, ptr %6, align 8
  store i32 1, ptr %16, align 4
  br label %178

46:                                               ; preds = %40
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 getelementptr inbounds (%struct.anon.3, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 1), i32 0, i32 1), i64 72, i1 false), !tbaa.struct !48
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 getelementptr inbounds (%struct.anon.3, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 1), i32 0, i32 3), i64 56, i1 false), !tbaa.struct !50
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 8 getelementptr inbounds (%struct.anon.3, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 1), i32 0, i32 2), i64 832, i1 false), !tbaa.struct !51
  %47 = load i32, ptr %7, align 4, !tbaa !5
  %48 = getelementptr inbounds %struct._GLFWwndconfig, ptr %14, i32 0, i32 0
  store i32 %47, ptr %48, align 8, !tbaa !53
  %49 = load i32, ptr %8, align 4, !tbaa !5
  %50 = getelementptr inbounds %struct._GLFWwndconfig, ptr %14, i32 0, i32 1
  store i32 %49, ptr %50, align 4, !tbaa !54
  %51 = load ptr, ptr %9, align 8, !tbaa !9
  %52 = getelementptr inbounds %struct._GLFWwndconfig, ptr %14, i32 0, i32 2
  store ptr %51, ptr %52, align 8, !tbaa !55
  %53 = load ptr, ptr %11, align 8, !tbaa !9
  %54 = getelementptr inbounds %struct._GLFWctxconfig, ptr %13, i32 0, i32 10
  store ptr %53, ptr %54, align 8, !tbaa !56
  %55 = call i32 @_glfwIsValidContextConfig(ptr noundef %13)
  %56 = icmp ne i32 %55, 0
  br i1 %56, label %58, label %57

57:                                               ; preds = %46
  store ptr null, ptr %6, align 8
  store i32 1, ptr %16, align 4
  br label %178

58:                                               ; preds = %46
  %59 = call noalias ptr @calloc(i64 noundef 1, i64 noundef 904) #8
  store ptr %59, ptr %15, align 8, !tbaa !9
  %60 = load ptr, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 4), align 8, !tbaa !57
  %61 = load ptr, ptr %15, align 8, !tbaa !9
  %62 = getelementptr inbounds %struct._GLFWwindow, ptr %61, i32 0, i32 0
  store ptr %60, ptr %62, align 8, !tbaa !58
  %63 = load ptr, ptr %15, align 8, !tbaa !9
  store ptr %63, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 4), align 8, !tbaa !57
  %64 = load i32, ptr %7, align 4, !tbaa !5
  %65 = load ptr, ptr %15, align 8, !tbaa !9
  %66 = getelementptr inbounds %struct._GLFWwindow, ptr %65, i32 0, i32 8
  %67 = getelementptr inbounds %struct.GLFWvidmode, ptr %66, i32 0, i32 0
  store i32 %64, ptr %67, align 8, !tbaa !67
  %68 = load i32, ptr %8, align 4, !tbaa !5
  %69 = load ptr, ptr %15, align 8, !tbaa !9
  %70 = getelementptr inbounds %struct._GLFWwindow, ptr %69, i32 0, i32 8
  %71 = getelementptr inbounds %struct.GLFWvidmode, ptr %70, i32 0, i32 1
  store i32 %68, ptr %71, align 4, !tbaa !68
  %72 = getelementptr inbounds %struct._GLFWfbconfig, ptr %12, i32 0, i32 0
  %73 = load i32, ptr %72, align 8, !tbaa !69
  %74 = load ptr, ptr %15, align 8, !tbaa !9
  %75 = getelementptr inbounds %struct._GLFWwindow, ptr %74, i32 0, i32 8
  %76 = getelementptr inbounds %struct.GLFWvidmode, ptr %75, i32 0, i32 2
  store i32 %73, ptr %76, align 8, !tbaa !70
  %77 = getelementptr inbounds %struct._GLFWfbconfig, ptr %12, i32 0, i32 1
  %78 = load i32, ptr %77, align 4, !tbaa !71
  %79 = load ptr, ptr %15, align 8, !tbaa !9
  %80 = getelementptr inbounds %struct._GLFWwindow, ptr %79, i32 0, i32 8
  %81 = getelementptr inbounds %struct.GLFWvidmode, ptr %80, i32 0, i32 3
  store i32 %78, ptr %81, align 4, !tbaa !72
  %82 = getelementptr inbounds %struct._GLFWfbconfig, ptr %12, i32 0, i32 2
  %83 = load i32, ptr %82, align 8, !tbaa !73
  %84 = load ptr, ptr %15, align 8, !tbaa !9
  %85 = getelementptr inbounds %struct._GLFWwindow, ptr %84, i32 0, i32 8
  %86 = getelementptr inbounds %struct.GLFWvidmode, ptr %85, i32 0, i32 4
  store i32 %83, ptr %86, align 8, !tbaa !74
  %87 = load i32, ptr getelementptr inbounds (%struct.anon.3, ptr getelementptr inbounds (%struct._GLFWlibrary, ptr @_glfw, i32 0, i32 1), i32 0, i32 4), align 8, !tbaa !75
  %88 = load ptr, ptr %15, align 8, !tbaa !9
  %89 = getelementptr inbounds %struct._GLFWwindow, ptr %88, i32 0, i32 8
  %90 = getelementptr inbounds %struct.GLFWvidmode, ptr %89, i32 0, i32 5
  store i32 %87, ptr %90, align 4, !tbaa !76
  %91 = load ptr, ptr %10, align 8, !tbaa !9
  %92 = load ptr, ptr %15, align 8, !tbaa !9
  %93 = getelementptr inbounds %struct._GLFWwindow, ptr %92, i32 0, i32 9
  store ptr %91, ptr %93, align 8, !tbaa !77
  %94 = getelementptr inbounds %struct._GLFWwndconfig, ptr %14, i32 0, i32 3
  %95 = load i32, ptr %94, align 8, !tbaa !78
  %96 = load ptr, ptr %15, align 8, !tbaa !9
  %97 = getelementptr inbounds %struct._GLFWwindow, ptr %96, i32 0, i32 1
  store i32 %95, ptr %97, align 8, !tbaa !79
  %98 = getelementptr inbounds %struct._GLFWwndconfig, ptr %14, i32 0, i32 5
  %99 = load i32, ptr %98, align 8, !tbaa !80
  %100 = load ptr, ptr %15, align 8, !tbaa !9
  %101 = getelementptr inbounds %struct._GLFWwindow, ptr %100, i32 0, i32 2
  store i32 %99, ptr %101, align 4, !tbaa !81
  %102 = getelementptr inbounds %struct._GLFWwndconfig, ptr %14, i32 0, i32 7
  %103 = load i32, ptr %102, align 8, !tbaa !82
  %104 = load ptr, ptr %15, align 8, !tbaa !9
  %105 = getelementptr inbounds %struct._GLFWwindow, ptr %104, i32 0, i32 3
  store i32 %103, ptr %105, align 8, !tbaa !83
  %106 = getelementptr inbounds %struct._GLFWwndconfig, ptr %14, i32 0, i32 8
  %107 = load i32, ptr %106, align 4, !tbaa !84
  %108 = load ptr, ptr %15, align 8, !tbaa !9
  %109 = getelementptr inbounds %struct._GLFWwindow, ptr %108, i32 0, i32 4
  store i32 %107, ptr %109, align 4, !tbaa !85
  %110 = getelementptr inbounds %struct._GLFWwndconfig, ptr %14, i32 0, i32 11
  %111 = load i32, ptr %110, align 8, !tbaa !86
  %112 = load ptr, ptr %15, align 8, !tbaa !9
  %113 = getelementptr inbounds %struct._GLFWwindow, ptr %112, i32 0, i32 5
  store i32 %111, ptr %113, align 8, !tbaa !87
  %114 = load ptr, ptr %15, align 8, !tbaa !9
  %115 = getelementptr inbounds %struct._GLFWwindow, ptr %114, i32 0, i32 20
  store i32 212993, ptr %115, align 4, !tbaa !88
  %116 = load ptr, ptr %15, align 8, !tbaa !9
  %117 = getelementptr inbounds %struct._GLFWwindow, ptr %116, i32 0, i32 11
  store i32 -1, ptr %117, align 8, !tbaa !89
  %118 = load ptr, ptr %15, align 8, !tbaa !9
  %119 = getelementptr inbounds %struct._GLFWwindow, ptr %118, i32 0, i32 12
  store i32 -1, ptr %119, align 4, !tbaa !90
  %120 = load ptr, ptr %15, align 8, !tbaa !9
  %121 = getelementptr inbounds %struct._GLFWwindow, ptr %120, i32 0, i32 13
  store i32 -1, ptr %121, align 8, !tbaa !91
  %122 = load ptr, ptr %15, align 8, !tbaa !9
  %123 = getelementptr inbounds %struct._GLFWwindow, ptr %122, i32 0, i32 14
  store i32 -1, ptr %123, align 4, !tbaa !92
  %124 = load ptr, ptr %15, align 8, !tbaa !9
  %125 = getelementptr inbounds %struct._GLFWwindow, ptr %124, i32 0, i32 15
  store i32 -1, ptr %125, align 8, !tbaa !93
  %126 = load ptr, ptr %15, align 8, !tbaa !9
  %127 = getelementptr inbounds %struct._GLFWwindow, ptr %126, i32 0, i32 16
  store i32 -1, ptr %127, align 4, !tbaa !94
  %128 = load ptr, ptr %15, align 8, !tbaa !9
  %129 = call i32 @_glfwPlatformCreateWindow(ptr noundef %128, ptr noundef %14, ptr noundef %13, ptr noundef %12)
  %130 = icmp ne i32 %129, 0
  br i1 %130, label %133, label %131

131:                                              ; preds = %58
  %132 = load ptr, ptr %15, align 8, !tbaa !9
  call void @glfwDestroyWindow(ptr noundef %132)
  store ptr null, ptr %6, align 8
  store i32 1, ptr %16, align 4
  br label %178

133:                                              ; preds = %58
  %134 = getelementptr inbounds %struct._GLFWctxconfig, ptr %13, i32 0, i32 0
  %135 = load i32, ptr %134, align 8, !tbaa !95
  %136 = icmp ne i32 %135, 0
  br i1 %136, label %137, label %144

137:                                              ; preds = %133
  %138 = load ptr, ptr %15, align 8, !tbaa !9
  %139 = call i32 @_glfwRefreshContextAttribs(ptr noundef %138, ptr noundef %13)
  %140 = icmp ne i32 %139, 0
  br i1 %140, label %143, label %141

141:                                              ; preds = %137
  %142 = load ptr, ptr %15, align 8, !tbaa !9
  call void @glfwDestroyWindow(ptr noundef %142)
  store ptr null, ptr %6, align 8
  store i32 1, ptr %16, align 4
  br label %178

143:                                              ; preds = %137
  br label %144

144:                                              ; preds = %143, %133
  %145 = load ptr, ptr %15, align 8, !tbaa !9
  %146 = getelementptr inbounds %struct._GLFWwindow, ptr %145, i32 0, i32 9
  %147 = load ptr, ptr %146, align 8, !tbaa !77
  %148 = icmp ne ptr %147, null
  br i1 %148, label %149, label %163

149:                                              ; preds = %144
  %150 = getelementptr inbounds %struct._GLFWwndconfig, ptr %14, i32 0, i32 10
  %151 = load i32, ptr %150, align 4, !tbaa !96
  %152 = icmp ne i32 %151, 0
  br i1 %152, label %153, label %162

153:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  %154 = load ptr, ptr %15, align 8, !tbaa !9
  call void @_glfwPlatformGetWindowSize(ptr noundef %154, ptr noundef %17, ptr noundef %18)
  %155 = load ptr, ptr %15, align 8, !tbaa !9
  %156 = load i32, ptr %17, align 4, !tbaa !5
  %157 = sitofp i32 %156 to double
  %158 = fdiv double %157, 2.000000e+00
  %159 = load i32, ptr %18, align 4, !tbaa !5
  %160 = sitofp i32 %159 to double
  %161 = fdiv double %160, 2.000000e+00
  call void @_glfwPlatformSetCursorPos(ptr noundef %155, double noundef %158, double noundef %161)
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %162

162:                                              ; preds = %153, %149
  br label %176

163:                                              ; preds = %144
  %164 = getelementptr inbounds %struct._GLFWwndconfig, ptr %14, i32 0, i32 4
  %165 = load i32, ptr %164, align 4, !tbaa !97
  %166 = icmp ne i32 %165, 0
  br i1 %166, label %167, label %175

167:                                              ; preds = %163
  %168 = load ptr, ptr %15, align 8, !tbaa !9
  call void @_glfwPlatformShowWindow(ptr noundef %168)
  %169 = getelementptr inbounds %struct._GLFWwndconfig, ptr %14, i32 0, i32 6
  %170 = load i32, ptr %169, align 4, !tbaa !98
  %171 = icmp ne i32 %170, 0
  br i1 %171, label %172, label %174

172:                                              ; preds = %167
  %173 = load ptr, ptr %15, align 8, !tbaa !9
  call void @_glfwPlatformFocusWindow(ptr noundef %173)
  br label %174

174:                                              ; preds = %172, %167
  br label %175

175:                                              ; preds = %174, %163
  br label %176

176:                                              ; preds = %175, %162
  %177 = load ptr, ptr %15, align 8, !tbaa !9
  store ptr %177, ptr %6, align 8
  store i32 1, ptr %16, align 4
  br label %178

178:                                              ; preds = %176, %141, %131, %57, %43, %36
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 832, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr %12) #6
  %179 = load ptr, ptr %6, align 8
  ret ptr %179
}

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

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

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

declare i32 @_glfwIsValidContextConfig(ptr noundef) #3

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #5

declare i32 @_glfwPlatformCreateWindow(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local void @glfwDestroyWindow(ptr noundef) #1

declare i32 @_glfwRefreshContextAttribs(ptr noundef, ptr noundef) #3

declare void @_glfwPlatformGetWindowSize(ptr noundef, ptr noundef, ptr noundef) #3

declare void @_glfwPlatformSetCursorPos(ptr noundef, double noundef, double noundef) #3

declare void @_glfwPlatformShowWindow(ptr noundef) #3

declare void @_glfwPlatformFocusWindow(ptr noundef) #3

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

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_GLFWlibrary", !6, i64 0, !13, i64 8, !10, i64 992, !10, i64 1000, !10, i64 1008, !10, i64 1016, !6, i64 1024, !7, i64 1032, !10, i64 130568, !6, i64 130576, !23, i64 130580, !23, i64 130588, !25, i64 130600, !27, i64 130648, !29, i64 130672, !30, i64 130736, !31, i64 130752, !43, i64 132960, !44, i64 133184, !46, i64 133264, !47, i64 133440}
!13 = !{!"", !14, i64 0, !16, i64 16, !18, i64 88, !21, i64 920, !6, i64 976}
!14 = !{!"_GLFWinitconfig", !6, i64 0, !15, i64 4}
!15 = !{!"", !6, i64 0, !6, i64 4}
!16 = !{!"_GLFWfbconfig", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !6, i64 48, !6, i64 52, !6, i64 56, !6, i64 60, !17, i64 64}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_GLFWwndconfig", !6, i64 0, !6, i64 4, !10, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !6, i64 48, !6, i64 52, !19, i64 56, !20, i64 316}
!19 = !{!"", !6, i64 0, !7, i64 4}
!20 = !{!"", !7, i64 0, !7, i64 256}
!21 = !{!"_GLFWctxconfig", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !10, i64 40, !22, i64 48}
!22 = !{!"", !6, i64 0}
!23 = !{!"_GLFWtls", !24, i64 0}
!24 = !{!"_GLFWtlsPOSIX", !6, i64 0, !6, i64 4}
!25 = !{!"_GLFWmutex", !26, i64 0}
!26 = !{!"_GLFWmutexPOSIX", !6, i64 0, !7, i64 8}
!27 = !{!"", !17, i64 0, !28, i64 8}
!28 = !{!"_GLFWtimerPOSIX", !6, i64 0, !17, i64 8}
!29 = !{!"", !6, i64 0, !10, i64 8, !7, i64 16, !10, i64 32, !10, i64 40, !6, i64 48, !6, i64 52, !6, i64 56}
!30 = !{!"", !10, i64 0, !10, i64 8}
!31 = !{!"_GLFWlibraryX11", !10, i64 0, !6, i64 8, !17, i64 16, !32, i64 24, !32, i64 28, !17, i64 32, !17, i64 40, !6, i64 48, !10, i64 56, !6, i64 64, !10, i64 72, !10, i64 80, !7, i64 88, !7, i64 94, !7, i64 606, !33, i64 1304, !33, i64 1312, !10, i64 1320, !17, i64 1328, !17, i64 1336, !17, i64 1344, !17, i64 1352, !17, i64 1360, !17, i64 1368, !17, i64 1376, !17, i64 1384, !17, i64 1392, !17, i64 1400, !17, i64 1408, !17, i64 1416, !17, i64 1424, !17, i64 1432, !17, i64 1440, !17, i64 1448, !17, i64 1456, !17, i64 1464, !17, i64 1472, !17, i64 1480, !17, i64 1488, !17, i64 1496, !17, i64 1504, !17, i64 1512, !17, i64 1520, !17, i64 1528, !17, i64 1536, !17, i64 1544, !17, i64 1552, !17, i64 1560, !17, i64 1568, !17, i64 1576, !17, i64 1584, !17, i64 1592, !17, i64 1600, !17, i64 1608, !17, i64 1616, !17, i64 1624, !17, i64 1632, !17, i64 1640, !17, i64 1648, !17, i64 1656, !17, i64 1664, !17, i64 1672, !17, i64 1680, !17, i64 1688, !34, i64 1696, !35, i64 1872, !36, i64 1900, !37, i64 1920, !38, i64 1944, !39, i64 1976, !30, i64 2024, !40, i64 2040, !41, i64 2096, !42, i64 2152}
!32 = !{!"float", !7, i64 0}
!33 = !{!"double", !7, i64 0}
!34 = !{!"", !6, i64 0, !10, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168}
!35 = !{!"", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24}
!36 = !{!"", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16}
!37 = !{!"", !6, i64 0, !17, i64 8, !17, i64 16}
!38 = !{!"", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!39 = !{!"", !6, i64 0, !10, i64 8, !6, i64 16, !6, i64 20, !10, i64 24, !10, i64 32, !10, i64 40}
!40 = !{!"", !6, i64 0, !10, i64 8, !6, i64 16, !6, i64 20, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48}
!41 = !{!"", !6, i64 0, !10, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !10, i64 40, !10, i64 48}
!42 = !{!"", !6, i64 0, !10, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !10, i64 32, !10, i64 40, !10, i64 48}
!43 = !{!"_GLFWlibraryGLX", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !6, i64 176, !6, i64 180, !6, i64 184, !6, i64 188, !6, i64 192, !6, i64 196, !6, i64 200, !6, i64 204, !6, i64 208, !6, i64 212, !6, i64 216, !6, i64 220}
!44 = !{!"_GLFWlibraryLinux", !6, i64 0, !6, i64 4, !45, i64 8, !6, i64 72}
!45 = !{!"re_pattern_buffer", !10, i64 0, !17, i64 8, !17, i64 16, !17, i64 24, !10, i64 32, !10, i64 40, !17, i64 48, !6, i64 56, !6, i64 56, !6, i64 56, !6, i64 56, !6, i64 56, !6, i64 56, !6, i64 56}
!46 = !{!"_GLFWlibraryEGL", !10, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168}
!47 = !{!"_GLFWlibraryOSMesa", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56}
!48 = !{i64 0, i64 4, !5, i64 4, i64 4, !5, i64 8, i64 4, !5, i64 12, i64 4, !5, i64 16, i64 4, !5, i64 20, i64 4, !5, i64 24, i64 4, !5, i64 28, i64 4, !5, i64 32, i64 4, !5, i64 36, i64 4, !5, i64 40, i64 4, !5, i64 44, i64 4, !5, i64 48, i64 4, !5, i64 52, i64 4, !5, i64 56, i64 4, !5, i64 60, i64 4, !5, i64 64, i64 8, !49}
!49 = !{!17, !17, i64 0}
!50 = !{i64 0, i64 4, !5, i64 4, i64 4, !5, i64 8, i64 4, !5, i64 12, i64 4, !5, i64 16, i64 4, !5, i64 20, i64 4, !5, i64 24, i64 4, !5, i64 28, i64 4, !5, i64 32, i64 4, !5, i64 36, i64 4, !5, i64 40, i64 8, !9, i64 48, i64 4, !5}
!51 = !{i64 0, i64 4, !5, i64 4, i64 4, !5, i64 8, i64 8, !9, i64 16, i64 4, !5, i64 20, i64 4, !5, i64 24, i64 4, !5, i64 28, i64 4, !5, i64 32, i64 4, !5, i64 36, i64 4, !5, i64 40, i64 4, !5, i64 44, i64 4, !5, i64 48, i64 4, !5, i64 52, i64 4, !5, i64 56, i64 4, !5, i64 60, i64 256, !52, i64 316, i64 256, !52, i64 572, i64 256, !52}
!52 = !{!7, !7, i64 0}
!53 = !{!18, !6, i64 0}
!54 = !{!18, !6, i64 4}
!55 = !{!18, !10, i64 8}
!56 = !{!21, !10, i64 40}
!57 = !{!12, !10, i64 1008}
!58 = !{!59, !10, i64 0}
!59 = !{!"_GLFWwindow", !10, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !10, i64 32, !60, i64 40, !10, i64 64, !10, i64 72, !6, i64 80, !6, i64 84, !6, i64 88, !6, i64 92, !6, i64 96, !6, i64 100, !6, i64 104, !6, i64 108, !6, i64 112, !6, i64 116, !7, i64 120, !7, i64 128, !33, i64 480, !33, i64 488, !61, i64 496, !65, i64 688, !66, i64 824}
!60 = !{!"GLFWvidmode", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20}
!61 = !{!"_GLFWcontext", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !62, i64 120, !63, i64 136, !64, i64 168}
!62 = !{!"_GLFWcontextGLX", !10, i64 0, !17, i64 8}
!63 = !{!"_GLFWcontextEGL", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!64 = !{!"_GLFWcontextOSMesa", !10, i64 0, !6, i64 8, !6, i64 12, !10, i64 16}
!65 = !{!"", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128}
!66 = !{!"_GLFWwindowX11", !17, i64 0, !17, i64 8, !10, i64 16, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !6, i64 48, !6, i64 52, !6, i64 56, !6, i64 60, !6, i64 64, !6, i64 68, !17, i64 72}
!67 = !{!59, !6, i64 40}
!68 = !{!59, !6, i64 44}
!69 = !{!16, !6, i64 0}
!70 = !{!59, !6, i64 48}
!71 = !{!16, !6, i64 4}
!72 = !{!59, !6, i64 52}
!73 = !{!16, !6, i64 8}
!74 = !{!59, !6, i64 56}
!75 = !{!12, !6, i64 984}
!76 = !{!59, !6, i64 60}
!77 = !{!59, !10, i64 64}
!78 = !{!18, !6, i64 16}
!79 = !{!59, !6, i64 8}
!80 = !{!18, !6, i64 24}
!81 = !{!59, !6, i64 12}
!82 = !{!18, !6, i64 32}
!83 = !{!59, !6, i64 16}
!84 = !{!18, !6, i64 36}
!85 = !{!59, !6, i64 20}
!86 = !{!18, !6, i64 48}
!87 = !{!59, !6, i64 24}
!88 = !{!59, !6, i64 116}
!89 = !{!59, !6, i64 80}
!90 = !{!59, !6, i64 84}
!91 = !{!59, !6, i64 88}
!92 = !{!59, !6, i64 92}
!93 = !{!59, !6, i64 96}
!94 = !{!59, !6, i64 100}
!95 = !{!21, !6, i64 0}
!96 = !{!18, !6, i64 44}
!97 = !{!18, !6, i64 20}
!98 = !{!18, !6, i64 28}


; 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.3, ptr, ptr, ptr, ptr, i32, [16 x %struct._GLFWjoystick], ptr, i32, %struct._GLFWtls, %struct._GLFWtls, %struct._GLFWmutex, %struct.anon.5, %struct.anon.6, %struct.anon.7, %struct._GLFWlibraryX11, %struct._GLFWlibraryGLX, %struct._GLFWlibraryLinux, %struct._GLFWlibraryEGL, %struct._GLFWlibraryOSMesa }
%struct.anon.3 = type { %struct._GLFWinitconfig, %struct._GLFWfbconfig, %struct._GLFWwndconfig, %struct._GLFWctxconfig, i32 }
%struct._GLFWinitconfig = type { i32, %struct.anon.4 }
%struct.anon.4 = 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.0 }
%struct.anon.0 = 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.5 = type { i64, %struct._GLFWtimerPOSIX }
%struct._GLFWtimerPOSIX = type { i32, i64 }
%struct.anon.6 = type { i32, ptr, [2 x ptr], ptr, ptr, i32, i32, i32 }
%struct.anon.7 = 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.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.17 }
%struct.anon.8 = 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.9 = type { i32, i32, i32, i32, i32, i32, i32 }
%struct.anon.10 = type { i32, i32, i32, i32, i32 }
%struct.anon.11 = type { i32, i64, i64 }
%struct.anon.12 = type { ptr, ptr, ptr, ptr }
%struct.anon.13 = type { i32, ptr, i32, i32, ptr, ptr, ptr }
%struct.anon.14 = type { ptr, ptr }
%struct.anon.15 = type { i32, ptr, i32, i32, ptr, ptr, ptr, ptr }
%struct.anon.16 = type { i32, ptr, i32, i32, i32, i32, i32, ptr, ptr }
%struct.anon.17 = 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 }

@.str = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [79 x i8], align 1
@__PRETTY_FUNCTION__.glfwCreateWindow = external hidden unnamed_addr constant [82 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@_glfw = external local_unnamed_addr global %struct._GLFWlibrary, align 8
@.str.4 = external hidden unnamed_addr constant [26 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

; 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 noundef ptr @glfwCreateWindow(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #1 {
  %6 = alloca %struct._GLFWfbconfig, align 8
  %7 = alloca %struct._GLFWctxconfig, align 8
  %8 = alloca %struct._GLFWwndconfig, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 832, ptr nonnull %8) #7
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %11, label %12

11:                                               ; preds = %5
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 161, ptr noundef nonnull @__PRETTY_FUNCTION__.glfwCreateWindow) #8
  unreachable

12:                                               ; preds = %5
  %13 = icmp sgt i32 %0, -1
  br i1 %13, label %15, label %14

14:                                               ; preds = %12
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 162, ptr noundef nonnull @__PRETTY_FUNCTION__.glfwCreateWindow) #8
  unreachable

15:                                               ; preds = %12
  %16 = icmp sgt i32 %1, -1
  br i1 %16, label %18, label %17

17:                                               ; preds = %15
  tail call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 163, ptr noundef nonnull @__PRETTY_FUNCTION__.glfwCreateWindow) #8
  unreachable

18:                                               ; preds = %15
  %19 = load i32, ptr @_glfw, align 8, !tbaa !5
  %.not49 = icmp eq i32 %19, 0
  br i1 %.not49, label %20, label %21

20:                                               ; preds = %18
  tail call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65537, ptr noundef null) #7
  br label %83

21:                                               ; preds = %18
  %22 = icmp eq i32 %0, 0
  %23 = icmp eq i32 %1, 0
  %or.cond = or i1 %22, %23
  br i1 %or.cond, label %24, label %25

24:                                               ; preds = %21
  tail call void (i32, ptr, ...) @_glfwInputError(i32 noundef 65540, ptr noundef nonnull @.str.4, i32 noundef %0, i32 noundef %1) #7
  br label %83

25:                                               ; preds = %21
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(72) %6, ptr noundef nonnull align 8 dereferenceable(72) getelementptr inbounds (i8, ptr @_glfw, i64 24), i64 72, i1 false), !tbaa.struct !46
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(56) %7, ptr noundef nonnull align 8 dereferenceable(56) getelementptr inbounds (i8, ptr @_glfw, i64 928), i64 56, i1 false), !tbaa.struct !49
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(832) %8, ptr noundef nonnull align 8 dereferenceable(832) getelementptr inbounds (i8, ptr @_glfw, i64 96), i64 832, i1 false), !tbaa.struct !51
  store i32 %0, ptr %8, align 8, !tbaa !53
  %26 = getelementptr inbounds i8, ptr %8, i64 4
  store i32 %1, ptr %26, align 4, !tbaa !54
  %27 = getelementptr inbounds i8, ptr %8, i64 8
  store ptr %2, ptr %27, align 8, !tbaa !55
  %28 = getelementptr inbounds i8, ptr %7, i64 40
  store ptr %4, ptr %28, align 8, !tbaa !56
  %29 = call i32 @_glfwIsValidContextConfig(ptr noundef nonnull %7) #7
  %.not50 = icmp eq i32 %29, 0
  br i1 %.not50, label %83, label %30

30:                                               ; preds = %25
  %31 = call noalias dereferenceable_or_null(904) ptr @calloc(i64 noundef 1, i64 noundef 904) #9
  %32 = load ptr, ptr getelementptr inbounds (i8, ptr @_glfw, i64 1008), align 8, !tbaa !57
  store ptr %32, ptr %31, align 8, !tbaa !58
  store ptr %31, ptr getelementptr inbounds (i8, ptr @_glfw, i64 1008), align 8, !tbaa !57
  %33 = getelementptr inbounds i8, ptr %31, i64 40
  store i32 %0, ptr %33, align 8, !tbaa !67
  %34 = getelementptr inbounds i8, ptr %31, i64 44
  store i32 %1, ptr %34, align 4, !tbaa !68
  %35 = getelementptr inbounds i8, ptr %31, i64 48
  %36 = load <2 x i32>, ptr %6, align 8, !tbaa !47
  store <2 x i32> %36, ptr %35, align 8, !tbaa !47
  %37 = getelementptr inbounds i8, ptr %6, i64 8
  %38 = load i32, ptr %37, align 8, !tbaa !69
  %39 = getelementptr inbounds i8, ptr %31, i64 56
  store i32 %38, ptr %39, align 8, !tbaa !70
  %40 = load i32, ptr getelementptr inbounds (i8, ptr @_glfw, i64 984), align 8, !tbaa !71
  %41 = getelementptr inbounds i8, ptr %31, i64 60
  store i32 %40, ptr %41, align 4, !tbaa !72
  %42 = getelementptr inbounds i8, ptr %31, i64 64
  store ptr %3, ptr %42, align 8, !tbaa !73
  %43 = getelementptr inbounds i8, ptr %8, i64 16
  %44 = load i32, ptr %43, align 8, !tbaa !74
  %45 = getelementptr inbounds i8, ptr %31, i64 8
  store i32 %44, ptr %45, align 8, !tbaa !75
  %46 = getelementptr inbounds i8, ptr %8, i64 24
  %47 = load i32, ptr %46, align 8, !tbaa !76
  %48 = getelementptr inbounds i8, ptr %31, i64 12
  store i32 %47, ptr %48, align 4, !tbaa !77
  %49 = getelementptr inbounds i8, ptr %8, i64 32
  %50 = getelementptr inbounds i8, ptr %31, i64 16
  %51 = load <2 x i32>, ptr %49, align 8, !tbaa !47
  store <2 x i32> %51, ptr %50, align 8, !tbaa !47
  %52 = getelementptr inbounds i8, ptr %8, i64 48
  %53 = load i32, ptr %52, align 8, !tbaa !78
  %54 = getelementptr inbounds i8, ptr %31, i64 24
  store i32 %53, ptr %54, align 8, !tbaa !79
  %55 = getelementptr inbounds i8, ptr %31, i64 116
  store i32 212993, ptr %55, align 4, !tbaa !80
  %56 = getelementptr inbounds i8, ptr %31, i64 80
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %56, i8 -1, i64 24, i1 false)
  %57 = call i32 @_glfwPlatformCreateWindow(ptr noundef nonnull %31, ptr noundef nonnull %8, ptr noundef nonnull %7, ptr noundef nonnull %6) #7
  %.not51 = icmp eq i32 %57, 0
  br i1 %.not51, label %58, label %59

58:                                               ; preds = %30
  call void @glfwDestroyWindow(ptr noundef nonnull %31)
  br label %83

59:                                               ; preds = %30
  %60 = load i32, ptr %7, align 8, !tbaa !81
  %.not52 = icmp eq i32 %60, 0
  br i1 %.not52, label %64, label %61

61:                                               ; preds = %59
  %62 = call i32 @_glfwRefreshContextAttribs(ptr noundef nonnull %31, ptr noundef nonnull %7) #7
  %.not53 = icmp eq i32 %62, 0
  br i1 %.not53, label %63, label %64

63:                                               ; preds = %61
  call void @glfwDestroyWindow(ptr noundef nonnull %31)
  br label %83

64:                                               ; preds = %61, %59
  %65 = load ptr, ptr %42, align 8, !tbaa !73
  %.not54 = icmp eq ptr %65, null
  br i1 %.not54, label %76, label %66

66:                                               ; preds = %64
  %67 = getelementptr inbounds i8, ptr %8, i64 44
  %68 = load i32, ptr %67, align 4, !tbaa !82
  %.not57 = icmp eq i32 %68, 0
  br i1 %.not57, label %83, label %69

69:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  call void @_glfwPlatformGetWindowSize(ptr noundef nonnull %31, ptr noundef nonnull %9, ptr noundef nonnull %10) #7
  %70 = load i32, ptr %9, align 4, !tbaa !47
  %71 = sitofp i32 %70 to double
  %72 = fmul double %71, 5.000000e-01
  %73 = load i32, ptr %10, align 4, !tbaa !47
  %74 = sitofp i32 %73 to double
  %75 = fmul double %74, 5.000000e-01
  call void @_glfwPlatformSetCursorPos(ptr noundef nonnull %31, double noundef %72, double noundef %75) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  br label %83

76:                                               ; preds = %64
  %77 = getelementptr inbounds i8, ptr %8, i64 20
  %78 = load i32, ptr %77, align 4, !tbaa !83
  %.not55 = icmp eq i32 %78, 0
  br i1 %.not55, label %83, label %79

79:                                               ; preds = %76
  call void @_glfwPlatformShowWindow(ptr noundef nonnull %31) #7
  %80 = getelementptr inbounds i8, ptr %8, i64 28
  %81 = load i32, ptr %80, align 4, !tbaa !84
  %.not56 = icmp eq i32 %81, 0
  br i1 %.not56, label %83, label %82

82:                                               ; preds = %79
  call void @_glfwPlatformFocusWindow(ptr noundef nonnull %31) #7
  br label %83

83:                                               ; preds = %69, %66, %79, %82, %76, %25, %63, %58, %24, %20
  %.0 = phi ptr [ null, %24 ], [ null, %63 ], [ null, %58 ], [ null, %20 ], [ null, %25 ], [ %31, %76 ], [ %31, %82 ], [ %31, %79 ], [ %31, %66 ], [ %31, %69 ]
  call void @llvm.lifetime.end.p0(i64 832, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %6) #7
  ret ptr %.0
}

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

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

; Function Attrs: mustprogress 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) #4

declare i32 @_glfwIsValidContextConfig(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #5

declare i32 @_glfwPlatformCreateWindow(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local void @glfwDestroyWindow(ptr noundef) local_unnamed_addr #1

declare i32 @_glfwRefreshContextAttribs(ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @_glfwPlatformGetWindowSize(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @_glfwPlatformSetCursorPos(ptr noundef, double noundef, double noundef) local_unnamed_addr #3

declare void @_glfwPlatformShowWindow(ptr noundef) local_unnamed_addr #3

declare void @_glfwPlatformFocusWindow(ptr noundef) local_unnamed_addr #3

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { nounwind }
attributes #8 = { noreturn nounwind }
attributes #9 = { nounwind allocsize(0,1) }

!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 0}
!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 = !{i64 0, i64 4, !47, i64 4, i64 4, !47, i64 8, i64 4, !47, i64 12, i64 4, !47, i64 16, i64 4, !47, i64 20, i64 4, !47, i64 24, i64 4, !47, i64 28, i64 4, !47, i64 32, i64 4, !47, i64 36, i64 4, !47, i64 40, i64 4, !47, i64 44, i64 4, !47, i64 48, i64 4, !47, i64 52, i64 4, !47, i64 56, i64 4, !47, i64 60, i64 4, !47, i64 64, i64 8, !48}
!47 = !{!7, !7, i64 0}
!48 = !{!14, !14, i64 0}
!49 = !{i64 0, i64 4, !47, i64 4, i64 4, !47, i64 8, i64 4, !47, i64 12, i64 4, !47, i64 16, i64 4, !47, i64 20, i64 4, !47, i64 24, i64 4, !47, i64 28, i64 4, !47, i64 32, i64 4, !47, i64 36, i64 4, !47, i64 40, i64 8, !50, i64 48, i64 4, !47}
!50 = !{!16, !16, i64 0}
!51 = !{i64 0, i64 4, !47, i64 4, i64 4, !47, i64 8, i64 8, !50, i64 16, i64 4, !47, i64 20, i64 4, !47, i64 24, i64 4, !47, i64 28, i64 4, !47, i64 32, i64 4, !47, i64 36, i64 4, !47, i64 40, i64 4, !47, i64 44, i64 4, !47, i64 48, i64 4, !47, i64 52, i64 4, !47, i64 56, i64 4, !47, i64 60, i64 256, !52, i64 316, i64 256, !52, i64 572, i64 256, !52}
!52 = !{!8, !8, i64 0}
!53 = !{!15, !7, i64 0}
!54 = !{!15, !7, i64 4}
!55 = !{!15, !16, i64 8}
!56 = !{!19, !16, i64 40}
!57 = !{!6, !16, i64 1008}
!58 = !{!59, !16, i64 0}
!59 = !{!"_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, !60, 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, !31, i64 480, !31, i64 488, !61, i64 496, !65, i64 688, !66, i64 824}
!60 = !{!"GLFWvidmode", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!61 = !{!"_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, !62, i64 120, !63, i64 136, !64, i64 168}
!62 = !{!"_GLFWcontextGLX", !16, i64 0, !14, i64 8}
!63 = !{!"_GLFWcontextEGL", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24}
!64 = !{!"_GLFWcontextOSMesa", !16, i64 0, !7, i64 8, !7, i64 12, !16, i64 16}
!65 = !{!"", !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}
!66 = !{!"_GLFWwindowX11", !14, i64 0, !14, 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, !14, i64 72}
!67 = !{!59, !7, i64 40}
!68 = !{!59, !7, i64 44}
!69 = !{!13, !7, i64 8}
!70 = !{!59, !7, i64 56}
!71 = !{!6, !7, i64 984}
!72 = !{!59, !7, i64 60}
!73 = !{!59, !16, i64 64}
!74 = !{!15, !7, i64 16}
!75 = !{!59, !7, i64 8}
!76 = !{!15, !7, i64 24}
!77 = !{!59, !7, i64 12}
!78 = !{!15, !7, i64 48}
!79 = !{!59, !7, i64 24}
!80 = !{!59, !7, i64 116}
!81 = !{!19, !7, i64 0}
!82 = !{!15, !7, i64 44}
!83 = !{!15, !7, i64 20}
!84 = !{!15, !7, i64 28}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass