	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function empty_8042
_empty_8042:                            ## @empty_8042
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MAX_8042_LOOPS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$-1, %r14d
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.1:
	movq	_MAX_8042_FF@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	decl	%r15d
	je	LBB0_9
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_io_delay
	movl	$96, %edi
	callq	_inb
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	decl	%ebx
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_io_delay
	movl	$100, %edi
	callq	_inb
	cmpl	$255, %eax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, %al
	jne	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	testb	$2, %al
	jne	LBB0_6
## %bb.8:
	xorl	%r14d, %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_8042_LOOPS,4,2             ## @MAX_8042_LOOPS
	.comm	_MAX_8042_FF,4,2                ## @MAX_8042_FF
	.no_dead_strip	_empty_8042
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function empty_8042
_empty_8042:                            ; @empty_8042
	.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
Lloh0:
	adrp	x8, _MAX_8042_LOOPS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_8042_LOOPS@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	cbz	w19, LBB0_9
; %bb.1:
Lloh3:
	adrp	x8, _MAX_8042_FF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_8042_FF@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	subs	w20, w20, #1
	b.eq	LBB0_9
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_io_delay
	mov	w0, #96
	bl	_inb
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	sub	w19, w19, #1
	cbz	w19, LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	bl	_io_delay
	mov	w0, #100
	bl	_inb
	cmp	w0, #255
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	tbnz	w0, #0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	tbnz	w0, #1, LBB0_4
; %bb.8:
	mov	w0, #0
	b	LBB0_10
LBB0_9:
	mov	w0, #-1
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_8042_LOOPS,4,2             ; @MAX_8042_LOOPS
	.comm	_MAX_8042_FF,4,2                ; @MAX_8042_FF
	.no_dead_strip	_empty_8042
.subsections_via_symbols
