	.file	"extr_be_main.c_be_xmit_workarounds.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	be_xmit_workarounds, @function
be_xmit_workarounds:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	cmp	DWORD PTR [rsi], 32
	mov	rbp, rdi
	jg	.L5
	mov	esi, 36
	mov	rdi, r12
	call	skb_put_padto@PLT
	test	rax, rax
	jne	.L7
.L5:
	mov	rdi, rbp
	call	BEx_chip@PLT
	test	rax, rax
	je	.L18
.L3:
	mov	rsi, r12
	mov	rdx, r13
	mov	rdi, rbp
	call	be_lancer_xmit_workarounds@PLT
	mov	r12, rax
	test	rax, rax
	je	.L7
.L8:
	mov	eax, DWORD PTR BE_MAX_GSO_SIZE[rip]
	xor	edi, edi
	cmp	DWORD PTR [r12], eax
	setg	dil
	call	WARN_ON_ONCE@PLT
	mov	esi, DWORD PTR BE_MAX_GSO_SIZE[rip]
	mov	rdi, r12
	call	pskb_trim@PLT
	mov	edi, eax
	call	WARN_ON@PLT
	mov	rax, r12
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	rdi, rbp
	call	lancer_chip@PLT
	test	rax, rax
	jne	.L3
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L7:
	xor	r12d, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	be_xmit_workarounds, .-be_xmit_workarounds
	.comm	BE_MAX_GSO_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_be_main.c_be_xmit_workarounds.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	be_xmit_workarounds, %function
be_xmit_workarounds:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1]
	push	{r4, r5, r6, lr}
	cmp	r3, #32
	mov	r4, r1
	mov	r5, r0
	mov	r6, r2
	bgt	.L5
	mov	r1, #36
	mov	r0, r4
	bl	skb_put_padto
	cmp	r0, #0
	bne	.L7
.L5:
	mov	r0, r5
	bl	BEx_chip
	cmp	r0, #0
	beq	.L18
.L3:
	mov	r1, r4
	mov	r2, r6
	mov	r0, r5
	bl	be_lancer_xmit_workarounds
	subs	r4, r0, #0
	beq	.L7
.L8:
	ldr	r5, .L19
	ldr	r0, [r4]
	ldr	r3, [r5]
	cmp	r0, r3
	movle	r0, #0
	movgt	r0, #1
	bl	WARN_ON_ONCE
	ldr	r1, [r5]
	mov	r0, r4
	bl	pskb_trim
	bl	WARN_ON
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L18:
	mov	r0, r5
	bl	lancer_chip
	cmp	r0, #0
	bne	.L3
	b	.L8
.L7:
	mov	r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L20:
	.align	2
.L19:
	.word	BE_MAX_GSO_SIZE
	.size	be_xmit_workarounds, .-be_xmit_workarounds
	.comm	BE_MAX_GSO_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
