	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ice_tx_prepare_vlan_flags_dcb  ## -- Begin function ice_tx_prepare_vlan_flags_dcb
	.p2align	4, 0x90
_ice_tx_prepare_vlan_flags_dcb:         ## @ice_tx_prepare_vlan_flags_dcb
	.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, %rbx
	movq	8(%rsi), %r15
	movq	_ICE_FLAG_DCB_ENA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rdi), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_test_bit
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	movl	(%rbx), %edi
	movq	_ICE_TX_FLAGS_HW_VLAN@GOTPCREL(%rip), %rax
	movq	_ICE_TX_FLAGS_SW_VLAN@GOTPCREL(%rip), %rsi
	movl	(%rsi), %ecx
	orl	(%rax), %ecx
	movl	(%r15), %edx
	testl	%edi, %ecx
	jne	LBB0_3
## %bb.2:
	movq	_TC_PRIO_CONTROL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edx
	je	LBB0_8
LBB0_3:
	movq	_ICE_TX_FLAGS_VLAN_PR_M@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %edi
	movl	%edi, (%rbx)
	andl	$7, %edx
	movq	_ICE_TX_FLAGS_VLAN_PR_S@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	orl	%edi, %edx
	movl	%edx, (%rbx)
	testl	%edx, (%rsi)
	je	LBB0_7
## %bb.4:
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_skb_cow_head
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	movq	8(%r15), %r15
	movl	(%rbx), %edi
	movq	_ICE_TX_FLAGS_VLAN_S@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %edi
	callq	_htons
	movl	%eax, (%r15)
	jmp	LBB0_8
LBB0_7:
	orl	(%rax), %edx
	movl	%edx, (%rbx)
	jmp	LBB0_8
LBB0_5:
	movl	%eax, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_FLAG_DCB_ENA,4,2           ## @ICE_FLAG_DCB_ENA
	.comm	_ICE_TX_FLAGS_HW_VLAN,4,2       ## @ICE_TX_FLAGS_HW_VLAN
	.comm	_ICE_TX_FLAGS_SW_VLAN,4,2       ## @ICE_TX_FLAGS_SW_VLAN
	.comm	_TC_PRIO_CONTROL,4,2            ## @TC_PRIO_CONTROL
	.comm	_ICE_TX_FLAGS_VLAN_PR_M,4,2     ## @ICE_TX_FLAGS_VLAN_PR_M
	.comm	_ICE_TX_FLAGS_VLAN_PR_S,4,2     ## @ICE_TX_FLAGS_VLAN_PR_S
	.comm	_ICE_TX_FLAGS_VLAN_S,4,2        ## @ICE_TX_FLAGS_VLAN_S
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ice_tx_prepare_vlan_flags_dcb  ; -- Begin function ice_tx_prepare_vlan_flags_dcb
	.p2align	2
_ice_tx_prepare_vlan_flags_dcb:         ; @ice_tx_prepare_vlan_flags_dcb
	.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
	mov	x19, x1
	ldr	x20, [x1, #8]
Lloh0:
	adrp	x8, _ICE_FLAG_DCB_ENA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICE_FLAG_DCB_ENA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x0]
	ldr	x9, [x9]
	ldr	w1, [x9]
	mov	x0, x8
	bl	_test_bit
	cbz	w0, LBB0_7
; %bb.1:
	ldr	w10, [x19]
Lloh3:
	adrp	x8, _ICE_TX_FLAGS_HW_VLAN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ICE_TX_FLAGS_HW_VLAN@GOTPAGEOFF]
	ldr	w11, [x8]
Lloh5:
	adrp	x9, _ICE_TX_FLAGS_SW_VLAN@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ICE_TX_FLAGS_SW_VLAN@GOTPAGEOFF]
	ldr	w12, [x9]
	orr	w11, w12, w11
	and	w12, w11, w10
	ldr	w11, [x20]
Lloh7:
	adrp	x13, _TC_PRIO_CONTROL@GOTPAGE
Lloh8:
	ldr	x13, [x13, _TC_PRIO_CONTROL@GOTPAGEOFF]
Lloh9:
	ldr	w13, [x13]
	cmp	w12, #0
	ccmp	w11, w13, #0, eq
	b.eq	LBB0_5
; %bb.2:
Lloh10:
	adrp	x12, _ICE_TX_FLAGS_VLAN_PR_M@GOTPAGE
Lloh11:
	ldr	x12, [x12, _ICE_TX_FLAGS_VLAN_PR_M@GOTPAGEOFF]
Lloh12:
	ldr	w12, [x12]
	bic	w10, w10, w12
	str	w10, [x19]
	and	w11, w11, #0x7
Lloh13:
	adrp	x12, _ICE_TX_FLAGS_VLAN_PR_S@GOTPAGE
Lloh14:
	ldr	x12, [x12, _ICE_TX_FLAGS_VLAN_PR_S@GOTPAGEOFF]
Lloh15:
	ldr	w12, [x12]
	lsl	w11, w11, w12
	orr	w10, w11, w10
	str	w10, [x19]
	ldr	w9, [x9]
	tst	w10, w9
	b.eq	LBB0_6
; %bb.3:
	mov	x0, x20
	mov	w1, #0
	bl	_skb_cow_head
	tbnz	w0, #31, LBB0_7
; %bb.4:
	ldr	x20, [x20, #8]
	ldr	w8, [x19]
Lloh16:
	adrp	x9, _ICE_TX_FLAGS_VLAN_S@GOTPAGE
Lloh17:
	ldr	x9, [x9, _ICE_TX_FLAGS_VLAN_S@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	asr	w0, w8, w9
	bl	_htons
	mov	x8, x0
	mov	w0, #0
	str	w8, [x20]
	b	LBB0_7
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	mov	w0, #0
	ldr	w8, [x8]
	orr	w8, w8, w10
	str	w8, [x19]
LBB0_7:
	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	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_FLAG_DCB_ENA,4,2           ; @ICE_FLAG_DCB_ENA
	.comm	_ICE_TX_FLAGS_HW_VLAN,4,2       ; @ICE_TX_FLAGS_HW_VLAN
	.comm	_ICE_TX_FLAGS_SW_VLAN,4,2       ; @ICE_TX_FLAGS_SW_VLAN
	.comm	_TC_PRIO_CONTROL,4,2            ; @TC_PRIO_CONTROL
	.comm	_ICE_TX_FLAGS_VLAN_PR_M,4,2     ; @ICE_TX_FLAGS_VLAN_PR_M
	.comm	_ICE_TX_FLAGS_VLAN_PR_S,4,2     ; @ICE_TX_FLAGS_VLAN_PR_S
	.comm	_ICE_TX_FLAGS_VLAN_S,4,2        ; @ICE_TX_FLAGS_VLAN_S
.subsections_via_symbols
