	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwCreateContext             ## -- Begin function _glfwCreateContext
	.p2align	4, 0x90
__glfwCreateContext:                    ## @_glfwCreateContext
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$0, -216(%rbp)
	movq	56(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rax), %r14
	jmp	LBB0_3
LBB0_2:
	xorl	%r14d, %r14d
LBB0_3:
	movl	48(%r12), %edi
	callq	_GetDC
	movl	%eax, 8(%r12)
	testl	%eax, %eax
	je	LBB0_13
## %bb.4:
	leaq	-216(%rbp), %rdx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_choosePixelFormat
	movq	_GL_FALSE@GOTPCREL(%rip), %rbx
	testl	%eax, %eax
	je	LBB0_52
## %bb.5:
	movl	8(%r12), %edi
	movl	-216(%rbp), %esi
	leaq	-220(%rbp), %rcx
	movl	$4, %edx
	callq	_DescribePixelFormat
	testl	%eax, %eax
	je	LBB0_14
## %bb.6:
	movl	8(%r12), %edi
	movl	-216(%rbp), %esi
	leaq	-220(%rbp), %rdx
	callq	_SetPixelFormat
	testl	%eax, %eax
	je	LBB0_15
## %bb.7:
	cmpq	$0, 40(%r12)
	je	LBB0_16
## %bb.8:
	movq	(%r15), %rax
	movq	_GLFW_OPENGL_API@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.9:
	xorl	%eax, %eax
	cmpq	$0, 48(%r15)
	je	LBB0_11
## %bb.10:
	movq	_WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_11:
	movq	8(%r15), %rcx
	movq	_GLFW_OPENGL_CORE_PROFILE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_21
## %bb.12:
	movq	_WGL_CONTEXT_CORE_PROFILE_BIT_ARB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -212(%rbp)                ## 4-byte Spill
	jmp	LBB0_24
LBB0_13:
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	__glfwInputError
	movq	_GL_FALSE@GOTPCREL(%rip), %rbx
	jmp	LBB0_52
LBB0_14:
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_51
LBB0_15:
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_51
LBB0_16:
	movl	8(%r12), %edi
	callq	__glfw_wglCreateContext
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_50
## %bb.17:
	testq	%r14, %r14
	je	LBB0_49
## %bb.18:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	__glfw_wglShareLists
	testl	%eax, %eax
	jne	LBB0_49
