	.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
	movl	$1, %eax
	cmpq	$0, (%rsi)
	je	LBB0_4
## %bb.1:
	movq	_tetris_key_presses@GOTPCREL(%rip), %rcx
	incl	(%rcx)
	movq	_tetris_running@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_4
## %bb.2:
	movq	_tetris_keypress@GOTPCREL(%rip), %rcx
	movq	$0, (%rcx)
	addl	$-128, %edi
	cmpl	$3, %edi
	ja	LBB0_4
## %bb.3:
	movslq	%edi, %rax
	leaq	l_switch.table.process_record_user(%rip), %rdx
	movq	(%rdx,%rax,8), %rax
	movq	%rax, (%rcx)
	xorl	%eax, %eax
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tetris_key_presses,4,2         ## @tetris_key_presses
	.comm	_tetris_running,8,3             ## @tetris_running
	.comm	_tetris_keypress,8,3            ## @tetris_keypress
	.section	__TEXT,__const
	.p2align	3                               ## @switch.table.process_record_user
l_switch.table.process_record_user:
	.quad	1                               ## 0x1
	.quad	4                               ## 0x4
	.quad	2                               ## 0x2
	.quad	3                               ## 0x3

.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:
	ldr	x8, [x1]
	cbz	x8, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _tetris_key_presses@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tetris_key_presses@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh2:
	adrp	x8, _tetris_running@GOTPAGE
Lloh3:
	ldr	x8, [x8, _tetris_running@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.2:
Lloh5:
	adrp	x8, _tetris_keypress@GOTPAGE
Lloh6:
	ldr	x8, [x8, _tetris_keypress@GOTPAGEOFF]
	str	xzr, [x8]
	sub	w9, w0, #128
	cmp	w9, #3
	b.hi	LBB0_4
; %bb.3:
	mov	w0, #0
Lloh7:
	adrp	x10, l_switch.table.process_record_user@PAGE
Lloh8:
	add	x10, x10, l_switch.table.process_record_user@PAGEOFF
	ldr	x9, [x10, w9, sxtw #3]
	str	x9, [x8]
	ret
LBB0_4:
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_tetris_key_presses,4,2         ; @tetris_key_presses
	.comm	_tetris_running,8,3             ; @tetris_running
	.comm	_tetris_keypress,8,3            ; @tetris_keypress
	.section	__TEXT,__const
	.p2align	3                               ; @switch.table.process_record_user
l_switch.table.process_record_user:
	.quad	1                               ; 0x1
	.quad	4                               ; 0x4
	.quad	2                               ; 0x2
	.quad	3                               ; 0x3

.subsections_via_symbols
