	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_nve_mc_record_entry_del
_mlxsw_sp_nve_mc_record_entry_del:      ## @mlxsw_sp_nve_mc_record_entry_del
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	24(%rdi), %r15
	movl	$0, (%rsi)
	decq	(%rdi)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
LBB0_7:
	callq	_mlxsw_sp_nve_mc_record_refresh
LBB0_8:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_2:
	movq	%rbx, %rdi
	callq	_mlxsw_sp_nve_mc_record_is_first
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	callq	_mlxsw_sp_nve_mc_record_is_first
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%r15, %rdi
	callq	_list_is_singular
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:
	movq	_list@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_list_next_entry
	movq	%rax, %r15
	movl	16(%rbx), %edi
	movl	16(%rax), %esi
	callq	_swap
	movq	%r15, %rdi
	jmp	LBB0_7
LBB0_3:
	movq	_list@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_list_prev_entry
	movq	%rax, %r12
	leaq	20(%rbx), %r13
	movq	%r13, %rdi
	callq	_list_del
	movq	%r12, %rdi
	callq	_mlxsw_sp_nve_mc_record_refresh
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_list_add_tail
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_list,4,2                       ## @list
	.no_dead_strip	_mlxsw_sp_nve_mc_record_entry_del
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_nve_mc_record_entry_del
_mlxsw_sp_nve_mc_record_entry_del:      ; @mlxsw_sp_nve_mc_record_entry_del
	.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	x19, x1
	mov	x20, x0
	ldr	x21, [x0, #24]
	str	wzr, [x1]
	ldr	x8, [x0]
	subs	x8, x8, #1
	str	x8, [x0]
	b.eq	LBB0_3
LBB0_1:
	bl	_mlxsw_sp_nve_mc_record_refresh
LBB0_2:
	ldr	x8, [x20, #8]
	ldr	x2, [x8]
	mov	x0, x20
	mov	x1, x19
	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
	br	x2
LBB0_3:
	bl	_mlxsw_sp_nve_mc_record_is_first
	cbz	x0, LBB0_7
; %bb.4:
	mov	x0, x20
	bl	_mlxsw_sp_nve_mc_record_is_first
	cbz	x0, LBB0_2
; %bb.5:
	mov	x0, x21
	bl	_list_is_singular
	cbnz	w0, LBB0_2
; %bb.6:
Lloh0:
	adrp	x8, _list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _list@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_list_next_entry
	mov	x21, x0
	ldr	w0, [x20, #16]
	ldr	w1, [x21, #16]
	bl	_swap
	mov	x0, x21
	b	LBB0_1
LBB0_7:
Lloh3:
	adrp	x8, _list@GOTPAGE
Lloh4:
	ldr	x8, [x8, _list@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_list_prev_entry
	mov	x22, x0
	add	x23, x20, #20
	mov	x0, x23
	bl	_list_del
	mov	x0, x22
	bl	_mlxsw_sp_nve_mc_record_refresh
	mov	x0, x23
	mov	x1, x21
	bl	_list_add_tail
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_list,4,2                       ; @list
	.no_dead_strip	_mlxsw_sp_nve_mc_record_entry_del
.subsections_via_symbols