## %bb.19:
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_51
LBB0_20:
	movq	_WGL_CONTEXT_ES2_PROFILE_BIT_EXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -212(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	jmp	LBB0_24
LBB0_21:
	movq	_GLFW_OPENGL_COMPAT_PROFILE@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	cmpq	(%rdx), %rcx
	jne	LBB0_23
## %bb.22:
	movq	_WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
LBB0_23:
	movl	%esi, -212(%rbp)                ## 4-byte Spill
LBB0_24:
	xorl	%r13d, %r13d
	cmpq	$0, 40(%r15)
	je	LBB0_26
## %bb.25:
	movq	_WGL_CONTEXT_DEBUG_BIT_ARB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
LBB0_26:
	orl	%eax, %r13d
	movq	16(%r15), %rax
	testq	%rax, %rax
	je	LBB0_34
## %bb.27:
	cmpq	$0, 32(%r12)
	je	LBB0_34
## %bb.28:
	movq	_GLFW_NO_RESET_NOTIFICATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_30
## %bb.29:
	movq	_WGL_NO_RESET_NOTIFICATION_ARB@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_30:
	movq	_GLFW_LOSE_CONTEXT_ON_RESET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_33
## %bb.31:
	movq	_WGL_LOSE_CONTEXT_ON_RESET_ARB@GOTPCREL(%rip), %rax
LBB0_32:
	movq	_WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	callq	_setWGLattrib
LBB0_33:
	movq	_WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
LBB0_34:
	movq	24(%r15), %rax
	testq	%rax, %rax
	je	LBB0_41
## %bb.35:
	cmpq	$0, 24(%r12)
	je	LBB0_41
## %bb.36:
	movq	_GLFW_RELEASE_BEHAVIOR_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_38
## %bb.37:
	movq	_WGL_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB@GOTPCREL(%rip), %rax
	jmp	LBB0_40
LBB0_38:
	movq	_GLFW_RELEASE_BEHAVIOR_FLUSH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_41
## %bb.39:
	movq	_WGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB@GOTPCREL(%rip), %rax
LBB0_40:
	movq	_WGL_CONTEXT_RELEASE_BEHAVIOR_ARB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	callq	_setWGLattrib
LBB0_41:
	movl	32(%r15), %esi
	cmpl	$1, %esi
	jne	LBB0_43
## %bb.42:
	cmpl	$0, 36(%r15)
	je	LBB0_44
LBB0_43:
	movq	_WGL_CONTEXT_MAJOR_VERSION_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setWGLattrib
	movq	_WGL_CONTEXT_MINOR_VERSION_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	36(%r15), %esi
	callq	_setWGLattrib
LBB0_44:
	testl	%r13d, %r13d
	je	LBB0_46
## %bb.45:
	movq	_WGL_CONTEXT_FLAGS_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r13d, %esi
	callq	_setWGLattrib
LBB0_46:
	movl	-212(%rbp), %esi                ## 4-byte Reload
	testl	%esi, %esi
	je	LBB0_48
## %bb.47:
	movq	_WGL_CONTEXT_PROFILE_MASK_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setWGLattrib
LBB0_48:
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_setWGLattrib
	movl	8(%r12), %edi
	leaq	-208(%rbp), %rdx
	movq	%r14, %rsi
	callq	*16(%r12)
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_50
LBB0_49:
	movq	%r12, %rdi
	callq	__glfwPlatformMakeContextCurrent
	movq	%r12, %rdi
	callq	_initWGLExtensions
	movq	_GL_TRUE@GOTPCREL(%rip), %rbx
	jmp	LBB0_52
LBB0_50:
	movq	_GLFW_VERSION_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
LBB0_51:
	callq	__glfwInputError
LBB0_52:
	movl	(%rbx), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_54
## %bb.53:
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_54:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_PLATFORM_ERROR,4,2        ## @GLFW_PLATFORM_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WGL: Failed to retrieve DC for window"

	.comm	_GL_FALSE,4,2                   ## @GL_FALSE
L_.str.1:                               ## @.str.1
	.asciz	"WGL: Failed to retrieve PFD for selected pixel format"

L_.str.2:                               ## @.str.2
	.asciz	"WGL: Failed to set selected pixel format"

	.comm	_GLFW_OPENGL_API,8,3            ## @GLFW_OPENGL_API
	.comm	_WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB,4,2 ## @WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB
	.comm	_GLFW_OPENGL_CORE_PROFILE,8,3   ## @GLFW_OPENGL_CORE_PROFILE
	.comm	_WGL_CONTEXT_CORE_PROFILE_BIT_ARB,4,2 ## @WGL_CONTEXT_CORE_PROFILE_BIT_ARB
	.comm	_GLFW_OPENGL_COMPAT_PROFILE,8,3 ## @GLFW_OPENGL_COMPAT_PROFILE
	.comm	_WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB,4,2 ## @WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB
	.comm	_WGL_CONTEXT_ES2_PROFILE_BIT_EXT,4,2 ## @WGL_CONTEXT_ES2_PROFILE_BIT_EXT
	.comm	_WGL_CONTEXT_DEBUG_BIT_ARB,4,2  ## @WGL_CONTEXT_DEBUG_BIT_ARB
	.comm	_GLFW_NO_RESET_NOTIFICATION,8,3 ## @GLFW_NO_RESET_NOTIFICATION
	.comm	_WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB,4,2 ## @WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB
	.comm	_WGL_NO_RESET_NOTIFICATION_ARB,4,2 ## @WGL_NO_RESET_NOTIFICATION_ARB
	.comm	_GLFW_LOSE_CONTEXT_ON_RESET,8,3 ## @GLFW_LOSE_CONTEXT_ON_RESET
	.comm	_WGL_LOSE_CONTEXT_ON_RESET_ARB,4,2 ## @WGL_LOSE_CONTEXT_ON_RESET_ARB
	.comm	_WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB,4,2 ## @WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB
	.comm	_GLFW_RELEASE_BEHAVIOR_NONE,8,3 ## @GLFW_RELEASE_BEHAVIOR_NONE
	.comm	_WGL_CONTEXT_RELEASE_BEHAVIOR_ARB,4,2 ## @WGL_CONTEXT_RELEASE_BEHAVIOR_ARB
	.comm	_WGL_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB,4,2 ## @WGL_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB
	.comm	_GLFW_RELEASE_BEHAVIOR_FLUSH,8,3 ## @GLFW_RELEASE_BEHAVIOR_FLUSH
	.comm	_WGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB,4,2 ## @WGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB
	.comm	_WGL_CONTEXT_MAJOR_VERSION_ARB,4,2 ## @WGL_CONTEXT_MAJOR_VERSION_ARB
	.comm	_WGL_CONTEXT_MINOR_VERSION_ARB,4,2 ## @WGL_CONTEXT_MINOR_VERSION_ARB
	.comm	_WGL_CONTEXT_FLAGS_ARB,4,2      ## @WGL_CONTEXT_FLAGS_ARB
	.comm	_WGL_CONTEXT_PROFILE_MASK_ARB,4,2 ## @WGL_CONTEXT_PROFILE_MASK_ARB
	.comm	_GLFW_VERSION_UNAVAILABLE,4,2   ## @GLFW_VERSION_UNAVAILABLE
L_.str.3:                               ## @.str.3
	.asciz	"WGL: Failed to create OpenGL context"

L_.str.4:                               ## @.str.4
	.asciz	"WGL: Failed to enable sharing with specified OpenGL context"

	.comm	_GL_TRUE,4,2                    ## @GL_TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__glfwCreateContext             ; -- Begin function _glfwCreateContext
	.p2align	2
__glfwCreateContext:                    ; @_glfwCreateContext
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	str	wzr, [sp, #4]
	ldr	x8, [x1, #56]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x20, [x8]
	b	LBB0_3
LBB0_2:
	mov	x20, #0
LBB0_3:
	ldr	w0, [x19, #48]
	bl	_GetDC
	str	w0, [x19, #8]
	cbz	w0, LBB0_11
; %bb.4:
	add	x2, sp, #4
	mov	x0, x19
	mov	x1, x22
	bl	_choosePixelFormat
	cbz	w0, LBB0_47
; %bb.5:
	ldr	w0, [x19, #8]
	ldr	w1, [sp, #4]
	mov	x3, sp
	mov	w2, #4
	bl	_DescribePixelFormat
	cbz	w0, LBB0_12
; %bb.6:
	ldr	w0, [x19, #8]
	ldr	w1, [sp, #4]
	mov	x2, sp
	bl	_SetPixelFormat
	cbz	w0, LBB0_13
; %bb.7:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_14
; %bb.8:
	ldr	x8, [x21]
Lloh3:
	adrp	x9, _GLFW_OPENGL_API@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GLFW_OPENGL_API@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.9:
	ldr	x8, [x21, #48]
Lloh6:
	adrp	x9, _WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w8, wzr, w9, eq
	ldr	x9, [x21, #8]
Lloh9:
	adrp	x10, _GLFW_OPENGL_CORE_PROFILE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _GLFW_OPENGL_CORE_PROFILE@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_20
; %bb.10:
Lloh12:
	adrp	x9, _WGL_CONTEXT_CORE_PROFILE_BIT_ARB@GOTPAGE
Lloh13:
	ldr	x9, [x9, _WGL_CONTEXT_CORE_PROFILE_BIT_ARB@GOTPAGEOFF]
	b	LBB0_19
LBB0_11:
Lloh14:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_46
LBB0_12:
Lloh19:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_46
LBB0_13:
Lloh24:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x1, l_.str.2@PAGE
Lloh28:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_46
LBB0_14:
	ldr	w0, [x19, #8]
	bl	__glfw_wglCreateContext
	str	x0, [x19]
	cbz	x0, LBB0_45
; %bb.15:
	cbz	x20, LBB0_44
; %bb.16:
	mov	x1, x0
	mov	x0, x20
	bl	__glfw_wglShareLists
	cbnz	w0, LBB0_44
; %bb.17:
Lloh29:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
Lloh32:
	adrp	x1, l_.str.4@PAGE
Lloh33:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_46
LBB0_18:
	mov	w8, #0
Lloh34:
	adrp	x9, _WGL_CONTEXT_ES2_PROFILE_BIT_EXT@GOTPAGE
Lloh35:
	ldr	x9, [x9, _WGL_CONTEXT_ES2_PROFILE_BIT_EXT@GOTPAGEOFF]
LBB0_19:
	ldr	w22, [x9]
	b	LBB0_21
LBB0_20:
Lloh36:
	adrp	x10, _GLFW_OPENGL_COMPAT_PROFILE@GOTPAGE
Lloh37:
	ldr	x10, [x10, _GLFW_OPENGL_COMPAT_PROFILE@GOTPAGEOFF]
Lloh38:
	ldr	x10, [x10]
Lloh39:
	adrp	x11, _WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB@GOTPAGE
Lloh40:
	ldr	x11, [x11, _WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB@GOTPAGEOFF]
Lloh41:
	ldr	w11, [x11]
	cmp	x9, x10
	csel	w22, w11, wzr, eq
LBB0_21:
Lloh42:
	adrp	x9, _WGL_CONTEXT_DEBUG_BIT_ARB@GOTPAGE
Lloh43:
	ldr	x9, [x9, _WGL_CONTEXT_DEBUG_BIT_ARB@GOTPAGEOFF]
	ldr	x10, [x21, #40]
Lloh44:
	ldr	w9, [x9]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
	orr	w23, w9, w8
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_29
; %bb.22:
	ldr	x9, [x19, #32]
	cbz	x9, LBB0_29
; %bb.23:
Lloh45:
	adrp	x9, _GLFW_NO_RESET_NOTIFICATION@GOTPAGE
Lloh46:
	ldr	x9, [x9, _GLFW_NO_RESET_NOTIFICATION@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_25
; %bb.24:
Lloh48:
	adrp	x8, _WGL_NO_RESET_NOTIFICATION_ARB@GOTPAGE
Lloh49:
	ldr	x8, [x8, _WGL_NO_RESET_NOTIFICATION_ARB@GOTPAGEOFF]
	b	LBB0_27
LBB0_25:
Lloh50:
	adrp	x9, _GLFW_LOSE_CONTEXT_ON_RESET@GOTPAGE
Lloh51:
	ldr	x9, [x9, _GLFW_LOSE_CONTEXT_ON_RESET@GOTPAGEOFF]
Lloh52:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_28
; %bb.26:
Lloh53:
	adrp	x8, _WGL_LOSE_CONTEXT_ON_RESET_ARB@GOTPAGE
Lloh54:
	ldr	x8, [x8, _WGL_LOSE_CONTEXT_ON_RESET_ARB@GOTPAGEOFF]
LBB0_27:
Lloh55:
	adrp	x9, _WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB@GOTPAGE
Lloh56:
	ldr	x9, [x9, _WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x9]
	ldr	w1, [x8]
	bl	_setWGLattrib
LBB0_28:
Lloh58:
	adrp	x8, _WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB@GOTPAGE
Lloh59:
	ldr	x8, [x8, _WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
	orr	w23, w8, w23
LBB0_29:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_36
; %bb.30:
	ldr	x9, [x19, #24]
	cbz	x9, LBB0_36
; %bb.31:
Lloh61:
	adrp	x9, _GLFW_RELEASE_BEHAVIOR_NONE@GOTPAGE
Lloh62:
	ldr	x9, [x9, _GLFW_RELEASE_BEHAVIOR_NONE@GOTPAGEOFF]
Lloh63:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_33
; %bb.32:
Lloh64:
	adrp	x8, _WGL_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB@GOTPAGE
Lloh65:
	ldr	x8, [x8, _WGL_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB@GOTPAGEOFF]
	b	LBB0_35
LBB0_33:
Lloh66:
	adrp	x9, _GLFW_RELEASE_BEHAVIOR_FLUSH@GOTPAGE
Lloh67:
	ldr	x9, [x9, _GLFW_RELEASE_BEHAVIOR_FLUSH@GOTPAGEOFF]
Lloh68:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_36
; %bb.34:
Lloh69:
	adrp	x8, _WGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB@GOTPAGE
Lloh70:
	ldr	x8, [x8, _WGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB@GOTPAGEOFF]
LBB0_35:
Lloh71:
	adrp	x9, _WGL_CONTEXT_RELEASE_BEHAVIOR_ARB@GOTPAGE
Lloh72:
	ldr	x9, [x9, _WGL_CONTEXT_RELEASE_BEHAVIOR_ARB@GOTPAGEOFF]
Lloh73:
	ldr	w0, [x9]
	ldr	w1, [x8]
	bl	_setWGLattrib
LBB0_36:
	ldr	w1, [x21, #32]
	cmp	w1, #1
	b.ne	LBB0_38
; %bb.37:
	ldr	w8, [x21, #36]
	cbz	w8, LBB0_39
LBB0_38:
Lloh74:
	adrp	x8, _WGL_CONTEXT_MAJOR_VERSION_ARB@GOTPAGE
Lloh75:
	ldr	x8, [x8, _WGL_CONTEXT_MAJOR_VERSION_ARB@GOTPAGEOFF]
Lloh76:
	ldr	w0, [x8]
	bl	_setWGLattrib
Lloh77:
	adrp	x8, _WGL_CONTEXT_MINOR_VERSION_ARB@GOTPAGE
Lloh78:
	ldr	x8, [x8, _WGL_CONTEXT_MINOR_VERSION_ARB@GOTPAGEOFF]
Lloh79:
	ldr	w0, [x8]
	ldr	w1, [x21, #36]
	bl	_setWGLattrib
LBB0_39:
	cbz	w23, LBB0_41
; %bb.40:
Lloh80:
	adrp	x8, _WGL_CONTEXT_FLAGS_ARB@GOTPAGE
Lloh81:
	ldr	x8, [x8, _WGL_CONTEXT_FLAGS_ARB@GOTPAGEOFF]
Lloh82:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_setWGLattrib
LBB0_41:
	cbz	w22, LBB0_43
; %bb.42:
Lloh83:
	adrp	x8, _WGL_CONTEXT_PROFILE_MASK_ARB@GOTPAGE
Lloh84:
	ldr	x8, [x8, _WGL_CONTEXT_PROFILE_MASK_ARB@GOTPAGEOFF]
Lloh85:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_setWGLattrib
LBB0_43:
	mov	w0, #0
	mov	w1, #0
	bl	_setWGLattrib
	ldr	x8, [x19, #16]
	ldr	w0, [x19, #8]
	add	x2, sp, #8
	mov	x1, x20
	blr	x8
	str	x0, [x19]
	cbz	x0, LBB0_45
LBB0_44:
	mov	x0, x19
	bl	__glfwPlatformMakeContextCurrent
	mov	x0, x19
	bl	_initWGLExtensions
Lloh86:
	adrp	x8, _GL_TRUE@GOTPAGE
Lloh87:
	ldr	x8, [x8, _GL_TRUE@GOTPAGEOFF]
	b	LBB0_48
LBB0_45:
Lloh88:
	adrp	x8, _GLFW_VERSION_UNAVAILABLE@GOTPAGE
Lloh89:
	ldr	x8, [x8, _GLFW_VERSION_UNAVAILABLE@GOTPAGEOFF]
Lloh90:
	ldr	w0, [x8]
Lloh91:
	adrp	x1, l_.str.3@PAGE
Lloh92:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_46:
	bl	__glfwInputError
LBB0_47:
Lloh93:
	adrp	x8, _GL_FALSE@GOTPAGE
Lloh94:
	ldr	x8, [x8, _GL_FALSE@GOTPAGEOFF]
LBB0_48:
	ldr	w0, [x8]
	ldur	x8, [x29, #-56]
Lloh95:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh96:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh97:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_50
; %bb.49:
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_50:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_PLATFORM_ERROR,4,2        ; @GLFW_PLATFORM_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WGL: Failed to retrieve DC for window"

	.comm	_GL_FALSE,4,2                   ; @GL_FALSE
l_.str.1:                               ; @.str.1
	.asciz	"WGL: Failed to retrieve PFD for selected pixel format"

l_.str.2:                               ; @.str.2
	.asciz	"WGL: Failed to set selected pixel format"

	.comm	_GLFW_OPENGL_API,8,3            ; @GLFW_OPENGL_API
	.comm	_WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB,4,2 ; @WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB
	.comm	_GLFW_OPENGL_CORE_PROFILE,8,3   ; @GLFW_OPENGL_CORE_PROFILE
	.comm	_WGL_CONTEXT_CORE_PROFILE_BIT_ARB,4,2 ; @WGL_CONTEXT_CORE_PROFILE_BIT_ARB
	.comm	_GLFW_OPENGL_COMPAT_PROFILE,8,3 ; @GLFW_OPENGL_COMPAT_PROFILE
	.comm	_WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB,4,2 ; @WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB
	.comm	_WGL_CONTEXT_ES2_PROFILE_BIT_EXT,4,2 ; @WGL_CONTEXT_ES2_PROFILE_BIT_EXT
	.comm	_WGL_CONTEXT_DEBUG_BIT_ARB,4,2  ; @WGL_CONTEXT_DEBUG_BIT_ARB
	.comm	_GLFW_NO_RESET_NOTIFICATION,8,3 ; @GLFW_NO_RESET_NOTIFICATION
	.comm	_WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB,4,2 ; @WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB
	.comm	_WGL_NO_RESET_NOTIFICATION_ARB,4,2 ; @WGL_NO_RESET_NOTIFICATION_ARB
	.comm	_GLFW_LOSE_CONTEXT_ON_RESET,8,3 ; @GLFW_LOSE_CONTEXT_ON_RESET
	.comm	_WGL_LOSE_CONTEXT_ON_RESET_ARB,4,2 ; @WGL_LOSE_CONTEXT_ON_RESET_ARB
	.comm	_WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB,4,2 ; @WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB
	.comm	_GLFW_RELEASE_BEHAVIOR_NONE,8,3 ; @GLFW_RELEASE_BEHAVIOR_NONE
	.comm	_WGL_CONTEXT_RELEASE_BEHAVIOR_ARB,4,2 ; @WGL_CONTEXT_RELEASE_BEHAVIOR_ARB
	.comm	_WGL_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB,4,2 ; @WGL_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB
	.comm	_GLFW_RELEASE_BEHAVIOR_FLUSH,8,3 ; @GLFW_RELEASE_BEHAVIOR_FLUSH
	.comm	_WGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB,4,2 ; @WGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB
	.comm	_WGL_CONTEXT_MAJOR_VERSION_ARB,4,2 ; @WGL_CONTEXT_MAJOR_VERSION_ARB
	.comm	_WGL_CONTEXT_MINOR_VERSION_ARB,4,2 ; @WGL_CONTEXT_MINOR_VERSION_ARB
	.comm	_WGL_CONTEXT_FLAGS_ARB,4,2      ; @WGL_CONTEXT_FLAGS_ARB
	.comm	_WGL_CONTEXT_PROFILE_MASK_ARB,4,2 ; @WGL_CONTEXT_PROFILE_MASK_ARB
	.comm	_GLFW_VERSION_UNAVAILABLE,4,2   ; @GLFW_VERSION_UNAVAILABLE
l_.str.3:                               ; @.str.3
	.asciz	"WGL: Failed to create OpenGL context"

l_.str.4:                               ; @.str.4
	.asciz	"WGL: Failed to enable sharing with specified OpenGL context"

	.comm	_GL_TRUE,4,2                    ; @GL_TRUE
.subsections_via_symbols
