	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_set_brcm_cl37_advertisement
_bnx2x_set_brcm_cl37_advertisement:     ## @bnx2x_set_brcm_cl37_advertisement
	.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
	movl	(%rdi), %r8d
	movq	_PORT_HW_CFG_SPEED_CAPABILITY_D0_2_5G@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r8d, %eax
	je	LBB0_2
## %bb.1:
	movq	_MDIO_OVER_1G_UP1_2_5G@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	movq	(%rsi), %r14
	movq	_PORT_HW_CFG_SPEED_CAPABILITY_D0_10G@GOTPCREL(%rip), %rcx
	andl	(%rcx), %r8d
	je	LBB0_4
## %bb.3:
	movq	_MDIO_OVER_1G_UP1_10G@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
LBB0_4:
	orl	%eax, %r8d
	movq	_MDIO_REG_BANK_OVER_1G@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	_MDIO_OVER_1G_UP1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_CL22_WR_OVER_CL45
	movl	(%r15), %edx
	movq	_MDIO_OVER_1G_UP3@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1024, %r8d                     ## imm = 0x400
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CL22_WR_OVER_CL45              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_2_5G,4,2 ## @PORT_HW_CFG_SPEED_CAPABILITY_D0_2_5G
	.comm	_MDIO_OVER_1G_UP1_2_5G,4,2      ## @MDIO_OVER_1G_UP1_2_5G
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_10G,4,2 ## @PORT_HW_CFG_SPEED_CAPABILITY_D0_10G
	.comm	_MDIO_OVER_1G_UP1_10G,4,2       ## @MDIO_OVER_1G_UP1_10G
	.comm	_MDIO_REG_BANK_OVER_1G,4,2      ## @MDIO_REG_BANK_OVER_1G
	.comm	_MDIO_OVER_1G_UP1,4,2           ## @MDIO_OVER_1G_UP1
	.comm	_MDIO_OVER_1G_UP3,4,2           ## @MDIO_OVER_1G_UP3
	.no_dead_strip	_bnx2x_set_brcm_cl37_advertisement
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_set_brcm_cl37_advertisement
_bnx2x_set_brcm_cl37_advertisement:     ; @bnx2x_set_brcm_cl37_advertisement
	.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	x20, [x1]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _PORT_HW_CFG_SPEED_CAPABILITY_D0_2_5G@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PORT_HW_CFG_SPEED_CAPABILITY_D0_2_5G@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _MDIO_OVER_1G_UP1_2_5G@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MDIO_OVER_1G_UP1_2_5G@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w9, wzr, w10, eq
Lloh6:
	adrp	x10, _PORT_HW_CFG_SPEED_CAPABILITY_D0_10G@GOTPAGE
Lloh7:
	ldr	x10, [x10, _PORT_HW_CFG_SPEED_CAPABILITY_D0_10G@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _MDIO_OVER_1G_UP1_10G@GOTPAGE
Lloh10:
	ldr	x11, [x11, _MDIO_OVER_1G_UP1_10G@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w8, wzr, w11, eq
	orr	w4, w8, w9
Lloh12:
	adrp	x21, _MDIO_REG_BANK_OVER_1G@GOTPAGE
Lloh13:
	ldr	x21, [x21, _MDIO_REG_BANK_OVER_1G@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh14:
	adrp	x8, _MDIO_OVER_1G_UP1@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MDIO_OVER_1G_UP1@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_CL22_WR_OVER_CL45
	ldr	w2, [x21]
Lloh17:
	adrp	x8, _MDIO_OVER_1G_UP3@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MDIO_OVER_1G_UP3@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w4, #1024
	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	_CL22_WR_OVER_CL45
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.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	_PORT_HW_CFG_SPEED_CAPABILITY_D0_2_5G,4,2 ; @PORT_HW_CFG_SPEED_CAPABILITY_D0_2_5G
	.comm	_MDIO_OVER_1G_UP1_2_5G,4,2      ; @MDIO_OVER_1G_UP1_2_5G
	.comm	_PORT_HW_CFG_SPEED_CAPABILITY_D0_10G,4,2 ; @PORT_HW_CFG_SPEED_CAPABILITY_D0_10G
	.comm	_MDIO_OVER_1G_UP1_10G,4,2       ; @MDIO_OVER_1G_UP1_10G
	.comm	_MDIO_REG_BANK_OVER_1G,4,2      ; @MDIO_REG_BANK_OVER_1G
	.comm	_MDIO_OVER_1G_UP1,4,2           ; @MDIO_OVER_1G_UP1
	.comm	_MDIO_OVER_1G_UP3,4,2           ; @MDIO_OVER_1G_UP3
	.no_dead_strip	_bnx2x_set_brcm_cl37_advertisement
.subsections_via_symbols
