	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_extract_max_cfg
_bnx2x_extract_max_cfg:                 ## @bnx2x_extract_max_cfg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movq	_FUNC_MF_CFG_MAX_BW_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_FUNC_MF_CFG_MAX_BW_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	popq	%rbp
	retq
LBB0_1:
	movq	_NETIF_MSG_IFUP@GOTPCREL(%rip), %rax
	movq	_BNX2X_MSG_ETHTOOL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DP
	movl	$100, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FUNC_MF_CFG_MAX_BW_MASK,4,2    ## @FUNC_MF_CFG_MAX_BW_MASK
	.comm	_FUNC_MF_CFG_MAX_BW_SHIFT,4,2   ## @FUNC_MF_CFG_MAX_BW_SHIFT
	.comm	_NETIF_MSG_IFUP,4,2             ## @NETIF_MSG_IFUP
	.comm	_BNX2X_MSG_ETHTOOL,4,2          ## @BNX2X_MSG_ETHTOOL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Max BW configured to 0 - using 100 instead\n"

	.no_dead_strip	_bnx2x_extract_max_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_extract_max_cfg
_bnx2x_extract_max_cfg:                 ; @bnx2x_extract_max_cfg
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _FUNC_MF_CFG_MAX_BW_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FUNC_MF_CFG_MAX_BW_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w1
Lloh3:
	adrp	x9, _FUNC_MF_CFG_MAX_BW_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FUNC_MF_CFG_MAX_BW_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	asr	w0, w8, w9
	cbz	w0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh6:
	adrp	x8, _NETIF_MSG_IFUP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NETIF_MSG_IFUP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _BNX2X_MSG_ETHTOOL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BNX2X_MSG_ETHTOOL@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w0, w9, w8
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
	mov	w0, #100
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FUNC_MF_CFG_MAX_BW_MASK,4,2    ; @FUNC_MF_CFG_MAX_BW_MASK
	.comm	_FUNC_MF_CFG_MAX_BW_SHIFT,4,2   ; @FUNC_MF_CFG_MAX_BW_SHIFT
	.comm	_NETIF_MSG_IFUP,4,2             ; @NETIF_MSG_IFUP
	.comm	_BNX2X_MSG_ETHTOOL,4,2          ; @BNX2X_MSG_ETHTOOL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Max BW configured to 0 - using 100 instead\n"

	.no_dead_strip	_bnx2x_extract_max_cfg
.subsections_via_symbols
