	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_get_ringparam
_bnx2x_get_ringparam:                   ## @bnx2x_get_ringparam
	.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, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_MAX_RX_AVAIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	8(%r14), %rcx
	testq	%rcx, %rcx
	cmoveq	%rax, %rcx
	movq	%rcx, 8(%rbx)
	movq	%r14, %rdi
	callq	_IS_MF_FCOE_AFEX
	xorl	%ecx, %ecx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_MAX_TX_AVAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_2:
	movl	%ecx, 4(%rbx)
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_RX_AVAIL,8,3               ## @MAX_RX_AVAIL
	.comm	_MAX_TX_AVAIL,4,2               ## @MAX_TX_AVAIL
	.no_dead_strip	_bnx2x_get_ringparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_get_ringparam
_bnx2x_get_ringparam:                   ; @bnx2x_get_ringparam
	.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
Lloh0:
	adrp	x8, _MAX_RX_AVAIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_RX_AVAIL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x0, #8]
	cmp	x9, #0
	csel	x9, x8, x9, eq
	stp	x9, x8, [x19, #8]
	bl	_IS_MF_FCOE_AFEX
Lloh3:
	adrp	x8, _MAX_TX_AVAIL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_TX_AVAIL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, w8, wzr, eq
	ldr	w9, [x20]
	stp	w9, w8, [x19]
	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	_MAX_RX_AVAIL,8,3               ; @MAX_RX_AVAIL
	.comm	_MAX_TX_AVAIL,4,2               ; @MAX_TX_AVAIL
	.no_dead_strip	_bnx2x_get_ringparam
.subsections_via_symbols
