	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_restart_autoneg
_bnx2x_restart_autoneg:                 ## @bnx2x_restart_autoneg
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %r15
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_DP
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	_MDIO_REG_BANK_CL73_IEEEB0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	_MDIO_CL73_IEEEB0_CL73_AN_CONTROL@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	leaq	-44(%rbp), %r8
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_CL22_RD_OVER_CL45
	movl	(%rbx), %edx
	movq	_MDIO_CL73_IEEEB0_CL73_AN_CONTROL_AN_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	orl	-44(%rbp), %r8d
	movl	(%r12), %ecx
	movq	_MDIO_CL73_IEEEB0_CL73_AN_CONTROL_RESTART_AN@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_MDIO_REG_BANK_COMBO_IEEE0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	_MDIO_COMBO_IEEE0_MII_CONTROL@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	leaq	-44(%rbp), %r8
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_CL22_RD_OVER_CL45
	movl	(%r12), %edi
	movl	-44(%rbp), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_DP
	movl	(%rbx), %edx
	movq	_MDIO_COMBO_IEEO_MII_CONTROL_AN_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	orl	-44(%rbp), %r8d
	movl	(%r13), %ecx
	movq	_MDIO_COMBO_IEEO_MII_CONTROL_RESTART_AN@GOTPCREL(%rip), %rax
LBB0_3:
	orl	(%rax), %r8d
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_CL22_WR_OVER_CL45
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_MSG_LINK,4,2             ## @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bnx2x_restart_autoneg\n"

	.comm	_MDIO_REG_BANK_CL73_IEEEB0,4,2  ## @MDIO_REG_BANK_CL73_IEEEB0
	.comm	_MDIO_CL73_IEEEB0_CL73_AN_CONTROL,4,2 ## @MDIO_CL73_IEEEB0_CL73_AN_CONTROL
	.comm	_MDIO_CL73_IEEEB0_CL73_AN_CONTROL_AN_EN,4,2 ## @MDIO_CL73_IEEEB0_CL73_AN_CONTROL_AN_EN
	.comm	_MDIO_CL73_IEEEB0_CL73_AN_CONTROL_RESTART_AN,4,2 ## @MDIO_CL73_IEEEB0_CL73_AN_CONTROL_RESTART_AN
	.comm	_MDIO_REG_BANK_COMBO_IEEE0,4,2  ## @MDIO_REG_BANK_COMBO_IEEE0
	.comm	_MDIO_COMBO_IEEE0_MII_CONTROL,4,2 ## @MDIO_COMBO_IEEE0_MII_CONTROL
L_.str.1:                               ## @.str.1
	.asciz	"bnx2x_restart_autoneg mii_control before = 0x%x\n"

	.comm	_MDIO_COMBO_IEEO_MII_CONTROL_AN_EN,4,2 ## @MDIO_COMBO_IEEO_MII_CONTROL_AN_EN
	.comm	_MDIO_COMBO_IEEO_MII_CONTROL_RESTART_AN,4,2 ## @MDIO_COMBO_IEEO_MII_CONTROL_RESTART_AN
	.no_dead_strip	_bnx2x_restart_autoneg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_restart_autoneg
_bnx2x_restart_autoneg:                 ; @bnx2x_restart_autoneg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x19, x0
	ldr	x20, [x1]
Lloh0:
	adrp	x22, _NETIF_MSG_LINK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _NETIF_MSG_LINK@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
	cbz	x21, LBB0_2
; %bb.1:
Lloh4:
	adrp	x21, _MDIO_REG_BANK_CL73_IEEEB0@GOTPAGE
