	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_span_dmac
_mlxsw_sp_span_dmac:                    ## @mlxsw_sp_span_dmac
	.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	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	callq	_neigh_lookup
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_1
LBB0_2:
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_neigh_event_send
	leaq	4(%rbx), %r12
	movq	%r12, %rdi
	callq	_read_lock_bh
	movq	_NUD_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.3:
	cmpl	$0, 12(%rbx)
	je	LBB0_4
LBB0_5:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	jmp	LBB0_6
LBB0_1:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_neigh_create
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.7:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_4:
	movl	8(%rbx), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_memcpy
	xorl	%r15d, %r15d
LBB0_6:
	movq	%r12, %rdi
	callq	_read_unlock_bh
	movq	%rbx, %rdi
	callq	_neigh_release
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_NUD_VALID,4,2                  ## @NUD_VALID
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_mlxsw_sp_span_dmac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_span_dmac
_mlxsw_sp_span_dmac:                    ; @mlxsw_sp_span_dmac
	.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	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	bl	_neigh_lookup
	mov	x19, x0
	cbz	x0, LBB0_4
LBB0_1:
	mov	x0, x19
	mov	x1, #0
	bl	_neigh_event_send
	add	x21, x19, #4
	mov	x0, x21
	bl	_read_lock_bh
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _NUD_VALID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NUD_VALID@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_6
LBB0_3:
Lloh3:
	adrp	x8, _ENOENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_7
LBB0_4:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	bl	_neigh_create
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_1
; %bb.5:
	mov	x0, 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
	b	_PTR_ERR
LBB0_6:
	ldr	w1, [x19, #8]
Lloh6:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_memcpy
	mov	w20, #0
LBB0_7:
	mov	x0, x21
	bl	_read_unlock_bh
	mov	x0, x19
	bl	_neigh_release
	mov	x0, x20
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_NUD_VALID,4,2                  ; @NUD_VALID
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_mlxsw_sp_span_dmac
.subsections_via_symbols
