	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function key_press_event
_key_press_event:                       ## @key_press_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	addl	$-23, %edi
	cmpl	$93, %edi
	ja	LBB0_4
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	_GP2X_UP@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_7:
	movq	_GP2X_RIGHT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_6:
	movq	_GP2X_LEFT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_5:
	movq	_GP2X_DOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_21:
	popq	%rbp
	jmp	_PicoReset                      ## TAILCALL
LBB0_17:
	movq	_GP2X_VOL_DOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_18:
	movq	_GP2X_VOL_UP@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_9:
	movq	_GP2X_SELECT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_8:
	movq	_GP2X_START@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_14:
	movq	_GP2X_L@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_15:
	movq	_GP2X_R@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_16:
	movq	_GP2X_PUSH@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_19:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_log_io_clear                   ## TAILCALL
LBB0_20:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_log_io_dump                    ## TAILCALL
LBB0_10:
	movq	_GP2X_A@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_11:
	movq	_GP2X_X@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_12:
	movq	_GP2X_B@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_13:
	movq	_GP2X_Y@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movq	_current_keys@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_21
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_19
	.long	L0_0_set_20
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_4
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_GP2X_UP,4,2                    ## @GP2X_UP
	.comm	_current_keys,4,2               ## @current_keys
	.comm	_GP2X_DOWN,4,2                  ## @GP2X_DOWN
	.comm	_GP2X_LEFT,4,2                  ## @GP2X_LEFT
	.comm	_GP2X_RIGHT,4,2                 ## @GP2X_RIGHT
	.comm	_GP2X_START,4,2                 ## @GP2X_START
	.comm	_GP2X_SELECT,4,2                ## @GP2X_SELECT
	.comm	_GP2X_A,4,2                     ## @GP2X_A
	.comm	_GP2X_X,4,2                     ## @GP2X_X
	.comm	_GP2X_B,4,2                     ## @GP2X_B
	.comm	_GP2X_Y,4,2                     ## @GP2X_Y
	.comm	_GP2X_L,4,2                     ## @GP2X_L
	.comm	_GP2X_R,4,2                     ## @GP2X_R
	.comm	_GP2X_PUSH,4,2                  ## @GP2X_PUSH
	.comm	_GP2X_VOL_DOWN,4,2              ## @GP2X_VOL_DOWN
	.comm	_GP2X_VOL_UP,4,2                ## @GP2X_VOL_UP
	.no_dead_strip	_key_press_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function key_press_event
_key_press_event:                       ; @key_press_event
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #23
	cmp	w8, #93
	b.hi	LBB0_21
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _GP2X_UP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GP2X_UP@GOTPAGEOFF]
	b	LBB0_20
LBB0_3:
Lloh4:
	adrp	x8, _GP2X_RIGHT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GP2X_RIGHT@GOTPAGEOFF]
	b	LBB0_20
LBB0_4:
Lloh6:
	adrp	x8, _GP2X_LEFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GP2X_LEFT@GOTPAGEOFF]
	b	LBB0_20
LBB0_5:
Lloh8:
	adrp	x8, _GP2X_DOWN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GP2X_DOWN@GOTPAGEOFF]
	b	LBB0_20
LBB0_6:
	b	_PicoReset
LBB0_7:
Lloh10:
	adrp	x8, _GP2X_VOL_DOWN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GP2X_VOL_DOWN@GOTPAGEOFF]
	b	LBB0_20
LBB0_8:
Lloh12:
	adrp	x8, _GP2X_VOL_UP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GP2X_VOL_UP@GOTPAGEOFF]
	b	LBB0_20
LBB0_9:
Lloh14:
	adrp	x8, _GP2X_SELECT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GP2X_SELECT@GOTPAGEOFF]
	b	LBB0_20
LBB0_10:
Lloh16:
	adrp	x8, _GP2X_START@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GP2X_START@GOTPAGEOFF]
	b	LBB0_20
LBB0_11:
Lloh18:
	adrp	x8, _GP2X_L@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GP2X_L@GOTPAGEOFF]
	b	LBB0_20
LBB0_12:
Lloh20:
	adrp	x8, _GP2X_R@GOTPAGE
Lloh21:
	ldr	x8, [x8, _GP2X_R@GOTPAGEOFF]
	b	LBB0_20
LBB0_13:
Lloh22:
	adrp	x8, _GP2X_PUSH@GOTPAGE
Lloh23:
	ldr	x8, [x8, _GP2X_PUSH@GOTPAGEOFF]
	b	LBB0_20
LBB0_14:
	b	_log_io_clear
LBB0_15:
	b	_log_io_dump
LBB0_16:
Lloh24:
	adrp	x8, _GP2X_A@GOTPAGE
Lloh25:
	ldr	x8, [x8, _GP2X_A@GOTPAGEOFF]
	b	LBB0_20
LBB0_17:
Lloh26:
	adrp	x8, _GP2X_X@GOTPAGE
Lloh27:
	ldr	x8, [x8, _GP2X_X@GOTPAGEOFF]
	b	LBB0_20
LBB0_18:
Lloh28:
	adrp	x8, _GP2X_B@GOTPAGE
Lloh29:
	ldr	x8, [x8, _GP2X_B@GOTPAGEOFF]
	b	LBB0_20
LBB0_19:
Lloh30:
	adrp	x8, _GP2X_Y@GOTPAGE
Lloh31:
	ldr	x8, [x8, _GP2X_Y@GOTPAGEOFF]
LBB0_20:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _current_keys@GOTPAGE
Lloh33:
	ldr	x9, [x9, _current_keys@GOTPAGEOFF]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
LBB0_21:
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_19-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
                                        ; -- End function
	.comm	_GP2X_UP,4,2                    ; @GP2X_UP
	.comm	_current_keys,4,2               ; @current_keys
	.comm	_GP2X_DOWN,4,2                  ; @GP2X_DOWN
	.comm	_GP2X_LEFT,4,2                  ; @GP2X_LEFT
	.comm	_GP2X_RIGHT,4,2                 ; @GP2X_RIGHT
	.comm	_GP2X_START,4,2                 ; @GP2X_START
	.comm	_GP2X_SELECT,4,2                ; @GP2X_SELECT
	.comm	_GP2X_A,4,2                     ; @GP2X_A
	.comm	_GP2X_X,4,2                     ; @GP2X_X
	.comm	_GP2X_B,4,2                     ; @GP2X_B
	.comm	_GP2X_Y,4,2                     ; @GP2X_Y
	.comm	_GP2X_L,4,2                     ; @GP2X_L
	.comm	_GP2X_R,4,2                     ; @GP2X_R
	.comm	_GP2X_PUSH,4,2                  ; @GP2X_PUSH
	.comm	_GP2X_VOL_DOWN,4,2              ; @GP2X_VOL_DOWN
	.comm	_GP2X_VOL_UP,4,2                ; @GP2X_VOL_UP
	.no_dead_strip	_key_press_event
.subsections_via_symbols
