	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fe_vlan_rx_add_vid
_fe_vlan_rx_add_vid:                    ## @fe_vlan_rx_add_vid
	.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
	movl	%edx, %r15d
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_fe_reg_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_FE_REG_FE_DMA_VID_BASE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_9
## %bb.1:
	movq	_NETIF_F_HW_VLAN_CTAG_TX@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	testl	%eax, (%rbx)
	je	LBB0_9
## %bb.2:
	movl	%r15d, %r12d
	andl	$15, %r12d
	movl	%r12d, %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_netdev_warn
	movl	(%r13), %eax
	notl	%eax
	andl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_netdev_update_features
	jmp	LBB0_9
LBB0_4:
	movq	_fe_reg_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_FE_REG_FE_DMA_VID_BASE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leal	(%r12,%r12), %ebx
	andl	$-4, %ebx
	movq	(%rax,%rcx,8), %rdi
	addq	%rbx, %rdi
	callq	_fe_r32
	testb	$1, %r15b
	jne	LBB0_6
## %bb.5:
	andl	$-65536, %eax                   ## imm = 0xFFFF0000
	jmp	LBB0_7
LBB0_6:
	movzwl	%ax, %eax
	shll	$16, %r15d
LBB0_7:
	orl	%eax, %r15d
	movq	_fe_reg_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_FE_REG_FE_DMA_VID_BASE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	(%rax,%rcx,8), %rbx
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_fe_w32
	movl	%r12d, %edi
	movq	%r14, %rsi
	callq	_set_bit
LBB0_9:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fe_reg_table,8,3               ## @fe_reg_table
	.comm	_FE_REG_FE_DMA_VID_BASE,8,3     ## @FE_REG_FE_DMA_VID_BASE
	.comm	_NETIF_F_HW_VLAN_CTAG_TX,4,2    ## @NETIF_F_HW_VLAN_CTAG_TX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"disable tx vlan offload\n"

	.no_dead_strip	_fe_vlan_rx_add_vid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fe_vlan_rx_add_vid
_fe_vlan_rx_add_vid:                    ; @fe_vlan_rx_add_vid
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x0
	bl	_netdev_priv
Lloh0:
	adrp	x23, _fe_reg_table@GOTPAGE
Lloh1:
	ldr	x23, [x23, _fe_reg_table@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh2:
	adrp	x24, _FE_REG_FE_DMA_VID_BASE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _FE_REG_FE_DMA_VID_BASE@GOTPAGEOFF]
	ldr	x9, [x24]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	w8, [x21]
Lloh4:
	adrp	x25, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGE
Lloh5:
	ldr	x25, [x25, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGEOFF]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.2:
	mov	x19, x0
	and	w22, w20, #0xf
	mov	x0, x22
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_netdev_warn
	ldr	w8, [x25]
	ldr	w9, [x21, #4]
	bic	w8, w9, w8
	str	w8, [x21, #4]
	mov	x0, x21
	bl	_netdev_update_features
	b	LBB0_5
LBB0_4:
	ldr	x8, [x23]
	ldr	x9, [x24]
	ldr	x8, [x8, x9, lsl #3]
	lsl	w9, w22, #1
	and	w21, w9, #0x1c
	add	x0, x8, x21
	bl	_fe_r32
	and	w8, w0, #0xffff0000
	orr	w8, w8, w20
	bfi	w0, w20, #16, #16
	tst	w20, #0x1
	csel	w0, w8, w0, eq
	ldr	x8, [x23]
	ldr	x9, [x24]
	ldr	x8, [x8, x9, lsl #3]
	add	x1, x8, x21
	bl	_fe_w32
	mov	x0, x22
	mov	x1, x19
	bl	_set_bit
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_fe_reg_table,8,3               ; @fe_reg_table
	.comm	_FE_REG_FE_DMA_VID_BASE,8,3     ; @FE_REG_FE_DMA_VID_BASE
	.comm	_NETIF_F_HW_VLAN_CTAG_TX,4,2    ; @NETIF_F_HW_VLAN_CTAG_TX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"disable tx vlan offload\n"

	.no_dead_strip	_fe_vlan_rx_add_vid
.subsections_via_symbols
