	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function axnet_configcheck
_axnet_configcheck:                     ## @axnet_configcheck
	.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, (%rsi)
	je	LBB0_6
## %bb.1:
	movq	8(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movl	$5, 32(%rdi)
	cmpq	$2, %rax
	jl	LBB0_3
## %bb.4:
	movq	24(%rsi), %r9
	movq	16(%r9), %r8
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	cmpq	(%r9), %r8
	setg	%cl
	setle	%dl
	shlq	$4, %rdx
	movl	8(%r9,%rdx), %eax
	movl	%eax, 24(%rdi)
	movq	(%r9,%rdx), %r8
	jmp	LBB0_5
LBB0_3:
	xorl	%r8d, %r8d
	xorl	%ecx, %ecx
LBB0_5:
	movq	%r8, (%rdi)
	movq	24(%rsi), %rdx
	shlq	$4, %rcx
	movl	8(%rdx,%rcx), %eax
	movl	%eax, 20(%rdi)
	movq	(%rdx,%rcx), %rax
	movq	%rax, 8(%rdi)
	movq	_CISTPL_IO_LINES_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	16(%rsi), %ecx
	movl	%ecx, 16(%rdi)
	addq	%rax, %r8
	cmpq	$32, %r8
	jl	LBB0_6
## %bb.7:
	popq	%rbp
	jmp	_try_io_port                    ## 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	_CISTPL_IO_LINES_MASK,4,2       ## @CISTPL_IO_LINES_MASK
	.no_dead_strip	_axnet_configcheck
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function axnet_configcheck
_axnet_configcheck:                     ; @axnet_configcheck
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
	cbz	x8, LBB0_7
; %bb.1:
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_7
; %bb.2:
	mov	w9, #5
	str	w9, [x0, #32]
	cmp	x8, #2
	b.lt	LBB0_4
; %bb.3:
	ldr	x8, [x1, #24]
	ldr	x9, [x8, #16]
	ldr	x10, [x8]
	cmp	x9, x10
	cset	w9, gt
	cset	w10, le
	add	x8, x8, w10, uxtw #4
	ldr	w10, [x8, #8]
	str	w10, [x0, #24]
	ldr	x8, [x8]
	b	LBB0_5
LBB0_4:
	mov	x8, #0
	mov	x9, #0
LBB0_5:
	str	x8, [x0]
	ldr	x10, [x1, #24]
	add	x9, x10, x9, lsl #4
	ldr	w10, [x9, #8]
	ldr	x9, [x9]
	str	x9, [x0, #8]
	ldr	w11, [x1, #16]
Lloh0:
	adrp	x12, _CISTPL_IO_LINES_MASK@GOTPAGE
Lloh1:
	ldr	x12, [x12, _CISTPL_IO_LINES_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w12, [x12]
	and	w11, w12, w11
	stp	w11, w10, [x0, #16]
	add	x8, x8, x9
	cmp	x8, #32
	b.lt	LBB0_7
; %bb.6:
	b	_try_io_port
LBB0_7:
Lloh3:
	adrp	x8, _ENODEV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_CISTPL_IO_LINES_MASK,4,2       ; @CISTPL_IO_LINES_MASK
	.no_dead_strip	_axnet_configcheck
.subsections_via_symbols
