	.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
	movq	_GLFW_PRESS@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_9
## %bb.1:
	cmpl	$130, %esi
	je	LBB0_5
## %bb.2:
	cmpl	$129, %esi
	je	LBB0_8
## %bb.3:
	cmpl	$128, %esi
	jne	LBB0_9
## %bb.4:
	movq	_swap_interval@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	incl	%esi
	popq	%rbp
	jmp	_set_swap_interval              ## TAILCALL
LBB0_5:
	movq	_swap_tear@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movq	_swap_interval@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jne	LBB0_7
## %bb.6:
	testl	%esi, %esi
	jle	LBB0_9
LBB0_7:
	decl	%esi
	popq	%rbp
	jmp	_set_swap_interval              ## TAILCALL
LBB0_9:
	popq	%rbp
	retq
LBB0_8:
	movl	$1, %esi
	popq	%rbp
	jmp	_glfwSetWindowShouldClose       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_PRESS,4,2                 ## @GLFW_PRESS
	.comm	_swap_interval,4,2              ## @swap_interval
	.comm	_swap_tear,4,2                  ## @swap_tear
	.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:
Lloh0:
	adrp	x8, _GLFW_PRESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLFW_PRESS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w3
	b.ne	LBB0_10
; %bb.1:
	cmp	w1, #130
	b.eq	LBB0_5
; %bb.2:
	cmp	w1, #129
	b.eq	LBB0_7
; %bb.3:
	cmp	w1, #128
	b.ne	LBB0_10
; %bb.4:
Lloh3:
	adrp	x8, _swap_interval@GOTPAGE
Lloh4:
	ldr	x8, [x8, _swap_interval@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w1, w8, #1
	b	_set_swap_interval
LBB0_5:
Lloh6:
	adrp	x8, _swap_tear@GOTPAGE
Lloh7:
	ldr	x8, [x8, _swap_tear@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x8]
Lloh9:
	adrp	x8, _swap_interval@GOTPAGE
Lloh10:
	ldr	x8, [x8, _swap_interval@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cbz	w9, LBB0_8
; %bb.6:
	sub	w1, w8, #1
	b	_set_swap_interval
LBB0_7:
	mov	w1, #1
	b	_glfwSetWindowShouldClose
LBB0_8:
	subs	w1, w8, #1
	b.lt	LBB0_10
; %bb.9:
	b	_set_swap_interval
LBB0_10:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_PRESS,4,2                 ; @GLFW_PRESS
	.comm	_swap_interval,4,2              ; @swap_interval
	.comm	_swap_tear,4,2                  ; @swap_tear
	.no_dead_strip	_key_callback
.subsections_via_symbols
