	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_get_pauseparam
_bnx2x_get_pauseparam:                  ## @bnx2x_get_pauseparam
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_bnx2x_get_link_cfg_idx
	movq	(%rbx), %rcx
	cltq
	leaq	(%rcx,%rax,4), %rdx
	movl	(%rcx,%rax,4), %eax
	movq	_BNX2X_FLOW_CTRL_AUTO@GOTPCREL(%rip), %rsi
	addq	$8, %rbx
	xorl	%ecx, %ecx
	cmpl	(%rsi), %eax
	sete	%cl
	movl	%ecx, (%r14)
	cmovneq	%rdx, %rbx
	movl	(%rbx), %eax
	movq	_BNX2X_FLOW_CTRL_RX@GOTPCREL(%rip), %rdx
	notl	%eax
	xorl	%r8d, %r8d
	movl	(%rdx), %edx
	andl	%eax, %edx
	sete	%r8b
	movl	%r8d, 4(%r14)
	movq	_BNX2X_FLOW_CTRL_TX@GOTPCREL(%rip), %rdx
	xorl	%r9d, %r9d
	andl	(%rdx), %eax
	sete	%r9b
	movl	%r9d, 8(%r14)
	movq	_BNX2X_MSG_ETHTOOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%r14), %edx
	leaq	L_.str(%rip), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DP                             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_FLOW_CTRL_AUTO,4,2       ## @BNX2X_FLOW_CTRL_AUTO
	.comm	_BNX2X_FLOW_CTRL_RX,4,2         ## @BNX2X_FLOW_CTRL_RX
	.comm	_BNX2X_FLOW_CTRL_TX,4,2         ## @BNX2X_FLOW_CTRL_TX
	.comm	_BNX2X_MSG_ETHTOOL,4,2          ## @BNX2X_MSG_ETHTOOL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ethtool_pauseparam: cmd %d\n  autoneg %d  rx_pause %d  tx_pause %d\n"

	.no_dead_strip	_bnx2x_get_pauseparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_get_pauseparam
_bnx2x_get_pauseparam:                  ; @bnx2x_get_pauseparam
	.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
	mov	x19, x1
	bl	_netdev_priv
	mov	x20, x0
	bl	_bnx2x_get_link_cfg_idx
	ldr	x8, [x20], #8
	add	x8, x8, w0, sxtw #2
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _BNX2X_FLOW_CTRL_AUTO@GOTPAGE
Lloh1:
	ldr	x10, [x10, _BNX2X_FLOW_CTRL_AUTO@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	cmp	w9, w10
	cset	w3, eq
	str	w3, [x19]
	csel	x8, x20, x8, eq
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _BNX2X_FLOW_CTRL_RX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BNX2X_FLOW_CTRL_RX@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	bics	wzr, w9, w8
Lloh6:
	adrp	x9, _BNX2X_FLOW_CTRL_TX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BNX2X_FLOW_CTRL_TX@GOTPAGEOFF]
	cset	w4, eq
Lloh8:
	ldr	w9, [x9]
	bics	wzr, w9, w8
	cset	w5, eq
	stp	w4, w5, [x19, #4]
Lloh9:
	adrp	x8, _BNX2X_MSG_ETHTOOL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BNX2X_MSG_ETHTOOL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w2, [x19, #12]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DP
	.loh AdrpAdd	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	_BNX2X_FLOW_CTRL_AUTO,4,2       ; @BNX2X_FLOW_CTRL_AUTO
	.comm	_BNX2X_FLOW_CTRL_RX,4,2         ; @BNX2X_FLOW_CTRL_RX
	.comm	_BNX2X_FLOW_CTRL_TX,4,2         ; @BNX2X_FLOW_CTRL_TX
	.comm	_BNX2X_MSG_ETHTOOL,4,2          ; @BNX2X_MSG_ETHTOOL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ethtool_pauseparam: cmd %d\n  autoneg %d  rx_pause %d  tx_pause %d\n"

	.no_dead_strip	_bnx2x_get_pauseparam
.subsections_via_symbols
