	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvneta_mac_an_restart
_mvneta_mac_an_restart:                 ## @mvneta_mac_an_restart
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %edi
	callq	_to_net_dev
	movq	%rax, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_MVNETA_GMAC_AUTONEG_CONFIG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rax, %rdi
	callq	_mvreg_read
	movl	%eax, %r14d
	movl	(%r15), %esi
	movq	_MVNETA_GMAC_INBAND_RESTART_AN@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	orl	%eax, %edx
	movq	%rbx, %rdi
	callq	_mvreg_write
	movl	(%r15), %esi
	movl	(%r12), %edx
	notl	%edx
	andl	%r14d, %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mvreg_write                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MVNETA_GMAC_AUTONEG_CONFIG,4,2 ## @MVNETA_GMAC_AUTONEG_CONFIG
	.comm	_MVNETA_GMAC_INBAND_RESTART_AN,4,2 ## @MVNETA_GMAC_INBAND_RESTART_AN
	.no_dead_strip	_mvneta_mac_an_restart
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvneta_mac_an_restart
_mvneta_mac_an_restart:                 ; @mvneta_mac_an_restart
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	w0, [x0]
	bl	_to_net_dev
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x21, _MVNETA_GMAC_AUTONEG_CONFIG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MVNETA_GMAC_AUTONEG_CONFIG@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_mvreg_read
	mov	x20, x0
	ldr	w1, [x21]
Lloh2:
	adrp	x22, _MVNETA_GMAC_INBAND_RESTART_AN@GOTPAGE
Lloh3:
	ldr	x22, [x22, _MVNETA_GMAC_INBAND_RESTART_AN@GOTPAGEOFF]
	ldr	w8, [x22]
	orr	w2, w8, w0
	mov	x0, x19
	bl	_mvreg_write
	ldr	w1, [x21]
	ldr	w8, [x22]
	bic	w2, w20, w8
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mvreg_write
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MVNETA_GMAC_AUTONEG_CONFIG,4,2 ; @MVNETA_GMAC_AUTONEG_CONFIG
	.comm	_MVNETA_GMAC_INBAND_RESTART_AN,4,2 ; @MVNETA_GMAC_INBAND_RESTART_AN
	.no_dead_strip	_mvneta_mac_an_restart
.subsections_via_symbols
