	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_nexthop_neigh_fini
_mlxsw_sp_nexthop_neigh_fini:           ## @mlxsw_sp_nexthop_neigh_fini
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %r12
	testq	%r12, %r12
	je	LBB0_7
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	16(%r12), %r15
	movq	%rsi, %rdi
	movl	$1, %esi
	callq	___mlxsw_sp_nexthop_neigh_update
	leaq	8(%rbx), %rdi
	callq	_list_del
	movq	$0, (%rbx)
	movq	%r12, %rdi
	callq	_list_empty
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	8(%r12), %rdi
	callq	_list_del
LBB0_3:
	cmpl	$0, 4(%r12)
	jne	LBB0_6
## %bb.4:
	movq	%r12, %rdi
	callq	_list_empty
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_mlxsw_sp_neigh_entry_destroy
LBB0_6:
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_neigh_release                  ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mlxsw_sp_nexthop_neigh_fini
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_nexthop_neigh_fini
_mlxsw_sp_nexthop_neigh_fini:           ; @mlxsw_sp_nexthop_neigh_fini
	.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
	ldr	x19, [x1]
	cbz	x19, LBB0_7
; %bb.1:
	mov	x22, x1
	mov	x20, x0
	ldr	x21, [x19, #16]
	mov	x0, x1
	mov	w1, #1
	bl	___mlxsw_sp_nexthop_neigh_update
	add	x0, x22, #8
	bl	_list_del
	str	xzr, [x22]
	mov	x0, x19
	bl	_list_empty
	cbz	x0, LBB0_3
; %bb.2:
	add	x0, x19, #8
	bl	_list_del
LBB0_3:
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_list_empty
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	bl	_mlxsw_sp_neigh_entry_destroy
LBB0_6:
	mov	x0, x21
	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	_neigh_release
LBB0_7:
	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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mlxsw_sp_nexthop_neigh_fini
.subsections_via_symbols
