	.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	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -216(%rbp)
	movq	56(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	(%rax), %r14
	jmp	LBB0_3
LBB0_1:
	xorl	%r14d, %r14d
LBB0_3:
	leaq	-216(%rbp), %rsi
	movq	%rdx, %rdi
	callq	_chooseFBConfig
	testl	%eax, %eax
	je	LBB0_4
## %bb.6:
	movq	__glfw@GOTPCREL(%rip), %r12
	movl	56(%r12), %edi
	movq	-216(%rbp), %rsi
	callq	__glfw_glXGetVisualFromFBConfig
	movl	%eax, 8(%r15)
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movq	(%rbx), %rax
	movq	_GLFW_OPENGL_ES_API@GOTPCREL(%rip), %rdx
	movq	32(%r12), %rcx
	cmpq	(%rdx), %rax
	jne	LBB0_17
## %bb.9:
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.10:
	cmpl	$0, 40(%r12)
	je	LBB0_16
## %bb.11:
	cmpl	$0, 44(%r12)
	je	LBB0_16
## %bb.12:
	leaq	8(%rbx), %r13
	movb	$1, %al
	jmp	LBB0_13
LBB0_4:
	movq	_GLFW_FORMAT_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	__glfwInputError
	jmp	LBB0_62
LBB0_7:
	movq	_GLFW_PLATFORM_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	__glfwInputError
	jmp	LBB0_62
LBB0_17:
	leaq	8(%rbx), %r13
	testq	%rcx, %rcx
	setne	%al
	cmpl	$0, 8(%rbx)
	je	LBB0_13
## %bb.18:
	testq	%rcx, %rcx
	jne	LBB0_13
## %bb.19:
	movq	_GLFW_VERSION_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	__glfwInputError
	jmp	LBB0_62
LBB0_13:
	cmpq	$0, 16(%rbx)
	je	LBB0_20
## %bb.14:
	cmpl	$0, 40(%r12)
	setne	%cl
	testb	%cl, %al
	je	LBB0_15
LBB0_20:
	xorl	%eax, %eax
	callq	__glfwGrabXErrorHandler
	cmpq	$0, 32(%r12)
	je	LBB0_58
## %bb.21:
	movq	(%rbx), %rax
	movq	_GLFW_OPENGL_API@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%r13, -232(%rbp)                ## 8-byte Spill
	jne	LBB0_28
## %bb.22:
	movl	8(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_24
## %bb.23:
	movq	_GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_24:
	movq	16(%rbx), %rcx
	movq	_GLFW_OPENGL_CORE_PROFILE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_26
## %bb.25:
	movq	_GLX_CONTEXT_CORE_PROFILE_BIT_ARB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	jmp	LBB0_29
LBB0_16:
	movq	_GLFW_API_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	__glfwInputError
	jmp	LBB0_62
LBB0_15:
	movq	_GLFW_VERSION_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	__glfwInputError
	jmp	LBB0_62
LBB0_28:
	movq	_GLX_CONTEXT_ES2_PROFILE_BIT_EXT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%eax, %eax
LBB0_29:
	xorl	%r13d, %r13d
	cmpq	$0, 48(%rbx)
	je	LBB0_31
## %bb.30:
	movq	_GLX_CONTEXT_DEBUG_BIT_ARB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
LBB0_31:
	orl	%eax, %r13d
	movq	24(%rbx), %rax
	testq	%rax, %rax
	movl	%esi, -220(%rbp)                ## 4-byte Spill
	je	LBB0_39
## %bb.32:
	cmpq	$0, 24(%r12)
	je	LBB0_39
## %bb.33:
	movq	_GLFW_NO_RESET_NOTIFICATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_35
## %bb.34:
	movq	_GLX_NO_RESET_NOTIFICATION_ARB@GOTPCREL(%rip), %rax
	jmp	LBB0_37
LBB0_26:
	movq	_GLFW_OPENGL_COMPAT_PROFILE@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	cmpq	(%rdx), %rcx
	jne	LBB0_29
## %bb.27:
	movq	_GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	jmp	LBB0_29
LBB0_35:
	movq	_GLFW_LOSE_CONTEXT_ON_RESET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_38
## %bb.36:
	movq	_GLX_LOSE_CONTEXT_ON_RESET_ARB@GOTPCREL(%rip), %rax
LBB0_37:
	movq	_GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	callq	_setGLXattrib
LBB0_38:
	movq	_GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
LBB0_39:
	movq	32(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_46
## %bb.40:
	cmpq	$0, 16(%r12)
	je	LBB0_46
## %bb.41:
	movq	_GLFW_RELEASE_BEHAVIOR_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_43
## %bb.42:
	movq	_GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB@GOTPCREL(%rip), %rax
	jmp	LBB0_45
LBB0_43:
	movq	_GLFW_RELEASE_BEHAVIOR_FLUSH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_46
## %bb.44:
	movq	_GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB@GOTPCREL(%rip), %rax
LBB0_45:
	movq	_GLX_CONTEXT_RELEASE_BEHAVIOR_ARB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	callq	_setGLXattrib
LBB0_46:
	movl	40(%rbx), %esi
	cmpl	$1, %esi
	jne	LBB0_48
## %bb.47:
	cmpl	$0, 44(%rbx)
	je	LBB0_49
LBB0_48:
	movq	_GLX_CONTEXT_MAJOR_VERSION_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setGLXattrib
	movq	_GLX_CONTEXT_MINOR_VERSION_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	44(%rbx), %esi
	callq	_setGLXattrib
LBB0_49:
	movl	-220(%rbp), %esi                ## 4-byte Reload
	testl	%esi, %esi
	je	LBB0_51
## %bb.50:
	movq	_GLX_CONTEXT_PROFILE_MASK_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setGLXattrib
LBB0_51:
	testl	%r13d, %r13d
	je	LBB0_53
## %bb.52:
	movq	_GLX_CONTEXT_FLAGS_ARB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r13d, %esi
	callq	_setGLXattrib
LBB0_53:
	movq	_None@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, %esi
	callq	_setGLXattrib
	movl	56(%r12), %edi
	movq	-216(%rbp), %rsi
	movq	_True@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-208(%rbp), %r8
	movq	%r14, %rdx
	callq	*8(%r12)
	movq	%rax, (%r15)
	testq	%rax, %rax
	jne	LBB0_59
## %bb.54:
	movq	_GLXBadProfileARB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	(%r12), %rax
	cmpq	%rax, 48(%r12)
	jne	LBB0_59
## %bb.55:
	movq	(%rbx), %rax
	movq	_GLFW_OPENGL_API@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_59
## %bb.56:
	movq	16(%rbx), %rax
	movq	_GLFW_OPENGL_ANY_PROFILE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_59
## %bb.57:
	movq	-232(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %eax
	movq	_GL_FALSE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_59
LBB0_58:
	movq	-216(%rbp), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_createLegacyContext
	movq	%rax, (%r15)
LBB0_59:
	xorl	%eax, %eax
	callq	__glfwReleaseXErrorHandler
	cmpq	$0, (%r15)
	je	LBB0_61
## %bb.60:
	movq	_GL_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_63
LBB0_61:
	movq	_GLFW_VERSION_UNAVAILABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	__glfwInputXError
LBB0_62:
	movq	_GL_FALSE@GOTPCREL(%rip), %rax
LBB0_63:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_65
## %bb.64:
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_65:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_FORMAT_UNAVAILABLE,4,2    ## @GLFW_FORMAT_UNAVAILABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GLX: Failed to find a suitable GLXFBConfig"

	.comm	_GL_FALSE,4,2                   ## @GL_FALSE
	.comm	__glfw,64,3                     ## @_glfw
	.comm	_GLFW_PLATFORM_ERROR,4,2        ## @GLFW_PLATFORM_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"GLX: Failed to retrieve visual for GLXFBConfig"

	.comm	_GLFW_OPENGL_ES_API,8,3         ## @GLFW_OPENGL_ES_API
	.comm	_GLFW_API_UNAVAILABLE,4,2       ## @GLFW_API_UNAVAILABLE
L_.str.2:                               ## @.str.2
	.asciz	"GLX: OpenGL ES requested but GLX_EXT_create_context_es2_profile is unavailable"

	.comm	_GLFW_VERSION_UNAVAILABLE,4,2   ## @GLFW_VERSION_UNAVAILABLE
L_.str.3:                               ## @.str.3
	.asciz	"GLX: Forward compatibility requested but GLX_ARB_create_context_profile is unavailable"

L_.str.4:                               ## @.str.4
	.asciz	"GLX: An OpenGL profile requested but GLX_ARB_create_context_profile is unavailable"

	.comm	_GLFW_OPENGL_API,8,3            ## @GLFW_OPENGL_API
	.comm	_GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB,4,2 ## @GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB
	.comm	_GLFW_OPENGL_CORE_PROFILE,8,3   ## @GLFW_OPENGL_CORE_PROFILE
	.comm	_GLX_CONTEXT_CORE_PROFILE_BIT_ARB,4,2 ## @GLX_CONTEXT_CORE_PROFILE_BIT_ARB
	.comm	_GLFW_OPENGL_COMPAT_PROFILE,8,3 ## @GLFW_OPENGL_COMPAT_PROFILE
	.comm	_GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB,4,2 ## @GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB
	.comm	_GLX_CONTEXT_ES2_PROFILE_BIT_EXT,4,2 ## @GLX_CONTEXT_ES2_PROFILE_BIT_EXT
	.comm	_GLX_CONTEXT_DEBUG_BIT_ARB,4,2  ## @GLX_CONTEXT_DEBUG_BIT_ARB
	.comm	_GLFW_NO_RESET_NOTIFICATION,8,3 ## @GLFW_NO_RESET_NOTIFICATION
	.comm	_GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB,4,2 ## @GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB
	.comm	_GLX_NO_RESET_NOTIFICATION_ARB,4,2 ## @GLX_NO_RESET_NOTIFICATION_ARB
	.comm	_GLFW_LOSE_CONTEXT_ON_RESET,8,3 ## @GLFW_LOSE_CONTEXT_ON_RESET
	.comm	_GLX_LOSE_CONTEXT_ON_RESET_ARB,4,2 ## @GLX_LOSE_CONTEXT_ON_RESET_ARB
	.comm	_GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB,4,2 ## @GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB
	.comm	_GLFW_RELEASE_BEHAVIOR_NONE,8,3 ## @GLFW_RELEASE_BEHAVIOR_NONE
	.comm	_GLX_CONTEXT_RELEASE_BEHAVIOR_ARB,4,2 ## @GLX_CONTEXT_RELEASE_BEHAVIOR_ARB
	.comm	_GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB,4,2 ## @GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB
	.comm	_GLFW_RELEASE_BEHAVIOR_FLUSH,8,3 ## @GLFW_RELEASE_BEHAVIOR_FLUSH
	.comm	_GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB,4,2 ## @GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB
	.comm	_GLX_CONTEXT_MAJOR_VERSION_ARB,4,2 ## @GLX_CONTEXT_MAJOR_VERSION_ARB
	.comm	_GLX_CONTEXT_MINOR_VERSION_ARB,4,2 ## @GLX_CONTEXT_MINOR_VERSION_ARB
	.comm	_GLX_CONTEXT_PROFILE_MASK_ARB,4,2 ## @GLX_CONTEXT_PROFILE_MASK_ARB
	.comm	_GLX_CONTEXT_FLAGS_ARB,4,2      ## @GLX_CONTEXT_FLAGS_ARB
	.comm	_None,4,2                       ## @None
	.comm	_True,4,2                       ## @True
	.comm	_GLXBadProfileARB,8,3           ## @GLXBadProfileARB
	.comm	_GLFW_OPENGL_ANY_PROFILE,8,3    ## @GLFW_OPENGL_ANY_PROFILE
L_.str.5:                               ## @.str.5
	.asciz	"GLX: Failed to create 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, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	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, #-88]
	str	xzr, [sp]
	ldr	x8, [x1, #56]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x20, [x8]
	b	LBB0_3
LBB0_2:
	mov	x20, #0
LBB0_3:
	mov	x1, sp
	mov	x0, x2
	bl	_chooseFBConfig
	cbz	w0, LBB0_8
; %bb.4:
Lloh3:
	adrp	x24, __glfw@GOTPAGE
Lloh4:
	ldr	x24, [x24, __glfw@GOTPAGEOFF]
	ldr	w0, [x24, #56]
	ldr	x1, [sp]
	bl	__glfw_glXGetVisualFromFBConfig
	str	w0, [x19, #8]
	cbz	w0, LBB0_9
; %bb.5:
	ldr	x8, [x21]
Lloh5:
	adrp	x9, _GLFW_OPENGL_ES_API@GOTPAGE
Lloh6:
	ldr	x9, [x9, _GLFW_OPENGL_ES_API@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x9]
	ldr	x9, [x24, #32]
	cmp	x8, x10
	b.ne	LBB0_10
; %bb.6:
	ldp	w8, w10, [x24, #40]
	cmp	x9, #0
	ccmp	w8, #0, #4, ne
	ccmp	w10, #0, #4, ne
	b.ne	LBB0_13
; %bb.7:
Lloh8:
	adrp	x8, _GLFW_API_UNAVAILABLE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GLFW_API_UNAVAILABLE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	__glfwInputError
	b	LBB0_55
LBB0_8:
Lloh13:
	adrp	x8, _GLFW_FORMAT_UNAVAILABLE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GLFW_FORMAT_UNAVAILABLE@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	__glfwInputError
	b	LBB0_55
LBB0_9:
Lloh18:
	adrp	x8, _GLFW_PLATFORM_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GLFW_PLATFORM_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	__glfwInputError
	b	LBB0_55
LBB0_10:
	mov	x25, x21
	ldr	w10, [x25, #8]!
	cmp	x9, #0
	cset	w8, ne
	cbz	w10, LBB0_14
; %bb.11:
	cbnz	x9, LBB0_14
; %bb.12:
Lloh23:
	adrp	x8, _GLFW_VERSION_UNAVAILABLE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GLFW_VERSION_UNAVAILABLE@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	__glfwInputError
	b	LBB0_55
LBB0_13:
	add	x25, x21, #8
	mov	w8, #1
LBB0_14:
	ldr	x9, [x21, #16]
	cbz	x9, LBB0_16
; %bb.15:
	ldr	w9, [x24, #40]
	cmp	w9, #0
	cset	w9, ne
	and	w8, w8, w9
	tbz	w8, #0, LBB0_20
LBB0_16:
	bl	__glfwGrabXErrorHandler
	ldr	x8, [x24, #32]
	cbz	x8, LBB0_51
; %bb.17:
	ldr	x8, [x21]
Lloh28:
	adrp	x26, _GLFW_OPENGL_API@GOTPAGE
Lloh29:
	ldr	x26, [x26, _GLFW_OPENGL_API@GOTPAGEOFF]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.18:
	ldr	w8, [x21, #8]
Lloh30:
	adrp	x9, _GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB@GOTPAGE
Lloh31:
	ldr	x9, [x9, _GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w8, wzr, w9, eq
	ldr	x9, [x21, #16]
Lloh33:
	adrp	x10, _GLFW_OPENGL_CORE_PROFILE@GOTPAGE
Lloh34:
	ldr	x10, [x10, _GLFW_OPENGL_CORE_PROFILE@GOTPAGEOFF]
Lloh35:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_23
; %bb.19:
Lloh36:
	adrp	x9, _GLX_CONTEXT_CORE_PROFILE_BIT_ARB@GOTPAGE
Lloh37:
	ldr	x9, [x9, _GLX_CONTEXT_CORE_PROFILE_BIT_ARB@GOTPAGEOFF]
	b	LBB0_22
LBB0_20:
Lloh38:
	adrp	x8, _GLFW_VERSION_UNAVAILABLE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _GLFW_VERSION_UNAVAILABLE@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
Lloh41:
	adrp	x1, l_.str.4@PAGE
Lloh42:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	__glfwInputError
	b	LBB0_55
LBB0_21:
	mov	w8, #0
Lloh43:
	adrp	x9, _GLX_CONTEXT_ES2_PROFILE_BIT_EXT@GOTPAGE
Lloh44:
	ldr	x9, [x9, _GLX_CONTEXT_ES2_PROFILE_BIT_EXT@GOTPAGEOFF]
LBB0_22:
	ldr	w22, [x9]
	b	LBB0_24
LBB0_23:
Lloh45:
	adrp	x10, _GLFW_OPENGL_COMPAT_PROFILE@GOTPAGE
Lloh46:
	ldr	x10, [x10, _GLFW_OPENGL_COMPAT_PROFILE@GOTPAGEOFF]
Lloh47:
	ldr	x10, [x10]
Lloh48:
	adrp	x11, _GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB@GOTPAGE
Lloh49:
	ldr	x11, [x11, _GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB@GOTPAGEOFF]
Lloh50:
	ldr	w11, [x11]
	cmp	x9, x10
	csel	w22, w11, wzr, eq
LBB0_24:
Lloh51:
	adrp	x9, _GLX_CONTEXT_DEBUG_BIT_ARB@GOTPAGE
Lloh52:
	ldr	x9, [x9, _GLX_CONTEXT_DEBUG_BIT_ARB@GOTPAGEOFF]
	ldr	x10, [x21, #48]
Lloh53:
	ldr	w9, [x9]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
	orr	w23, w9, w8
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_32
; %bb.25:
	ldr	x9, [x24, #24]
	cbz	x9, LBB0_32
; %bb.26:
Lloh54:
	adrp	x9, _GLFW_NO_RESET_NOTIFICATION@GOTPAGE
Lloh55:
	ldr	x9, [x9, _GLFW_NO_RESET_NOTIFICATION@GOTPAGEOFF]
Lloh56:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_28
; %bb.27:
Lloh57:
	adrp	x8, _GLX_NO_RESET_NOTIFICATION_ARB@GOTPAGE
Lloh58:
	ldr	x8, [x8, _GLX_NO_RESET_NOTIFICATION_ARB@GOTPAGEOFF]
	b	LBB0_30
LBB0_28:
Lloh59:
	adrp	x9, _GLFW_LOSE_CONTEXT_ON_RESET@GOTPAGE
Lloh60:
	ldr	x9, [x9, _GLFW_LOSE_CONTEXT_ON_RESET@GOTPAGEOFF]
Lloh61:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_31
; %bb.29:
Lloh62:
	adrp	x8, _GLX_LOSE_CONTEXT_ON_RESET_ARB@GOTPAGE
Lloh63:
	ldr	x8, [x8, _GLX_LOSE_CONTEXT_ON_RESET_ARB@GOTPAGEOFF]
LBB0_30:
Lloh64:
	adrp	x9, _GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB@GOTPAGE
Lloh65:
	ldr	x9, [x9, _GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB@GOTPAGEOFF]
Lloh66:
	ldr	w0, [x9]
	ldr	w1, [x8]
	bl	_setGLXattrib
LBB0_31:
Lloh67:
	adrp	x8, _GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB@GOTPAGE
Lloh68:
	ldr	x8, [x8, _GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	orr	w23, w8, w23
LBB0_32:
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_39
; %bb.33:
	ldr	x9, [x24, #16]
	cbz	x9, LBB0_39
; %bb.34:
Lloh70:
	adrp	x9, _GLFW_RELEASE_BEHAVIOR_NONE@GOTPAGE
Lloh71:
	ldr	x9, [x9, _GLFW_RELEASE_BEHAVIOR_NONE@GOTPAGEOFF]
Lloh72:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_36
; %bb.35:
Lloh73:
	adrp	x8, _GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB@GOTPAGE
Lloh74:
	ldr	x8, [x8, _GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB@GOTPAGEOFF]
	b	LBB0_38
LBB0_36:
Lloh75:
	adrp	x9, _GLFW_RELEASE_BEHAVIOR_FLUSH@GOTPAGE
Lloh76:
	ldr	x9, [x9, _GLFW_RELEASE_BEHAVIOR_FLUSH@GOTPAGEOFF]
Lloh77:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_39
; %bb.37:
Lloh78:
	adrp	x8, _GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB@GOTPAGE
Lloh79:
	ldr	x8, [x8, _GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB@GOTPAGEOFF]
LBB0_38:
Lloh80:
	adrp	x9, _GLX_CONTEXT_RELEASE_BEHAVIOR_ARB@GOTPAGE
Lloh81:
	ldr	x9, [x9, _GLX_CONTEXT_RELEASE_BEHAVIOR_ARB@GOTPAGEOFF]
Lloh82:
	ldr	w0, [x9]
	ldr	w1, [x8]
	bl	_setGLXattrib
LBB0_39:
	ldr	w1, [x21, #40]
	cmp	w1, #1
	b.ne	LBB0_41
; %bb.40:
	ldr	w8, [x21, #44]
	cbz	w8, LBB0_42
LBB0_41:
Lloh83:
	adrp	x8, _GLX_CONTEXT_MAJOR_VERSION_ARB@GOTPAGE
Lloh84:
	ldr	x8, [x8, _GLX_CONTEXT_MAJOR_VERSION_ARB@GOTPAGEOFF]
Lloh85:
	ldr	w0, [x8]
	bl	_setGLXattrib
Lloh86:
	adrp	x8, _GLX_CONTEXT_MINOR_VERSION_ARB@GOTPAGE
Lloh87:
	ldr	x8, [x8, _GLX_CONTEXT_MINOR_VERSION_ARB@GOTPAGEOFF]
Lloh88:
	ldr	w0, [x8]
	ldr	w1, [x21, #44]
	bl	_setGLXattrib
LBB0_42:
	cbz	w22, LBB0_44
; %bb.43:
Lloh89:
	adrp	x8, _GLX_CONTEXT_PROFILE_MASK_ARB@GOTPAGE
Lloh90:
	ldr	x8, [x8, _GLX_CONTEXT_PROFILE_MASK_ARB@GOTPAGEOFF]
Lloh91:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_setGLXattrib
LBB0_44:
	cbz	w23, LBB0_46
; %bb.45:
Lloh92:
	adrp	x8, _GLX_CONTEXT_FLAGS_ARB@GOTPAGE
Lloh93:
	ldr	x8, [x8, _GLX_CONTEXT_FLAGS_ARB@GOTPAGEOFF]
Lloh94:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_setGLXattrib
LBB0_46:
Lloh95:
	adrp	x8, _None@GOTPAGE
Lloh96:
	ldr	x8, [x8, _None@GOTPAGEOFF]
Lloh97:
	ldr	w0, [x8]
	mov	x1, x0
	bl	_setGLXattrib
	ldr	x8, [x24, #8]
	ldr	w0, [x24, #56]
	ldr	x1, [sp]
Lloh98:
	adrp	x9, _True@GOTPAGE
Lloh99:
	ldr	x9, [x9, _True@GOTPAGEOFF]
Lloh100:
	ldr	w3, [x9]
	add	x4, sp, #8
	mov	x2, x20
	blr	x8
	str	x0, [x19]
	cbnz	x0, LBB0_52
; %bb.47:
	ldr	x8, [x24, #48]
	ldr	x9, [x24]
Lloh101:
	adrp	x10, _GLXBadProfileARB@GOTPAGE
Lloh102:
	ldr	x10, [x10, _GLXBadProfileARB@GOTPAGEOFF]
Lloh103:
	ldr	x10, [x10]
	add	x9, x10, x9
	cmp	x8, x9
	b.ne	LBB0_52
; %bb.48:
	ldr	x8, [x21]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_52
; %bb.49:
	ldr	x8, [x21, #16]
Lloh104:
	adrp	x9, _GLFW_OPENGL_ANY_PROFILE@GOTPAGE
Lloh105:
	ldr	x9, [x9, _GLFW_OPENGL_ANY_PROFILE@GOTPAGEOFF]
Lloh106:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_52
; %bb.50:
	ldr	w8, [x25]
Lloh107:
	adrp	x9, _GL_FALSE@GOTPAGE
Lloh108:
	ldr	x9, [x9, _GL_FALSE@GOTPAGEOFF]
Lloh109:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_52
LBB0_51:
	ldr	x1, [sp]
	mov	x0, x19
	mov	x2, x20
	bl	_createLegacyContext
	str	x0, [x19]
LBB0_52:
	bl	__glfwReleaseXErrorHandler
	ldr	x8, [x19]
	cbz	x8, LBB0_54
; %bb.53:
Lloh110:
	adrp	x8, _GL_TRUE@GOTPAGE
Lloh111:
	ldr	x8, [x8, _GL_TRUE@GOTPAGEOFF]
	b	LBB0_56
LBB0_54:
Lloh112:
	adrp	x8, _GLFW_VERSION_UNAVAILABLE@GOTPAGE
Lloh113:
	ldr	x8, [x8, _GLFW_VERSION_UNAVAILABLE@GOTPAGEOFF]
Lloh114:
	ldr	w0, [x8]
Lloh115:
	adrp	x1, l_.str.5@PAGE
Lloh116:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	__glfwInputXError
LBB0_55:
Lloh117:
	adrp	x8, _GL_FALSE@GOTPAGE
Lloh118:
	ldr	x8, [x8, _GL_FALSE@GOTPAGEOFF]
LBB0_56:
	ldr	w0, [x8]
	ldur	x8, [x29, #-88]
Lloh119:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh120:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh121:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_58
; %bb.57:
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_58:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpLdrGot	Lloh110, Lloh111
	.loh AdrpAdd	Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpLdrGot	Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_FORMAT_UNAVAILABLE,4,2    ; @GLFW_FORMAT_UNAVAILABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GLX: Failed to find a suitable GLXFBConfig"

	.comm	_GL_FALSE,4,2                   ; @GL_FALSE
	.comm	__glfw,64,3                     ; @_glfw
	.comm	_GLFW_PLATFORM_ERROR,4,2        ; @GLFW_PLATFORM_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"GLX: Failed to retrieve visual for GLXFBConfig"

	.comm	_GLFW_OPENGL_ES_API,8,3         ; @GLFW_OPENGL_ES_API
	.comm	_GLFW_API_UNAVAILABLE,4,2       ; @GLFW_API_UNAVAILABLE
l_.str.2:                               ; @.str.2
	.asciz	"GLX: OpenGL ES requested but GLX_EXT_create_context_es2_profile is unavailable"

	.comm	_GLFW_VERSION_UNAVAILABLE,4,2   ; @GLFW_VERSION_UNAVAILABLE
l_.str.3:                               ; @.str.3
	.asciz	"GLX: Forward compatibility requested but GLX_ARB_create_context_profile is unavailable"

l_.str.4:                               ; @.str.4
	.asciz	"GLX: An OpenGL profile requested but GLX_ARB_create_context_profile is unavailable"

	.comm	_GLFW_OPENGL_API,8,3            ; @GLFW_OPENGL_API
	.comm	_GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB,4,2 ; @GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB
	.comm	_GLFW_OPENGL_CORE_PROFILE,8,3   ; @GLFW_OPENGL_CORE_PROFILE
	.comm	_GLX_CONTEXT_CORE_PROFILE_BIT_ARB,4,2 ; @GLX_CONTEXT_CORE_PROFILE_BIT_ARB
	.comm	_GLFW_OPENGL_COMPAT_PROFILE,8,3 ; @GLFW_OPENGL_COMPAT_PROFILE
	.comm	_GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB,4,2 ; @GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB
	.comm	_GLX_CONTEXT_ES2_PROFILE_BIT_EXT,4,2 ; @GLX_CONTEXT_ES2_PROFILE_BIT_EXT
	.comm	_GLX_CONTEXT_DEBUG_BIT_ARB,4,2  ; @GLX_CONTEXT_DEBUG_BIT_ARB
	.comm	_GLFW_NO_RESET_NOTIFICATION,8,3 ; @GLFW_NO_RESET_NOTIFICATION
	.comm	_GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB,4,2 ; @GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB
	.comm	_GLX_NO_RESET_NOTIFICATION_ARB,4,2 ; @GLX_NO_RESET_NOTIFICATION_ARB
	.comm	_GLFW_LOSE_CONTEXT_ON_RESET,8,3 ; @GLFW_LOSE_CONTEXT_ON_RESET
	.comm	_GLX_LOSE_CONTEXT_ON_RESET_ARB,4,2 ; @GLX_LOSE_CONTEXT_ON_RESET_ARB
	.comm	_GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB,4,2 ; @GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB
	.comm	_GLFW_RELEASE_BEHAVIOR_NONE,8,3 ; @GLFW_RELEASE_BEHAVIOR_NONE
	.comm	_GLX_CONTEXT_RELEASE_BEHAVIOR_ARB,4,2 ; @GLX_CONTEXT_RELEASE_BEHAVIOR_ARB
	.comm	_GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB,4,2 ; @GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB
	.comm	_GLFW_RELEASE_BEHAVIOR_FLUSH,8,3 ; @GLFW_RELEASE_BEHAVIOR_FLUSH
	.comm	_GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB,4,2 ; @GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB
	.comm	_GLX_CONTEXT_MAJOR_VERSION_ARB,4,2 ; @GLX_CONTEXT_MAJOR_VERSION_ARB
	.comm	_GLX_CONTEXT_MINOR_VERSION_ARB,4,2 ; @GLX_CONTEXT_MINOR_VERSION_ARB
	.comm	_GLX_CONTEXT_PROFILE_MASK_ARB,4,2 ; @GLX_CONTEXT_PROFILE_MASK_ARB
	.comm	_GLX_CONTEXT_FLAGS_ARB,4,2      ; @GLX_CONTEXT_FLAGS_ARB
	.comm	_None,4,2                       ; @None
	.comm	_True,4,2                       ; @True
	.comm	_GLXBadProfileARB,8,3           ; @GLXBadProfileARB
	.comm	_GLFW_OPENGL_ANY_PROFILE,8,3    ; @GLFW_OPENGL_ANY_PROFILE
l_.str.5:                               ; @.str.5
	.asciz	"GLX: Failed to create context"

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