	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_calc_num_queues
_bnx2x_calc_num_queues:                 ## @bnx2x_calc_num_queues
	.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	%rdi, %r14
	movq	_bnx2x_num_queues@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_netif_get_num_default_rss_queues
	movl	%eax, %ebx
LBB0_2:
	xorl	%eax, %eax
	callq	_is_kdump_kernel
	testq	%rax, %rax
	movl	$1, %eax
	cmovnel	%eax, %ebx
	movq	%r14, %rdi
	callq	_BNX2X_MAX_QUEUES
	movl	%ebx, %edi
	movl	$1, %esi
	movl	%eax, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_clamp                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_bnx2x_num_queues,8,3           ## @bnx2x_num_queues
	.no_dead_strip	_bnx2x_calc_num_queues
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_calc_num_queues
_bnx2x_calc_num_queues:                 ; @bnx2x_calc_num_queues
	.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, x0
Lloh0:
	adrp	x8, _bnx2x_num_queues@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bnx2x_num_queues@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	cbnz	x20, LBB0_2
; %bb.1:
	bl	_netif_get_num_default_rss_queues
	mov	w20, w0
LBB0_2:
	bl	_is_kdump_kernel
	cmp	x0, #0
	csinc	w20, w20, wzr, eq
	mov	x0, x19
	bl	_BNX2X_MAX_QUEUES
	mov	x2, x0
	mov	x0, x20
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_clamp
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_bnx2x_num_queues,8,3           ; @bnx2x_num_queues
	.no_dead_strip	_bnx2x_calc_num_queues
.subsections_via_symbols
