	.file	"extr_spectrum.c_mlxsw_sp_netdevice_bridge_event.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Unknown upper device type"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"macvlan is only supported on top of router interfaces"
	.text
	.p2align 4
	.type	mlxsw_sp_netdevice_bridge_event, @function
mlxsw_sp_netdevice_bridge_event:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	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	mlxsw_sp_lower_get@PLT
	test	rax, rax
	je	.L19
	lea	rdi, 16[rbx]
	mov	rbp, rax
	call	netdev_notifier_info_to_extack@PLT
	mov	r14, rax
	cmp	r12, 128
	je	.L4
	cmp	r12, 129
	je	.L5
.L19:
	xor	r12d, r12d
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L5:
	.cfi_restore_state
	mov	r12d, DWORD PTR [rbx]
	test	r12d, r12d
	jne	.L19
	mov	r13, QWORD PTR 8[rbx]
	mov	rdi, r13
	call	is_vlan_dev@PLT
	test	eax, eax
	jne	.L21
.L8:
	mov	rdi, r13
	call	netif_is_macvlan@PLT
	test	eax, eax
	je	.L19
	mov	rsi, r13
	mov	rdi, rbp
	call	mlxsw_sp_rif_macvlan_del@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	r12, QWORD PTR 8[rbx]
	mov	rdi, r12
	call	is_vlan_dev@PLT
	test	eax, eax
	je	.L22
.L6:
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	je	.L19
	mov	rdi, r12
	call	netif_is_macvlan@PLT
	test	eax, eax
	je	.L19
	mov	rsi, r13
	mov	rdi, rbp
	call	mlxsw_sp_rif_find_by_dev@PLT
	test	eax, eax
	jne	.L19
	lea	rsi, .LC1[rip]
	mov	rdi, r14
	call	NL_SET_ERR_MSG_MOD@PLT
	mov	r12d, DWORD PTR EOPNOTSUPP[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	mov	rdi, r12
	call	netif_is_macvlan@PLT
	test	eax, eax
	jne	.L6
	lea	rsi, .LC0[rip]
	mov	rdi, r14
	call	NL_SET_ERR_MSG_MOD@PLT
	mov	r12d, DWORD PTR EOPNOTSUPP[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rsi, r13
	mov	rdi, rbp
	call	mlxsw_sp_rif_destroy_by_dev@PLT
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	mlxsw_sp_netdevice_bridge_event, .-mlxsw_sp_netdevice_bridge_event
	.comm	EOPNOTSUPP,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_spectrum.c_mlxsw_sp_netdevice_bridge_event.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unknown upper device type\000"
	.align	2
.LC1:
	.ascii	"macvlan is only supported on top of router interfac"
	.ascii	"es\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlxsw_sp_netdevice_bridge_event, %function
mlxsw_sp_netdevice_bridge_event:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r1
	mov	r4, r2
	mov	r6, r0
	bl	mlxsw_sp_lower_get
	subs	r5, r0, #0
	beq	.L22
	add	r0, r4, #8
	bl	netdev_notifier_info_to_extack
	cmp	r7, #128
	mov	r8, r0
	beq	.L4
	cmp	r7, #129
	beq	.L5
.L22:
	mov	r6, #0
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	ldr	r6, [r4]
	cmp	r6, #0
	bne	.L22
	ldr	r4, [r4, #4]
	mov	r0, r4
	bl	is_vlan_dev
	cmp	r0, #0
	bne	.L24
.L8:
	mov	r0, r4
	bl	netif_is_macvlan
	cmp	r0, #0
	beq	.L22
	mov	r1, r4
	mov	r0, r5
	bl	mlxsw_sp_rif_macvlan_del
	b	.L1
.L4:
	ldr	r7, [r4, #4]
	mov	r0, r7
	bl	is_vlan_dev
	cmp	r0, #0
	beq	.L25
.L6:
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L22
	mov	r0, r7
	bl	netif_is_macvlan
	cmp	r0, #0
	beq	.L22
	mov	r1, r6
	mov	r0, r5
	bl	mlxsw_sp_rif_find_by_dev
	cmp	r0, #0
	bne	.L22
	mov	r0, r8
	ldr	r1, .L26
	bl	NL_SET_ERR_MSG_MOD
	ldr	r3, .L26+4
	ldr	r6, [r3]
	rsb	r6, r6, #0
	b	.L1
.L25:
	mov	r0, r7
	bl	netif_is_macvlan
	cmp	r0, #0
	bne	.L6
	mov	r0, r8
	ldr	r1, .L26+8
	bl	NL_SET_ERR_MSG_MOD
	ldr	r3, .L26+4
	ldr	r6, [r3]
	rsb	r6, r6, #0
	b	.L1
.L24:
	mov	r1, r4
	mov	r0, r5
	bl	mlxsw_sp_rif_destroy_by_dev
	b	.L8
.L27:
	.align	2
.L26:
	.word	.LC1
	.word	EOPNOTSUPP
	.word	.LC0
	.size	mlxsw_sp_netdevice_bridge_event, .-mlxsw_sp_netdevice_bridge_event
	.comm	EOPNOTSUPP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
