	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atkbd_attr_show_helper
_atkbd_attr_show_helper:                ## @atkbd_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, %r15
	callq	_to_serio_port
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_serio_pin_driver
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movq	(%r12), %rax
	cmpq	_atkbd_drv@GOTPCREL(%rip), %rax
	je	LBB0_3
## %bb.2:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_4
LBB0_3:
	movq	%r12, %rdi
	callq	_serio_get_drvdata
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	*%r14
	movl	%eax, %ebx
LBB0_4:
	movq	%r12, %rdi
	callq	_serio_unpin_driver
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_atkbd_drv,4,2                  ## @atkbd_drv
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_atkbd_attr_show_helper
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atkbd_attr_show_helper
_atkbd_attr_show_helper:                ; @atkbd_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	x20, x2
	mov	x21, x1
	bl	_to_serio_port
	mov	x19, x0
	bl	_serio_pin_driver
	mov	x22, x0
	cbnz	w0, LBB0_5
; %bb.1:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _atkbd_drv@GOTPAGE
Lloh1:
	ldr	x9, [x9, _atkbd_drv@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_serio_get_drvdata
	mov	x1, x21
	blr	x20
	mov	x22, x0
LBB0_4:
	mov	x0, x19
	bl	_serio_unpin_driver
LBB0_5:
	mov	x0, x22
	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	_atkbd_drv,4,2                  ; @atkbd_drv
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_atkbd_attr_show_helper
.subsections_via_symbols
