	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_next_kbd_init                  ## -- Begin function next_kbd_init
	.p2align	4, 0x90
_next_kbd_init:                         ## @next_kbd_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_out_hi
	movq	_NEXT_KBD_IN_BIT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	movl	$-2, %edx
	roll	%cl, %edx
	movq	_NEXT_KBD_IN_DDR@GOTPCREL(%rip), %rcx
	andl	%edx, (%rcx)
	movq	_NEXT_KBD_IN_PORT@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
	movl	$5, %edi
	callq	_query_delay
	movl	$8, %edi
	callq	_reset_delay
	movl	$5, %edi
	callq	_query_delay
	movl	$8, %edi
	popq	%rbp
	jmp	_reset_delay                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NEXT_KBD_IN_BIT,4,2            ## @NEXT_KBD_IN_BIT
	.comm	_NEXT_KBD_IN_DDR,4,2            ## @NEXT_KBD_IN_DDR
	.comm	_NEXT_KBD_IN_PORT,4,2           ## @NEXT_KBD_IN_PORT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_next_kbd_init                  ; -- Begin function next_kbd_init
	.p2align	2
_next_kbd_init:                         ; @next_kbd_init
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_out_hi
Lloh0:
	adrp	x8, _NEXT_KBD_IN_BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NEXT_KBD_IN_BIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh3:
	adrp	x9, _NEXT_KBD_IN_DDR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NEXT_KBD_IN_DDR@GOTPAGEOFF]
	ldr	w10, [x9]
	bic	w10, w10, w8
	str	w10, [x9]
Lloh5:
	adrp	x9, _NEXT_KBD_IN_PORT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NEXT_KBD_IN_PORT@GOTPAGEOFF]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	mov	w0, #5
	bl	_query_delay
	mov	w0, #8
	bl	_reset_delay
	mov	w0, #5
	bl	_query_delay
	mov	w0, #8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_reset_delay
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NEXT_KBD_IN_BIT,4,2            ; @NEXT_KBD_IN_BIT
	.comm	_NEXT_KBD_IN_DDR,4,2            ; @NEXT_KBD_IN_DDR
	.comm	_NEXT_KBD_IN_PORT,4,2           ; @NEXT_KBD_IN_PORT
.subsections_via_symbols
