	.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
	cmpl	$32, (%rdi)
	jne	LBB0_3
## %bb.1:
	movq	_IO_DATA_PATH_WIDTH_AUTO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r14)
	cmpq	$0, 8(%r14)
	jle	LBB0_4
## %bb.2:
	movq	_IO_DATA_PATH_WIDTH_8@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r14)
	movq	_IRQ_TYPE_DYNAMIC_SHARING@GOTPCREL(%rip), %rax
	movq	_IRQ_FIRST_SHARED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 48(%r14)
LBB0_4:
	cmpl	$0, 16(%r14)
	je	LBB0_5
LBB0_10:
	movq	%r14, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pcmcia_request_io              ## TAILCALL
LBB0_3:
	movq	_IO_DATA_PATH_WIDTH_8@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r14)
	movq	_IO_DATA_PATH_WIDTH_16@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r14)
	cmpl	$0, 16(%r14)
	jne	LBB0_10
LBB0_5:
	movl	$16, 20(%r14)
	movl	$-32, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	addl	$32, %ebx
	movl	%ebx, %eax
	xorl	$768, %eax                      ## imm = 0x300
	movl	%eax, 16(%r14)
	orl	$16, %eax
	movl	%eax, 24(%r14)
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_pcmcia_request_io
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$991, %ebx                      ## imm = 0x3DF
	jbe	LBB0_7
	jmp	LBB0_9
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IO_DATA_PATH_WIDTH_AUTO,8,3    ## @IO_DATA_PATH_WIDTH_AUTO
	.comm	_IO_DATA_PATH_WIDTH_8,8,3       ## @IO_DATA_PATH_WIDTH_8
	.comm	_IRQ_TYPE_DYNAMIC_SHARING,4,2   ## @IRQ_TYPE_DYNAMIC_SHARING
	.comm	_IRQ_FIRST_SHARED,4,2           ## @IRQ_FIRST_SHARED
	.comm	_IO_DATA_PATH_WIDTH_16,8,3      ## @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	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	w8, [x0]
	cmp	w8, #32
	b.ne	LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _IO_DATA_PATH_WIDTH_AUTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IO_DATA_PATH_WIDTH_AUTO@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x19, #40]
	ldr	x8, [x19, #8]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _IO_DATA_PATH_WIDTH_8@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IO_DATA_PATH_WIDTH_8@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19, #32]
Lloh6:
	adrp	x8, _IRQ_TYPE_DYNAMIC_SHARING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IRQ_TYPE_DYNAMIC_SHARING@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _IRQ_FIRST_SHARED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IRQ_FIRST_SHARED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #48]
LBB0_3:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_6
LBB0_4:
	mov	x0, x19
	mov	x1, 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:
Lloh12:
	adrp	x8, _IO_DATA_PATH_WIDTH_8@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IO_DATA_PATH_WIDTH_8@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _IO_DATA_PATH_WIDTH_16@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IO_DATA_PATH_WIDTH_16@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #32]
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_4
LBB0_6:
	mov	w8, #16
	str	w8, [x19, #20]
	mov	w20, #-32
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	w20, w20, #32
	eor	w8, w20, #0x300
	str	w8, [x19, #16]
	orr	w8, w8, #0x10
	str	w8, [x19, #24]
	mov	x0, x19
	mov	x1, x19
	bl	_pcmcia_request_io
	cbz	w0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w20, #991
	b.ls	LBB0_7
LBB0_9:
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IO_DATA_PATH_WIDTH_AUTO,8,3    ; @IO_DATA_PATH_WIDTH_AUTO
	.comm	_IO_DATA_PATH_WIDTH_8,8,3       ; @IO_DATA_PATH_WIDTH_8
	.comm	_IRQ_TYPE_DYNAMIC_SHARING,4,2   ; @IRQ_TYPE_DYNAMIC_SHARING
	.comm	_IRQ_FIRST_SHARED,4,2           ; @IRQ_FIRST_SHARED
	.comm	_IO_DATA_PATH_WIDTH_16,8,3      ; @IO_DATA_PATH_WIDTH_16
	.no_dead_strip	_try_io_port
.subsections_via_symbols
