	.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
	movq	_GLFW_PRESS@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_12
## %bb.1:
	cmpl	$128, %esi
	je	LBB0_5
## %bb.2:
	cmpl	$130, %esi
	je	LBB0_10
## %bb.3:
	cmpl	$129, %esi
	jne	LBB0_12
## %bb.4:
	movq	_GLFW_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_glfwSetWindowShouldClose       ## TAILCALL
LBB0_5:
	movq	_MODIFIER@GOTPCREL(%rip), %rax
	cmpl	%r8d, (%rax)
	jne	LBB0_12
## %bb.6:
	xorl	%edi, %edi
	callq	_glfwGetClipboardString
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	jmp	LBB0_8
LBB0_10:
	movq	_MODIFIER@GOTPCREL(%rip), %rax
	cmpl	%r8d, (%rax)
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.2(%rip), %rbx
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	_glfwSetClipboardString
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rsi
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_printf                         ## TAILCALL
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_9:
	leaq	L_str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_puts                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_PRESS,4,2                 ## @GLFW_PRESS
	.comm	_GLFW_TRUE,4,2                  ## @GLFW_TRUE
	.comm	_MODIFIER,4,2                   ## @MODIFIER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Clipboard contains \"%s\"\n"

L_.str.2:                               ## @.str.2
	.asciz	"Hello GLFW World!"

L_.str.3:                               ## @.str.3
	.asciz	"Setting clipboard to \"%s\"\n"

L_str:                                  ## @str
	.asciz	"Clipboard does not contain a string"

	.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_11
; %bb.1:
	cmp	w1, #128
	b.eq	LBB0_5
; %bb.2:
	cmp	w1, #130
	b.eq	LBB0_8
; %bb.3:
	cmp	w1, #129
	b.ne	LBB0_11
; %bb.4:
Lloh3:
	adrp	x8, _GLFW_TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_glfwSetWindowShouldClose
LBB0_5:
Lloh6:
	adrp	x8, _MODIFIER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MODIFIER@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w4
	b.ne	LBB0_11
; %bb.6:
	mov	x0, #0
	bl	_glfwGetClipboardString
	cbz	x0, LBB0_12
; %bb.7:
	str	x0, [sp]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_10
LBB0_8:
Lloh11:
	adrp	x8, _MODIFIER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MODIFIER@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w8, w4
	b.ne	LBB0_11
; %bb.9:
Lloh14:
	adrp	x19, l_.str.2@PAGE
Lloh15:
	add	x19, x19, l_.str.2@PAGEOFF
	mov	x0, #0
	mov	x1, x19
	bl	_glfwSetClipboardString
	str	x19, [sp]
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_10:
	bl	_printf
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_12:
Lloh18:
	adrp	x0, l_str@PAGE
Lloh19:
	add	x0, x0, l_str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_puts
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_PRESS,4,2                 ; @GLFW_PRESS
	.comm	_GLFW_TRUE,4,2                  ; @GLFW_TRUE
	.comm	_MODIFIER,4,2                   ; @MODIFIER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Clipboard contains \"%s\"\n"

l_.str.2:                               ; @.str.2
	.asciz	"Hello GLFW World!"

l_.str.3:                               ; @.str.3
	.asciz	"Setting clipboard to \"%s\"\n"

l_str:                                  ; @str
	.asciz	"Clipboard does not contain a string"

	.no_dead_strip	_key_callback
.subsections_via_symbols
