	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_key_callback                   ## -- Begin function key_callback
	.p2align	4, 0x90
_key_callback:                          ## @key_callback
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_GLFW_PRESS@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_11
## %bb.1:
	movl	%r8d, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r14
	testl	%r8d, %r8d
	jne	LBB0_4
## %bb.2:
	movq	_GLFW_KEY_ESCAPE@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	_GLFW_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_glfwSetWindowShouldClose
LBB0_4:
	movq	_GLFW_KEY_ENTER@GOTPCREL(%rip), %rcx
	movq	_GLFW_MOD_ALT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%ebx, (%rcx)
	jne	LBB0_6
## %bb.5:
	cmpl	%r15d, %eax
	je	LBB0_8
LBB0_6:
	movq	_GLFW_KEY_F11@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jne	LBB0_11
## %bb.7:
	cmpl	%r15d, %eax
	jne	LBB0_11
LBB0_8:
	movq	%r14, %rdi
	callq	_glfwGetWindowMonitor
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movq	_windowed_xpos@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_windowed_ypos@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_windowed_width@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_windowed_height@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	$0, (%rsp)
	movq	%r14, %rdi
	xorl	%esi, %esi
	jmp	LBB0_10
LBB0_12:
	xorl	%eax, %eax
	callq	_glfwGetPrimaryMonitor
	testq	%rax, %rax
	je	LBB0_11
## %bb.13:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_glfwGetVideoMode
	movq	%rax, %rbx
	movq	_windowed_xpos@GOTPCREL(%rip), %rsi
	movq	_windowed_ypos@GOTPCREL(%rip), %rdx
	movq	%r14, %rdi
	callq	_glfwGetWindowPos
	movq	_windowed_width@GOTPCREL(%rip), %rsi
	movq	_windowed_height@GOTPCREL(%rip), %rdx
	movq	%r14, %rdi
	callq	_glfwGetWindowSize
	movl	8(%rbx), %r8d
	movl	(%rbx), %eax
	movl	4(%rbx), %r9d
	movl	%eax, (%rsp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
LBB0_10:
	callq	_glfwSetWindowMonitor
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_PRESS,4,2                 ## @GLFW_PRESS
	.comm	_GLFW_KEY_ESCAPE,4,2            ## @GLFW_KEY_ESCAPE
	.comm	_GLFW_TRUE,4,2                  ## @GLFW_TRUE
	.comm	_GLFW_KEY_ENTER,4,2             ## @GLFW_KEY_ENTER
	.comm	_GLFW_MOD_ALT,4,2               ## @GLFW_MOD_ALT
	.comm	_GLFW_KEY_F11,4,2               ## @GLFW_KEY_F11
	.comm	_windowed_xpos,4,2              ## @windowed_xpos
	.comm	_windowed_ypos,4,2              ## @windowed_ypos
	.comm	_windowed_width,4,2             ## @windowed_width
	.comm	_windowed_height,4,2            ## @windowed_height
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_key_callback                   ; -- Begin function key_callback
	.p2align	2
_key_callback:                          ; @key_callback
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _GLFW_PRESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLFW_PRESS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w3
	b.ne	LBB0_11
; %bb.1:
	mov	x20, x4
	mov	x21, x1
	mov	x19, x0
	cbnz	w4, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _GLFW_KEY_ESCAPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLFW_KEY_ESCAPE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _GLFW_TRUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_glfwSetWindowShouldClose
LBB0_4:
Lloh9:
	adrp	x8, _GLFW_KEY_ENTER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GLFW_KEY_ENTER@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x8]
Lloh12:
	adrp	x8, _GLFW_MOD_ALT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GLFW_MOD_ALT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w9, w21
	ccmp	w8, w20, #0, eq
	b.eq	LBB0_6
; %bb.5:
Lloh15:
	adrp	x9, _GLFW_KEY_F11@GOTPAGE
Lloh16:
	ldr	x9, [x9, _GLFW_KEY_F11@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w9, w21
	ccmp	w8, w20, #0, eq
	b.ne	LBB0_11
LBB0_6:
	mov	x0, x19
	bl	_glfwGetWindowMonitor
	cbz	x0, LBB0_8
; %bb.7:
Lloh18:
	adrp	x8, _windowed_xpos@GOTPAGE
Lloh19:
	ldr	x8, [x8, _windowed_xpos@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
Lloh21:
	adrp	x8, _windowed_ypos@GOTPAGE
Lloh22:
	ldr	x8, [x8, _windowed_ypos@GOTPAGEOFF]
Lloh23:
	adrp	x9, _windowed_width@GOTPAGE
Lloh24:
	ldr	x9, [x9, _windowed_width@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
Lloh26:
	ldr	w4, [x9]
Lloh27:
	adrp	x8, _windowed_height@GOTPAGE
Lloh28:
	ldr	x8, [x8, _windowed_height@GOTPAGEOFF]
Lloh29:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, #0
	mov	w6, #0
	b	LBB0_10
LBB0_8:
	bl	_glfwGetPrimaryMonitor
	cbz	x0, LBB0_11
; %bb.9:
	mov	x20, x0
	bl	_glfwGetVideoMode
	mov	x21, x0
Lloh30:
	adrp	x1, _windowed_xpos@GOTPAGE
Lloh31:
	ldr	x1, [x1, _windowed_xpos@GOTPAGEOFF]
Lloh32:
	adrp	x2, _windowed_ypos@GOTPAGE
Lloh33:
	ldr	x2, [x2, _windowed_ypos@GOTPAGEOFF]
	mov	x0, x19
	bl	_glfwGetWindowPos
Lloh34:
	adrp	x1, _windowed_width@GOTPAGE
Lloh35:
	ldr	x1, [x1, _windowed_width@GOTPAGEOFF]
Lloh36:
	adrp	x2, _windowed_height@GOTPAGE
Lloh37:
	ldr	x2, [x2, _windowed_height@GOTPAGEOFF]
	mov	x0, x19
	bl	_glfwGetWindowSize
	ldp	w5, w4, [x21, #4]
	ldr	w6, [x21]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	mov	w3, #0
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_glfwSetWindowMonitor
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_PRESS,4,2                 ; @GLFW_PRESS
	.comm	_GLFW_KEY_ESCAPE,4,2            ; @GLFW_KEY_ESCAPE
	.comm	_GLFW_TRUE,4,2                  ; @GLFW_TRUE
	.comm	_GLFW_KEY_ENTER,4,2             ; @GLFW_KEY_ENTER
	.comm	_GLFW_MOD_ALT,4,2               ; @GLFW_MOD_ALT
	.comm	_GLFW_KEY_F11,4,2               ; @GLFW_KEY_F11
	.comm	_windowed_xpos,4,2              ; @windowed_xpos
	.comm	_windowed_ypos,4,2              ; @windowed_ypos
	.comm	_windowed_width,4,2             ; @windowed_width
	.comm	_windowed_height,4,2            ; @windowed_height
.subsections_via_symbols
