	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_calculate_pf_pool_rss_tables
_be_calculate_pf_pool_rss_tables:       ## @be_calculate_pf_pool_rss_tables
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	$0, -24(%rbp)
	movq	$0, -32(%rbp)
	callq	_be_max_vfs
	movl	%eax, %r14d
	movq	_SAVED_PROFILE_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_RESOURCE_LIMITS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%r9d, %r9d
	callq	_be_cmd_get_profile_config
	movq	_MAX_PORT_RSS_TABLES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subl	-32(%rbp), %eax
	imull	%r14d, %eax
	cltd
	idivl	-28(%rbp)
	movl	%eax, (%rbx)
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SAVED_PROFILE_TYPE,4,2         ## @SAVED_PROFILE_TYPE
	.comm	_RESOURCE_LIMITS,4,2            ## @RESOURCE_LIMITS
	.comm	_MAX_PORT_RSS_TABLES,4,2        ## @MAX_PORT_RSS_TABLES
	.no_dead_strip	_be_calculate_pf_pool_rss_tables
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_calculate_pf_pool_rss_tables
_be_calculate_pf_pool_rss_tables:       ; @be_calculate_pf_pool_rss_tables
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	str	wzr, [sp, #8]
	str	xzr, [sp]
	bl	_be_max_vfs
	mov	x20, x0
Lloh0:
	adrp	x8, _SAVED_PROFILE_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SAVED_PROFILE_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x8, _RESOURCE_LIMITS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RESOURCE_LIMITS@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x2, sp
	mov	x0, x19
	mov	x1, #0
	mov	w5, #0
	bl	_be_cmd_get_profile_config
Lloh6:
	adrp	x8, _MAX_PORT_RSS_TABLES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_PORT_RSS_TABLES@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldp	w9, w10, [sp]
	sub	w8, w8, w9
	mul	w8, w8, w20
	sdiv	w8, w8, w10
	str	w8, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SAVED_PROFILE_TYPE,4,2         ; @SAVED_PROFILE_TYPE
	.comm	_RESOURCE_LIMITS,4,2            ; @RESOURCE_LIMITS
	.comm	_MAX_PORT_RSS_TABLES,4,2        ; @MAX_PORT_RSS_TABLES
	.no_dead_strip	_be_calculate_pf_pool_rss_tables
.subsections_via_symbols
