	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mii_parse_lxt970_csr
_mii_parse_lxt970_csr:                  ## @mii_parse_lxt970_csr
	.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
	movl	%edi, %ebx
	movq	%rsi, %rdi
	callq	_netdev_priv
	movl	(%rax), %ecx
	movq	_PHY_STAT_SPMASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	andl	%ecx, %edx
	testl	$4096, %ebx                     ## imm = 0x1000
	movq	_PHY_STAT_10FDX@GOTPCREL(%rip), %rcx
	cmoveq	_PHY_STAT_10HDX@GOTPCREL(%rip), %rcx
	movq	_PHY_STAT_100FDX@GOTPCREL(%rip), %rsi
	cmoveq	_PHY_STAT_100HDX@GOTPCREL(%rip), %rsi
	testl	$2048, %ebx                     ## imm = 0x800
	cmoveq	%rcx, %rsi
	orl	(%rsi), %edx
	movl	%edx, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_STAT_SPMASK,4,2            ## @PHY_STAT_SPMASK
	.comm	_PHY_STAT_100FDX,4,2            ## @PHY_STAT_100FDX
	.comm	_PHY_STAT_100HDX,4,2            ## @PHY_STAT_100HDX
	.comm	_PHY_STAT_10FDX,4,2             ## @PHY_STAT_10FDX
	.comm	_PHY_STAT_10HDX,4,2             ## @PHY_STAT_10HDX
	.no_dead_strip	_mii_parse_lxt970_csr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mii_parse_lxt970_csr
_mii_parse_lxt970_csr:                  ; @mii_parse_lxt970_csr
	.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
	mov	x0, x1
	bl	_netdev_priv
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _PHY_STAT_SPMASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PHY_STAT_SPMASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	bic	w8, w8, w9
Lloh3:
	adrp	x9, _PHY_STAT_10HDX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PHY_STAT_10HDX@GOTPAGEOFF]
Lloh5:
	adrp	x10, _PHY_STAT_10FDX@GOTPAGE
Lloh6:
	ldr	x10, [x10, _PHY_STAT_10FDX@GOTPAGEOFF]
	tst	w19, #0x1000
	csel	x9, x9, x10, eq
Lloh7:
	adrp	x10, _PHY_STAT_100HDX@GOTPAGE
Lloh8:
	ldr	x10, [x10, _PHY_STAT_100HDX@GOTPAGEOFF]
Lloh9:
	adrp	x11, _PHY_STAT_100FDX@GOTPAGE
Lloh10:
	ldr	x11, [x11, _PHY_STAT_100FDX@GOTPAGEOFF]
	csel	x10, x10, x11, eq
	tst	w19, #0x800
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x0]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_STAT_SPMASK,4,2            ; @PHY_STAT_SPMASK
	.comm	_PHY_STAT_100FDX,4,2            ; @PHY_STAT_100FDX
	.comm	_PHY_STAT_100HDX,4,2            ; @PHY_STAT_100HDX
	.comm	_PHY_STAT_10FDX,4,2             ; @PHY_STAT_10FDX
	.comm	_PHY_STAT_10HDX,4,2             ; @PHY_STAT_10HDX
	.no_dead_strip	_mii_parse_lxt970_csr
.subsections_via_symbols
