	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlxsw_sp_fid_vni_set           ## -- Begin function mlxsw_sp_fid_vni_set
	.p2align	4, 0x90
_mlxsw_sp_fid_vni_set:                  ## @mlxsw_sp_fid_vni_set
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	24(%rdi), %rax
	movq	8(%rax), %r13
	cmpq	$0, (%r13)
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %ebx
	movl	%edx, %r15d
	je	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	cmpl	$0, (%r12)
	setne	%dil
	jmp	LBB0_3
LBB0_1:
	movl	$1, %edi
LBB0_3:
	movq	(%rax), %r14
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_5:
	movl	%ebx, 4(%r12)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%r12)
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movl	%r15d, 16(%r12)
	movq	(%r14), %rdi
	leaq	12(%r12), %r15
	movq	_mlxsw_sp_fid_vni_ht_params@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_rhashtable_lookup_insert_fast
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.6:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	*(%r13)
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movl	%eax, %ebx
	movq	(%r14), %rdi
	movq	_mlxsw_sp_fid_vni_ht_params@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_rhashtable_remove_fast
	jmp	LBB0_9
LBB0_7:
	movl	$1, (%r12)
	xorl	%ebx, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_mlxsw_sp_fid_vni_ht_params,4,2 ## @mlxsw_sp_fid_vni_ht_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlxsw_sp_fid_vni_set           ; -- Begin function mlxsw_sp_fid_vni_set
	.p2align	2
_mlxsw_sp_fid_vni_set:                  ; @mlxsw_sp_fid_vni_set
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x8, [x0, #24]
	ldr	x23, [x8, #8]
	ldr	x9, [x23]
	cbz	x9, LBB0_2
; %bb.1:
	ldr	w9, [x19]
	cmp	w9, #0
	cset	w0, ne
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	ldr	x24, [x8]
	bl	_WARN_ON
	cbz	x0, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_9
LBB0_5:
	stp	w22, w21, [x19, #4]
	str	w20, [x19, #16]
	ldr	x0, [x24]
	add	x22, x19, #12
Lloh3:
	adrp	x25, _mlxsw_sp_fid_vni_ht_params@GOTPAGE
Lloh4:
	ldr	x25, [x25, _mlxsw_sp_fid_vni_ht_params@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x1, x22
	bl	_rhashtable_lookup_insert_fast
	mov	x21, x0
	cbnz	w0, LBB0_9
; %bb.6:
	ldr	x8, [x23]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	mov	x21, x0
	cbz	w0, LBB0_8
; %bb.7:
	ldr	x0, [x24]
	ldr	w2, [x25]
	mov	x1, x22
	bl	_rhashtable_remove_fast
	b	LBB0_9
LBB0_8:
	mov	w8, #1
	str	w8, [x19]
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_mlxsw_sp_fid_vni_ht_params,4,2 ; @mlxsw_sp_fid_vni_ht_params
.subsections_via_symbols
