	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function mii_parse_anar
LCPI0_0:
	.long	256                             ## 0x100
	.long	128                             ## 0x80
	.long	64                              ## 0x40
	.long	32                              ## 0x20
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_mii_parse_anar:                        ## @mii_parse_anar
	.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), %edi
	movq	_PHY_CONF_SPMASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	movd	%ebx, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	pand	LCPI0_0(%rip), %xmm0
	pxor	%xmm1, %xmm1
	pcmpeqd	%xmm0, %xmm1
	movmskps	%xmm1, %esi
	xorl	%ebx, %ebx
	movl	$0, %edx
	testb	$8, %sil
	jne	LBB0_2
## %bb.1:
	movq	_PHY_CONF_10HDX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_2:
	andl	%ecx, %edi
	movl	$0, %ecx
	testb	$4, %sil
	jne	LBB0_4
## %bb.3:
	movq	_PHY_CONF_10FDX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_4:
	orl	%edi, %edx
	movl	$0, %edi
	testb	$2, %sil
	jne	LBB0_6
## %bb.5:
	movq	_PHY_CONF_100HDX@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
LBB0_6:
	orl	%edi, %ecx
	orl	%ecx, %edx
	testb	$1, %sil
	jne	LBB0_8
## %bb.7:
	movq	_PHY_CONF_100FDX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
LBB0_8:
	orl	%ebx, %edx
	movl	%edx, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_CONF_SPMASK,4,2            ## @PHY_CONF_SPMASK
	.comm	_PHY_CONF_10HDX,4,2             ## @PHY_CONF_10HDX
	.comm	_PHY_CONF_10FDX,4,2             ## @PHY_CONF_10FDX
	.comm	_PHY_CONF_100HDX,4,2            ## @PHY_CONF_100HDX
	.comm	_PHY_CONF_100FDX,4,2            ## @PHY_CONF_100FDX
	.no_dead_strip	_mii_parse_anar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mii_parse_anar
_mii_parse_anar:                        ; @mii_parse_anar
	.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_CONF_SPMASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PHY_CONF_SPMASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	bic	w8, w8, w9
	lsl	w9, w19, #26
Lloh3:
	adrp	x10, _PHY_CONF_10HDX@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PHY_CONF_10HDX@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	and	w9, w10, w9, asr #31
	orr	w8, w9, w8
	lsl	w9, w19, #25
Lloh6:
	adrp	x10, _PHY_CONF_10FDX@GOTPAGE
Lloh7:
	ldr	x10, [x10, _PHY_CONF_10FDX@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	and	w9, w10, w9, asr #31
	orr	w8, w8, w9
	lsl	w9, w19, #24
Lloh9:
	adrp	x10, _PHY_CONF_100HDX@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PHY_CONF_100HDX@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	and	w9, w10, w9, asr #31
	orr	w8, w8, w9
	lsl	w9, w19, #23
Lloh12:
	adrp	x10, _PHY_CONF_100FDX@GOTPAGE
Lloh13:
	ldr	x10, [x10, _PHY_CONF_100FDX@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	and	w9, w10, w9, asr #31
	orr	w8, w8, w9
	str	w8, [x0]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_CONF_SPMASK,4,2            ; @PHY_CONF_SPMASK
	.comm	_PHY_CONF_10HDX,4,2             ; @PHY_CONF_10HDX
	.comm	_PHY_CONF_10FDX,4,2             ; @PHY_CONF_10FDX
	.comm	_PHY_CONF_100HDX,4,2            ; @PHY_CONF_100HDX
	.comm	_PHY_CONF_100FDX,4,2            ; @PHY_CONF_100FDX
	.no_dead_strip	_mii_parse_anar
.subsections_via_symbols
