	.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_7
## %bb.1:
	cmpl	$128, %esi
	je	LBB0_6
## %bb.2:
	cmpl	$129, %esi
	je	LBB0_5
## %bb.3:
	cmpl	$130, %esi
	jne	LBB0_7
## %bb.4:
	movq	_GLFW_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_glfwSetWindowShouldClose       ## TAILCALL
LBB0_7:
	popq	%rbp
	retq
LBB0_6:
	xorl	%esi, %esi
	xorl	%edx, %edx
	popq	%rbp
	jmp	_glfwSetWindowIcon              ## TAILCALL
LBB0_5:
	movq	_cur_icon_color@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %edx
	incl	%edx
	movslq	%edx, %rdx
	imulq	$1717986919, %rdx, %rdx         ## imm = 0x66666667
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$33, %rdx
	addl	%esi, %edx
	leal	(%rdx,%rdx,4), %edx
	negl	%edx
	leal	(%rcx,%rdx), %esi
	incl	%esi
	movl	%esi, (%rax)
	popq	%rbp
	jmp	_set_icon                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_PRESS,4,2                 ## @GLFW_PRESS
	.comm	_GLFW_TRUE,4,2                  ## @GLFW_TRUE
	.comm	_cur_icon_color,4,2             ## @cur_icon_color
	.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_5
; %bb.1:
	cmp	w1, #128
	b.eq	LBB0_6
; %bb.2:
	cmp	w1, #129
	b.eq	LBB0_7
; %bb.3:
	cmp	w1, #130
	b.ne	LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _GLFW_TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLFW_TRUE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	b	_glfwSetWindowShouldClose
LBB0_5:
	ret
LBB0_6:
	mov	w1, #0
	mov	x2, #0
	b	_glfwSetWindowIcon
LBB0_7:
Lloh6:
	adrp	x8, _cur_icon_color@GOTPAGE
Lloh7:
	ldr	x8, [x8, _cur_icon_color@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	mov	w10, #26215
	movk	w10, #26214, lsl #16
	smull	x10, w9, w10
	lsr	x11, x10, #63
	asr	x10, x10, #33
	add	w10, w10, w11
	add	w10, w10, w10, lsl #2
	sub	w1, w9, w10
	str	w1, [x8]
	b	_set_icon
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_PRESS,4,2                 ; @GLFW_PRESS
	.comm	_GLFW_TRUE,4,2                  ; @GLFW_TRUE
	.comm	_cur_icon_color,4,2             ; @cur_icon_color
	.no_dead_strip	_key_callback
.subsections_via_symbols
