	.file	"extr_metadata.c_nfp_modify_flow_metadata.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	nfp_modify_flow_metadata
	.type	nfp_modify_flow_metadata, @function
nfp_modify_flow_metadata:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	r13, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR [rsp], 0
	mov	rdi, r13
	call	__nfp_modify_flow_metadata@PLT
	mov	esi, DWORD PTR 24[rbx]
	mov	edx, DWORD PTR 8[rbx]
	lea	rcx, 4[rbx]
	mov	r8, rsp
	mov	rdi, rbp
	call	nfp_check_mask_remove@PLT
	mov	rdx, QWORD PTR NFP_FL_MASK_ID_LOCATION[rip]
	mov	rax, QWORD PTR 16[rbx]
	mov	ecx, DWORD PTR [rsp]
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	edi, DWORD PTR [rbx]
	call	be32_to_cpu@PLT
	mov	edx, DWORD PTR stats_ctx_table_params[rip]
	lea	rsi, 4[rsp]
	mov	rdi, r13
	mov	DWORD PTR 4[rsp], eax
	call	rhashtable_lookup_fast@PLT
	test	rax, rax
	je	.L7
	mov	edx, DWORD PTR stats_ctx_table_params[rip]
	mov	rsi, rax
	mov	rdi, r13
	mov	r12, rax
	call	rhashtable_remove_fast@PLT
	mov	edi, eax
	call	WARN_ON_ONCE@PLT
	mov	rdi, r12
	call	kfree@PLT
	mov	esi, DWORD PTR 4[rsp]
	mov	rdi, rbp
	call	nfp_release_stats_entry@PLT
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L8
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	eax, DWORD PTR ENOENT[rip]
	neg	eax
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	nfp_modify_flow_metadata, .-nfp_modify_flow_metadata
	.comm	stats_ctx_table_params,4,4
	.comm	NFP_FL_MASK_ID_LOCATION,8,8
	.comm	ENOENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_metadata.c_nfp_modify_flow_metadata.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	nfp_modify_flow_metadata
	.syntax unified
	.arm
	.fpu softvfp
	.type	nfp_modify_flow_metadata, %function
nfp_modify_flow_metadata:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r1
	mov	r5, r0
	ldr	r6, [r0]
	ldr	r2, .L9
	sub	sp, sp, #28
	mov	r0, r6
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	str	r3, [sp, #12]
	bl	__nfp_modify_flow_metadata
	add	ip, sp, #12
	ldr	r2, [r4, #8]
	ldr	r1, [r4, #16]
	add	r3, r4, #4
	str	ip, [sp]
	mov	r0, r5
	bl	nfp_check_mask_remove
	ldr	r2, .L9+4
	ldr	r3, [r4, #12]
	ldr	r2, [r2]
	ldr	r1, [sp, #12]
	ldr	r7, .L9+8
	str	r1, [r3, r2, lsl #2]
	ldr	r0, [r4]
	bl	be32_to_cpu
	mov	r3, r0
	ldr	r2, [r7]
	mov	r0, r6
	add	r1, sp, #16
	str	r3, [sp, #16]
	bl	rhashtable_lookup_fast
	subs	r4, r0, #0
	beq	.L7
	mov	r1, r4
	ldr	r2, [r7]
	mov	r0, r6
	bl	rhashtable_remove_fast
	bl	WARN_ON_ONCE
	mov	r0, r4
	bl	kfree
	mov	r0, r5
	ldr	r1, [sp, #16]
	bl	nfp_release_stats_entry
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L7:
	ldr	r3, .L9+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	NFP_FL_MASK_ID_LOCATION
	.word	stats_ctx_table_params
	.word	ENOENT
	.size	nfp_modify_flow_metadata, .-nfp_modify_flow_metadata
	.comm	stats_ctx_table_params,4,4
	.comm	NFP_FL_MASK_ID_LOCATION,4,4
	.comm	ENOENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
