	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_eee_disable
_bnx2x_eee_disable:                     ## @bnx2x_eee_disable
	.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	%rdx, %r14
	movq	%rdi, %r15
	movq	8(%rsi), %rbx
	movq	_MISC_REG_CPMU_LP_FW_ENABLE_P0@GOTPCREL(%rip), %rax
	movl	(%rsi), %ecx
	shll	$2, %ecx
	movslq	%ecx, %rsi
	addq	(%rax), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_REG_WR
	movq	_MDIO_AN_DEVAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MDIO_AN_REG_EEE_ADV@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%r8d, %r8d
	callq	_bnx2x_cl45_write
	movq	_SHMEM_EEE_ADV_STATUS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MISC_REG_CPMU_LP_FW_ENABLE_P0,8,3 ## @MISC_REG_CPMU_LP_FW_ENABLE_P0
	.comm	_MDIO_AN_DEVAD,4,2              ## @MDIO_AN_DEVAD
	.comm	_MDIO_AN_REG_EEE_ADV,4,2        ## @MDIO_AN_REG_EEE_ADV
	.comm	_SHMEM_EEE_ADV_STATUS_MASK,4,2  ## @SHMEM_EEE_ADV_STATUS_MASK
	.no_dead_strip	_bnx2x_eee_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_eee_disable
_bnx2x_eee_disable:                     ; @bnx2x_eee_disable
	.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, x2
	mov	x20, x0
	ldr	x21, [x1, #8]
Lloh0:
	adrp	x8, _MISC_REG_CPMU_LP_FW_ENABLE_P0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MISC_REG_CPMU_LP_FW_ENABLE_P0@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w9, [x1]
	lsl	w9, w9, #2
	add	x1, x8, w9, sxtw
	mov	x0, x21
	mov	w2, #0
	bl	_REG_WR
Lloh3:
	adrp	x8, _MDIO_AN_DEVAD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MDIO_AN_DEVAD@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _MDIO_AN_REG_EEE_ADV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MDIO_AN_REG_EEE_ADV@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	w4, #0
	bl	_bnx2x_cl45_write
Lloh9:
	adrp	x8, _SHMEM_EEE_ADV_STATUS_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SHMEM_EEE_ADV_STATUS_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
	mov	w0, #0
	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
	ret
	.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	_MISC_REG_CPMU_LP_FW_ENABLE_P0,8,3 ; @MISC_REG_CPMU_LP_FW_ENABLE_P0
	.comm	_MDIO_AN_DEVAD,4,2              ; @MDIO_AN_DEVAD
	.comm	_MDIO_AN_REG_EEE_ADV,4,2        ; @MDIO_AN_REG_EEE_ADV
	.comm	_SHMEM_EEE_ADV_STATUS_MASK,4,2  ; @SHMEM_EEE_ADV_STATUS_MASK
	.no_dead_strip	_bnx2x_eee_disable
.subsections_via_symbols
