	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ef4_mdio_an_reconfigure        ## -- Begin function ef4_mdio_an_reconfigure
	.p2align	4, 0x90
_ef4_mdio_an_reconfigure:               ## @ef4_mdio_an_reconfigure
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_MDIO_DEVS_AN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	16(%rbx), %eax
	sete	%dil
	callq	_WARN_ON
	movq	_ADVERTISE_CSMA@GOTPCREL(%rip), %rax
	movq	_ADVERTISE_RESV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	(%rbx), %eax
	movq	_ADVERTISED_Pause@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%eax, %edx
	je	LBB0_2
## %bb.1:
	movq	_ADVERTISE_PAUSE_CAP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_2:
	orl	%edx, %ecx
	movq	_ADVERTISED_Asym_Pause@GOTPCREL(%rip), %rdx
	andl	(%rdx), %eax
	je	LBB0_4
## %bb.3:
	movq	_ADVERTISE_PAUSE_ASYM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	orl	%eax, %ecx
	movq	_MDIO_MMD_AN@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_MDIO_AN_ADVERTISE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_ef4_mdio_write
	movq	8(%rbx), %rax
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	*(%rax)
	movl	(%r14), %esi
	movq	_MDIO_CTRL1@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_ef4_mdio_read
	movq	_MDIO_AN_CTRL1_ENABLE@GOTPCREL(%rip), %rcx
	movq	_MDIO_AN_CTRL1_RESTART@GOTPCREL(%rip), %rdx
	movq	_MDIO_AN_CTRL1_XNP@GOTPCREL(%rip), %rsi
	orl	(%rcx), %eax
	orl	(%rdx), %eax
	orl	(%rsi), %eax
	movl	(%r14), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	%eax, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ef4_mdio_write                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MDIO_DEVS_AN,4,2               ## @MDIO_DEVS_AN
	.comm	_ADVERTISE_CSMA,4,2             ## @ADVERTISE_CSMA
	.comm	_ADVERTISE_RESV,4,2             ## @ADVERTISE_RESV
	.comm	_ADVERTISED_Pause,4,2           ## @ADVERTISED_Pause
	.comm	_ADVERTISE_PAUSE_CAP,4,2        ## @ADVERTISE_PAUSE_CAP
	.comm	_ADVERTISED_Asym_Pause,4,2      ## @ADVERTISED_Asym_Pause
	.comm	_ADVERTISE_PAUSE_ASYM,4,2       ## @ADVERTISE_PAUSE_ASYM
	.comm	_MDIO_MMD_AN,4,2                ## @MDIO_MMD_AN
	.comm	_MDIO_AN_ADVERTISE,4,2          ## @MDIO_AN_ADVERTISE
	.comm	_MDIO_CTRL1,4,2                 ## @MDIO_CTRL1
	.comm	_MDIO_AN_CTRL1_ENABLE,4,2       ## @MDIO_AN_CTRL1_ENABLE
	.comm	_MDIO_AN_CTRL1_RESTART,4,2      ## @MDIO_AN_CTRL1_RESTART
	.comm	_MDIO_AN_CTRL1_XNP,4,2          ## @MDIO_AN_CTRL1_XNP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ef4_mdio_an_reconfigure        ; -- Begin function ef4_mdio_an_reconfigure
	.p2align	2
_ef4_mdio_an_reconfigure:               ; @ef4_mdio_an_reconfigure
	.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
	mov	x19, x0
	ldr	w8, [x0, #16]
Lloh0:
	adrp	x9, _MDIO_DEVS_AN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MDIO_DEVS_AN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	bl	_WARN_ON
Lloh3:
	adrp	x8, _ADVERTISE_CSMA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ADVERTISE_CSMA@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _ADVERTISE_RESV@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ADVERTISE_RESV@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
Lloh9:
	adrp	x10, _ADVERTISED_Pause@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ADVERTISED_Pause@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _ADVERTISE_PAUSE_CAP@GOTPAGE
Lloh13:
	ldr	x11, [x11, _ADVERTISE_PAUSE_CAP@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	tst	w10, w9
	csel	w10, wzr, w11, eq
	orr	w8, w8, w10
Lloh15:
	adrp	x10, _ADVERTISED_Asym_Pause@GOTPAGE
Lloh16:
	ldr	x10, [x10, _ADVERTISED_Asym_Pause@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
Lloh18:
	adrp	x11, _ADVERTISE_PAUSE_ASYM@GOTPAGE
Lloh19:
	ldr	x11, [x11, _ADVERTISE_PAUSE_ASYM@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	tst	w10, w9
	csel	w9, wzr, w11, eq
	orr	w3, w8, w9
Lloh21:
	adrp	x20, _MDIO_MMD_AN@GOTPAGE
Lloh22:
	ldr	x20, [x20, _MDIO_MMD_AN@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh23:
	adrp	x8, _MDIO_AN_ADVERTISE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MDIO_AN_ADVERTISE@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ef4_mdio_write
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w1, [x19]
	mov	x0, x19
	blr	x8
	ldr	w1, [x20]
Lloh26:
	adrp	x21, _MDIO_CTRL1@GOTPAGE
Lloh27:
	ldr	x21, [x21, _MDIO_CTRL1@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_ef4_mdio_read
Lloh28:
	adrp	x8, _MDIO_AN_CTRL1_ENABLE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MDIO_AN_CTRL1_ENABLE@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _MDIO_AN_CTRL1_RESTART@GOTPAGE
Lloh32:
	ldr	x9, [x9, _MDIO_AN_CTRL1_RESTART@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
Lloh34:
	adrp	x10, _MDIO_AN_CTRL1_XNP@GOTPAGE
Lloh35:
	ldr	x10, [x10, _MDIO_AN_CTRL1_XNP@GOTPAGEOFF]
Lloh36:
	ldr	w10, [x10]
	orr	w8, w8, w0
	orr	w8, w8, w9
	orr	w3, w8, w10
	ldr	w1, [x20]
	ldr	w2, [x21]
	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	_ef4_mdio_write
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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	_MDIO_DEVS_AN,4,2               ; @MDIO_DEVS_AN
	.comm	_ADVERTISE_CSMA,4,2             ; @ADVERTISE_CSMA
	.comm	_ADVERTISE_RESV,4,2             ; @ADVERTISE_RESV
	.comm	_ADVERTISED_Pause,4,2           ; @ADVERTISED_Pause
	.comm	_ADVERTISE_PAUSE_CAP,4,2        ; @ADVERTISE_PAUSE_CAP
	.comm	_ADVERTISED_Asym_Pause,4,2      ; @ADVERTISED_Asym_Pause
	.comm	_ADVERTISE_PAUSE_ASYM,4,2       ; @ADVERTISE_PAUSE_ASYM
	.comm	_MDIO_MMD_AN,4,2                ; @MDIO_MMD_AN
	.comm	_MDIO_AN_ADVERTISE,4,2          ; @MDIO_AN_ADVERTISE
	.comm	_MDIO_CTRL1,4,2                 ; @MDIO_CTRL1
	.comm	_MDIO_AN_CTRL1_ENABLE,4,2       ; @MDIO_AN_CTRL1_ENABLE
	.comm	_MDIO_AN_CTRL1_RESTART,4,2      ; @MDIO_AN_CTRL1_RESTART
	.comm	_MDIO_AN_CTRL1_XNP,4,2          ; @MDIO_AN_CTRL1_XNP
.subsections_via_symbols
