	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ofdpa_port_fwding
_ofdpa_port_fwding:                     ## @ofdpa_port_fwding
	.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, %r13
	movq	(%rdi), %rax
	movq	_BR_STATE_LEARNING@GOTPCREL(%rip), %rcx
	movq	_BR_STATE_FORWARDING@GOTPCREL(%rip), %rdx
	xorl	%r14d, %r14d
	movl	$0, %r15d
	cmpq	(%rdx), %rax
	je	LBB0_2
## %bb.1:
	movq	_OFDPA_OP_FLAG_REMOVE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r15d
LBB0_2:
	cmpq	(%rcx), %rax
	cmovel	%r14d, %r15d
	movq	_VLAN_N_VID@GOTPCREL(%rip), %r12
	cmpl	$2, (%r12)
	jl	LBB0_9
## %bb.3:
	orl	%esi, %r15d
	movl	16(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	$1, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	cmpl	(%r12), %ebx
	jge	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%r13), %esi
	movl	%ebx, %edi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, %edi
	callq	_htons
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_ofdpa_vlan_id_is_internal
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%eax, %r8d
	callq	_ofdpa_group_l2_interface
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %r14d
	movl	8(%r13), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_netdev_err
	jmp	LBB0_9
LBB0_8:
	xorl	%r14d, %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BR_STATE_LEARNING,8,3          ## @BR_STATE_LEARNING
	.comm	_BR_STATE_FORWARDING,8,3        ## @BR_STATE_FORWARDING
	.comm	_OFDPA_OP_FLAG_REMOVE,4,2       ## @OFDPA_OP_FLAG_REMOVE
	.comm	_VLAN_N_VID,4,2                 ## @VLAN_N_VID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error (%d) port VLAN l2 group for pport %d\n"

	.no_dead_strip	_ofdpa_port_fwding
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ofdpa_port_fwding
_ofdpa_port_fwding:                     ; @ofdpa_port_fwding
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	w23, #0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BR_STATE_LEARNING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BR_STATE_LEARNING@GOTPAGEOFF]
Lloh2:
	adrp	x10, _BR_STATE_FORWARDING@GOTPAGE
Lloh3:
	ldr	x10, [x10, _BR_STATE_FORWARDING@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x10
	ccmp	x8, x9, #4, ne
Lloh6:
	adrp	x8, _OFDPA_OP_FLAG_REMOVE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OFDPA_OP_FLAG_REMOVE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	csel	w8, wzr, w8, eq
Lloh9:
	adrp	x24, _VLAN_N_VID@GOTPAGE
Lloh10:
	ldr	x24, [x24, _VLAN_N_VID@GOTPAGEOFF]
	ldr	w9, [x24]
	cmp	w9, #2
	b.lt	LBB0_7
; %bb.1:
	mov	x19, x0
	orr	w21, w8, w1
	ldr	w20, [x0, #16]
	mov	w22, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w22, w22, #1
	ldr	w8, [x24]
	cmp	w22, w8
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19, #12]
	mov	x0, x22
	bl	_test_bit
	cbz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	bl	_htons
	mov	x23, x0
	bl	_ofdpa_vlan_id_is_internal
	mov	x4, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	mov	x3, x20
	bl	_ofdpa_group_l2_interface
	cbz	w0, LBB0_2
; %bb.5:
	mov	x23, x0
	ldr	w0, [x19, #8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x23
	mov	x3, x20
	bl	_netdev_err
	b	LBB0_7
LBB0_6:
	mov	w23, #0
LBB0_7:
	mov	x0, x23
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_BR_STATE_LEARNING,8,3          ; @BR_STATE_LEARNING
	.comm	_BR_STATE_FORWARDING,8,3        ; @BR_STATE_FORWARDING
	.comm	_OFDPA_OP_FLAG_REMOVE,4,2       ; @OFDPA_OP_FLAG_REMOVE
	.comm	_VLAN_N_VID,4,2                 ; @VLAN_N_VID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error (%d) port VLAN l2 group for pport %d\n"

	.no_dead_strip	_ofdpa_port_fwding
.subsections_via_symbols
