	.file	"extr_e1000_main.c_e1000_tbi_adjust_stats.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	e1000_tbi_adjust_stats, @function
e1000_tbi_adjust_stats:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	lea	ebp, -1[rdx]
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR [rsi]
	sub	DWORD PTR 56[rsi], 1
	add	DWORD PTR 52[rsi], 1
	lea	edx, [rax+rbp]
	mov	DWORD PTR [rsi], edx
	test	eax, eax
	jns	.L2
	test	edx, edx
	jns	.L17
.L2:
	mov	rdi, r12
	call	is_broadcast_ether_addr@PLT
	test	rax, rax
	je	.L3
.L24:
	add	DWORD PTR 44[rbx], 1
.L4:
	cmp	DWORD PTR 0[r13], ebp
	je	.L18
.L5:
	cmp	ebp, 64
	je	.L19
.L6:
	cmp	ebp, 127
	je	.L20
	cmp	ebp, 255
	je	.L21
	cmp	ebp, 511
	je	.L22
	cmp	ebp, 1023
	je	.L23
	cmp	ebp, 1522
	jne	.L1
	add	DWORD PTR 16[rbx], 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	add	DWORD PTR 48[rsi], 1
	mov	rdi, r12
	call	is_broadcast_ether_addr@PLT
	test	rax, rax
	jne	.L24
.L3:
	mov	rdi, r12
	call	is_multicast_ether_addr@PLT
	test	rax, rax
	je	.L4
	add	DWORD PTR 40[rbx], 1
	cmp	DWORD PTR 0[r13], ebp
	jne	.L5
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rax, QWORD PTR 8[rbx]
	test	rax, rax
	jle	.L5
	sub	rax, 1
	mov	QWORD PTR 8[rbx], rax
	cmp	ebp, 64
	jne	.L6
.L19:
	add	DWORD PTR 36[rbx], 1
	sub	DWORD PTR 32[rbx], 1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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
.L20:
	.cfi_restore_state
	add	DWORD PTR 32[rbx], 1
	sub	DWORD PTR 28[rbx], 1
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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
.L22:
	.cfi_restore_state
	add	DWORD PTR 24[rbx], 1
	sub	DWORD PTR 20[rbx], 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	add	DWORD PTR 28[rbx], 1
	sub	DWORD PTR 24[rbx], 1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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
.L23:
	.cfi_restore_state
	add	DWORD PTR 20[rbx], 1
	sub	DWORD PTR 16[rbx], 1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	e1000_tbi_adjust_stats, .-e1000_tbi_adjust_stats
	.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_e1000_main.c_e1000_tbi_adjust_stats.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	e1000_tbi_adjust_stats, %function
e1000_tbi_adjust_stats:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	lr, [r1]
	sub	r5, r2, #1
	add	ip, lr, r5
	mvn	r2, ip
	mov	r4, r1
	mov	r6, r3
	lsr	r2, r2, #31
	ands	r2, r2, lr, lsr #31
	ldr	r1, [r1, #48]
	ldrne	r3, [r4, #40]
	ldr	r2, [r4, #44]
	addne	r3, r3, #1
	sub	r1, r1, #1
	add	r2, r2, #1
	strne	r3, [r4, #40]
	mov	r7, r0
	str	r1, [r4, #48]
	mov	r0, r6
	str	r2, [r4, #44]
	str	ip, [r4]
	bl	is_broadcast_ether_addr
	cmp	r0, #0
	beq	.L3
	ldr	r3, [r4, #36]
	add	r3, r3, #1
	str	r3, [r4, #36]
.L4:
	ldr	r3, [r7]
	cmp	r3, r5
	bne	.L5
	ldr	r3, [r4, #4]
	cmp	r3, #0
	subgt	r3, r3, #1
	strgt	r3, [r4, #4]
.L5:
	cmp	r5, #64
	beq	.L20
	cmp	r5, #127
	beq	.L21
	cmp	r5, #255
	beq	.L22
	ldr	r3, .L25
	cmp	r5, r3
	beq	.L23
	ldr	r3, .L25+4
	cmp	r5, r3
	beq	.L24
	ldr	r3, .L25+8
	cmp	r5, r3
	ldreq	r3, [r4, #8]
	addeq	r3, r3, #1
	streq	r3, [r4, #8]
	pop	{r4, r5, r6, r7, r8, pc}
.L21:
	ldr	r2, [r4, #24]
	ldr	r3, [r4, #20]
	add	r2, r2, #1
	sub	r3, r3, #1
	str	r2, [r4, #24]
	str	r3, [r4, #20]
	pop	{r4, r5, r6, r7, r8, pc}
.L20:
	ldr	r2, [r4, #28]
	ldr	r3, [r4, #24]
	add	r2, r2, #1
	sub	r3, r3, #1
	str	r2, [r4, #28]
	str	r3, [r4, #24]
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	mov	r0, r6
	bl	is_multicast_ether_addr
	cmp	r0, #0
	ldrne	r3, [r4, #32]
	addne	r3, r3, #1
	strne	r3, [r4, #32]
	b	.L4
.L23:
	ldr	r2, [r4, #16]
	ldr	r3, [r4, #12]
	add	r2, r2, #1
	sub	r3, r3, #1
	str	r2, [r4, #16]
	str	r3, [r4, #12]
	pop	{r4, r5, r6, r7, r8, pc}
.L22:
	ldr	r2, [r4, #20]
	ldr	r3, [r4, #16]
	add	r2, r2, #1
	sub	r3, r3, #1
	str	r2, [r4, #20]
	str	r3, [r4, #16]
	pop	{r4, r5, r6, r7, r8, pc}
.L24:
	ldr	r2, [r4, #12]
	ldr	r3, [r4, #8]
	add	r2, r2, #1
	sub	r3, r3, #1
	str	r2, [r4, #12]
	str	r3, [r4, #8]
	pop	{r4, r5, r6, r7, r8, pc}
.L26:
	.align	2
.L25:
	.word	511
	.word	1023
	.word	1522
	.size	e1000_tbi_adjust_stats, .-e1000_tbi_adjust_stats
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
