	.file	"extr_br_fdb.c_br_fdb_update.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"received packet on %s with own address as source address (addr:%pM, vlan:%u)\n"
	.text
	.p2align 4
	.globl	br_fdb_update
	.type	br_fdb_update, @function
br_fdb_update:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, r8d
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	hold_time@PLT
	test	rax, rax
	je	.L1
	mov	rax, QWORD PTR [r12]
	cmp	rax, QWORD PTR BR_STATE_LEARNING[rip]
	je	.L4
	cmp	rax, QWORD PTR BR_STATE_FORWARDING[rip]
	je	.L4
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	lea	rdi, 4[rbp]
	mov	edx, r14d
	mov	rsi, r13
	call	fdb_find_rcu@PLT
	mov	rdi, rax
	mov	r15, rax
	call	likely@PLT
	test	rax, rax
	je	.L6
	mov	edi, DWORD PTR [r15]
	call	unlikely@PLT
	test	rax, rax
	jne	.L36
	mov	rdx, QWORD PTR jiffies[rip]
	xor	edi, edi
	cmp	QWORD PTR 24[r15], r12
	je	.L8
	mov	eax, DWORD PTR 32[r15]
	xor	edi, edi
	test	eax, eax
	sete	dil
.L8:
	mov	QWORD PTR 8[rsp], rdx
	call	unlikely@PLT
	xor	r8d, r8d
	mov	rdx, QWORD PTR 8[rsp]
	test	rax, rax
	jne	.L37
.L9:
	cmp	QWORD PTR 8[r15], rdx
	je	.L10
	mov	QWORD PTR 8[r15], rdx
.L10:
	mov	edi, ebx
	mov	DWORD PTR 8[rsp], r8d
	call	unlikely@PLT
	mov	r8d, DWORD PTR 8[rsp]
	test	rax, rax
	je	.L11
	mov	DWORD PTR 16[r15], 1
.L11:
	mov	edi, r8d
	call	unlikely@PLT
	test	rax, rax
	je	.L1
	mov	ecx, r14d
	mov	rdx, r13
	mov	rsi, r12
	mov	rdi, rbp
	mov	r8d, ebx
	call	trace_br_fdb_update@PLT
	mov	rsi, r15
	mov	rdi, rbp
	mov	ecx, 1
	mov	edx, DWORD PTR RTM_NEWNEIGH[rip]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	fdb_notify@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, rbp
	call	spin_lock@PLT
	xor	r9d, r9d
	xor	r8d, r8d
	mov	ecx, r14d
	mov	rdx, r13
	mov	rsi, r12
	mov	rdi, rbp
	call	fdb_create@PLT
	mov	r15, rax
	test	rax, rax
	je	.L12
	mov	edi, ebx
	call	unlikely@PLT
	test	rax, rax
	je	.L13
	mov	DWORD PTR 16[r15], 1
.L13:
	mov	ecx, r14d
	mov	rdx, r13
	mov	rsi, r12
	mov	rdi, rbp
	mov	r8d, ebx
	call	trace_br_fdb_update@PLT
	mov	ecx, 1
	mov	rsi, r15
	mov	rdi, rbp
	mov	edx, DWORD PTR RTM_NEWNEIGH[rip]
	call	fdb_notify@PLT
.L12:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	spin_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L36:
	.cfi_restore_state
	xor	eax, eax
	call	net_ratelimit@PLT
	test	rax, rax
	je	.L1
	mov	rax, QWORD PTR 8[r12]
	mov	r8d, r14d
	mov	rcx, r13
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	mov	edx, DWORD PTR [rax]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	br_warn@PLT
	.p2align 4,,10
	.p2align 3
