	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_modifier                ## -- Begin function update_modifier
	.p2align	4, 0x90
_update_modifier:                       ## @update_modifier
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	movq	_KEYBOARD_PRESSED@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_7
## %bb.2:
	movq	__modifiers@GOTPCREL(%rip), %rax
	xorl	(%rax), %edx
	jmp	LBB0_6
LBB0_3:
	movq	_KEYBOARD_RELEASED@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_5
## %bb.4:
	notl	%edx
	movq	__modifiers@GOTPCREL(%rip), %rax
	andl	(%rax), %edx
	jmp	LBB0_6
LBB0_5:
	movq	__modifiers@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
LBB0_6:
	movq	__modifiers@GOTPCREL(%rip), %rax
	movl	%edx, (%rax)
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KEYBOARD_PRESSED,8,3           ## @KEYBOARD_PRESSED
	.comm	__modifiers,4,2                 ## @_modifiers
	.comm	_KEYBOARD_RELEASED,8,3          ## @KEYBOARD_RELEASED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_modifier                ; -- Begin function update_modifier
	.p2align	2
_update_modifier:                       ; @update_modifier
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, __modifiers@GOTPAGE
Lloh1:
	ldr	x8, [x8, __modifiers@GOTPAGEOFF]
	cbz	w1, LBB0_3
; %bb.1:
Lloh2:
	adrp	x9, _KEYBOARD_PRESSED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _KEYBOARD_PRESSED@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x9, x0
	b.ne	LBB0_7
; %bb.2:
	ldr	w9, [x8]
	eor	w9, w9, w2
	b	LBB0_6
LBB0_3:
Lloh5:
	adrp	x9, _KEYBOARD_RELEASED@GOTPAGE
Lloh6:
	ldr	x9, [x9, _KEYBOARD_RELEASED@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x0
	b.ne	LBB0_5
; %bb.4:
	ldr	w9, [x8]
	bic	w9, w9, w2
	b	LBB0_6
LBB0_5:
	ldr	w9, [x8]
	orr	w9, w9, w2
LBB0_6:
	str	w9, [x8]
LBB0_7:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_KEYBOARD_PRESSED,8,3           ; @KEYBOARD_PRESSED
	.comm	__modifiers,4,2                 ; @_modifiers
	.comm	_KEYBOARD_RELEASED,8,3          ; @KEYBOARD_RELEASED
.subsections_via_symbols
