	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ofdpa_port_vlan_l2_groups
_ofdpa_port_vlan_l2_groups:             ## @ofdpa_port_vlan_l2_groups
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	24(%rdi), %r14
	movq	(%r14), %rcx
	movl	(%rcx), %r15d
	movq	_OFDPA_OP_FLAG_REMOVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	testl	%esi, %ecx
	sete	-41(%rbp)                       ## 1-byte Folded Spill
	movq	_BR_STATE_LEARNING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_BR_STATE_FORWARDING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_2:
	movq	16(%rbx), %r12
	movq	%rbx, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movq	%r12, %rcx
	movl	-56(%rbp), %r8d                 ## 4-byte Reload
	callq	_ofdpa_group_l2_interface
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r13d
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_netdev_err
	jmp	LBB0_13
LBB0_4:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	$0, %ebx
	testl	%r15d, %r15d
	je	LBB0_9
## %bb.5:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	incl	%r12d
	cmpl	%r12d, %r15d
	je	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_ofdpa_port_get
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %r13
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_ntohs
	movl	12(%r13), %esi
	movl	%eax, %edi
	callq	_test_bit
	cmpq	$1, %rax
	sbbl	$-1, %ebx
	jmp	LBB0_8
LBB0_9:
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	andl	-48(%rbp), %edx                 ## 4-byte Folded Reload
	movl	%ebx, %ecx
	xorl	$1, %ecx
	testl	%ebx, %ebx
	setne	%al
	orl	%edx, %ecx
	movl	$0, %r13d
	je	LBB0_11
## %bb.10:
	orb	%al, -41(%rbp)                  ## 1-byte Folded Spill
	jne	LBB0_13
LBB0_11:
	xorl	%r13d, %r13d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	xorl	%ecx, %ecx
	movl	-56(%rbp), %r8d                 ## 4-byte Reload
	callq	_ofdpa_group_l2_interface
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	%eax, %r14d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_netdev_err
	movl	%r14d, %r13d
LBB0_13:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OFDPA_OP_FLAG_REMOVE,4,2       ## @OFDPA_OP_FLAG_REMOVE
	.comm	_BR_STATE_LEARNING,8,3          ## @BR_STATE_LEARNING
	.comm	_BR_STATE_FORWARDING,8,3        ## @BR_STATE_FORWARDING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error (%d) port VLAN l2 group for pport %d\n"

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

	.no_dead_strip	_ofdpa_port_vlan_l2_groups
.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_l2_groups
_ofdpa_port_vlan_l2_groups:             ; @ofdpa_port_vlan_l2_groups
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x23, [x0, #24]
	ldr	x8, [x23]
	ldr	w28, [x8]
Lloh0:
	adrp	x8, _OFDPA_OP_FLAG_REMOVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OFDPA_OP_FLAG_REMOVE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ands	w27, w8, w1
	cset	w26, eq
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _BR_STATE_LEARNING@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BR_STATE_LEARNING@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _BR_STATE_FORWARDING@GOTPAGE
Lloh7:
	ldr	x10, [x10, _BR_STATE_FORWARDING@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_3
; %bb.1:
	ldr	x25, [x19, #16]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x25
	mov	x4, x20
	bl	_ofdpa_group_l2_interface
	cbz	w0, LBB0_3
; %bb.2:
	mov	x24, x0
	ldr	w0, [x19, #8]
	str	x25, [sp]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_14
LBB0_3:
	str	w26, [sp, #12]                  ; 4-byte Folded Spill
	cbz	w28, LBB0_8
; %bb.4:
	mov	w24, #0
	mov	w26, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w24, w24, #1
	cmp	w28, w24
	b.eq	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x24
	bl	_ofdpa_port_get
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x0
	mov	x0, x21
	bl	_ntohs
	ldr	w1, [x25, #12]
	bl	_test_bit
	cmp	x0, #0
	cinc	w26, w26, ne
	b	LBB0_5
LBB0_8:
	mov	w26, #0
LBB0_9:
	cmp	w26, #0
	cset	w8, ne
	cmp	w26, #1
	ccmp	w27, #0, #0, eq
	b.eq	LBB0_12
; %bb.10:
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	orr	w8, w9, w8
	tbz	w8, #0, LBB0_12
; %bb.11:
	mov	w24, #0
	b	LBB0_15
LBB0_12:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, #0
	mov	x4, x20
	bl	_ofdpa_group_l2_interface
	mov	x24, x0
	cbz	w0, LBB0_15
; %bb.13:
	ldr	w0, [x19, #8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_14:
	mov	x2, x24
	bl	_netdev_err
LBB0_15:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_OFDPA_OP_FLAG_REMOVE,4,2       ; @OFDPA_OP_FLAG_REMOVE
	.comm	_BR_STATE_LEARNING,8,3          ; @BR_STATE_LEARNING
	.comm	_BR_STATE_FORWARDING,8,3        ; @BR_STATE_FORWARDING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error (%d) port VLAN l2 group for pport %d\n"

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

	.no_dead_strip	_ofdpa_port_vlan_l2_groups
.subsections_via_symbols
