	.file	"extr_anycast.c___ipv6_dev_ac_dec.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	__ipv6_dev_ac_dec
	.type	__ipv6_dev_ac_dec, @function
__ipv6_dev_ac_dec:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	eax, eax
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	lea	r14, 4[r13]
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	ASSERT_RTNL@PLT
	mov	rdi, r14
	call	write_lock_bh@PLT
	mov	rbp, QWORD PTR 8[r13]
	test	rbp, rbp
	je	.L2
	xor	r12d, r12d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rax, QWORD PTR 16[rbp]
	mov	r12, rbp
	test	rax, rax
	je	.L2
	mov	rbp, rax
.L4:
	lea	r15, 12[rbp]
	mov	rsi, rbx
	mov	rdi, r15
	call	ipv6_addr_equal@PLT
	test	rax, rax
	je	.L17
	mov	rax, QWORD PTR 0[rbp]
	sub	rax, 1
	mov	QWORD PTR 0[rbp], rax
	test	rax, rax
	jg	.L18
	mov	rax, QWORD PTR 16[rbp]
	test	r12, r12
	je	.L6
	mov	QWORD PTR 16[r12], rax
.L7:
	mov	rdi, r14
	call	write_unlock_bh@PLT
	mov	rdi, rbp
	call	ipv6_del_acaddr_hash@PLT
	mov	rsi, r15
	mov	rdi, r13
	call	addrconf_leave_solict@PLT
	mov	edi, DWORD PTR 0[r13]
	mov	r12d, DWORD PTR 8[rbp]
	call	dev_net@PLT
	mov	esi, r12d
	mov	edi, eax
	call	ip6_del_rt@PLT
	mov	rdi, rbp
	call	aca_put@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
.L2:
	.cfi_restore_state
	mov	rdi, r14
	call	write_unlock_bh@PLT
	mov	eax, DWORD PTR ENOENT[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	neg	eax
	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
.L18:
	.cfi_restore_state
	mov	rdi, r14
	call	write_unlock_bh@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
.L6:
	.cfi_restore_state
	mov	QWORD PTR 8[r13], rax
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	__ipv6_dev_ac_dec, .-__ipv6_dev_ac_dec
	.comm	ENOENT,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_anycast.c___ipv6_dev_ac_dec.c"
	.text
	.align	2
	.global	__ipv6_dev_ac_dec
	.syntax unified
	.arm
	.fpu softvfp
	.type	__ipv6_dev_ac_dec, %function
__ipv6_dev_ac_dec:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r7, r0
	add	r8, r0, #4
	mov	r6, r1
	bl	ASSERT_RTNL
	mov	r0, r8
	bl	write_lock_bh
	ldr	r4, [r7, #8]
	cmp	r4, #0
	beq	.L2
	mov	r9, #0
	b	.L4
.L17:
	ldr	r3, [r4, #12]
	mov	r9, r4
	cmp	r3, #0
	beq	.L2
	mov	r4, r3
.L4:
	add	r5, r4, #8
	mov	r0, r5
	mov	r1, r6
	bl	ipv6_addr_equal
	cmp	r0, #0
	beq	.L17
	ldr	r3, [r4]
	sub	r3, r3, #1
	cmp	r3, #0
	str	r3, [r4]
	bgt	.L18
	ldr	r3, [r4, #12]
	cmp	r9, #0
	strne	r3, [r9, #12]
	streq	r3, [r7, #8]
	mov	r0, r8
	bl	write_unlock_bh
	mov	r0, r4
	bl	ipv6_del_acaddr_hash
	mov	r1, r5
	mov	r0, r7
	bl	addrconf_leave_solict
	ldr	r0, [r7]
	bl	dev_net
	ldr	r1, [r4, #4]
	bl	ip6_del_rt
	mov	r0, r4
	bl	aca_put
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	mov	r0, r8
	bl	write_unlock_bh
	ldr	r3, .L19
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L18:
	mov	r0, r8
	bl	write_unlock_bh
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L20:
	.align	2
.L19:
	.word	ENOENT
	.size	__ipv6_dev_ac_dec, .-__ipv6_dev_ac_dec
	.comm	ENOENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
