	.file	"extr_br.c_br_switchdev_event.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	br_switchdev_event, @function
br_switchdev_event:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	rdi, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdx
	call	switchdev_notifier_info_to_dev@PLT
	mov	r13d, DWORD PTR NOTIFY_DONE[rip]
	mov	rdi, rax
	call	br_port_get_rtnl_rcu@PLT
	test	rax, rax
	je	.L1
	mov	r14, QWORD PTR [rax]
	mov	rbp, rax
	cmp	r12, 129
	je	.L3
	cmp	r12, 130
	je	.L4
	cmp	r12, 128
	je	.L16
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
.L3:
	.cfi_restore_state
	mov	ecx, DWORD PTR 4[rbx]
	mov	edx, DWORD PTR 8[rbx]
	xor	r8d, r8d
	mov	rsi, rax
	mov	rdi, r14
	call	br_fdb_external_learn_del@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L1
.L14:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	edi, r13d
	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	notifier_from_errno@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
.L2:
	endbr64
	mov	ecx, DWORD PTR 4[rbx]
	mov	edx, DWORD PTR 8[rbx]
	mov	rdi, r14
	mov	rsi, rax
	mov	r8d, DWORD PTR [rbx]
	call	br_fdb_offloaded_set@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
.L4:
	.cfi_restore_state
	mov	ecx, DWORD PTR 4[rbx]
	mov	edx, DWORD PTR 8[rbx]
	xor	r8d, r8d
	mov	rsi, rax
	mov	rdi, r14
	call	br_fdb_external_learn_add@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L14
	mov	ecx, DWORD PTR 4[rbx]
	mov	edx, DWORD PTR 8[rbx]
	mov	rsi, rbp
	mov	rdi, r14
	mov	r8d, 1
	call	br_fdb_offloaded_set@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
	.cfi_endproc
.LFE0:
	.size	br_switchdev_event, .-br_switchdev_event
	.comm	NOTIFY_DONE,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_br.c_br_switchdev_event.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	br_switchdev_event, %function
br_switchdev_event:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r0, r2
	sub	sp, sp, #8
	mov	r4, r2
	mov	r5, r1
	bl	switchdev_notifier_info_to_dev
	ldr	r3, .L18
	ldr	r6, [r3]
	bl	br_port_get_rtnl_rcu
	subs	r7, r0, #0
	beq	.L1
	cmp	r5, #129
	ldr	r8, [r7]
	beq	.L3
	cmp	r5, #130
	beq	.L4
	cmp	r5, #128
	beq	.L17
.L1:
	mov	r0, r6
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	mov	r3, #0
	str	r3, [sp]
	mov	r1, r7
	mov	r0, r8
	ldr	r3, [r4, #4]
	ldr	r2, [r4, #8]
	bl	br_fdb_external_learn_del
	subs	r6, r0, #0
	beq	.L1
.L15:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	notifier_from_errno
.L17:
	ldr	r3, [r4]
.L14:
.L2:
	str	r3, [sp]
	mov	r1, r7
	mov	r0, r8
	ldr	r3, [r4, #4]
	ldr	r2, [r4, #8]
	bl	br_fdb_offloaded_set
	mov	r0, r6
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	mov	r2, #0
	ldr	r3, [r4, #4]
	str	r2, [sp]
	mov	r1, r7
	mov	r0, r8
	ldr	r2, [r4, #8]
	bl	br_fdb_external_learn_add
	subs	r6, r0, #0
	bne	.L15
	mov	r3, #1
	b	.L14
.L19:
	.align	2
.L18:
	.word	NOTIFY_DONE
	.size	br_switchdev_event, .-br_switchdev_event
	.comm	NOTIFY_DONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
