	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cm4000_config_check
_cm4000_config_check:                   ## @cm4000_config_check
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$0, 16(%rsi)
	je	LBB0_6
## %bb.1:
	movq	8(%rsi), %rax
	movl	4(%rax), %ecx
	movl	%ecx, 12(%rdi)
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	movq	_IO_DATA_PATH_WIDTH_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rdi)
	movl	(%rsi), %eax
	movq	_CISTPL_IO_8BIT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_3
## %bb.2:
	movq	_IO_DATA_PATH_WIDTH_16@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rdi)
LBB0_3:
	movq	_CISTPL_IO_16BIT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_5
## %bb.4:
	movq	_IO_DATA_PATH_WIDTH_8@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rdi)
LBB0_5:
	movq	_CISTPL_IO_LINES_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, (%rdi)
	movq	%rdi, %rsi
	popq	%rbp
	jmp	_pcmcia_request_io              ## TAILCALL
LBB0_6:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_IO_DATA_PATH_WIDTH_AUTO,4,2    ## @IO_DATA_PATH_WIDTH_AUTO
	.comm	_CISTPL_IO_8BIT,4,2             ## @CISTPL_IO_8BIT
	.comm	_IO_DATA_PATH_WIDTH_16,4,2      ## @IO_DATA_PATH_WIDTH_16
	.comm	_CISTPL_IO_16BIT,4,2            ## @CISTPL_IO_16BIT
	.comm	_IO_DATA_PATH_WIDTH_8,4,2       ## @IO_DATA_PATH_WIDTH_8
	.comm	_CISTPL_IO_LINES_MASK,4,2       ## @CISTPL_IO_LINES_MASK
	.no_dead_strip	_cm4000_config_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cm4000_config_check
_cm4000_config_check:                   ; @cm4000_config_check
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1, #16]
	cbz	w8, LBB0_6
; %bb.1:
	ldr	x8, [x1, #8]
	ldr	d0, [x8]
	str	d0, [x0, #8]
Lloh0:
	adrp	x8, _IO_DATA_PATH_WIDTH_AUTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IO_DATA_PATH_WIDTH_AUTO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #4]
	ldr	w8, [x1]
Lloh3:
	adrp	x9, _CISTPL_IO_8BIT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CISTPL_IO_8BIT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x9, _IO_DATA_PATH_WIDTH_16@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IO_DATA_PATH_WIDTH_16@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	str	w9, [x0, #4]
LBB0_3:
Lloh9:
	adrp	x9, _CISTPL_IO_16BIT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CISTPL_IO_16BIT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.4:
Lloh12:
	adrp	x9, _IO_DATA_PATH_WIDTH_8@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IO_DATA_PATH_WIDTH_8@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	str	w9, [x0, #4]
LBB0_5:
Lloh15:
	adrp	x9, _CISTPL_IO_LINES_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _CISTPL_IO_LINES_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w8, [x0]
	mov	x1, x0
	b	_pcmcia_request_io
LBB0_6:
Lloh18:
	adrp	x8, _ENODEV@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_IO_DATA_PATH_WIDTH_AUTO,4,2    ; @IO_DATA_PATH_WIDTH_AUTO
	.comm	_CISTPL_IO_8BIT,4,2             ; @CISTPL_IO_8BIT
	.comm	_IO_DATA_PATH_WIDTH_16,4,2      ; @IO_DATA_PATH_WIDTH_16
	.comm	_CISTPL_IO_16BIT,4,2            ; @CISTPL_IO_16BIT
	.comm	_IO_DATA_PATH_WIDTH_8,4,2       ; @IO_DATA_PATH_WIDTH_8
	.comm	_CISTPL_IO_LINES_MASK,4,2       ; @CISTPL_IO_LINES_MASK
	.no_dead_strip	_cm4000_config_check
.subsections_via_symbols
