	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ch_input_mapping
_ch_input_mapping:                      ## @ch_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
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %rbx
	movq	_HID_USAGE_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rcx), %eax
	movq	_HID_UP_MSVENDOR@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpl	(%rcx), %eax
	jne	LBB0_21
## %bb.1:
	movq	_EV_REP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rsi), %rax
	movl	(%rax), %esi
	callq	_set_bit
	movq	_HID_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rbx), %eax
	leal	-65281(%rax), %ecx
	cmpl	$10, %ecx
	ja	LBB0_2
## %bb.22:
	movq	_BTN_1@GOTPCREL(%rip), %rax
	leaq	LJTI0_1(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_4:
	movq	_BTN_2@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_2:
	addl	$-241, %eax
	cmpl	$7, %eax
	ja	LBB0_21
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_14:
	movq	_KEY_WLAN@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_5:
	movq	_BTN_3@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_6:
	movq	_BTN_4@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_7:
	movq	_BTN_5@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_8:
	movq	_BTN_6@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_9:
	movq	_BTN_7@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_10:
	movq	_BTN_8@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_11:
	movq	_BTN_9@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_12:
	movq	_BTN_A@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_13:
	movq	_BTN_B@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_15:
	movq	_KEY_BRIGHTNESSDOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_16:
	movq	_KEY_BRIGHTNESSUP@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_17:
	movq	_KEY_DISPLAY_OFF@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_18:
	movq	_KEY_CAMERA@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_19:
	movq	_KEY_PROG1@GOTPCREL(%rip), %rax
LBB0_20:
	movl	(%rax), %edi
	callq	_ch_map_key_clear
	movl	$1, %r14d
LBB0_21:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.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_17, LBB0_17-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_18
	.long	L0_0_set_19
.set L0_1_set_20, LBB0_20-LJTI0_1
.set L0_1_set_4, LBB0_4-LJTI0_1
.set L0_1_set_5, LBB0_5-LJTI0_1
.set L0_1_set_6, LBB0_6-LJTI0_1
.set L0_1_set_7, LBB0_7-LJTI0_1
.set L0_1_set_8, LBB0_8-LJTI0_1
.set L0_1_set_9, LBB0_9-LJTI0_1
.set L0_1_set_10, LBB0_10-LJTI0_1
.set L0_1_set_11, LBB0_11-LJTI0_1
.set L0_1_set_12, LBB0_12-LJTI0_1
.set L0_1_set_13, LBB0_13-LJTI0_1
LJTI0_1:
	.long	L0_1_set_20
	.long	L0_1_set_4
	.long	L0_1_set_5
	.long	L0_1_set_6
	.long	L0_1_set_7
	.long	L0_1_set_8
	.long	L0_1_set_9
	.long	L0_1_set_10
	.long	L0_1_set_11
	.long	L0_1_set_12
	.long	L0_1_set_13
	.end_data_region
                                        ## -- End function
	.comm	_HID_USAGE_PAGE,4,2             ## @HID_USAGE_PAGE
	.comm	_HID_UP_MSVENDOR,4,2            ## @HID_UP_MSVENDOR
	.comm	_EV_REP,4,2                     ## @EV_REP
	.comm	_HID_USAGE,4,2                  ## @HID_USAGE
	.comm	_BTN_1,4,2                      ## @BTN_1
	.comm	_BTN_2,4,2                      ## @BTN_2
	.comm	_BTN_3,4,2                      ## @BTN_3
	.comm	_BTN_4,4,2                      ## @BTN_4
	.comm	_BTN_5,4,2                      ## @BTN_5
	.comm	_BTN_6,4,2                      ## @BTN_6
	.comm	_BTN_7,4,2                      ## @BTN_7
	.comm	_BTN_8,4,2                      ## @BTN_8
	.comm	_BTN_9,4,2                      ## @BTN_9
	.comm	_BTN_A,4,2                      ## @BTN_A
	.comm	_BTN_B,4,2                      ## @BTN_B
	.comm	_KEY_WLAN,4,2                   ## @KEY_WLAN
	.comm	_KEY_BRIGHTNESSDOWN,4,2         ## @KEY_BRIGHTNESSDOWN
	.comm	_KEY_BRIGHTNESSUP,4,2           ## @KEY_BRIGHTNESSUP
	.comm	_KEY_DISPLAY_OFF,4,2            ## @KEY_DISPLAY_OFF
	.comm	_KEY_CAMERA,4,2                 ## @KEY_CAMERA
	.comm	_KEY_PROG1,4,2                  ## @KEY_PROG1
	.no_dead_strip	_ch_input_mapping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ch_input_mapping
_ch_input_mapping:                      ; @ch_input_mapping
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x3]
Lloh0:
	adrp	x9, _HID_USAGE_PAGE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HID_USAGE_PAGE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh3:
	adrp	x9, _HID_UP_MSVENDOR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HID_UP_MSVENDOR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x3
