	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mr_input_mapping
_mr_input_mapping:                      ## @mr_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), %ecx
	movq	_HID_USAGE_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%ecx, %edx
	movq	_HID_UP_CONSUMER@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	cmpl	(%rsi), %edx
	jne	LBB0_4
## %bb.1:
	movq	_HID_USAGE@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	addl	$-342, %ecx                     ## imm = 0xFEAA
	cmpl	$6, %ecx
	ja	LBB0_4
## %bb.2:
	movl	$71, %edx
	btl	%ecx, %edx
	jae	LBB0_4
## %bb.3:
	movslq	%ecx, %rax
	leaq	l_switch.table.mr_input_mapping(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %edi
	callq	_mr_map_key_clear
	movl	$1, %eax
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HID_USAGE_PAGE,4,2             ## @HID_USAGE_PAGE
	.comm	_HID_UP_CONSUMER,4,2            ## @HID_UP_CONSUMER
	.comm	_HID_USAGE,4,2                  ## @HID_USAGE
	.comm	_KEY_WORDPROCESSOR,4,2          ## @KEY_WORDPROCESSOR
	.comm	_KEY_SPREADSHEET,4,2            ## @KEY_SPREADSHEET
	.comm	_KEY_PRESENTATION,4,2           ## @KEY_PRESENTATION
	.comm	_KEY_STOP,4,2                   ## @KEY_STOP
	.no_dead_strip	_mr_input_mapping
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.mr_input_mapping
l_switch.table.mr_input_mapping:
	.quad	_KEY_WORDPROCESSOR
	.quad	_KEY_SPREADSHEET
	.quad	_KEY_PRESENTATION
	.quad	_KEY_WORDPROCESSOR
	.quad	_KEY_WORDPROCESSOR
	.quad	_KEY_WORDPROCESSOR
	.quad	_KEY_STOP

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mr_input_mapping
_mr_input_mapping:                      ; @mr_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_CONSUMER@GOTPAGE
Lloh4:
	ldr	x10, [x10, _HID_UP_CONSUMER@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_3
; %bb.1:
Lloh6:
	adrp	x9, _HID_USAGE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HID_USAGE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w8, w9, w8
	sub	w8, w8, #342
	cmp	w8, #6
	b.hi	LBB0_3
; %bb.2:
	mov	w9, #71
	lsr	w9, w9, w8
	tbnz	w9, #0, LBB0_4
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh9:
	adrp	x9, l_switch.table.mr_input_mapping@PAGE
Lloh10:
	add	x9, x9, l_switch.table.mr_input_mapping@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	w0, [x8]
	bl	_mr_map_key_clear
	mov	w0, #1
	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	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_HID_USAGE_PAGE,4,2             ; @HID_USAGE_PAGE
	.comm	_HID_UP_CONSUMER,4,2            ; @HID_UP_CONSUMER
	.comm	_HID_USAGE,4,2                  ; @HID_USAGE
	.comm	_KEY_WORDPROCESSOR,4,2          ; @KEY_WORDPROCESSOR
	.comm	_KEY_SPREADSHEET,4,2            ; @KEY_SPREADSHEET
	.comm	_KEY_PRESENTATION,4,2           ; @KEY_PRESENTATION
	.comm	_KEY_STOP,4,2                   ; @KEY_STOP
	.no_dead_strip	_mr_input_mapping
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.mr_input_mapping
l_switch.table.mr_input_mapping:
	.quad	_KEY_WORDPROCESSOR
	.quad	_KEY_SPREADSHEET
	.quad	_KEY_PRESENTATION
	.quad	_KEY_WORDPROCESSOR
	.quad	_KEY_WORDPROCESSOR
	.quad	_KEY_WORDPROCESSOR
	.quad	_KEY_STOP

.subsections_via_symbols
