	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar8327_read_port_eee_status
_ar8327_read_port_eee_status:           ## @ar8327_read_port_eee_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	%esi, (%rdi)
	jle	LBB0_3
## %bb.1:
	testl	%esi, %esi
	je	LBB0_3
## %bb.2:
	cmpl	$6, %esi
	jne	LBB0_4
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	decl	%esi
	movl	$7, %edx
	movl	$32768, %ecx                    ## imm = 0x8000
	callq	_ar8xxx_phy_mmd_read
	movl	%eax, %edi
	popq	%rbp
	jmp	_mmd_eee_adv_to_ethtool_adv_t   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ar8327_read_port_eee_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar8327_read_port_eee_status
_ar8327_read_port_eee_status:           ; @ar8327_read_port_eee_status
	.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	w8, [x0]
	cmp	w8, w1
	ccmp	w1, #0, #4, gt
	ccmp	w1, #6, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	sub	w1, w1, #1
	mov	w2, #7
	mov	w3, #32768
	bl	_ar8xxx_phy_mmd_read
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_mmd_eee_adv_to_ethtool_adv_t
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ar8327_read_port_eee_status
.subsections_via_symbols