Lloh6:
	adrp	x8, _EV_REP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EV_REP@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	x8, [x1]
	ldr	w1, [x8]
	bl	_set_bit
Lloh9:
	adrp	x8, _HID_USAGE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HID_USAGE@GOTPAGEOFF]
	ldr	w9, [x19]
Lloh11:
	ldr	w8, [x8]
	and	w8, w8, w9
	mov	w9, #-65281
	add	w9, w8, w9
	cmp	w9, #10
	b.hi	LBB0_5
; %bb.2:
Lloh12:
	adrp	x8, _BTN_1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BTN_1@GOTPAGEOFF]
Lloh14:
	adrp	x10, lJTI0_1@PAGE
Lloh15:
	add	x10, x10, lJTI0_1@PAGEOFF
	adr	x11, LBB0_3
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_3:
Lloh16:
	adrp	x8, _BTN_2@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BTN_2@GOTPAGEOFF]
	b	LBB0_22
LBB0_4:
	mov	w0, #0
	b	LBB0_23
LBB0_5:
	mov	w0, #0
	sub	w8, w8, #241
	cmp	w8, #7
	b.hi	LBB0_23
; %bb.6:
Lloh18:
	adrp	x9, lJTI0_0@PAGE
Lloh19:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
Lloh20:
	adrp	x8, _KEY_WLAN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _KEY_WLAN@GOTPAGEOFF]
	b	LBB0_22
LBB0_8:
Lloh22:
	adrp	x8, _BTN_3@GOTPAGE
Lloh23:
	ldr	x8, [x8, _BTN_3@GOTPAGEOFF]
	b	LBB0_22
LBB0_9:
Lloh24:
	adrp	x8, _BTN_4@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BTN_4@GOTPAGEOFF]
	b	LBB0_22
LBB0_10:
Lloh26:
	adrp	x8, _BTN_5@GOTPAGE
Lloh27:
	ldr	x8, [x8, _BTN_5@GOTPAGEOFF]
	b	LBB0_22
LBB0_11:
Lloh28:
	adrp	x8, _BTN_6@GOTPAGE
Lloh29:
	ldr	x8, [x8, _BTN_6@GOTPAGEOFF]
	b	LBB0_22
LBB0_12:
Lloh30:
	adrp	x8, _BTN_7@GOTPAGE
Lloh31:
	ldr	x8, [x8, _BTN_7@GOTPAGEOFF]
	b	LBB0_22
LBB0_13:
Lloh32:
	adrp	x8, _BTN_8@GOTPAGE
Lloh33:
	ldr	x8, [x8, _BTN_8@GOTPAGEOFF]
	b	LBB0_22
LBB0_14:
Lloh34:
	adrp	x8, _BTN_9@GOTPAGE
Lloh35:
	ldr	x8, [x8, _BTN_9@GOTPAGEOFF]
	b	LBB0_22
LBB0_15:
Lloh36:
	adrp	x8, _BTN_A@GOTPAGE
