	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lenovo_input_mapping_tpkbd
_lenovo_input_mapping_tpkbd:            ## @lenovo_input_mapping_tpkbd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_HID_UP_BUTTON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	$16, %edx
	xorl	%eax, %eax
	cmpl	%edx, (%rcx)
	jne	LBB0_2
## %bb.1:
	movl	$1, %esi
	callq	_hid_set_drvdata
	movq	_KEY_MICMUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_map_key_clear
	movl	$1, %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HID_UP_BUTTON,4,2              ## @HID_UP_BUTTON
	.comm	_KEY_MICMUTE,4,2                ## @KEY_MICMUTE
	.no_dead_strip	_lenovo_input_mapping_tpkbd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lenovo_input_mapping_tpkbd
_lenovo_input_mapping_tpkbd:            ; @lenovo_input_mapping_tpkbd
	.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_UP_BUTTON@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HID_UP_BUTTON@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	orr	w9, w9, #0x10
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	mov	w19, #1
	mov	w1, #1
	bl	_hid_set_drvdata
Lloh3:
	adrp	x8, _KEY_MICMUTE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KEY_MICMUTE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_map_key_clear
	b	LBB0_3
LBB0_2:
	mov	w19, #0
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HID_UP_BUTTON,4,2              ; @HID_UP_BUTTON
	.comm	_KEY_MICMUTE,4,2                ; @KEY_MICMUTE
	.no_dead_strip	_lenovo_input_mapping_tpkbd
.subsections_via_symbols
