	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_xmit_workarounds
_be_xmit_workarounds:                   ## @be_xmit_workarounds
	.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, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	24(%rsi), %r13
	callq	_BEx_chip
	xorl	%edi, %edi
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	cmpl	$33, (%rbx)
	setl	%dil
LBB0_2:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	movl	$36, %esi
	callq	_skb_padto
	testq	%rax, %rax
	jne	LBB0_27
## %bb.4:
	movl	$36, (%rbx)
LBB0_5:
	movl	16(%rbx), %edi
	callq	_ntohs
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_6
## %bb.7:
	movq	_VLAN_ETH_HLEN@GOTPCREL(%rip), %rax
	cmpl	$60, (%rbx)
	jle	LBB0_9
	jmp	LBB0_13
LBB0_6:
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	cmpl	$60, (%rbx)
	jg	LBB0_13
LBB0_9:
	movl	(%rax), %r12d
	movq	%r15, %rdi
	callq	_lancer_chip
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	callq	_vlan_tx_tag_present
	testq	%rax, %rax
	je	LBB0_13
LBB0_11:
	movq	%rbx, %rdi
	callq	_is_ipv4_pkt
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	callq	_ip_hdr
	movl	%r12d, %r12d
	movl	(%rax), %edi
	callq	_ntohs
	addq	%rax, %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_pskb_trim
LBB0_13:
	movq	_UMC_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_16
## %bb.14:
	movq	(%r13), %r12
	movq	(%r14), %rdi
	callq	_htons
	cmpq	%rax, %r12
	jne	LBB0_16
## %bb.15:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
LBB0_16:
	movq	8(%rbx), %rax
	movq	_CHECKSUM_PARTIAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.17:
	movq	%rbx, %rdi
	callq	_vlan_tx_tag_present
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_be_insert_vlan_in_pkt
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_27
LBB0_19:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_be_ipv6_tx_stall_chk
	xorl	%edi, %edi
	testq	%rax, %rax
	je	LBB0_23
## %bb.20:
	cmpq	$0, 16(%r15)
	jne	LBB0_22
## %bb.21:
	cmpq	$0, 8(%r15)
	je	LBB0_23
LBB0_22:
	movq	%r15, %rdi
	callq	_qnq_async_evt_rcvd
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
LBB0_23:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_24
LBB0_27:
	movq	%rbx, %rdi
	callq	_dev_kfree_skb_any
	xorl	%ebx, %ebx
LBB0_28:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_be_ipv6_tx_stall_chk
	testq	%rax, %rax
	je	LBB0_28
## %bb.25:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_be_vlan_tag_tx_chk
	testq	%rax, %rax
	je	LBB0_28
## %bb.26:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_be_insert_vlan_in_pkt
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_27
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_8021Q,8,3                ## @ETH_P_8021Q
	.comm	_VLAN_ETH_HLEN,4,2              ## @VLAN_ETH_HLEN
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_UMC_ENABLED,4,2                ## @UMC_ENABLED
	.comm	_CHECKSUM_PARTIAL,8,3           ## @CHECKSUM_PARTIAL
	.no_dead_strip	_be_xmit_workarounds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_xmit_workarounds
_be_xmit_workarounds:                   ; @be_xmit_workarounds
	.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	x19, x1
	mov	x21, x0
	ldr	x22, [x1, #24]
	bl	_BEx_chip
	cbz	w0, LBB0_2
; %bb.1:
	mov	w0, #0
	bl	_unlikely
	cbnz	x0, LBB0_3
	b	LBB0_5
LBB0_2:
	ldr	w8, [x19]
	cmp	w8, #33
	cset	w0, lt
	bl	_unlikely
	cbz	x0, LBB0_5
LBB0_3:
	mov	w23, #36
	mov	x0, x19
	mov	w1, #36
	bl	_skb_padto
	cbnz	x0, LBB0_21
; %bb.4:
	str	w23, [x19]
LBB0_5:
	ldr	w0, [x19, #16]
	bl	_ntohs
Lloh0:
	adrp	x23, _ETH_P_8021Q@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ETH_P_8021Q@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh2:
	adrp	x9, _VLAN_ETH_HLEN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _VLAN_ETH_HLEN@GOTPAGEOFF]
Lloh4:
	adrp	x10, _ETH_HLEN@GOTPAGE
Lloh5:
	ldr	x10, [x10, _ETH_HLEN@GOTPAGEOFF]
	cmp	x0, x8
	csel	x8, x9, x10, eq
	ldr	w9, [x19]
	cmp	w9, #60
	b.gt	LBB0_10
; %bb.6:
	ldr	w24, [x8]
	mov	x0, x21
	bl	_lancer_chip
	cbnz	x0, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_vlan_tx_tag_present
	cbz	x0, LBB0_10
LBB0_8:
	mov	x0, x19
	bl	_is_ipv4_pkt
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_ip_hdr
	ldr	w0, [x0]
	bl	_ntohs
	add	x1, x0, w24, uxtw
	mov	x0, x19
	bl	_pskb_trim
LBB0_10:
	ldr	w8, [x21]
Lloh6:
	adrp	x9, _UMC_ENABLED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _UMC_ENABLED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.11:
	ldr	x22, [x22]
	ldr	x0, [x23]
	bl	_htons
	cmp	x22, x0
	b.ne	LBB0_13
; %bb.12:
	mov	w8, #1
	str	w8, [x20]
LBB0_13:
	ldr	x8, [x19, #8]
Lloh9:
	adrp	x9, _CHECKSUM_PARTIAL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CHECKSUM_PARTIAL@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.14:
	mov	x0, x19
	bl	_vlan_tx_tag_present
	cbz	x0, LBB0_16
; %bb.15:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_be_insert_vlan_in_pkt
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_21
LBB0_16:
	mov	x0, x21
	mov	x1, x19
	bl	_be_ipv6_tx_stall_chk
	cbz	x0, LBB0_20
; %bb.17:
	ldr	x8, [x21, #16]
	cbnz	x8, LBB0_19
; %bb.18:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_23
LBB0_19:
	mov	x0, x21
	bl	_qnq_async_evt_rcvd
	cmp	w0, #0
	cset	w0, eq
LBB0_20:
	bl	_unlikely
	cbz	x0, LBB0_24
LBB0_21:
	mov	x0, x19
	bl	_dev_kfree_skb_any
	mov	x19, #0
LBB0_22:
	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
LBB0_23:
	mov	w0, #0
	bl	_unlikely
	cbnz	x0, LBB0_21
LBB0_24:
	mov	x0, x21
	mov	x1, x19
	bl	_be_ipv6_tx_stall_chk
	cbz	x0, LBB0_22
; %bb.25:
	mov	x0, x21
	mov	x1, x19
	bl	_be_vlan_tag_tx_chk
	cbz	x0, LBB0_22
; %bb.26:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_be_insert_vlan_in_pkt
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_21
	b	LBB0_22
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_8021Q,8,3                ; @ETH_P_8021Q
	.comm	_VLAN_ETH_HLEN,4,2              ; @VLAN_ETH_HLEN
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_UMC_ENABLED,4,2                ; @UMC_ENABLED
	.comm	_CHECKSUM_PARTIAL,8,3           ; @CHECKSUM_PARTIAL
	.no_dead_strip	_be_xmit_workarounds
.subsections_via_symbols
