	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_record_user            ## -- Begin function process_record_user
	.p2align	4, 0x90
_process_record_user:                   ## @process_record_user
	.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 $edi killed $edi def $rdi
	xorl	%ebx, %ebx
	leal	-129(%rdi), %eax
	cmpl	$2, %eax
	jb	LBB0_7
## %bb.1:
	cmpl	$131, %edi
	jne	LBB0_6
## %bb.2:
	cmpl	$0, (%rsi)
	je	LBB0_4
## %bb.3:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_timer_read
	movl	%eax, _process_record_user.reset_timer(%rip)
	jmp	LBB0_7
LBB0_6:
	movl	$1, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movl	_process_record_user.reset_timer(%rip), %edi
	callq	_timer_elapsed
	cmpl	$500, %eax                      ## imm = 0x1F4
	jl	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_reset_keyboard
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_process_record_user.reset_timer,4,2 ## @process_record_user.reset_timer
	.comm	_MOD_MASK_SHIFT,4,2             ## @MOD_MASK_SHIFT
	.comm	_rgb_encoder_state,4,2          ## @rgb_encoder_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_record_user            ; -- Begin function process_record_user
	.p2align	2
_process_record_user:                   ; @process_record_user
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	w8, w0, #129
	cmp	w8, #2
	b.hs	LBB0_2
LBB0_1:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	cmp	w0, #131
	b.ne	LBB0_5
; %bb.3:
	ldr	w8, [x1]
	cbz	w8, LBB0_6
; %bb.4:
	bl	_timer_read
	mov	x8, x0
	mov	w0, #0
	adrp	x9, _process_record_user.reset_timer@PAGE
	str	w8, [x9, _process_record_user.reset_timer@PAGEOFF]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh0:
	adrp	x8, _process_record_user.reset_timer@PAGE
Lloh1:
	ldr	w0, [x8, _process_record_user.reset_timer@PAGEOFF]
	bl	_timer_elapsed
	cmp	w0, #500
	b.lt	LBB0_1
; %bb.7:
	bl	_reset_keyboard
	b	LBB0_1
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_process_record_user.reset_timer,4,2 ; @process_record_user.reset_timer
	.comm	_MOD_MASK_SHIFT,4,2             ; @MOD_MASK_SHIFT
	.comm	_rgb_encoder_state,4,2          ; @rgb_encoder_state
.subsections_via_symbols
