	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_neigh_entry_update
_mlxsw_sp_neigh_entry_update:           ## @mlxsw_sp_neigh_entry_update
	.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
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	%edx, %edi
	callq	_mlxsw_sp_rauht_op
	movl	%eax, %r12d
	testl	%ebx, %ebx
	jne	LBB0_2
## %bb.1:
	cmpl	$0, (%r14)
	je	LBB0_12
LBB0_2:
	movl	%ebx, (%r14)
	movq	8(%r14), %rax
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.3:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_mlxsw_sp_router_neigh_entry_op4
	testl	%eax, %eax
	jne	LBB0_12
LBB0_5:
	movq	_NTF_OFFLOADED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ebx, %ebx
	je	LBB0_11
## %bb.6:
	movq	8(%r14), %rcx
	orl	%eax, (%rcx)
	jmp	LBB0_12
LBB0_7:
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.8:
	movq	%r14, %rdi
	callq	_mlxsw_sp_neigh_ipv6_ignore
	testq	%rax, %rax
	jne	LBB0_12
## %bb.9:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_mlxsw_sp_router_neigh_entry_op6
	testl	%eax, %eax
	jne	LBB0_12
	jmp	LBB0_5
LBB0_10:
	movl	$1, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WARN_ON_ONCE                   ## TAILCALL
LBB0_11:
	notl	%eax
	movq	8(%r14), %rcx
	andl	%eax, (%rcx)
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_NTF_OFFLOADED,4,2              ## @NTF_OFFLOADED
	.no_dead_strip	_mlxsw_sp_neigh_entry_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_neigh_entry_update
_mlxsw_sp_neigh_entry_update:           ; @mlxsw_sp_neigh_entry_update
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	mov	x0, x2
	bl	_mlxsw_sp_rauht_op
	mov	x22, x0
	cbnz	w20, LBB0_2
; %bb.1:
	ldr	w8, [x19]
	cbz	w8, LBB0_12
LBB0_2:
	str	w20, [x19]
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _AF_INET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_mlxsw_sp_router_neigh_entry_op4
	cbnz	w0, LBB0_12
LBB0_4:
Lloh3:
	adrp	x8, _NTF_OFFLOADED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NTF_OFFLOADED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cbz	w20, LBB0_10
; %bb.5:
	ldr	x9, [x19, #8]
	ldr	w10, [x9]
	orr	w8, w10, w8
	b	LBB0_11
LBB0_6:
Lloh6:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.7:
	mov	x0, x19
	bl	_mlxsw_sp_neigh_ipv6_ignore
	cbnz	x0, LBB0_12
; %bb.8:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_mlxsw_sp_router_neigh_entry_op6
	cbnz	w0, LBB0_12
	b	LBB0_4
LBB0_9:
	mov	w0, #1
	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	_WARN_ON_ONCE
LBB0_10:
	ldr	x9, [x19, #8]
	ldr	w10, [x9]
	bic	w8, w10, w8
LBB0_11:
	str	w8, [x9]
LBB0_12:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_NTF_OFFLOADED,4,2              ; @NTF_OFFLOADED
	.no_dead_strip	_mlxsw_sp_neigh_entry_update
.subsections_via_symbols
