	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlxsw_sp_nve_fid_disable       ## -- Begin function mlxsw_sp_nve_fid_disable
	.p2align	4, 0x90
_mlxsw_sp_nve_fid_disable:              ## @mlxsw_sp_nve_fid_disable
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_mlxsw_sp_fid_index
	movl	%eax, %ebx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_mlxsw_sp_nve_flood_ip_flush
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_mlxsw_sp_nve_fdb_flush_by_fid
	leaq	-40(%rbp), %rsi
	movq	%r12, %rdi
	callq	_mlxsw_sp_fid_nve_ifindex
	movl	$1, %edi
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	-36(%rbp), %rsi
	movq	%r12, %rdi
	callq	_mlxsw_sp_fid_vni
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
LBB0_2:
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movl	-40(%rbp), %esi
	movq	_init_net@GOTPCREL(%rip), %rdi
	callq	_dev_get_by_index
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %r15
	movl	-36(%rbp), %ecx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_mlxsw_sp_nve_fdb_clear_offload
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_mlxsw_sp_fid_fdb_clear_offload
	movq	%r15, %rdi
	callq	_dev_put
LBB0_5:
	movq	%r12, %rdi
	callq	_mlxsw_sp_fid_vni_clear
	movq	%r14, %rdi
	callq	_mlxsw_sp_nve_tunnel_fini
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_init_net,4,2                   ## @init_net
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlxsw_sp_nve_fid_disable       ; -- Begin function mlxsw_sp_nve_fid_disable
	.p2align	2
_mlxsw_sp_nve_fid_disable:              ; @mlxsw_sp_nve_fid_disable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_mlxsw_sp_fid_index
	mov	x21, x0
	mov	x0, x19
	mov	x1, x20
	bl	_mlxsw_sp_nve_flood_ip_flush
	mov	x0, x19
	mov	x1, x21
	bl	_mlxsw_sp_nve_fdb_flush_by_fid
	add	x1, sp, #12
	mov	x0, x20
	bl	_mlxsw_sp_fid_nve_ifindex
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	bl	_WARN_ON
	cbnz	x0, LBB0_5
	b	LBB0_3
LBB0_2:
	add	x1, sp, #8
	mov	x0, x20
	bl	_mlxsw_sp_fid_vni
	cmp	x0, #0
	cset	w0, ne
	bl	_WARN_ON
	cbnz	x0, LBB0_5
LBB0_3:
	ldr	w1, [sp, #12]
Lloh0:
	adrp	x0, _init_net@GOTPAGE
Lloh1:
	ldr	x0, [x0, _init_net@GOTPAGEOFF]
	bl	_dev_get_by_index
	cbz	x0, LBB0_5
; %bb.4:
	mov	x21, x0
	ldr	w3, [sp, #8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_mlxsw_sp_nve_fdb_clear_offload
	mov	x0, x20
	mov	x1, x21
	bl	_mlxsw_sp_fid_fdb_clear_offload
	mov	x0, x21
	bl	_dev_put
LBB0_5:
	mov	x0, x20
	bl	_mlxsw_sp_fid_vni_clear
	mov	x0, x19
	bl	_mlxsw_sp_nve_tunnel_fini
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_init_net,4,2                   ; @init_net
.subsections_via_symbols
