	.file	"extr_br_if.c_nbp_backup_change.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	nbp_backup_change
	.type	nbp_backup_change, @function
nbp_backup_change:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	edi, DWORD PTR 8[rdi]
	call	rtnl_dereference@PLT
	mov	r12, rax
	xor	eax, eax
	call	ASSERT_RTNL@PLT
	test	rbp, rbp
	je	.L2
	mov	rdi, rbp
	call	netif_is_bridge_port@PLT
	test	eax, eax
	jne	.L3
	mov	eax, DWORD PTR ENOENT[rip]
	neg	eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rdi, rbp
	call	br_port_get_rtnl@PLT
	mov	rbp, rax
	mov	rax, QWORD PTR [rbx]
	cmp	QWORD PTR 0[rbp], rax
	je	.L5
.L6:
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	cmp	rbx, rbp
	je	.L6
	.p2align 4,,10
	.p2align 3
.L2:
	cmp	r12, rbp
	je	.L9
	test	r12, r12
	je	.L7
	sub	DWORD PTR 12[r12], 1
.L7:
	test	rbp, rbp
	je	.L8
	add	DWORD PTR 12[rbp], 1
.L8:
	mov	edi, DWORD PTR 8[rbx]
	mov	rsi, rbp
	call	rcu_assign_pointer@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	xor	eax, eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	nbp_backup_change, .-nbp_backup_change
	.comm	ENOENT,4,4
	.comm	EINVAL,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_if.c_nbp_backup_change.c"
	.text
	.align	2
	.global	nbp_backup_change
	.syntax unified
	.arm
	.fpu softvfp
	.type	nbp_backup_change, %function
nbp_backup_change:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	ldr	r0, [r0, #4]
	mov	r4, r1
	bl	rtnl_dereference
	mov	r6, r0
	bl	ASSERT_RTNL
	cmp	r4, #0
	beq	.L2
	mov	r0, r4
	bl	netif_is_bridge_port
	cmp	r0, #0
	bne	.L3
	ldr	r3, .L21
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L3:
	mov	r0, r4
	bl	br_port_get_rtnl
	ldr	r3, [r5]
	ldr	r2, [r0]
	mov	r4, r0
	cmp	r2, r3
	beq	.L5
.L6:
	ldr	r3, .L21+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L5:
	cmp	r5, r0
	beq	.L6
.L2:
	cmp	r6, r4
	beq	.L9
	cmp	r6, #0
	ldrne	r3, [r6, #8]
	mov	r1, r4
	subne	r3, r3, #1
	strne	r3, [r6, #8]
	cmp	r4, #0
	ldrne	r3, [r4, #8]
	ldr	r0, [r5, #4]
	addne	r3, r3, #1
	strne	r3, [r4, #8]
	bl	rcu_assign_pointer
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L9:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L22:
	.align	2
.L21:
	.word	ENOENT
	.word	EINVAL
	.size	nbp_backup_change, .-nbp_backup_change
	.comm	ENOENT,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
