	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_net_close_free_all
_nfp_net_close_free_all:                ## @nfp_net_close_free_all
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_nfp_net_tx_rings_free
	movq	%r14, %rdi
	callq	_nfp_net_rx_rings_free
	cmpl	$0, 8(%r15)
	je	LBB0_3
## %bb.1:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rsi
	addq	%r14, %rsi
	movq	%r15, %rdi
	callq	_nfp_net_cleanup_vector
	incq	%rbx
	movl	8(%r15), %eax
	addq	$4, %r14
	cmpq	%rax, %rbx
	jb	LBB0_2
LBB0_3:
	movq	_NFP_NET_CFG_LSC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NFP_NET_IRQ_LSC_IDX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_nfp_net_aux_irq_free
	movq	_NFP_NET_CFG_EXN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NFP_NET_IRQ_EXN_IDX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nfp_net_aux_irq_free           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NFP_NET_CFG_LSC,4,2            ## @NFP_NET_CFG_LSC
	.comm	_NFP_NET_IRQ_LSC_IDX,4,2        ## @NFP_NET_IRQ_LSC_IDX
	.comm	_NFP_NET_CFG_EXN,4,2            ## @NFP_NET_CFG_EXN
	.comm	_NFP_NET_IRQ_EXN_IDX,4,2        ## @NFP_NET_IRQ_EXN_IDX
	.no_dead_strip	_nfp_net_close_free_all
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_net_close_free_all
_nfp_net_close_free_all:                ; @nfp_net_close_free_all
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	add	x20, x0, #8
	mov	x0, x20
	bl	_nfp_net_tx_rings_free
	mov	x0, x20
	bl	_nfp_net_rx_rings_free
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x20, #0
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	add	x1, x8, x20
	mov	x0, x19
	bl	_nfp_net_cleanup_vector
	add	x21, x21, #1
	ldr	w8, [x19, #8]
	add	x20, x20, #4
	cmp	x21, x8
	b.lo	LBB0_2
LBB0_3:
Lloh0:
	adrp	x8, _NFP_NET_CFG_LSC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NFP_NET_CFG_LSC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _NFP_NET_IRQ_LSC_IDX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NFP_NET_IRQ_LSC_IDX@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_nfp_net_aux_irq_free
Lloh6:
	adrp	x8, _NFP_NET_CFG_EXN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NFP_NET_CFG_EXN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _NFP_NET_IRQ_EXN_IDX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NFP_NET_IRQ_EXN_IDX@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_nfp_net_aux_irq_free
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NFP_NET_CFG_LSC,4,2            ; @NFP_NET_CFG_LSC
	.comm	_NFP_NET_IRQ_LSC_IDX,4,2        ; @NFP_NET_IRQ_LSC_IDX
	.comm	_NFP_NET_CFG_EXN,4,2            ; @NFP_NET_CFG_EXN
	.comm	_NFP_NET_IRQ_EXN_IDX,4,2        ; @NFP_NET_IRQ_EXN_IDX
	.no_dead_strip	_nfp_net_close_free_all
.subsections_via_symbols
