	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eisa_in16                      ## -- Begin function eisa_in16
	.p2align	4, 0x90
_eisa_in16:                             ## @eisa_in16
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_EISA_bus@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movzwl	%di, %edi
	callq	_eisa_permute
	movl	%eax, %edi
	callq	_gsc_readw
	movl	%eax, %edi
	popq	%rbp
	jmp	_le16_to_cpu                    ## TAILCALL
LBB0_1:
	movl	$65535, %eax                    ## imm = 0xFFFF
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EISA_bus,8,3                   ## @EISA_bus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eisa_in16                      ; -- Begin function eisa_in16
	.p2align	2
_eisa_in16:                             ; @eisa_in16
	.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
Lloh0:
	adrp	x8, _EISA_bus@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EISA_bus@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_eisa_permute
	bl	_gsc_readw
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_le16_to_cpu
LBB0_2:
	mov	w0, #65535
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EISA_bus,8,3                   ; @EISA_bus
.subsections_via_symbols
