	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lan78xx_rx_vlan_offload
_lan78xx_rx_vlan_offload:               ## @lan78xx_rx_vlan_offload
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%ecx, %r14d
	movq	(%rdi), %rax
	movq	_NETIF_F_HW_VLAN_CTAG_RX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_RX_CMD_A_FVTG_@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_2
## %bb.3:
	movq	%rsi, %rbx
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movzwl	%r14w, %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	___vlan_hwaccel_put_tag         ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ## @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_RX_CMD_A_FVTG_,4,2             ## @RX_CMD_A_FVTG_
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.no_dead_strip	_lan78xx_rx_vlan_offload
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lan78xx_rx_vlan_offload
_lan78xx_rx_vlan_offload:               ; @lan78xx_rx_vlan_offload
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _RX_CMD_A_FVTG_@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RX_CMD_A_FVTG_@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_3
; %bb.2:
	mov	x19, x3
	mov	x20, x1
Lloh6:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_htons
	mov	x1, x0
	and	w2, w19, #0xffff
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___vlan_hwaccel_put_tag
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ; @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_RX_CMD_A_FVTG_,4,2             ; @RX_CMD_A_FVTG_
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.no_dead_strip	_lan78xx_rx_vlan_offload
.subsections_via_symbols
