	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_set_real_num_queues
_bnx2x_set_real_num_queues:             ## @bnx2x_set_real_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_BNX2X_NUM_ETH_QUEUES
	movl	%eax, %r15d
	imull	(%rbx), %r15d
	movq	%rbx, %rdi
	callq	_BNX2X_NUM_ETH_QUEUES
	movl	%eax, %r14d
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_NO_FCOE
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	incl	%r14d
	incl	%r15d
LBB0_3:
	movl	4(%rbx), %edi
	movl	%r15d, %esi
	callq	_netif_set_real_num_tx_queues
	movl	4(%rbx), %edi
	movl	%r14d, %esi
	callq	_netif_set_real_num_rx_queues
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_BNX2X_ERR
	jmp	LBB0_6
LBB0_5:
	movq	_NETIF_MSG_IFUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	callq	_DP
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to set real number of Rx queues: %d\n"

	.comm	_NETIF_MSG_IFUP,4,2             ## @NETIF_MSG_IFUP
L_.str.1:                               ## @.str.1
	.asciz	"Setting real num queues to (tx, rx) (%d, %d)\n"

	.no_dead_strip	_bnx2x_set_real_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_set_real_num_queues
_bnx2x_set_real_num_queues:             ; @bnx2x_set_real_num_queues
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x22, x1
	mov	x21, x0
	bl	_BNX2X_NUM_ETH_QUEUES
	ldr	w8, [x21]
	mul	w19, w8, w0
	mov	x0, x21
	bl	_BNX2X_NUM_ETH_QUEUES
	mov	x20, x0
	cbz	w22, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_NO_FCOE
	cmp	w0, #0
	cinc	w19, w19, eq
	cinc	w20, w20, eq
LBB0_2:
	ldr	w0, [x21, #4]
	mov	x1, x19
	bl	_netif_set_real_num_tx_queues
	ldr	w0, [x21, #4]
	mov	x1, x20
	bl	_netif_set_real_num_rx_queues
	mov	x21, x0
	cbz	w0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_BNX2X_ERR
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _NETIF_MSG_IFUP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NETIF_MSG_IFUP@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	mov	x3, x20
	bl	_DP
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to set real number of Rx queues: %d\n"

	.comm	_NETIF_MSG_IFUP,4,2             ; @NETIF_MSG_IFUP
l_.str.1:                               ; @.str.1
	.asciz	"Setting real num queues to (tx, rx) (%d, %d)\n"

	.no_dead_strip	_bnx2x_set_real_num_queues
.subsections_via_symbols
