	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lenovo_remove
_lenovo_remove:                         ## @lenovo_remove
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	leal	-129(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_1
## %bb.3:
	movq	%rbx, %rdi
	callq	_lenovo_remove_cptkbd
	jmp	LBB0_4
LBB0_1:
	cmpl	$128, %eax
	jne	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_lenovo_remove_tpkbd
LBB0_4:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_hid_hw_stop                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_lenovo_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lenovo_remove
_lenovo_remove:                         ; @lenovo_remove
	.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
	mov	x19, x0
	ldr	w8, [x0]
	sub	w9, w8, #129
	cmp	w9, #2
	b.hs	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_lenovo_remove_cptkbd
	b	LBB0_4
LBB0_2:
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_lenovo_remove_tpkbd
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_hid_hw_stop
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_lenovo_remove
.subsections_via_symbols