Lloh5:
	ldr	x21, [x21, _MDIO_REG_BANK_CL73_IEEEB0@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh6:
	adrp	x22, _MDIO_CL73_IEEEB0_CL73_AN_CONTROL@GOTPAGE
Lloh7:
	ldr	x22, [x22, _MDIO_CL73_IEEEB0_CL73_AN_CONTROL@GOTPAGEOFF]
	ldr	w3, [x22]
	add	x4, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_CL22_RD_OVER_CL45
	ldr	w2, [x21]
	ldr	w3, [x22]
	ldr	w8, [sp, #12]
Lloh8:
	adrp	x9, _MDIO_CL73_IEEEB0_CL73_AN_CONTROL_AN_EN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MDIO_CL73_IEEEB0_CL73_AN_CONTROL_AN_EN@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh11:
	adrp	x9, _MDIO_CL73_IEEEB0_CL73_AN_CONTROL_RESTART_AN@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MDIO_CL73_IEEEB0_CL73_AN_CONTROL_RESTART_AN@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh13:
	adrp	x21, _MDIO_REG_BANK_COMBO_IEEE0@GOTPAGE
Lloh14:
	ldr	x21, [x21, _MDIO_REG_BANK_COMBO_IEEE0@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh15:
	adrp	x23, _MDIO_COMBO_IEEE0_MII_CONTROL@GOTPAGE
Lloh16:
	ldr	x23, [x23, _MDIO_COMBO_IEEE0_MII_CONTROL@GOTPAGEOFF]
	ldr	w3, [x23]
	add	x4, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_CL22_RD_OVER_CL45
	ldr	w0, [x22]
	ldr	w8, [sp, #12]
	str	x8, [sp]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DP
	ldr	w2, [x21]
	ldr	w3, [x23]
	ldr	w8, [sp, #12]
Lloh19:
	adrp	x9, _MDIO_COMBO_IEEO_MII_CONTROL_AN_EN@GOTPAGE
Lloh20:
	ldr	x9, [x9, _MDIO_COMBO_IEEO_MII_CONTROL_AN_EN@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh22:
	adrp	x9, _MDIO_COMBO_IEEO_MII_CONTROL_RESTART_AN@GOTPAGE
Lloh23:
	ldr	x9, [x9, _MDIO_COMBO_IEEO_MII_CONTROL_RESTART_AN@GOTPAGEOFF]
LBB0_3:
	ldr	w9, [x9]
	orr	w4, w8, w9
	mov	x0, x20
	mov	x1, x19
	bl	_CL22_WR_OVER_CL45
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_MSG_LINK,4,2             ; @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bnx2x_restart_autoneg\n"

	.comm	_MDIO_REG_BANK_CL73_IEEEB0,4,2  ; @MDIO_REG_BANK_CL73_IEEEB0
	.comm	_MDIO_CL73_IEEEB0_CL73_AN_CONTROL,4,2 ; @MDIO_CL73_IEEEB0_CL73_AN_CONTROL
	.comm	_MDIO_CL73_IEEEB0_CL73_AN_CONTROL_AN_EN,4,2 ; @MDIO_CL73_IEEEB0_CL73_AN_CONTROL_AN_EN
	.comm	_MDIO_CL73_IEEEB0_CL73_AN_CONTROL_RESTART_AN,4,2 ; @MDIO_CL73_IEEEB0_CL73_AN_CONTROL_RESTART_AN
	.comm	_MDIO_REG_BANK_COMBO_IEEE0,4,2  ; @MDIO_REG_BANK_COMBO_IEEE0
	.comm	_MDIO_COMBO_IEEE0_MII_CONTROL,4,2 ; @MDIO_COMBO_IEEE0_MII_CONTROL
l_.str.1:                               ; @.str.1
	.asciz	"bnx2x_restart_autoneg mii_control before = 0x%x\n"

	.comm	_MDIO_COMBO_IEEO_MII_CONTROL_AN_EN,4,2 ; @MDIO_COMBO_IEEO_MII_CONTROL_AN_EN
	.comm	_MDIO_COMBO_IEEO_MII_CONTROL_RESTART_AN,4,2 ; @MDIO_COMBO_IEEO_MII_CONTROL_RESTART_AN
	.no_dead_strip	_bnx2x_restart_autoneg
.subsections_via_symbols
