	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_net_close_stack
_nfp_net_close_stack:                   ## @nfp_net_close_stack
	.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, %r14
	movq	24(%rdi), %rax
	movq	_NFP_NET_IRQ_LSC_IDX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_disable_irq
	movl	8(%r14), %edi
	callq	_netif_carrier_off
	movl	$0, (%r14)
	cmpl	$0, 4(%r14)
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movl	4(%rax,%rbx), %edi
	callq	_disable_irq
	movq	16(%r14), %rdi
	addq	%rbx, %rdi
	callq	_napi_disable
	incq	%r15
	movl	4(%r14), %eax
	addq	$8, %rbx
	cmpq	%rax, %r15
	jb	LBB0_2
LBB0_3:
	movl	8(%r14), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_tx_disable               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NFP_NET_IRQ_LSC_IDX,8,3        ## @NFP_NET_IRQ_LSC_IDX
	.no_dead_strip	_nfp_net_close_stack
.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_stack
_nfp_net_close_stack:                   ; @nfp_net_close_stack
	.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
	ldr	x8, [x0, #24]
Lloh0:
	adrp	x9, _NFP_NET_IRQ_LSC_IDX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NFP_NET_IRQ_LSC_IDX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	bl	_disable_irq
	ldr	w0, [x19, #8]
	bl	_netif_carrier_off
	str	wzr, [x19]
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x20, #0
	mov	w21, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	w0, [x8, x21]
	bl	_disable_irq
	ldr	x8, [x19, #16]
	add	x8, x8, x21
	sub	x0, x8, #4
	bl	_napi_disable
	add	x20, x20, #1
	ldr	w8, [x19, #4]
	add	x21, x21, #8
	cmp	x20, x8
	b.lo	LBB0_2
LBB0_3:
	ldr	w0, [x19, #8]
	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	_netif_tx_disable
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NFP_NET_IRQ_LSC_IDX,8,3        ; @NFP_NET_IRQ_LSC_IDX
	.no_dead_strip	_nfp_net_close_stack
.subsections_via_symbols
