	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_insert_vlan_in_pkt
_be_insert_vlan_in_pkt:                 ## @be_insert_vlan_in_pkt
	.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
	movq	%rdx, %r14
	movq	%rsi, %rax
	movq	%rdi, %r15
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_skb_share_check
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_13
## %bb.1:
	movq	%rbx, %rdi
	callq	_skb_vlan_tag_present
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_be_get_tx_vlan_tag
	movq	%rax, %r12
	jmp	LBB0_4
LBB0_2:
	xorl	%r12d, %r12d
LBB0_4:
	movq	%r15, %rdi
	callq	_qnq_async_evt_rcvd
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	testq	%r13, %r13
	cmoveq	%rax, %r12
	movl	(%r14), %edi
	movq	_VLAN_SKIP_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_BE_WRB_F_SET
	jmp	LBB0_8
LBB0_7:
	testq	%r13, %r13
	je	LBB0_10
LBB0_8:
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r12, %rdx
	callq	_vlan_insert_tag_set_proto
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_13
## %bb.9:
	movq	%rbx, %rdi
	callq	___vlan_hwaccel_clear_tag
LBB0_10:
	movq	(%r15), %r15
	testq	%r15, %r15
	je	LBB0_13
## %bb.11:
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_vlan_insert_tag_set_proto
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:
	movl	(%r14), %edi
	movq	_VLAN_SKIP_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_BE_WRB_F_SET
LBB0_13:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_VLAN_SKIP_HW,4,2               ## @VLAN_SKIP_HW
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.no_dead_strip	_be_insert_vlan_in_pkt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_insert_vlan_in_pkt
_be_insert_vlan_in_pkt:                 ; @be_insert_vlan_in_pkt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x8, x1
	mov	x21, x0
Lloh0:
	adrp	x9, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x8
	bl	_skb_share_check
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_13
; %bb.1:
	mov	x0, x19
	bl	_skb_vlan_tag_present
	mov	x23, x0
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x21
	mov	x1, x19
	bl	_be_get_tx_vlan_tag
	mov	x22, x0
	b	LBB0_4
LBB0_3:
	mov	x22, #0
LBB0_4:
	mov	x0, x21
	bl	_qnq_async_evt_rcvd
Lloh3:
	adrp	x24, _ETH_P_8021Q@GOTPAGE
Lloh4:
	ldr	x24, [x24, _ETH_P_8021Q@GOTPAGEOFF]
	cbz	x0, LBB0_7
; %bb.5:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_7
; %bb.6:
	cmp	x23, #0
	csel	x22, x8, x22, eq
	ldr	w0, [x20]
Lloh5:
	adrp	x8, _VLAN_SKIP_HW@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VLAN_SKIP_HW@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_BE_WRB_F_SET
	b	LBB0_8
LBB0_7:
	cbz	x23, LBB0_10
LBB0_8:
	ldr	w0, [x24]
	bl	_htons
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_vlan_insert_tag_set_proto
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_13
; %bb.9:
	mov	x0, x19
	bl	___vlan_hwaccel_clear_tag
LBB0_10:
	ldr	x21, [x21]
	cbz	x21, LBB0_13
; %bb.11:
	ldr	w0, [x24]
	bl	_htons
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_vlan_insert_tag_set_proto
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_13
; %bb.12:
	ldr	w0, [x20]
Lloh8:
	adrp	x8, _VLAN_SKIP_HW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VLAN_SKIP_HW@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_BE_WRB_F_SET
LBB0_13:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_VLAN_SKIP_HW,4,2               ; @VLAN_SKIP_HW
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.no_dead_strip	_be_insert_vlan_in_pkt
.subsections_via_symbols
