	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_flower_get_stats
_nfp_flower_get_stats:                  ## @nfp_flower_get_stats
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rdx
	movq	%rdi, %r12
	movq	(%rdi), %r14
	movq	8(%r15), %r13
	movl	4(%r15), %esi
	callq	_nfp_flower_search_fl_table
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	4(%rax), %edi
	callq	_be32_to_cpu
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movq	%rbx, %rdi
	callq	_list_empty
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_nfp_flower_update_merge_stats
LBB0_4:
	movq	8(%r14), %rax
	shlq	$3, %r13
	leaq	(,%r13,2), %rbx
	addq	%r13, %rbx
	movq	(%rax,%rbx), %rsi
	movq	8(%rax,%rbx), %rdx
	movl	16(%rax,%rbx), %ecx
	movq	%r15, %rdi
	callq	_flow_stats_update
	movq	8(%r14), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax,%rbx)
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_NL_SET_ERR_MSG_MOD
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid entry: cannot dump stats for flow that does not exist"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_nfp_flower_get_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_flower_get_stats
_nfp_flower_get_stats:                  ; @nfp_flower_get_stats
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x2, x1
	mov	x21, x0
	ldr	x19, [x0]
	ldr	x23, [x20, #8]
	ldr	w1, [x20, #4]
	bl	_nfp_flower_search_fl_table
	cbz	x0, LBB0_4
; %bb.1:
	mov	x22, x0
	ldr	w0, [x0, #4]
	bl	_be32_to_cpu
	mov	x23, x0
	mov	x0, x19
	bl	_spin_lock_bh
	mov	x0, x22
	bl	_list_empty
	cbnz	w0, LBB0_3
; %bb.2:
	mov	x0, x21
	mov	x1, x22
	bl	_nfp_flower_update_merge_stats
LBB0_3:
	ldr	x8, [x19, #8]
	add	x9, x23, x23, lsl #1
	lsl	x21, x9, #3
	add	x8, x8, x21
	ldp	x1, x2, [x8]
	ldr	w3, [x8, #16]
	mov	x0, x20
	bl	_flow_stats_update
	ldr	x8, [x19, #8]
	add	x8, x8, x21
	stp	xzr, xzr, [x8]
	mov	x0, x19
	bl	_spin_unlock_bh
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_NL_SET_ERR_MSG_MOD
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid entry: cannot dump stats for flow that does not exist"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_nfp_flower_get_stats
.subsections_via_symbols
