	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnad_q_num_init
_bnad_q_num_init:                       ## @bnad_q_num_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_num_online_cpus
	movq	_BNAD_MAX_RX@GOTPCREL(%rip), %rcx
	movq	_BNAD_MAX_RXP_PER_RX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	imull	(%rcx), %esi
	movl	%eax, %edi
	callq	_min
	movq	_BNAD_CF_MSIX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rbx), %ecx
	movl	$1, %ecx
	cmovnel	%eax, %ecx
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 4(%rbx)
	movl	%ecx, 12(%rbx)
	movq	_BNAD_TXQ_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNAD_MAX_RX,4,2                ## @BNAD_MAX_RX
	.comm	_BNAD_MAX_RXP_PER_RX,4,2        ## @BNAD_MAX_RXP_PER_RX
	.comm	_BNAD_CF_MSIX,4,2               ## @BNAD_CF_MSIX
	.comm	_BNAD_TXQ_NUM,4,2               ## @BNAD_TXQ_NUM
	.no_dead_strip	_bnad_q_num_init
.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_init
_bnad_q_num_init:                       ; @bnad_q_num_init
	.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
	bl	_num_online_cpus
Lloh0:
	adrp	x8, _BNAD_MAX_RX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNAD_MAX_RX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _BNAD_MAX_RXP_PER_RX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BNAD_MAX_RXP_PER_RX@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mul	w1, w9, w8
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_min
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _BNAD_CF_MSIX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BNAD_CF_MSIX@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	csinc	w8, w0, wzr, ne
	movi.2s	v0, #1
	stur	d0, [x19, #4]
Lloh9:
	adrp	x9, _BNAD_TXQ_NUM@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BNAD_TXQ_NUM@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w8, w9, [x19, #12]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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	_BNAD_MAX_RX,4,2                ; @BNAD_MAX_RX
	.comm	_BNAD_MAX_RXP_PER_RX,4,2        ; @BNAD_MAX_RXP_PER_RX
	.comm	_BNAD_CF_MSIX,4,2               ; @BNAD_CF_MSIX
	.comm	_BNAD_TXQ_NUM,4,2               ; @BNAD_TXQ_NUM
	.no_dead_strip	_bnad_q_num_init
.subsections_via_symbols
