	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function IN4500
_IN4500:                                ## @IN4500
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_FLAG_MPI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r14), %rsi
	callq	_test_bit
	testq	%rax, %rax
	setne	%cl
	shll	%cl, %ebx
	movq	_do8bitIO@GOTPCREL(%rip), %rax
	movq	(%r14), %rcx
	movslq	%ebx, %rbx
	movq	(%rcx), %rdi
	addq	%rbx, %rdi
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	callq	_inb
	movl	%eax, %r15d
	movq	(%r14), %rax
	movq	(%rax), %rax
	leaq	(%rbx,%rax), %rdi
	incq	%rdi
	callq	_inb
                                        ## kill: def $ax killed $ax def $eax
	shll	$8, %eax
	addl	%r15d, %eax
	jmp	LBB0_3
LBB0_1:
	callq	_inw
                                        ## kill: def $ax killed $ax def $eax
LBB0_3:
	movzwl	%ax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAG_MPI,4,2                   ## @FLAG_MPI
	.comm	_do8bitIO,4,2                   ## @do8bitIO
	.no_dead_strip	_IN4500
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function IN4500
_IN4500:                                ; @IN4500
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _FLAG_MPI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FLAG_MPI@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_test_bit
	cmp	x0, #0
	cset	w8, ne
Lloh3:
	adrp	x9, _do8bitIO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _do8bitIO@GOTPAGEOFF]
	lsl	w8, w20, w8
Lloh5:
	ldr	w9, [x9]
	ldr	x10, [x19]
	ldr	x10, [x10]
	sxtw	x21, w8
	add	x0, x10, x21
	cbz	w9, LBB0_2
; %bb.1:
	bl	_inb
	mov	x20, x0
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x8, x21, x8
	add	x0, x8, #1
	bl	_inb
	add	w0, w20, w0, lsl #8
	b	LBB0_3
LBB0_2:
	bl	_inw
LBB0_3:
	and	w0, w0, #0xffff
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAG_MPI,4,2                   ; @FLAG_MPI
	.comm	_do8bitIO,4,2                   ; @do8bitIO
	.no_dead_strip	_IN4500
.subsections_via_symbols
