	.file	"extr_ixgbe_main.c_ixgbe_update_xoff_received.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ixgbe_update_xoff_received, @function
ixgbe_update_xoff_received:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pxor	xmm0, xmm0
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 80
	.cfi_def_cfa_offset 128
	mov	rdx, QWORD PTR 40[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR 48[rdi]
	movaps	XMMWORD PTR [rsp], xmm0
	movaps	XMMWORD PTR 16[rsp], xmm0
	movaps	XMMWORD PTR 32[rsp], xmm0
	movaps	XMMWORD PTR 48[rsp], xmm0
	test	rdx, rdx
	je	.L2
	mov	esi, DWORD PTR [rdx]
	xor	edx, edx
	test	esi, esi
	setne	dl
	or	eax, edx
.L2:
	mov	edx, DWORD PTR 0[rbp]
	test	DWORD PTR IXGBE_FLAG_DCB_ENABLED[rip], edx
	je	.L3
	test	eax, eax
	je	.L3
	mov	ecx, DWORD PTR MAX_TX_PACKET_BUFFERS[rip]
	lea	r13, 64[rbp]
	xor	ebx, ebx
	test	ecx, ecx
	jg	.L9
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edx, DWORD PTR 4[rbp]
	test	edx, edx
	jle	.L10
	xor	ebx, ebx
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	add	rbx, 1
	cmp	DWORD PTR 4[rbp], ebx
	jle	.L10
.L12:
	mov	rax, QWORD PTR 24[rbp]
	mov	rsi, QWORD PTR [rax+rbx*8]
	mov	rax, QWORD PTR [rsi]
	cmp	QWORD PTR [rsp+rax*8], 0
	je	.L11
	mov	edi, DWORD PTR __IXGBE_HANG_CHECK_ARMED[rip]
	add	rsi, 8
	add	rbx, 1
	call	clear_bit@PLT
	cmp	DWORD PTR 4[rbp], ebx
	jg	.L12
.L10:
	mov	eax, DWORD PTR 8[rbp]
	test	eax, eax
	jle	.L1
	xor	ebx, ebx
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L14:
	add	rbx, 1
	cmp	DWORD PTR 8[rbp], ebx
	jle	.L1
.L15:
	mov	rax, QWORD PTR 16[rbp]
	mov	rsi, QWORD PTR [rax+rbx*8]
	mov	rax, QWORD PTR [rsi]
	cmp	QWORD PTR [rsp+rax*8], 0
	je	.L14
	mov	edi, DWORD PTR __IXGBE_HANG_CHECK_ARMED[rip]
	add	rsi, 8
	add	rbx, 1
	call	clear_bit@PLT
	cmp	DWORD PTR 8[rbp], ebx
	jg	.L15
.L1:
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L25
	add	rsp, 80
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	call	IXGBE_PXOFFRXCNT@PLT
	mov	rdi, r13
	mov	esi, eax
	call	IXGBE_READ_REG@PLT
	mov	r12, rax
.L8:
	mov	rax, QWORD PTR 56[rbp]
	mov	esi, r14d
	add	DWORD PTR [rax+rbx*4], r12d
	mov	edi, DWORD PTR 32[rbp]
	add	rbx, 1
	call	netdev_get_prio_tc_map@PLT
	add	QWORD PTR [rsp+rax*8], r12
	cmp	DWORD PTR MAX_TX_PACKET_BUFFERS[rip], ebx
	jle	.L5
.L9:
	cmp	DWORD PTR 64[rbp], 128
	mov	r14d, ebx
	mov	edi, ebx
	jne	.L7
	call	IXGBE_PXOFFRXC@PLT
	mov	rdi, r13
	mov	esi, eax
	call	IXGBE_READ_REG@PLT
	mov	r12, rax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L25
	add	rsp, 80
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	ixgbe_update_xoff_rx_lfc@PLT
.L25:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ixgbe_update_xoff_received, .-ixgbe_update_xoff_received
	.comm	__IXGBE_HANG_CHECK_ARMED,4,4
	.comm	MAX_TX_PACKET_BUFFERS,4,4
	.comm	IXGBE_FLAG_DCB_ENABLED,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_ixgbe_main.c_ixgbe_update_xoff_received.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ixgbe_update_xoff_received, %function
ixgbe_update_xoff_received:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	ldr	r3, .L32
	sub	sp, sp, #40
	mov	r2, #32
	mov	r1, #0
	add	r0, sp, #4
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	memset
	ldr	r2, [r5, #24]
	ldr	r3, [r5, #28]
	cmp	r2, #0
	beq	.L2
	ldr	r2, [r2]
	cmp	r2, #0
	orrne	r3, r3, #1
.L2:
	ldr	r2, .L32+4
	ldr	r1, [r5]
	ldr	r2, [r2]
	tst	r1, r2
	moveq	r4, #1
	movne	r4, #0
	cmp	r3, #0
	moveq	r4, #1
	cmp	r4, #0
	bne	.L3
	ldr	r7, .L32+8
	ldr	r3, [r7]
	cmp	r3, #0
	addgt	r8, r5, #36
	bgt	.L9
.L5:
	ldr	r2, [r5, #4]
	cmp	r2, #0
	ble	.L10
	mov	r4, #0
	ldr	r6, .L32+12
	b	.L12
.L11:
	add	r4, r4, #1
	cmp	r2, r4
	ble	.L10
.L12:
	ldr	r3, [r5, #16]
	add	r0, sp, #40
	ldr	r1, [r3, r4, lsl #2]
	ldr	r3, [r1]
	add	r3, r0, r3, lsl #2
	ldr	r3, [r3, #-36]
	cmp	r3, #0
	beq	.L11
	ldr	r0, [r6]
	add	r1, r1, #4
	bl	clear_bit
	ldr	r2, [r5, #4]
	add	r4, r4, #1
	cmp	r2, r4
	bgt	.L12
.L10:
	ldr	r2, [r5, #8]
	cmp	r2, #0
	ble	.L1
	mov	r4, #0
	ldr	r6, .L32+12
	b	.L15
.L14:
	add	r4, r4, #1
	cmp	r2, r4
	ble	.L1
.L15:
	ldr	r3, [r5, #12]
	add	r0, sp, #40
	ldr	r1, [r3, r4, lsl #2]
	ldr	r3, [r1]
	add	r3, r0, r3, lsl #2
	ldr	r3, [r3, #-36]
	cmp	r3, #0
	beq	.L14
	ldr	r0, [r6]
	add	r1, r1, #4
	bl	clear_bit
	ldr	r2, [r5, #8]
	add	r4, r4, #1
	cmp	r2, r4
	bgt	.L15
.L1:
	ldr	r3, .L32
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L30
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	bl	IXGBE_PXOFFRXCNT
	mov	r1, r0
	mov	r0, r8
	bl	IXGBE_READ_REG
	mov	r6, r0
.L8:
	ldr	r2, [r5, #32]
	mov	r1, r4
	ldr	r3, [r2, r4, lsl #2]
	add	r3, r3, r6
	str	r3, [r2, r4, lsl #2]
	ldr	r0, [r5, #20]
	bl	netdev_get_prio_tc_map
	add	r3, sp, #40
	add	r3, r3, r0, lsl #2
	ldr	r0, [r3, #-36]
	ldr	r2, [r7]
	add	r4, r4, #1
	add	r6, r0, r6
	cmp	r2, r4
	str	r6, [r3, #-36]
	ble	.L5
.L9:
	ldr	r3, [r5, #36]
	mov	r0, r4
	cmp	r3, #128
	bne	.L7
	bl	IXGBE_PXOFFRXC
	mov	r1, r0
	mov	r0, r8
	bl	IXGBE_READ_REG
	mov	r6, r0
	b	.L8
.L3:
	ldr	r3, .L32
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L30
	mov	r0, r5
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	ixgbe_update_xoff_rx_lfc
.L30:
	bl	__stack_chk_fail
.L33:
	.align	2
.L32:
	.word	.LC0
	.word	IXGBE_FLAG_DCB_ENABLED
	.word	MAX_TX_PACKET_BUFFERS
	.word	__IXGBE_HANG_CHECK_ARMED
	.size	ixgbe_update_xoff_received, .-ixgbe_update_xoff_received
	.comm	__IXGBE_HANG_CHECK_ARMED,4,4
	.comm	MAX_TX_PACKET_BUFFERS,4,4
	.comm	IXGBE_FLAG_DCB_ENABLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