Lloh37:
	ldr	x8, [x8, _BTN_A@GOTPAGEOFF]
	b	LBB0_22
LBB0_16:
Lloh38:
	adrp	x8, _BTN_B@GOTPAGE
Lloh39:
	ldr	x8, [x8, _BTN_B@GOTPAGEOFF]
	b	LBB0_22
LBB0_17:
Lloh40:
	adrp	x8, _KEY_BRIGHTNESSDOWN@GOTPAGE
Lloh41:
	ldr	x8, [x8, _KEY_BRIGHTNESSDOWN@GOTPAGEOFF]
	b	LBB0_22
LBB0_18:
Lloh42:
	adrp	x8, _KEY_BRIGHTNESSUP@GOTPAGE
Lloh43:
	ldr	x8, [x8, _KEY_BRIGHTNESSUP@GOTPAGEOFF]
	b	LBB0_22
LBB0_19:
Lloh44:
	adrp	x8, _KEY_DISPLAY_OFF@GOTPAGE
Lloh45:
	ldr	x8, [x8, _KEY_DISPLAY_OFF@GOTPAGEOFF]
	b	LBB0_22
LBB0_20:
Lloh46:
	adrp	x8, _KEY_CAMERA@GOTPAGE
Lloh47:
	ldr	x8, [x8, _KEY_CAMERA@GOTPAGEOFF]
	b	LBB0_22
LBB0_21:
Lloh48:
	adrp	x8, _KEY_PROG1@GOTPAGE
Lloh49:
	ldr	x8, [x8, _KEY_PROG1@GOTPAGEOFF]
LBB0_22:
	ldr	w0, [x8]
	bl	_ch_map_key_clear
	mov	w0, #1
LBB0_23:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	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
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh48, Lloh49
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_18-LBB0_7)>>2
	.byte	(LBB0_19-LBB0_7)>>2
	.byte	(LBB0_23-LBB0_7)>>2
	.byte	(LBB0_23-LBB0_7)>>2
	.byte	(LBB0_20-LBB0_7)>>2
	.byte	(LBB0_21-LBB0_7)>>2
lJTI0_1:
	.byte	(LBB0_22-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_8-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
	.byte	(LBB0_16-LBB0_3)>>2
                                        ; -- End function
	.comm	_HID_USAGE_PAGE,4,2             ; @HID_USAGE_PAGE
	.comm	_HID_UP_MSVENDOR,4,2            ; @HID_UP_MSVENDOR
	.comm	_EV_REP,4,2                     ; @EV_REP
	.comm	_HID_USAGE,4,2                  ; @HID_USAGE
	.comm	_BTN_1,4,2                      ; @BTN_1
	.comm	_BTN_2,4,2                      ; @BTN_2
	.comm	_BTN_3,4,2                      ; @BTN_3
	.comm	_BTN_4,4,2                      ; @BTN_4
	.comm	_BTN_5,4,2                      ; @BTN_5
	.comm	_BTN_6,4,2                      ; @BTN_6
	.comm	_BTN_7,4,2                      ; @BTN_7
	.comm	_BTN_8,4,2                      ; @BTN_8
	.comm	_BTN_9,4,2                      ; @BTN_9
	.comm	_BTN_A,4,2                      ; @BTN_A
	.comm	_BTN_B,4,2                      ; @BTN_B
	.comm	_KEY_WLAN,4,2                   ; @KEY_WLAN
	.comm	_KEY_BRIGHTNESSDOWN,4,2         ; @KEY_BRIGHTNESSDOWN
	.comm	_KEY_BRIGHTNESSUP,4,2           ; @KEY_BRIGHTNESSUP
	.comm	_KEY_DISPLAY_OFF,4,2            ; @KEY_DISPLAY_OFF
	.comm	_KEY_CAMERA,4,2                 ; @KEY_CAMERA
	.comm	_KEY_PROG1,4,2                  ; @KEY_PROG1
	.no_dead_strip	_ch_input_mapping
.subsections_via_symbols
