	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_add_vlans_to_port           ## -- Begin function br_add_vlans_to_port
	.p2align	4, 0x90
_br_add_vlans_to_port:                  ## @br_add_vlans_to_port
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	(%rdi), %esi
	testl	%esi, %esi
	je	LBB0_10
## %bb.1:
	movq	%rdi, %r15
	movq	(%r14), %rdi
	movq	8(%rdi), %r12
	movl	(%rdi), %eax
	movq	_NETIF_F_HW_VLAN_RX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.2:
	movq	8(%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:
	callq	*%rcx
	movq	(%r14), %rax
	movl	(%rax), %eax
LBB0_4:
	movq	_NETIF_F_HW_VLAN_FILTER@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.5:
	cmpq	$0, (%r12)
	je	LBB0_10
## %bb.6:
	movl	$1, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incl	%ebx
	cmpl	$4096, %ebx                     ## imm = 0x1000
	je	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_vlan_group_get_device
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r14), %rdi
	movl	%ebx, %esi
	callq	*(%r12)
	jmp	LBB0_9
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_HW_VLAN_RX,4,2         ## @NETIF_F_HW_VLAN_RX
	.comm	_NETIF_F_HW_VLAN_FILTER,4,2     ## @NETIF_F_HW_VLAN_FILTER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_add_vlans_to_port           ; -- Begin function br_add_vlans_to_port
	.p2align	2
_br_add_vlans_to_port:                  ; @br_add_vlans_to_port
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	ldr	w1, [x0]
	cbz	w1, LBB0_10
; %bb.1:
	mov	x20, x0
	ldr	x0, [x19]
	ldr	x22, [x0, #8]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _NETIF_F_HW_VLAN_RX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NETIF_F_HW_VLAN_RX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
	ldr	x9, [x22, #8]
	cbz	x9, LBB0_4
; %bb.3:
	blr	x9
	ldr	x8, [x19]
	ldr	w8, [x8]
LBB0_4:
Lloh3:
	adrp	x9, _NETIF_F_HW_VLAN_FILTER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NETIF_F_HW_VLAN_FILTER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.5:
	ldr	x8, [x22]
	cbz	x8, LBB0_10
; %bb.6:
	mov	w21, #1
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w21, w21, #1
	cmp	w21, #1, lsl #12                ; =4096
	b.eq	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	mov	x1, x21
	bl	_vlan_group_get_device
	cbz	x0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x22]
	ldr	x0, [x19]
	mov	x1, x21
	blr	x8
	b	LBB0_7
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_HW_VLAN_RX,4,2         ; @NETIF_F_HW_VLAN_RX
	.comm	_NETIF_F_HW_VLAN_FILTER,4,2     ; @NETIF_F_HW_VLAN_FILTER
.subsections_via_symbols
