	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_rif_vlan_configure
_mlxsw_sp_rif_vlan_configure:           ## @mlxsw_sp_rif_vlan_configure
	.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	%rdi, %r12
	movq	16(%rdi), %r15
	movl	(%rdi), %edi
	callq	_mlxsw_sp_fid_8021q_vid
	movl	%eax, %r14d
	movq	_MLXSW_REG_RITR_VLAN_IF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	movl	$1, %ecx
	callq	_mlxsw_sp_rif_vlan_fid_op
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	movl	(%r12), %r13d
	movq	_MLXSW_SP_FLOOD_TYPE_MC@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_mlxsw_sp_router_port
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	$1, %ecx
	callq	_mlxsw_sp_fid_flood_set
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.2:
	movl	(%r12), %r13d
	movq	_MLXSW_SP_FLOOD_TYPE_BC@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_mlxsw_sp_router_port
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	$1, %ecx
	callq	_mlxsw_sp_fid_flood_set
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movq	16(%r12), %r13
	movq	8(%r12), %rax
	movl	(%rax), %ebx
	movl	(%r12), %edi
	callq	_mlxsw_sp_fid_index
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	$1, %ecx
	callq	_mlxsw_sp_rif_fdb_op
	movl	(%r12), %r13d
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	%eax, %ebx
	movq	_MLXSW_SP_FLOOD_TYPE_BC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_mlxsw_sp_router_port
	movl	%r13d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_mlxsw_sp_fid_flood_set
LBB0_6:
	movl	(%r12), %r13d
	movq	_MLXSW_SP_FLOOD_TYPE_MC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_mlxsw_sp_router_port
	movl	%r13d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_mlxsw_sp_fid_flood_set
LBB0_7:
	movq	_MLXSW_REG_RITR_VLAN_IF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_mlxsw_sp_rif_vlan_fid_op
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%r13d, %edi
	movq	%r12, %rsi
	callq	_mlxsw_sp_fid_rif_set
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXSW_REG_RITR_VLAN_IF,4,2     ## @MLXSW_REG_RITR_VLAN_IF
	.comm	_MLXSW_SP_FLOOD_TYPE_MC,4,2     ## @MLXSW_SP_FLOOD_TYPE_MC
	.comm	_MLXSW_SP_FLOOD_TYPE_BC,4,2     ## @MLXSW_SP_FLOOD_TYPE_BC
	.no_dead_strip	_mlxsw_sp_rif_vlan_configure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxsw_sp_rif_vlan_configure
_mlxsw_sp_rif_vlan_configure:           ; @mlxsw_sp_rif_vlan_configure
	.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	x19, x0
	ldr	x21, [x0, #16]
	ldr	w0, [x0]
	bl	_mlxsw_sp_fid_8021q_vid
	mov	x20, x0
Lloh0:
	adrp	x25, _MLXSW_REG_RITR_VLAN_IF@GOTPAGE
Lloh1:
	ldr	x25, [x25, _MLXSW_REG_RITR_VLAN_IF@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #1
	bl	_mlxsw_sp_rif_vlan_fid_op
	mov	x22, x0
	cbnz	w0, LBB0_7
; %bb.1:
	ldr	w22, [x19]
Lloh2:
	adrp	x26, _MLXSW_SP_FLOOD_TYPE_MC@GOTPAGE
Lloh3:
	ldr	x26, [x26, _MLXSW_SP_FLOOD_TYPE_MC@GOTPAGEOFF]
	ldr	w23, [x26]
	mov	x0, x21
	bl	_mlxsw_sp_router_port
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	mov	w3, #1
	bl	_mlxsw_sp_fid_flood_set
	mov	x22, x0
	cbnz	w0, LBB0_6
; %bb.2:
	ldr	w22, [x19]
Lloh4:
	adrp	x24, _MLXSW_SP_FLOOD_TYPE_BC@GOTPAGE
Lloh5:
	ldr	x24, [x24, _MLXSW_SP_FLOOD_TYPE_BC@GOTPAGEOFF]
	ldr	w23, [x24]
	mov	x0, x21
	bl	_mlxsw_sp_router_port
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	mov	w3, #1
	bl	_mlxsw_sp_fid_flood_set
	mov	x22, x0
	cbnz	w0, LBB0_5
; %bb.3:
	ldp	x8, x22, [x19, #8]
	ldr	w23, [x8]
	ldr	w0, [x19]
	bl	_mlxsw_sp_fid_index
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	mov	w3, #1
	bl	_mlxsw_sp_rif_fdb_op
	mov	x22, x0
	ldr	w23, [x19]
	cbz	w0, LBB0_8
; %bb.4:
	ldr	w24, [x24]
	mov	x0, x21
	bl	_mlxsw_sp_router_port
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	mov	w3, #0
	bl	_mlxsw_sp_fid_flood_set
LBB0_5:
	ldr	w23, [x19]
	ldr	w24, [x26]
	mov	x0, x21
	bl	_mlxsw_sp_router_port
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	mov	w3, #0
	bl	_mlxsw_sp_fid_flood_set
LBB0_6:
	ldr	w1, [x25]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #0
	bl	_mlxsw_sp_rif_vlan_fid_op
LBB0_7:
	mov	x0, x22
	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
LBB0_8:
	mov	x0, x23
	mov	x1, x19
	bl	_mlxsw_sp_fid_rif_set
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXSW_REG_RITR_VLAN_IF,4,2     ; @MLXSW_REG_RITR_VLAN_IF
	.comm	_MLXSW_SP_FLOOD_TYPE_MC,4,2     ; @MLXSW_SP_FLOOD_TYPE_MC
	.comm	_MLXSW_SP_FLOOD_TYPE_BC,4,2     ; @MLXSW_SP_FLOOD_TYPE_BC
	.no_dead_strip	_mlxsw_sp_rif_vlan_configure
.subsections_via_symbols
