	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function key_callback
_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	_GLFW_PRESS@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_21
## %bb.1:
	addl	$-128, %esi
	cmpl	$14, %esi
	ja	LBB0_21
## %bb.2:
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_11:
	movq	_wait_events@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	$0, (%rax)
	sete	%cl
	movl	%ecx, (%rax)
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.6(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_printf                         ## TAILCALL
LBB0_20:
	movq	_track_cursor@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	$0, (%rax)
	sete	%cl
	movl	%ecx, (%rax)
	jmp	LBB0_21
LBB0_10:
	movq	_swap_interval@GOTPCREL(%rip), %rbx
	movl	$1, %esi
	subl	(%rbx), %esi
	movl	%esi, (%rbx)
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_glfwSwapInterval               ## TAILCALL
LBB0_9:
	movq	_GLFW_CURSOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GLFW_CURSOR_HIDDEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_glfwSetInputMode
	leaq	L_str(%rip), %rdi
	jmp	LBB0_7
LBB0_19:
	movq	_standard_cursors@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	40(%rax), %rsi
	jmp	LBB0_13
LBB0_17:
	movq	_standard_cursors@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	24(%rax), %rsi
	jmp	LBB0_13
LBB0_16:
	movq	_standard_cursors@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%rax), %rsi
	jmp	LBB0_13
LBB0_12:
	movq	_standard_cursors@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rsi
	jmp	LBB0_13
LBB0_5:
	movq	_GLFW_CURSOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_glfwGetInputMode
	movq	_GLFW_CURSOR_DISABLED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_22
LBB0_6:
	movq	_GLFW_CURSOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GLFW_CURSOR_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_glfwSetInputMode
	leaq	L_str.8(%rip), %rdi
	jmp	LBB0_7
LBB0_8:
	movq	_GLFW_CURSOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GLFW_CURSOR_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_glfwSetInputMode
	leaq	L_str.7(%rip), %rdi
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_puts                           ## TAILCALL
LBB0_3:
	movq	_animate_cursor@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	$0, (%rax)
	sete	%cl
	movl	%ecx, (%rax)
	je	LBB0_21
LBB0_4:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	jmp	LBB0_14
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_18:
	movq	_standard_cursors@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	32(%rax), %rsi
	jmp	LBB0_13
LBB0_15:
	movq	_standard_cursors@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rsi
LBB0_13:
	movq	%rbx, %rdi
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_glfwSetCursor                  ## TAILCALL
LBB0_22:
	movq	_GL_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_glfwSetWindowShouldClose       ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_20
	.long	L0_0_set_10
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_19
	.long	L0_0_set_18
	.long	L0_0_set_17
	.long	L0_0_set_16
	.long	L0_0_set_15
	.long	L0_0_set_12
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_GLFW_PRESS,4,2                 ## @GLFW_PRESS
	.comm	_animate_cursor,4,2             ## @animate_cursor
	.comm	_GLFW_CURSOR,4,2                ## @GLFW_CURSOR
	.comm	_GLFW_CURSOR_DISABLED,4,2       ## @GLFW_CURSOR_DISABLED
	.comm	_GL_TRUE,4,2                    ## @GL_TRUE
	.comm	_GLFW_CURSOR_NORMAL,4,2         ## @GLFW_CURSOR_NORMAL
	.comm	_GLFW_CURSOR_HIDDEN,4,2         ## @GLFW_CURSOR_HIDDEN
	.comm	_swap_interval,4,2              ## @swap_interval
	.section	__TEXT,__cstring,cstring_literals
L_.str.3:                               ## @.str.3
	.asciz	"(( swap interval: %i ))\n"

	.comm	_wait_events,4,2                ## @wait_events
L_.str.4:                               ## @.str.4
	.asciz	"(( %sing for events ))\n"

L_.str.5:                               ## @.str.5
	.asciz	"wait"

L_.str.6:                               ## @.str.6
	.asciz	"poll"

	.comm	_track_cursor,4,2               ## @track_cursor
	.comm	_standard_cursors,8,3           ## @standard_cursors
