	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_psmouse_attr_show_helper       ## -- Begin function psmouse_attr_show_helper
	.p2align	4, 0x90
_psmouse_attr_show_helper:              ## @psmouse_attr_show_helper
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_to_serio_port
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_to_psmouse_attr
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_serio_get_drvdata
	cmpq	_psmouse_attr_protocol@GOTPCREL(%rip), %rbx
	je	LBB0_3
## %bb.1:
	movq	(%rax), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	8(%r15), %rcx
	movl	(%r15), %esi
	movq	%rax, %rdi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rcx                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_psmouse_attr_protocol,4,2      ## @psmouse_attr_protocol
	.comm	_ENOENT,4,2                     ## @ENOENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_psmouse_attr_show_helper       ; -- Begin function psmouse_attr_show_helper
	.p2align	2
_psmouse_attr_show_helper:              ; @psmouse_attr_show_helper
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x21, x1
	bl	_to_serio_port
	mov	x22, x0
	mov	x0, x21
	bl	_to_psmouse_attr
	mov	x20, x0
	mov	x0, x22
	bl	_serio_get_drvdata
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _psmouse_attr_protocol@GOTPAGE
Lloh1:
	ldr	x9, [x9, _psmouse_attr_protocol@GOTPAGEOFF]
	cmp	x21, x9
	ccmp	x8, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	ldr	x3, [x20, #8]
	ldr	w1, [x20]
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	br	x3
LBB0_2:
Lloh2:
	adrp	x8, _ENOENT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_psmouse_attr_protocol,4,2      ; @psmouse_attr_protocol
	.comm	_ENOENT,4,2                     ; @ENOENT
.subsections_via_symbols
