	.file	"extr_ip6_mroute.c_del_m6if_locked.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"mif %d, nummifs %d"
	.text
	.p2align 4
	.type	del_m6if_locked, @function
del_m6if_locked:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	mov	r12, QWORD PTR mif6table[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	movsx	rbp, DWORD PTR [rdi]
	call	MIF6_LOCK_ASSERT@PLT
	mov	eax, DWORD PTR nummifs[rip]
	cmp	DWORD PTR [rbx], eax
	jge	.L4
	sal	rbp, 4
	add	rbp, r12
	mov	rdi, QWORD PTR 8[rbp]
	test	rdi, rdi
	je	.L4
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR MIFF_REGISTER[rip], eax
	je	.L18
	cmp	DWORD PTR reg_mif_num[rip], -1
	je	.L6
	mov	rdi, QWORD PTR multicast_register_if6[rip]
	test	rdi, rdi
	je	.L6
	call	if_detach@PLT
	mov	rdi, QWORD PTR multicast_register_if6[rip]
	call	if_free@PLT
	mov	DWORD PTR reg_mif_num[rip], -1
	mov	QWORD PTR multicast_register_if6[rip], 0
.L6:
	mov	esi, 16
	mov	edi, ebp
	call	bzero@PLT
	mov	ecx, DWORD PTR nummifs[rip]
	test	ecx, ecx
	jle	.L7
	movsx	rax, ecx
	sal	rax, 4
	add	rax, QWORD PTR mif6table[rip]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L19:
	sub	rax, 16
	sub	ecx, 1
	je	.L7
.L8:
	cmp	QWORD PTR -8[rax], 0
	je	.L19
.L7:
	mov	DWORD PTR nummifs[rip], ecx
	mov	edx, DWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	mov	edi, DWORD PTR DEBUG_ANY[rip]
	call	MRT6_DLOG@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
.L4:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	xor	esi, esi
	call	if_allmulti@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	del_m6if_locked, .-del_m6if_locked
	.comm	reg_mif_num,4,4
	.comm	nummifs,4,4
	.comm	multicast_register_if6,8,8
	.comm	mif6table,8,8
	.comm	MIFF_REGISTER,4,4
	.comm	EINVAL,4,4
	.comm	DEBUG_ANY,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_ip6_mroute.c_del_m6if_locked.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"mif %d, nummifs %d\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	del_m6if_locked, %function
del_m6if_locked:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	ldr	r6, .L23
	ldr	r5, .L23+4
	ldr	r8, [r0]
	ldr	r7, [r6]
	bl	MIF6_LOCK_ASSERT
	ldr	r2, [r4]
	ldr	r3, [r5]
	cmp	r2, r3
	bge	.L4
	add	r9, r7, r8, lsl #3
	ldr	r0, [r9, #4]
	cmp	r0, #0
	beq	.L4
	ldr	r3, .L23+8
	ldr	r1, [r7, r8, lsl #3]
	ldr	r3, [r3]
	ands	r1, r1, r3
	beq	.L21
	ldr	r7, .L23+12
	ldr	r3, [r7]
	cmn	r3, #1
	beq	.L6
	ldr	r8, .L23+16
	ldr	r0, [r8]
	cmp	r0, #0
	beq	.L6
	bl	if_detach
	ldr	r0, [r8]
	bl	if_free
	mvn	r2, #0
	mov	r3, #0
	str	r2, [r7]
	str	r3, [r8]
.L6:
	mov	r0, r9
	mov	r1, #8
	bl	bzero
	ldr	r3, [r5]
	cmp	r3, #0
	ble	.L7
	ldr	r1, [r6]
	sub	r1, r1, #4
	b	.L8
.L22:
	subs	r3, r3, #1
	beq	.L7
.L8:
	ldr	r2, [r1, r3, lsl #3]
	cmp	r2, #0
	beq	.L22
.L7:
	ldr	r1, .L23+20
	str	r3, [r5]
	ldr	r2, [r4]
	ldr	r0, [r1]
	ldr	r1, .L23+24
	bl	MRT6_DLOG
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L4:
	ldr	r3, .L23+28
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L21:
	bl	if_allmulti
	b	.L6
.L24:
	.align	2
.L23:
	.word	mif6table
	.word	nummifs
	.word	MIFF_REGISTER
	.word	reg_mif_num
	.word	multicast_register_if6
	.word	DEBUG_ANY
	.word	.LC0
	.word	EINVAL
	.size	del_m6if_locked, .-del_m6if_locked
	.comm	reg_mif_num,4,4
	.comm	nummifs,4,4
	.comm	multicast_register_if6,4,4
	.comm	mif6table,4,4
	.comm	MIFF_REGISTER,4,4
	.comm	EINVAL,4,4
	.comm	DEBUG_ANY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
