	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcnet_confcheck
_pcnet_confcheck:                       ## @pcnet_confcheck
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	movq	16(%rdi), %rcx
	movq	16(%rcx), %rdx
	cmpl	$16384, (%rdx)                  ## imm = 0x4000
	movl	$16, %r8d
	movl	$-17, %edx
	cmovgel	%r8d, %edx
	andl	%eax, %edx
	movl	%edx, (%rsi)
	cmpq	$0, (%rdi)
	je	LBB0_5
## %bb.1:
	movq	(%rcx), %rdx
	movq	8(%rcx), %rcx
	movl	(%rcx), %ecx
	addl	(%rdx), %ecx
	cmpl	$31, %ecx
	jg	LBB0_2
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	testb	$1, %al
	je	LBB0_4
## %bb.3:
	movl	$16, 8(%rdi)
LBB0_4:
	popq	%rbp
	jmp	_try_io_port                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_pcnet_confcheck
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcnet_confcheck
_pcnet_confcheck:                       ; @pcnet_confcheck
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	ldr	x9, [x0, #16]
	ldr	x10, [x9, #16]
	ldr	w10, [x10]
	cmp	w10, #4, lsl #12                ; =16384
	mov	w10, #16
	cinv	w10, w10, lt
	and	w10, w10, w8
	str	w10, [x1]
	ldr	x10, [x0]
	cbz	x10, LBB0_2
; %bb.1:
	ldp	x10, x9, [x9]
	ldr	w10, [x10]
	ldr	w9, [x9]
	add	w9, w9, w10
	cmp	w9, #31
	b.gt	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_3:
	tbz	w8, #0, LBB0_5
; %bb.4:
	mov	w8, #16
	str	w8, [x0, #8]
LBB0_5:
	b	_try_io_port
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_pcnet_confcheck
.subsections_via_symbols
