	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atl1c_vlan_rx_register
_atl1c_vlan_rx_register:                ## @atl1c_vlan_rx_register
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	16(%rax), %r15
	movl	$0, -28(%rbp)
	movq	%rax, %rdi
	callq	_netif_msg_pktdata
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
LBB0_2:
	movq	%rbx, %rdi
	callq	_atl1c_irq_disable
	movq	%r14, 8(%rbx)
	movq	_REG_MAC_CTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_AT_READ_REG
	movq	_MAC_CTRL_RMV_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	orl	-28(%rbp), %edx
	jmp	LBB0_5
LBB0_4:
	notl	%edx
	andl	-28(%rbp), %edx
LBB0_5:
	movl	%edx, -28(%rbp)
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_AT_WRITE_REG
	movq	%rbx, %rdi
	callq	_atl1c_irq_enable
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"atl1c_vlan_rx_register\n"

	.comm	_REG_MAC_CTRL,4,2               ## @REG_MAC_CTRL
	.comm	_MAC_CTRL_RMV_VLAN,4,2          ## @MAC_CTRL_RMV_VLAN
	.no_dead_strip	_atl1c_vlan_rx_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atl1c_vlan_rx_register
_atl1c_vlan_rx_register:                ; @atl1c_vlan_rx_register
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	bl	_netdev_priv
	mov	x19, x0
	ldr	x21, [x0, #16]
	str	wzr, [sp, #12]
	bl	_netif_msg_pktdata
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_dbg
LBB0_2:
	mov	x0, x19
	bl	_atl1c_irq_disable
	str	x20, [x19, #8]
Lloh2:
	adrp	x21, _REG_MAC_CTRL@GOTPAGE
Lloh3:
	ldr	x21, [x21, _REG_MAC_CTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #12
	mov	x0, x19
	bl	_AT_READ_REG
Lloh4:
	adrp	x8, _MAC_CTRL_RMV_VLAN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MAC_CTRL_RMV_VLAN@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cbz	x20, LBB0_4
; %bb.3:
	ldr	w9, [sp, #12]
	orr	w2, w9, w8
	b	LBB0_5
LBB0_4:
	ldr	w9, [sp, #12]
	bic	w2, w9, w8
LBB0_5:
	str	w2, [sp, #12]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_AT_WRITE_REG
	mov	x0, x19
	bl	_atl1c_irq_enable
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"atl1c_vlan_rx_register\n"

	.comm	_REG_MAC_CTRL,4,2               ; @REG_MAC_CTRL
	.comm	_MAC_CTRL_RMV_VLAN,4,2          ; @MAC_CTRL_RMV_VLAN
	.no_dead_strip	_atl1c_vlan_rx_register
.subsections_via_symbols
