	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ofdpa_port_vlan
_ofdpa_port_vlan:                       ## @ofdpa_port_vlan
	.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
	movl	%edx, %ebx
	movl	%esi, %r12d
	movq	%rdi, %r13
	movq	_ROCKER_OF_DPA_TABLE_ID_TERMINATION_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	8(%rdi), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	%edx, %edi
	callq	_htons
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	$65535, %edi                    ## imm = 0xFFFF
	callq	_htons
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_OFDPA_OP_FLAG_REMOVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	-44(%rbp), %rdx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_ofdpa_port_vid_to_vlan
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ntohs
	movl	(%r13), %esi
	movl	%eax, %edi
	callq	_test_bit
	testl	%r12d, %r14d
	je	LBB0_1
## %bb.6:
	testq	%rax, %rax
	jne	LBB0_2
## %bb.7:
	xorl	%r15d, %r15d
	jmp	LBB0_14
LBB0_1:
	xorl	%r15d, %r15d
	testq	%rax, %rax
	jne	LBB0_14
LBB0_2:
	movl	%ebx, %edi
	callq	_ntohs
	movl	(%r13), %esi
	movl	%eax, %edi
	callq	_change_bit
	testl	%r12d, %r14d
	je	LBB0_3
LBB0_8:
	movl	-44(%rbp), %ecx
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_ofdpa_port_vlan_l2_groups
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	%eax, %r15d
	movl	4(%r13), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_5
LBB0_3:
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_ofdpa_port_ctrl_vlan_add
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	movl	%eax, %r15d
	movl	4(%r13), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_5
LBB0_10:
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_ofdpa_port_vlan_flood_group
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	%eax, %r15d
	movl	4(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_5:
	movl	%r15d, %edx
	callq	_netdev_err
	movl	%ebx, %edi
	callq	_ntohs
	movl	(%r13), %esi
	movl	%eax, %edi
	callq	_change_bit
LBB0_14:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	-44(%rbp), %eax
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rbx
	pushq	%rax
	callq	_ofdpa_flow_tbl_vlan
	addq	$16, %rsp
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movl	4(%r13), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	%eax, %edx
	callq	_netdev_err
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_ROCKER_OF_DPA_TABLE_ID_TERMINATION_MAC,4,2 ## @ROCKER_OF_DPA_TABLE_ID_TERMINATION_MAC
	.comm	_OFDPA_OP_FLAG_REMOVE,4,2       ## @OFDPA_OP_FLAG_REMOVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error (%d) port ctrl vlan add\n"

L_.str.1:                               ## @.str.1
	.asciz	"Error (%d) port VLAN l2 groups\n"

L_.str.2:                               ## @.str.2
	.asciz	"Error (%d) port VLAN l2 flood group\n"

L_.str.3:                               ## @.str.3
	.asciz	"Error (%d) port VLAN table\n"

	.no_dead_strip	_ofdpa_port_vlan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ofdpa_port_vlan
_ofdpa_port_vlan:                       ; @ofdpa_port_vlan
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _ROCKER_OF_DPA_TABLE_ID_TERMINATION_MAC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ROCKER_OF_DPA_TABLE_ID_TERMINATION_MAC@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	ldr	w23, [x0, #8]
	mov	x0, x2
	bl	_htons
	mov	x24, x0
	mov	w0, #65535
	bl	_htons
	mov	x25, x0
Lloh3:
	adrp	x8, _OFDPA_OP_FLAG_REMOVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OFDPA_OP_FLAG_REMOVE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w26, w8, w22
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x20
	bl	_ofdpa_port_vid_to_vlan
	mov	x20, x0
	bl	_ntohs
	ldr	w1, [x19]
	bl	_test_bit
	cbz	w26, LBB0_2
; %bb.1:
	cbnz	x0, LBB0_4
	b	LBB0_3
LBB0_2:
	cbz	x0, LBB0_4
LBB0_3:
	mov	w26, #0
	b	LBB0_12
LBB0_4:
	mov	x0, x20
	bl	_ntohs
	ldr	w1, [x19]
	bl	_change_bit
	cbz	w26, LBB0_7
LBB0_5:
	ldr	w3, [sp, #12]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_ofdpa_port_vlan_l2_groups
	cbz	w0, LBB0_9
; %bb.6:
	mov	x26, x0
	ldr	w0, [x19, #4]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_7:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_ofdpa_port_ctrl_vlan_add
	cbz	w0, LBB0_5
; %bb.8:
	mov	x26, x0
	ldr	w0, [x19, #4]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_11
LBB0_9:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_ofdpa_port_vlan_flood_group
	cbz	w0, LBB0_13
; %bb.10:
	mov	x26, x0
	ldr	w0, [x19, #4]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_11:
	mov	x2, x26
	bl	_netdev_err
	mov	x0, x20
	bl	_ntohs
	ldr	w1, [x19]
	bl	_change_bit
LBB0_12:
	mov	x0, x26
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_13:
	ldr	w6, [sp, #12]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	mov	x4, x25
	mov	x5, x21
	mov	x7, x20
	bl	_ofdpa_flow_tbl_vlan
	cbz	w0, LBB0_3
; %bb.14:
	mov	x2, x0
	ldr	w0, [x19, #4]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_netdev_err
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ROCKER_OF_DPA_TABLE_ID_TERMINATION_MAC,4,2 ; @ROCKER_OF_DPA_TABLE_ID_TERMINATION_MAC
	.comm	_OFDPA_OP_FLAG_REMOVE,4,2       ; @OFDPA_OP_FLAG_REMOVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error (%d) port ctrl vlan add\n"

l_.str.1:                               ; @.str.1
	.asciz	"Error (%d) port VLAN l2 groups\n"

l_.str.2:                               ; @.str.2
	.asciz	"Error (%d) port VLAN l2 flood group\n"

l_.str.3:                               ; @.str.3
	.asciz	"Error (%d) port VLAN table\n"

	.no_dead_strip	_ofdpa_port_vlan
.subsections_via_symbols
