	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_flower_clean
_nfp_flower_clean:                      ## @nfp_flower_clean
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	leaq	16(%rbx), %rdi
	callq	_skb_queue_purge
	leaq	12(%rbx), %rdi
	callq	_skb_queue_purge
	leaq	8(%rbx), %rdi
	callq	_flush_work
	movl	(%rbx), %eax
	movq	_NFP_FL_FEATS_VF_RLIM@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_nfp_flower_qos_cleanup
	movl	(%rbx), %eax
LBB0_2:
	movq	_NFP_FL_FEATS_LAG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	leaq	4(%rbx), %rdi
	callq	_nfp_flower_lag_cleanup
	movl	(%rbx), %eax
LBB0_4:
	movq	_NFP_FL_FEATS_FLOW_MERGE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_nfp_flower_internal_port_cleanup
LBB0_6:
	movq	%r14, %rdi
	callq	_nfp_flower_metadata_cleanup
	movq	(%r14), %rdi
	callq	_vfree
	movq	$0, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NFP_FL_FEATS_VF_RLIM,4,2       ## @NFP_FL_FEATS_VF_RLIM
	.comm	_NFP_FL_FEATS_LAG,4,2           ## @NFP_FL_FEATS_LAG
	.comm	_NFP_FL_FEATS_FLOW_MERGE,4,2    ## @NFP_FL_FEATS_FLOW_MERGE
	.no_dead_strip	_nfp_flower_clean
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_flower_clean
_nfp_flower_clean:                      ; @nfp_flower_clean
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0]
	add	x0, x20, #16
	bl	_skb_queue_purge
	add	x0, x20, #12
	bl	_skb_queue_purge
	add	x0, x20, #8
	bl	_flush_work
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _NFP_FL_FEATS_VF_RLIM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NFP_FL_FEATS_VF_RLIM@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_nfp_flower_qos_cleanup
	ldr	w8, [x20]
LBB0_2:
Lloh3:
	adrp	x9, _NFP_FL_FEATS_LAG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NFP_FL_FEATS_LAG@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	add	x0, x20, #4
	bl	_nfp_flower_lag_cleanup
	ldr	w8, [x20]
LBB0_4:
Lloh6:
	adrp	x9, _NFP_FL_FEATS_FLOW_MERGE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NFP_FL_FEATS_FLOW_MERGE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_nfp_flower_internal_port_cleanup
LBB0_6:
	mov	x0, x19
	bl	_nfp_flower_metadata_cleanup
	ldr	x0, [x19]
	bl	_vfree
	str	xzr, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NFP_FL_FEATS_VF_RLIM,4,2       ; @NFP_FL_FEATS_VF_RLIM
	.comm	_NFP_FL_FEATS_LAG,4,2           ; @NFP_FL_FEATS_LAG
	.comm	_NFP_FL_FEATS_FLOW_MERGE,4,2    ; @NFP_FL_FEATS_FLOW_MERGE
	.no_dead_strip	_nfp_flower_clean
.subsections_via_symbols
