	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ts_input_mapping
_ts_input_mapping:                      ## @ts_input_mapping
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rcx), %edx
	movq	_HID_USAGE_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	%edx, %ecx
	movq	_HID_UP_LOGIVENDOR@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	cmpl	(%rsi), %ecx
	jne	LBB0_11
## %bb.1:
	movq	_HID_USAGE@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	addl	$-13, %edx
	cmpl	$61, %edx
	ja	LBB0_11
## %bb.2:
	movq	_KEY_YELLOW@GOTPCREL(%rip), %rcx
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_6:
	movq	_KEY_HOME@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_9:
	movq	_KEY_MENU@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_7:
	movq	_KEY_TV@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_3:
	movq	_KEY_GREEN@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_8:
	movq	_KEY_VCR@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_4:
	movq	_KEY_BLUE@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_5:
	movq	_KEY_RED@GOTPCREL(%rip), %rcx
LBB0_10:
	movl	(%rcx), %edi
	callq	_ts_map_key_clear
	movl	$1, %eax
LBB0_11:
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_3
	.long	L0_0_set_8
	.long	L0_0_set_4
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_HID_USAGE_PAGE,4,2             ## @HID_USAGE_PAGE
	.comm	_HID_UP_LOGIVENDOR,4,2          ## @HID_UP_LOGIVENDOR
	.comm	_HID_USAGE,4,2                  ## @HID_USAGE
	.comm	_KEY_YELLOW,4,2                 ## @KEY_YELLOW
	.comm	_KEY_GREEN,4,2                  ## @KEY_GREEN
	.comm	_KEY_BLUE,4,2                   ## @KEY_BLUE
	.comm	_KEY_RED,4,2                    ## @KEY_RED
	.comm	_KEY_HOME,4,2                   ## @KEY_HOME
	.comm	_KEY_TV,4,2                     ## @KEY_TV
	.comm	_KEY_VCR,4,2                    ## @KEY_VCR
	.comm	_KEY_MENU,4,2                   ## @KEY_MENU
	.no_dead_strip	_ts_input_mapping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ts_input_mapping
_ts_input_mapping:                      ; @ts_input_mapping
	.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
	ldr	w8, [x3]
Lloh0:
	adrp	x9, _HID_USAGE_PAGE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HID_USAGE_PAGE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh3:
	adrp	x10, _HID_UP_LOGIVENDOR@GOTPAGE
Lloh4:
	ldr	x10, [x10, _HID_UP_LOGIVENDOR@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_4
; %bb.1:
	mov	w0, #0
Lloh6:
	adrp	x9, _HID_USAGE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HID_USAGE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w8, w9, w8
	sub	w9, w8, #13
	cmp	w9, #61
	b.hi	LBB0_12
; %bb.2:
Lloh9:
	adrp	x8, _KEY_YELLOW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _KEY_YELLOW@GOTPAGEOFF]
Lloh11:
	adrp	x10, lJTI0_0@PAGE
Lloh12:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_3
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_3:
Lloh13:
	adrp	x8, _KEY_HOME@GOTPAGE
Lloh14:
	ldr	x8, [x8, _KEY_HOME@GOTPAGEOFF]
	b	LBB0_11
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh15:
	adrp	x8, _KEY_MENU@GOTPAGE
Lloh16:
	ldr	x8, [x8, _KEY_MENU@GOTPAGEOFF]
	b	LBB0_11
LBB0_6:
Lloh17:
	adrp	x8, _KEY_TV@GOTPAGE
Lloh18:
	ldr	x8, [x8, _KEY_TV@GOTPAGEOFF]
	b	LBB0_11
LBB0_7:
Lloh19:
	adrp	x8, _KEY_GREEN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _KEY_GREEN@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
Lloh21:
	adrp	x8, _KEY_VCR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _KEY_VCR@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
Lloh23:
	adrp	x8, _KEY_BLUE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _KEY_BLUE@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh25:
	adrp	x8, _KEY_RED@GOTPAGE
Lloh26:
	ldr	x8, [x8, _KEY_RED@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	bl	_ts_map_key_clear
	mov	w0, #1
LBB0_12:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
                                        ; -- End function
	.comm	_HID_USAGE_PAGE,4,2             ; @HID_USAGE_PAGE
	.comm	_HID_UP_LOGIVENDOR,4,2          ; @HID_UP_LOGIVENDOR
	.comm	_HID_USAGE,4,2                  ; @HID_USAGE
	.comm	_KEY_YELLOW,4,2                 ; @KEY_YELLOW
	.comm	_KEY_GREEN,4,2                  ; @KEY_GREEN
	.comm	_KEY_BLUE,4,2                   ; @KEY_BLUE
	.comm	_KEY_RED,4,2                    ; @KEY_RED
	.comm	_KEY_HOME,4,2                   ; @KEY_HOME
	.comm	_KEY_TV,4,2                     ; @KEY_TV
	.comm	_KEY_VCR,4,2                    ; @KEY_VCR
	.comm	_KEY_MENU,4,2                   ; @KEY_MENU
	.no_dead_strip	_ts_input_mapping
.subsections_via_symbols
