	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function marvell_read_status_page_fixed
_marvell_read_status_page_fixed:        ## @marvell_read_status_page_fixed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_MII_BMCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_phy_read
	testl	%eax, %eax
	js	LBB0_10
## %bb.1:
	movq	_BMCR_FULLDPLX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	jne	LBB0_2
## %bb.3:
	movq	_DUPLEX_HALF@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_2:
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%rcx), %ecx
	movl	%ecx, 28(%rbx)
	movq	_BMCR_SPEED1000@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movq	_BMCR_SPEED100@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%eax, %edx
	jne	LBB0_5
## %bb.6:
	movq	_SPEED_10@GOTPCREL(%rip), %rax
	testl	%ecx, %ecx
	jne	LBB0_8
	jmp	LBB0_9
LBB0_5:
	movq	_SPEED_100@GOTPCREL(%rip), %rax
	testl	%ecx, %ecx
	je	LBB0_9
LBB0_8:
	movq	_SPEED_1000@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movl	(%rbx), %edi
	callq	_linkmode_zero
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MII_BMCR,4,2                   ## @MII_BMCR
	.comm	_BMCR_FULLDPLX,4,2              ## @BMCR_FULLDPLX
	.comm	_DUPLEX_FULL,4,2                ## @DUPLEX_FULL
	.comm	_DUPLEX_HALF,4,2                ## @DUPLEX_HALF
	.comm	_BMCR_SPEED1000,4,2             ## @BMCR_SPEED1000
	.comm	_SPEED_1000,4,2                 ## @SPEED_1000
	.comm	_BMCR_SPEED100,4,2              ## @BMCR_SPEED100
	.comm	_SPEED_100,4,2                  ## @SPEED_100
	.comm	_SPEED_10,4,2                   ## @SPEED_10
	.no_dead_strip	_marvell_read_status_page_fixed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function marvell_read_status_page_fixed
_marvell_read_status_page_fixed:        ; @marvell_read_status_page_fixed
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _MII_BMCR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MII_BMCR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_phy_read
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _BMCR_FULLDPLX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BMCR_FULLDPLX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _DUPLEX_HALF@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DUPLEX_HALF@GOTPAGEOFF]
Lloh8:
	adrp	x10, _DUPLEX_FULL@GOTPAGE
Lloh9:
	ldr	x10, [x10, _DUPLEX_FULL@GOTPAGEOFF]
	tst	w8, w0
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	str	w8, [x19, #28]
Lloh10:
	adrp	x8, _BMCR_SPEED1000@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BMCR_SPEED1000@GOTPAGEOFF]
Lloh12:
	adrp	x9, _BMCR_SPEED100@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BMCR_SPEED100@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	ldr	w9, [x9]
Lloh16:
	adrp	x10, _SPEED_10@GOTPAGE
Lloh17:
	ldr	x10, [x10, _SPEED_10@GOTPAGEOFF]
Lloh18:
	adrp	x11, _SPEED_100@GOTPAGE
Lloh19:
	ldr	x11, [x11, _SPEED_100@GOTPAGEOFF]
	tst	w9, w0
	csel	x9, x10, x11, eq
	ldr	w9, [x9]
Lloh20:
	adrp	x10, _SPEED_1000@GOTPAGE
Lloh21:
	ldr	x10, [x10, _SPEED_1000@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	tst	w8, w0
	csel	w8, w9, w10, eq
	str	w8, [x19, #24]
	stp	xzr, xzr, [x19, #8]
	ldr	w0, [x19]
	bl	_linkmode_zero
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh14
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MII_BMCR,4,2                   ; @MII_BMCR
	.comm	_BMCR_FULLDPLX,4,2              ; @BMCR_FULLDPLX
	.comm	_DUPLEX_FULL,4,2                ; @DUPLEX_FULL
	.comm	_DUPLEX_HALF,4,2                ; @DUPLEX_HALF
	.comm	_BMCR_SPEED1000,4,2             ; @BMCR_SPEED1000
	.comm	_SPEED_1000,4,2                 ; @SPEED_1000
	.comm	_BMCR_SPEED100,4,2              ; @BMCR_SPEED100
	.comm	_SPEED_100,4,2                  ; @SPEED_100
	.comm	_SPEED_10,4,2                   ; @SPEED_10
	.no_dead_strip	_marvell_read_status_page_fixed
.subsections_via_symbols
