	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mfc_try_io_port
_mfc_try_io_port:                       ## @mfc_try_io_port
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	8(%rax), %rax
	movl	$1016, (%rax)                   ## imm = 0x3F8
	movq	_IO_DATA_PATH_WIDTH_8@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	orl	%ecx, 16(%rax)
	callq	_pcmcia_request_io
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rax
	movq	8(%rax), %rax
	movl	$760, (%rax)                    ## imm = 0x2F8
	movl	(%r14), %ecx
	orl	%ecx, 16(%rax)
	movq	%rbx, %rdi
	callq	_pcmcia_request_io
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movq	(%rbx), %rax
	movq	8(%rax), %rax
	movl	$1000, (%rax)                   ## imm = 0x3E8
	movl	(%r14), %ecx
	orl	%ecx, 16(%rax)
	movq	%rbx, %rdi
	callq	_pcmcia_request_io
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	(%rbx), %rax
	movq	8(%rax), %rax
	movl	$744, (%rax)                    ## imm = 0x2E8
	movl	(%r14), %ecx
	orl	%ecx, 16(%rax)
	movq	%rbx, %rdi
	callq	_pcmcia_request_io
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	(%rbx), %rax
	movq	8(%rax), %rax
	movl	$0, (%rax)
	movl	(%r14), %ecx
	orl	%ecx, 16(%rax)
	movq	$0, 8(%rax)
	leaq	L_.str(%rip), %rdi
	callq	_pr_notice
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pcmcia_request_io              ## TAILCALL
LBB0_4:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IO_DATA_PATH_WIDTH_8,4,2       ## @IO_DATA_PATH_WIDTH_8
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of resource for serial\n"

	.no_dead_strip	_mfc_try_io_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mfc_try_io_port
_mfc_try_io_port:                       ; @mfc_try_io_port
	.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
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x8, [x8, #8]
	mov	w9, #1016
	str	w9, [x8]
Lloh0:
	adrp	x20, _IO_DATA_PATH_WIDTH_8@GOTPAGE
Lloh1:
	ldr	x20, [x20, _IO_DATA_PATH_WIDTH_8@GOTPAGEOFF]
	ldr	w9, [x20]
	ldr	w10, [x8, #16]
	orr	w9, w10, w9
	str	w9, [x8, #16]
	bl	_pcmcia_request_io
	cbz	w0, LBB0_5
; %bb.1:
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	mov	w9, #760
	str	w9, [x8]
	ldr	w9, [x20]
	ldr	w10, [x8, #16]
	orr	w9, w10, w9
	str	w9, [x8, #16]
	mov	x0, x19
	bl	_pcmcia_request_io
	cbz	w0, LBB0_5
; %bb.2:
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	mov	w9, #1000
	str	w9, [x8]
	ldr	w9, [x20]
	ldr	w10, [x8, #16]
	orr	w9, w10, w9
	str	w9, [x8, #16]
	mov	x0, x19
	bl	_pcmcia_request_io
	cbz	w0, LBB0_5
; %bb.3:
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	mov	w9, #744
	str	w9, [x8]
	ldr	w9, [x20]
	ldr	w10, [x8, #16]
	orr	w9, w10, w9
	str	w9, [x8, #16]
	mov	x0, x19
	bl	_pcmcia_request_io
	cbz	w0, LBB0_5
; %bb.4:
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	str	wzr, [x8]
	ldr	w9, [x20]
	ldr	w10, [x8, #16]
	orr	w9, w10, w9
	str	w9, [x8, #16]
	str	xzr, [x8, #8]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_notice
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pcmcia_request_io
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_IO_DATA_PATH_WIDTH_8,4,2       ; @IO_DATA_PATH_WIDTH_8
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of resource for serial\n"

	.no_dead_strip	_mfc_try_io_port
.subsections_via_symbols
