	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_max_speed_cap
_bnx2x_max_speed_cap:                   ## @bnx2x_max_speed_cap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rbx
	callq	_bnx2x_get_link_cfg_idx
	movq	_SUPPORTED_20000baseMLD2_Full@GOTPCREL(%rip), %rcx
	movq	_SUPPORTED_20000baseKR2_Full@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%edx, (%rbx,%rax,4)
	movl	$10000, %ecx                    ## imm = 0x2710
	movl	$20000, %eax                    ## imm = 0x4E20
	cmovel	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUPPORTED_20000baseMLD2_Full,4,2 ## @SUPPORTED_20000baseMLD2_Full
	.comm	_SUPPORTED_20000baseKR2_Full,4,2 ## @SUPPORTED_20000baseKR2_Full
	.no_dead_strip	_bnx2x_max_speed_cap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_max_speed_cap
_bnx2x_max_speed_cap:                   ; @bnx2x_max_speed_cap
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0]
	bl	_bnx2x_get_link_cfg_idx
	ldr	w8, [x19, x0, lsl #2]
Lloh0:
	adrp	x9, _SUPPORTED_20000baseMLD2_Full@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SUPPORTED_20000baseMLD2_Full@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _SUPPORTED_20000baseKR2_Full@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SUPPORTED_20000baseKR2_Full@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	mov	w8, #20000
	mov	w9, #10000
	csel	w0, w9, w8, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SUPPORTED_20000baseMLD2_Full,4,2 ; @SUPPORTED_20000baseMLD2_Full
	.comm	_SUPPORTED_20000baseKR2_Full,4,2 ; @SUPPORTED_20000baseKR2_Full
	.no_dead_strip	_bnx2x_max_speed_cap
.subsections_via_symbols
