	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_glfwMakeContextCurrent         ## -- Begin function glfwMakeContextCurrent
	.p2align	4, 0x90
_glfwMakeContextCurrent:                ## @glfwMakeContextCurrent
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	__glfw@GOTPCREL(%rip), %rdi
	callq	__glfwPlatformGetTls
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	__GLFW_REQUIRE_INIT
	testq	%r14, %r14
	je	LBB0_3
## %bb.1:
	movq	%r14, %rdx
	movq	(%r14), %rax
	movq	_GLFW_NO_API@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.2:
	movq	_GLFW_NO_WINDOW_CONTEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	__glfwInputError                ## TAILCALL
LBB0_3:
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.4:
	movq	%rbx, %rax
	xorl	%edi, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*16(%rax)                       ## TAILCALL
LBB0_5:
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.6:
	movq	%rbx, %rcx
	movq	8(%rdx), %rax
	cmpq	8(%rbx), %rax
	je	LBB0_8
## %bb.7:
	xorl	%edi, %edi
	movq	%rdx, %rbx
	callq	*16(%rcx)
	movq	%rbx, %rdx
LBB0_8:
	movq	%rdx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*16(%rdx)                       ## TAILCALL
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__glfw,4,2                      ## @_glfw
	.comm	_GLFW_NO_API,8,3                ## @GLFW_NO_API
	.comm	_GLFW_NO_WINDOW_CONTEXT,4,2     ## @GLFW_NO_WINDOW_CONTEXT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot make current with a window that has no OpenGL or OpenGL ES context"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_glfwMakeContextCurrent         ; -- Begin function glfwMakeContextCurrent
	.p2align	2
_glfwMakeContextCurrent:                ; @glfwMakeContextCurrent
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, __glfw@GOTPAGE
Lloh1:
	ldr	x0, [x0, __glfw@GOTPAGEOFF]
	bl	__glfwPlatformGetTls
	mov	x20, x0
	bl	__GLFW_REQUIRE_INIT
	cbz	x19, LBB0_3
; %bb.1:
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _GLFW_NO_API@GOTPAGE
Lloh3:
	ldr	x9, [x9, _GLFW_NO_API@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
Lloh5:
	adrp	x8, _GLFW_NO_WINDOW_CONTEXT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GLFW_NO_WINDOW_CONTEXT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	__glfwInputError
LBB0_3:
	cbz	x20, LBB0_10
; %bb.4:
	ldr	x1, [x20, #16]
	mov	x0, #0
	b	LBB0_9
LBB0_5:
	cbz	x20, LBB0_8
; %bb.6:
	ldr	x8, [x19, #8]
	ldr	x9, [x20, #8]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.7:
	ldr	x8, [x20, #16]
	mov	x0, #0
	blr	x8
LBB0_8:
	ldr	x1, [x19, #16]
	mov	x0, x19
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x1
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	__glfw,4,2                      ; @_glfw
	.comm	_GLFW_NO_API,8,3                ; @GLFW_NO_API
	.comm	_GLFW_NO_WINDOW_CONTEXT,4,2     ; @GLFW_NO_WINDOW_CONTEXT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot make current with a window that has no OpenGL or OpenGL ES context"

.subsections_via_symbols
