	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_flower_del_offload
_nfp_flower_del_offload:                ## @nfp_flower_del_offload
	.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, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rdx), %r13
	movq	%rsi, %rdi
	callq	_nfp_netdev_is_nfp_repr
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_nfp_port_from_netdev
	movq	%rax, %r12
	jmp	LBB0_3
LBB0_1:
	xorl	%r12d, %r12d
LBB0_3:
	movl	(%r14), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_nfp_flower_search_fl_table
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_nfp_modify_flow_metadata
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_14
## %bb.6:
	movq	32(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	callq	_nfp_tunnel_del_ipv4_off
LBB0_8:
	cmpl	$0, 24(%rbx)
	je	LBB0_9
## %bb.10:
	cmpq	$0, 16(%rbx)
	je	LBB0_12
## %bb.11:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_nfp_flower_xmit_pre_tun_del_flow
	jmp	LBB0_13
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_NL_SET_ERR_MSG_MOD
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_17
LBB0_9:
	xorl	%r13d, %r13d
	jmp	LBB0_14
LBB0_12:
	movq	_NFP_FLOWER_CMSG_TYPE_FLOW_DEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_nfp_flower_xmit_flow
LBB0_13:
	movl	%eax, %r13d
LBB0_14:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_nfp_flower_del_linked_merge_flows
	testq	%r12, %r12
	je	LBB0_16
## %bb.15:
	decl	(%r12)
LBB0_16:
	movl	12(%rbx), %edi
	callq	_kfree
	movl	8(%rbx), %edi
	callq	_kfree
	movl	4(%rbx), %edi
	callq	_kfree
	movq	_nfp_flower_table_params@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_rhashtable_remove_fast
	movl	%eax, %edi
	callq	_WARN_ON_ONCE
	movq	_rcu@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_kfree_rcu
LBB0_17:
	movl	%r13d, %eax
	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 remove flow that does not exist"

	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_NFP_FLOWER_CMSG_TYPE_FLOW_DEL,4,2 ## @NFP_FLOWER_CMSG_TYPE_FLOW_DEL
	.comm	_nfp_flower_table_params,4,2    ## @nfp_flower_table_params
	.comm	_rcu,4,2                        ## @rcu
	.no_dead_strip	_nfp_flower_del_offload
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_flower_del_offload
_nfp_flower_del_offload:                ; @nfp_flower_del_offload
	.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	x24, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x19, [x0]
	ldr	x23, [x2, #8]
	mov	x0, x1
	bl	_nfp_netdev_is_nfp_repr
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_nfp_port_from_netdev
	mov	x22, x0
	b	LBB0_3
LBB0_2:
	mov	x22, #0
LBB0_3:
	ldr	w1, [x24]
	mov	x0, x21
	mov	x2, x20
	bl	_nfp_flower_search_fl_table
	cbz	x0, LBB0_10
; %bb.4:
	mov	x20, x0
	mov	x0, x21
	mov	x1, x20
	bl	_nfp_modify_flow_metadata
	mov	x23, x0
	cbnz	w0, LBB0_14
; %bb.5:
	ldr	x1, [x20, #32]
	cbz	x1, LBB0_7
; %bb.6:
	mov	x0, x21
	bl	_nfp_tunnel_del_ipv4_off
LBB0_7:
	ldr	w8, [x20, #24]
	cbz	w8, LBB0_11
; %bb.8:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_12
; %bb.9:
	mov	x0, x21
	mov	x1, x20
	bl	_nfp_flower_xmit_pre_tun_del_flow
	b	LBB0_13
LBB0_10:
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, _ENOENT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_17
LBB0_11:
	mov	w23, #0
	b	LBB0_14
LBB0_12:
Lloh5:
	adrp	x8, _NFP_FLOWER_CMSG_TYPE_FLOW_DEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NFP_FLOWER_CMSG_TYPE_FLOW_DEL@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	bl	_nfp_flower_xmit_flow
LBB0_13:
	mov	x23, x0
LBB0_14:
	mov	x0, x21
	mov	x1, x20
	bl	_nfp_flower_del_linked_merge_flows
	cbz	x22, LBB0_16
; %bb.15:
	ldr	w8, [x22]
	sub	w8, w8, #1
	str	w8, [x22]
LBB0_16:
	ldr	w0, [x20, #12]
	bl	_kfree
	ldr	w0, [x20, #8]
	bl	_kfree
	ldr	w0, [x20, #4]
	bl	_kfree
Lloh8:
	adrp	x8, _nfp_flower_table_params@GOTPAGE
Lloh9:
	ldr	x8, [x8, _nfp_flower_table_params@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_rhashtable_remove_fast
	bl	_WARN_ON_ONCE
Lloh11:
	adrp	x8, _rcu@GOTPAGE
Lloh12:
	ldr	x8, [x8, _rcu@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_kfree_rcu
LBB0_17:
	mov	x0, x23
	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
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid entry: cannot remove flow that does not exist"

	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_NFP_FLOWER_CMSG_TYPE_FLOW_DEL,4,2 ; @NFP_FLOWER_CMSG_TYPE_FLOW_DEL
	.comm	_nfp_flower_table_params,4,2    ; @nfp_flower_table_params
	.comm	_rcu,4,2                        ; @rcu
	.no_dead_strip	_nfp_flower_del_offload
.subsections_via_symbols
