	.file	"extr_ip6mr.c_ip6mr_mfc_delete.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ip6mr_mfc_delete, @function
ip6mr_mfc_delete:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	mov	rdi, r13
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	lea	rbx, 4[rsi]
	mov	rsi, rbx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	MFC6_HASH@PLT
	mov	rdx, QWORD PTR 0[rbp]
	cdqe
	lea	r12, [rdx+rax*8]
	mov	rbp, QWORD PTR [r12]
	test	rbp, rbp
	jne	.L5
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	r12, rbp
	mov	rbp, QWORD PTR 0[rbp]
	test	rbp, rbp
	je	.L2
.L5:
	lea	rdi, 12[rbp]
	mov	rsi, rbx
	call	ipv6_addr_equal@PLT
	test	rax, rax
	je	.L3
	lea	rdi, 8[rbp]
	mov	rsi, r13
	call	ipv6_addr_equal@PLT
	test	rax, rax
	je	.L3
	lea	rdi, mrt_lock[rip]
	call	write_lock_bh@PLT
	mov	rax, QWORD PTR 0[rbp]
	lea	rdi, mrt_lock[rip]
	mov	QWORD PTR [r12], rax
	call	write_unlock_bh@PLT
	mov	rdi, rbp
	call	ip6mr_cache_free@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR ENOENT[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ip6mr_mfc_delete, .-ip6mr_mfc_delete
	.comm	mrt_lock,4,4
	.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_ip6mr.c_ip6mr_mfc_delete.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ip6mr_mfc_delete, %function
ip6mr_mfc_delete:
	@ 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, r0
	add	r6, r1, #4
	mov	r1, r6
	mov	r0, r7
	bl	MFC6_HASH
	ldr	r5, [r4]
	ldr	r4, [r5, r0, lsl #2]
	add	r5, r5, r0, lsl #2
	cmp	r4, #0
	bne	.L5
	b	.L2
.L3:
	mov	r5, r4
	ldr	r4, [r4]
	cmp	r4, #0
	beq	.L2
.L5:
	mov	r1, r6
	add	r0, r4, #8
	bl	ipv6_addr_equal
	cmp	r0, #0
	beq	.L3
	mov	r1, r7
	add	r0, r4, #4
	bl	ipv6_addr_equal
	cmp	r0, #0
	beq	.L3
	ldr	r0, .L18
	bl	write_lock_bh
	ldr	r3, [r4]
	ldr	r0, .L18
	str	r3, [r5]
	bl	write_unlock_bh
	mov	r0, r4
	bl	ip6mr_cache_free
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L18+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L19:
	.align	2
.L18:
	.word	mrt_lock
	.word	ENOENT
	.size	ip6mr_mfc_delete, .-ip6mr_mfc_delete
	.comm	mrt_lock,4,4
	.comm	ENOENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
