	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxsw_sp_span_entry_bridge_8021q
_mlxsw_sp_span_entry_bridge_8021q:      ## @mlxsw_sp_span_entry_bridge_8021q
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdx), %rsi
	movq	%rsi, -48(%rbp)
	testq	%rsi, %rsi
	jne	LBB0_3
## %bb.1:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_br_vlan_get_pvid
	movl	%eax, %edi
	callq	_WARN_ON
	xorl	%r12d, %r12d
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movq	-48(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
LBB0_3:
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_br_vlan_get_info
	testq	%rax, %rax
	je	LBB0_6
LBB0_4:
	xorl	%r12d, %r12d
LBB0_5:
	movq	%r12, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_BRIDGE_VLAN_INFO_BRENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -40(%rbp)
	je	LBB0_4
## %bb.7:
	movq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_br_fdb_find_port
	testq	%rax, %rax
	je	LBB0_4
## %bb.8:
	movq	%rax, %r12
	movq	-48(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	movq	%rax, %rdi
	callq	_br_vlan_get_info
	testq	%rax, %rax
	jne	LBB0_4
## %bb.12:
	movq	_BRIDGE_VLAN_INFO_UNTAGGED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-40(%rbp), %eax
	jne	LBB0_14
## %bb.13:
	movq	-48(%rbp), %rax
	jmp	LBB0_15
LBB0_14:
	xorl	%eax, %eax
LBB0_15:
	movq	%rax, (%r14)
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_BRIDGE_VLAN_INFO_BRENTRY,4,2   ## @BRIDGE_VLAN_INFO_BRENTRY
	.comm	_BRIDGE_VLAN_INFO_UNTAGGED,4,2  ## @BRIDGE_VLAN_INFO_UNTAGGED
	.no_dead_strip	_mlxsw_sp_span_entry_bridge_8021q
.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_entry_bridge_8021q
_mlxsw_sp_span_entry_bridge_8021q:      ; @mlxsw_sp_span_entry_bridge_8021q
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x1, [x2]
	str	x1, [sp]
	cbnz	x1, LBB0_3
; %bb.1:
	mov	x1, sp
	mov	x0, x21
	bl	_br_vlan_get_pvid
	bl	_WARN_ON
	mov	x22, #0
	cbnz	x0, LBB0_5
; %bb.2:
	ldr	x1, [sp]
	cbz	x1, LBB0_5
LBB0_3:
	add	x2, sp, #8
	mov	x0, x21
	bl	_br_vlan_get_info
	cbz	x0, LBB0_6
LBB0_4:
	mov	x22, #0
LBB0_5:
	mov	x0, x22
	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
LBB0_6:
	ldr	w8, [sp, #8]
Lloh0:
	adrp	x9, _BRIDGE_VLAN_INFO_BRENTRY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BRIDGE_VLAN_INFO_BRENTRY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.7:
	ldr	x2, [sp]
	mov	x0, x21
	mov	x1, x20
	bl	_br_fdb_find_port
	mov	x22, x0
	cbz	x0, LBB0_5
; %bb.8:
	ldr	x1, [sp]
	add	x2, sp, #8
	mov	x0, x22
	bl	_br_vlan_get_info
	cbnz	x0, LBB0_4
; %bb.9:
Lloh3:
	adrp	x8, _BRIDGE_VLAN_INFO_UNTAGGED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BRIDGE_VLAN_INFO_UNTAGGED@GOTPAGEOFF]
	ldr	w9, [sp, #8]
Lloh5:
	ldr	w8, [x8]
	ldr	x10, [sp]
	tst	w8, w9
	csel	x8, x10, xzr, eq
	str	x8, [x19]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BRIDGE_VLAN_INFO_BRENTRY,4,2   ; @BRIDGE_VLAN_INFO_BRENTRY
	.comm	_BRIDGE_VLAN_INFO_UNTAGGED,4,2  ; @BRIDGE_VLAN_INFO_UNTAGGED
	.no_dead_strip	_mlxsw_sp_span_entry_bridge_8021q
.subsections_via_symbols
