	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnad_q_num_adjust
_bnad_q_num_adjust:                     ## @bnad_q_num_adjust
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$1, (%rdi)
	movq	_bnad_rxqs_per_cq@GOTPCREL(%rip), %rcx
	movq	_BNAD_MAILBOX_MSIX_VECTORS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	4(%rdi), %eax
	movl	(%rcx), %edx
	addl	%eax, %edx
	movl	$1, %ecx
	cmpl	%esi, %edx
	jg	LBB0_2
## %bb.1:
	movq	_BNAD_CF_MSIX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	subl	%eax, %esi
	testl	%ecx, 8(%rdi)
	movl	$1, %ecx
	cmovnel	%esi, %ecx
LBB0_2:
	movl	%ecx, 12(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bnad_rxqs_per_cq,4,2           ## @bnad_rxqs_per_cq
	.comm	_BNAD_MAILBOX_MSIX_VECTORS,4,2  ## @BNAD_MAILBOX_MSIX_VECTORS
	.comm	_BNAD_CF_MSIX,4,2               ## @BNAD_CF_MSIX
	.no_dead_strip	_bnad_q_num_adjust
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnad_q_num_adjust
_bnad_q_num_adjust:                     ; @bnad_q_num_adjust
	.cfi_startproc
; %bb.0:
	mov	w8, #1
	str	w8, [x0]
	ldr	w9, [x0, #4]
Lloh0:
	adrp	x10, _bnad_rxqs_per_cq@GOTPAGE
Lloh1:
	ldr	x10, [x10, _bnad_rxqs_per_cq@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x11, _BNAD_MAILBOX_MSIX_VECTORS@GOTPAGE
Lloh4:
	ldr	x11, [x11, _BNAD_MAILBOX_MSIX_VECTORS@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	add	w9, w11, w9
	add	w10, w9, w10
	cmp	w10, w1
	b.gt	LBB0_2
; %bb.1:
	ldr	w8, [x0, #8]
Lloh6:
	adrp	x10, _BNAD_CF_MSIX@GOTPAGE
Lloh7:
	ldr	x10, [x10, _BNAD_CF_MSIX@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	sub	w9, w1, w9
	tst	w10, w8
	csinc	w8, w9, wzr, ne
LBB0_2:
	str	w8, [x0, #12]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_bnad_rxqs_per_cq,4,2           ; @bnad_rxqs_per_cq
	.comm	_BNAD_MAILBOX_MSIX_VECTORS,4,2  ; @BNAD_MAILBOX_MSIX_VECTORS
	.comm	_BNAD_CF_MSIX,4,2               ; @BNAD_CF_MSIX
	.no_dead_strip	_bnad_q_num_adjust
.subsections_via_symbols
