	.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
	xorl	%eax, %eax
	cmpl	$-4456448, %ecx                 ## imm = 0xFFBC0000
	jne	LBB0_16
## %bb.1:
	movq	_HID_USAGE@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	addl	$-13, %edx
	cmpl	$64, %edx
	ja	LBB0_16
## %bb.2:
	movq	_KEY_HOME@GOTPCREL(%rip), %rcx
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_3:
	movq	_KEY_MENU@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_4:
	movq	_KEY_TV@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_12:
	movq	_KEY_AUDIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_13:
	movq	_KEY_TEXT@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_14:
	movq	_KEY_CHANNEL@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_6:
	movq	_KEY_GREEN@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_5:
	movq	_KEY_RED@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_7:
	movq	_KEY_YELLOW@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_8:
	movq	_KEY_BLUE@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_9:
	movq	_KEY_ANGLE@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_10:
	movq	_KEY_LANGUAGE@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_11:
	movq	_KEY_SUBTITLE@GOTPCREL(%rip), %rcx
LBB0_15:
	movl	(%rcx), %edi
	callq	_ts_map_key_clear
	movl	$1, %eax
LBB0_16:
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_HID_USAGE_PAGE,4,2             ## @HID_USAGE_PAGE
	.comm	_HID_USAGE,4,2                  ## @HID_USAGE
	.comm	_KEY_HOME,4,2                   ## @KEY_HOME
	.comm	_KEY_MENU,4,2                   ## @KEY_MENU
	.comm	_KEY_TV,4,2                     ## @KEY_TV
	.comm	_KEY_RED,4,2                    ## @KEY_RED
	.comm	_KEY_GREEN,4,2                  ## @KEY_GREEN
	.comm	_KEY_YELLOW,4,2                 ## @KEY_YELLOW
	.comm	_KEY_BLUE,4,2                   ## @KEY_BLUE
	.comm	_KEY_ANGLE,4,2                  ## @KEY_ANGLE
	.comm	_KEY_LANGUAGE,4,2               ## @KEY_LANGUAGE
	.comm	_KEY_SUBTITLE,4,2               ## @KEY_SUBTITLE
	.comm	_KEY_AUDIO,4,2                  ## @KEY_AUDIO
	.comm	_KEY_TEXT,4,2                   ## @KEY_TEXT
	.comm	_KEY_CHANNEL,4,2                ## @KEY_CHANNEL
	.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
	cmn	w9, #1088, lsl #12              ; =4456448
	b.ne	LBB0_4
; %bb.1:
	mov	w0, #0
Lloh3:
	adrp	x9, _HID_USAGE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HID_USAGE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w8, w9, w8
	sub	w9, w8, #13
	cmp	w9, #64
	b.hi	LBB0_17
; %bb.2:
Lloh6:
	adrp	x8, _KEY_HOME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KEY_HOME@GOTPAGEOFF]
Lloh8:
	adrp	x10, lJTI0_0@PAGE
Lloh9:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_3
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_3:
Lloh10:
	adrp	x8, _KEY_MENU@GOTPAGE
Lloh11:
	ldr	x8, [x8, _KEY_MENU@GOTPAGEOFF]
	b	LBB0_16
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh12:
	adrp	x8, _KEY_TV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _KEY_TV@GOTPAGEOFF]
	b	LBB0_16
LBB0_6:
Lloh14:
	adrp	x8, _KEY_AUDIO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _KEY_AUDIO@GOTPAGEOFF]
	b	LBB0_16
LBB0_7:
Lloh16:
	adrp	x8, _KEY_TEXT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _KEY_TEXT@GOTPAGEOFF]
	b	LBB0_16
LBB0_8:
Lloh18:
	adrp	x8, _KEY_CHANNEL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _KEY_CHANNEL@GOTPAGEOFF]
	b	LBB0_16
LBB0_9:
Lloh20:
	adrp	x8, _KEY_GREEN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _KEY_GREEN@GOTPAGEOFF]
	b	LBB0_16
LBB0_10:
Lloh22:
	adrp	x8, _KEY_RED@GOTPAGE
Lloh23:
	ldr	x8, [x8, _KEY_RED@GOTPAGEOFF]
	b	LBB0_16
LBB0_11:
Lloh24:
	adrp	x8, _KEY_YELLOW@GOTPAGE
Lloh25:
	ldr	x8, [x8, _KEY_YELLOW@GOTPAGEOFF]
	b	LBB0_16
LBB0_12:
Lloh26:
	adrp	x8, _KEY_BLUE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _KEY_BLUE@GOTPAGEOFF]
	b	LBB0_16
LBB0_13:
Lloh28:
	adrp	x8, _KEY_ANGLE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _KEY_ANGLE@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:
Lloh30:
	adrp	x8, _KEY_LANGUAGE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _KEY_LANGUAGE@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:
Lloh32:
	adrp	x8, _KEY_SUBTITLE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _KEY_SUBTITLE@GOTPAGEOFF]
LBB0_16:
	ldr	w0, [x8]
	bl	_ts_map_key_clear
	mov	w0, #1
LBB0_17:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.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_16-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
                                        ; -- End function
	.comm	_HID_USAGE_PAGE,4,2             ; @HID_USAGE_PAGE
	.comm	_HID_USAGE,4,2                  ; @HID_USAGE
	.comm	_KEY_HOME,4,2                   ; @KEY_HOME
	.comm	_KEY_MENU,4,2                   ; @KEY_MENU
	.comm	_KEY_TV,4,2                     ; @KEY_TV
	.comm	_KEY_RED,4,2                    ; @KEY_RED
	.comm	_KEY_GREEN,4,2                  ; @KEY_GREEN
	.comm	_KEY_YELLOW,4,2                 ; @KEY_YELLOW
	.comm	_KEY_BLUE,4,2                   ; @KEY_BLUE
	.comm	_KEY_ANGLE,4,2                  ; @KEY_ANGLE
	.comm	_KEY_LANGUAGE,4,2               ; @KEY_LANGUAGE
	.comm	_KEY_SUBTITLE,4,2               ; @KEY_SUBTITLE
	.comm	_KEY_AUDIO,4,2                  ; @KEY_AUDIO
	.comm	_KEY_TEXT,4,2                   ; @KEY_TEXT
	.comm	_KEY_CHANNEL,4,2                ; @KEY_CHANNEL
	.no_dead_strip	_ts_input_mapping
.subsections_via_symbols
