	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rc_validate_scancode           ## -- Begin function rc_validate_scancode
	.p2align	4, 0x90
_rc_validate_scancode:                  ## @rc_validate_scancode
	.cfi_startproc
## %bb.0:
                                        ## kill: def $edi killed $edi def $rdi
	addl	$-128, %edi
	cmpl	$3, %edi
	ja	LBB0_6
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rcx
	addq	%rax, %rcx
	popq	%rbp
	jmpq	*%rcx
LBB0_4:
	andl	$-65536, %esi                   ## imm = 0xFFFF0000
	xorl	%eax, %eax
	cmpl	$-2146500608, %esi              ## imm = 0x800F0000
	je	LBB0_6
	jmp	LBB0_7
LBB0_5:
	andl	$-65536, %esi                   ## imm = 0xFFFF0000
	xorl	%eax, %eax
	cmpl	$-2146500608, %esi              ## imm = 0x800F0000
	je	LBB0_7
LBB0_6:
	movl	$1, %eax
LBB0_7:
	retq
LBB0_2:
	movl	%esi, %eax
	shrl	$16, %eax
	shrl	$8, %esi
	xorl	%eax, %esi
	xorl	%eax, %eax
	cmpb	$-1, %sil
	jne	LBB0_6
	jmp	LBB0_7
LBB0_3:
	movl	%esi, %ecx
	shrl	$8, %ecx
	xorl	%esi, %ecx
	xorl	%eax, %eax
	cmpb	$-1, %cl
	jne	LBB0_6
	jmp	LBB0_7
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rc_validate_scancode           ; -- Begin function rc_validate_scancode
	.p2align	2
_rc_validate_scancode:                  ; @rc_validate_scancode
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #128
	cmp	w8, #3
	b.hi	LBB0_10
; %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:
	mov	w8, #32783
	cmp	w8, w1, lsr #16
	b.eq	LBB0_10
; %bb.3:
	mov	w0, #0
	ret
LBB0_4:
	lsr	w8, w1, #8
	eon	w8, w8, w1, lsr #16
	tst	w8, #0xff
	b.ne	LBB0_10
; %bb.5:
	mov	w0, #0
	ret
LBB0_6:
	eon	w8, w1, w1, lsr #8
	tst	w8, #0xff
	b.ne	LBB0_10
; %bb.7:
	mov	w0, #0
	ret
LBB0_8:
	mov	w8, #32783
	cmp	w8, w1, lsr #16
	b.ne	LBB0_10
; %bb.9:
	mov	w0, #0
	ret
LBB0_10:
	mov	w0, #1
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
.subsections_via_symbols
