	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xirc2ps_config_check
_xirc2ps_config_check:                  ## @xirc2ps_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
	movq	8(%rdi), %r9
	movq	(%r9), %r10
	movl	(%r10), %r8d
	movl	%r8d, %edx
	andl	$15, %edx
	cmpl	$8, %edx
	jne	LBB0_2
## %bb.1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	movl	(%rdi), %ecx
	andl	$32, %ecx
	movl	%ecx, %eax
	shrl	$5, %eax
	xorl	%edx, %edx
	testl	%ecx, %ecx
	sete	%dl
	cmpl	$0, (%rsi)
	cmovel	%eax, %edx
	movq	8(%r9), %r11
	movl	(%r11), %r9d
	movl	$18, 4(%r10)
	movl	$8, 4(%r11)
	movq	_IO_DATA_PATH_WIDTH@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	notl	%esi
	movl	8(%r10), %ecx
	andl	%esi, %ecx
	movq	_IO_DATA_PATH_WIDTH_16@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	shll	$5, %edx
	movl	%ecx, 8(%r10)
	andl	8(%r11), %esi
	leal	(%rdx,%r9), %eax
	addl	$-24, %eax
	movq	_IO_DATA_PATH_WIDTH_8@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movl	%esi, 8(%r11)
	movl	$10, 4(%rdi)
	movl	%r8d, (%r11)
	movl	%eax, (%r10)
	popq	%rbp
	jmp	_pcmcia_request_io              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_IO_DATA_PATH_WIDTH,4,2         ## @IO_DATA_PATH_WIDTH
	.comm	_IO_DATA_PATH_WIDTH_16,4,2      ## @IO_DATA_PATH_WIDTH_16
	.comm	_IO_DATA_PATH_WIDTH_8,4,2       ## @IO_DATA_PATH_WIDTH_8
	.no_dead_strip	_xirc2ps_config_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xirc2ps_config_check
_xirc2ps_config_check:                  ; @xirc2ps_config_check
	.cfi_startproc
; %bb.0:
	ldr	x10, [x0, #8]
	ldr	x8, [x10]
	ldr	w9, [x8]
	and	w11, w9, #0xf
	cmp	w11, #8
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_2:
	ldr	w11, [x1]
	ldr	w12, [x0]
	tst	w12, #0x20
	mov	w12, #8
	mov	w13, #-24
	csel	w14, w13, w12, eq
	csel	w13, w12, w13, eq
	cmp	w11, #0
	csel	w11, w14, w13, eq
	ldr	x10, [x10, #8]
	ldr	w13, [x10]
Lloh3:
	adrp	x14, _IO_DATA_PATH_WIDTH@GOTPAGE
Lloh4:
	ldr	x14, [x14, _IO_DATA_PATH_WIDTH@GOTPAGEOFF]
	add	w11, w11, w13
Lloh5:
	ldr	w13, [x14]
Lloh6:
	adrp	x14, _IO_DATA_PATH_WIDTH_16@GOTPAGE
Lloh7:
	ldr	x14, [x14, _IO_DATA_PATH_WIDTH_16@GOTPAGEOFF]
Lloh8:
	adrp	x15, _IO_DATA_PATH_WIDTH_8@GOTPAGE
Lloh9:
	ldr	x15, [x15, _IO_DATA_PATH_WIDTH_8@GOTPAGEOFF]
Lloh10:
	ldr	w14, [x14]
Lloh11:
	ldr	w15, [x15]
	str	w9, [x10]
	mov	w9, #18
	str	w9, [x8, #4]
	ldr	w9, [x8, #8]
	bic	w9, w9, w13
	orr	w9, w14, w9
	str	w9, [x8, #8]
	ldr	w9, [x10, #8]
	bic	w9, w9, w13
	orr	w9, w15, w9
	stp	w12, w9, [x10, #4]
	mov	w9, #10
	str	w9, [x0, #4]
	str	w11, [x8]
	b	_pcmcia_request_io
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_IO_DATA_PATH_WIDTH,4,2         ; @IO_DATA_PATH_WIDTH
	.comm	_IO_DATA_PATH_WIDTH_16,4,2      ; @IO_DATA_PATH_WIDTH_16
	.comm	_IO_DATA_PATH_WIDTH_8,4,2       ; @IO_DATA_PATH_WIDTH_8
	.no_dead_strip	_xirc2ps_config_check
.subsections_via_symbols
