	.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
	cmpq	$0, 8(%rsi)
	jle	LBB0_4
## %bb.1:
	movq	16(%rsi), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	andl	$15, %ecx
	cmpl	$8, %ecx
	jne	LBB0_4
## %bb.2:
	movl	%eax, (%rdi)
	movl	(%rsi), %ecx
	andl	$32, %ecx
	movl	%ecx, %edx
	shrl	$5, %edx
	xorl	%esi, %esi
	testl	%ecx, %ecx
	sete	%sil
	cmpl	$0, (%r8)
	cmovel	%edx, %esi
	shll	$5, %esi
	addl	%esi, %eax
	addl	$-24, %eax
	movl	%eax, 4(%rdi)
	movq	%rdi, %rsi
	callq	_pcmcia_request_io
	testl	%eax, %eax
	je	LBB0_3
LBB0_4:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.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:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x1, #8]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	x8, [x1, #16]
	ldr	w8, [x8]
	and	w9, w8, #0xf
	cmp	w9, #8
	b.ne	LBB0_3
; %bb.2:
	str	w8, [x0]
	ldr	w9, [x4]
	ldr	w10, [x1]
	tst	w10, #0x20
	mov	w10, #-24
	mov	w11, #8
	csel	w12, w11, w10, eq
	csel	w10, w10, w11, eq
	cmp	w9, #0
	csel	w9, w10, w12, eq
	add	w8, w9, w8
	str	w8, [x0, #4]
	mov	x1, x0
	bl	_pcmcia_request_io
	cbz	w0, LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_xirc2ps_config_check
.subsections_via_symbols
