	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcmcia_check_one_config
_pcmcia_check_one_config:               ## @pcmcia_check_one_config
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %r10
	movq	(%r10), %r11
	movl	(%r11), %ecx
	movq	_IO_DATA_PATH_WIDTH@GOTPCREL(%rip), %r9
	movl	(%r9), %edx
	movl	%edx, %eax
	andl	%ecx, %eax
	movq	_IO_DATA_PATH_WIDTH_8@GOTPCREL(%rip), %r8
	cmpl	(%r8), %eax
	je	LBB0_2
## %bb.1:
	notl	%edx
	andl	%edx, %ecx
	movl	%ecx, (%r11)
	movq	_IO_DATA_PATH_WIDTH_AUTO@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%r11)
	movl	(%r9), %edx
LBB0_2:
	notl	%edx
	movq	8(%r10), %rcx
	andl	(%rcx), %edx
	movl	%edx, (%rcx)
	orl	(%r8), %edx
	movl	%edx, (%rcx)
	cmpl	$0, 4(%rcx)
	je	LBB0_5
## %bb.3:
	movl	$8, 4(%r11)
	cmpl	$1, (%rsi)
	movl	$2, %eax
	sbbl	$0, %eax
	movl	%eax, 4(%rcx)
	jmp	LBB0_4
LBB0_5:
	cmpl	$15, 4(%r11)
	jg	LBB0_4
## %bb.6:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_4:
	popq	%rbp
	jmp	_pcmcia_request_io              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IO_DATA_PATH_WIDTH,4,2         ## @IO_DATA_PATH_WIDTH
	.comm	_IO_DATA_PATH_WIDTH_8,4,2       ## @IO_DATA_PATH_WIDTH_8
	.comm	_IO_DATA_PATH_WIDTH_AUTO,4,2    ## @IO_DATA_PATH_WIDTH_AUTO
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_pcmcia_check_one_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcmcia_check_one_config
_pcmcia_check_one_config:               ; @pcmcia_check_one_config
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	ldr	x8, [x9]
	ldr	w13, [x8]
Lloh0:
	adrp	x12, _IO_DATA_PATH_WIDTH@GOTPAGE
Lloh1:
	ldr	x12, [x12, _IO_DATA_PATH_WIDTH@GOTPAGEOFF]
	ldr	w11, [x12]
	and	w14, w11, w13
Lloh2:
	adrp	x10, _IO_DATA_PATH_WIDTH_8@GOTPAGE
Lloh3:
	ldr	x10, [x10, _IO_DATA_PATH_WIDTH_8@GOTPAGEOFF]
	ldr	w15, [x10]
	cmp	w14, w15
	b.eq	LBB0_2
; %bb.1:
	bic	w11, w13, w11
	str	w11, [x8]
Lloh4:
	adrp	x13, _IO_DATA_PATH_WIDTH_AUTO@GOTPAGE
Lloh5:
	ldr	x13, [x13, _IO_DATA_PATH_WIDTH_AUTO@GOTPAGEOFF]
Lloh6:
	ldr	w13, [x13]
	orr	w11, w13, w11
	str	w11, [x8]
	ldr	w11, [x12]
LBB0_2:
	ldr	x9, [x9, #8]
	ldp	w12, w13, [x9]
	bic	w11, w12, w11
	str	w11, [x9]
	ldr	w10, [x10]
	orr	w10, w10, w11
	str	w10, [x9]
	cbz	w13, LBB0_4
; %bb.3:
	mov	w10, #8
	str	w10, [x8, #4]
	ldr	w8, [x1]
	cmp	w8, #0
	mov	w8, #1
	cinc	w8, w8, ne
	str	w8, [x9, #4]
	b	LBB0_6
LBB0_4:
	ldr	w8, [x8, #4]
	cmp	w8, #15
	b.gt	LBB0_6
; %bb.5:
Lloh7:
	adrp	x8, _ENODEV@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_6:
	b	_pcmcia_request_io
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IO_DATA_PATH_WIDTH,4,2         ; @IO_DATA_PATH_WIDTH
	.comm	_IO_DATA_PATH_WIDTH_8,4,2       ; @IO_DATA_PATH_WIDTH_8
	.comm	_IO_DATA_PATH_WIDTH_AUTO,4,2    ; @IO_DATA_PATH_WIDTH_AUTO
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_pcmcia_check_one_config
.subsections_via_symbols