.L37:
	.cfi_restore_state
	mov	QWORD PTR 24[r15], r12
	mov	edi, DWORD PTR 4[r15]
	call	unlikely@PLT
	mov	rdx, QWORD PTR 8[rsp]
	mov	r8d, 1
	test	rax, rax
	je	.L9
	mov	DWORD PTR 4[r15], 0
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	br_fdb_update, .-br_fdb_update
	.comm	jiffies,8,8
	.comm	RTM_NEWNEIGH,4,4
	.comm	BR_STATE_LEARNING,8,8
	.comm	BR_STATE_FORWARDING,8,8
	.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_br_fdb.c_br_fdb_update.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"received packet on %s with own address as source ad"
	.ascii	"dress (addr:%pM, vlan:%u)\012\000"
	.text
	.align	2
	.global	br_fdb_update
	.syntax unified
	.arm
	.fpu softvfp
	.type	br_fdb_update, %function
br_fdb_update:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #12
	mov	r6, r1
	mov	r8, r2
	mov	r7, r3
	mov	r4, r0
	ldr	r9, [sp, #48]
	bl	hold_time
	cmp	r0, #0
	beq	.L1
	ldr	r2, .L37
	ldr	r3, [r6]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L4
	ldr	r2, .L37+4
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L4
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	mov	r2, r7
	mov	r1, r8
	add	r0, r4, #4
	bl	fdb_find_rcu
	mov	r5, r0
	bl	likely
	subs	r10, r0, #0
	beq	.L6
	ldr	r0, [r5]
	bl	unlikely
	cmp	r0, #0
	bne	.L35
	ldr	r2, [r5, #16]
	ldr	r3, .L37+8
	cmp	r2, r6
	ldrne	r0, [r5, #20]
	ldr	fp, [r3]
	clzne	r0, r0
	lsrne	r0, r0, #5
	bl	unlikely
	subs	r10, r0, #0
	bne	.L36
.L9:
	ldr	r3, [r5, #8]
	mov	r0, r9
	cmp	r3, fp
	strne	fp, [r5, #8]
	bl	unlikely
	cmp	r0, #0
	movne	r3, #1
	mov	r0, r10
	strne	r3, [r5, #12]
	bl	unlikely
	cmp	r0, #0
	beq	.L1
	mov	r3, r7
	mov	r2, r8
	mov	r1, r6
	mov	r0, r4
	str	r9, [sp]
	bl	trace_br_fdb_update
	ldr	r3, .L37+12
	mov	r1, r5
	ldr	r2, [r3]
	mov	r0, r4
	mov	r3, #1
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	fdb_notify
.L6:
	mov	r0, r4
	bl	spin_lock
	mov	r3, r7
	mov	r2, r8
	mov	r1, r6
	mov	r0, r4
	str	r10, [sp, #4]
	str	r10, [sp]
	bl	fdb_create
	subs	r5, r0, #0
	beq	.L12
	mov	r0, r9
	bl	unlikely
	cmp	r0, #0
	movne	r3, #1
	mov	r2, r8
	strne	r3, [r5, #12]
	mov	r1, r6
	mov	r3, r7
	mov	r0, r4
	str	r9, [sp]
	bl	trace_br_fdb_update
	ldr	r3, .L37+12
	mov	r1, r5
	ldr	r2, [r3]
	mov	r0, r4
	mov	r3, #1
	bl	fdb_notify
.L12:
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	spin_unlock
.L35:
	bl	net_ratelimit
	cmp	r0, #0
	beq	.L1
	mov	r3, r8
	mov	r0, r4
	ldr	r2, [r6, #4]
	ldr	r1, .L37+16
	ldr	r2, [r2]
	str	r7, [sp, #48]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	br_warn
.L36:
	ldr	r0, [r5, #4]
	str	r6, [r5, #16]
	bl	unlikely
	cmp	r0, #0
	movne	r3, #0
	mov	r10, #1
	strne	r3, [r5, #4]
	b	.L9
.L38:
	.align	2
.L37:
	.word	BR_STATE_LEARNING
	.word	BR_STATE_FORWARDING
	.word	jiffies
	.word	RTM_NEWNEIGH
	.word	.LC0
	.size	br_fdb_update, .-br_fdb_update
	.comm	jiffies,4,4
	.comm	RTM_NEWNEIGH,4,4
	.comm	BR_STATE_LEARNING,4,4
	.comm	BR_STATE_FORWARDING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