L_str:                                  ## @str
	.asciz	"(( cursor is hidden ))"

L_str.7:                                ## @str.7
	.asciz	"(( cursor is disabled ))"

L_str.8:                                ## @str.8
	.asciz	"(( cursor is normal ))"

	.no_dead_strip	_key_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function key_callback
_key_callback:                          ; @key_callback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x8, _GLFW_PRESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLFW_PRESS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w3
	b.ne	LBB0_17
; %bb.1:
	sub	w8, w1, #128
	cmp	w8, #14
	b.hi	LBB0_17
; %bb.2:
	mov	x19, x0
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh5:
	adrp	x8, _wait_events@GOTPAGE
Lloh6:
	ldr	x8, [x8, _wait_events@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #0
	cset	w9, eq
	str	w9, [x8]
Lloh7:
	adrp	x8, l_.str.6@PAGE
Lloh8:
	add	x8, x8, l_.str.6@PAGEOFF
Lloh9:
	adrp	x9, l_.str.5@PAGE
Lloh10:
	add	x9, x9, l_.str.5@PAGEOFF
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh11:
	adrp	x0, l_.str.4@PAGE
Lloh12:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	b	LBB0_17
LBB0_4:
Lloh13:
	adrp	x8, _track_cursor@GOTPAGE
Lloh14:
	ldr	x8, [x8, _track_cursor@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #0
	cset	w9, eq
	str	w9, [x8]
	b	LBB0_17
LBB0_5:
Lloh15:
	adrp	x19, _swap_interval@GOTPAGE
Lloh16:
	ldr	x19, [x19, _swap_interval@GOTPAGEOFF]
	ldr	w8, [x19]
	mov	w9, #1
	sub	w8, w9, w8
	str	w8, [x19]
	str	x8, [sp]
Lloh17:
	adrp	x0, l_.str.3@PAGE
Lloh18:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_glfwSwapInterval
LBB0_6:
Lloh19:
	adrp	x8, _GLFW_CURSOR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GLFW_CURSOR@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x8, _GLFW_CURSOR_HIDDEN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _GLFW_CURSOR_HIDDEN@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_glfwSetInputMode
Lloh25:
	adrp	x0, l_str@PAGE
Lloh26:
	add	x0, x0, l_str@PAGEOFF
	b	LBB0_14
LBB0_7:
Lloh27:
	adrp	x8, _standard_cursors@GOTPAGE
Lloh28:
	ldr	x8, [x8, _standard_cursors@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	ldr	x1, [x8, #40]
	b	LBB0_20
LBB0_8:
Lloh30:
	adrp	x8, _standard_cursors@GOTPAGE
Lloh31:
	ldr	x8, [x8, _standard_cursors@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	ldr	x1, [x8, #24]
	b	LBB0_20
LBB0_9:
Lloh33:
	adrp	x8, _standard_cursors@GOTPAGE
Lloh34:
	ldr	x8, [x8, _standard_cursors@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	ldr	x1, [x8, #16]
	b	LBB0_20
LBB0_10:
Lloh36:
	adrp	x8, _standard_cursors@GOTPAGE
Lloh37:
	ldr	x8, [x8, _standard_cursors@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	ldr	x1, [x8]
	b	LBB0_20
LBB0_11:
Lloh39:
	adrp	x8, _GLFW_CURSOR@GOTPAGE
Lloh40:
	ldr	x8, [x8, _GLFW_CURSOR@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_glfwGetInputMode
Lloh42:
	adrp	x8, _GLFW_CURSOR_DISABLED@GOTPAGE
Lloh43:
	ldr	x8, [x8, _GLFW_CURSOR_DISABLED@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_22
LBB0_12:
Lloh45:
	adrp	x8, _GLFW_CURSOR@GOTPAGE
Lloh46:
	ldr	x8, [x8, _GLFW_CURSOR@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
Lloh48:
	adrp	x8, _GLFW_CURSOR_NORMAL@GOTPAGE
Lloh49:
	ldr	x8, [x8, _GLFW_CURSOR_NORMAL@GOTPAGEOFF]
Lloh50:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_glfwSetInputMode
Lloh51:
	adrp	x0, l_str.8@PAGE
Lloh52:
	add	x0, x0, l_str.8@PAGEOFF
	b	LBB0_14
LBB0_13:
Lloh53:
	adrp	x8, _GLFW_CURSOR@GOTPAGE
Lloh54:
	ldr	x8, [x8, _GLFW_CURSOR@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
Lloh56:
	adrp	x8, _GLFW_CURSOR_DISABLED@GOTPAGE
Lloh57:
	ldr	x8, [x8, _GLFW_CURSOR_DISABLED@GOTPAGEOFF]
Lloh58:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_glfwSetInputMode
Lloh59:
	adrp	x0, l_str.7@PAGE
Lloh60:
	add	x0, x0, l_str.7@PAGEOFF
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_puts
LBB0_15:
Lloh61:
	adrp	x8, _animate_cursor@GOTPAGE
Lloh62:
	ldr	x8, [x8, _animate_cursor@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #0
	cset	w10, eq
	str	w10, [x8]
	cbz	w9, LBB0_17
LBB0_16:
	mov	x0, x19
	mov	x1, #0
	b	LBB0_21
LBB0_17:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_18:
Lloh63:
	adrp	x8, _standard_cursors@GOTPAGE
Lloh64:
	ldr	x8, [x8, _standard_cursors@GOTPAGEOFF]
Lloh65:
	ldr	x8, [x8]
	ldr	x1, [x8, #32]
	b	LBB0_20
LBB0_19:
Lloh66:
	adrp	x8, _standard_cursors@GOTPAGE
Lloh67:
	ldr	x8, [x8, _standard_cursors@GOTPAGEOFF]
Lloh68:
	ldr	x8, [x8]
	ldr	x1, [x8, #8]
LBB0_20:
	mov	x0, x19
LBB0_21:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_glfwSetCursor
LBB0_22:
Lloh69:
	adrp	x8, _GL_TRUE@GOTPAGE
Lloh70:
	ldr	x8, [x8, _GL_TRUE@GOTPAGEOFF]
Lloh71:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_glfwSetWindowShouldClose
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_18-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_16-LBB0_3)>>2
                                        ; -- End function
	.comm	_GLFW_PRESS,4,2                 ; @GLFW_PRESS
	.comm	_animate_cursor,4,2             ; @animate_cursor
	.comm	_GLFW_CURSOR,4,2                ; @GLFW_CURSOR
	.comm	_GLFW_CURSOR_DISABLED,4,2       ; @GLFW_CURSOR_DISABLED
	.comm	_GL_TRUE,4,2                    ; @GL_TRUE
	.comm	_GLFW_CURSOR_NORMAL,4,2         ; @GLFW_CURSOR_NORMAL
	.comm	_GLFW_CURSOR_HIDDEN,4,2         ; @GLFW_CURSOR_HIDDEN
	.comm	_swap_interval,4,2              ; @swap_interval
	.section	__TEXT,__cstring,cstring_literals
l_.str.3:                               ; @.str.3
	.asciz	"(( swap interval: %i ))\n"

	.comm	_wait_events,4,2                ; @wait_events
l_.str.4:                               ; @.str.4
	.asciz	"(( %sing for events ))\n"

l_.str.5:                               ; @.str.5
	.asciz	"wait"

l_.str.6:                               ; @.str.6
	.asciz	"poll"

	.comm	_track_cursor,4,2               ; @track_cursor
	.comm	_standard_cursors,8,3           ; @standard_cursors
l_str:                                  ; @str
	.asciz	"(( cursor is hidden ))"

l_str.7:                                ; @str.7
	.asciz	"(( cursor is disabled ))"

l_str.8:                                ; @str.8
	.asciz	"(( cursor is normal ))"

	.no_dead_strip	_key_callback
.subsections_via_symbols
