	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function try_io_port
_try_io_port:                           ## @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, %r14
	movq	_IO_DATA_PATH_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	movq	8(%rdi), %rcx
	movq	(%rcx), %rax
	andl	%edx, 8(%rax)
	movq	8(%rcx), %rcx
	andl	%edx, 8(%rcx)
	cmpl	$32, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	_IO_DATA_PATH_WIDTH_AUTO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%edx, 8(%rax)
	cmpl	$0, (%rcx)
	jle	LBB0_5
## %bb.2:
	movq	_IO_DATA_PATH_WIDTH_8@GOTPCREL(%rip), %rdx
	jmp	LBB0_4
LBB0_3:
	movq	_IO_DATA_PATH_WIDTH_8@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%edx, 8(%rax)
	movq	_IO_DATA_PATH_WIDTH_16@GOTPCREL(%rip), %rdx
LBB0_4:
	movl	(%rdx), %edx
	orl	%edx, 8(%rcx)
LBB0_5:
	cmpl	$0, 4(%rax)
	je	LBB0_6
## %bb.12:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pcmcia_request_io              ## TAILCALL
LBB0_6:
	movl	$768, 4(%rax)                   ## imm = 0x300
	movl	$784, 4(%rcx)                   ## imm = 0x310
	movl	$16, (%r14)
	movq	%r14, %rdi
	callq	_pcmcia_request_io
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:
	movl	$32, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leal	-32(%rbx), %ecx
	cmpl	$991, %ecx                      ## imm = 0x3DF
	ja	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%r14), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	movl	%ebx, %edx
	xorl	$768, %edx                      ## imm = 0x300
	movl	%edx, 4(%rcx)
	orl	$16, %edx
	movl	%edx, 4(%rax)
	movl	$16, (%r14)
	movq	%r14, %rdi
	callq	_pcmcia_request_io
	addl	$32, %ebx
	testl	%eax, %eax
	jne	LBB0_8
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IO_DATA_PATH_WIDTH,4,2         ## @IO_DATA_PATH_WIDTH
	.comm	_IO_DATA_PATH_WIDTH_AUTO,4,2    ## @IO_DATA_PATH_WIDTH_AUTO
	.comm	_IO_DATA_PATH_WIDTH_8,4,2       ## @IO_DATA_PATH_WIDTH_8
	.comm	_IO_DATA_PATH_WIDTH_16,4,2      ## @IO_DATA_PATH_WIDTH_16
	.no_dead_strip	_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 try_io_port
_try_io_port:                           ; @try_io_port
	.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	x19, x0
Lloh0:
	adrp	x8, _IO_DATA_PATH_WIDTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IO_DATA_PATH_WIDTH@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
	ldr	x9, [x0, #8]
	ldp	x8, x9, [x9]
	ldr	w11, [x8, #8]
	bic	w11, w11, w10
	str	w11, [x8, #8]
	ldr	w11, [x9, #8]
	bic	w10, w11, w10
	str	w10, [x9, #8]
	ldr	w10, [x8]
	cmp	w10, #32
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x10, _IO_DATA_PATH_WIDTH_AUTO@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IO_DATA_PATH_WIDTH_AUTO@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	ldr	w11, [x8, #8]
	orr	w10, w11, w10
	str	w10, [x8, #8]
	ldr	w10, [x9]
	cmp	w10, #0
	b.le	LBB0_5
; %bb.2:
Lloh6:
	adrp	x10, _IO_DATA_PATH_WIDTH_8@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IO_DATA_PATH_WIDTH_8@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x10, _IO_DATA_PATH_WIDTH_8@GOTPAGE
Lloh9:
	ldr	x10, [x10, _IO_DATA_PATH_WIDTH_8@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	ldr	w11, [x8, #8]
	orr	w10, w11, w10
	str	w10, [x8, #8]
Lloh11:
	adrp	x10, _IO_DATA_PATH_WIDTH_16@GOTPAGE
Lloh12:
	ldr	x10, [x10, _IO_DATA_PATH_WIDTH_16@GOTPAGEOFF]
LBB0_4:
	ldr	w10, [x10]
	ldr	w11, [x9, #8]
	orr	w10, w11, w10
	str	w10, [x9, #8]
LBB0_5:
	ldr	w10, [x8, #4]
	cbz	w10, LBB0_7
; %bb.6:
	mov	x0, x19
	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
	b	_pcmcia_request_io
LBB0_7:
	mov	w10, #768
	str	w10, [x8, #4]
	mov	w8, #784
	str	w8, [x9, #4]
	mov	w20, #16
	str	w20, [x19]
	mov	x0, x19
	bl	_pcmcia_request_io
	cbz	w0, LBB0_11
; %bb.8:
	mov	w21, #32
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w21, #32
	cmp	w8, #991
	b.hi	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x19, #8]
	ldp	x9, x8, [x8]
	eor	w10, w21, #0x300
	str	w10, [x9, #4]
	orr	w9, w10, #0x10
	str	w9, [x8, #4]
	str	w20, [x19]
	mov	x0, x19
	bl	_pcmcia_request_io
	add	w21, w21, #32
	cbnz	w0, LBB0_9
LBB0_11:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IO_DATA_PATH_WIDTH,4,2         ; @IO_DATA_PATH_WIDTH
	.comm	_IO_DATA_PATH_WIDTH_AUTO,4,2    ; @IO_DATA_PATH_WIDTH_AUTO
	.comm	_IO_DATA_PATH_WIDTH_8,4,2       ; @IO_DATA_PATH_WIDTH_8
	.comm	_IO_DATA_PATH_WIDTH_16,4,2      ; @IO_DATA_PATH_WIDTH_16
	.no_dead_strip	_try_io_port
.subsections_via_symbols
