	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_modify_flow_metadata       ## -- Begin function nfp_modify_flow_metadata
	.p2align	4, 0x90
_nfp_modify_flow_metadata:              ## @nfp_modify_flow_metadata
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movl	$0, -40(%rbp)
	movq	%r15, %rdi
	callq	___nfp_modify_flow_metadata
	movl	8(%rbx), %edx
	movl	24(%rbx), %esi
	leaq	4(%rbx), %rcx
	leaq	-40(%rbp), %r8
	movq	%r14, %rdi
	callq	_nfp_check_mask_remove
	movl	-40(%rbp), %eax
	movq	16(%rbx), %rcx
	movq	_NFP_FL_MASK_ID_LOCATION@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movl	(%rbx), %edi
	callq	_be32_to_cpu
	movl	%eax, -36(%rbp)
	movq	_stats_ctx_table_params@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-36(%rbp), %rsi
	movq	%r15, %rdi
	callq	_rhashtable_lookup_fast
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	(%r12), %edx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_rhashtable_remove_fast
	movl	%eax, %edi
	callq	_WARN_ON_ONCE
	movq	%rbx, %rdi
	callq	_kfree
	movl	-36(%rbp), %esi
	movq	%r14, %rdi
	callq	_nfp_release_stats_entry
	jmp	LBB0_3
LBB0_1:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NFP_FL_MASK_ID_LOCATION,8,3    ## @NFP_FL_MASK_ID_LOCATION
	.comm	_stats_ctx_table_params,4,2     ## @stats_ctx_table_params
	.comm	_ENOENT,4,2                     ## @ENOENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_modify_flow_metadata       ; -- Begin function nfp_modify_flow_metadata
	.p2align	2
_nfp_modify_flow_metadata:              ; @nfp_modify_flow_metadata
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	x20, [x0]
	str	wzr, [sp, #12]
	mov	x0, x20
	bl	___nfp_modify_flow_metadata
	ldr	w1, [x21, #24]
	ldr	w2, [x21, #8]
	add	x3, x21, #4
	add	x4, sp, #12
	mov	x0, x19
	bl	_nfp_check_mask_remove
	ldr	w8, [sp, #12]
	ldr	x9, [x21, #16]
Lloh0:
	adrp	x10, _NFP_FL_MASK_ID_LOCATION@GOTPAGE
Lloh1:
	ldr	x10, [x10, _NFP_FL_MASK_ID_LOCATION@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
	ldr	w0, [x21]
	bl	_be32_to_cpu
	str	w0, [sp, #8]
Lloh3:
	adrp	x22, _stats_ctx_table_params@GOTPAGE
Lloh4:
	ldr	x22, [x22, _stats_ctx_table_params@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x1, sp, #8
	mov	x0, x20
	bl	_rhashtable_lookup_fast
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, x0
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, x21
	bl	_rhashtable_remove_fast
	bl	_WARN_ON_ONCE
	mov	x0, x21
	bl	_kfree
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	_nfp_release_stats_entry
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _ENOENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NFP_FL_MASK_ID_LOCATION,8,3    ; @NFP_FL_MASK_ID_LOCATION
	.comm	_stats_ctx_table_params,4,2     ; @stats_ctx_table_params
	.comm	_ENOENT,4,2                     ; @ENOENT
.subsections_via_symbols
