	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	cmpl	$32, (%rsi)
	jg	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	movl	$36, %esi
	callq	_skb_put_padto
	testq	%rax, %rax
	jne	LBB0_7
LBB0_3:
	movq	%r15, %rdi
	callq	_BEx_chip
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_lancer_chip
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_be_lancer_xmit_workarounds
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	movl	(%rbx), %eax
	movq	_BE_MAX_GSO_SIZE@GOTPCREL(%rip), %r14
	xorl	%edi, %edi
	cmpl	(%r14), %eax
	setg	%dil
	callq	_WARN_ON_ONCE
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_pskb_trim
	movl	%eax, %edi
	callq	_WARN_ON
	jmp	LBB0_8
LBB0_7:
	xorl	%ebx, %ebx
LBB0_8:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BE_MAX_GSO_SIZE,4,2            ## @BE_MAX_GSO_SIZE
	.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	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x2
	mov	x19, x1
	mov	x21, x0
	ldr	w8, [x1]
	cmp	w8, #32
	b.gt	LBB0_3
; %bb.1:
	mov	x0, x19
	mov	w1, #36
	bl	_skb_put_padto
	cbz	x0, LBB0_3
; %bb.2:
	mov	x19, #0
	b	LBB0_7
LBB0_3:
	mov	x0, x21
	bl	_BEx_chip
	cbnz	x0, LBB0_5
; %bb.4:
	mov	x0, x21
	bl	_lancer_chip
	cbz	x0, LBB0_6
LBB0_5:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_be_lancer_xmit_workarounds
	mov	x19, x0
	cbz	x0, LBB0_7
LBB0_6:
	ldr	w8, [x19]
Lloh0:
	adrp	x20, _BE_MAX_GSO_SIZE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _BE_MAX_GSO_SIZE@GOTPAGEOFF]
	ldr	w9, [x20]
	cmp	w8, w9
	cset	w0, gt
	bl	_WARN_ON_ONCE
	ldr	w1, [x20]
	mov	x0, x19
	bl	_pskb_trim
	bl	_WARN_ON
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BE_MAX_GSO_SIZE,4,2            ; @BE_MAX_GSO_SIZE
	.no_dead_strip	_be_xmit_workarounds
.subsections_via_symbols
