	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alps_is_cs19_trackpoint
_alps_is_cs19_trackpoint:               ## @alps_is_cs19_trackpoint
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	$0, -24(%rbp)
	movq	_TP_READ_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	movl	$2, %esi
	callq	_MAKE_PS2_CMD
	leaq	-24(%rbp), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_ps2_command
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	-24(%rbp), %eax
	movq	_TP_VARIANT_ALPS@GOTPCREL(%rip), %rcx
	xorl	(%rcx), %eax
	movl	$240, %ecx
	andl	-20(%rbp), %ecx
	xorl	$32, %ecx
	xorl	%ebx, %ebx
	orl	%eax, %ecx
	sete	%bl
LBB0_2:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TP_READ_ID,4,2                 ## @TP_READ_ID
	.comm	_TP_VARIANT_ALPS,4,2            ## @TP_VARIANT_ALPS
	.no_dead_strip	_alps_is_cs19_trackpoint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alps_is_cs19_trackpoint
_alps_is_cs19_trackpoint:               ; @alps_is_cs19_trackpoint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _TP_READ_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TP_READ_ID@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w0, #0
	mov	w1, #2
	bl	_MAKE_PS2_CMD
	mov	x2, x0
	add	x1, sp, #8
	mov	x0, x19
	bl	_ps2_command
	mov	x8, x0
	mov	w0, #0
	cbnz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _TP_VARIANT_ALPS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TP_VARIANT_ALPS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldp	w9, w10, [sp, #8]
	cmp	w9, w8
	and	w8, w10, #0xf0
	mov	w9, #32
	ccmp	w8, w9, #0, eq
	cset	w0, eq
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TP_READ_ID,4,2                 ; @TP_READ_ID
	.comm	_TP_VARIANT_ALPS,4,2            ; @TP_VARIANT_ALPS
	.no_dead_strip	_alps_is_cs19_trackpoint
.subsections_via_symbols
