	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_net_dump_calculate_size    ## -- Begin function nfp_net_dump_calculate_size
	.p2align	4, 0x90
_nfp_net_dump_calculate_size:           ## @nfp_net_dump_calculate_size
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movl	%edx, %edi
	callq	_cpu_to_be32
	movl	%eax, -20(%rbp)
	movl	$4, %edi
	callq	_ALIGN8
	movl	%eax, -24(%rbp)
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movq	_nfp_calc_specific_level_size@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-24(%rbp), %rcx
	movq	%r14, %rdi
	callq	_nfp_traverse_tlvs
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	-24(%rbp), %eax
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nfp_calc_specific_level_size,4,2 ## @nfp_calc_specific_level_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_net_dump_calculate_size    ; -- Begin function nfp_net_dump_calculate_size
	.p2align	2
_nfp_net_dump_calculate_size:           ; @nfp_net_dump_calculate_size
	.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, x1
	mov	x20, x0
	mov	x0, x2
	bl	_cpu_to_be32
	str	w0, [sp, #12]
	mov	w0, #4
	bl	_ALIGN8
	str	w0, [sp, #8]
	ldp	w2, w1, [x19]
Lloh0:
	adrp	x8, _nfp_calc_specific_level_size@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nfp_calc_specific_level_size@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	add	x3, sp, #8
	mov	x0, x20
	bl	_nfp_traverse_tlvs
	ldr	w8, [sp, #8]
	cmp	w0, #0
	csel	w0, w8, w0, eq
	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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_nfp_calc_specific_level_size,4,2 ; @nfp_calc_specific_level_size
.subsections_via_symbols
